@walkeros/explorer 2.1.3 → 2.1.5

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 (873) hide show
  1. package/README.md +35 -11
  2. package/dist/index.d.cts +3 -668
  3. package/dist/index.d.ts +1336 -99
  4. package/dist/index.js +1 -76
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +1 -18676
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/styles.css +687 -5001
  9. package/package.json +9 -26
  10. package/AGENT.md +0 -429
  11. package/LICENSE +0 -42
  12. package/STYLE.md +0 -1103
  13. package/dist/__mocks__/@monaco-editor/react.d.ts +0 -3
  14. package/dist/__mocks__/@monaco-editor/react.d.ts.map +0 -1
  15. package/dist/__mocks__/@monaco-editor/react.js +0 -4
  16. package/dist/__mocks__/@monaco-editor/react.js.map +0 -1
  17. package/dist/chunk-52ELVFJE.mjs +0 -573
  18. package/dist/chunk-52ELVFJE.mjs.map +0 -1
  19. package/dist/components/atoms/alert.d.ts +0 -29
  20. package/dist/components/atoms/alert.d.ts.map +0 -1
  21. package/dist/components/atoms/alert.js +0 -19
  22. package/dist/components/atoms/alert.js.map +0 -1
  23. package/dist/components/atoms/alert.stories.d.ts +0 -7
  24. package/dist/components/atoms/alert.stories.d.ts.map +0 -1
  25. package/dist/components/atoms/alert.stories.js +0 -14
  26. package/dist/components/atoms/alert.stories.js.map +0 -1
  27. package/dist/components/atoms/base-mapping-pane.d.ts +0 -85
  28. package/dist/components/atoms/base-mapping-pane.d.ts.map +0 -1
  29. package/dist/components/atoms/base-mapping-pane.js +0 -53
  30. package/dist/components/atoms/base-mapping-pane.js.map +0 -1
  31. package/dist/components/atoms/box.d.ts +0 -27
  32. package/dist/components/atoms/box.d.ts.map +0 -1
  33. package/dist/components/atoms/box.js +0 -86
  34. package/dist/components/atoms/box.js.map +0 -1
  35. package/dist/components/atoms/box.stories.d.ts +0 -34
  36. package/dist/components/atoms/box.stories.d.ts.map +0 -1
  37. package/dist/components/atoms/box.stories.js +0 -104
  38. package/dist/components/atoms/box.stories.js.map +0 -1
  39. package/dist/components/atoms/button-group.d.ts +0 -17
  40. package/dist/components/atoms/button-group.d.ts.map +0 -1
  41. package/dist/components/atoms/button-group.js +0 -12
  42. package/dist/components/atoms/button-group.js.map +0 -1
  43. package/dist/components/atoms/button-group.stories.d.ts +0 -18
  44. package/dist/components/atoms/button-group.stories.d.ts.map +0 -1
  45. package/dist/components/atoms/button-group.stories.js +0 -35
  46. package/dist/components/atoms/button-group.stories.js.map +0 -1
  47. package/dist/components/atoms/button-link.d.ts +0 -12
  48. package/dist/components/atoms/button-link.d.ts.map +0 -1
  49. package/dist/components/atoms/button-link.js +0 -10
  50. package/dist/components/atoms/button-link.js.map +0 -1
  51. package/dist/components/atoms/button-link.stories.d.ts +0 -11
  52. package/dist/components/atoms/button-link.stories.d.ts.map +0 -1
  53. package/dist/components/atoms/button-link.stories.js +0 -50
  54. package/dist/components/atoms/button-link.stories.js.map +0 -1
  55. package/dist/components/atoms/button.d.ts +0 -15
  56. package/dist/components/atoms/button.d.ts.map +0 -1
  57. package/dist/components/atoms/button.js +0 -11
  58. package/dist/components/atoms/button.js.map +0 -1
  59. package/dist/components/atoms/button.stories.d.ts +0 -14
  60. package/dist/components/atoms/button.stories.d.ts.map +0 -1
  61. package/dist/components/atoms/button.stories.js +0 -25
  62. package/dist/components/atoms/button.stories.js.map +0 -1
  63. package/dist/components/atoms/code.d.ts +0 -92
  64. package/dist/components/atoms/code.d.ts.map +0 -1
  65. package/dist/components/atoms/code.js +0 -405
  66. package/dist/components/atoms/code.js.map +0 -1
  67. package/dist/components/atoms/code.stories.d.ts +0 -46
  68. package/dist/components/atoms/code.stories.d.ts.map +0 -1
  69. package/dist/components/atoms/code.stories.js +0 -156
  70. package/dist/components/atoms/code.stories.js.map +0 -1
  71. package/dist/components/atoms/config-tile.d.ts +0 -38
  72. package/dist/components/atoms/config-tile.d.ts.map +0 -1
  73. package/dist/components/atoms/config-tile.js +0 -29
  74. package/dist/components/atoms/config-tile.js.map +0 -1
  75. package/dist/components/atoms/consent-state-tile.d.ts +0 -14
  76. package/dist/components/atoms/consent-state-tile.d.ts.map +0 -1
  77. package/dist/components/atoms/consent-state-tile.js +0 -5
  78. package/dist/components/atoms/consent-state-tile.js.map +0 -1
  79. package/dist/components/atoms/field-header.d.ts +0 -41
  80. package/dist/components/atoms/field-header.d.ts.map +0 -1
  81. package/dist/components/atoms/field-header.js +0 -42
  82. package/dist/components/atoms/field-header.js.map +0 -1
  83. package/dist/components/atoms/footer.d.ts +0 -21
  84. package/dist/components/atoms/footer.d.ts.map +0 -1
  85. package/dist/components/atoms/footer.js +0 -19
  86. package/dist/components/atoms/footer.js.map +0 -1
  87. package/dist/components/atoms/footer.stories.d.ts +0 -14
  88. package/dist/components/atoms/footer.stories.d.ts.map +0 -1
  89. package/dist/components/atoms/footer.stories.js +0 -29
  90. package/dist/components/atoms/footer.stories.js.map +0 -1
  91. package/dist/components/atoms/form-field.d.ts +0 -28
  92. package/dist/components/atoms/form-field.d.ts.map +0 -1
  93. package/dist/components/atoms/form-field.js +0 -16
  94. package/dist/components/atoms/form-field.js.map +0 -1
  95. package/dist/components/atoms/form-field.stories.d.ts +0 -7
  96. package/dist/components/atoms/form-field.stories.d.ts.map +0 -1
  97. package/dist/components/atoms/form-field.stories.js +0 -16
  98. package/dist/components/atoms/form-field.stories.js.map +0 -1
  99. package/dist/components/atoms/form-input.d.ts +0 -43
  100. package/dist/components/atoms/form-input.d.ts.map +0 -1
  101. package/dist/components/atoms/form-input.js +0 -26
  102. package/dist/components/atoms/form-input.js.map +0 -1
  103. package/dist/components/atoms/form-input.stories.d.ts +0 -7
  104. package/dist/components/atoms/form-input.stories.d.ts.map +0 -1
  105. package/dist/components/atoms/form-input.stories.js +0 -17
  106. package/dist/components/atoms/form-input.stories.js.map +0 -1
  107. package/dist/components/atoms/form-textarea.d.ts +0 -41
  108. package/dist/components/atoms/form-textarea.d.ts.map +0 -1
  109. package/dist/components/atoms/form-textarea.js +0 -26
  110. package/dist/components/atoms/form-textarea.js.map +0 -1
  111. package/dist/components/atoms/form-textarea.stories.d.ts +0 -7
  112. package/dist/components/atoms/form-textarea.stories.d.ts.map +0 -1
  113. package/dist/components/atoms/form-textarea.stories.js +0 -17
  114. package/dist/components/atoms/form-textarea.stories.js.map +0 -1
  115. package/dist/components/atoms/grid.d.ts +0 -65
  116. package/dist/components/atoms/grid.d.ts.map +0 -1
  117. package/dist/components/atoms/grid.js +0 -169
  118. package/dist/components/atoms/grid.js.map +0 -1
  119. package/dist/components/atoms/grid.stories.d.ts +0 -18
  120. package/dist/components/atoms/grid.stories.d.ts.map +0 -1
  121. package/dist/components/atoms/grid.stories.js +0 -60
  122. package/dist/components/atoms/grid.stories.js.map +0 -1
  123. package/dist/components/atoms/header.d.ts +0 -7
  124. package/dist/components/atoms/header.d.ts.map +0 -1
  125. package/dist/components/atoms/header.js +0 -5
  126. package/dist/components/atoms/header.js.map +0 -1
  127. package/dist/components/atoms/header.stories.d.ts +0 -15
  128. package/dist/components/atoms/header.stories.d.ts.map +0 -1
  129. package/dist/components/atoms/header.stories.js +0 -37
  130. package/dist/components/atoms/header.stories.js.map +0 -1
  131. package/dist/components/atoms/icon-button.d.ts +0 -26
  132. package/dist/components/atoms/icon-button.d.ts.map +0 -1
  133. package/dist/components/atoms/icon-button.js +0 -39
  134. package/dist/components/atoms/icon-button.js.map +0 -1
  135. package/dist/components/atoms/icons/icon.stories.d.ts +0 -18
  136. package/dist/components/atoms/icons/icon.stories.d.ts.map +0 -1
  137. package/dist/components/atoms/icons/icon.stories.js +0 -37
  138. package/dist/components/atoms/icons/icon.stories.js.map +0 -1
  139. package/dist/components/atoms/icons/icons.d.ts +0 -2
  140. package/dist/components/atoms/icons/icons.d.ts.map +0 -1
  141. package/dist/components/atoms/icons/icons.js +0 -7
  142. package/dist/components/atoms/icons/icons.js.map +0 -1
  143. package/dist/components/atoms/icons/index.d.ts +0 -3
  144. package/dist/components/atoms/icons/index.d.ts.map +0 -1
  145. package/dist/components/atoms/icons/index.js +0 -3
  146. package/dist/components/atoms/icons/index.js.map +0 -1
  147. package/dist/components/atoms/mapping-boolean.d.ts +0 -31
  148. package/dist/components/atoms/mapping-boolean.d.ts.map +0 -1
  149. package/dist/components/atoms/mapping-boolean.js +0 -38
  150. package/dist/components/atoms/mapping-boolean.js.map +0 -1
  151. package/dist/components/atoms/mapping-breadcrumb.d.ts +0 -14
  152. package/dist/components/atoms/mapping-breadcrumb.d.ts.map +0 -1
  153. package/dist/components/atoms/mapping-breadcrumb.js +0 -10
  154. package/dist/components/atoms/mapping-breadcrumb.js.map +0 -1
  155. package/dist/components/atoms/mapping-collapsible.d.ts +0 -54
  156. package/dist/components/atoms/mapping-collapsible.d.ts.map +0 -1
  157. package/dist/components/atoms/mapping-collapsible.js +0 -87
  158. package/dist/components/atoms/mapping-collapsible.js.map +0 -1
  159. package/dist/components/atoms/mapping-condition-field.d.ts +0 -18
  160. package/dist/components/atoms/mapping-condition-field.d.ts.map +0 -1
  161. package/dist/components/atoms/mapping-condition-field.js +0 -34
  162. package/dist/components/atoms/mapping-condition-field.js.map +0 -1
  163. package/dist/components/atoms/mapping-condition.d.ts +0 -34
  164. package/dist/components/atoms/mapping-condition.d.ts.map +0 -1
  165. package/dist/components/atoms/mapping-condition.js +0 -70
  166. package/dist/components/atoms/mapping-condition.js.map +0 -1
  167. package/dist/components/atoms/mapping-confirm-button.d.ts +0 -29
  168. package/dist/components/atoms/mapping-confirm-button.d.ts.map +0 -1
  169. package/dist/components/atoms/mapping-confirm-button.js +0 -42
  170. package/dist/components/atoms/mapping-confirm-button.js.map +0 -1
  171. package/dist/components/atoms/mapping-consent-field.d.ts +0 -20
  172. package/dist/components/atoms/mapping-consent-field.d.ts.map +0 -1
  173. package/dist/components/atoms/mapping-consent-field.js +0 -36
  174. package/dist/components/atoms/mapping-consent-field.js.map +0 -1
  175. package/dist/components/atoms/mapping-consent.d.ts +0 -34
  176. package/dist/components/atoms/mapping-consent.d.ts.map +0 -1
  177. package/dist/components/atoms/mapping-consent.js +0 -86
  178. package/dist/components/atoms/mapping-consent.js.map +0 -1
  179. package/dist/components/atoms/mapping-data-field.d.ts +0 -23
  180. package/dist/components/atoms/mapping-data-field.d.ts.map +0 -1
  181. package/dist/components/atoms/mapping-data-field.js +0 -38
  182. package/dist/components/atoms/mapping-data-field.js.map +0 -1
  183. package/dist/components/atoms/mapping-data.d.ts +0 -34
  184. package/dist/components/atoms/mapping-data.d.ts.map +0 -1
  185. package/dist/components/atoms/mapping-data.js +0 -76
  186. package/dist/components/atoms/mapping-data.js.map +0 -1
  187. package/dist/components/atoms/mapping-enum-select.d.ts +0 -28
  188. package/dist/components/atoms/mapping-enum-select.d.ts.map +0 -1
  189. package/dist/components/atoms/mapping-enum-select.js +0 -142
  190. package/dist/components/atoms/mapping-enum-select.js.map +0 -1
  191. package/dist/components/atoms/mapping-fn-field.d.ts +0 -23
  192. package/dist/components/atoms/mapping-fn-field.d.ts.map +0 -1
  193. package/dist/components/atoms/mapping-fn-field.js +0 -38
  194. package/dist/components/atoms/mapping-fn-field.js.map +0 -1
  195. package/dist/components/atoms/mapping-fn.d.ts +0 -34
  196. package/dist/components/atoms/mapping-fn.d.ts.map +0 -1
  197. package/dist/components/atoms/mapping-fn.js +0 -70
  198. package/dist/components/atoms/mapping-fn.js.map +0 -1
  199. package/dist/components/atoms/mapping-grid.d.ts +0 -45
  200. package/dist/components/atoms/mapping-grid.d.ts.map +0 -1
  201. package/dist/components/atoms/mapping-grid.js +0 -83
  202. package/dist/components/atoms/mapping-grid.js.map +0 -1
  203. package/dist/components/atoms/mapping-input-with-button.d.ts +0 -54
  204. package/dist/components/atoms/mapping-input-with-button.d.ts.map +0 -1
  205. package/dist/components/atoms/mapping-input-with-button.js +0 -54
  206. package/dist/components/atoms/mapping-input-with-button.js.map +0 -1
  207. package/dist/components/atoms/mapping-input.d.ts +0 -44
  208. package/dist/components/atoms/mapping-input.d.ts.map +0 -1
  209. package/dist/components/atoms/mapping-input.js +0 -35
  210. package/dist/components/atoms/mapping-input.js.map +0 -1
  211. package/dist/components/atoms/mapping-key-field.d.ts +0 -23
  212. package/dist/components/atoms/mapping-key-field.d.ts.map +0 -1
  213. package/dist/components/atoms/mapping-key-field.js +0 -39
  214. package/dist/components/atoms/mapping-key-field.js.map +0 -1
  215. package/dist/components/atoms/mapping-key.d.ts +0 -35
  216. package/dist/components/atoms/mapping-key.d.ts.map +0 -1
  217. package/dist/components/atoms/mapping-key.js +0 -48
  218. package/dist/components/atoms/mapping-key.js.map +0 -1
  219. package/dist/components/atoms/mapping-map-entry.d.ts +0 -31
  220. package/dist/components/atoms/mapping-map-entry.d.ts.map +0 -1
  221. package/dist/components/atoms/mapping-map-entry.js +0 -68
  222. package/dist/components/atoms/mapping-map-entry.js.map +0 -1
  223. package/dist/components/atoms/mapping-number.d.ts +0 -32
  224. package/dist/components/atoms/mapping-number.d.ts.map +0 -1
  225. package/dist/components/atoms/mapping-number.js +0 -52
  226. package/dist/components/atoms/mapping-number.js.map +0 -1
  227. package/dist/components/atoms/mapping-object-explorer-field.d.ts +0 -30
  228. package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +0 -1
  229. package/dist/components/atoms/mapping-object-explorer-field.js +0 -48
  230. package/dist/components/atoms/mapping-object-explorer-field.js.map +0 -1
  231. package/dist/components/atoms/mapping-object-explorer.d.ts +0 -59
  232. package/dist/components/atoms/mapping-object-explorer.d.ts.map +0 -1
  233. package/dist/components/atoms/mapping-object-explorer.js +0 -215
  234. package/dist/components/atoms/mapping-object-explorer.js.map +0 -1
  235. package/dist/components/atoms/mapping-set-entry.d.ts +0 -31
  236. package/dist/components/atoms/mapping-set-entry.d.ts.map +0 -1
  237. package/dist/components/atoms/mapping-set-entry.js +0 -66
  238. package/dist/components/atoms/mapping-set-entry.js.map +0 -1
  239. package/dist/components/atoms/mapping-settings-field.d.ts +0 -33
  240. package/dist/components/atoms/mapping-settings-field.d.ts.map +0 -1
  241. package/dist/components/atoms/mapping-settings-field.js +0 -48
  242. package/dist/components/atoms/mapping-settings-field.js.map +0 -1
  243. package/dist/components/atoms/mapping-settings.d.ts +0 -44
  244. package/dist/components/atoms/mapping-settings.d.ts.map +0 -1
  245. package/dist/components/atoms/mapping-settings.js +0 -108
  246. package/dist/components/atoms/mapping-settings.js.map +0 -1
  247. package/dist/components/atoms/mapping-string.d.ts +0 -19
  248. package/dist/components/atoms/mapping-string.d.ts.map +0 -1
  249. package/dist/components/atoms/mapping-string.js +0 -26
  250. package/dist/components/atoms/mapping-string.js.map +0 -1
  251. package/dist/components/atoms/mapping-tab.d.ts +0 -15
  252. package/dist/components/atoms/mapping-tab.d.ts.map +0 -1
  253. package/dist/components/atoms/mapping-tab.js +0 -8
  254. package/dist/components/atoms/mapping-tab.js.map +0 -1
  255. package/dist/components/atoms/mapping-type-button.d.ts +0 -19
  256. package/dist/components/atoms/mapping-type-button.d.ts.map +0 -1
  257. package/dist/components/atoms/mapping-type-button.js +0 -5
  258. package/dist/components/atoms/mapping-type-button.js.map +0 -1
  259. package/dist/components/atoms/mapping-validate-field.d.ts +0 -23
  260. package/dist/components/atoms/mapping-validate-field.d.ts.map +0 -1
  261. package/dist/components/atoms/mapping-validate-field.js +0 -38
  262. package/dist/components/atoms/mapping-validate-field.js.map +0 -1
  263. package/dist/components/atoms/mapping-validate.d.ts +0 -34
  264. package/dist/components/atoms/mapping-validate.d.ts.map +0 -1
  265. package/dist/components/atoms/mapping-validate.js +0 -68
  266. package/dist/components/atoms/mapping-validate.js.map +0 -1
  267. package/dist/components/atoms/mapping-value.d.ts +0 -17
  268. package/dist/components/atoms/mapping-value.d.ts.map +0 -1
  269. package/dist/components/atoms/mapping-value.js +0 -127
  270. package/dist/components/atoms/mapping-value.js.map +0 -1
  271. package/dist/components/atoms/mdx-code.d.ts +0 -33
  272. package/dist/components/atoms/mdx-code.d.ts.map +0 -1
  273. package/dist/components/atoms/mdx-code.js +0 -69
  274. package/dist/components/atoms/mdx-code.js.map +0 -1
  275. package/dist/components/atoms/pane-header.d.ts +0 -24
  276. package/dist/components/atoms/pane-header.d.ts.map +0 -1
  277. package/dist/components/atoms/pane-header.js +0 -5
  278. package/dist/components/atoms/pane-header.js.map +0 -1
  279. package/dist/components/atoms/panel-hints.d.ts +0 -35
  280. package/dist/components/atoms/panel-hints.d.ts.map +0 -1
  281. package/dist/components/atoms/panel-hints.js +0 -5
  282. package/dist/components/atoms/panel-hints.js.map +0 -1
  283. package/dist/components/atoms/panel-hints.stories.d.ts +0 -14
  284. package/dist/components/atoms/panel-hints.stories.d.ts.map +0 -1
  285. package/dist/components/atoms/panel-hints.stories.js +0 -35
  286. package/dist/components/atoms/panel-hints.stories.js.map +0 -1
  287. package/dist/components/atoms/preview-footer.d.ts +0 -32
  288. package/dist/components/atoms/preview-footer.d.ts.map +0 -1
  289. package/dist/components/atoms/preview-footer.js +0 -31
  290. package/dist/components/atoms/preview-footer.js.map +0 -1
  291. package/dist/components/atoms/spinner.d.ts +0 -17
  292. package/dist/components/atoms/spinner.d.ts.map +0 -1
  293. package/dist/components/atoms/spinner.js +0 -14
  294. package/dist/components/atoms/spinner.js.map +0 -1
  295. package/dist/components/atoms/spinner.stories.d.ts +0 -7
  296. package/dist/components/atoms/spinner.stories.d.ts.map +0 -1
  297. package/dist/components/atoms/spinner.stories.js +0 -9
  298. package/dist/components/atoms/spinner.stories.js.map +0 -1
  299. package/dist/components/atoms/submit-button.d.ts +0 -34
  300. package/dist/components/atoms/submit-button.d.ts.map +0 -1
  301. package/dist/components/atoms/submit-button.js +0 -18
  302. package/dist/components/atoms/submit-button.js.map +0 -1
  303. package/dist/components/atoms/submit-button.stories.d.ts +0 -7
  304. package/dist/components/atoms/submit-button.stories.d.ts.map +0 -1
  305. package/dist/components/atoms/submit-button.stories.js +0 -13
  306. package/dist/components/atoms/submit-button.stories.js.map +0 -1
  307. package/dist/components/atoms/toggle.d.ts +0 -9
  308. package/dist/components/atoms/toggle.d.ts.map +0 -1
  309. package/dist/components/atoms/toggle.js +0 -6
  310. package/dist/components/atoms/toggle.js.map +0 -1
  311. package/dist/components/demos/DestinationDemo.d.ts +0 -48
  312. package/dist/components/demos/DestinationDemo.d.ts.map +0 -1
  313. package/dist/components/demos/DestinationDemo.js +0 -105
  314. package/dist/components/demos/DestinationDemo.js.map +0 -1
  315. package/dist/components/demos/DestinationDemo.stories.d.ts +0 -17
  316. package/dist/components/demos/DestinationDemo.stories.d.ts.map +0 -1
  317. package/dist/components/demos/DestinationDemo.stories.js +0 -53
  318. package/dist/components/demos/DestinationDemo.stories.js.map +0 -1
  319. package/dist/components/demos/DestinationInitDemo.d.ts +0 -34
  320. package/dist/components/demos/DestinationInitDemo.d.ts.map +0 -1
  321. package/dist/components/demos/DestinationInitDemo.js +0 -73
  322. package/dist/components/demos/DestinationInitDemo.js.map +0 -1
  323. package/dist/components/demos/DestinationInitDemo.stories.d.ts +0 -17
  324. package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +0 -1
  325. package/dist/components/demos/DestinationInitDemo.stories.js +0 -39
  326. package/dist/components/demos/DestinationInitDemo.stories.js.map +0 -1
  327. package/dist/components/demos/MappingCode.d.ts +0 -34
  328. package/dist/components/demos/MappingCode.d.ts.map +0 -1
  329. package/dist/components/demos/MappingCode.js +0 -54
  330. package/dist/components/demos/MappingCode.js.map +0 -1
  331. package/dist/components/demos/MappingCode.stories.d.ts +0 -16
  332. package/dist/components/demos/MappingCode.stories.d.ts.map +0 -1
  333. package/dist/components/demos/MappingCode.stories.js +0 -42
  334. package/dist/components/demos/MappingCode.stories.js.map +0 -1
  335. package/dist/components/demos/MappingDemo.d.ts +0 -41
  336. package/dist/components/demos/MappingDemo.d.ts.map +0 -1
  337. package/dist/components/demos/MappingDemo.js +0 -62
  338. package/dist/components/demos/MappingDemo.js.map +0 -1
  339. package/dist/components/demos/MappingDemo.stories.d.ts +0 -16
  340. package/dist/components/demos/MappingDemo.stories.d.ts.map +0 -1
  341. package/dist/components/demos/MappingDemo.stories.js +0 -63
  342. package/dist/components/demos/MappingDemo.stories.js.map +0 -1
  343. package/dist/components/demos/PromotionPlayground.d.ts +0 -30
  344. package/dist/components/demos/PromotionPlayground.d.ts.map +0 -1
  345. package/dist/components/demos/PromotionPlayground.js +0 -366
  346. package/dist/components/demos/PromotionPlayground.js.map +0 -1
  347. package/dist/components/demos/PromotionPlayground.stories.d.ts +0 -27
  348. package/dist/components/demos/PromotionPlayground.stories.d.ts.map +0 -1
  349. package/dist/components/demos/PromotionPlayground.stories.js +0 -32
  350. package/dist/components/demos/PromotionPlayground.stories.js.map +0 -1
  351. package/dist/components/forms/field-registry.d.ts +0 -42
  352. package/dist/components/forms/field-registry.d.ts.map +0 -1
  353. package/dist/components/forms/field-registry.js +0 -64
  354. package/dist/components/forms/field-registry.js.map +0 -1
  355. package/dist/components/forms/mapping-form-wrapper.d.ts +0 -14
  356. package/dist/components/forms/mapping-form-wrapper.d.ts.map +0 -1
  357. package/dist/components/forms/mapping-form-wrapper.js +0 -105
  358. package/dist/components/forms/mapping-form-wrapper.js.map +0 -1
  359. package/dist/components/forms/widget-registry.d.ts +0 -42
  360. package/dist/components/forms/widget-registry.d.ts.map +0 -1
  361. package/dist/components/forms/widget-registry.js +0 -54
  362. package/dist/components/forms/widget-registry.js.map +0 -1
  363. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +0 -24
  364. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +0 -1
  365. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +0 -10
  366. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +0 -1
  367. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +0 -7
  368. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +0 -1
  369. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +0 -71
  370. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +0 -1
  371. package/dist/components/molecules/architecture-flow/index.d.ts +0 -3
  372. package/dist/components/molecules/architecture-flow/index.d.ts.map +0 -1
  373. package/dist/components/molecules/architecture-flow/index.js +0 -2
  374. package/dist/components/molecules/architecture-flow/index.js.map +0 -1
  375. package/dist/components/molecules/auto-select.d.ts +0 -29
  376. package/dist/components/molecules/auto-select.d.ts.map +0 -1
  377. package/dist/components/molecules/auto-select.js +0 -188
  378. package/dist/components/molecules/auto-select.js.map +0 -1
  379. package/dist/components/molecules/code-box.d.ts +0 -75
  380. package/dist/components/molecules/code-box.d.ts.map +0 -1
  381. package/dist/components/molecules/code-box.js +0 -174
  382. package/dist/components/molecules/code-box.js.map +0 -1
  383. package/dist/components/molecules/code-box.stories.d.ts +0 -87
  384. package/dist/components/molecules/code-box.stories.d.ts.map +0 -1
  385. package/dist/components/molecules/code-box.stories.js +0 -300
  386. package/dist/components/molecules/code-box.stories.js.map +0 -1
  387. package/dist/components/molecules/code-snippet.d.ts +0 -58
  388. package/dist/components/molecules/code-snippet.d.ts.map +0 -1
  389. package/dist/components/molecules/code-snippet.js +0 -72
  390. package/dist/components/molecules/code-snippet.js.map +0 -1
  391. package/dist/components/molecules/code-snippet.stories.d.ts +0 -23
  392. package/dist/components/molecules/code-snippet.stories.d.ts.map +0 -1
  393. package/dist/components/molecules/code-snippet.stories.js +0 -87
  394. package/dist/components/molecules/code-snippet.stories.js.map +0 -1
  395. package/dist/components/molecules/config-form-card.d.ts +0 -50
  396. package/dist/components/molecules/config-form-card.d.ts.map +0 -1
  397. package/dist/components/molecules/config-form-card.js +0 -30
  398. package/dist/components/molecules/config-form-card.js.map +0 -1
  399. package/dist/components/molecules/config-form-card.stories.d.ts +0 -7
  400. package/dist/components/molecules/config-form-card.stories.d.ts.map +0 -1
  401. package/dist/components/molecules/config-form-card.stories.js +0 -21
  402. package/dist/components/molecules/config-form-card.stories.js.map +0 -1
  403. package/dist/components/molecules/config-overview-pane.d.ts +0 -44
  404. package/dist/components/molecules/config-overview-pane.d.ts.map +0 -1
  405. package/dist/components/molecules/config-overview-pane.js +0 -75
  406. package/dist/components/molecules/config-overview-pane.js.map +0 -1
  407. package/dist/components/molecules/config-tree-sidebar.d.ts +0 -46
  408. package/dist/components/molecules/config-tree-sidebar.d.ts.map +0 -1
  409. package/dist/components/molecules/config-tree-sidebar.js +0 -183
  410. package/dist/components/molecules/config-tree-sidebar.js.map +0 -1
  411. package/dist/components/molecules/destination-config-overview-pane.d.ts +0 -33
  412. package/dist/components/molecules/destination-config-overview-pane.d.ts.map +0 -1
  413. package/dist/components/molecules/destination-config-overview-pane.js +0 -153
  414. package/dist/components/molecules/destination-config-overview-pane.js.map +0 -1
  415. package/dist/components/molecules/dropdown.d.ts +0 -68
  416. package/dist/components/molecules/dropdown.d.ts.map +0 -1
  417. package/dist/components/molecules/dropdown.js +0 -47
  418. package/dist/components/molecules/dropdown.js.map +0 -1
  419. package/dist/components/molecules/dropdown.stories.d.ts +0 -7
  420. package/dist/components/molecules/dropdown.stories.d.ts.map +0 -1
  421. package/dist/components/molecules/dropdown.stories.js +0 -18
  422. package/dist/components/molecules/dropdown.stories.js.map +0 -1
  423. package/dist/components/molecules/flow-map/FlowMap.d.ts +0 -74
  424. package/dist/components/molecules/flow-map/FlowMap.d.ts.map +0 -1
  425. package/dist/components/molecules/flow-map/FlowMap.js +0 -1039
  426. package/dist/components/molecules/flow-map/FlowMap.js.map +0 -1
  427. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +0 -47
  428. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +0 -1
  429. package/dist/components/molecules/flow-map/FlowMap.stories.js +0 -355
  430. package/dist/components/molecules/flow-map/FlowMap.stories.js.map +0 -1
  431. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +0 -29
  432. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +0 -1
  433. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +0 -117
  434. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +0 -1
  435. package/dist/components/molecules/flow-map/index.d.ts +0 -3
  436. package/dist/components/molecules/flow-map/index.d.ts.map +0 -1
  437. package/dist/components/molecules/flow-map/index.js +0 -2
  438. package/dist/components/molecules/flow-map/index.js.map +0 -1
  439. package/dist/components/molecules/flow-selector.d.ts +0 -19
  440. package/dist/components/molecules/flow-selector.d.ts.map +0 -1
  441. package/dist/components/molecules/flow-selector.js +0 -26
  442. package/dist/components/molecules/flow-selector.js.map +0 -1
  443. package/dist/components/molecules/flow-selector.stories.d.ts +0 -28
  444. package/dist/components/molecules/flow-selector.stories.d.ts.map +0 -1
  445. package/dist/components/molecules/flow-selector.stories.js +0 -66
  446. package/dist/components/molecules/flow-selector.stories.js.map +0 -1
  447. package/dist/components/molecules/form-card.d.ts +0 -28
  448. package/dist/components/molecules/form-card.d.ts.map +0 -1
  449. package/dist/components/molecules/form-card.js +0 -16
  450. package/dist/components/molecules/form-card.js.map +0 -1
  451. package/dist/components/molecules/form-card.stories.d.ts +0 -7
  452. package/dist/components/molecules/form-card.stories.d.ts.map +0 -1
  453. package/dist/components/molecules/form-card.stories.js +0 -16
  454. package/dist/components/molecules/form-card.stories.js.map +0 -1
  455. package/dist/components/molecules/mapping-batch-pane-view.d.ts +0 -22
  456. package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +0 -1
  457. package/dist/components/molecules/mapping-batch-pane-view.js +0 -45
  458. package/dist/components/molecules/mapping-batch-pane-view.js.map +0 -1
  459. package/dist/components/molecules/mapping-boolean-pane-view.d.ts +0 -28
  460. package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +0 -1
  461. package/dist/components/molecules/mapping-boolean-pane-view.js +0 -34
  462. package/dist/components/molecules/mapping-boolean-pane-view.js.map +0 -1
  463. package/dist/components/molecules/mapping-condition-pane-view.d.ts +0 -18
  464. package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +0 -1
  465. package/dist/components/molecules/mapping-condition-pane-view.js +0 -63
  466. package/dist/components/molecules/mapping-condition-pane-view.js.map +0 -1
  467. package/dist/components/molecules/mapping-consent-pane-view.d.ts +0 -16
  468. package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +0 -1
  469. package/dist/components/molecules/mapping-consent-pane-view.js +0 -65
  470. package/dist/components/molecules/mapping-consent-pane-view.js.map +0 -1
  471. package/dist/components/molecules/mapping-consent-row.d.ts +0 -29
  472. package/dist/components/molecules/mapping-consent-row.d.ts.map +0 -1
  473. package/dist/components/molecules/mapping-consent-row.js +0 -26
  474. package/dist/components/molecules/mapping-consent-row.js.map +0 -1
  475. package/dist/components/molecules/mapping-entity-pane.d.ts +0 -17
  476. package/dist/components/molecules/mapping-entity-pane.d.ts.map +0 -1
  477. package/dist/components/molecules/mapping-entity-pane.js +0 -68
  478. package/dist/components/molecules/mapping-entity-pane.js.map +0 -1
  479. package/dist/components/molecules/mapping-enum-pane-view.d.ts +0 -40
  480. package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +0 -1
  481. package/dist/components/molecules/mapping-enum-pane-view.js +0 -32
  482. package/dist/components/molecules/mapping-enum-pane-view.js.map +0 -1
  483. package/dist/components/molecules/mapping-fn-pane-view.d.ts +0 -18
  484. package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +0 -1
  485. package/dist/components/molecules/mapping-fn-pane-view.js +0 -77
  486. package/dist/components/molecules/mapping-fn-pane-view.js.map +0 -1
  487. package/dist/components/molecules/mapping-function-pane-base.d.ts +0 -53
  488. package/dist/components/molecules/mapping-function-pane-base.d.ts.map +0 -1
  489. package/dist/components/molecules/mapping-function-pane-base.js +0 -60
  490. package/dist/components/molecules/mapping-function-pane-base.js.map +0 -1
  491. package/dist/components/molecules/mapping-key-pane-view.d.ts +0 -23
  492. package/dist/components/molecules/mapping-key-pane-view.d.ts.map +0 -1
  493. package/dist/components/molecules/mapping-key-pane-view.js +0 -12
  494. package/dist/components/molecules/mapping-key-pane-view.js.map +0 -1
  495. package/dist/components/molecules/mapping-loop-field.d.ts +0 -44
  496. package/dist/components/molecules/mapping-loop-field.d.ts.map +0 -1
  497. package/dist/components/molecules/mapping-loop-field.js +0 -133
  498. package/dist/components/molecules/mapping-loop-field.js.map +0 -1
  499. package/dist/components/molecules/mapping-loop-pane-view.d.ts +0 -28
  500. package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +0 -1
  501. package/dist/components/molecules/mapping-loop-pane-view.js +0 -44
  502. package/dist/components/molecules/mapping-loop-pane-view.js.map +0 -1
  503. package/dist/components/molecules/mapping-map-field.d.ts +0 -31
  504. package/dist/components/molecules/mapping-map-field.d.ts.map +0 -1
  505. package/dist/components/molecules/mapping-map-field.js +0 -120
  506. package/dist/components/molecules/mapping-map-field.js.map +0 -1
  507. package/dist/components/molecules/mapping-map-overview.d.ts +0 -13
  508. package/dist/components/molecules/mapping-map-overview.d.ts.map +0 -1
  509. package/dist/components/molecules/mapping-map-overview.js +0 -58
  510. package/dist/components/molecules/mapping-map-overview.js.map +0 -1
  511. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +0 -53
  512. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +0 -1
  513. package/dist/components/molecules/mapping-map-pane-view-rjsf.js +0 -127
  514. package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +0 -1
  515. package/dist/components/molecules/mapping-name-pane-view.d.ts +0 -22
  516. package/dist/components/molecules/mapping-name-pane-view.d.ts.map +0 -1
  517. package/dist/components/molecules/mapping-name-pane-view.js +0 -38
  518. package/dist/components/molecules/mapping-name-pane-view.js.map +0 -1
  519. package/dist/components/molecules/mapping-navigation-header.d.ts +0 -27
  520. package/dist/components/molecules/mapping-navigation-header.d.ts.map +0 -1
  521. package/dist/components/molecules/mapping-navigation-header.js +0 -7
  522. package/dist/components/molecules/mapping-navigation-header.js.map +0 -1
  523. package/dist/components/molecules/mapping-overview-pane.d.ts +0 -14
  524. package/dist/components/molecules/mapping-overview-pane.d.ts.map +0 -1
  525. package/dist/components/molecules/mapping-overview-pane.js +0 -60
  526. package/dist/components/molecules/mapping-overview-pane.js.map +0 -1
  527. package/dist/components/molecules/mapping-pane.d.ts +0 -52
  528. package/dist/components/molecules/mapping-pane.d.ts.map +0 -1
  529. package/dist/components/molecules/mapping-pane.js +0 -155
  530. package/dist/components/molecules/mapping-pane.js.map +0 -1
  531. package/dist/components/molecules/mapping-policy-overview-pane.d.ts +0 -26
  532. package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +0 -1
  533. package/dist/components/molecules/mapping-policy-overview-pane.js +0 -69
  534. package/dist/components/molecules/mapping-policy-overview-pane.js.map +0 -1
  535. package/dist/components/molecules/mapping-primitive-pane-view.d.ts +0 -30
  536. package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +0 -1
  537. package/dist/components/molecules/mapping-primitive-pane-view.js +0 -43
  538. package/dist/components/molecules/mapping-primitive-pane-view.js.map +0 -1
  539. package/dist/components/molecules/mapping-rule-pane-view.d.ts +0 -25
  540. package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +0 -1
  541. package/dist/components/molecules/mapping-rule-pane-view.js +0 -35
  542. package/dist/components/molecules/mapping-rule-pane-view.js.map +0 -1
  543. package/dist/components/molecules/mapping-set-field.d.ts +0 -34
  544. package/dist/components/molecules/mapping-set-field.d.ts.map +0 -1
  545. package/dist/components/molecules/mapping-set-field.js +0 -160
  546. package/dist/components/molecules/mapping-set-field.js.map +0 -1
  547. package/dist/components/molecules/mapping-set-pane-view.d.ts +0 -31
  548. package/dist/components/molecules/mapping-set-pane-view.d.ts.map +0 -1
  549. package/dist/components/molecules/mapping-set-pane-view.js +0 -96
  550. package/dist/components/molecules/mapping-set-pane-view.js.map +0 -1
  551. package/dist/components/molecules/mapping-tab-bar.d.ts +0 -15
  552. package/dist/components/molecules/mapping-tab-bar.d.ts.map +0 -1
  553. package/dist/components/molecules/mapping-tab-bar.js +0 -9
  554. package/dist/components/molecules/mapping-tab-bar.js.map +0 -1
  555. package/dist/components/molecules/mapping-tree-sidebar.d.ts +0 -59
  556. package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +0 -1
  557. package/dist/components/molecules/mapping-tree-sidebar.js +0 -491
  558. package/dist/components/molecules/mapping-tree-sidebar.js.map +0 -1
  559. package/dist/components/molecules/mapping-type-grid.d.ts +0 -12
  560. package/dist/components/molecules/mapping-type-grid.d.ts.map +0 -1
  561. package/dist/components/molecules/mapping-type-grid.js +0 -107
  562. package/dist/components/molecules/mapping-type-grid.js.map +0 -1
  563. package/dist/components/molecules/mapping-type-selector.d.ts +0 -21
  564. package/dist/components/molecules/mapping-type-selector.d.ts.map +0 -1
  565. package/dist/components/molecules/mapping-type-selector.js +0 -38
  566. package/dist/components/molecules/mapping-type-selector.js.map +0 -1
  567. package/dist/components/molecules/mapping-validate-pane-view.d.ts +0 -19
  568. package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +0 -1
  569. package/dist/components/molecules/mapping-validate-pane-view.js +0 -66
  570. package/dist/components/molecules/mapping-validate-pane-view.js.map +0 -1
  571. package/dist/components/molecules/mapping-value-config-pane-view.d.ts +0 -30
  572. package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +0 -1
  573. package/dist/components/molecules/mapping-value-config-pane-view.js +0 -105
  574. package/dist/components/molecules/mapping-value-config-pane-view.js.map +0 -1
  575. package/dist/components/molecules/mapping-value-pane-view.d.ts +0 -28
  576. package/dist/components/molecules/mapping-value-pane-view.d.ts.map +0 -1
  577. package/dist/components/molecules/mapping-value-pane-view.js +0 -40
  578. package/dist/components/molecules/mapping-value-pane-view.js.map +0 -1
  579. package/dist/components/molecules/mapping-value-type-pane-view.d.ts +0 -27
  580. package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +0 -1
  581. package/dist/components/molecules/mapping-value-type-pane-view.js +0 -253
  582. package/dist/components/molecules/mapping-value-type-pane-view.js.map +0 -1
  583. package/dist/components/molecules/options-pane.d.ts +0 -28
  584. package/dist/components/molecules/options-pane.d.ts.map +0 -1
  585. package/dist/components/molecules/options-pane.js +0 -80
  586. package/dist/components/molecules/options-pane.js.map +0 -1
  587. package/dist/components/molecules/preview.d.ts +0 -23
  588. package/dist/components/molecules/preview.d.ts.map +0 -1
  589. package/dist/components/molecules/preview.js +0 -232
  590. package/dist/components/molecules/preview.js.map +0 -1
  591. package/dist/components/molecules/preview.stories.d.ts +0 -23
  592. package/dist/components/molecules/preview.stories.d.ts.map +0 -1
  593. package/dist/components/molecules/preview.stories.js +0 -186
  594. package/dist/components/molecules/preview.stories.js.map +0 -1
  595. package/dist/components/molecules/property-suggestions.d.ts +0 -17
  596. package/dist/components/molecules/property-suggestions.d.ts.map +0 -1
  597. package/dist/components/molecules/property-suggestions.js +0 -56
  598. package/dist/components/molecules/property-suggestions.js.map +0 -1
  599. package/dist/components/molecules/property-table.d.ts +0 -7
  600. package/dist/components/molecules/property-table.d.ts.map +0 -1
  601. package/dist/components/molecules/property-table.js +0 -88
  602. package/dist/components/molecules/property-table.js.map +0 -1
  603. package/dist/components/molecules/property-table.stories.d.ts +0 -24
  604. package/dist/components/molecules/property-table.stories.d.ts.map +0 -1
  605. package/dist/components/molecules/property-table.stories.js +0 -86
  606. package/dist/components/molecules/property-table.stories.js.map +0 -1
  607. package/dist/components/molecules/settings-overview-pane.d.ts +0 -32
  608. package/dist/components/molecules/settings-overview-pane.d.ts.map +0 -1
  609. package/dist/components/molecules/settings-overview-pane.js +0 -85
  610. package/dist/components/molecules/settings-overview-pane.js.map +0 -1
  611. package/dist/components/molecules/split-button.d.ts +0 -25
  612. package/dist/components/molecules/split-button.d.ts.map +0 -1
  613. package/dist/components/molecules/split-button.js +0 -37
  614. package/dist/components/molecules/split-button.js.map +0 -1
  615. package/dist/components/molecules/split-button.stories.d.ts +0 -32
  616. package/dist/components/molecules/split-button.stories.d.ts.map +0 -1
  617. package/dist/components/molecules/split-button.stories.js +0 -88
  618. package/dist/components/molecules/split-button.stories.js.map +0 -1
  619. package/dist/components/molecules/validation-overview-pane.d.ts +0 -27
  620. package/dist/components/molecules/validation-overview-pane.d.ts.map +0 -1
  621. package/dist/components/molecules/validation-overview-pane.js +0 -50
  622. package/dist/components/molecules/validation-overview-pane.js.map +0 -1
  623. package/dist/components/organisms/browser-box.d.ts +0 -31
  624. package/dist/components/organisms/browser-box.d.ts.map +0 -1
  625. package/dist/components/organisms/browser-box.js +0 -80
  626. package/dist/components/organisms/browser-box.js.map +0 -1
  627. package/dist/components/organisms/browser-box.stories.d.ts +0 -26
  628. package/dist/components/organisms/browser-box.stories.d.ts.map +0 -1
  629. package/dist/components/organisms/browser-box.stories.js +0 -102
  630. package/dist/components/organisms/browser-box.stories.js.map +0 -1
  631. package/dist/components/organisms/collector-box.d.ts +0 -24
  632. package/dist/components/organisms/collector-box.d.ts.map +0 -1
  633. package/dist/components/organisms/collector-box.js +0 -56
  634. package/dist/components/organisms/collector-box.js.map +0 -1
  635. package/dist/components/organisms/collector-box.stories.d.ts +0 -22
  636. package/dist/components/organisms/collector-box.stories.d.ts.map +0 -1
  637. package/dist/components/organisms/collector-box.stories.js +0 -59
  638. package/dist/components/organisms/collector-box.stories.js.map +0 -1
  639. package/dist/components/organisms/config-editor/config-editor-box.d.ts +0 -35
  640. package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +0 -1
  641. package/dist/components/organisms/config-editor/config-editor-box.js +0 -50
  642. package/dist/components/organisms/config-editor/config-editor-box.js.map +0 -1
  643. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +0 -52
  644. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +0 -1
  645. package/dist/components/organisms/config-editor/config-editor-tabs.js +0 -127
  646. package/dist/components/organisms/config-editor/config-editor-tabs.js.map +0 -1
  647. package/dist/components/organisms/config-editor/config-editor.d.ts +0 -47
  648. package/dist/components/organisms/config-editor/config-editor.d.ts.map +0 -1
  649. package/dist/components/organisms/config-editor/config-editor.js +0 -50
  650. package/dist/components/organisms/config-editor/config-editor.js.map +0 -1
  651. package/dist/components/organisms/config-editor/config-editor.stories.d.ts +0 -25
  652. package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +0 -1
  653. package/dist/components/organisms/config-editor/config-editor.stories.js +0 -77
  654. package/dist/components/organisms/config-editor/config-editor.stories.js.map +0 -1
  655. package/dist/components/organisms/config-editor/index.d.ts +0 -22
  656. package/dist/components/organisms/config-editor/index.d.ts.map +0 -1
  657. package/dist/components/organisms/config-editor/index.js +0 -20
  658. package/dist/components/organisms/config-editor/index.js.map +0 -1
  659. package/dist/components/organisms/live-code.d.ts +0 -22
  660. package/dist/components/organisms/live-code.d.ts.map +0 -1
  661. package/dist/components/organisms/live-code.js +0 -50
  662. package/dist/components/organisms/live-code.js.map +0 -1
  663. package/dist/components/organisms/live-code.stories.d.ts +0 -24
  664. package/dist/components/organisms/live-code.stories.d.ts.map +0 -1
  665. package/dist/components/organisms/live-code.stories.js +0 -55
  666. package/dist/components/organisms/live-code.stories.js.map +0 -1
  667. package/dist/components/ui/button.d.ts +0 -4
  668. package/dist/components/ui/button.d.ts.map +0 -1
  669. package/dist/components/ui/button.js +0 -6
  670. package/dist/components/ui/button.js.map +0 -1
  671. package/dist/components/ui/icon.d.ts +0 -5
  672. package/dist/components/ui/icon.d.ts.map +0 -1
  673. package/dist/components/ui/icon.js +0 -5
  674. package/dist/components/ui/icon.js.map +0 -1
  675. package/dist/components/ui/label.d.ts +0 -5
  676. package/dist/components/ui/label.d.ts.map +0 -1
  677. package/dist/components/ui/label.js +0 -5
  678. package/dist/components/ui/label.js.map +0 -1
  679. package/dist/contexts/GridHeightContext.d.ts +0 -11
  680. package/dist/contexts/GridHeightContext.d.ts.map +0 -1
  681. package/dist/contexts/GridHeightContext.js +0 -14
  682. package/dist/contexts/GridHeightContext.js.map +0 -1
  683. package/dist/helpers/capture.d.ts +0 -83
  684. package/dist/helpers/capture.d.ts.map +0 -1
  685. package/dist/helpers/capture.js +0 -125
  686. package/dist/helpers/capture.js.map +0 -1
  687. package/dist/helpers/destinations.d.ts +0 -21
  688. package/dist/helpers/destinations.d.ts.map +0 -1
  689. package/dist/helpers/destinations.js +0 -46
  690. package/dist/helpers/destinations.js.map +0 -1
  691. package/dist/hooks/useDropdown.d.ts +0 -34
  692. package/dist/hooks/useDropdown.d.ts.map +0 -1
  693. package/dist/hooks/useDropdown.js +0 -66
  694. package/dist/hooks/useDropdown.js.map +0 -1
  695. package/dist/hooks/useMappingNavigation.d.ts +0 -62
  696. package/dist/hooks/useMappingNavigation.d.ts.map +0 -1
  697. package/dist/hooks/useMappingNavigation.js +0 -339
  698. package/dist/hooks/useMappingNavigation.js.map +0 -1
  699. package/dist/hooks/useMappingState.d.ts +0 -56
  700. package/dist/hooks/useMappingState.d.ts.map +0 -1
  701. package/dist/hooks/useMappingState.js +0 -142
  702. package/dist/hooks/useMappingState.js.map +0 -1
  703. package/dist/hooks/useMonacoHeight.d.ts +0 -31
  704. package/dist/hooks/useMonacoHeight.d.ts.map +0 -1
  705. package/dist/hooks/useMonacoHeight.js +0 -83
  706. package/dist/hooks/useMonacoHeight.js.map +0 -1
  707. package/dist/hooks/useTreeState.d.ts +0 -32
  708. package/dist/hooks/useTreeState.d.ts.map +0 -1
  709. package/dist/hooks/useTreeState.js +0 -94
  710. package/dist/hooks/useTreeState.js.map +0 -1
  711. package/dist/index.d.ts.map +0 -1
  712. package/dist/lib/utils.d.ts +0 -7
  713. package/dist/lib/utils.d.ts.map +0 -1
  714. package/dist/lib/utils.js +0 -10
  715. package/dist/lib/utils.js.map +0 -1
  716. package/dist/monaco-types-ZGWM2633.mjs +0 -34
  717. package/dist/monaco-types-ZGWM2633.mjs.map +0 -1
  718. package/dist/providers/MDXProvider.d.ts +0 -40
  719. package/dist/providers/MDXProvider.d.ts.map +0 -1
  720. package/dist/providers/MDXProvider.js +0 -57
  721. package/dist/providers/MDXProvider.js.map +0 -1
  722. package/dist/schemas/config-structures/destination-config.d.ts +0 -27
  723. package/dist/schemas/config-structures/destination-config.d.ts.map +0 -1
  724. package/dist/schemas/config-structures/destination-config.js +0 -104
  725. package/dist/schemas/config-structures/destination-config.js.map +0 -1
  726. package/dist/schemas/config-structures/index.d.ts +0 -17
  727. package/dist/schemas/config-structures/index.d.ts.map +0 -1
  728. package/dist/schemas/config-structures/index.js +0 -17
  729. package/dist/schemas/config-structures/index.js.map +0 -1
  730. package/dist/schemas/config-structures/mapping-rule.d.ts +0 -17
  731. package/dist/schemas/config-structures/mapping-rule.d.ts.map +0 -1
  732. package/dist/schemas/config-structures/mapping-rule.js +0 -81
  733. package/dist/schemas/config-structures/mapping-rule.js.map +0 -1
  734. package/dist/schemas/config-structures/types.d.ts +0 -62
  735. package/dist/schemas/config-structures/types.d.ts.map +0 -1
  736. package/dist/schemas/config-structures/types.js +0 -2
  737. package/dist/schemas/config-structures/types.js.map +0 -1
  738. package/dist/schemas/mapping-rule-schema.d.ts +0 -25
  739. package/dist/schemas/mapping-rule-schema.d.ts.map +0 -1
  740. package/dist/schemas/mapping-rule-schema.js +0 -86
  741. package/dist/schemas/mapping-rule-schema.js.map +0 -1
  742. package/dist/schemas/rule-properties-schema.d.ts +0 -42
  743. package/dist/schemas/rule-properties-schema.d.ts.map +0 -1
  744. package/dist/schemas/rule-properties-schema.js +0 -79
  745. package/dist/schemas/rule-properties-schema.js.map +0 -1
  746. package/dist/schemas/value-config-schema.d.ts +0 -36
  747. package/dist/schemas/value-config-schema.d.ts.map +0 -1
  748. package/dist/schemas/value-config-schema.js +0 -227
  749. package/dist/schemas/value-config-schema.js.map +0 -1
  750. package/dist/themes/index.d.ts +0 -23
  751. package/dist/themes/index.d.ts.map +0 -1
  752. package/dist/themes/index.js +0 -29
  753. package/dist/themes/index.js.map +0 -1
  754. package/dist/themes/lighthouse.d.ts +0 -26
  755. package/dist/themes/lighthouse.d.ts.map +0 -1
  756. package/dist/themes/lighthouse.js +0 -230
  757. package/dist/themes/lighthouse.js.map +0 -1
  758. package/dist/themes/palenight.d.ts +0 -31
  759. package/dist/themes/palenight.d.ts.map +0 -1
  760. package/dist/themes/palenight.js +0 -236
  761. package/dist/themes/palenight.js.map +0 -1
  762. package/dist/themes/types.d.ts +0 -103
  763. package/dist/themes/types.d.ts.map +0 -1
  764. package/dist/themes/types.js +0 -8
  765. package/dist/themes/types.js.map +0 -1
  766. package/dist/types/intellisense.d.ts +0 -31
  767. package/dist/types/intellisense.d.ts.map +0 -1
  768. package/dist/types/intellisense.js +0 -2
  769. package/dist/types/intellisense.js.map +0 -1
  770. package/dist/types/schemas.d.ts +0 -29
  771. package/dist/types/schemas.d.ts.map +0 -1
  772. package/dist/types/schemas.js +0 -2
  773. package/dist/types/schemas.js.map +0 -1
  774. package/dist/utils/clean-form-data.d.ts +0 -26
  775. package/dist/utils/clean-form-data.d.ts.map +0 -1
  776. package/dist/utils/clean-form-data.js +0 -76
  777. package/dist/utils/clean-form-data.js.map +0 -1
  778. package/dist/utils/code-normalizer.d.ts +0 -11
  779. package/dist/utils/code-normalizer.d.ts.map +0 -1
  780. package/dist/utils/code-normalizer.js +0 -21
  781. package/dist/utils/code-normalizer.js.map +0 -1
  782. package/dist/utils/config-validator.d.ts +0 -12
  783. package/dist/utils/config-validator.d.ts.map +0 -1
  784. package/dist/utils/config-validator.js +0 -10
  785. package/dist/utils/config-validator.js.map +0 -1
  786. package/dist/utils/consent-scanner.d.ts +0 -19
  787. package/dist/utils/consent-scanner.d.ts.map +0 -1
  788. package/dist/utils/consent-scanner.js +0 -115
  789. package/dist/utils/consent-scanner.js.map +0 -1
  790. package/dist/utils/format-code.d.ts +0 -9
  791. package/dist/utils/format-code.d.ts.map +0 -1
  792. package/dist/utils/format-code.js +0 -77
  793. package/dist/utils/format-code.js.map +0 -1
  794. package/dist/utils/generic-tree-builder.d.ts +0 -37
  795. package/dist/utils/generic-tree-builder.d.ts.map +0 -1
  796. package/dist/utils/generic-tree-builder.js +0 -225
  797. package/dist/utils/generic-tree-builder.js.map +0 -1
  798. package/dist/utils/mapping-path.d.ts +0 -146
  799. package/dist/utils/mapping-path.d.ts.map +0 -1
  800. package/dist/utils/mapping-path.js +0 -271
  801. package/dist/utils/mapping-path.js.map +0 -1
  802. package/dist/utils/monaco-context-types.d.ts +0 -39
  803. package/dist/utils/monaco-context-types.d.ts.map +0 -1
  804. package/dist/utils/monaco-context-types.js +0 -426
  805. package/dist/utils/monaco-context-types.js.map +0 -1
  806. package/dist/utils/monaco-decorators.d.ts +0 -17
  807. package/dist/utils/monaco-decorators.d.ts.map +0 -1
  808. package/dist/utils/monaco-decorators.js +0 -81
  809. package/dist/utils/monaco-decorators.js.map +0 -1
  810. package/dist/utils/monaco-formatters.d.ts +0 -16
  811. package/dist/utils/monaco-formatters.d.ts.map +0 -1
  812. package/dist/utils/monaco-formatters.js +0 -139
  813. package/dist/utils/monaco-formatters.js.map +0 -1
  814. package/dist/utils/monaco-intellisense-flow-extractor.d.ts +0 -13
  815. package/dist/utils/monaco-intellisense-flow-extractor.d.ts.map +0 -1
  816. package/dist/utils/monaco-intellisense-flow-extractor.js +0 -161
  817. package/dist/utils/monaco-intellisense-flow-extractor.js.map +0 -1
  818. package/dist/utils/monaco-json-schema.d.ts +0 -45
  819. package/dist/utils/monaco-json-schema.d.ts.map +0 -1
  820. package/dist/utils/monaco-json-schema.js +0 -90
  821. package/dist/utils/monaco-json-schema.js.map +0 -1
  822. package/dist/utils/monaco-schema-contract.d.ts +0 -8
  823. package/dist/utils/monaco-schema-contract.d.ts.map +0 -1
  824. package/dist/utils/monaco-schema-contract.js +0 -73
  825. package/dist/utils/monaco-schema-contract.js.map +0 -1
  826. package/dist/utils/monaco-schema-enrichment.d.ts +0 -26
  827. package/dist/utils/monaco-schema-enrichment.d.ts.map +0 -1
  828. package/dist/utils/monaco-schema-enrichment.js +0 -31
  829. package/dist/utils/monaco-schema-enrichment.js.map +0 -1
  830. package/dist/utils/monaco-schema-flow-setup.d.ts +0 -10
  831. package/dist/utils/monaco-schema-flow-setup.d.ts.map +0 -1
  832. package/dist/utils/monaco-schema-flow-setup.js +0 -201
  833. package/dist/utils/monaco-schema-flow-setup.js.map +0 -1
  834. package/dist/utils/monaco-schema-variables.d.ts +0 -4
  835. package/dist/utils/monaco-schema-variables.d.ts.map +0 -1
  836. package/dist/utils/monaco-schema-variables.js +0 -26
  837. package/dist/utils/monaco-schema-variables.js.map +0 -1
  838. package/dist/utils/monaco-types.d.ts +0 -174
  839. package/dist/utils/monaco-types.d.ts.map +0 -1
  840. package/dist/utils/monaco-types.js +0 -378
  841. package/dist/utils/monaco-types.js.map +0 -1
  842. package/dist/utils/monaco-walkeros-completions.d.ts +0 -15
  843. package/dist/utils/monaco-walkeros-completions.d.ts.map +0 -1
  844. package/dist/utils/monaco-walkeros-completions.js +0 -65
  845. package/dist/utils/monaco-walkeros-completions.js.map +0 -1
  846. package/dist/utils/monaco-walkeros-decorations.d.ts +0 -29
  847. package/dist/utils/monaco-walkeros-decorations.d.ts.map +0 -1
  848. package/dist/utils/monaco-walkeros-decorations.js +0 -87
  849. package/dist/utils/monaco-walkeros-decorations.js.map +0 -1
  850. package/dist/utils/monaco-walkeros-markers.d.ts +0 -13
  851. package/dist/utils/monaco-walkeros-markers.d.ts.map +0 -1
  852. package/dist/utils/monaco-walkeros-markers.js +0 -69
  853. package/dist/utils/monaco-walkeros-markers.js.map +0 -1
  854. package/dist/utils/monaco-walkeros-providers.d.ts +0 -19
  855. package/dist/utils/monaco-walkeros-providers.d.ts.map +0 -1
  856. package/dist/utils/monaco-walkeros-providers.js +0 -229
  857. package/dist/utils/monaco-walkeros-providers.js.map +0 -1
  858. package/dist/utils/path-analyzer.d.ts +0 -88
  859. package/dist/utils/path-analyzer.d.ts.map +0 -1
  860. package/dist/utils/path-analyzer.js +0 -215
  861. package/dist/utils/path-analyzer.js.map +0 -1
  862. package/dist/utils/schema-validation.d.ts +0 -36
  863. package/dist/utils/schema-validation.d.ts.map +0 -1
  864. package/dist/utils/schema-validation.js +0 -136
  865. package/dist/utils/schema-validation.js.map +0 -1
  866. package/dist/utils/type-detector.d.ts +0 -35
  867. package/dist/utils/type-detector.d.ts.map +0 -1
  868. package/dist/utils/type-detector.js +0 -241
  869. package/dist/utils/type-detector.js.map +0 -1
  870. package/dist/utils/value-display-formatter.d.ts +0 -31
  871. package/dist/utils/value-display-formatter.d.ts.map +0 -1
  872. package/dist/utils/value-display-formatter.js +0 -110
  873. package/dist/utils/value-display-formatter.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-condition-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-condition-pane-view.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,uBAAuB,GAExB,MAAM,8BAA8B,CAAC;AAiBtC,MAAM,iBAAiB,GAAG;;;;;;;EAOxB,CAAC;AAEH,MAAM,aAAa,GAAkB;IACnC;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,wBAAwB;aACtC;SACF;KACF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,yBAAyB;aACvC;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,wBAAwB;aACtC;SACF;KACF;IACD;QACE,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,6BAA6B;gBACpC,IAAI,EAAE,mEAA6C;aACpD;YACD;gBACE,KAAK,EAAE,iCAAiC;gBACxC,IAAI,EAAE,6EAAoD;aAC3D;YACD;gBACE,KAAK,EAAE,6BAA6B;gBACpC,IAAI,EAAE,CACJ,+FAGG,CACJ;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,KAAoC;IAC3E,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,oBAAoB,EAC1B,WAAW,EAAC,wDAAwD,EACpE,WAAW,EAAE,iBAAiB,EAC9B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAC,WAAW,KACpB,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
2
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
3
- /**
4
- * Mapping Consent Pane View
5
- *
6
- * Dedicated pane for configuring required consent states.
7
- * Shows discovered consent states as toggleable tiles plus input to add new ones.
8
- */
9
- export interface MappingConsentPaneViewProps {
10
- path: string[];
11
- mappingState: UseMappingStateReturn;
12
- navigation: UseMappingNavigationReturn;
13
- className?: string;
14
- }
15
- export declare function MappingConsentPaneView({ path, mappingState, navigation, className, }: MappingConsentPaneViewProps): import("react/jsx-runtime").JSX.Element;
16
- //# sourceMappingURL=mapping-consent-pane-view.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-consent-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-pane-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAOnF;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,2BAA2B,2CAsH7B"}
@@ -1,65 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useMemo } from 'react';
3
- import { ConsentStateTile } from '../atoms/consent-state-tile';
4
- import { scanMappingForConsentStates } from '../../utils/consent-scanner';
5
- import { BaseMappingPane } from '../atoms/base-mapping-pane';
6
- import { getPathDescription } from '../../utils/path-analyzer';
7
- import { MappingInputWithButton } from '../atoms/mapping-input-with-button';
8
- export function MappingConsentPaneView({ path, mappingState, navigation, className = '', }) {
9
- const [newStateName, setNewStateName] = useState('');
10
- // Get current consent value at this path
11
- const value = mappingState.actions.getValue(path);
12
- const currentConsent = value && typeof value === 'object'
13
- ? value
14
- : {};
15
- // Scan entire mapping for all consent states
16
- const discoveredStates = useMemo(() => scanMappingForConsentStates(mappingState.config), [mappingState.config]);
17
- const handleToggleState = (stateName) => {
18
- const isCurrentlyChecked = currentConsent[stateName] === true;
19
- if (isCurrentlyChecked) {
20
- // Uncheck: remove from consent object
21
- const newConsent = { ...currentConsent };
22
- delete newConsent[stateName];
23
- // If empty, delete the entire consent property
24
- if (Object.keys(newConsent).length === 0) {
25
- mappingState.actions.deleteValue(path);
26
- }
27
- else {
28
- mappingState.actions.setValue(path, newConsent);
29
- }
30
- }
31
- else {
32
- // Check: add to consent object with value true
33
- const newConsent = { ...currentConsent, [stateName]: true };
34
- mappingState.actions.setValue(path, newConsent);
35
- }
36
- };
37
- const handleInputChange = (value) => {
38
- setNewStateName(value);
39
- };
40
- const handleAddNewState = () => {
41
- const trimmed = newStateName.trim();
42
- if (!trimmed)
43
- return;
44
- // Don't add if it already exists
45
- if (discoveredStates.includes(trimmed)) {
46
- setNewStateName('');
47
- return;
48
- }
49
- // Add new state as checked
50
- const newConsent = { ...currentConsent, [trimmed]: true };
51
- mappingState.actions.setValue(path, newConsent);
52
- // Clear input
53
- setNewStateName('');
54
- };
55
- const handleKeyDown = (e) => {
56
- if (e.key === 'Escape') {
57
- e.preventDefault();
58
- setNewStateName('');
59
- }
60
- };
61
- // Get context-aware title and description
62
- const { title, description } = useMemo(() => getPathDescription(path, mappingState.config), [path, mappingState.config]);
63
- return (_jsx(BaseMappingPane, { title: title, description: description, navigation: navigation, className: className, children: _jsxs("div", { className: "elb-mapping-consent-pane", children: [_jsxs("div", { className: "elb-mapping-consent-grid", children: [discoveredStates.map((stateName) => (_jsx(ConsentStateTile, { label: stateName, checked: currentConsent[stateName] === true, onClick: () => handleToggleState(stateName) }, stateName))), _jsx(MappingInputWithButton, { value: newStateName, onChange: handleInputChange, onSubmit: handleAddNewState, onKeyDown: handleKeyDown, buttonLabel: "Add", showButton: true, placeholder: "Add new consent state" })] }), _jsxs("div", { className: "elb-mapping-consent-help", children: [_jsx("h4", { className: "elb-mapping-consent-help-title", children: "How it works" }), _jsxs("ul", { className: "elb-mapping-consent-help-list", children: [_jsx("li", { children: "Checked states are required for processing" }), _jsx("li", { children: "Events queue until required consent is granted" }), _jsx("li", { children: "Consent states are discovered from your entire mapping configuration" })] })] })] }) }));
64
- }
65
- //# sourceMappingURL=mapping-consent-pane-view.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-consent-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-pane-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAe5E,MAAM,UAAU,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAS,GAAG,EAAE,GACc;IAC5B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAErD,yCAAyC;IACzC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,cAAc,GACl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,CAAC,IAHtC,SAAS,CAId,CACH,CAAC,EAGF,KAAC,sBAAsB,IACrB,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,iBAAiB,EAC3B,QAAQ,EAAE,iBAAiB,EAC3B,SAAS,EAAE,aAAa,EACxB,WAAW,EAAC,KAAK,EACjB,UAAU,EAAE,IAAI,EAChB,WAAW,EAAC,uBAAuB,GACnC,IACE,EAGN,eAAK,SAAS,EAAC,0BAA0B,aACvC,aAAI,SAAS,EAAC,gCAAgC,6BAAkB,EAChE,cAAI,SAAS,EAAC,+BAA+B,aAC3C,sEAAmD,EACnD,0EAAuD,EACvD,gGAGK,IACF,IACD,IACF,GACU,CACnB,CAAC;AACJ,CAAC"}
@@ -1,29 +0,0 @@
1
- export interface ConsentRowProps {
2
- consentType: string;
3
- granted: boolean;
4
- onConsentTypeChange: (value: string) => void;
5
- onGrantedChange: (value: boolean) => void;
6
- onRemove: () => void;
7
- }
8
- /**
9
- * ConsentRow - Single consent requirement row
10
- *
11
- * Displays a row for configuring a consent requirement with:
12
- * - Input field for consent type name (e.g., "functional", "marketing")
13
- * - Checkbox for granted/denied state (checked = true/granted required)
14
- * - "Granted" label next to checkbox
15
- * - Trash button to remove the row
16
- *
17
- * Layout: [Input 200px] [Checkbox] [Label "Granted"] [Trash Button]
18
- *
19
- * @example
20
- * <ConsentRow
21
- * consentType="functional"
22
- * granted={true}
23
- * onConsentTypeChange={setType}
24
- * onGrantedChange={setGranted}
25
- * onRemove={handleRemove}
26
- * />
27
- */
28
- export declare function ConsentRow({ consentType, granted, onConsentTypeChange, onGrantedChange, onRemove, }: ConsentRowProps): import("react/jsx-runtime").JSX.Element;
29
- //# sourceMappingURL=mapping-consent-row.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-consent-row.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-row.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,QAAQ,GACT,EAAE,eAAe,2CA2BjB"}
@@ -1,26 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { IconButton } from '../atoms/icon-button';
3
- /**
4
- * ConsentRow - Single consent requirement row
5
- *
6
- * Displays a row for configuring a consent requirement with:
7
- * - Input field for consent type name (e.g., "functional", "marketing")
8
- * - Checkbox for granted/denied state (checked = true/granted required)
9
- * - "Granted" label next to checkbox
10
- * - Trash button to remove the row
11
- *
12
- * Layout: [Input 200px] [Checkbox] [Label "Granted"] [Trash Button]
13
- *
14
- * @example
15
- * <ConsentRow
16
- * consentType="functional"
17
- * granted={true}
18
- * onConsentTypeChange={setType}
19
- * onGrantedChange={setGranted}
20
- * onRemove={handleRemove}
21
- * />
22
- */
23
- export function ConsentRow({ consentType, granted, onConsentTypeChange, onGrantedChange, onRemove, }) {
24
- return (_jsxs("div", { className: "elb-consent-row", children: [_jsx("input", { type: "text", className: "elb-consent-input", value: consentType, onChange: (e) => onConsentTypeChange(e.target.value), placeholder: "e.g., functional" }), _jsxs("div", { className: "elb-consent-checkbox-wrapper", children: [_jsx("input", { type: "checkbox", className: "elb-rjsf-checkbox", checked: granted, onChange: (e) => onGrantedChange(e.target.checked) }), _jsx("span", { className: "elb-consent-label", children: "Required" })] }), _jsx(IconButton, { icon: "delete", variant: "danger", onClick: onRemove, title: "Remove consent requirement" })] }));
25
- }
26
- //# sourceMappingURL=mapping-consent-row.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-consent-row.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-row.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAUlD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,UAAU,CAAC,EACzB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,QAAQ,GACQ;IAChB,OAAO,CACL,eAAK,SAAS,EAAC,iBAAiB,aAC9B,gBACE,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,mBAAmB,EAC7B,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACpD,WAAW,EAAC,kBAAkB,GAC9B,EACF,eAAK,SAAS,EAAC,8BAA8B,aAC3C,gBACE,IAAI,EAAC,UAAU,EACf,SAAS,EAAC,mBAAmB,EAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAClD,EACF,eAAM,SAAS,EAAC,mBAAmB,yBAAgB,IAC/C,EACN,KAAC,UAAU,IACT,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAC,4BAA4B,GAClC,IACE,CACP,CAAC;AACJ,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
2
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
3
- /**
4
- * Entity Pane - Shows actions for an entity
5
- *
6
- * Displays:
7
- * - List of existing actions for the entity
8
- * - Input field to create new actions
9
- */
10
- export interface MappingEntityPaneProps {
11
- path: string[];
12
- mappingState: UseMappingStateReturn;
13
- navigation: UseMappingNavigationReturn;
14
- className?: string;
15
- }
16
- export declare function MappingEntityPane({ path, mappingState, navigation, className, }: MappingEntityPaneProps): import("react/jsx-runtime").JSX.Element;
17
- //# sourceMappingURL=mapping-entity-pane.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-entity-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-entity-pane.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,sBAAsB,2CAiIxB"}
@@ -1,68 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useEffect } from 'react';
3
- import { BaseMappingPane } from '../atoms/base-mapping-pane';
4
- import { MappingInputWithButton } from '../atoms/mapping-input-with-button';
5
- export function MappingEntityPane({ path, mappingState, navigation, className = '', }) {
6
- const [newActionName, setNewActionName] = useState('');
7
- const [actionExists, setActionExists] = useState(false);
8
- const entity = path[0];
9
- const entityConfig = mappingState.actions.getValue([entity]);
10
- const actions = entityConfig && typeof entityConfig === 'object'
11
- ? Object.keys(entityConfig).sort()
12
- : [];
13
- // Check if action exists
14
- useEffect(() => {
15
- if (newActionName) {
16
- const exists = actions.includes(newActionName);
17
- setActionExists(exists);
18
- }
19
- else {
20
- setActionExists(false);
21
- }
22
- }, [newActionName, actions]);
23
- const handleActionInput = (value) => {
24
- setNewActionName(value);
25
- };
26
- const handleActionKeyDown = (e) => {
27
- if (e.key === 'Escape') {
28
- e.preventDefault();
29
- setNewActionName('');
30
- setActionExists(false);
31
- }
32
- };
33
- const handleActionSubmit = () => {
34
- if (!newActionName.trim()) {
35
- setNewActionName('');
36
- return;
37
- }
38
- if (actionExists) {
39
- // Navigate to existing action
40
- navigation.openTab([entity, newActionName], 'rule');
41
- setNewActionName('');
42
- setActionExists(false);
43
- }
44
- else {
45
- // Create new action
46
- mappingState.actions.createRule(entity, newActionName.trim(), {});
47
- navigation.openTab([entity, newActionName.trim()], 'rule');
48
- setNewActionName('');
49
- }
50
- };
51
- const handleActionClick = (action) => {
52
- navigation.openTab([entity, action], 'rule');
53
- };
54
- // Get the preview text for an action (the name value from the rule or fallback)
55
- const getActionPreview = (action) => {
56
- const rule = mappingState.actions.getValue([entity, action]);
57
- if (rule && typeof rule.name === 'string' && rule.name) {
58
- return rule.name;
59
- }
60
- return `${entity} ${action}`;
61
- };
62
- return (_jsx(BaseMappingPane, { title: entity, description: "Select an action or create a new one", navigation: navigation, className: className, children: _jsxs("div", { className: "elb-mapping-entity-pane-body", children: [_jsx("div", { className: "elb-mapping-entity-pane-new-action", children: _jsx(MappingInputWithButton, { value: newActionName, onChange: handleActionInput, onSubmit: handleActionSubmit, onKeyDown: handleActionKeyDown, buttonLabel: actionExists ? 'Open' : 'Create', showButton: true, placeholder: "Type action name to create or select...", className: actionExists ? 'is-existing' : '' }) }), actions.length > 0 && (_jsxs("div", { className: "elb-mapping-tile-section", children: [_jsx("h3", { className: "elb-mapping-tile-title", children: "Existing Actions" }), _jsx("div", { className: "elb-mapping-entity-pane-action-list", children: actions.map((action) => {
63
- const preview = getActionPreview(action);
64
- const isLongPreview = preview.length > 20;
65
- return (_jsxs("button", { type: "button", className: "elb-mapping-entity-pane-action-tile", onClick: () => handleActionClick(action), children: [_jsx("div", { className: "elb-mapping-entity-pane-action-tile-action", children: action }), _jsx("div", { className: `elb-mapping-entity-pane-action-tile-preview ${isLongPreview ? 'is-long' : ''}`, children: preview })] }, action));
66
- }) })] })), actions.length === 0 && !newActionName && (_jsx("div", { className: "elb-mapping-entity-pane-empty", children: _jsx("p", { children: "No actions yet. Type above to create the first action." }) }))] }) }));
67
- }
68
- //# sourceMappingURL=mapping-entity-pane.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-entity-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-entity-pane.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAgB5E,MAAM,UAAU,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAS,GAAG,EAAE,GACS;IACvB,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACvD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAE9C,CAAC;IACd,MAAM,OAAO,GACX,YAAY,IAAI,OAAO,YAAY,KAAK,QAAQ;QAC9C,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE;QAClC,CAAC,CAAC,EAAE,CAAC;IAET,yBAAyB;IACzB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;YAC/C,eAAe,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,eAAe,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC,EA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CAC1C,OAAO,CACL,kBAEE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,qCAAqC,EAC/C,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,aAExC,cAAK,SAAS,EAAC,4CAA4C,YACxD,MAAM,GACH,EACN,cACE,SAAS,EAAE,+CAA+C,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,YAEzF,OAAO,GACJ,KAZD,MAAM,CAaJ,CACV,CAAC;4BACJ,CAAC,CAAC,GACE,IACF,CACP,EAEA,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,aAAa,IAAI,CACzC,cAAK,SAAS,EAAC,+BAA+B,YAC5C,iFAA6D,GACzD,CACP,IACG,GACU,CACnB,CAAC;AACJ,CAAC"}
@@ -1,40 +0,0 @@
1
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
2
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
3
- import type { DestinationSchemas } from '../../types/schemas';
4
- import type { ConfigStructureDef } from '../../schemas/config-structures/types';
5
- /**
6
- * Enum Pane View - Pure Presentation Component
7
- *
8
- * Edits enum fields with predefined options from JSON Schema.
9
- * Uses schema.enum to populate dropdown options and schema.type to determine
10
- * if freeform text input should be allowed.
11
- *
12
- * Features:
13
- * - Dropdown selection from schema-defined enum values
14
- * - Optional freeform text input for 'string' type enums
15
- * - Keyboard navigation
16
- * - Schema-driven: extracts enum values from destination schemas
17
- *
18
- * @example
19
- * // Path: ['order', 'complete', 'settings', 'track']
20
- * // Schema: { type: 'string', enum: ['PageView', 'Purchase', 'AddToCart'] }
21
- * <MappingEnumPaneView
22
- * path={['order', 'complete', 'settings', 'track']}
23
- * mappingState={mappingState}
24
- * navigation={navigation}
25
- * schemas={{
26
- * mapping: metaPixelMappingSchema,
27
- * mappingUi: metaPixelMappingUiSchema
28
- * }}
29
- * />
30
- */
31
- export interface MappingEnumPaneViewProps {
32
- path: string[];
33
- mappingState: UseMappingStateReturn;
34
- navigation: UseMappingNavigationReturn;
35
- schemas?: DestinationSchemas;
36
- structure?: ConfigStructureDef;
37
- className?: string;
38
- }
39
- export declare function MappingEnumPaneView({ path, mappingState, navigation, schemas, structure, className, }: MappingEnumPaneViewProps): import("react/jsx-runtime").JSX.Element;
40
- //# sourceMappingURL=mapping-enum-pane-view.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-enum-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-enum-pane-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAKhF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,OAAO,EACP,SAAS,EACT,SAAc,GACf,EAAE,wBAAwB,2CA4E1B"}
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BaseMappingPane } from '../atoms/base-mapping-pane';
3
- import { MappingEnumSelect } from '../atoms/mapping-enum-select';
4
- import { getSchemaForPath } from '../../utils/type-detector';
5
- export function MappingEnumPaneView({ path, mappingState, navigation, schemas, structure, className = '', }) {
6
- const value = mappingState.actions.getValue(path);
7
- const currentValue = typeof value === 'string' || typeof value === 'number' ? value : '';
8
- // Get schema for this path using structure-aware detection
9
- const schema = structure && schemas
10
- ? getSchemaForPath(value, path, structure, schemas)
11
- : null;
12
- const enumOptions = schema?.enum || [];
13
- const enumType = schema?.type === 'number' ? 'number' : 'string';
14
- const handleChange = (newValue) => {
15
- if (newValue === '' ||
16
- (typeof newValue === 'string' && newValue.trim() === '')) {
17
- // Delete if empty
18
- mappingState.actions.deleteValue(path);
19
- }
20
- else {
21
- mappingState.actions.setValue(path, newValue);
22
- }
23
- };
24
- // Get field name from path (last segment)
25
- const fieldName = path[path.length - 1];
26
- return (_jsxs(BaseMappingPane, { title: `Enum: ${fieldName}`, description: "Select from dropdown or type custom value", navigation: navigation, className: className, children: [_jsxs("div", { className: "elb-mapping-pane-field", children: [_jsx(MappingEnumSelect, { value: currentValue, onChange: handleChange, options: enumOptions, placeholder: enumOptions.length > 0
27
- ? `Type or select ${fieldName}...`
28
- : 'Type custom value...', type: enumType, autoFocus: true }), _jsx("div", { className: "elb-mapping-pane-hint", children: enumOptions.length > 0
29
- ? `${enumOptions.length} predefined ${enumOptions.length === 1 ? 'option' : 'options'} available. Type to filter or enter custom value.`
30
- : 'No predefined options. Enter custom value.' })] }), enumOptions.length > 0 && (_jsxs("div", { className: "elb-mapping-enum-examples", children: [_jsx("div", { className: "elb-mapping-enum-examples-title", children: "Available Options:" }), _jsxs("ul", { className: "elb-mapping-enum-examples-list", children: [enumOptions.slice(0, 10).map((option) => (_jsx("li", { children: _jsx("code", { children: String(option) }) }, String(option)))), enumOptions.length > 10 && (_jsxs("li", { className: "elb-mapping-enum-examples-more", children: ["... and ", enumOptions.length - 10, " more"] }))] })] }))] }));
31
- }
32
- //# sourceMappingURL=mapping-enum-pane-view.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-enum-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-enum-pane-view.tsx"],"names":[],"mappings":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IACe,CACnB,CAAC;AACJ,CAAC"}
@@ -1,18 +0,0 @@
1
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
2
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
3
- /**
4
- * Mapping Fn Pane View
5
- *
6
- * Dedicated pane for the 'fn' property - a transformation function that
7
- * processes event data and returns a transformed value.
8
- *
9
- * Function signature: (value, mapping, options) => any
10
- */
11
- export interface MappingFnPaneViewProps {
12
- path: string[];
13
- mappingState: UseMappingStateReturn;
14
- navigation: UseMappingNavigationReturn;
15
- className?: string;
16
- }
17
- export declare function MappingFnPaneView(props: MappingFnPaneViewProps): import("react/jsx-runtime").JSX.Element;
18
- //# sourceMappingURL=mapping-fn-pane-view.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-fn-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-fn-pane-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAMnF;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA2GD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAW9D"}
@@ -1,77 +0,0 @@
1
- import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MappingFunctionPaneBase, } from './mapping-function-pane-base';
3
- const DEFAULT_FN = `(
4
- value: WalkerOS.DeepPartialEvent | unknown,
5
- mapping: Mapping.Value,
6
- options: Mapping.Options
7
- ): WalkerOS.Property | unknown => {
8
- // Transform and return the value
9
- // Access event data: value.data, value.user, value.globals
10
- // Access collector: options.collector
11
- return value.data;
12
- }`;
13
- const HELP_SECTIONS = [
14
- {
15
- title: 'Parameters',
16
- items: [
17
- {
18
- code: 'value',
19
- description: 'The event or current value being processed',
20
- },
21
- {
22
- code: 'mapping',
23
- description: 'The mapping configuration for this property',
24
- },
25
- {
26
- code: 'options',
27
- description: 'Additional options',
28
- },
29
- ],
30
- },
31
- {
32
- title: 'Return Value',
33
- items: [
34
- {
35
- code: 'any',
36
- description: 'Return the transformed value (string, number, object, array)',
37
- },
38
- {
39
- code: 'undefined',
40
- description: 'Return undefined to skip this property',
41
- },
42
- {
43
- code: 'Promise',
44
- description: 'Can be async (return Promise)',
45
- },
46
- ],
47
- },
48
- {
49
- title: 'Examples',
50
- examples: [
51
- {
52
- label: 'Extract nested property:',
53
- code: _jsx(_Fragment, { children: "(value) => value.data?.product?.id" }),
54
- },
55
- {
56
- label: 'Format currency:',
57
- code: (_jsxs(_Fragment, { children: ["(value) => {", '\n', ' ', "const price = value.data?.price || 0;", '\n', ' ', "return price.toFixed(2);", '\n', "}"] })),
58
- },
59
- {
60
- label: 'Combine multiple fields:',
61
- code: (_jsx(_Fragment, { children: "(value) => `${value.data?.firstName} ${value.data?.lastName}`" })),
62
- },
63
- {
64
- label: 'Conditional transformation with consent:',
65
- code: (_jsxs(_Fragment, { children: ["(value, mapping, options) => {", '\n', ' ', "if (options.consent?.marketing) {", '\n', ' ', "return value.user?.email;", '\n', ' ', "}", '\n', ' ', "return undefined;", '\n', "}"] })),
66
- },
67
- {
68
- label: 'Use collector for context:',
69
- code: (_jsxs(_Fragment, { children: ["(value, mapping, options) => {", '\n', ' ', "const sessionId = options.collector?.session?.id;", '\n', ' ', "return {", '\n', ' ', "eventId: value.id,", '\n', ' ', "sessionId: sessionId,", '\n', ' ', "};", '\n', "}"] })),
70
- },
71
- ],
72
- },
73
- ];
74
- export function MappingFnPaneView(props) {
75
- return (_jsx(MappingFunctionPaneBase, { title: "Transformation Function", description: "Transform event data before sending to destination", defaultCode: DEFAULT_FN, helpSections: HELP_SECTIONS, functionType: "fn", ...props }));
76
- }
77
- //# sourceMappingURL=mapping-fn-pane-view.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-fn-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-fn-pane-view.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,uBAAuB,GAExB,MAAM,8BAA8B,CAAC;AAiBtC,MAAM,UAAU,GAAG;;;;;;;;;EASjB,CAAC;AAEH,MAAM,aAAa,GAAkB;IACnC;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,6CAA6C;aAC3D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,oBAAoB;aAClC;SACF;KACF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,KAAK;gBACX,WAAW,EACT,8DAA8D;aACjE;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,wCAAwC;aACtD;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+BAA+B;aAC7C;SACF;KACF;IACD;QACE,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,0BAA0B;gBACjC,IAAI,EAAE,mEAA0C;aACjD;YACD;gBACE,KAAK,EAAE,kBAAkB;gBACzB,IAAI,EAAE,CACJ,8CACuB,IAAI,EACxB,IAAI,2CAAuC,IAAI,EAC/C,IAAI,8BAA0B,IAAI,SAElC,CACJ;aACF;YACD;gBACE,KAAK,EAAE,0BAA0B;gBACjC,IAAI,EAAE,CACJ,8FAGG,CACJ;aACF;YACD;gBACE,KAAK,EAAE,0CAA0C;gBACjD,IAAI,EAAE,CACJ,gEACyC,IAAI,EAC1C,IAAI,uCAAwC,IAAI,EAChD,MAAM,+BAA2B,IAAI,EACrC,IAAI,OAAQ,IAAI,EAChB,IAAI,uBAAmB,IAAI,SAE3B,CACJ;aACF;YACD;gBACE,KAAK,EAAE,4BAA4B;gBACnC,IAAI,EAAE,CACJ,gEACyC,IAAI,EAC1C,IAAI,uDAAmD,IAAI,EAC3D,IAAI,cAAe,IAAI,EACvB,MAAM,wBAAoB,IAAI,EAC9B,MAAM,2BAAuB,IAAI,EACjC,IAAI,QAAS,IAAI,SAEjB,CACJ;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC7D,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,yBAAyB,EAC/B,WAAW,EAAC,oDAAoD,EAChE,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAC,IAAI,KACb,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
@@ -1,53 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
3
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
4
- import { type FunctionType } from '../../utils/monaco-types';
5
- /**
6
- * Help Item - represents a single parameter, return value item, etc.
7
- */
8
- export interface HelpItem {
9
- code: string;
10
- description: string;
11
- }
12
- /**
13
- * Help Example - code example with label
14
- */
15
- export interface HelpExample {
16
- label: string;
17
- code: string | ReactNode;
18
- }
19
- /**
20
- * Help Section - a titled section with either items or examples
21
- */
22
- export interface HelpSection {
23
- title: string;
24
- items?: HelpItem[];
25
- examples?: HelpExample[];
26
- }
27
- /**
28
- * Base Props for Function Pane Component
29
- */
30
- export interface MappingFunctionPaneBaseProps {
31
- title: string;
32
- description: string;
33
- defaultCode: string;
34
- helpSections: HelpSection[];
35
- functionType: FunctionType;
36
- path: string[];
37
- mappingState: UseMappingStateReturn;
38
- navigation: UseMappingNavigationReturn;
39
- className?: string;
40
- }
41
- /**
42
- * Mapping Function Pane Base
43
- *
44
- * Base component for function editing panes (condition, fn, validate).
45
- * Consolidates shared logic for state management, code editing, and help display.
46
- *
47
- * Used by:
48
- * - MappingConditionPaneView
49
- * - MappingFnPaneView
50
- * - MappingValidatePaneView
51
- */
52
- export declare function MappingFunctionPaneBase({ title, description, defaultCode, helpSections, functionType, path, mappingState, navigation, className, }: MappingFunctionPaneBaseProps): import("react/jsx-runtime").JSX.Element;
53
- //# sourceMappingURL=mapping-function-pane-base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-function-pane-base.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-function-pane-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,0BAA0B,CAAC;AAGlC;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,4BAA4B,2CAkH9B"}
@@ -1,60 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useEffect } from 'react';
3
- import { CodeBox } from '../molecules/code-box';
4
- import { BaseMappingPane } from '../atoms/base-mapping-pane';
5
- import { normalizeCode } from '../../utils/code-normalizer';
6
- import { registerWalkerOSTypes, addFunctionContextTypes, } from '../../utils/monaco-types';
7
- import { registerPalenightTheme } from '../../themes/palenight';
8
- /**
9
- * Mapping Function Pane Base
10
- *
11
- * Base component for function editing panes (condition, fn, validate).
12
- * Consolidates shared logic for state management, code editing, and help display.
13
- *
14
- * Used by:
15
- * - MappingConditionPaneView
16
- * - MappingFnPaneView
17
- * - MappingValidatePaneView
18
- */
19
- export function MappingFunctionPaneBase({ title, description, defaultCode, helpSections, functionType, path, mappingState, navigation, className = '', }) {
20
- // Get current value from mapping state
21
- const value = mappingState.actions.getValue(path);
22
- const initialCode = typeof value === 'string' ? value : defaultCode;
23
- const [code, setCode] = useState(initialCode);
24
- // Update local state if external value changes
25
- useEffect(() => {
26
- const currentValue = mappingState.actions.getValue(path);
27
- const newCode = typeof currentValue === 'string' ? currentValue : defaultCode;
28
- setCode(newCode);
29
- }, [path, mappingState, defaultCode]);
30
- const handleCodeChange = (newCode) => {
31
- setCode(newCode);
32
- // Check if code is different from default (normalized comparison)
33
- const isDefault = normalizeCode(newCode) === normalizeCode(defaultCode);
34
- if (isDefault) {
35
- // Remove the property if it's the default
36
- mappingState.actions.deleteValue(path);
37
- }
38
- else {
39
- // Save the modified code
40
- mappingState.actions.setValue(path, newCode);
41
- }
42
- };
43
- const handleReset = () => {
44
- // Reset to default and remove from mapping
45
- setCode(defaultCode);
46
- mappingState.actions.deleteValue(path);
47
- };
48
- // Monaco editor beforeMount handler to register types
49
- const handleBeforeMount = (monaco) => {
50
- registerPalenightTheme(monaco);
51
- registerWalkerOSTypes(monaco);
52
- addFunctionContextTypes(monaco, { type: functionType });
53
- };
54
- return (_jsx(BaseMappingPane, { title: title, description: description, navigation: navigation, headerAction: {
55
- label: 'Reset',
56
- onClick: handleReset,
57
- title: 'Reset to default',
58
- }, className: className, children: _jsxs("div", { className: "elb-mapping-function-pane", children: [_jsx("div", { className: "elb-mapping-function-editor", children: _jsx(CodeBox, { code: code, language: "typescript", onChange: handleCodeChange, showHeader: false, label: "", beforeMount: handleBeforeMount }) }), _jsx("div", { className: "elb-mapping-function-help", children: helpSections.map((section, sectionIndex) => (_jsxs("div", { className: "elb-mapping-function-help-section", children: [_jsx("h4", { className: "elb-mapping-function-help-title", children: section.title }), section.items && section.items.length > 0 && (_jsx("ul", { className: "elb-mapping-function-help-list", children: section.items.map((item, itemIndex) => (_jsxs("li", { children: [_jsx("code", { children: item.code }), " - ", item.description] }, itemIndex))) })), section.examples && section.examples.length > 0 && (_jsx("div", { className: "elb-mapping-function-examples", children: section.examples.map((example, exampleIndex) => (_jsxs("div", { className: "elb-mapping-function-example", children: [_jsx("div", { className: "elb-mapping-function-example-label", children: example.label }), _jsx("code", { className: "elb-mapping-function-example-code", children: example.code })] }, exampleIndex))) }))] }, sectionIndex))) })] }) }));
59
- }
60
- //# sourceMappingURL=mapping-function-pane-base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-function-pane-base.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-function-pane-base.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAkB,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,C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,aAE7C,aAAI,SAAS,EAAC,iCAAiC,YAC5C,OAAO,CAAC,KAAK,GACX,EAGJ,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,CAC5C,aAAI,SAAS,EAAC,gCAAgC,YAC3C,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,CACtC,yBACE,yBAAO,IAAI,CAAC,IAAI,GAAQ,SAAI,IAAI,CAAC,WAAW,KADrC,SAAS,CAEb,CACN,CAAC,GACC,CACN,EAGA,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAClD,cAAK,SAAS,EAAC,+BAA+B,YAC3C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAC/C,eAEE,SAAS,EAAC,8BAA8B,aAExC,cAAK,SAAS,EAAC,oCAAoC,YAChD,OAAO,CAAC,KAAK,GACV,EACN,eAAM,SAAS,EAAC,mCAAmC,YAChD,OAAO,CAAC,IAAI,GACR,KARF,YAAY,CASb,CACP,CAAC,GACE,CACP,KAnCI,YAAY,CAoCb,CACP,CAAC,GACE,IACF,GACU,CACnB,CAAC;AACJ,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { UseMappingStateReturn } from '../../hooks/useMappingState';
2
- import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
3
- /**
4
- * Key Pane View - Pure Presentation Component
5
- *
6
- * Edits the 'key' property - a string path that extracts data from the event.
7
- * This is used to reference properties like data.id, user.email, globals.currency.
8
- *
9
- * @example
10
- * <MappingKeyPaneView
11
- * path={['page', 'view', 'data', 'map', 'currency', 'key']}
12
- * mappingState={mappingState}
13
- * navigation={navigation}
14
- * />
15
- */
16
- export interface MappingKeyPaneViewProps {
17
- path: string[];
18
- mappingState: UseMappingStateReturn;
19
- navigation: UseMappingNavigationReturn;
20
- className?: string;
21
- }
22
- export declare function MappingKeyPaneView({ path, mappingState, navigation, className, }: MappingKeyPaneViewProps): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=mapping-key-pane-view.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-key-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-key-pane-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,uBAAuB,2CA4BzB"}