@walkeros/explorer 0.3.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (713) hide show
  1. package/AGENT.md +406 -0
  2. package/STYLE.md +993 -0
  3. package/dist/__mocks__/@monaco-editor/react.d.ts +3 -0
  4. package/dist/__mocks__/@monaco-editor/react.d.ts.map +1 -0
  5. package/dist/__mocks__/@monaco-editor/react.js +4 -0
  6. package/dist/__mocks__/@monaco-editor/react.js.map +1 -0
  7. package/dist/chunk-VWWAIDNX.mjs +2939 -0
  8. package/dist/chunk-VWWAIDNX.mjs.map +1 -0
  9. package/dist/components/atoms/base-mapping-pane.d.ts +85 -0
  10. package/dist/components/atoms/base-mapping-pane.d.ts.map +1 -0
  11. package/dist/components/atoms/base-mapping-pane.js +53 -0
  12. package/dist/components/atoms/base-mapping-pane.js.map +1 -0
  13. package/dist/components/atoms/box.d.ts +27 -0
  14. package/dist/components/atoms/box.d.ts.map +1 -0
  15. package/dist/components/atoms/box.js +86 -0
  16. package/dist/components/atoms/box.js.map +1 -0
  17. package/dist/components/atoms/box.stories.d.ts +34 -0
  18. package/dist/components/atoms/box.stories.d.ts.map +1 -0
  19. package/dist/components/atoms/box.stories.js +104 -0
  20. package/dist/components/atoms/box.stories.js.map +1 -0
  21. package/dist/components/atoms/button-group.d.ts +17 -0
  22. package/dist/components/atoms/button-group.d.ts.map +1 -0
  23. package/dist/components/atoms/button-group.js +12 -0
  24. package/dist/components/atoms/button-group.js.map +1 -0
  25. package/dist/components/atoms/button-group.stories.d.ts +18 -0
  26. package/dist/components/atoms/button-group.stories.d.ts.map +1 -0
  27. package/dist/components/atoms/button-group.stories.js +35 -0
  28. package/dist/components/atoms/button-group.stories.js.map +1 -0
  29. package/dist/components/atoms/button-link.d.ts +12 -0
  30. package/dist/components/atoms/button-link.d.ts.map +1 -0
  31. package/dist/components/atoms/button-link.js +10 -0
  32. package/dist/components/atoms/button-link.js.map +1 -0
  33. package/dist/components/atoms/button-link.stories.d.ts +13 -0
  34. package/dist/components/atoms/button-link.stories.d.ts.map +1 -0
  35. package/dist/components/atoms/button-link.stories.js +64 -0
  36. package/dist/components/atoms/button-link.stories.js.map +1 -0
  37. package/dist/components/atoms/button.d.ts +15 -0
  38. package/dist/components/atoms/button.d.ts.map +1 -0
  39. package/dist/components/atoms/button.js +11 -0
  40. package/dist/components/atoms/button.js.map +1 -0
  41. package/dist/components/atoms/code.d.ts +55 -0
  42. package/dist/components/atoms/code.d.ts.map +1 -0
  43. package/dist/components/atoms/code.js +251 -0
  44. package/dist/components/atoms/code.js.map +1 -0
  45. package/dist/components/atoms/code.stories.d.ts +53 -0
  46. package/dist/components/atoms/code.stories.d.ts.map +1 -0
  47. package/dist/components/atoms/code.stories.js +190 -0
  48. package/dist/components/atoms/code.stories.js.map +1 -0
  49. package/dist/components/atoms/config-tile.d.ts +38 -0
  50. package/dist/components/atoms/config-tile.d.ts.map +1 -0
  51. package/dist/components/atoms/config-tile.js +29 -0
  52. package/dist/components/atoms/config-tile.js.map +1 -0
  53. package/dist/components/atoms/consent-state-tile.d.ts +14 -0
  54. package/dist/components/atoms/consent-state-tile.d.ts.map +1 -0
  55. package/dist/components/atoms/consent-state-tile.js +5 -0
  56. package/dist/components/atoms/consent-state-tile.js.map +1 -0
  57. package/dist/components/atoms/field-header.d.ts +41 -0
  58. package/dist/components/atoms/field-header.d.ts.map +1 -0
  59. package/dist/components/atoms/field-header.js +42 -0
  60. package/dist/components/atoms/field-header.js.map +1 -0
  61. package/dist/components/atoms/footer.d.ts +21 -0
  62. package/dist/components/atoms/footer.d.ts.map +1 -0
  63. package/dist/components/atoms/footer.js +19 -0
  64. package/dist/components/atoms/footer.js.map +1 -0
  65. package/dist/components/atoms/grid.d.ts +65 -0
  66. package/dist/components/atoms/grid.d.ts.map +1 -0
  67. package/dist/components/atoms/grid.js +169 -0
  68. package/dist/components/atoms/grid.js.map +1 -0
  69. package/dist/components/atoms/header.d.ts +7 -0
  70. package/dist/components/atoms/header.d.ts.map +1 -0
  71. package/dist/components/atoms/header.js +5 -0
  72. package/dist/components/atoms/header.js.map +1 -0
  73. package/dist/components/atoms/icon-button.d.ts +26 -0
  74. package/dist/components/atoms/icon-button.d.ts.map +1 -0
  75. package/dist/components/atoms/icon-button.js +39 -0
  76. package/dist/components/atoms/icon-button.js.map +1 -0
  77. package/dist/components/atoms/icons/icons.d.ts +2 -0
  78. package/dist/components/atoms/icons/icons.d.ts.map +1 -0
  79. package/dist/components/atoms/icons/icons.js +7 -0
  80. package/dist/components/atoms/icons/icons.js.map +1 -0
  81. package/dist/components/atoms/icons/index.d.ts +3 -0
  82. package/dist/components/atoms/icons/index.d.ts.map +1 -0
  83. package/dist/components/atoms/icons/index.js +3 -0
  84. package/dist/components/atoms/icons/index.js.map +1 -0
  85. package/dist/components/atoms/mapping-boolean.d.ts +31 -0
  86. package/dist/components/atoms/mapping-boolean.d.ts.map +1 -0
  87. package/dist/components/atoms/mapping-boolean.js +38 -0
  88. package/dist/components/atoms/mapping-boolean.js.map +1 -0
  89. package/dist/components/atoms/mapping-breadcrumb.d.ts +14 -0
  90. package/dist/components/atoms/mapping-breadcrumb.d.ts.map +1 -0
  91. package/dist/components/atoms/mapping-breadcrumb.js +10 -0
  92. package/dist/components/atoms/mapping-breadcrumb.js.map +1 -0
  93. package/dist/components/atoms/mapping-collapsible.d.ts +54 -0
  94. package/dist/components/atoms/mapping-collapsible.d.ts.map +1 -0
  95. package/dist/components/atoms/mapping-collapsible.js +87 -0
  96. package/dist/components/atoms/mapping-collapsible.js.map +1 -0
  97. package/dist/components/atoms/mapping-condition-field.d.ts +18 -0
  98. package/dist/components/atoms/mapping-condition-field.d.ts.map +1 -0
  99. package/dist/components/atoms/mapping-condition-field.js +34 -0
  100. package/dist/components/atoms/mapping-condition-field.js.map +1 -0
  101. package/dist/components/atoms/mapping-condition.d.ts +34 -0
  102. package/dist/components/atoms/mapping-condition.d.ts.map +1 -0
  103. package/dist/components/atoms/mapping-condition.js +70 -0
  104. package/dist/components/atoms/mapping-condition.js.map +1 -0
  105. package/dist/components/atoms/mapping-confirm-button.d.ts +29 -0
  106. package/dist/components/atoms/mapping-confirm-button.d.ts.map +1 -0
  107. package/dist/components/atoms/mapping-confirm-button.js +42 -0
  108. package/dist/components/atoms/mapping-confirm-button.js.map +1 -0
  109. package/dist/components/atoms/mapping-consent-field.d.ts +20 -0
  110. package/dist/components/atoms/mapping-consent-field.d.ts.map +1 -0
  111. package/dist/components/atoms/mapping-consent-field.js +36 -0
  112. package/dist/components/atoms/mapping-consent-field.js.map +1 -0
  113. package/dist/components/atoms/mapping-consent.d.ts +34 -0
  114. package/dist/components/atoms/mapping-consent.d.ts.map +1 -0
  115. package/dist/components/atoms/mapping-consent.js +86 -0
  116. package/dist/components/atoms/mapping-consent.js.map +1 -0
  117. package/dist/components/atoms/mapping-data-field.d.ts +23 -0
  118. package/dist/components/atoms/mapping-data-field.d.ts.map +1 -0
  119. package/dist/components/atoms/mapping-data-field.js +38 -0
  120. package/dist/components/atoms/mapping-data-field.js.map +1 -0
  121. package/dist/components/atoms/mapping-data.d.ts +34 -0
  122. package/dist/components/atoms/mapping-data.d.ts.map +1 -0
  123. package/dist/components/atoms/mapping-data.js +76 -0
  124. package/dist/components/atoms/mapping-data.js.map +1 -0
  125. package/dist/components/atoms/mapping-enum-select.d.ts +28 -0
  126. package/dist/components/atoms/mapping-enum-select.d.ts.map +1 -0
  127. package/dist/components/atoms/mapping-enum-select.js +142 -0
  128. package/dist/components/atoms/mapping-enum-select.js.map +1 -0
  129. package/dist/components/atoms/mapping-fn-field.d.ts +23 -0
  130. package/dist/components/atoms/mapping-fn-field.d.ts.map +1 -0
  131. package/dist/components/atoms/mapping-fn-field.js +38 -0
  132. package/dist/components/atoms/mapping-fn-field.js.map +1 -0
  133. package/dist/components/atoms/mapping-fn.d.ts +34 -0
  134. package/dist/components/atoms/mapping-fn.d.ts.map +1 -0
  135. package/dist/components/atoms/mapping-fn.js +70 -0
  136. package/dist/components/atoms/mapping-fn.js.map +1 -0
  137. package/dist/components/atoms/mapping-grid.d.ts +45 -0
  138. package/dist/components/atoms/mapping-grid.d.ts.map +1 -0
  139. package/dist/components/atoms/mapping-grid.js +83 -0
  140. package/dist/components/atoms/mapping-grid.js.map +1 -0
  141. package/dist/components/atoms/mapping-input-with-button.d.ts +54 -0
  142. package/dist/components/atoms/mapping-input-with-button.d.ts.map +1 -0
  143. package/dist/components/atoms/mapping-input-with-button.js +54 -0
  144. package/dist/components/atoms/mapping-input-with-button.js.map +1 -0
  145. package/dist/components/atoms/mapping-input.d.ts +44 -0
  146. package/dist/components/atoms/mapping-input.d.ts.map +1 -0
  147. package/dist/components/atoms/mapping-input.js +35 -0
  148. package/dist/components/atoms/mapping-input.js.map +1 -0
  149. package/dist/components/atoms/mapping-key-field.d.ts +23 -0
  150. package/dist/components/atoms/mapping-key-field.d.ts.map +1 -0
  151. package/dist/components/atoms/mapping-key-field.js +39 -0
  152. package/dist/components/atoms/mapping-key-field.js.map +1 -0
  153. package/dist/components/atoms/mapping-key.d.ts +35 -0
  154. package/dist/components/atoms/mapping-key.d.ts.map +1 -0
  155. package/dist/components/atoms/mapping-key.js +48 -0
  156. package/dist/components/atoms/mapping-key.js.map +1 -0
  157. package/dist/components/atoms/mapping-map-entry.d.ts +31 -0
  158. package/dist/components/atoms/mapping-map-entry.d.ts.map +1 -0
  159. package/dist/components/atoms/mapping-map-entry.js +68 -0
  160. package/dist/components/atoms/mapping-map-entry.js.map +1 -0
  161. package/dist/components/atoms/mapping-number.d.ts +32 -0
  162. package/dist/components/atoms/mapping-number.d.ts.map +1 -0
  163. package/dist/components/atoms/mapping-number.js +52 -0
  164. package/dist/components/atoms/mapping-number.js.map +1 -0
  165. package/dist/components/atoms/mapping-object-explorer-field.d.ts +30 -0
  166. package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +1 -0
  167. package/dist/components/atoms/mapping-object-explorer-field.js +48 -0
  168. package/dist/components/atoms/mapping-object-explorer-field.js.map +1 -0
  169. package/dist/components/atoms/mapping-object-explorer.d.ts +59 -0
  170. package/dist/components/atoms/mapping-object-explorer.d.ts.map +1 -0
  171. package/dist/components/atoms/mapping-object-explorer.js +215 -0
  172. package/dist/components/atoms/mapping-object-explorer.js.map +1 -0
  173. package/dist/components/atoms/mapping-set-entry.d.ts +31 -0
  174. package/dist/components/atoms/mapping-set-entry.d.ts.map +1 -0
  175. package/dist/components/atoms/mapping-set-entry.js +66 -0
  176. package/dist/components/atoms/mapping-set-entry.js.map +1 -0
  177. package/dist/components/atoms/mapping-settings-field.d.ts +33 -0
  178. package/dist/components/atoms/mapping-settings-field.d.ts.map +1 -0
  179. package/dist/components/atoms/mapping-settings-field.js +48 -0
  180. package/dist/components/atoms/mapping-settings-field.js.map +1 -0
  181. package/dist/components/atoms/mapping-settings.d.ts +44 -0
  182. package/dist/components/atoms/mapping-settings.d.ts.map +1 -0
  183. package/dist/components/atoms/mapping-settings.js +108 -0
  184. package/dist/components/atoms/mapping-settings.js.map +1 -0
  185. package/dist/components/atoms/mapping-string.d.ts +19 -0
  186. package/dist/components/atoms/mapping-string.d.ts.map +1 -0
  187. package/dist/components/atoms/mapping-string.js +26 -0
  188. package/dist/components/atoms/mapping-string.js.map +1 -0
  189. package/dist/components/atoms/mapping-tab.d.ts +15 -0
  190. package/dist/components/atoms/mapping-tab.d.ts.map +1 -0
  191. package/dist/components/atoms/mapping-tab.js +8 -0
  192. package/dist/components/atoms/mapping-tab.js.map +1 -0
  193. package/dist/components/atoms/mapping-type-button.d.ts +19 -0
  194. package/dist/components/atoms/mapping-type-button.d.ts.map +1 -0
  195. package/dist/components/atoms/mapping-type-button.js +5 -0
  196. package/dist/components/atoms/mapping-type-button.js.map +1 -0
  197. package/dist/components/atoms/mapping-validate-field.d.ts +23 -0
  198. package/dist/components/atoms/mapping-validate-field.d.ts.map +1 -0
  199. package/dist/components/atoms/mapping-validate-field.js +38 -0
  200. package/dist/components/atoms/mapping-validate-field.js.map +1 -0
  201. package/dist/components/atoms/mapping-validate.d.ts +34 -0
  202. package/dist/components/atoms/mapping-validate.d.ts.map +1 -0
  203. package/dist/components/atoms/mapping-validate.js +68 -0
  204. package/dist/components/atoms/mapping-validate.js.map +1 -0
  205. package/dist/components/atoms/mapping-value.d.ts +17 -0
  206. package/dist/components/atoms/mapping-value.d.ts.map +1 -0
  207. package/dist/components/atoms/mapping-value.js +127 -0
  208. package/dist/components/atoms/mapping-value.js.map +1 -0
  209. package/dist/components/atoms/mdx-code.d.ts +33 -0
  210. package/dist/components/atoms/mdx-code.d.ts.map +1 -0
  211. package/dist/components/atoms/mdx-code.js +69 -0
  212. package/dist/components/atoms/mdx-code.js.map +1 -0
  213. package/dist/components/atoms/pane-header.d.ts +24 -0
  214. package/dist/components/atoms/pane-header.d.ts.map +1 -0
  215. package/dist/components/atoms/pane-header.js +5 -0
  216. package/dist/components/atoms/pane-header.js.map +1 -0
  217. package/dist/components/atoms/panel-hints.d.ts +35 -0
  218. package/dist/components/atoms/panel-hints.d.ts.map +1 -0
  219. package/dist/components/atoms/panel-hints.js +5 -0
  220. package/dist/components/atoms/panel-hints.js.map +1 -0
  221. package/dist/components/atoms/preview-footer.d.ts +32 -0
  222. package/dist/components/atoms/preview-footer.d.ts.map +1 -0
  223. package/dist/components/atoms/preview-footer.js +31 -0
  224. package/dist/components/atoms/preview-footer.js.map +1 -0
  225. package/dist/components/atoms/toggle.d.ts +9 -0
  226. package/dist/components/atoms/toggle.d.ts.map +1 -0
  227. package/dist/components/atoms/toggle.js +6 -0
  228. package/dist/components/atoms/toggle.js.map +1 -0
  229. package/dist/components/demos/DestinationDemo.d.ts +48 -0
  230. package/dist/components/demos/DestinationDemo.d.ts.map +1 -0
  231. package/dist/components/demos/DestinationDemo.js +105 -0
  232. package/dist/components/demos/DestinationDemo.js.map +1 -0
  233. package/dist/components/demos/DestinationDemo.stories.d.ts +17 -0
  234. package/dist/components/demos/DestinationDemo.stories.d.ts.map +1 -0
  235. package/dist/components/demos/DestinationDemo.stories.js +53 -0
  236. package/dist/components/demos/DestinationDemo.stories.js.map +1 -0
  237. package/dist/components/demos/DestinationInitDemo.d.ts +34 -0
  238. package/dist/components/demos/DestinationInitDemo.d.ts.map +1 -0
  239. package/dist/components/demos/DestinationInitDemo.js +73 -0
  240. package/dist/components/demos/DestinationInitDemo.js.map +1 -0
  241. package/dist/components/demos/DestinationInitDemo.stories.d.ts +17 -0
  242. package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +1 -0
  243. package/dist/components/demos/DestinationInitDemo.stories.js +39 -0
  244. package/dist/components/demos/DestinationInitDemo.stories.js.map +1 -0
  245. package/dist/components/demos/MappingCode.d.ts +34 -0
  246. package/dist/components/demos/MappingCode.d.ts.map +1 -0
  247. package/dist/components/demos/MappingCode.js +54 -0
  248. package/dist/components/demos/MappingCode.js.map +1 -0
  249. package/dist/components/demos/MappingCode.stories.d.ts +16 -0
  250. package/dist/components/demos/MappingCode.stories.d.ts.map +1 -0
  251. package/dist/components/demos/MappingCode.stories.js +42 -0
  252. package/dist/components/demos/MappingCode.stories.js.map +1 -0
  253. package/dist/components/demos/MappingDemo.d.ts +41 -0
  254. package/dist/components/demos/MappingDemo.d.ts.map +1 -0
  255. package/dist/components/demos/MappingDemo.js +62 -0
  256. package/dist/components/demos/MappingDemo.js.map +1 -0
  257. package/dist/components/demos/MappingDemo.stories.d.ts +16 -0
  258. package/dist/components/demos/MappingDemo.stories.d.ts.map +1 -0
  259. package/dist/components/demos/MappingDemo.stories.js +63 -0
  260. package/dist/components/demos/MappingDemo.stories.js.map +1 -0
  261. package/dist/components/demos/PromotionPlayground.d.ts +25 -0
  262. package/dist/components/demos/PromotionPlayground.d.ts.map +1 -0
  263. package/dist/components/demos/PromotionPlayground.js +280 -0
  264. package/dist/components/demos/PromotionPlayground.js.map +1 -0
  265. package/dist/components/demos/PromotionPlayground.stories.d.ts +27 -0
  266. package/dist/components/demos/PromotionPlayground.stories.d.ts.map +1 -0
  267. package/dist/components/demos/PromotionPlayground.stories.js +32 -0
  268. package/dist/components/demos/PromotionPlayground.stories.js.map +1 -0
  269. package/dist/components/forms/field-registry.d.ts +42 -0
  270. package/dist/components/forms/field-registry.d.ts.map +1 -0
  271. package/dist/components/forms/field-registry.js +64 -0
  272. package/dist/components/forms/field-registry.js.map +1 -0
  273. package/dist/components/forms/mapping-form-wrapper.d.ts +14 -0
  274. package/dist/components/forms/mapping-form-wrapper.d.ts.map +1 -0
  275. package/dist/components/forms/mapping-form-wrapper.js +105 -0
  276. package/dist/components/forms/mapping-form-wrapper.js.map +1 -0
  277. package/dist/components/forms/widget-registry.d.ts +42 -0
  278. package/dist/components/forms/widget-registry.d.ts.map +1 -0
  279. package/dist/components/forms/widget-registry.js +54 -0
  280. package/dist/components/forms/widget-registry.js.map +1 -0
  281. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +24 -0
  282. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +1 -0
  283. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +10 -0
  284. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -0
  285. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +7 -0
  286. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +1 -0
  287. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +71 -0
  288. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -0
  289. package/dist/components/molecules/architecture-flow/index.d.ts +3 -0
  290. package/dist/components/molecules/architecture-flow/index.d.ts.map +1 -0
  291. package/dist/components/molecules/architecture-flow/index.js +2 -0
  292. package/dist/components/molecules/architecture-flow/index.js.map +1 -0
  293. package/dist/components/molecules/auto-select.d.ts +29 -0
  294. package/dist/components/molecules/auto-select.d.ts.map +1 -0
  295. package/dist/components/molecules/auto-select.js +188 -0
  296. package/dist/components/molecules/auto-select.js.map +1 -0
  297. package/dist/components/molecules/code-box.d.ts +69 -0
  298. package/dist/components/molecules/code-box.d.ts.map +1 -0
  299. package/dist/components/molecules/code-box.js +109 -0
  300. package/dist/components/molecules/code-box.js.map +1 -0
  301. package/dist/components/molecules/code-box.stories.d.ts +30 -0
  302. package/dist/components/molecules/code-box.stories.d.ts.map +1 -0
  303. package/dist/components/molecules/code-box.stories.js +127 -0
  304. package/dist/components/molecules/code-box.stories.js.map +1 -0
  305. package/dist/components/molecules/code-snippet.d.ts +58 -0
  306. package/dist/components/molecules/code-snippet.d.ts.map +1 -0
  307. package/dist/components/molecules/code-snippet.js +72 -0
  308. package/dist/components/molecules/code-snippet.js.map +1 -0
  309. package/dist/components/molecules/code-snippet.stories.d.ts +20 -0
  310. package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -0
  311. package/dist/components/molecules/code-snippet.stories.js +68 -0
  312. package/dist/components/molecules/code-snippet.stories.js.map +1 -0
  313. package/dist/components/molecules/config-overview-pane.d.ts +44 -0
  314. package/dist/components/molecules/config-overview-pane.d.ts.map +1 -0
  315. package/dist/components/molecules/config-overview-pane.js +75 -0
  316. package/dist/components/molecules/config-overview-pane.js.map +1 -0
  317. package/dist/components/molecules/config-tree-sidebar.d.ts +46 -0
  318. package/dist/components/molecules/config-tree-sidebar.d.ts.map +1 -0
  319. package/dist/components/molecules/config-tree-sidebar.js +183 -0
  320. package/dist/components/molecules/config-tree-sidebar.js.map +1 -0
  321. package/dist/components/molecules/destination-config-overview-pane.d.ts +33 -0
  322. package/dist/components/molecules/destination-config-overview-pane.d.ts.map +1 -0
  323. package/dist/components/molecules/destination-config-overview-pane.js +153 -0
  324. package/dist/components/molecules/destination-config-overview-pane.js.map +1 -0
  325. package/dist/components/molecules/flow-map/FlowMap.d.ts +74 -0
  326. package/dist/components/molecules/flow-map/FlowMap.d.ts.map +1 -0
  327. package/dist/components/molecules/flow-map/FlowMap.js +1028 -0
  328. package/dist/components/molecules/flow-map/FlowMap.js.map +1 -0
  329. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +73 -0
  330. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -0
  331. package/dist/components/molecules/flow-map/FlowMap.stories.js +587 -0
  332. package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -0
  333. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +45 -0
  334. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -0
  335. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +195 -0
  336. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -0
  337. package/dist/components/molecules/flow-map/index.d.ts +3 -0
  338. package/dist/components/molecules/flow-map/index.d.ts.map +1 -0
  339. package/dist/components/molecules/flow-map/index.js +2 -0
  340. package/dist/components/molecules/flow-map/index.js.map +1 -0
  341. package/dist/components/molecules/mapping-batch-pane-view.d.ts +22 -0
  342. package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +1 -0
  343. package/dist/components/molecules/mapping-batch-pane-view.js +45 -0
  344. package/dist/components/molecules/mapping-batch-pane-view.js.map +1 -0
  345. package/dist/components/molecules/mapping-boolean-pane-view.d.ts +28 -0
  346. package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +1 -0
  347. package/dist/components/molecules/mapping-boolean-pane-view.js +34 -0
  348. package/dist/components/molecules/mapping-boolean-pane-view.js.map +1 -0
  349. package/dist/components/molecules/mapping-condition-pane-view.d.ts +18 -0
  350. package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +1 -0
  351. package/dist/components/molecules/mapping-condition-pane-view.js +63 -0
  352. package/dist/components/molecules/mapping-condition-pane-view.js.map +1 -0
  353. package/dist/components/molecules/mapping-consent-pane-view.d.ts +16 -0
  354. package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +1 -0
  355. package/dist/components/molecules/mapping-consent-pane-view.js +65 -0
  356. package/dist/components/molecules/mapping-consent-pane-view.js.map +1 -0
  357. package/dist/components/molecules/mapping-consent-row.d.ts +29 -0
  358. package/dist/components/molecules/mapping-consent-row.d.ts.map +1 -0
  359. package/dist/components/molecules/mapping-consent-row.js +26 -0
  360. package/dist/components/molecules/mapping-consent-row.js.map +1 -0
  361. package/dist/components/molecules/mapping-entity-pane.d.ts +17 -0
  362. package/dist/components/molecules/mapping-entity-pane.d.ts.map +1 -0
  363. package/dist/components/molecules/mapping-entity-pane.js +68 -0
  364. package/dist/components/molecules/mapping-entity-pane.js.map +1 -0
  365. package/dist/components/molecules/mapping-enum-pane-view.d.ts +40 -0
  366. package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +1 -0
  367. package/dist/components/molecules/mapping-enum-pane-view.js +32 -0
  368. package/dist/components/molecules/mapping-enum-pane-view.js.map +1 -0
  369. package/dist/components/molecules/mapping-fn-pane-view.d.ts +18 -0
  370. package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +1 -0
  371. package/dist/components/molecules/mapping-fn-pane-view.js +77 -0
  372. package/dist/components/molecules/mapping-fn-pane-view.js.map +1 -0
  373. package/dist/components/molecules/mapping-function-pane-base.d.ts +53 -0
  374. package/dist/components/molecules/mapping-function-pane-base.d.ts.map +1 -0
  375. package/dist/components/molecules/mapping-function-pane-base.js +60 -0
  376. package/dist/components/molecules/mapping-function-pane-base.js.map +1 -0
  377. package/dist/components/molecules/mapping-key-pane-view.d.ts +23 -0
  378. package/dist/components/molecules/mapping-key-pane-view.d.ts.map +1 -0
  379. package/dist/components/molecules/mapping-key-pane-view.js +12 -0
  380. package/dist/components/molecules/mapping-key-pane-view.js.map +1 -0
  381. package/dist/components/molecules/mapping-loop-field.d.ts +44 -0
  382. package/dist/components/molecules/mapping-loop-field.d.ts.map +1 -0
  383. package/dist/components/molecules/mapping-loop-field.js +133 -0
  384. package/dist/components/molecules/mapping-loop-field.js.map +1 -0
  385. package/dist/components/molecules/mapping-loop-pane-view.d.ts +28 -0
  386. package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +1 -0
  387. package/dist/components/molecules/mapping-loop-pane-view.js +44 -0
  388. package/dist/components/molecules/mapping-loop-pane-view.js.map +1 -0
  389. package/dist/components/molecules/mapping-map-field.d.ts +31 -0
  390. package/dist/components/molecules/mapping-map-field.d.ts.map +1 -0
  391. package/dist/components/molecules/mapping-map-field.js +120 -0
  392. package/dist/components/molecules/mapping-map-field.js.map +1 -0
  393. package/dist/components/molecules/mapping-map-overview.d.ts +13 -0
  394. package/dist/components/molecules/mapping-map-overview.d.ts.map +1 -0
  395. package/dist/components/molecules/mapping-map-overview.js +58 -0
  396. package/dist/components/molecules/mapping-map-overview.js.map +1 -0
  397. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +53 -0
  398. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +1 -0
  399. package/dist/components/molecules/mapping-map-pane-view-rjsf.js +127 -0
  400. package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +1 -0
  401. package/dist/components/molecules/mapping-name-pane-view.d.ts +22 -0
  402. package/dist/components/molecules/mapping-name-pane-view.d.ts.map +1 -0
  403. package/dist/components/molecules/mapping-name-pane-view.js +38 -0
  404. package/dist/components/molecules/mapping-name-pane-view.js.map +1 -0
  405. package/dist/components/molecules/mapping-navigation-header.d.ts +27 -0
  406. package/dist/components/molecules/mapping-navigation-header.d.ts.map +1 -0
  407. package/dist/components/molecules/mapping-navigation-header.js +7 -0
  408. package/dist/components/molecules/mapping-navigation-header.js.map +1 -0
  409. package/dist/components/molecules/mapping-overview-pane.d.ts +14 -0
  410. package/dist/components/molecules/mapping-overview-pane.d.ts.map +1 -0
  411. package/dist/components/molecules/mapping-overview-pane.js +60 -0
  412. package/dist/components/molecules/mapping-overview-pane.js.map +1 -0
  413. package/dist/components/molecules/mapping-pane.d.ts +52 -0
  414. package/dist/components/molecules/mapping-pane.d.ts.map +1 -0
  415. package/dist/components/molecules/mapping-pane.js +155 -0
  416. package/dist/components/molecules/mapping-pane.js.map +1 -0
  417. package/dist/components/molecules/mapping-policy-overview-pane.d.ts +26 -0
  418. package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +1 -0
  419. package/dist/components/molecules/mapping-policy-overview-pane.js +69 -0
  420. package/dist/components/molecules/mapping-policy-overview-pane.js.map +1 -0
  421. package/dist/components/molecules/mapping-primitive-pane-view.d.ts +30 -0
  422. package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +1 -0
  423. package/dist/components/molecules/mapping-primitive-pane-view.js +43 -0
  424. package/dist/components/molecules/mapping-primitive-pane-view.js.map +1 -0
  425. package/dist/components/molecules/mapping-rule-pane-view.d.ts +25 -0
  426. package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +1 -0
  427. package/dist/components/molecules/mapping-rule-pane-view.js +35 -0
  428. package/dist/components/molecules/mapping-rule-pane-view.js.map +1 -0
  429. package/dist/components/molecules/mapping-set-field.d.ts +34 -0
  430. package/dist/components/molecules/mapping-set-field.d.ts.map +1 -0
  431. package/dist/components/molecules/mapping-set-field.js +160 -0
  432. package/dist/components/molecules/mapping-set-field.js.map +1 -0
  433. package/dist/components/molecules/mapping-set-pane-view.d.ts +31 -0
  434. package/dist/components/molecules/mapping-set-pane-view.d.ts.map +1 -0
  435. package/dist/components/molecules/mapping-set-pane-view.js +96 -0
  436. package/dist/components/molecules/mapping-set-pane-view.js.map +1 -0
  437. package/dist/components/molecules/mapping-tab-bar.d.ts +15 -0
  438. package/dist/components/molecules/mapping-tab-bar.d.ts.map +1 -0
  439. package/dist/components/molecules/mapping-tab-bar.js +9 -0
  440. package/dist/components/molecules/mapping-tab-bar.js.map +1 -0
  441. package/dist/components/molecules/mapping-tree-sidebar.d.ts +59 -0
  442. package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +1 -0
  443. package/dist/components/molecules/mapping-tree-sidebar.js +491 -0
  444. package/dist/components/molecules/mapping-tree-sidebar.js.map +1 -0
  445. package/dist/components/molecules/mapping-type-grid.d.ts +12 -0
  446. package/dist/components/molecules/mapping-type-grid.d.ts.map +1 -0
  447. package/dist/components/molecules/mapping-type-grid.js +107 -0
  448. package/dist/components/molecules/mapping-type-grid.js.map +1 -0
  449. package/dist/components/molecules/mapping-type-selector.d.ts +21 -0
  450. package/dist/components/molecules/mapping-type-selector.d.ts.map +1 -0
  451. package/dist/components/molecules/mapping-type-selector.js +38 -0
  452. package/dist/components/molecules/mapping-type-selector.js.map +1 -0
  453. package/dist/components/molecules/mapping-validate-pane-view.d.ts +19 -0
  454. package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +1 -0
  455. package/dist/components/molecules/mapping-validate-pane-view.js +66 -0
  456. package/dist/components/molecules/mapping-validate-pane-view.js.map +1 -0
  457. package/dist/components/molecules/mapping-value-config-pane-view.d.ts +30 -0
  458. package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +1 -0
  459. package/dist/components/molecules/mapping-value-config-pane-view.js +105 -0
  460. package/dist/components/molecules/mapping-value-config-pane-view.js.map +1 -0
  461. package/dist/components/molecules/mapping-value-pane-view.d.ts +28 -0
  462. package/dist/components/molecules/mapping-value-pane-view.d.ts.map +1 -0
  463. package/dist/components/molecules/mapping-value-pane-view.js +40 -0
  464. package/dist/components/molecules/mapping-value-pane-view.js.map +1 -0
  465. package/dist/components/molecules/mapping-value-type-pane-view.d.ts +27 -0
  466. package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +1 -0
  467. package/dist/components/molecules/mapping-value-type-pane-view.js +253 -0
  468. package/dist/components/molecules/mapping-value-type-pane-view.js.map +1 -0
  469. package/dist/components/molecules/options-pane.d.ts +28 -0
  470. package/dist/components/molecules/options-pane.d.ts.map +1 -0
  471. package/dist/components/molecules/options-pane.js +80 -0
  472. package/dist/components/molecules/options-pane.js.map +1 -0
  473. package/dist/components/molecules/preview.d.ts +22 -0
  474. package/dist/components/molecules/preview.d.ts.map +1 -0
  475. package/dist/components/molecules/preview.js +221 -0
  476. package/dist/components/molecules/preview.js.map +1 -0
  477. package/dist/components/molecules/preview.stories.d.ts +23 -0
  478. package/dist/components/molecules/preview.stories.d.ts.map +1 -0
  479. package/dist/components/molecules/preview.stories.js +186 -0
  480. package/dist/components/molecules/preview.stories.js.map +1 -0
  481. package/dist/components/molecules/property-suggestions.d.ts +17 -0
  482. package/dist/components/molecules/property-suggestions.d.ts.map +1 -0
  483. package/dist/components/molecules/property-suggestions.js +56 -0
  484. package/dist/components/molecules/property-suggestions.js.map +1 -0
  485. package/dist/components/molecules/property-table.d.ts +7 -0
  486. package/dist/components/molecules/property-table.d.ts.map +1 -0
  487. package/dist/components/molecules/property-table.js +88 -0
  488. package/dist/components/molecules/property-table.js.map +1 -0
  489. package/dist/components/molecules/property-table.stories.d.ts +24 -0
  490. package/dist/components/molecules/property-table.stories.d.ts.map +1 -0
  491. package/dist/components/molecules/property-table.stories.js +86 -0
  492. package/dist/components/molecules/property-table.stories.js.map +1 -0
  493. package/dist/components/molecules/settings-overview-pane.d.ts +32 -0
  494. package/dist/components/molecules/settings-overview-pane.d.ts.map +1 -0
  495. package/dist/components/molecules/settings-overview-pane.js +85 -0
  496. package/dist/components/molecules/settings-overview-pane.js.map +1 -0
  497. package/dist/components/molecules/validation-overview-pane.d.ts +27 -0
  498. package/dist/components/molecules/validation-overview-pane.d.ts.map +1 -0
  499. package/dist/components/molecules/validation-overview-pane.js +50 -0
  500. package/dist/components/molecules/validation-overview-pane.js.map +1 -0
  501. package/dist/components/organisms/browser-box.d.ts +31 -0
  502. package/dist/components/organisms/browser-box.d.ts.map +1 -0
  503. package/dist/components/organisms/browser-box.js +80 -0
  504. package/dist/components/organisms/browser-box.js.map +1 -0
  505. package/dist/components/organisms/browser-box.stories.d.ts +26 -0
  506. package/dist/components/organisms/browser-box.stories.d.ts.map +1 -0
  507. package/dist/components/organisms/browser-box.stories.js +102 -0
  508. package/dist/components/organisms/browser-box.stories.js.map +1 -0
  509. package/dist/components/organisms/collector-box.d.ts +24 -0
  510. package/dist/components/organisms/collector-box.d.ts.map +1 -0
  511. package/dist/components/organisms/collector-box.js +56 -0
  512. package/dist/components/organisms/collector-box.js.map +1 -0
  513. package/dist/components/organisms/collector-box.stories.d.ts +22 -0
  514. package/dist/components/organisms/collector-box.stories.d.ts.map +1 -0
  515. package/dist/components/organisms/collector-box.stories.js +59 -0
  516. package/dist/components/organisms/collector-box.stories.js.map +1 -0
  517. package/dist/components/organisms/config-editor/config-editor-box.d.ts +35 -0
  518. package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +1 -0
  519. package/dist/components/organisms/config-editor/config-editor-box.js +50 -0
  520. package/dist/components/organisms/config-editor/config-editor-box.js.map +1 -0
  521. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +52 -0
  522. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +1 -0
  523. package/dist/components/organisms/config-editor/config-editor-tabs.js +127 -0
  524. package/dist/components/organisms/config-editor/config-editor-tabs.js.map +1 -0
  525. package/dist/components/organisms/config-editor/config-editor.d.ts +47 -0
  526. package/dist/components/organisms/config-editor/config-editor.d.ts.map +1 -0
  527. package/dist/components/organisms/config-editor/config-editor.js +50 -0
  528. package/dist/components/organisms/config-editor/config-editor.js.map +1 -0
  529. package/dist/components/organisms/config-editor/config-editor.stories.d.ts +25 -0
  530. package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +1 -0
  531. package/dist/components/organisms/config-editor/config-editor.stories.js +77 -0
  532. package/dist/components/organisms/config-editor/config-editor.stories.js.map +1 -0
  533. package/dist/components/organisms/config-editor/index.d.ts +22 -0
  534. package/dist/components/organisms/config-editor/index.d.ts.map +1 -0
  535. package/dist/components/organisms/config-editor/index.js +20 -0
  536. package/dist/components/organisms/config-editor/index.js.map +1 -0
  537. package/dist/components/organisms/live-code.d.ts +22 -0
  538. package/dist/components/organisms/live-code.d.ts.map +1 -0
  539. package/dist/components/organisms/live-code.js +50 -0
  540. package/dist/components/organisms/live-code.js.map +1 -0
  541. package/dist/components/organisms/live-code.stories.d.ts +24 -0
  542. package/dist/components/organisms/live-code.stories.d.ts.map +1 -0
  543. package/dist/components/organisms/live-code.stories.js +55 -0
  544. package/dist/components/organisms/live-code.stories.js.map +1 -0
  545. package/dist/components/ui/button.d.ts +4 -0
  546. package/dist/components/ui/button.d.ts.map +1 -0
  547. package/dist/components/ui/button.js +6 -0
  548. package/dist/components/ui/button.js.map +1 -0
  549. package/dist/components/ui/icon.d.ts +5 -0
  550. package/dist/components/ui/icon.d.ts.map +1 -0
  551. package/dist/components/ui/icon.js +5 -0
  552. package/dist/components/ui/icon.js.map +1 -0
  553. package/dist/components/ui/label.d.ts +5 -0
  554. package/dist/components/ui/label.d.ts.map +1 -0
  555. package/dist/components/ui/label.js +5 -0
  556. package/dist/components/ui/label.js.map +1 -0
  557. package/dist/contexts/GridHeightContext.d.ts +11 -0
  558. package/dist/contexts/GridHeightContext.d.ts.map +1 -0
  559. package/dist/contexts/GridHeightContext.js +14 -0
  560. package/dist/contexts/GridHeightContext.js.map +1 -0
  561. package/dist/helpers/capture.d.ts +83 -0
  562. package/dist/helpers/capture.d.ts.map +1 -0
  563. package/dist/helpers/capture.js +125 -0
  564. package/dist/helpers/capture.js.map +1 -0
  565. package/dist/helpers/destinations.d.ts +21 -0
  566. package/dist/helpers/destinations.d.ts.map +1 -0
  567. package/dist/helpers/destinations.js +46 -0
  568. package/dist/helpers/destinations.js.map +1 -0
  569. package/dist/hooks/useMappingNavigation.d.ts +62 -0
  570. package/dist/hooks/useMappingNavigation.d.ts.map +1 -0
  571. package/dist/hooks/useMappingNavigation.js +339 -0
  572. package/dist/hooks/useMappingNavigation.js.map +1 -0
  573. package/dist/hooks/useMappingState.d.ts +56 -0
  574. package/dist/hooks/useMappingState.d.ts.map +1 -0
  575. package/dist/hooks/useMappingState.js +142 -0
  576. package/dist/hooks/useMappingState.js.map +1 -0
  577. package/dist/hooks/useMonacoHeight.d.ts +31 -0
  578. package/dist/hooks/useMonacoHeight.d.ts.map +1 -0
  579. package/dist/hooks/useMonacoHeight.js +83 -0
  580. package/dist/hooks/useMonacoHeight.js.map +1 -0
  581. package/dist/hooks/useTreeState.d.ts +32 -0
  582. package/dist/hooks/useTreeState.d.ts.map +1 -0
  583. package/dist/hooks/useTreeState.js +94 -0
  584. package/dist/hooks/useTreeState.js.map +1 -0
  585. package/dist/index.d.cts +152 -33
  586. package/dist/index.d.ts +65 -1265
  587. package/dist/index.d.ts.map +1 -0
  588. package/dist/index.js +49 -14046
  589. package/dist/index.js.map +1 -1
  590. package/dist/index.mjs +4759 -1375
  591. package/dist/index.mjs.map +1 -1
  592. package/dist/lib/utils.d.ts +7 -0
  593. package/dist/lib/utils.d.ts.map +1 -0
  594. package/dist/lib/utils.js +10 -0
  595. package/dist/lib/utils.js.map +1 -0
  596. package/dist/{monaco-types-GBPMPIMU.mjs → monaco-types-4FIH5OVX.mjs} +2 -2
  597. package/dist/providers/MDXProvider.d.ts +40 -0
  598. package/dist/providers/MDXProvider.d.ts.map +1 -0
  599. package/dist/providers/MDXProvider.js +57 -0
  600. package/dist/providers/MDXProvider.js.map +1 -0
  601. package/dist/schemas/config-structures/destination-config.d.ts +27 -0
  602. package/dist/schemas/config-structures/destination-config.d.ts.map +1 -0
  603. package/dist/schemas/config-structures/destination-config.js +104 -0
  604. package/dist/schemas/config-structures/destination-config.js.map +1 -0
  605. package/dist/schemas/config-structures/index.d.ts +17 -0
  606. package/dist/schemas/config-structures/index.d.ts.map +1 -0
  607. package/dist/schemas/config-structures/index.js +17 -0
  608. package/dist/schemas/config-structures/index.js.map +1 -0
  609. package/dist/schemas/config-structures/mapping-rule.d.ts +17 -0
  610. package/dist/schemas/config-structures/mapping-rule.d.ts.map +1 -0
  611. package/dist/schemas/config-structures/mapping-rule.js +81 -0
  612. package/dist/schemas/config-structures/mapping-rule.js.map +1 -0
  613. package/dist/schemas/config-structures/types.d.ts +62 -0
  614. package/dist/schemas/config-structures/types.d.ts.map +1 -0
  615. package/dist/schemas/config-structures/types.js +2 -0
  616. package/dist/schemas/config-structures/types.js.map +1 -0
  617. package/dist/schemas/mapping-rule-schema.d.ts +25 -0
  618. package/dist/schemas/mapping-rule-schema.d.ts.map +1 -0
  619. package/dist/schemas/mapping-rule-schema.js +86 -0
  620. package/dist/schemas/mapping-rule-schema.js.map +1 -0
  621. package/dist/schemas/rule-properties-schema.d.ts +42 -0
  622. package/dist/schemas/rule-properties-schema.d.ts.map +1 -0
  623. package/dist/schemas/rule-properties-schema.js +79 -0
  624. package/dist/schemas/rule-properties-schema.js.map +1 -0
  625. package/dist/schemas/value-config-schema.d.ts +36 -0
  626. package/dist/schemas/value-config-schema.d.ts.map +1 -0
  627. package/dist/schemas/value-config-schema.js +227 -0
  628. package/dist/schemas/value-config-schema.js.map +1 -0
  629. package/dist/styles.css +317 -0
  630. package/dist/themes/index.d.ts +23 -0
  631. package/dist/themes/index.d.ts.map +1 -0
  632. package/dist/themes/index.js +29 -0
  633. package/dist/themes/index.js.map +1 -0
  634. package/dist/themes/lighthouse.d.ts +26 -0
  635. package/dist/themes/lighthouse.d.ts.map +1 -0
  636. package/dist/themes/lighthouse.js +229 -0
  637. package/dist/themes/lighthouse.js.map +1 -0
  638. package/dist/themes/palenight.d.ts +31 -0
  639. package/dist/themes/palenight.d.ts.map +1 -0
  640. package/dist/themes/palenight.js +235 -0
  641. package/dist/themes/palenight.js.map +1 -0
  642. package/dist/themes/types.d.ts +103 -0
  643. package/dist/themes/types.d.ts.map +1 -0
  644. package/dist/themes/types.js +8 -0
  645. package/dist/themes/types.js.map +1 -0
  646. package/dist/types/schemas.d.ts +29 -0
  647. package/dist/types/schemas.d.ts.map +1 -0
  648. package/dist/types/schemas.js +2 -0
  649. package/dist/types/schemas.js.map +1 -0
  650. package/dist/utils/clean-form-data.d.ts +26 -0
  651. package/dist/utils/clean-form-data.d.ts.map +1 -0
  652. package/dist/utils/clean-form-data.js +76 -0
  653. package/dist/utils/clean-form-data.js.map +1 -0
  654. package/dist/utils/code-normalizer.d.ts +11 -0
  655. package/dist/utils/code-normalizer.d.ts.map +1 -0
  656. package/dist/utils/code-normalizer.js +21 -0
  657. package/dist/utils/code-normalizer.js.map +1 -0
  658. package/dist/utils/config-validator.d.ts +12 -0
  659. package/dist/utils/config-validator.d.ts.map +1 -0
  660. package/dist/utils/config-validator.js +10 -0
  661. package/dist/utils/config-validator.js.map +1 -0
  662. package/dist/utils/consent-scanner.d.ts +19 -0
  663. package/dist/utils/consent-scanner.d.ts.map +1 -0
  664. package/dist/utils/consent-scanner.js +115 -0
  665. package/dist/utils/consent-scanner.js.map +1 -0
  666. package/dist/utils/format-code.d.ts +9 -0
  667. package/dist/utils/format-code.d.ts.map +1 -0
  668. package/dist/utils/format-code.js +68 -0
  669. package/dist/utils/format-code.js.map +1 -0
  670. package/dist/utils/generic-tree-builder.d.ts +37 -0
  671. package/dist/utils/generic-tree-builder.d.ts.map +1 -0
  672. package/dist/utils/generic-tree-builder.js +225 -0
  673. package/dist/utils/generic-tree-builder.js.map +1 -0
  674. package/dist/utils/mapping-path.d.ts +146 -0
  675. package/dist/utils/mapping-path.d.ts.map +1 -0
  676. package/dist/utils/mapping-path.js +271 -0
  677. package/dist/utils/mapping-path.js.map +1 -0
  678. package/dist/utils/monaco-context-types.d.ts +39 -0
  679. package/dist/utils/monaco-context-types.d.ts.map +1 -0
  680. package/dist/utils/monaco-context-types.js +426 -0
  681. package/dist/utils/monaco-context-types.js.map +1 -0
  682. package/dist/utils/monaco-decorators.d.ts +17 -0
  683. package/dist/utils/monaco-decorators.d.ts.map +1 -0
  684. package/dist/utils/monaco-decorators.js +79 -0
  685. package/dist/utils/monaco-decorators.js.map +1 -0
  686. package/dist/utils/monaco-formatters.d.ts +16 -0
  687. package/dist/utils/monaco-formatters.d.ts.map +1 -0
  688. package/dist/utils/monaco-formatters.js +139 -0
  689. package/dist/utils/monaco-formatters.js.map +1 -0
  690. package/dist/utils/monaco-types.d.ts +174 -0
  691. package/dist/utils/monaco-types.d.ts.map +1 -0
  692. package/dist/utils/monaco-types.js +378 -0
  693. package/dist/utils/monaco-types.js.map +1 -0
  694. package/dist/utils/path-analyzer.d.ts +88 -0
  695. package/dist/utils/path-analyzer.d.ts.map +1 -0
  696. package/dist/utils/path-analyzer.js +215 -0
  697. package/dist/utils/path-analyzer.js.map +1 -0
  698. package/dist/utils/schema-validation.d.ts +36 -0
  699. package/dist/utils/schema-validation.d.ts.map +1 -0
  700. package/dist/utils/schema-validation.js +136 -0
  701. package/dist/utils/schema-validation.js.map +1 -0
  702. package/dist/utils/type-detector.d.ts +35 -0
  703. package/dist/utils/type-detector.d.ts.map +1 -0
  704. package/dist/utils/type-detector.js +241 -0
  705. package/dist/utils/type-detector.js.map +1 -0
  706. package/dist/utils/value-display-formatter.d.ts +31 -0
  707. package/dist/utils/value-display-formatter.d.ts.map +1 -0
  708. package/dist/utils/value-display-formatter.js +110 -0
  709. package/dist/utils/value-display-formatter.js.map +1 -0
  710. package/package.json +44 -28
  711. package/dist/chunk-BEAIHYJ5.mjs +0 -587
  712. package/dist/chunk-BEAIHYJ5.mjs.map +0 -1
  713. /package/dist/{monaco-types-GBPMPIMU.mjs.map → monaco-types-4FIH5OVX.mjs.map} +0 -0
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export function MappingBreadcrumb({ segments, onNavigate, className = '', }) {
3
+ return (_jsx("nav", { className: `elb-mapping-breadcrumb ${className}`, "aria-label": "Breadcrumb", children: _jsx("ol", { className: "elb-mapping-breadcrumb-list", children: segments.map((segment, index) => {
4
+ const isLast = index === segments.length - 1;
5
+ const isRoot = segment.nodeType === 'root';
6
+ const isClickable = !isLast || isRoot;
7
+ return (_jsx("li", { className: "elb-mapping-breadcrumb-item", children: isClickable ? (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", className: `elb-mapping-breadcrumb-link ${isRoot ? 'is-root' : ''}`, onClick: () => onNavigate(segment.path), "aria-current": isLast ? 'page' : undefined, children: segment.label }), !isLast && (_jsx("span", { className: "elb-mapping-breadcrumb-separator", "aria-hidden": "true", children: "/" }))] })) : (_jsx("span", { className: "elb-mapping-breadcrumb-current", children: segment.label })) }, segment.path.join('.')));
8
+ }) }) }));
9
+ }
10
+ //# sourceMappingURL=mapping-breadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-breadcrumb.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-breadcrumb.tsx"],"names":[],"mappings":";AAcA,MAAM,UAAU,iBAAiB,CAAC,EAChC,QAAQ,EACR,UAAU,EACV,SAAS,GAAG,EAAE,GACS;IACvB,OAAO,CACL,cACE,SAAS,EAAE,0BAA0B,SAAS,EAAE,gBACrC,YAAY,YAEvB,aAAI,SAAS,EAAC,6BAA6B,YACxC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;gBAC/B,MAAM,MAAM,GAAG,KAAK,KAAK,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;gBAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,KAAK,MAAM,CAAC;gBAC3C,MAAM,WAAW,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC;gBAEtC,OAAO,CACL,aAEE,SAAS,EAAC,6BAA6B,YAEtC,WAAW,CAAC,CAAC,CAAC,CACb,8BACE,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,+BAA+B,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EACnE,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,kBACzB,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,YAExC,OAAO,CAAC,KAAK,GACP,EACR,CAAC,MAAM,IAAI,CACV,eACE,SAAS,EAAC,kCAAkC,iBAChC,MAAM,kBAGb,CACR,IACA,CACJ,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,gCAAgC,YAC7C,OAAO,CAAC,KAAK,GACT,CACR,IA1BI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CA2BxB,CACN,CAAC;YACJ,CAAC,CAAC,GACC,GACD,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ export interface MappingCollapsibleProps {
3
+ title: string;
4
+ description?: string;
5
+ children: React.ReactNode;
6
+ mode?: 'toggle' | 'checkbox';
7
+ defaultExpanded?: boolean;
8
+ isExpanded?: boolean;
9
+ onToggle?: (expanded: boolean) => void;
10
+ checked?: boolean;
11
+ onCheckedChange?: (checked: boolean) => void;
12
+ disabled?: boolean;
13
+ className?: string;
14
+ }
15
+ /**
16
+ * MappingCollapsible - Unified collapsible component with two modes
17
+ *
18
+ * Modes:
19
+ * - 'toggle' (default): Chevron icon that expands/collapses content
20
+ * - 'checkbox': Checkbox that shows/hides content when checked
21
+ *
22
+ * Both modes support:
23
+ * - Two-line label: title + optional description
24
+ * - Controlled or uncontrolled state
25
+ * - Theme-aware styling
26
+ *
27
+ * @example
28
+ * // Toggle mode (consent widget)
29
+ * <MappingCollapsible
30
+ * mode="toggle"
31
+ * title="Consent"
32
+ * description="Required consent states"
33
+ * isExpanded={isExpanded}
34
+ * onToggle={setIsExpanded}
35
+ * >
36
+ * <ConsentRows />
37
+ * </MappingCollapsible>
38
+ *
39
+ * @example
40
+ * // Checkbox mode (condition widget)
41
+ * <MappingCollapsible
42
+ * mode="checkbox"
43
+ * title="Condition"
44
+ * description="Conditionally apply this rule"
45
+ * checked={hasCondition}
46
+ * onCheckedChange={setHasCondition}
47
+ * >
48
+ * <CodeEditor />
49
+ * </MappingCollapsible>
50
+ */
51
+ export declare function MappingCollapsible({ title, description, children, mode, defaultExpanded, isExpanded: controlledExpanded, onToggle, checked, onCheckedChange, disabled, className, }: MappingCollapsibleProps): import("react/jsx-runtime").JSX.Element;
52
+ export declare const CollapsibleSection: typeof MappingCollapsible;
53
+ export declare const MappingCheckboxCollapsible: (props: Omit<MappingCollapsibleProps, "mode">) => import("react/jsx-runtime").JSX.Element;
54
+ //# sourceMappingURL=mapping-collapsible.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-collapsible.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,IAAe,EACf,eAAuB,EACvB,UAAU,EAAE,kBAAkB,EAC9B,QAAQ,EACR,OAAe,EACf,eAAe,EACf,QAAgB,EAChB,SAAc,GACf,EAAE,uBAAuB,2CAyGzB;AAGD,eAAO,MAAM,kBAAkB,2BAAqB,CAAC;AACrD,eAAO,MAAM,0BAA0B,GACrC,OAAO,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,4CACQ,CAAC"}
@@ -0,0 +1,87 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ /**
4
+ * MappingCollapsible - Unified collapsible component with two modes
5
+ *
6
+ * Modes:
7
+ * - 'toggle' (default): Chevron icon that expands/collapses content
8
+ * - 'checkbox': Checkbox that shows/hides content when checked
9
+ *
10
+ * Both modes support:
11
+ * - Two-line label: title + optional description
12
+ * - Controlled or uncontrolled state
13
+ * - Theme-aware styling
14
+ *
15
+ * @example
16
+ * // Toggle mode (consent widget)
17
+ * <MappingCollapsible
18
+ * mode="toggle"
19
+ * title="Consent"
20
+ * description="Required consent states"
21
+ * isExpanded={isExpanded}
22
+ * onToggle={setIsExpanded}
23
+ * >
24
+ * <ConsentRows />
25
+ * </MappingCollapsible>
26
+ *
27
+ * @example
28
+ * // Checkbox mode (condition widget)
29
+ * <MappingCollapsible
30
+ * mode="checkbox"
31
+ * title="Condition"
32
+ * description="Conditionally apply this rule"
33
+ * checked={hasCondition}
34
+ * onCheckedChange={setHasCondition}
35
+ * >
36
+ * <CodeEditor />
37
+ * </MappingCollapsible>
38
+ */
39
+ export function MappingCollapsible({ title, description, children, mode = 'toggle', defaultExpanded = false, isExpanded: controlledExpanded, onToggle, checked = false, onCheckedChange, disabled = false, className = '', }) {
40
+ const [uncontrolledExpanded, setUncontrolledExpanded] = useState(defaultExpanded);
41
+ // Toggle mode state
42
+ const isControlled = controlledExpanded !== undefined;
43
+ const isExpanded = isControlled ? controlledExpanded : uncontrolledExpanded;
44
+ const isOpen = mode === 'toggle' ? isExpanded : checked;
45
+ const handleToggle = () => {
46
+ if (mode === 'toggle') {
47
+ const newExpanded = !isExpanded;
48
+ if (!isControlled) {
49
+ setUncontrolledExpanded(newExpanded);
50
+ }
51
+ onToggle?.(newExpanded);
52
+ }
53
+ else {
54
+ // Checkbox mode
55
+ if (!disabled) {
56
+ onCheckedChange?.(!checked);
57
+ }
58
+ }
59
+ };
60
+ const handleCheckboxChange = (e) => {
61
+ onCheckedChange?.(e.target.checked);
62
+ };
63
+ // Determine which CSS classes to use
64
+ const containerClass = mode === 'checkbox' ? 'elb-checkbox-collapsible' : 'elb-collapsible';
65
+ const headerClass = mode === 'checkbox'
66
+ ? 'elb-checkbox-collapsible-header'
67
+ : 'elb-collapsible-header';
68
+ const labelClass = mode === 'checkbox'
69
+ ? 'elb-checkbox-collapsible-label'
70
+ : 'elb-collapsible-label';
71
+ const titleClass = mode === 'checkbox' ? 'elb-checkbox-collapsible-title' : 'elb-rjsf-label';
72
+ const descriptionClass = mode === 'checkbox'
73
+ ? 'elb-checkbox-collapsible-description'
74
+ : 'elb-collapsible-description';
75
+ const contentClass = mode === 'checkbox'
76
+ ? 'elb-checkbox-collapsible-content'
77
+ : 'elb-collapsible-content';
78
+ if (mode === 'checkbox') {
79
+ return (_jsxs("div", { className: `${containerClass} ${className}`.trim(), children: [_jsxs("div", { className: headerClass, onClick: handleToggle, children: [_jsx("input", { type: "checkbox", className: "elb-rjsf-checkbox elb-checkbox-collapsible-checkbox", checked: checked, onChange: handleCheckboxChange, disabled: disabled, onClick: (e) => e.stopPropagation() }), _jsxs("div", { className: labelClass, children: [_jsx("div", { className: titleClass, children: title }), description && (_jsx("div", { className: descriptionClass, children: description }))] })] }), checked && _jsx("div", { className: contentClass, children: children })] }));
80
+ }
81
+ // Toggle mode
82
+ return (_jsxs("div", { className: `${containerClass} ${className}`.trim(), children: [_jsxs("button", { type: "button", className: headerClass, onClick: handleToggle, children: [_jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { flexShrink: 0 }, children: isExpanded ? (_jsx("polyline", { points: "6 9 12 15 18 9" })) : (_jsx("polyline", { points: "9 18 15 12 9 6" })) }), _jsxs("div", { className: labelClass, children: [_jsx("span", { className: titleClass, children: title }), description && (_jsx("span", { className: descriptionClass, children: description }))] })] }), isExpanded && _jsx("div", { className: contentClass, children: children })] }));
83
+ }
84
+ // Legacy exports for backward compatibility
85
+ export const CollapsibleSection = MappingCollapsible;
86
+ export const MappingCheckboxCollapsible = (props) => _jsx(MappingCollapsible, { ...props, mode: "checkbox" });
87
+ //# sourceMappingURL=mapping-collapsible.js.map
@@ -0,0 +1 @@
1
+ {"version":3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+ * This is a field wrapper (not a widget) because RJSF requires custom fields
6
+ * for complex types. The field wraps our MappingConditionWidget and provides
7
+ * the necessary interface that RJSF expects for custom fields.
8
+ *
9
+ * @example
10
+ * // In uiSchema:
11
+ * const uiSchema = {
12
+ * condition: {
13
+ * 'ui:field': 'mappingCondition'
14
+ * }
15
+ * }
16
+ */
17
+ export declare function MappingConditionField(props: FieldProps): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=mapping-condition-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-condition-field.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-condition-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,UAAU,2CA0BtD"}
@@ -0,0 +1,34 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { MappingConditionWidget } from './mapping-condition';
3
+ /**
4
+ * MappingConditionField - RJSF custom field for condition strings
5
+ *
6
+ * This is a field wrapper (not a widget) because RJSF requires custom fields
7
+ * for complex types. The field wraps our MappingConditionWidget and provides
8
+ * the necessary interface that RJSF expects for custom fields.
9
+ *
10
+ * @example
11
+ * // In uiSchema:
12
+ * const uiSchema = {
13
+ * condition: {
14
+ * 'ui:field': 'mappingCondition'
15
+ * }
16
+ * }
17
+ */
18
+ export function MappingConditionField(props) {
19
+ const { formData, onChange, schema, uiSchema, idSchema, rawErrors, disabled, readonly, } = props;
20
+ // Convert FieldProps to WidgetProps format
21
+ const widgetProps = {
22
+ id: idSchema.$id,
23
+ value: formData,
24
+ onChange,
25
+ schema,
26
+ uiSchema,
27
+ rawErrors: rawErrors || [],
28
+ disabled: disabled || false,
29
+ readonly: readonly || false,
30
+ };
31
+ // @ts-expect-error - Old Phase 1 component, RJSF WidgetProps type mismatch to be fixed in Phase 5
32
+ return _jsx(MappingConditionWidget, { ...widgetProps });
33
+ }
34
+ //# sourceMappingURL=mapping-condition-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-condition-field.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-condition-field.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAiB;IACrD,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,GAAG,KAAK,CAAC;IAEV,2CAA2C;IAC3C,MAAM,WAAW,GAAG;QAClB,EAAE,EAAE,QAAQ,CAAC,GAAG;QAChB,KAAK,EAAE,QAAQ;QACf,QAAQ;QACR,MAAM;QACN,QAAQ;QACR,SAAS,EAAE,SAAS,IAAI,EAAE;QAC1B,QAAQ,EAAE,QAAQ,IAAI,KAAK;QAC3B,QAAQ,EAAE,QAAQ,IAAI,KAAK;KAC5B,CAAC;IAEF,kGAAkG;IAClG,OAAO,KAAC,sBAAsB,OAAK,WAAW,GAAI,CAAC;AACrD,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { WidgetProps } from '@rjsf/utils';
2
+ /**
3
+ * MappingConditionWidget - RJSF widget for condition functions
4
+ *
5
+ * Manages condition functions as strings for mapping rules.
6
+ * A condition determines whether a mapping rule should be applied.
7
+ *
8
+ * States:
9
+ * - Unchecked (default): No condition, value is undefined
10
+ * - Checked: Shows code editor with function template
11
+ *
12
+ * @example
13
+ * // In schema:
14
+ * const schema = {
15
+ * type: 'object',
16
+ * properties: {
17
+ * condition: {
18
+ * type: 'string',
19
+ * title: 'Use condition',
20
+ * description: 'Conditionally apply this mapping rule'
21
+ * }
22
+ * }
23
+ * }
24
+ *
25
+ * @example
26
+ * // In uiSchema:
27
+ * const uiSchema = {
28
+ * condition: {
29
+ * 'ui:widget': 'mappingCondition'
30
+ * }
31
+ * }
32
+ */
33
+ export declare function MappingConditionWidget(props: WidgetProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=mapping-condition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-condition.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-condition.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAgB/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,2CAgExD"}
@@ -0,0 +1,70 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { MappingCollapsible } from './mapping-collapsible';
3
+ import { CodeBox } from '../molecules/code-box';
4
+ /**
5
+ * Default condition function template
6
+ * Provides a starting point for users with parameter hints
7
+ */
8
+ const DEFAULT_CONDITION = `(value, mapping, collector) => {
9
+ // Return true to apply this mapping rule
10
+ // value: The event data
11
+ // mapping: The mapping configuration
12
+ // collector: The collector instance
13
+ return true;
14
+ }`;
15
+ /**
16
+ * MappingConditionWidget - RJSF widget for condition functions
17
+ *
18
+ * Manages condition functions as strings for mapping rules.
19
+ * A condition determines whether a mapping rule should be applied.
20
+ *
21
+ * States:
22
+ * - Unchecked (default): No condition, value is undefined
23
+ * - Checked: Shows code editor with function template
24
+ *
25
+ * @example
26
+ * // In schema:
27
+ * const schema = {
28
+ * type: 'object',
29
+ * properties: {
30
+ * condition: {
31
+ * type: 'string',
32
+ * title: 'Use condition',
33
+ * description: 'Conditionally apply this mapping rule'
34
+ * }
35
+ * }
36
+ * }
37
+ *
38
+ * @example
39
+ * // In uiSchema:
40
+ * const uiSchema = {
41
+ * condition: {
42
+ * 'ui:widget': 'mappingCondition'
43
+ * }
44
+ * }
45
+ */
46
+ export function MappingConditionWidget(props) {
47
+ const { id, value, onChange, disabled, readonly, rawErrors = [], schema, } = props;
48
+ const conditionCode = value || '';
49
+ const hasCondition = Boolean(conditionCode);
50
+ // Extract title and description from schema
51
+ const title = schema?.title || 'Use condition';
52
+ const description = schema?.description;
53
+ const handleCheckboxChange = (checked) => {
54
+ if (checked) {
55
+ // Enable condition - set to default template
56
+ onChange(DEFAULT_CONDITION);
57
+ }
58
+ else {
59
+ // Disable condition - set to undefined
60
+ onChange(undefined);
61
+ }
62
+ };
63
+ const handleCodeChange = (code) => {
64
+ // Update the condition code
65
+ onChange(code || undefined);
66
+ };
67
+ const hasError = rawErrors && rawErrors.length > 0;
68
+ return (_jsxs("div", { className: "elb-rjsf-widget", children: [_jsx(MappingCollapsible, { mode: "checkbox", title: title, description: description, checked: hasCondition, onCheckedChange: handleCheckboxChange, disabled: disabled || readonly, children: _jsx(CodeBox, { code: conditionCode, onChange: handleCodeChange, language: "javascript", label: "Condition", lineNumbers: true, folding: false, disabled: disabled || readonly }) }), hasError && (_jsx("div", { className: "elb-rjsf-error", children: rawErrors.map((error, index) => (_jsx("div", { children: error }, index))) }))] }));
69
+ }
70
+ //# sourceMappingURL=mapping-condition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-condition.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-condition.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,MAAM,iBAAiB,GAAG;;;;;;EAMxB,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAkB;IACvD,MAAM,EACJ,EAAE,EACF,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,MAAM,GACP,GAAG,KAAK,CAAC;IAEV,MAAM,aAAa,GAAI,KAA4B,IAAI,EAAE,CAAC;IAC1D,MAAM,YAAY,GAA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G,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Confirm Button - Transforms to confirmation state on click
3
+ *
4
+ * When clicked, transforms to show "Confirm?" text with visual emphasis.
5
+ * Clicking again confirms the action. Clicking outside or ESC cancels.
6
+ *
7
+ * By default, uses a trash icon. Can be overridden with custom icon.
8
+ *
9
+ * @example
10
+ * <MappingConfirmButton
11
+ * confirmLabel="Delete?"
12
+ * onConfirm={() => deleteItem()}
13
+ * ariaLabel="Delete item"
14
+ * />
15
+ */
16
+ export interface MappingConfirmButtonProps {
17
+ /** Icon to show in default state (defaults to trash icon) */
18
+ icon?: React.ReactNode;
19
+ /** Label to show in confirmation state */
20
+ confirmLabel?: string;
21
+ /** Callback when action is confirmed */
22
+ onConfirm: () => void;
23
+ /** Accessibility label */
24
+ ariaLabel: string;
25
+ /** Additional CSS class */
26
+ className?: string;
27
+ }
28
+ export declare function MappingConfirmButton({ icon, confirmLabel, onConfirm, ariaLabel, className, }: MappingConfirmButtonProps): import("react/jsx-runtime").JSX.Element;
29
+ //# sourceMappingURL=mapping-confirm-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-confirm-button.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-confirm-button.tsx"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,yBAAyB;IACxC,6DAA6D;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAoB,EACpB,YAAyB,EACzB,SAAS,EACT,SAAS,EACT,SAAc,GACf,EAAE,yBAAyB,2CAoD3B"}
@@ -0,0 +1,42 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useState, useEffect, useRef } from 'react';
3
+ // Default trash icon
4
+ const TrashIcon = () => (_jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M6.5 1.5V2.5H2V4H3V13.5C3 14.3284 3.67157 15 4.5 15H11.5C12.3284 15 13 14.3284 13 13.5V4H14V2.5H9.5V1.5H6.5ZM4.5 4H11.5V13.5H4.5V4ZM6 5.5V12H7.5V5.5H6ZM8.5 5.5V12H10V5.5H8.5Z", fill: "currentColor" }) }));
5
+ export function MappingConfirmButton({ icon = _jsx(TrashIcon, {}), confirmLabel = 'Confirm?', onConfirm, ariaLabel, className = '', }) {
6
+ const [isConfirming, setIsConfirming] = useState(false);
7
+ const buttonRef = useRef(null);
8
+ // Handle click outside to cancel
9
+ useEffect(() => {
10
+ if (!isConfirming)
11
+ return;
12
+ const handleClickOutside = (e) => {
13
+ if (buttonRef.current && !buttonRef.current.contains(e.target)) {
14
+ setIsConfirming(false);
15
+ }
16
+ };
17
+ const handleEscape = (e) => {
18
+ if (e.key === 'Escape') {
19
+ setIsConfirming(false);
20
+ }
21
+ };
22
+ document.addEventListener('mousedown', handleClickOutside);
23
+ document.addEventListener('keydown', handleEscape);
24
+ return () => {
25
+ document.removeEventListener('mousedown', handleClickOutside);
26
+ document.removeEventListener('keydown', handleEscape);
27
+ };
28
+ }, [isConfirming]);
29
+ const handleClick = () => {
30
+ if (isConfirming) {
31
+ // Confirm action
32
+ onConfirm();
33
+ setIsConfirming(false);
34
+ }
35
+ else {
36
+ // Enter confirmation state
37
+ setIsConfirming(true);
38
+ }
39
+ };
40
+ return (_jsx("button", { ref: buttonRef, type: "button", className: `elb-mapping-confirm-button ${isConfirming ? 'is-confirming' : ''} ${className}`, onClick: handleClick, "aria-label": isConfirming ? confirmLabel : ariaLabel, title: isConfirming ? confirmLabel : ariaLabel, children: isConfirming ? confirmLabel : icon }));
41
+ }
42
+ //# sourceMappingURL=mapping-confirm-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-confirm-button.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-confirm-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpD,qBAAqB;AACrB,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CACtB,cACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,YAElC,eACE,CAAC,EAAC,gLAAgL,EAClL,IAAI,EAAC,cAAc,GACnB,GACE,CACP,CAAC;AA8BF,MAAM,UAAU,oBAAoB,CAAC,EACnC,IAAI,GAAG,KAAC,SAAS,KAAG,EACpB,YAAY,GAAG,UAAU,EACzB,SAAS,EACT,SAAS,EACT,SAAS,GAAG,EAAE,GACY;IAC1B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,SAAS,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAElD,iCAAiC;IACjC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,YAAY;YAAE,OAAO;QAE1B,MAAM,kBAAkB,GAAG,CAAC,CAAa,EAAE,EAAE;YAC3C,IAAI,SAAS,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAc,CAAC,EAAE,CAAC;gBACvE,eAAe,CAAC,KAAK,CAAC,CAAC;YACzB,CAAC;QACH,CAAC,CAAC;QAEF,MAAM,YAAY,GAAG,CAAC,CAAgB,EAAE,EAAE;YACxC,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;gBACvB,eAAe,CAAC,KAAK,CAAC,CAAC;YACzB,CAAC;QACH,CAAC,CAAC;QAEF,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAC3D,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAEnD,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;YAC9D,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACxD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,YAAY,EAAE,CAAC;YACjB,iBAAiB;YACjB,SAAS,EAAE,CAAC;YACZ,eAAe,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,2BAA2B;YAC3B,eAAe,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iBACE,GAAG,EAAE,SAAS,EACd,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,8BAA8B,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EAC3F,OAAO,EAAE,WAAW,gBACR,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,EACnD,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,YAE7C,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,GAC5B,CACV,CAAC;AACJ,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { FieldProps } from '@rjsf/utils';
2
+ /**
3
+ * MappingConsentField - RJSF custom field for consent object
4
+ *
5
+ * This is a field wrapper (not a widget) because RJSF requires custom fields
6
+ * for object types, not widgets. Widgets are only used for primitive types.
7
+ *
8
+ * The field wraps our MappingConsentWidget and provides the necessary
9
+ * interface that RJSF expects for custom fields.
10
+ *
11
+ * @example
12
+ * // In uiSchema:
13
+ * const uiSchema = {
14
+ * consent: {
15
+ * 'ui:field': 'mappingConsent'
16
+ * }
17
+ * }
18
+ */
19
+ export declare function MappingConsentField(props: FieldProps): import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=mapping-consent-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-consent-field.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-consent-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,UAAU,2CA0BpD"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { MappingConsentWidget } from './mapping-consent';
3
+ /**
4
+ * MappingConsentField - RJSF custom field for consent object
5
+ *
6
+ * This is a field wrapper (not a widget) because RJSF requires custom fields
7
+ * for object types, not widgets. Widgets are only used for primitive types.
8
+ *
9
+ * The field wraps our MappingConsentWidget and provides the necessary
10
+ * interface that RJSF expects for custom fields.
11
+ *
12
+ * @example
13
+ * // In uiSchema:
14
+ * const uiSchema = {
15
+ * consent: {
16
+ * 'ui:field': 'mappingConsent'
17
+ * }
18
+ * }
19
+ */
20
+ export function MappingConsentField(props) {
21
+ const { formData, onChange, schema, uiSchema, idSchema, rawErrors, disabled, readonly, } = props;
22
+ // Convert FieldProps to WidgetProps format
23
+ const widgetProps = {
24
+ id: idSchema.$id,
25
+ value: formData,
26
+ onChange,
27
+ schema,
28
+ uiSchema,
29
+ rawErrors: rawErrors || [],
30
+ disabled: disabled || false,
31
+ readonly: readonly || false,
32
+ };
33
+ // @ts-expect-error - Old Phase 1 component, RJSF WidgetProps type mismatch to be fixed in Phase 5
34
+ return _jsx(MappingConsentWidget, { ...widgetProps });
35
+ }
36
+ //# sourceMappingURL=mapping-consent-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-consent-field.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-consent-field.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAiB;IACnD,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,GAAG,KAAK,CAAC;IAEV,2CAA2C;IAC3C,MAAM,WAAW,GAAG;QAClB,EAAE,EAAE,QAAQ,CAAC,GAAG;QAChB,KAAK,EAAE,QAAQ;QACf,QAAQ;QACR,MAAM;QACN,QAAQ;QACR,SAAS,EAAE,SAAS,IAAI,EAAE;QAC1B,QAAQ,EAAE,QAAQ,IAAI,KAAK;QAC3B,QAAQ,EAAE,QAAQ,IAAI,KAAK;KAC5B,CAAC;IAEF,kGAAkG;IAClG,OAAO,KAAC,oBAAoB,OAAK,WAAW,GAAI,CAAC;AACnD,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { WidgetProps } from '@rjsf/utils';
2
+ /**
3
+ * MappingConsentWidget - RJSF widget for consent object
4
+ *
5
+ * Manages consent requirements as an object: { [consentType: string]: boolean }
6
+ * where true = granted required, false = denied required
7
+ *
8
+ * States:
9
+ * - Default (no consent): Shows grey "+ Require consent" button
10
+ * - With data: Shows collapsible section with consent rows
11
+ *
12
+ * @example
13
+ * // In schema:
14
+ * const schema = {
15
+ * type: 'object',
16
+ * properties: {
17
+ * consent: {
18
+ * type: 'object',
19
+ * title: 'Consent',
20
+ * description: 'Required consent states'
21
+ * }
22
+ * }
23
+ * }
24
+ *
25
+ * @example
26
+ * // In uiSchema:
27
+ * const uiSchema = {
28
+ * consent: {
29
+ * 'ui:widget': 'mappingConsent'
30
+ * }
31
+ * }
32
+ */
33
+ export declare function MappingConsentWidget(props: WidgetProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=mapping-consent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-consent.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/mapping-consent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,WAAW,2CA8HtD"}
@@ -0,0 +1,86 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useEffect } from 'react';
3
+ import { MappingCollapsible } from './mapping-collapsible';
4
+ import { ConsentRow } from '../molecules/mapping-consent-row';
5
+ import { IconButton } from './icon-button';
6
+ /**
7
+ * MappingConsentWidget - RJSF widget for consent object
8
+ *
9
+ * Manages consent requirements as an object: { [consentType: string]: boolean }
10
+ * where true = granted required, false = denied required
11
+ *
12
+ * States:
13
+ * - Default (no consent): Shows grey "+ Require consent" button
14
+ * - With data: Shows collapsible section with consent rows
15
+ *
16
+ * @example
17
+ * // In schema:
18
+ * const schema = {
19
+ * type: 'object',
20
+ * properties: {
21
+ * consent: {
22
+ * type: 'object',
23
+ * title: 'Consent',
24
+ * description: 'Required consent states'
25
+ * }
26
+ * }
27
+ * }
28
+ *
29
+ * @example
30
+ * // In uiSchema:
31
+ * const uiSchema = {
32
+ * consent: {
33
+ * 'ui:widget': 'mappingConsent'
34
+ * }
35
+ * }
36
+ */
37
+ export function MappingConsentWidget(props) {
38
+ const { id, value, onChange, disabled, readonly, rawErrors = [], schema, } = props;
39
+ const consentData = value || {};
40
+ const hasConsent = Object.keys(consentData).length > 0;
41
+ // Extract title and description from schema
42
+ const title = schema?.title || 'Consent';
43
+ const description = schema?.description;
44
+ // Start expanded if we have existing consent data
45
+ const [isExpanded, setIsExpanded] = useState(hasConsent);
46
+ // Update expanded state when consent data changes (e.g., switching between mapping rules)
47
+ useEffect(() => {
48
+ setIsExpanded(hasConsent);
49
+ }, [hasConsent]);
50
+ const handleAddConsent = () => {
51
+ // Add a new consent entry with empty key and true value (checked by default)
52
+ const newConsent = { ...consentData, '': true };
53
+ onChange(newConsent);
54
+ if (!isExpanded) {
55
+ setIsExpanded(true);
56
+ }
57
+ };
58
+ const handleUpdateConsentType = (oldKey, newKey) => {
59
+ if (oldKey === newKey)
60
+ return;
61
+ const newConsent = { ...consentData };
62
+ const value = newConsent[oldKey];
63
+ delete newConsent[oldKey];
64
+ // Only add if newKey is not empty
65
+ if (newKey.trim()) {
66
+ newConsent[newKey] = value;
67
+ }
68
+ // If no entries left, set to undefined
69
+ const finalConsent = Object.keys(newConsent).length > 0 ? newConsent : undefined;
70
+ onChange(finalConsent);
71
+ };
72
+ const handleUpdateGranted = (key, granted) => {
73
+ const newConsent = { ...consentData, [key]: granted };
74
+ onChange(newConsent);
75
+ };
76
+ const handleRemove = (key) => {
77
+ const newConsent = { ...consentData };
78
+ delete newConsent[key];
79
+ // If no entries left, set to undefined
80
+ const finalConsent = Object.keys(newConsent).length > 0 ? newConsent : undefined;
81
+ onChange(finalConsent);
82
+ };
83
+ const hasError = rawErrors && rawErrors.length > 0;
84
+ return (_jsxs("div", { className: "elb-rjsf-widget", children: [_jsx(MappingCollapsible, { mode: "toggle", title: title, description: description, isExpanded: isExpanded, onToggle: setIsExpanded, children: hasConsent ? (_jsxs("div", { className: "elb-consent-rows", children: [Object.entries(consentData).map(([key, granted], index) => (_jsx(ConsentRow, { consentType: key, granted: granted, onConsentTypeChange: (newKey) => handleUpdateConsentType(key, newKey), onGrantedChange: (newGranted) => handleUpdateGranted(key, newGranted), onRemove: () => handleRemove(key) }, index))), _jsx(IconButton, { icon: "add", variant: "default", onClick: handleAddConsent, disabled: disabled || readonly, className: "elb-consent-add-row-button", children: "Add consent" })] })) : (_jsx(IconButton, { icon: "add", variant: "default", onClick: handleAddConsent, disabled: disabled || readonly, className: "elb-consent-add-button", children: "Require consent" })) }), hasError && (_jsx("div", { className: "elb-rjsf-error", children: rawErrors.map((error, index) => (_jsx("div", { children: error }, index))) }))] }));
85
+ }
86
+ //# sourceMappingURL=mapping-consent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-consent.js","sourceRoot":"","sources":["../../../src/components/atoms/mapping-consent.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAkB;IACrD,MAAM,EACJ,EAAE,EACF,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,MAAM,GACP,GAAG,KAAK,CAAC;IAEV,MAAM,WAAW,GAAI,KAA6C,IAAI,EAAE,CAAC;IACzE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAEvD,4CAA4C;IAC5C,MAAM,KAAK,GAAG,MAAM,EAAE,KAAK,IAAI,SAAS,CAAC;IACzC,MAAM,WAAW,GAAG,MAAM,EAAE,WAAW,CAAC;IAExC,kDAAkD;IAClD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;IAEzD,0FAA0F;IAC1F,SAAS,CAAC,GAAG,EAAE;QACb,aAAa,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,MAAM,g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