@vention/machine-ui 4.2.3 → 5.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 (453) hide show
  1. package/ac-motor.esm.js +6 -6
  2. package/access-point.esm.js +3 -3
  3. package/actuator.esm.js +9 -9
  4. package/actuator1.esm.js +6 -6
  5. package/actuator10.esm.js +9 -9
  6. package/actuator2.esm.js +7 -7
  7. package/actuator3.esm.js +7 -7
  8. package/actuator4.esm.js +7 -7
  9. package/actuator5.esm.js +7 -7
  10. package/actuator6.esm.js +7 -7
  11. package/actuator7.esm.js +7 -7
  12. package/actuator8.esm.js +8 -8
  13. package/actuator9.esm.js +10 -10
  14. package/adjustments-alt-filled.esm.js +12 -12
  15. package/adjustments-alt.esm.js +3 -3
  16. package/adjustments-filled.esm.js +9 -9
  17. package/adjustments-horizontal.esm.js +3 -3
  18. package/alarm-bell-filled.esm.js +6 -6
  19. package/alarm-bell-ringing.esm.js +3 -3
  20. package/alarm-bell.esm.js +3 -3
  21. package/alarm.esm.js +3 -3
  22. package/alert-circle-filled.esm.js +3 -3
  23. package/alert-circle.esm.js +3 -3
  24. package/alert-triangle-filled.esm.js +3 -3
  25. package/alert-triangle.esm.js +3 -3
  26. package/analytics.esm.js +3 -3
  27. package/angle.esm.js +3 -3
  28. package/apps-2.esm.js +6 -6
  29. package/apps.esm.js +3 -3
  30. package/arrow-bar-both.esm.js +3 -3
  31. package/arrow-bar-down.esm.js +3 -3
  32. package/arrow-bar-left.esm.js +3 -3
  33. package/arrow-bar-right.esm.js +3 -3
  34. package/arrow-bar-to-down.esm.js +3 -3
  35. package/arrow-bar-to-left.esm.js +3 -3
  36. package/arrow-bar-to-right.esm.js +3 -3
  37. package/arrow-bar-to-up.esm.js +3 -3
  38. package/arrow-bar-up.esm.js +3 -3
  39. package/arrow-big-down.esm.js +3 -3
  40. package/arrow-big-left.esm.js +3 -3
  41. package/arrow-big-right-lines.esm.js +9 -9
  42. package/arrow-big-right.esm.js +3 -3
  43. package/arrow-big-up.esm.js +3 -3
  44. package/arrow-left-from-arc.esm.js +9 -9
  45. package/arrow-left.esm.js +3 -3
  46. package/arrow-narrow-down.esm.js +3 -3
  47. package/arrow-narrow-left.esm.js +3 -3
  48. package/arrow-narrow-right.esm.js +3 -3
  49. package/arrow-narrow-up.esm.js +3 -3
  50. package/arrow-right.esm.js +3 -3
  51. package/arrow-up-right.esm.js +4 -4
  52. package/arrows-diagonal-minimize-1.esm.js +6 -6
  53. package/arrows-diagonal.esm.js +6 -6
  54. package/arrows-diff.esm.js +3 -3
  55. package/arrows-exchange-1.esm.js +4 -4
  56. package/arrows-exchange.esm.js +4 -4
  57. package/arrows-maximize.esm.js +3 -3
  58. package/arrows-minimize.esm.js +3 -3
  59. package/arrows-move.esm.js +3 -3
  60. package/arrows-right-left.esm.js +10 -10
  61. package/assembly.esm.js +4 -4
  62. package/asset.esm.js +3 -3
  63. package/axis.esm.js +3 -3
  64. package/belt-actuator-2.esm.js +5 -5
  65. package/belt-actuator-3.esm.js +6 -6
  66. package/belt-actuator.esm.js +5 -5
  67. package/binary-tree-2.esm.js +3 -3
  68. package/binary-tree.esm.js +3 -3
  69. package/binary.esm.js +3 -3
  70. package/blend.esm.js +3 -3
  71. package/bolt-filled.esm.js +3 -3
  72. package/bolt.esm.js +3 -3
  73. package/bomb.esm.js +3 -3
  74. package/book-2.esm.js +3 -3
  75. package/book.esm.js +3 -3
  76. package/bookmark.esm.js +3 -3
  77. package/books.esm.js +3 -3
  78. package/braces.esm.js +3 -3
  79. package/brand-python.esm.js +3 -3
  80. package/bug.esm.js +3 -3
  81. package/building-broadcast-tower.esm.js +3 -3
  82. package/building-community.esm.js +3 -3
  83. package/building-factory-2.esm.js +3 -3
  84. package/building-skyscraper.esm.js +3 -3
  85. package/building.esm.js +3 -3
  86. package/button-black.esm.js +3 -3
  87. package/button-white.esm.js +3 -3
  88. package/calendar-month.esm.js +3 -3
  89. package/camera.esm.js +4 -4
  90. package/capture.esm.js +3 -3
  91. package/caret-down-filled.esm.js +3 -3
  92. package/caret-down.esm.js +3 -3
  93. package/caret-left-filled.esm.js +3 -3
  94. package/caret-left.esm.js +3 -3
  95. package/caret-right-filled.esm.js +3 -3
  96. package/caret-right.esm.js +3 -3
  97. package/caret-up-filled.esm.js +3 -3
  98. package/caret-up.esm.js +3 -3
  99. package/category-filled.esm.js +10 -10
  100. package/category.esm.js +6 -6
  101. package/cell-signal-full.esm.js +3 -3
  102. package/cell-signal-low.esm.js +3 -3
  103. package/cell-signal-off.esm.js +3 -3
  104. package/chart-dots-2.esm.js +3 -3
  105. package/check.esm.js +3 -3
  106. package/checkbox.esm.js +5 -5
  107. package/checks.esm.js +3 -3
  108. package/chevron-down.esm.js +3 -3
  109. package/chevron-left.esm.js +3 -3
  110. package/chevron-right.esm.js +3 -3
  111. package/chevron-up.esm.js +3 -3
  112. package/chevrons-down.esm.js +3 -3
  113. package/chevrons-left.esm.js +3 -3
  114. package/chevrons-right.esm.js +3 -3
  115. package/chevrons-up.esm.js +3 -3
  116. package/circle-arrow-up.esm.js +3 -3
  117. package/circle-check-filled.esm.js +3 -3
  118. package/circle-check.esm.js +3 -3
  119. package/circle-minus.esm.js +3 -3
  120. package/circle-plus.esm.js +3 -3
  121. package/circle-square.esm.js +4 -4
  122. package/circle-x-filled.esm.js +3 -3
  123. package/circle-x.esm.js +3 -3
  124. package/clock.esm.js +3 -3
  125. package/clockwise-1.esm.js +3 -3
  126. package/clockwise-2.esm.js +3 -3
  127. package/close.esm.js +3 -3
  128. package/cloud-computing.esm.js +3 -3
  129. package/cloud-data-connection.esm.js +3 -3
  130. package/cloud-download-1.esm.js +5 -5
  131. package/cloud-download-off.esm.js +8 -8
  132. package/cloud-download.esm.js +3 -3
  133. package/cloud-off.esm.js +3 -3
  134. package/cloud-upload.esm.js +3 -3
  135. package/cloud.esm.js +3 -3
  136. package/code.esm.js +3 -3
  137. package/command-do.esm.js +3 -3
  138. package/command-elif.esm.js +3 -3
  139. package/command-else.esm.js +3 -3
  140. package/command-if.esm.js +3 -3
  141. package/condition-tree.esm.js +3 -3
  142. package/confetti.esm.js +3 -3
  143. package/connection.esm.js +3 -3
  144. package/conveyor.esm.js +6 -6
  145. package/copy.esm.js +3 -3
  146. package/corner-up-left.esm.js +7 -7
  147. package/corner-up-right.esm.js +7 -7
  148. package/counterclockwise-1.esm.js +3 -3
  149. package/counterclockwise-2.esm.js +3 -3
  150. package/cpu-2.esm.js +3 -3
  151. package/cpu.esm.js +3 -3
  152. package/cube-plus.esm.js +3 -3
  153. package/cube-send.esm.js +3 -3
  154. package/cube.esm.js +3 -3
  155. package/custom-gear-fill.esm.js +3 -3
  156. package/custom-help-bold-filled.esm.js +3 -3
  157. package/custom-help-bold.esm.js +5 -5
  158. package/custom-help-fill.esm.js +3 -3
  159. package/custom-help.esm.js +5 -5
  160. package/custom-info-1.esm.js +3 -3
  161. package/custom-info-bold-filled.esm.js +3 -3
  162. package/custom-info-bold.esm.js +5 -5
  163. package/custom-info.esm.js +5 -5
  164. package/custom-point-to-point.esm.js +5 -5
  165. package/custom-rocket-fat.esm.js +6 -6
  166. package/custom-rocket.esm.js +6 -6
  167. package/dashboard.esm.js +6 -6
  168. package/decline.esm.js +4 -4
  169. package/device-laptop.esm.js +3 -3
  170. package/device-tv.esm.js +3 -3
  171. package/devices-2.esm.js +3 -3
  172. package/dimensions.esm.js +10 -10
  173. package/dots-vertical.esm.js +5 -5
  174. package/dots.esm.js +5 -5
  175. package/download-off.esm.js +3 -3
  176. package/download.esm.js +3 -3
  177. package/duotone-analytics.esm.js +5 -5
  178. package/duotone-communication.esm.js +13 -13
  179. package/duotone-conveyor.esm.js +6 -6
  180. package/duotone-input-output.esm.js +5 -5
  181. package/duotone-linear.esm.js +5 -5
  182. package/duotone-pneumatic.esm.js +7 -7
  183. package/duotone-programming.esm.js +6 -6
  184. package/duotone-robot-arm.esm.js +12 -12
  185. package/duotone-rotary.esm.js +5 -5
  186. package/duotone-state-machine.esm.js +10 -10
  187. package/edit.esm.js +3 -3
  188. package/electric-actuator.esm.js +4 -4
  189. package/exclamation-mark.esm.js +3 -3
  190. package/external-link.esm.js +3 -3
  191. package/eye-closed.esm.js +3 -3
  192. package/eye.esm.js +4 -4
  193. package/file-3-d.esm.js +3 -3
  194. package/file-code.esm.js +3 -3
  195. package/file-description.esm.js +3 -3
  196. package/file-download.esm.js +3 -3
  197. package/file-type-pdf.esm.js +3 -3
  198. package/file-upload.esm.js +3 -3
  199. package/file-wrong.esm.js +10 -10
  200. package/file.esm.js +3 -3
  201. package/filter.esm.js +3 -3
  202. package/focus.esm.js +3 -3
  203. package/folder-open.esm.js +7 -7
  204. package/folder-plus-1.esm.js +9 -9
  205. package/folder.esm.js +3 -3
  206. package/frame-3.esm.js +3 -3
  207. package/function-icon.esm.js +3 -3
  208. package/git-branch-deleted.esm.js +3 -3
  209. package/git-branch.esm.js +3 -3
  210. package/git-compare.esm.js +3 -3
  211. package/git-fork.esm.js +3 -3
  212. package/git-merge.esm.js +3 -3
  213. package/gizmo.esm.js +3 -3
  214. package/graph.esm.js +3 -3
  215. package/grid-dots.esm.js +11 -11
  216. package/grip-horizontal.esm.js +8 -8
  217. package/grip-vertical.esm.js +8 -8
  218. package/gripper-1.esm.js +5 -5
  219. package/gripper-2.esm.js +5 -5
  220. package/hand-stop.esm.js +3 -3
  221. package/hash.esm.js +7 -7
  222. package/hb-menu.esm.js +3 -3
  223. package/headphones-filled.esm.js +3 -3
  224. package/headset-filled.esm.js +5 -5
  225. package/headset.esm.js +3 -3
  226. package/help-circle-filled.esm.js +3 -3
  227. package/help.esm.js +3 -3
  228. package/history-toggle.esm.js +3 -3
  229. package/history.esm.js +3 -3
  230. package/hmi.esm.js +6 -6
  231. package/home-2.esm.js +5 -5
  232. package/home-solid.esm.js +7 -7
  233. package/home.esm.js +3 -3
  234. package/hourglass-empty.esm.js +3 -3
  235. package/i-o.esm.js +6 -6
  236. package/icon-box-padding.esm.js +3 -3
  237. package/icon-components.esm.js +10 -10
  238. package/icon-nut.esm.js +4 -4
  239. package/icon-ruler-2.esm.js +3 -3
  240. package/icon-square-rotated.esm.js +3 -3
  241. package/incline.esm.js +4 -4
  242. package/index.esm.js +481 -485
  243. package/infinity.esm.js +3 -3
  244. package/info-circle-filled.esm.js +3 -3
  245. package/info-circle.esm.js +3 -3
  246. package/input-output.esm.js +8 -8
  247. package/io-link.esm.js +3 -3
  248. package/ipad-horizontal.esm.js +3 -3
  249. package/json.esm.js +3 -3
  250. package/lan.esm.js +3 -3
  251. package/language.esm.js +3 -3
  252. package/layout-sidebar-right.esm.js +4 -4
  253. package/legacy-axis.esm.js +4 -4
  254. package/legacy-robot.esm.js +3 -3
  255. package/letter-case.esm.js +3 -3
  256. package/line.esm.js +9 -9
  257. package/linear.esm.js +9 -9
  258. package/link.esm.js +3 -3
  259. package/list-check.esm.js +9 -9
  260. package/load-balancer.esm.js +3 -3
  261. package/lock.esm.js +3 -3
  262. package/logout.esm.js +3 -3
  263. package/machine-apps-headset.esm.js +4 -4
  264. package/machinelogic-2.esm.js +7 -7
  265. package/magnet.esm.js +5 -5
  266. package/mail-fast.esm.js +3 -3
  267. package/mail.esm.js +3 -3
  268. package/mailbox.esm.js +3 -3
  269. package/math-equal-greater.esm.js +3 -3
  270. package/math-equal-lower.esm.js +3 -3
  271. package/maximize.esm.js +3 -3
  272. package/menu-2.esm.js +3 -3
  273. package/menu-waffle.esm.js +11 -11
  274. package/menu.esm.js +3 -3
  275. package/merge.esm.js +3 -3
  276. package/message-2.esm.js +3 -3
  277. package/message-chatbot.esm.js +3 -3
  278. package/message-circle-filled.esm.js +3 -3
  279. package/message-circle.esm.js +3 -3
  280. package/message-dots.esm.js +3 -3
  281. package/message.esm.js +3 -3
  282. package/messages.esm.js +3 -3
  283. package/microphone.esm.js +3 -3
  284. package/minus-vertical.esm.js +3 -3
  285. package/minus.esm.js +3 -3
  286. package/mirror-flip-horizontal.esm.js +3 -3
  287. package/mirror-flip-vertical.esm.js +3 -3
  288. package/module-1.esm.js +10 -10
  289. package/module-2.esm.js +9 -9
  290. package/module-3.esm.js +6 -6
  291. package/module-4.esm.js +4 -4
  292. package/motor-1.esm.js +9 -9
  293. package/motor-2.esm.js +9 -9
  294. package/motor-3.esm.js +13 -13
  295. package/motor-4.esm.js +3 -3
  296. package/motor-5.esm.js +4 -4
  297. package/mouse-left.esm.js +8 -8
  298. package/mouse-right.esm.js +6 -6
  299. package/mouse-scroll.esm.js +7 -7
  300. package/move-to-ground.esm.js +3 -3
  301. package/movie.esm.js +3 -3
  302. package/multiplier.esm.js +9 -9
  303. package/music.esm.js +3 -3
  304. package/network-2.esm.js +3 -3
  305. package/network-off.esm.js +3 -3
  306. package/network.esm.js +3 -3
  307. package/number-1.esm.js +7 -7
  308. package/number-2.esm.js +7 -7
  309. package/number-3.esm.js +8 -8
  310. package/number-4.esm.js +7 -7
  311. package/operator.esm.js +6 -6
  312. package/package.json +1 -1
  313. package/pdf.esm.js +3 -3
  314. package/phone-call.esm.js +3 -3
  315. package/phone-off.esm.js +3 -3
  316. package/phone.esm.js +3 -3
  317. package/photo.esm.js +3 -3
  318. package/pinned.esm.js +3 -3
  319. package/player-pause.esm.js +4 -4
  320. package/player-play-filled.esm.js +7 -7
  321. package/player-play.esm.js +3 -3
  322. package/player-record.esm.js +3 -3
  323. package/player-skip-back.esm.js +3 -3
  324. package/player-skip-forward.esm.js +3 -3
  325. package/player-stop-filled.esm.js +3 -3
  326. package/player-stop.esm.js +3 -3
  327. package/player-track-next.esm.js +4 -4
  328. package/player-track-prev.esm.js +4 -4
  329. package/plug-x.esm.js +3 -3
  330. package/plug.esm.js +3 -3
  331. package/plus.esm.js +3 -3
  332. package/pneumatic.esm.js +7 -7
  333. package/point-to-point-3.esm.js +4 -4
  334. package/point-to-point-check.esm.js +10 -10
  335. package/position-rx.esm.js +5 -5
  336. package/position-ry.esm.js +5 -5
  337. package/position-rz.esm.js +5 -5
  338. package/position-x.esm.js +4 -4
  339. package/position-y.esm.js +4 -4
  340. package/position-z.esm.js +4 -4
  341. package/power.esm.js +3 -3
  342. package/programming.esm.js +5 -5
  343. package/pushbutton.esm.js +3 -3
  344. package/receipt-dollar.esm.js +3 -3
  345. package/receipt.esm.js +4 -4
  346. package/reference-frame-2.esm.js +3 -3
  347. package/reference-frame.esm.js +8 -8
  348. package/refresh-alert.esm.js +3 -3
  349. package/refresh-off.esm.js +3 -3
  350. package/refresh.esm.js +3 -3
  351. package/reload.esm.js +3 -3
  352. package/repeat.esm.js +3 -3
  353. package/rewind-backward-15.esm.js +10 -10
  354. package/rewind-forward-15.esm.js +10 -10
  355. package/robot-arm-2.esm.js +8 -8
  356. package/robot-arm-duotone-2.esm.js +8 -8
  357. package/robot-arm.esm.js +10 -10
  358. package/robot-face.esm.js +3 -3
  359. package/rotary.esm.js +5 -5
  360. package/route-square.esm.js +3 -3
  361. package/row-insert-bottom.esm.js +3 -3
  362. package/row-insert-top.esm.js +3 -3
  363. package/ruler-measure-2.esm.js +15 -15
  364. package/ruler.esm.js +3 -3
  365. package/save.esm.js +3 -3
  366. package/search.esm.js +3 -3
  367. package/selector.esm.js +3 -3
  368. package/send.esm.js +3 -3
  369. package/sensor.esm.js +4 -4
  370. package/sensor1.esm.js +6 -6
  371. package/sensor2.esm.js +6 -6
  372. package/sequence.esm.js +10 -10
  373. package/setting-automation.esm.js +5 -5
  374. package/settings-2.esm.js +4 -4
  375. package/settings-filled.esm.js +3 -3
  376. package/settings.esm.js +4 -4
  377. package/shield-code.esm.js +5 -5
  378. package/shield-filled.esm.js +3 -3
  379. package/shield-half.esm.js +3 -3
  380. package/shield.esm.js +3 -3
  381. package/shopping-bag.esm.js +3 -3
  382. package/shopping-cart-filled.esm.js +3 -3
  383. package/shopping-cart.esm.js +3 -3
  384. package/show-3d.esm.js +8 -8
  385. package/sitemap-1.esm.js +3 -3
  386. package/sitemap.esm.js +3 -3
  387. package/slash.esm.js +3 -3
  388. package/speedtest.esm.js +3 -3
  389. package/sphere.esm.js +3 -3
  390. package/square-number-0.esm.js +4 -4
  391. package/square-number-1.esm.js +4 -4
  392. package/square-number-2.esm.js +4 -4
  393. package/square-number-3.esm.js +4 -4
  394. package/stack.esm.js +3 -3
  395. package/star.esm.js +3 -3
  396. package/state-machine.esm.js +4 -4
  397. package/status-danger-hmi.esm.js +3 -3
  398. package/status-small.esm.js +3 -3
  399. package/status-warning-hmi.esm.js +3 -3
  400. package/stopwatch.esm.js +10 -10
  401. package/subtask.esm.js +3 -3
  402. package/switch-horizontal.esm.js +6 -6
  403. package/switch-vertical.esm.js +3 -3
  404. package/tag.esm.js +4 -4
  405. package/target.esm.js +5 -5
  406. package/template.esm.js +11 -11
  407. package/terminal-2.esm.js +3 -3
  408. package/terminal.esm.js +3 -3
  409. package/text-plus-1.esm.js +12 -12
  410. package/timeline.esm.js +3 -3
  411. package/tiny-caret-down.esm.js +3 -3
  412. package/tiny-caret-right.esm.js +3 -3
  413. package/tool-1.esm.js +3 -3
  414. package/tool.esm.js +3 -3
  415. package/topology-bus.esm.js +3 -3
  416. package/topology-complex.esm.js +3 -3
  417. package/topology-full-hierarchy.esm.js +3 -3
  418. package/topology-full.esm.js +3 -3
  419. package/topology-ring-2.esm.js +3 -3
  420. package/topology-ring-3.esm.js +3 -3
  421. package/topology-ring.esm.js +3 -3
  422. package/topology-star-3.esm.js +3 -3
  423. package/trash.esm.js +3 -3
  424. package/trending-up.esm.js +8 -8
  425. package/truck-delivery.esm.js +3 -3
  426. package/truck-loading.esm.js +3 -3
  427. package/un-pinned.esm.js +4 -4
  428. package/unlink.esm.js +3 -3
  429. package/unplugged.esm.js +7 -7
  430. package/update.esm.js +8 -8
  431. package/upload.esm.js +3 -3
  432. package/user-circle.esm.js +5 -5
  433. package/user-off.esm.js +6 -6
  434. package/user-plus.esm.js +3 -3
  435. package/user-shield.esm.js +6 -6
  436. package/user.esm.js +3 -3
  437. package/users-plus.esm.js +3 -3
  438. package/users.esm.js +3 -3
  439. package/variable.esm.js +3 -3
  440. package/vention.esm.js +3 -3
  441. package/versions.esm.js +3 -3
  442. package/video.esm.js +4 -4
  443. package/web-link.esm.js +3 -3
  444. package/weight-2.esm.js +3 -3
  445. package/weight.esm.js +4 -4
  446. package/wifi-low.esm.js +3 -3
  447. package/wifi-lowest.esm.js +3 -3
  448. package/wifi-off.esm.js +3 -3
  449. package/wifi.esm.js +3 -3
  450. package/world-download.esm.js +3 -3
  451. package/world.esm.js +3 -3
  452. package/xyz-1.esm.js +5 -5
  453. package/xyz-2.esm.js +5 -5
package/index.esm.js CHANGED
@@ -1,10 +1,10 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
2
  import { Typography, Button, Stack, Box as Box$1, Grid, IconButton, ClickAwayListener, Modal, CircularProgress as CircularProgress$1, linearProgressClasses, LinearProgress, InputAdornment, TextField, Radio, FormControlLabel, FormControl, Select, MenuItem, FormHelperText, ButtonGroup, Paper, Card, CardMedia, CardContent, ListItemIcon, ListItemText, Popover, MenuList, useTheme as useTheme$1, Drawer, Tooltip, Checkbox } from '@mui/material';
2
3
  import { IconCheck, IconAlertTriangleFilled, IconAlertTriangle, IconExclamationMark, IconExternalLink, IconX, IconInfoCircleFilled, IconCircleCheckFilled, IconChevronUp, IconChevronDown, IconInfoCircle, IconInfoSmall, IconMinus, IconPlus, IconLoader2, IconCaretRightFilled, IconChevronsRight, IconChevronsLeft, IconChevronRight } from '@tabler/icons-react';
3
4
  import { forwardRef, useState, cloneElement, useRef, useEffect, useCallback, lazy, memo, Suspense, useMemo, createContext, useContext, useImperativeHandle, Children, Fragment as Fragment$1, useReducer } from 'react';
4
5
  import { tss } from 'tss-react/mui';
5
6
  import Box from '@mui/material/Box';
6
7
  import CircularProgress from '@mui/material/CircularProgress';
7
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
8
8
  import { createTheme, useTheme } from '@mui/material/styles';
9
9
  import Draggable from 'react-draggable';
10
10
  import Slider from '@mui/material/Slider';
@@ -1639,21 +1639,44 @@ for (var COLLECTION_NAME in DOMIterables) {
1639
1639
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1640
1640
 
1641
1641
  // utility functions for Machine UI here
1642
-
1643
1642
  //The following function already exists in shared-utils.ts but that increases bundle size for Machine UI package
1644
1643
  function applyDefaultProps(inputProps, defaultProps) {
1645
- return Object.assign({}, defaultProps, inputProps);
1644
+ return Object.assign(Object.assign({}, defaultProps), inputProps);
1646
1645
  }
1647
1646
 
1648
- function _objectWithoutPropertiesLoose(r, e) {
1649
- if (null == r) return {};
1650
- var t = {};
1651
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
1652
- if (-1 !== e.indexOf(n)) continue;
1653
- t[n] = r[n];
1654
- }
1655
- return t;
1656
- }
1647
+ /******************************************************************************
1648
+ Copyright (c) Microsoft Corporation.
1649
+
1650
+ Permission to use, copy, modify, and/or distribute this software for any
1651
+ purpose with or without fee is hereby granted.
1652
+
1653
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1654
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1655
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1656
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1657
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1658
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1659
+ PERFORMANCE OF THIS SOFTWARE.
1660
+ ***************************************************************************** */
1661
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
1662
+
1663
+
1664
+ function __rest(s, e) {
1665
+ var t = {};
1666
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1667
+ t[p] = s[p];
1668
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1669
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1670
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1671
+ t[p[i]] = s[p[i]];
1672
+ }
1673
+ return t;
1674
+ }
1675
+
1676
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1677
+ var e = new Error(message);
1678
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1679
+ };
1657
1680
 
1658
1681
  function getButtonStylingPropertiesGivenProps(variant, size, theme) {
1659
1682
  const {
@@ -1793,33 +1816,33 @@ const VentionSpinner = props => {
1793
1816
  stroke: 2,
1794
1817
  size: iconSize
1795
1818
  };
1796
- const successIconProperties = Object.assign({}, iconProperties, {
1819
+ const successIconProperties = Object.assign(Object.assign({}, iconProperties), {
1797
1820
  "data-testid": "successIcon"
1798
1821
  });
1799
- const errorIconProperties = Object.assign({}, iconProperties, {
1822
+ const errorIconProperties = Object.assign(Object.assign({}, iconProperties), {
1800
1823
  "data-testid": "errorIcon"
1801
1824
  });
1802
1825
  const spinnerProperties = {
1803
1826
  size: spinnerSize,
1804
1827
  thickness
1805
1828
  };
1806
- return /*#__PURE__*/jsxs(Box, {
1829
+ return jsxs(Box, {
1807
1830
  className: classes.container,
1808
- children: [/*#__PURE__*/jsxs(Box, {
1831
+ children: [jsxs(Box, {
1809
1832
  className: spinnerContainerClass,
1810
1833
  "data-testid": "spinnerContainer",
1811
- children: [props.type === "progress" && /*#__PURE__*/jsx(CircularProgress, Object.assign({
1834
+ children: [props.type === "progress" && jsx(CircularProgress, Object.assign({
1812
1835
  className: classes.backgroundCircle,
1813
1836
  variant: "determinate",
1814
1837
  value: 100,
1815
1838
  "data-testid": "backgroundSpinner"
1816
- }, spinnerProperties)), isSpinningState && /*#__PURE__*/jsx(CircularProgress, Object.assign({
1839
+ }, spinnerProperties)), isSpinningState && jsx(CircularProgress, Object.assign({
1817
1840
  className: classes.main,
1818
1841
  variant: props.type === "indeterminate" ? "indeterminate" : "determinate",
1819
1842
  value: props.value,
1820
1843
  "data-testid": "mainSpinner"
1821
- }, spinnerProperties)), props.type === "success" && /*#__PURE__*/jsx(IconCheck, Object.assign({}, successIconProperties)), props.type === "error" && spinnerSize > SPINNER_SIZES.small.size && /*#__PURE__*/jsx(IconAlertTriangleFilled, Object.assign({}, errorIconProperties)), props.type === "error" && (props.size === "small" || props.size === "x-small") && /*#__PURE__*/jsx(IconAlertTriangle, Object.assign({}, errorIconProperties)), props.type === "error" && props.size === "xx-small" && /*#__PURE__*/jsx(IconExclamationMark, Object.assign({}, errorIconProperties))]
1822
- }), props.label && /*#__PURE__*/jsx(Typography, {
1844
+ }, spinnerProperties)), props.type === "success" && jsx(IconCheck, Object.assign({}, successIconProperties)), props.type === "error" && spinnerSize > SPINNER_SIZES.small.size && jsx(IconAlertTriangleFilled, Object.assign({}, errorIconProperties)), props.type === "error" && (props.size === "small" || props.size === "x-small") && jsx(IconAlertTriangle, Object.assign({}, errorIconProperties)), props.type === "error" && props.size === "xx-small" && jsx(IconExclamationMark, Object.assign({}, errorIconProperties))]
1845
+ }), props.label && jsx(Typography, {
1823
1846
  variant: "uiText14Regular",
1824
1847
  align: "center",
1825
1848
  children: props.label
@@ -1858,13 +1881,13 @@ const useStyles$I = tss.withParams().create(({
1858
1881
  position: "relative",
1859
1882
  display: "block"
1860
1883
  }, containerSize),
1861
- statusContainer: Object.assign({
1884
+ statusContainer: Object.assign(Object.assign({
1862
1885
  display: "flex",
1863
1886
  justifyContent: "center",
1864
1887
  alignItems: "center",
1865
1888
  borderRadius: "50%",
1866
1889
  backgroundColor: statusContainerColor
1867
- }, containerSize, {
1890
+ }, containerSize), {
1868
1891
  "& .tabler-icon": {
1869
1892
  color: statusIconColor
1870
1893
  }
@@ -2509,12 +2532,12 @@ const machineUiTheme = createTheme({
2509
2532
  styleOverrides: {
2510
2533
  root: ({
2511
2534
  theme
2512
- }) => Object.assign({}, theme.typography.uiText14SemiBold, {
2535
+ }) => Object.assign(Object.assign(Object.assign(Object.assign({}, theme.typography.uiText14SemiBold), {
2513
2536
  transform: "none",
2514
2537
  transition: "none",
2515
2538
  position: "relative",
2516
2539
  color: theme.palette.text.primary
2517
- }, theme.typography.h5, {
2540
+ }), theme.typography.h5), {
2518
2541
  "&.Mui-focused": {
2519
2542
  color: theme.palette.text.primary
2520
2543
  },
@@ -2528,13 +2551,13 @@ const machineUiTheme = createTheme({
2528
2551
  styleOverrides: {
2529
2552
  root: ({
2530
2553
  theme
2531
- }) => Object.assign({
2554
+ }) => Object.assign(Object.assign({
2532
2555
  margin: 0,
2533
2556
  display: "flex",
2534
2557
  alignItems: "flex-start",
2535
2558
  gap: "2px",
2536
2559
  alignSelf: "stretch"
2537
- }, theme.typography.uiText12Regular, {
2560
+ }, theme.typography.uiText12Regular), {
2538
2561
  "&.Mui-error": {
2539
2562
  color: theme.palette.text.negative
2540
2563
  }
@@ -2551,17 +2574,12 @@ const machineUiTheme = createTheme({
2551
2574
  }
2552
2575
  }
2553
2576
  });
2554
- const machineUiHmiTheme = createTheme(Object.assign({}, machineUiTheme, {
2555
- custom: Object.assign({}, machineUiTheme.custom, {
2577
+ const machineUiHmiTheme = createTheme(Object.assign(Object.assign({}, machineUiTheme), {
2578
+ custom: Object.assign(Object.assign({}, machineUiTheme.custom), {
2556
2579
  iconStrokeWidth: "1.5px"
2557
2580
  })
2558
2581
  }));
2559
2582
 
2560
- // module augmentation for custom theme variables
2561
-
2562
- // Feel free to extend this further by appending more x's to sizes
2563
-
2564
- const _excluded$d = ["variant", "size", "fullWidth", "className", "disabled", "iconLeft", "iconRight", "onClick", "type", "children", "labelText", "loading"];
2565
2583
  const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
2566
2584
  const {
2567
2585
  variant = "filled-brand",
@@ -2577,7 +2595,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
2577
2595
  labelText = "Button",
2578
2596
  loading = false
2579
2597
  } = props,
2580
- other = _objectWithoutPropertiesLoose(props, _excluded$d);
2598
+ other = __rest(props, ["variant", "size", "fullWidth", "className", "disabled", "iconLeft", "iconRight", "onClick", "type", "children", "labelText", "loading"]);
2581
2599
  const {
2582
2600
  classes,
2583
2601
  cx
@@ -2586,7 +2604,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
2586
2604
  size: size,
2587
2605
  fullWidth: fullWidth
2588
2606
  });
2589
- return /*#__PURE__*/jsx(Button, Object.assign({
2607
+ return jsx(Button, Object.assign({
2590
2608
  ref: ref,
2591
2609
  className: cx(classes.root, className),
2592
2610
  disableRipple: true,
@@ -2597,10 +2615,10 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
2597
2615
  endIcon: iconRight,
2598
2616
  fullWidth: fullWidth
2599
2617
  }, other, {
2600
- children: loading ? /*#__PURE__*/jsx(VentionSpinner, {
2618
+ children: loading ? jsx(VentionSpinner, {
2601
2619
  color: getSpinnerColor(variant),
2602
2620
  size: getSpinnerSize(size)
2603
- }) : /*#__PURE__*/jsx(Typography, {
2621
+ }) : jsx(Typography, {
2604
2622
  variant: getButtonTypography(size),
2605
2623
  className: classes.label,
2606
2624
  children: children || labelText
@@ -2621,7 +2639,7 @@ const useStyles$H = tss.withParams().create(({
2621
2639
  textOverflow: "ellipsis",
2622
2640
  whiteSpace: "nowrap"
2623
2641
  },
2624
- root: Object.assign({
2642
+ root: Object.assign(Object.assign({
2625
2643
  height: getButtonHeight(size, theme),
2626
2644
  backgroundColor: stylingProperties.backgroundColor,
2627
2645
  color: stylingProperties.textColor,
@@ -2630,7 +2648,7 @@ const useStyles$H = tss.withParams().create(({
2630
2648
  padding
2631
2649
  }, fullWidth && {
2632
2650
  width: "100%"
2633
- }, {
2651
+ }), {
2634
2652
  "&:hover": {
2635
2653
  backgroundColor: stylingProperties.backgroundColorOnHover
2636
2654
  },
@@ -2719,13 +2737,13 @@ const VentionLink = inputProps => {
2719
2737
  underlined: linkProps.underlined,
2720
2738
  size: linkProps.size
2721
2739
  });
2722
- return /*#__PURE__*/jsxs(Button, {
2740
+ return jsxs(Button, {
2723
2741
  className: classes.root,
2724
2742
  disableRipple: true,
2725
2743
  disabled: linkProps.disabled,
2726
2744
  onClick: linkProps.onClick,
2727
2745
  "data-testid": linkProps["data-testid"],
2728
- children: [linkProps.labelText, linkProps.external ? /*#__PURE__*/jsx(IconExternalLink, {
2746
+ children: [linkProps.labelText, linkProps.external ? jsx(IconExternalLink, {
2729
2747
  stroke: 1.25,
2730
2748
  size: linkProps.size === "medium" ? 14 : 16,
2731
2749
  className: classes.linkIcon
@@ -2788,21 +2806,21 @@ const VentionAlertControls = alertControlProps => {
2788
2806
  const {
2789
2807
  classes
2790
2808
  } = useStyles$F(alertControlProps);
2791
- return alertControlProps.display ? /*#__PURE__*/jsxs(Stack, {
2809
+ return alertControlProps.display ? jsxs(Stack, {
2792
2810
  className: classes.alertControls,
2793
- children: [alertControlProps.primaryButtonText ? /*#__PURE__*/jsx(VentionButton, {
2811
+ children: [alertControlProps.primaryButtonText ? jsx(VentionButton, {
2794
2812
  onClick: alertControlProps.onPrimaryButtonClick,
2795
2813
  labelText: alertControlProps.primaryButtonText,
2796
2814
  size: alertControlProps.size,
2797
2815
  variant: "shaded",
2798
2816
  "data-testid": "alertPrimaryBtn"
2799
- }) : null, alertControlProps.secondaryButtonText ? /*#__PURE__*/jsx(VentionButton, {
2817
+ }) : null, alertControlProps.secondaryButtonText ? jsx(VentionButton, {
2800
2818
  onClick: alertControlProps.onSecondaryButtonClick,
2801
2819
  labelText: alertControlProps.secondaryButtonText,
2802
2820
  size: alertControlProps.size,
2803
2821
  variant: "text-only",
2804
2822
  "data-testid": "alertSecondaryBtn"
2805
- }) : null, alertControlProps.linkText ? /*#__PURE__*/jsx(VentionLink, {
2823
+ }) : null, alertControlProps.linkText ? jsx(VentionLink, {
2806
2824
  onClick: alertControlProps.onLinkClick,
2807
2825
  labelText: alertControlProps.linkText,
2808
2826
  size: alertControlProps.size === "small" ? "medium" : "large"
@@ -2834,54 +2852,54 @@ const VentionAlert = inputProps => {
2834
2852
  const hasControlProps = !!(alertProps.linkText || alertProps.primaryButtonText || alertProps.secondaryButtonText);
2835
2853
  const {
2836
2854
  classes
2837
- } = useStyles$E(Object.assign({}, alertProps, {
2855
+ } = useStyles$E(Object.assign(Object.assign({}, alertProps), {
2838
2856
  hasControlProps
2839
2857
  }));
2840
2858
  const [titleTypography, descriptionTypography] = getTypographyVariant$2(alertProps.size);
2841
- return visible ? /*#__PURE__*/jsx(Box$1, {
2859
+ return visible ? jsx(Box$1, {
2842
2860
  "data-testid": "alertRootDiv",
2843
2861
  className: classes.root,
2844
- children: /*#__PURE__*/jsxs(Grid, {
2862
+ children: jsxs(Grid, {
2845
2863
  container: true,
2846
2864
  spacing: 0,
2847
2865
  className: classes.alertGridContainer,
2848
- children: [alertProps.leftIcon ? /*#__PURE__*/jsx(Grid, {
2866
+ children: [alertProps.leftIcon ? jsx(Grid, {
2849
2867
  "data-testid": "leftIcon",
2850
2868
  className: classes.leftIcon,
2851
2869
  children: /*#__PURE__*/cloneElement(alertProps.leftIcon, {
2852
2870
  size: getIconSize$1(alertProps.size)
2853
2871
  })
2854
- }) : null, /*#__PURE__*/jsxs(Grid, {
2872
+ }) : null, jsxs(Grid, {
2855
2873
  className: classes.alertContent,
2856
- children: [alertProps.title ? /*#__PURE__*/jsx(Typography, {
2874
+ children: [alertProps.title ? jsx(Typography, {
2857
2875
  variant: titleTypography,
2858
2876
  className: classes.title,
2859
2877
  children: alertProps.title
2860
- }) : null, /*#__PURE__*/jsx(Typography, {
2878
+ }) : null, jsx(Typography, {
2861
2879
  variant: descriptionTypography,
2862
2880
  className: classes.desc,
2863
2881
  children: alertProps.descriptionText
2864
- }), /*#__PURE__*/jsx(VentionAlertControls, Object.assign({}, alertProps, {
2882
+ }), jsx(VentionAlertControls, Object.assign({}, alertProps, {
2865
2883
  display: !alertProps.isSingleLine
2866
2884
  }))]
2867
- }), /*#__PURE__*/jsxs(Grid, {
2885
+ }), jsxs(Grid, {
2868
2886
  item: true,
2869
2887
  className: classes.rightColumn,
2870
- children: [/*#__PURE__*/jsx(VentionAlertControls, Object.assign({}, alertProps, {
2888
+ children: [jsx(VentionAlertControls, Object.assign({}, alertProps, {
2871
2889
  display: alertProps.isSingleLine
2872
- })), alertProps.rightIcon ? /*#__PURE__*/jsx(Grid, {
2890
+ })), alertProps.rightIcon ? jsx(Grid, {
2873
2891
  "data-testid": "rightIcon",
2874
2892
  className: classes.rightIcon,
2875
2893
  children: /*#__PURE__*/cloneElement(alertProps.rightIcon, {
2876
2894
  size: getIconSize$1(alertProps.size)
2877
2895
  })
2878
- }) : null, alertProps.isCloseable ? /*#__PURE__*/jsx(Grid, {
2896
+ }) : null, alertProps.isCloseable ? jsx(Grid, {
2879
2897
  width: 16,
2880
- children: /*#__PURE__*/jsx(Button, {
2898
+ children: jsx(Button, {
2881
2899
  "data-testid": "closeButton",
2882
2900
  className: classes.closeButton,
2883
2901
  onClick: alertProps.onCloseButtonClick,
2884
- children: /*#__PURE__*/jsx(IconX, {
2902
+ children: jsx(IconX, {
2885
2903
  stroke: 1,
2886
2904
  size: 16
2887
2905
  })
@@ -3070,13 +3088,13 @@ const getAlertColors = (severity, theme) => {
3070
3088
  const getAlertIcon = severity => {
3071
3089
  switch (severity) {
3072
3090
  case "warn":
3073
- return /*#__PURE__*/jsx(IconAlertTriangleFilled, {});
3091
+ return jsx(IconAlertTriangleFilled, {});
3074
3092
  case "error":
3075
- return /*#__PURE__*/jsx(IconAlertTriangleFilled, {});
3093
+ return jsx(IconAlertTriangleFilled, {});
3076
3094
  case "success":
3077
- return /*#__PURE__*/jsx(IconCircleCheckFilled, {});
3095
+ return jsx(IconCircleCheckFilled, {});
3078
3096
  case "info":
3079
- return /*#__PURE__*/jsx(IconInfoCircleFilled, {});
3097
+ return jsx(IconInfoCircleFilled, {});
3080
3098
  }
3081
3099
  };
3082
3100
  const getIconSize$1 = size => {
@@ -3121,9 +3139,9 @@ const VentionBadge = props => {
3121
3139
  color: props.color,
3122
3140
  variant: props.variant
3123
3141
  });
3124
- return /*#__PURE__*/jsxs("div", {
3142
+ return jsxs("div", {
3125
3143
  className: cx(classes.root, props.className),
3126
- children: [props.iconLeft, /*#__PURE__*/jsx(Typography, {
3144
+ children: [props.iconLeft, jsx(Typography, {
3127
3145
  textAlign: "center",
3128
3146
  variant: getBadgeTypographyVariant(props.size),
3129
3147
  style: {
@@ -3290,7 +3308,6 @@ const getVentionBadgeColors = (color, variant, theme) => {
3290
3308
  return badgeStyleMap[color][variant](theme);
3291
3309
  };
3292
3310
 
3293
- const _excluded$c = ["variant", "size", "className", "disabled", "onClick", "children"];
3294
3311
  const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
3295
3312
  const {
3296
3313
  variant = "filled-brand",
@@ -3300,7 +3317,7 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
3300
3317
  onClick,
3301
3318
  children
3302
3319
  } = inputProps,
3303
- other = _objectWithoutPropertiesLoose(inputProps, _excluded$c);
3320
+ other = __rest(inputProps, ["variant", "size", "className", "disabled", "onClick", "children"]);
3304
3321
  const {
3305
3322
  classes,
3306
3323
  cx
@@ -3308,7 +3325,7 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
3308
3325
  variant: variant,
3309
3326
  size: size
3310
3327
  });
3311
- return /*#__PURE__*/jsx(IconButton, Object.assign({
3328
+ return jsx(IconButton, Object.assign({
3312
3329
  ref: ref,
3313
3330
  className: cx(classes.root, className),
3314
3331
  disableRipple: true,
@@ -3350,12 +3367,11 @@ const useStyles$C = tss.withParams().create(({
3350
3367
  };
3351
3368
  });
3352
3369
 
3353
- const _excluded$b = ["variant", "size", "className", "disabled", "onClose", "onOpen", "isOpen", "icon", "badgeText", "label", "stroke", "contentColor", "children", "menuPlacement", "menuAlignment", "onClick"];
3354
3370
  const menuTestIds = {
3355
3371
  menuRootDiv: "menuRootDiv"
3356
3372
  };
3357
- const VentionDropdownButton = _ref => {
3358
- let {
3373
+ const VentionDropdownButton = _a => {
3374
+ var {
3359
3375
  variant = "simple",
3360
3376
  size = "small",
3361
3377
  className,
@@ -3372,8 +3388,8 @@ const VentionDropdownButton = _ref => {
3372
3388
  menuPlacement = "bottom",
3373
3389
  menuAlignment = "start",
3374
3390
  onClick
3375
- } = _ref,
3376
- other = _objectWithoutPropertiesLoose(_ref, _excluded$b);
3391
+ } = _a,
3392
+ other = __rest(_a, ["variant", "size", "className", "disabled", "onClose", "onOpen", "isOpen", "icon", "badgeText", "label", "stroke", "contentColor", "children", "menuPlacement", "menuAlignment", "onClick"]);
3377
3393
  const {
3378
3394
  classes,
3379
3395
  cx
@@ -3393,46 +3409,46 @@ const VentionDropdownButton = _ref => {
3393
3409
  const handleClick = useCallback(event => {
3394
3410
  if (!showDropdown) {
3395
3411
  setShowDropdownInternal(true);
3396
- onOpen == null || onOpen();
3412
+ onOpen === null || onOpen === void 0 ? void 0 : onOpen();
3397
3413
  } else {
3398
3414
  setShowDropdownInternal(false);
3399
- onClose == null || onClose();
3415
+ onClose === null || onClose === void 0 ? void 0 : onClose();
3400
3416
  }
3401
- onClick == null || onClick(event);
3417
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
3402
3418
  }, [showDropdown, onClose, onOpen, onClick]);
3403
- return /*#__PURE__*/jsx(ClickAwayListener, {
3419
+ return jsx(ClickAwayListener, {
3404
3420
  onClickAway: () => {
3405
3421
  setShowDropdownInternal(false);
3406
- onClose == null || onClose();
3422
+ onClose === null || onClose === void 0 ? void 0 : onClose();
3407
3423
  },
3408
- children: /*#__PURE__*/jsxs("div", {
3424
+ children: jsxs("div", {
3409
3425
  style: {
3410
3426
  display: "inline-block",
3411
3427
  position: "relative"
3412
3428
  },
3413
- children: [/*#__PURE__*/jsxs(IconButton, Object.assign({
3429
+ children: [jsxs(IconButton, Object.assign({
3414
3430
  ref: ref,
3415
3431
  className: cx(classes.root, className),
3416
3432
  disableRipple: true
3417
3433
  }, other, {
3418
3434
  disabled: disabled,
3419
3435
  onClick: handleClick,
3420
- children: [icon, label && /*#__PURE__*/jsx(Typography, {
3436
+ children: [icon, label && jsx(Typography, {
3421
3437
  className: classes.label,
3422
3438
  variant: LABEL_VARIANTS[size],
3423
3439
  children: label
3424
- }), badgeText && /*#__PURE__*/jsx(VentionBadge, {
3440
+ }), badgeText && jsx(VentionBadge, {
3425
3441
  size: "small",
3426
3442
  color: "slate",
3427
3443
  text: badgeText,
3428
3444
  variant: "filled",
3429
3445
  className: classes.badge
3430
- }), /*#__PURE__*/jsx(Chevron, {
3446
+ }), jsx(Chevron, {
3431
3447
  stroke: stroke,
3432
3448
  size: 16,
3433
3449
  color: contentColor
3434
3450
  })]
3435
- })), showDropdown && /*#__PURE__*/jsx("div", {
3451
+ })), showDropdown && jsx("div", {
3436
3452
  "data-testid": menuTestIds.menuRootDiv,
3437
3453
  className: classes.menuContainer,
3438
3454
  children: children
@@ -3449,7 +3465,7 @@ const useStyles$B = tss.withParams().create(({
3449
3465
  theme
3450
3466
  }) => {
3451
3467
  const stylingProperties = getButtonStylingPropertiesGivenProps(variant, size, theme);
3452
- const color = contentColor != null ? contentColor : theme.palette.text.primary;
3468
+ const color = contentColor !== null && contentColor !== void 0 ? contentColor : theme.palette.text.primary;
3453
3469
  return {
3454
3470
  root: {
3455
3471
  gap: BUTTON_GAPS[size],
@@ -3520,7 +3536,7 @@ const getMenuPositionStyles = (placement, alignment) => {
3520
3536
  bottom: 0
3521
3537
  }
3522
3538
  };
3523
- return Object.assign({}, placementStyles[placement], alignmentStyles[alignment]);
3539
+ return Object.assign(Object.assign({}, placementStyles[placement]), alignmentStyles[alignment]);
3524
3540
  };
3525
3541
  const LABEL_VARIANTS = {
3526
3542
  small: "uiText12Medium",
@@ -3543,7 +3559,7 @@ const defaultProps$6 = {
3543
3559
  size: "medium",
3544
3560
  descriptionText: "Description placeholder",
3545
3561
  variant: "shaded",
3546
- leftIcon: /*#__PURE__*/jsx(IconInfoCircle, {
3562
+ leftIcon: jsx(IconInfoCircle, {
3547
3563
  stroke: 1,
3548
3564
  size: 16
3549
3565
  })
@@ -3559,7 +3575,7 @@ const VentionCallout = inputProps => {
3559
3575
  });
3560
3576
  const theme = useTheme();
3561
3577
  const [visible, setVisible] = useState(true);
3562
- return visible ? /*#__PURE__*/jsx(Box$1, {
3578
+ return visible ? jsx(Box$1, {
3563
3579
  "data-testid": "calloutRootDiv",
3564
3580
  display: "flex",
3565
3581
  justifyContent: "center",
@@ -3570,12 +3586,12 @@ const VentionCallout = inputProps => {
3570
3586
  border: `1px solid var(--Border-Default-border-default, ${theme.palette.border.main})`,
3571
3587
  className: classes.root,
3572
3588
  padding: getCalloutPadding(calloutProps),
3573
- children: /*#__PURE__*/jsxs(Grid, {
3589
+ children: jsxs(Grid, {
3574
3590
  container: true,
3575
3591
  spacing: 0,
3576
3592
  flexWrap: "nowrap",
3577
3593
  lineHeight: "0px",
3578
- children: [calloutProps.leftIcon ? /*#__PURE__*/jsx(Grid, {
3594
+ children: [calloutProps.leftIcon ? jsx(Grid, {
3579
3595
  item: true,
3580
3596
  width: "fit-content",
3581
3597
  "data-testid": "leftIcon",
@@ -3584,7 +3600,7 @@ const VentionCallout = inputProps => {
3584
3600
  children: /*#__PURE__*/cloneElement(calloutProps.leftIcon, {
3585
3601
  size: calloutProps.size === "small" ? 16 : 24
3586
3602
  })
3587
- }) : null, /*#__PURE__*/jsxs(Grid, {
3603
+ }) : null, jsxs(Grid, {
3588
3604
  item: true,
3589
3605
  width: "auto",
3590
3606
  marginRight: getMarginRightValueForContent(calloutProps),
@@ -3593,47 +3609,47 @@ const VentionCallout = inputProps => {
3593
3609
  flexDirection: calloutProps.isSingleLine ? "row" : "column",
3594
3610
  gap: getGapSpaceForContent(calloutProps.isSingleLine, calloutProps.size),
3595
3611
  alignItems: calloutProps.isSingleLine ? "center" : "normal",
3596
- children: [calloutProps.title ? /*#__PURE__*/jsx(Typography, {
3612
+ children: [calloutProps.title ? jsx(Typography, {
3597
3613
  variant: calloutProps.size === "small" ? "uiText12SemiBold" : "uiText14SemiBold",
3598
3614
  className: classes.title,
3599
3615
  children: calloutProps.title
3600
- }) : null, /*#__PURE__*/jsx(Typography, {
3616
+ }) : null, jsx(Typography, {
3601
3617
  variant: calloutProps.size === "small" ? "uiText12Regular" : "uiText14Regular",
3602
3618
  className: classes.desc,
3603
3619
  style: {
3604
3620
  whiteSpace: "pre-wrap"
3605
3621
  },
3606
3622
  children: calloutProps.descriptionText
3607
- }), /*#__PURE__*/jsxs(Stack, {
3623
+ }), jsxs(Stack, {
3608
3624
  flexDirection: calloutProps.isSingleLine ? "row-reverse" : "row",
3609
3625
  gap: "8px",
3610
- children: [calloutProps.primaryButtonText ? /*#__PURE__*/jsx(VentionButton, {
3626
+ children: [calloutProps.primaryButtonText ? jsx(VentionButton, {
3611
3627
  onClick: calloutProps.onPrimaryButtonClick,
3612
3628
  labelText: calloutProps.primaryButtonText,
3613
3629
  size: calloutProps.size === "small" ? "small" : "medium",
3614
3630
  variant: calloutProps.primaryButtonVariant ? calloutProps.primaryButtonVariant : "filled-brand",
3615
3631
  "data-testid": "calloutPrimaryBtn"
3616
- }) : null, calloutProps.secondaryButtonText ? /*#__PURE__*/jsx(VentionButton, {
3632
+ }) : null, calloutProps.secondaryButtonText ? jsx(VentionButton, {
3617
3633
  variant: "outline",
3618
3634
  onClick: calloutProps.onSecondaryButtonClick,
3619
3635
  labelText: calloutProps.secondaryButtonText,
3620
3636
  size: calloutProps.size === "small" ? "small" : "medium",
3621
3637
  "data-testid": "calloutSecondaryBtn"
3622
- }) : null, calloutProps.linkText ? /*#__PURE__*/jsx(VentionLink, {
3638
+ }) : null, calloutProps.linkText ? jsx(VentionLink, {
3623
3639
  onClick: calloutProps.onLinkClick,
3624
3640
  labelText: calloutProps.linkText,
3625
3641
  size: calloutProps.size === "small" ? "medium" : "large"
3626
3642
  }) : null]
3627
3643
  })]
3628
- }), calloutProps.isCloseable ? /*#__PURE__*/jsx(Grid, {
3644
+ }), calloutProps.isCloseable ? jsx(Grid, {
3629
3645
  item: true,
3630
3646
  width: 16,
3631
3647
  alignSelf: calloutProps.isSingleLine ? "center" : "normal",
3632
- children: /*#__PURE__*/jsx(Button, {
3648
+ children: jsx(Button, {
3633
3649
  className: classes.closeButton,
3634
3650
  "data-testid": "closeButton",
3635
3651
  onClick: () => setVisible(false),
3636
- children: /*#__PURE__*/jsx(IconX, {
3652
+ children: jsx(IconX, {
3637
3653
  stroke: 1,
3638
3654
  size: 16,
3639
3655
  color: theme.palette.icon.primary
@@ -3866,10 +3882,10 @@ const VentionCounter = props => {
3866
3882
  color: props.color,
3867
3883
  variant: props.variant
3868
3884
  });
3869
- return /*#__PURE__*/jsx("div", {
3885
+ return jsx("div", {
3870
3886
  className: classes.root,
3871
3887
  "data-testid": props["data-testid"],
3872
- children: /*#__PURE__*/jsx(Typography, {
3888
+ children: jsx(Typography, {
3873
3889
  textAlign: "center",
3874
3890
  variant: props.size === "small" ? "uiText12Medium" : "uiText14Medium",
3875
3891
  children: getShownValue(props)
@@ -4023,7 +4039,6 @@ const getColors$3 = (color, variant, theme) => {
4023
4039
  return counterStyleMap[color][variant](theme);
4024
4040
  };
4025
4041
 
4026
- const _excluded$a = ["open", "className", "ownerState"];
4027
4042
  const VentionModalBase = props => {
4028
4043
  const {
4029
4044
  modalSize = "medium",
@@ -4049,10 +4064,11 @@ const VentionModalBase = props => {
4049
4064
  const Backdrop = /*#__PURE__*/forwardRef((props, ref) => {
4050
4065
  const {
4051
4066
  open,
4052
- className
4067
+ className,
4068
+ ownerState
4053
4069
  } = props,
4054
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
4055
- return /*#__PURE__*/jsx("div", Object.assign({
4070
+ other = __rest(props, ["open", "className", "ownerState"]);
4071
+ return jsx("div", Object.assign({
4056
4072
  className: cx(classes.backdrop, {
4057
4073
  "base-Backdrop-open": open
4058
4074
  }, className),
@@ -4062,21 +4078,21 @@ const VentionModalBase = props => {
4062
4078
  }));
4063
4079
  });
4064
4080
  const iconSize = isTouchDevice ? machineUiTheme.spacing(7) : machineUiTheme.spacing(4);
4065
- return /*#__PURE__*/jsx(Modal, {
4081
+ return jsx(Modal, {
4066
4082
  open: props.isOpen,
4067
4083
  onClose: handleClose,
4068
4084
  slots: {
4069
4085
  backdrop: Backdrop
4070
4086
  },
4071
4087
  className: classes.modal,
4072
- children: /*#__PURE__*/jsxs("div", {
4088
+ children: jsxs("div", {
4073
4089
  className: classes.modalContainer,
4074
- "data-testid": dataTestId != null ? dataTestId : ventionModalBaseTestIds.modalContainer,
4075
- children: [/*#__PURE__*/jsx("div", {
4090
+ "data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : ventionModalBaseTestIds.modalContainer,
4091
+ children: [jsx("div", {
4076
4092
  className: classes.closeIconButton,
4077
4093
  onClick: props.onClose,
4078
4094
  "data-testid": ventionModalBaseTestIds.closeIcon,
4079
- children: /*#__PURE__*/jsx(IconX, {
4095
+ children: jsx(IconX, {
4080
4096
  stroke: 1,
4081
4097
  size: iconSize
4082
4098
  })
@@ -4170,7 +4186,7 @@ const ventionModalBaseTestIds = {
4170
4186
  };
4171
4187
 
4172
4188
  const VentionModal = props => {
4173
- var _props$dataTestIds$mo, _props$dataTestIds, _props$dataTestIds$fo, _props$dataTestIds2;
4189
+ var _a, _b, _c, _d;
4174
4190
  const {
4175
4191
  modalSize = "medium",
4176
4192
  isTouchDevice = false,
@@ -4199,44 +4215,44 @@ const VentionModal = props => {
4199
4215
  props.onClose();
4200
4216
  };
4201
4217
  const buttonSize = getButtonSize(modalSize, isTouchDevice);
4202
- return /*#__PURE__*/jsx(VentionModalBase, {
4218
+ return jsx(VentionModalBase, {
4203
4219
  onClose: handleClose,
4204
4220
  isOpen: props.isOpen,
4205
4221
  modalSize: props.modalSize,
4206
4222
  isTouchDevice: isTouchDevice,
4207
4223
  backDropClickClosable: backDropClickClosable,
4208
4224
  width: props.width,
4209
- dataTestId: (_props$dataTestIds$mo = (_props$dataTestIds = props.dataTestIds) == null ? void 0 : _props$dataTestIds.modal) != null ? _props$dataTestIds$mo : ventionModalTestIds.container,
4210
- children: /*#__PURE__*/jsxs(Box$1, {
4225
+ dataTestId: (_b = (_a = props.dataTestIds) === null || _a === void 0 ? void 0 : _a.modal) !== null && _b !== void 0 ? _b : ventionModalTestIds.container,
4226
+ children: jsxs(Box$1, {
4211
4227
  className: classes.modalContent,
4212
- children: [props.type !== "none" && /*#__PURE__*/jsx(Box$1, {
4228
+ children: [props.type !== "none" && jsx(Box$1, {
4213
4229
  className: classes.statusGlow,
4214
- children: /*#__PURE__*/jsxs(Box$1, {
4230
+ children: jsxs(Box$1, {
4215
4231
  className: classes.statusCircle,
4216
- children: [props.type === "positive" && /*#__PURE__*/jsx(IconCheck, Object.assign({}, iconProps, {
4232
+ children: [props.type === "positive" && jsx(IconCheck, Object.assign({}, iconProps, {
4217
4233
  "data-testid": ventionModalTestIds.positiveIcon
4218
- })), props.type === "info" && /*#__PURE__*/jsx(IconInfoSmall, Object.assign({}, iconProps, {
4234
+ })), props.type === "info" && jsx(IconInfoSmall, Object.assign({}, iconProps, {
4219
4235
  "data-testid": ventionModalTestIds.infoIcon
4220
- })), props.type === "loading" && /*#__PURE__*/jsx(CircularProgress$1, {
4236
+ })), props.type === "loading" && jsx(CircularProgress$1, {
4221
4237
  "data-testid": ventionModalTestIds.loadingIcon
4222
- }), props.type === "warning" && /*#__PURE__*/jsx(IconAlertTriangle, Object.assign({}, iconProps, {
4238
+ }), props.type === "warning" && jsx(IconAlertTriangle, Object.assign({}, iconProps, {
4223
4239
  "data-testid": ventionModalTestIds.warningIcon
4224
- })), props.type === "negative" && /*#__PURE__*/jsx(IconAlertTriangle, Object.assign({}, iconProps, {
4240
+ })), props.type === "negative" && jsx(IconAlertTriangle, Object.assign({}, iconProps, {
4225
4241
  "data-testid": ventionModalTestIds.negativeIcon
4226
4242
  }))]
4227
4243
  })
4228
- }), /*#__PURE__*/jsx(Typography, {
4244
+ }), jsx(Typography, {
4229
4245
  className: classes.titleText,
4230
4246
  variant: getTitleTypography(modalSize, isTouchDevice),
4231
4247
  children: props.titleText
4232
- }), /*#__PURE__*/jsx(Typography, {
4248
+ }), jsx(Typography, {
4233
4249
  className: classes.bodyText,
4234
4250
  variant: getBodyTextTypography(modalSize, isTouchDevice),
4235
4251
  children: props.body
4236
- }), /*#__PURE__*/jsxs(Box$1, {
4252
+ }), jsxs(Box$1, {
4237
4253
  className: classes.modalActions,
4238
- "data-testid": (_props$dataTestIds$fo = (_props$dataTestIds2 = props.dataTestIds) == null ? void 0 : _props$dataTestIds2.footer) != null ? _props$dataTestIds$fo : ventionModalTestIds.modalActions,
4239
- children: [props.secondaryButton && /*#__PURE__*/jsx(VentionButton, {
4254
+ "data-testid": (_d = (_c = props.dataTestIds) === null || _c === void 0 ? void 0 : _c.footer) !== null && _d !== void 0 ? _d : ventionModalTestIds.modalActions,
4255
+ children: [props.secondaryButton && jsx(VentionButton, {
4240
4256
  size: buttonSize,
4241
4257
  "data-testid": props.secondaryButton.dataTestId,
4242
4258
  onClick: props.secondaryButton.onClick,
@@ -4245,7 +4261,7 @@ const VentionModal = props => {
4245
4261
  disabled: props.secondaryButton.disabled,
4246
4262
  fullWidth: props.buttonPosition === undefined ? true : false,
4247
4263
  children: props.secondaryButton.text
4248
- }), props.primaryButton && /*#__PURE__*/jsx(VentionButton, {
4264
+ }), props.primaryButton && jsx(VentionButton, {
4249
4265
  "data-testid": props.primaryButton.dataTestId,
4250
4266
  size: buttonSize,
4251
4267
  onClick: props.primaryButton.onClick,
@@ -4406,33 +4422,33 @@ const VentionProgressBar = inputProps => {
4406
4422
  colored: props.colored,
4407
4423
  state: props.state
4408
4424
  });
4409
- return /*#__PURE__*/jsxs(Box$1, {
4410
- children: [props.label && (typeof props.label === "string" ? /*#__PURE__*/jsx(Typography, {
4425
+ return jsxs(Box$1, {
4426
+ children: [props.label && (typeof props.label === "string" ? jsx(Typography, {
4411
4427
  variant: "uiText14Regular",
4412
4428
  color: "textPrimary",
4413
4429
  children: props.label
4414
- }) : props.label), /*#__PURE__*/jsx(LinearProgress, {
4430
+ }) : props.label), jsx(LinearProgress, {
4415
4431
  className: classes.progressBar,
4416
4432
  variant: "determinate",
4417
4433
  value: props.state === "success" ? 100 : props.value,
4418
4434
  "data-testid": "progressBar"
4419
- }), isStatusState && props.statusText && /*#__PURE__*/jsxs(Stack, {
4435
+ }), isStatusState && props.statusText && jsxs(Stack, {
4420
4436
  direction: "row",
4421
4437
  gap: 1,
4422
4438
  alignItems: "center",
4423
4439
  alignContent: "center",
4424
4440
  className: classes.statusText,
4425
- children: [props.state === "error" ? /*#__PURE__*/jsx(IconAlertTriangleFilled, {
4441
+ children: [props.state === "error" ? jsx(IconAlertTriangleFilled, {
4426
4442
  size: 14,
4427
4443
  "data-testid": "errorIcon"
4428
- }) : /*#__PURE__*/jsx(IconCheck, {
4444
+ }) : jsx(IconCheck, {
4429
4445
  size: 14,
4430
4446
  "data-testid": "successIcon"
4431
- }), /*#__PURE__*/jsx(Typography, {
4447
+ }), jsx(Typography, {
4432
4448
  variant: "uiText12Regular",
4433
4449
  children: props.statusText
4434
4450
  })]
4435
- }), props.helperText && /*#__PURE__*/jsx(Typography, {
4451
+ }), props.helperText && jsx(Typography, {
4436
4452
  variant: "uiText12Regular",
4437
4453
  color: "textSecondary",
4438
4454
  children: props.helperText
@@ -4450,7 +4466,7 @@ const useStyles$w = tss.withParams().create(({
4450
4466
  textColor
4451
4467
  } = getColors$1(state, colored, theme);
4452
4468
  return {
4453
- progressBar: Object.assign({}, PROGRESS_BAR_SIZES[size], {
4469
+ progressBar: Object.assign(Object.assign({}, PROGRESS_BAR_SIZES[size]), {
4454
4470
  marginBottom: theme.spacing(1),
4455
4471
  [`&.${linearProgressClasses.colorPrimary}`]: {
4456
4472
  backgroundColor: theme.palette.background.surface3
@@ -5063,40 +5079,43 @@ const VentionSteps = props => {
5063
5079
  console.warn("The design system doesn't support vention-steps bullet numbering for the requested size. Defaulting to dots style.");
5064
5080
  variant = "dot";
5065
5081
  }
5066
- return /*#__PURE__*/jsx("div", {
5082
+ return jsx("div", {
5067
5083
  className: cx(classes.root, props.disabled && classes.stepsDisabled),
5068
5084
  children: props.steps.map((step, index) => {
5069
5085
  const previousStep = props.steps[index - 1];
5070
5086
  const isCurrentStep = !step.isCompleted && (!previousStep || previousStep.isCompleted) && !props.disabled;
5071
- return /*#__PURE__*/jsxs("div", {
5087
+ return jsxs("div", {
5072
5088
  "data-testid": ElementTestIds.Content,
5073
5089
  className: cx(classes.step, step.isSelected && classes.stepSelected, step.onClick !== undefined && classes.stepClickable),
5074
- onClick: () => step.onClick == null ? void 0 : step.onClick(step),
5090
+ onClick: () => {
5091
+ var _a;
5092
+ return (_a = step.onClick) === null || _a === void 0 ? void 0 : _a.call(step, step);
5093
+ },
5075
5094
  role: "button",
5076
- children: [/*#__PURE__*/jsxs("div", {
5095
+ children: [jsxs("div", {
5077
5096
  className: classes.stepProgress,
5078
- children: [/*#__PURE__*/jsx("div", {
5097
+ children: [jsx("div", {
5079
5098
  "data-testid": ElementTestIds.Bullet,
5080
5099
  className: cx(classes.stepBullet, props.size === "small" && classes.small, variant === "number" && classes.stepNumber, variant === "dot" && classes.stepDot, step.isCompleted && classes.stepCompleted, isCurrentStep && classes.stepCurrent),
5081
- children: step.isCompleted ? /*#__PURE__*/jsx(IconCheck, {
5100
+ children: step.isCompleted ? jsx(IconCheck, {
5082
5101
  "data-testid": ElementTestIds.CheckIcon,
5083
5102
  className: classes.checkIcon
5084
- }) : /*#__PURE__*/jsx(BulletContent, {
5103
+ }) : jsx(BulletContent, {
5085
5104
  bulletVariant: variant,
5086
5105
  typographyVariant: typographyVariants.bulletText,
5087
5106
  bulletText: (index + 1).toFixed(0)
5088
5107
  })
5089
- }), props.steps.length !== index + 1 && /*#__PURE__*/jsx("div", {
5108
+ }), props.steps.length !== index + 1 && jsx("div", {
5090
5109
  "data-testid": ElementTestIds.Bar,
5091
5110
  className: cx(classes.bar, props.size === "small" && classes.small, step.isCompleted && classes.barCompleted)
5092
5111
  })]
5093
- }), /*#__PURE__*/jsxs("div", {
5112
+ }), jsxs("div", {
5094
5113
  className: classes.stepContent,
5095
- children: [/*#__PURE__*/jsx(Typography, {
5114
+ children: [jsx(Typography, {
5096
5115
  "data-testid": ElementTestIds.Title,
5097
5116
  variant: typographyVariants.heading,
5098
5117
  children: step.title
5099
- }), step.description && /*#__PURE__*/jsx(Typography, {
5118
+ }), step.description && jsx(Typography, {
5100
5119
  "data-testid": ElementTestIds.Description,
5101
5120
  variant: typographyVariants.description,
5102
5121
  children: step.description
@@ -5231,12 +5250,12 @@ const useStyles$v = tss.withParams().withNestedSelectors().create(({
5231
5250
  function BulletContent(props) {
5232
5251
  switch (props.bulletVariant) {
5233
5252
  case "number":
5234
- return /*#__PURE__*/jsx(Typography, {
5253
+ return jsx(Typography, {
5235
5254
  variant: props.typographyVariant,
5236
5255
  children: props.bulletText
5237
5256
  });
5238
5257
  case "dot":
5239
- return /*#__PURE__*/jsx("div", {});
5258
+ return jsx("div", {});
5240
5259
  }
5241
5260
  }
5242
5261
  const ElementTestIds = {
@@ -5300,9 +5319,9 @@ const VentionStatusDot = props => {
5300
5319
  borderColor: props.borderColor,
5301
5320
  size
5302
5321
  });
5303
- return /*#__PURE__*/jsx("div", {
5322
+ return jsx("div", {
5304
5323
  className: cx(classes.root, className),
5305
- children: /*#__PURE__*/jsx("div", {
5324
+ children: jsx("div", {
5306
5325
  className: classes.dot
5307
5326
  })
5308
5327
  });
@@ -5472,16 +5491,15 @@ const getTypography = (size, theme) => {
5472
5491
  };
5473
5492
  };
5474
5493
 
5475
- const _excluded$9 = ["state", "variant", "size", "rightItemText", "leftItemText"];
5476
- const VentionTextInput = _ref => {
5477
- let {
5494
+ const VentionTextInput = _a => {
5495
+ var {
5478
5496
  state = "default",
5479
5497
  variant,
5480
5498
  size,
5481
5499
  rightItemText,
5482
5500
  leftItemText
5483
- } = _ref,
5484
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
5501
+ } = _a,
5502
+ props = __rest(_a, ["state", "variant", "size", "rightItemText", "leftItemText"]);
5485
5503
  const {
5486
5504
  classes
5487
5505
  } = useStyles$t({
@@ -5489,47 +5507,41 @@ const VentionTextInput = _ref => {
5489
5507
  variant,
5490
5508
  state
5491
5509
  });
5492
- const inputProps = Object.assign({}, props.InputProps, {
5510
+ const inputProps = Object.assign(Object.assign(Object.assign(Object.assign({}, props.InputProps), {
5493
5511
  disabled: state === "disabled"
5494
- }, leftItemText ? {
5495
- startAdornment: /*#__PURE__*/jsx(InputAdornment, {
5512
+ }), leftItemText ? {
5513
+ startAdornment: jsx(InputAdornment, {
5496
5514
  position: "start",
5497
5515
  className: classes.leftItem,
5498
- children: /*#__PURE__*/jsx(Box$1, {
5516
+ children: jsx(Box$1, {
5499
5517
  display: "flex",
5500
5518
  alignItems: "center",
5501
5519
  height: "100%",
5502
- children: /*#__PURE__*/jsx(Typography, {
5520
+ children: jsx(Typography, {
5503
5521
  className: classes.leftItemText,
5504
5522
  children: leftItemText
5505
5523
  })
5506
5524
  })
5507
5525
  })
5508
- } : {}, rightItemText ? {
5509
- endAdornment: /*#__PURE__*/jsx(InputAdornment, {
5526
+ } : {}), rightItemText ? {
5527
+ endAdornment: jsx(InputAdornment, {
5510
5528
  position: "end",
5511
5529
  className: classes.rightItem,
5512
- children: /*#__PURE__*/jsx(Box$1, {
5530
+ children: jsx(Box$1, {
5513
5531
  display: "flex",
5514
5532
  alignItems: "center",
5515
5533
  height: "100%",
5516
- children: /*#__PURE__*/jsx(Typography, {
5534
+ children: jsx(Typography, {
5517
5535
  className: classes.rightItemText,
5518
5536
  children: rightItemText
5519
5537
  })
5520
5538
  })
5521
5539
  })
5522
5540
  } : {});
5523
- return /*#__PURE__*/jsx(TextField, Object.assign({
5541
+ return jsx(TextField, Object.assign({
5524
5542
  classes: {
5525
5543
  root: classes.root
5526
5544
  }
5527
- /**
5528
- * The variant is always outlined.
5529
- * the shaded variant is used only in the useStyles because TextField does not support custom variants.
5530
- *
5531
- * More: https://github.com/mui/material-ui/issues/37846#issuecomment-1639917252
5532
- */
5533
5545
  }, props, {
5534
5546
  value: (props.type === "number" || props.type === "tel") && (props.value === undefined || props.value === null) ? "" : props.value,
5535
5547
  variant: "outlined",
@@ -5576,10 +5588,10 @@ const useStyles$t = tss.withParams().create(({
5576
5588
  backgroundColor: getBackgroundColorFromState("disabled", theme)
5577
5589
  }
5578
5590
  },
5579
- " & .MuiInputBase-input": Object.assign({}, typographyVariants.text, {
5591
+ " & .MuiInputBase-input": Object.assign(Object.assign(Object.assign({}, typographyVariants.text), {
5580
5592
  zIndex: 1,
5581
5593
  backgroundColor: "transparent"
5582
- }, getInputPaddingStyles(size, theme)),
5594
+ }), getInputPaddingStyles(size, theme)),
5583
5595
  " & .MuiInputBase-input::placeholder": {
5584
5596
  color: theme.palette.text.tertiary,
5585
5597
  opacity: 1
@@ -5709,7 +5721,6 @@ const radioColorMap = {
5709
5721
  }
5710
5722
  };
5711
5723
 
5712
- const _excluded$8 = ["radioSize", "hideWhenUnchecked"];
5713
5724
  const defaultProps$4 = {
5714
5725
  variant: "outlined",
5715
5726
  radioSize: "medium",
@@ -5719,15 +5730,18 @@ const defaultProps$4 = {
5719
5730
  };
5720
5731
  const VentionRadio = inputProps => {
5721
5732
  const props = applyDefaultProps(inputProps, defaultProps$4);
5722
-
5723
5733
  //removing props that would be unknown to Radio Component
5724
- const radioProps = _objectWithoutPropertiesLoose(props, _excluded$8);
5725
- return /*#__PURE__*/jsx(Radio, Object.assign({}, radioProps, {
5734
+ const {
5735
+ radioSize,
5736
+ hideWhenUnchecked
5737
+ } = props,
5738
+ radioProps = __rest(props, ["radioSize", "hideWhenUnchecked"]);
5739
+ return jsx(Radio, Object.assign({}, radioProps, {
5726
5740
  disableRipple: true,
5727
- checkedIcon: /*#__PURE__*/jsx(VentionRadioIcon, Object.assign({}, props, {
5741
+ checkedIcon: jsx(VentionRadioIcon, Object.assign({}, props, {
5728
5742
  checked: true
5729
5743
  })),
5730
- icon: /*#__PURE__*/jsx(VentionRadioIcon, Object.assign({}, props, {
5744
+ icon: jsx(VentionRadioIcon, Object.assign({}, props, {
5731
5745
  checked: false
5732
5746
  }))
5733
5747
  }));
@@ -5743,10 +5757,10 @@ const VentionRadioIcon = props => {
5743
5757
  state: props.state
5744
5758
  });
5745
5759
  const isErrorState = props.state === "error";
5746
- return props.hideWhenUnchecked && !props.checked ? /*#__PURE__*/jsx("span", {
5760
+ return props.hideWhenUnchecked && !props.checked ? jsx("span", {
5747
5761
  className: classes.hiddenRadio,
5748
5762
  "data-testid": "hiddenRadio"
5749
- }) : /*#__PURE__*/jsx("span", {
5763
+ }) : jsx("span", {
5750
5764
  "data-testid": "radioIcon",
5751
5765
  className: cx({
5752
5766
  [classes.ventionRadioIcon]: !isErrorState,
@@ -5895,10 +5909,10 @@ const VentionRadioTileControl = props => {
5895
5909
  } = useStyles$r({
5896
5910
  radioLocation: props.radioLocation
5897
5911
  });
5898
- return /*#__PURE__*/jsx("div", {
5912
+ return jsx("div", {
5899
5913
  className: classes.controllerContainer,
5900
5914
  "data-testid": "RadioTileControl",
5901
- children: /*#__PURE__*/jsx(VentionRadio, {
5915
+ children: jsx(VentionRadio, {
5902
5916
  checked: props.checked,
5903
5917
  variant: props.variant,
5904
5918
  radioSize: props.radioSize,
@@ -5933,10 +5947,10 @@ const VentionRadioTileLabel = props => {
5933
5947
  size: props.size,
5934
5948
  labelText: props.labelText
5935
5949
  });
5936
- return /*#__PURE__*/jsxs("div", {
5950
+ return jsxs("div", {
5937
5951
  className: classes.labelContainer,
5938
5952
  "data-testid": "RadioTileLabel",
5939
- children: [props.graphic, /*#__PURE__*/jsx(Typography, {
5953
+ children: [props.graphic, jsx(Typography, {
5940
5954
  variant: getTypographyVariant$1(props.size),
5941
5955
  my: props.size === "xx-large" ? 1 : 0,
5942
5956
  children: props.labelText
@@ -5974,9 +5988,8 @@ const getTypographyVariant$1 = size => {
5974
5988
  }
5975
5989
  };
5976
5990
 
5977
- const _excluded$7 = ["labelText", "radioSize", "tileHeight", "tileWidth", "radioLocation"];
5978
5991
  const defaultProps$3 = {
5979
- graphic: /*#__PURE__*/jsx("div", {}),
5992
+ graphic: jsx("div", {}),
5980
5993
  variant: "outlined",
5981
5994
  radioSize: "medium",
5982
5995
  state: "default",
@@ -5996,19 +6009,25 @@ const VentionRadioTile = radioTileProps => {
5996
6009
  tileHeight: props.tileHeight,
5997
6010
  tileWidth: props.tileWidth
5998
6011
  });
5999
-
6000
6012
  //removing props that would be unknown to label Component
6001
- const formControlLabelProps = _objectWithoutPropertiesLoose(props, _excluded$7);
6002
- return /*#__PURE__*/jsx(FormControlLabel, Object.assign({}, formControlLabelProps, {
6013
+ const {
6014
+ labelText,
6015
+ radioSize,
6016
+ tileHeight,
6017
+ tileWidth,
6018
+ radioLocation
6019
+ } = props,
6020
+ formControlLabelProps = __rest(props, ["labelText", "radioSize", "tileHeight", "tileWidth", "radioLocation"]);
6021
+ return jsx(FormControlLabel, Object.assign({}, formControlLabelProps, {
6003
6022
  className: props.className,
6004
6023
  classes: classes,
6005
6024
  labelPlacement: "bottom",
6006
- label: /*#__PURE__*/jsx(VentionRadioTileLabel, {
6025
+ label: jsx(VentionRadioTileLabel, {
6007
6026
  graphic: props.graphic,
6008
6027
  labelText: props.labelText,
6009
6028
  size: props.radioSize
6010
6029
  }),
6011
- control: /*#__PURE__*/jsx(VentionRadioTileControl, Object.assign({}, props)),
6030
+ control: jsx(VentionRadioTileControl, Object.assign({}, props)),
6012
6031
  "data-testid": "RadioTileFormControlLabel"
6013
6032
  }));
6014
6033
  };
@@ -7951,12 +7970,12 @@ const VentionIcon = /*#__PURE__*/memo(props => {
7951
7970
  });
7952
7971
  const isDuotoneIcon = props.type in duotoneIconImports;
7953
7972
  const IconSvg = isDuotoneIcon ? duotoneIconImports[props.type] : iconImports[props.type];
7954
- return /*#__PURE__*/jsx("div", {
7973
+ return jsx("div", {
7955
7974
  className: classes.root,
7956
7975
  "data-testid": props.dataTestId || `icon-${String(props.type)}-root`,
7957
- children: /*#__PURE__*/jsx(Suspense, {
7976
+ children: jsx(Suspense, {
7958
7977
  fallback: null,
7959
- children: /*#__PURE__*/jsx(IconSvg, {
7978
+ children: jsx(IconSvg, {
7960
7979
  className: isDuotoneIcon ? classes.duotoneIcon : classes.icon,
7961
7980
  "data-testid": `icon-${String(props.type)}`
7962
7981
  })
@@ -7978,7 +7997,7 @@ const useStyles$o = tss.withParams().create(({
7978
7997
  justifyContent: "center"
7979
7998
  },
7980
7999
  icon: {
7981
- color: color != null ? color : theme.palette.icon.primary,
8000
+ color: color !== null && color !== void 0 ? color : theme.palette.icon.primary,
7982
8001
  transition: "color 0.1s ease-in-out",
7983
8002
  height: size,
7984
8003
  width: size,
@@ -7994,7 +8013,6 @@ const useStyles$o = tss.withParams().create(({
7994
8013
  }
7995
8014
  }));
7996
8015
 
7997
- const _excluded$6 = ["size", "placeholder", "value", "menuItems", "labelText", "isDisabled", "onChange", "errorText", "isMultiple", "state"];
7998
8016
  const getChevronIconSize = size => {
7999
8017
  switch (size) {
8000
8018
  case "small":
@@ -8022,25 +8040,25 @@ const VentionSelect = props => {
8022
8040
  isMultiple,
8023
8041
  state = "default"
8024
8042
  } = props,
8025
- other = _objectWithoutPropertiesLoose(props, _excluded$6);
8043
+ other = __rest(props, ["size", "placeholder", "value", "menuItems", "labelText", "isDisabled", "onChange", "errorText", "isMultiple", "state"]);
8026
8044
  const theme = useTheme();
8027
8045
  const typographyVariants = typographyNameFromSizeMap[size];
8028
8046
  const menuItemsMap = useMemo(() => new Map(menuItems.map(item => [item.value, item])), [menuItems]);
8029
- return /*#__PURE__*/jsx(FormControl, {
8047
+ return jsx(FormControl, {
8030
8048
  fullWidth: true,
8031
8049
  error: Boolean(errorText),
8032
- children: /*#__PURE__*/jsxs(Box$1, {
8050
+ children: jsxs(Box$1, {
8033
8051
  display: "flex",
8034
8052
  flexDirection: "column",
8035
8053
  gap: theme.spacing(1),
8036
- children: [labelText && /*#__PURE__*/jsx(Typography, {
8054
+ children: [labelText && jsx(Typography, {
8037
8055
  variant: typographyVariants.label,
8038
8056
  component: "label",
8039
8057
  children: labelText
8040
- }), /*#__PURE__*/jsx(Select, Object.assign({
8041
- IconComponent: () => /*#__PURE__*/jsx("div", {
8058
+ }), jsx(Select, Object.assign({
8059
+ IconComponent: () => jsx("div", {
8042
8060
  className: classes.chevronIconContainer,
8043
- children: /*#__PURE__*/jsx(VentionIcon, {
8061
+ children: jsx(VentionIcon, {
8044
8062
  type: "chevron-down",
8045
8063
  size: getChevronIconSize(size),
8046
8064
  color: theme.palette.icon.primary
@@ -8049,7 +8067,7 @@ const VentionSelect = props => {
8049
8067
  disabled: isDisabled,
8050
8068
  displayEmpty: true,
8051
8069
  onChange: onChange,
8052
- value: value != null ? value : "",
8070
+ value: value !== null && value !== void 0 ? value : "",
8053
8071
  MenuProps: {
8054
8072
  classes: {
8055
8073
  paper: classes.dropdownStyle
@@ -8058,9 +8076,9 @@ const VentionSelect = props => {
8058
8076
  className: classes.selectContainer,
8059
8077
  multiple: isMultiple,
8060
8078
  renderValue: selected => {
8061
- var _ref, _menuItemSelected$dis;
8079
+ var _a, _b;
8062
8080
  if (selected === undefined || selected === null || selected === "" || Array.isArray(selected) && selected.length === 0) {
8063
- return /*#__PURE__*/jsx(Typography, {
8081
+ return jsx(Typography, {
8064
8082
  variant: typographyVariants.text,
8065
8083
  className: classes.placeholder,
8066
8084
  children: placeholder
@@ -8069,28 +8087,28 @@ const VentionSelect = props => {
8069
8087
  if (isMultiple) {
8070
8088
  if (!Array.isArray(selected)) throw new Error("Selected value must be an array when isMultiple is true");
8071
8089
  const isOnlyText = selected.every(value => {
8072
- var _menuItemsMap$get;
8073
- return ((_menuItemsMap$get = menuItemsMap.get(value)) == null ? void 0 : _menuItemsMap$get.displayNode) === undefined;
8090
+ var _a;
8091
+ return ((_a = menuItemsMap.get(value)) === null || _a === void 0 ? void 0 : _a.displayNode) === undefined;
8074
8092
  });
8075
8093
  if (isOnlyText) {
8076
8094
  const _inputValue = selected.map(value => {
8077
- var _menuItem$displayText;
8095
+ var _a;
8078
8096
  const menuItem = menuItemsMap.get(value);
8079
- return (_menuItem$displayText = menuItem == null ? void 0 : menuItem.displayText) != null ? _menuItem$displayText : value;
8097
+ return (_a = menuItem === null || menuItem === void 0 ? void 0 : menuItem.displayText) !== null && _a !== void 0 ? _a : value;
8080
8098
  }).join(", ");
8081
- return /*#__PURE__*/jsx("div", {
8099
+ return jsx("div", {
8082
8100
  className: classes.inputValue,
8083
8101
  children: _inputValue
8084
8102
  });
8085
8103
  }
8086
- return /*#__PURE__*/jsx(Box$1, {
8104
+ return jsx(Box$1, {
8087
8105
  display: "flex",
8088
8106
  flexWrap: "nowrap",
8089
8107
  gap: theme.spacing(2),
8090
8108
  className: classes.inputValue,
8091
8109
  children: selected.map(value => {
8092
8110
  const menuItem = menuItemsMap.get(value);
8093
- return /*#__PURE__*/jsx(Box$1, {
8111
+ return jsx(Box$1, {
8094
8112
  children: menuItem && "displayNode" in menuItem ? menuItem.displayNode : menuItem.displayText
8095
8113
  }, toReactKey(value));
8096
8114
  })
@@ -8098,30 +8116,30 @@ const VentionSelect = props => {
8098
8116
  }
8099
8117
  if (Array.isArray(selected)) throw new Error("Selected value must be a string or number when isMultiple is false");
8100
8118
  const menuItemSelected = menuItemsMap.get(selected);
8101
- const inputValue = (_ref = (_menuItemSelected$dis = menuItemSelected == null ? void 0 : menuItemSelected.displayText) != null ? _menuItemSelected$dis : menuItemSelected == null ? void 0 : menuItemSelected.displayNode) != null ? _ref : selected;
8102
- return /*#__PURE__*/jsx("div", {
8119
+ const inputValue = (_b = (_a = menuItemSelected === null || menuItemSelected === void 0 ? void 0 : menuItemSelected.displayText) !== null && _a !== void 0 ? _a : menuItemSelected === null || menuItemSelected === void 0 ? void 0 : menuItemSelected.displayNode) !== null && _b !== void 0 ? _b : selected;
8120
+ return jsx("div", {
8103
8121
  className: classes.inputValue,
8104
8122
  children: inputValue
8105
8123
  });
8106
8124
  }
8107
8125
  }, other, {
8108
- children: menuItems.map(item => /*#__PURE__*/jsxs(MenuItem, {
8126
+ children: menuItems.map(item => jsxs(MenuItem, {
8109
8127
  value: item.value,
8110
8128
  className: classes.menuItem,
8111
8129
  disableRipple: true,
8112
- children: ["displayText" in item && /*#__PURE__*/jsx(Typography, {
8130
+ children: ["displayText" in item && jsx(Typography, {
8113
8131
  variant: typographyVariants.text,
8114
8132
  children: item.displayText
8115
8133
  }), "displayNode" in item && item.displayNode]
8116
8134
  }, toReactKey(item.value)))
8117
- })), errorText && /*#__PURE__*/jsxs(FormHelperText, {
8135
+ })), errorText && jsxs(FormHelperText, {
8118
8136
  error: Boolean(errorText),
8119
8137
  classes: {
8120
8138
  root: classes.formHelperText
8121
8139
  },
8122
- children: [/*#__PURE__*/jsx(IconAlertTriangleFilled, {
8140
+ children: [jsx(IconAlertTriangleFilled, {
8123
8141
  size: getIconSize(props.size)
8124
- }), /*#__PURE__*/jsx(Typography, {
8142
+ }), jsx(Typography, {
8125
8143
  variant: typographyVariants.helperText,
8126
8144
  children: errorText
8127
8145
  })]
@@ -8151,7 +8169,7 @@ const useStyles$n = tss.withParams().create(({
8151
8169
  height,
8152
8170
  borderRadius: theme.shape.borderRadius,
8153
8171
  textAlign: "center",
8154
- "& .MuiSelect-select": Object.assign({}, theme.typography[typographyVariant.text], {
8172
+ "& .MuiSelect-select": Object.assign(Object.assign({}, theme.typography[typographyVariant.text]), {
8155
8173
  display: "flex",
8156
8174
  alignItems: "center",
8157
8175
  overflow: "hidden"
@@ -8281,12 +8299,11 @@ const getIconSize = size => {
8281
8299
  return 14;
8282
8300
  }
8283
8301
  };
8284
-
8285
8302
  /**
8286
8303
  * `undefined` is not a valid React key, so we'll format it to the string `"undefined"`
8287
8304
  */
8288
8305
  function toReactKey(key) {
8289
- return key != null ? key : "undefined";
8306
+ return key !== null && key !== void 0 ? key : "undefined";
8290
8307
  }
8291
8308
 
8292
8309
  const VentionStepper = props => {
@@ -8300,7 +8317,7 @@ const VentionStepper = props => {
8300
8317
  const {
8301
8318
  classes
8302
8319
  } = useStyles$m();
8303
- return /*#__PURE__*/jsxs(ButtonGroup, {
8320
+ return jsxs(ButtonGroup, {
8304
8321
  variant: "contained",
8305
8322
  "aria-label": "Basic button group",
8306
8323
  className: classes.root,
@@ -8313,35 +8330,35 @@ const VentionStepper = props => {
8313
8330
  borderLeft: "none !important"
8314
8331
  }
8315
8332
  },
8316
- children: [/*#__PURE__*/jsx(Button, Object.assign({
8333
+ children: [jsx(Button, Object.assign({
8317
8334
  "data-testid": "minus-button",
8318
8335
  className: classes.buttonStep
8319
8336
  }, minusButtonProps, {
8320
- children: /*#__PURE__*/jsx(IconMinus, {
8337
+ children: jsx(IconMinus, {
8321
8338
  className: classes.signSVG
8322
8339
  })
8323
- })), /*#__PURE__*/jsxs(Paper, {
8340
+ })), jsxs(Paper, {
8324
8341
  "data-testid": "input-paper",
8325
8342
  elevation: 0,
8326
8343
  className: classes.inputPaper,
8327
- children: [leadingText && /*#__PURE__*/jsx(Typography, {
8344
+ children: [leadingText && jsx(Typography, {
8328
8345
  variant: "heading18SemiBold",
8329
8346
  className: classes.text,
8330
8347
  children: leadingText
8331
- }), /*#__PURE__*/jsx(Typography, {
8348
+ }), jsx(Typography, {
8332
8349
  variant: "heading18SemiBold",
8333
8350
  className: classes.value,
8334
8351
  children: value
8335
- }), trailingText && /*#__PURE__*/jsx(Typography, {
8352
+ }), trailingText && jsx(Typography, {
8336
8353
  variant: "heading18SemiBold",
8337
8354
  className: classes.text,
8338
8355
  children: trailingText
8339
8356
  })]
8340
- }), /*#__PURE__*/jsx(Button, Object.assign({
8357
+ }), jsx(Button, Object.assign({
8341
8358
  "data-testid": "plus-button",
8342
8359
  className: classes.buttonStep
8343
8360
  }, plusButtonProps, {
8344
- children: /*#__PURE__*/jsx(IconPlus, {
8361
+ children: jsx(IconPlus, {
8345
8362
  className: classes.signSVG
8346
8363
  })
8347
8364
  }))]
@@ -8431,13 +8448,13 @@ const VentionTabs = ({
8431
8448
  cx,
8432
8449
  classes
8433
8450
  } = useStyles$l();
8434
- return /*#__PURE__*/jsx(Box$1, {
8451
+ return jsx(Box$1, {
8435
8452
  className: classes.root,
8436
- children: tabOptions.map((buttonLabel, index) => /*#__PURE__*/jsx(Button, {
8453
+ children: tabOptions.map((buttonLabel, index) => jsx(Button, {
8437
8454
  className: index === value ? cx(classes.button, classes.selectedButton) : classes.button,
8438
8455
  onClick: event => onChange(event, index),
8439
8456
  disableRipple: true,
8440
- children: /*#__PURE__*/jsx(Typography, {
8457
+ children: jsx(Typography, {
8441
8458
  variant: "heading18SemiBold",
8442
8459
  children: buttonLabel
8443
8460
  })
@@ -8480,24 +8497,24 @@ const VentionDraggable = props => {
8480
8497
  const {
8481
8498
  classes
8482
8499
  } = useStyles$k(props);
8483
- return /*#__PURE__*/jsx(Draggable, {
8500
+ return jsx(Draggable, {
8484
8501
  handle: "#draggable-area",
8485
8502
  positionOffset: props.defaultPosition,
8486
- children: /*#__PURE__*/jsx(Box$1, {
8503
+ children: jsx(Box$1, {
8487
8504
  className: classes.container,
8488
8505
  id: props.tabLocation == null ? "draggable-area" : null,
8489
8506
  "data-testid": testIds.body,
8490
- children: /*#__PURE__*/jsxs(Stack, {
8507
+ children: jsxs(Stack, {
8491
8508
  className: classes.layoutBox,
8492
8509
  "data-testid": testIds.layoutContainer,
8493
- children: [props.tabLocation != null && /*#__PURE__*/jsx(Box$1, {
8510
+ children: [props.tabLocation != null && jsx(Box$1, {
8494
8511
  id: "draggable-area",
8495
8512
  className: classes.handleContainer,
8496
8513
  "data-testid": testIds.handle,
8497
- children: /*#__PURE__*/jsx(Box$1, {
8514
+ children: jsx(Box$1, {
8498
8515
  className: classes.handle
8499
8516
  })
8500
- }), /*#__PURE__*/jsx(Box$1, {
8517
+ }), jsx(Box$1, {
8501
8518
  flexGrow: 1,
8502
8519
  children: props.children
8503
8520
  })]
@@ -8522,8 +8539,8 @@ const useStyles$k = tss.withParams().create(({
8522
8539
  border: `1px solid ${theme.palette.border.main}`,
8523
8540
  backgroundColor: theme.palette.background.default,
8524
8541
  padding: containerPadding,
8525
- width: width != null ? width : "fit-content",
8526
- height: height != null ? height : "fit-content",
8542
+ width: width !== null && width !== void 0 ? width : "fit-content",
8543
+ height: height !== null && height !== void 0 ? height : "fit-content",
8527
8544
  boxShadow: "0px 4px 6px -1px rgba(2, 6, 23, 0.08)"
8528
8545
  },
8529
8546
  layoutBox: {
@@ -8592,22 +8609,21 @@ const testIds = {
8592
8609
  layoutContainer: "draggable-layout-container"
8593
8610
  };
8594
8611
 
8595
- const _excluded$5 = ["value", "onChange", "largeThumb"];
8596
8612
  const VentionSlider = props => {
8597
8613
  const {
8598
8614
  value,
8599
8615
  onChange,
8600
8616
  largeThumb
8601
8617
  } = props,
8602
- other = _objectWithoutPropertiesLoose(props, _excluded$5);
8618
+ other = __rest(props, ["value", "onChange", "largeThumb"]);
8603
8619
  const {
8604
8620
  classes
8605
8621
  } = useStyles$j({
8606
8622
  largeThumb
8607
8623
  });
8608
- return /*#__PURE__*/jsx("div", {
8624
+ return jsx("div", {
8609
8625
  className: classes.root,
8610
- children: /*#__PURE__*/jsx(Slider, Object.assign({
8626
+ children: jsx(Slider, Object.assign({
8611
8627
  "data-testid": "slider",
8612
8628
  value: value,
8613
8629
  onChange: onChange
@@ -8701,7 +8717,7 @@ $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE
8701
8717
  addToUnscopables('includes');
8702
8718
 
8703
8719
  const VentionSwitch = props => {
8704
- var _props$variant, _props$disabled;
8720
+ var _a, _b;
8705
8721
  const {
8706
8722
  checked,
8707
8723
  size,
@@ -8715,8 +8731,8 @@ const VentionSwitch = props => {
8715
8731
  } = useStyles$i({
8716
8732
  checked,
8717
8733
  size,
8718
- variant: (_props$variant = props.variant) != null ? _props$variant : "default",
8719
- disabled: (_props$disabled = props.disabled) != null ? _props$disabled : false
8734
+ variant: (_a = props.variant) !== null && _a !== void 0 ? _a : "default",
8735
+ disabled: (_b = props.disabled) !== null && _b !== void 0 ? _b : false
8720
8736
  });
8721
8737
  const handleOnchange = () => {
8722
8738
  if (disabled) return;
@@ -8724,7 +8740,7 @@ const VentionSwitch = props => {
8724
8740
  onChange(checked === "off" ? "on" : "off");
8725
8741
  }
8726
8742
  };
8727
- return /*#__PURE__*/jsxs("div", {
8743
+ return jsxs("div", {
8728
8744
  role: "switch",
8729
8745
  "aria-busy": checked === "loading" ? true : undefined,
8730
8746
  "aria-checked": getAriaChecked(checked),
@@ -8732,14 +8748,14 @@ const VentionSwitch = props => {
8732
8748
  className: classes.root,
8733
8749
  "data-testid": dataTestId,
8734
8750
  onClick: handleOnchange,
8735
- children: [checked === "mixed" ? /*#__PURE__*/jsx(IconMinus, {
8751
+ children: [checked === "mixed" ? jsx(IconMinus, {
8736
8752
  "data-testid": "vention-switch-minus",
8737
8753
  className: classes.iconMinus
8738
- }) : null, checked === "loading" ? /*#__PURE__*/jsx(IconLoader2, {
8754
+ }) : null, checked === "loading" ? jsx(IconLoader2, {
8739
8755
  "data-testid": "vention-switch-loading",
8740
8756
  color: theme.palette.icon.tertiary,
8741
8757
  className: classes.loader
8742
- }) : null, (checked === "on" || checked === "off") && /*#__PURE__*/jsx("div", {
8758
+ }) : null, (checked === "on" || checked === "off") && jsx("div", {
8743
8759
  className: classes.thumb,
8744
8760
  "data-testid": "vention-switch-thumb"
8745
8761
  })]
@@ -8753,7 +8769,7 @@ const useStyles$i = tss.withParams().create(({
8753
8769
  disabled
8754
8770
  }) => {
8755
8771
  return {
8756
- root: Object.assign({
8772
+ root: Object.assign(Object.assign({
8757
8773
  backgroundColor: getBackgroundColor$1(theme, checked, variant),
8758
8774
  display: "flex",
8759
8775
  borderRadius: "999px",
@@ -8761,7 +8777,7 @@ const useStyles$i = tss.withParams().create(({
8761
8777
  justifyContent: getRootJustifyContent(checked),
8762
8778
  border: ["on", "off"].includes(checked) ? undefined : `${getThumbMarginSize(theme, size)} solid ${getRootBorderColor(theme, checked)}`,
8763
8779
  boxSizing: "border-box"
8764
- }, getTrackSize(theme, size), {
8780
+ }, getTrackSize(theme, size)), {
8765
8781
  opacity: disabled ? 0.2 : 1
8766
8782
  }),
8767
8783
  iconMinus: {
@@ -8926,7 +8942,6 @@ const VentionPopover = props => {
8926
8942
  top: 0,
8927
8943
  left: 0
8928
8944
  });
8929
-
8930
8945
  /**
8931
8946
  * Depending on the arrow position, calculate the position of the popover
8932
8947
  * @param top The top position of the popover
@@ -8960,7 +8975,6 @@ const VentionPopover = props => {
8960
8975
  };
8961
8976
  }
8962
8977
  }, [props.arrowPosition]);
8963
-
8964
8978
  /**
8965
8979
  * Determine the position of the popover to be center aligned with the target
8966
8980
  * @param top Position of the target from the top
@@ -8988,7 +9002,7 @@ const VentionPopover = props => {
8988
9002
  setPosition(calculatePositionFromArrow(centerPosition.top, centerPosition.left, popoverRef.current));
8989
9003
  }
8990
9004
  }, [pos2D, calculatePositionFromArrow]);
8991
- return /*#__PURE__*/jsxs(Box$1, {
9005
+ return jsxs(Box$1, {
8992
9006
  "data-testid": "popover",
8993
9007
  ref: popoverRef,
8994
9008
  className: classes.box,
@@ -8997,46 +9011,45 @@ const VentionPopover = props => {
8997
9011
  left: position.left,
8998
9012
  visibility: visible ? "visible" : "hidden"
8999
9013
  },
9000
- children: [/*#__PURE__*/jsxs(Card, {
9014
+ children: [jsxs(Card, {
9001
9015
  className: classes.card,
9002
- children: [image && /*#__PURE__*/jsx(CardMedia, {
9016
+ children: [image && jsx(CardMedia, {
9003
9017
  className: classes.media,
9004
9018
  image: image,
9005
9019
  title: props.title
9006
- }), /*#__PURE__*/jsxs(CardContent, {
9020
+ }), jsxs(CardContent, {
9007
9021
  className: classes.cardContent,
9008
- children: [/*#__PURE__*/jsxs(Box$1, {
9022
+ children: [jsxs(Box$1, {
9009
9023
  display: "grid",
9010
9024
  gap: 2,
9011
9025
  gridTemplateColumns: "auto 1fr",
9012
- children: [titleIcon && /*#__PURE__*/jsx("img", {
9026
+ children: [titleIcon && jsx("img", {
9013
9027
  src: titleIcon,
9014
9028
  alt: "icon"
9015
- }), title && /*#__PURE__*/jsx(Typography, {
9029
+ }), title && jsx(Typography, {
9016
9030
  variant: "heading16SemiBold",
9017
9031
  component: "div",
9018
9032
  children: title
9019
9033
  })]
9020
- }), description && /*#__PURE__*/jsx(Typography, {
9034
+ }), description && jsx(Typography, {
9021
9035
  variant: "uiText14Regular",
9022
9036
  className: classes.description,
9023
9037
  children: description
9024
- }), props.buttons && /*#__PURE__*/jsx(Stack, {
9038
+ }), props.buttons && jsx(Stack, {
9025
9039
  direction: "row",
9026
9040
  justifyContent: "flex-end",
9027
9041
  spacing: 2,
9028
- children: props.buttons.map((buttonProps, index) => /*#__PURE__*/jsx(VentionButton, Object.assign({}, buttonProps, {
9042
+ children: props.buttons.map((buttonProps, index) => jsx(VentionButton, Object.assign({}, buttonProps, {
9029
9043
  className: classes.button
9030
9044
  }), `popover_button_${index}`))
9031
9045
  })]
9032
9046
  })]
9033
- }), /*#__PURE__*/jsx("div", {
9047
+ }), jsx("div", {
9034
9048
  "data-testid": "popoverArrow",
9035
9049
  className: `${classes.popoverArrow} ${props.arrowPosition}`
9036
9050
  })]
9037
9051
  });
9038
9052
  };
9039
-
9040
9053
  /**
9041
9054
  * Get the styles for the arrow of the popover depending on the position provided
9042
9055
  * @param arrowPos Position of the arrow
@@ -9076,7 +9089,7 @@ const getArrowStyles = arrowPos => {
9076
9089
  }
9077
9090
  }[arrowPos];
9078
9091
  };
9079
- return Object.assign({}, getMainPosition(), {
9092
+ return Object.assign(Object.assign({}, getMainPosition()), {
9080
9093
  borderWidth: getBorderWidth(),
9081
9094
  borderColor: getBorderColor()
9082
9095
  });
@@ -9272,11 +9285,11 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
9272
9285
  size,
9273
9286
  focused
9274
9287
  });
9275
- const shouldCloseMenuOnClick = closeMenuOnClick != null ? closeMenuOnClick : menuCloseMenuOnClick;
9288
+ const shouldCloseMenuOnClick = closeMenuOnClick !== null && closeMenuOnClick !== void 0 ? closeMenuOnClick : menuCloseMenuOnClick;
9276
9289
  const variant = getTextVariantGivenSize(size);
9277
9290
  const menuItemRef = useRef(null);
9278
9291
  useImperativeHandle(ref, () => menuItemRef.current);
9279
- return /*#__PURE__*/jsxs(MenuItem, {
9292
+ return jsxs(MenuItem, {
9280
9293
  ref: menuItemRef,
9281
9294
  "data-testid": dataTestId,
9282
9295
  className: classes.root,
@@ -9284,26 +9297,26 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
9284
9297
  disabled: disabled,
9285
9298
  id: customID,
9286
9299
  onClick: event => {
9287
- onClick == null || onClick(event);
9300
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
9288
9301
  if (shouldCloseMenuOnClick) {
9289
9302
  closeMenu();
9290
9303
  }
9291
9304
  },
9292
- children: [leftElement && /*#__PURE__*/jsx(ListItemIcon, {
9305
+ children: [leftElement && jsx(ListItemIcon, {
9293
9306
  className: classes.icon,
9294
9307
  children: leftElement
9295
- }), /*#__PURE__*/jsx(ListItemText, {
9296
- children: /*#__PURE__*/jsx(Typography, {
9308
+ }), jsx(ListItemText, {
9309
+ children: jsx(Typography, {
9297
9310
  className: classes.clampedText,
9298
9311
  variant: variant,
9299
9312
  noWrap: true,
9300
9313
  justifyContent: "start",
9301
- children: labelText != null ? labelText : children
9314
+ children: labelText !== null && labelText !== void 0 ? labelText : children
9302
9315
  })
9303
- }), /*#__PURE__*/jsx(Typography, {
9316
+ }), jsx(Typography, {
9304
9317
  variant: variant,
9305
9318
  children: shortcutKey && shortcutKey
9306
- }), hasSubMenu && /*#__PURE__*/jsx(VentionIcon, {
9319
+ }), hasSubMenu && jsx(VentionIcon, {
9307
9320
  type: "chevron-right",
9308
9321
  size: getIconSizeGivenMenuSize(size)
9309
9322
  })]
@@ -9353,17 +9366,16 @@ const useStyles$g = tss.withParams().create(({
9353
9366
  };
9354
9367
  });
9355
9368
 
9356
- const _excluded$4 = ["subMenuItems"];
9357
9369
  /**
9358
9370
  * This Component will render a menu item with its sub items as a nested VentionMenuList that is shown on hover.
9359
9371
  *
9360
9372
  * Any VentionMenuItem that has its `subMenuItems` prop defined will render this component instead of a `VentionMenuChildItem` directly.
9361
9373
  */
9362
- const VentionMenuParentItem = _ref => {
9363
- let {
9374
+ const VentionMenuParentItem = _a => {
9375
+ var {
9364
9376
  subMenuItems
9365
- } = _ref,
9366
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
9377
+ } = _a,
9378
+ props = __rest(_a, ["subMenuItems"]);
9367
9379
  const menuItemRef = useRef(null);
9368
9380
  const {
9369
9381
  size
@@ -9382,19 +9394,21 @@ const VentionMenuParentItem = _ref => {
9382
9394
  const handleMouseLeave = () => {
9383
9395
  setOpen(false);
9384
9396
  };
9385
- return /*#__PURE__*/jsxs("div", {
9397
+ return jsxs("div", {
9386
9398
  onMouseEnter: handleMouseEnter,
9387
9399
  onMouseLeave: handleMouseLeave,
9388
- children: [/*#__PURE__*/jsx(VentionMenuChildItem, Object.assign({
9400
+ children: [jsx(VentionMenuChildItem, Object.assign({
9389
9401
  ref: menuItemRef,
9390
- closeMenuOnClick: false // defaults to false for a parent item, but can be overridden by the props
9402
+ closeMenuOnClick: false
9391
9403
  }, props, {
9392
9404
  hasSubMenu: true,
9393
9405
  focused: open
9394
- })), /*#__PURE__*/jsx(Popover
9406
+ })), jsx(Popover
9395
9407
  // Set pointer events to 'none' to prevent the invisible Popover div
9396
9408
  // from capturing events for clicks and hovers
9397
9409
  , {
9410
+ // Set pointer events to 'none' to prevent the invisible Popover div
9411
+ // from capturing events for clicks and hovers
9398
9412
  sx: {
9399
9413
  pointerEvents: "none"
9400
9414
  },
@@ -9418,10 +9432,10 @@ const VentionMenuParentItem = _ref => {
9418
9432
  disableAutoFocus: true,
9419
9433
  disableScrollLock: true,
9420
9434
  disableRestoreFocus: true,
9421
- children: /*#__PURE__*/jsx(VentionMenuList, {
9435
+ children: jsx(VentionMenuList, {
9422
9436
  "data-testid": "menuItemSubMenu",
9423
9437
  disableBoxShadow: true,
9424
- children: /*#__PURE__*/jsx("div", {
9438
+ children: jsx("div", {
9425
9439
  style: {
9426
9440
  pointerEvents: "auto"
9427
9441
  },
@@ -9445,13 +9459,12 @@ const useStyles$f = tss.withParams().create(({
9445
9459
  };
9446
9460
  });
9447
9461
 
9448
- const _excluded$3 = ["subMenuItems"];
9449
9462
  const VentionMenuItem = props => {
9450
9463
  const {
9451
9464
  subMenuItems
9452
9465
  } = props,
9453
- childItemProps = _objectWithoutPropertiesLoose(props, _excluded$3);
9454
- return subMenuItems !== undefined ? /*#__PURE__*/jsx(VentionMenuParentItem, Object.assign({}, props)) : /*#__PURE__*/jsx(VentionMenuChildItem, Object.assign({}, childItemProps));
9466
+ childItemProps = __rest(props, ["subMenuItems"]);
9467
+ return subMenuItems !== undefined ? jsx(VentionMenuParentItem, Object.assign({}, props)) : jsx(VentionMenuChildItem, Object.assign({}, childItemProps));
9455
9468
  };
9456
9469
 
9457
9470
  const VentionMenuList = ({
@@ -9460,7 +9473,7 @@ const VentionMenuList = ({
9460
9473
  children,
9461
9474
  disableBoxShadow: _disableBoxShadow = false
9462
9475
  }) => {
9463
- var _menuOptionsInfo$map;
9476
+ var _a;
9464
9477
  const {
9465
9478
  size,
9466
9479
  menuWidth
@@ -9473,12 +9486,12 @@ const VentionMenuList = ({
9473
9486
  disableBoxShadow: _disableBoxShadow
9474
9487
  });
9475
9488
  const renderMenuItem = (ventionMenuItemProps, index) => {
9476
- return /*#__PURE__*/jsx(VentionMenuItem, Object.assign({}, ventionMenuItemProps), index);
9489
+ return jsx(VentionMenuItem, Object.assign({}, ventionMenuItemProps), index);
9477
9490
  };
9478
- return /*#__PURE__*/jsx(MenuList, {
9491
+ return jsx(MenuList, {
9479
9492
  "data-testid": dataTestId,
9480
9493
  className: classes.root,
9481
- children: (_menuOptionsInfo$map = menuOptionsInfo == null ? void 0 : menuOptionsInfo.map(renderMenuItem)) != null ? _menuOptionsInfo$map : children
9494
+ children: (_a = menuOptionsInfo === null || menuOptionsInfo === void 0 ? void 0 : menuOptionsInfo.map(renderMenuItem)) !== null && _a !== void 0 ? _a : children
9482
9495
  });
9483
9496
  };
9484
9497
  const useStyles$e = tss.withParams().create(({
@@ -9517,9 +9530,9 @@ const VentionMenuHeader = props => {
9517
9530
  } = useStyles$d({
9518
9531
  size
9519
9532
  });
9520
- return /*#__PURE__*/jsx("div", {
9533
+ return jsx("div", {
9521
9534
  className: classes.root,
9522
- children: /*#__PURE__*/jsx(VentionMenuChildItem, {
9535
+ children: jsx(VentionMenuChildItem, {
9523
9536
  disabled: true,
9524
9537
  labelText: labelText
9525
9538
  })
@@ -9544,9 +9557,9 @@ const VentionMenuDivider = ({
9544
9557
  } = useStyles$c({
9545
9558
  size
9546
9559
  });
9547
- return /*#__PURE__*/jsx("div", {
9560
+ return jsx("div", {
9548
9561
  className: classes.root,
9549
- children: /*#__PURE__*/jsx(MenuItem, {
9562
+ children: jsx(MenuItem, {
9550
9563
  divider: true,
9551
9564
  className: classes.divider,
9552
9565
  role: "separator"
@@ -9569,34 +9582,33 @@ const useStyles$c = tss.withParams().create(({
9569
9582
  };
9570
9583
  });
9571
9584
 
9572
- const _excluded$2 = ["showMenu", "setShowMenu", "closeMenuOnClick", "size", "menuWidth", "children"];
9573
- const VentionMenu = _ref => {
9574
- let {
9585
+ const VentionMenu = _a => {
9586
+ var {
9575
9587
  showMenu = true,
9576
9588
  setShowMenu,
9577
9589
  closeMenuOnClick = true,
9578
9590
  size = "small",
9579
9591
  menuWidth = "280px",
9580
9592
  children
9581
- } = _ref,
9582
- ventionMenuListProps = _objectWithoutPropertiesLoose(_ref, _excluded$2);
9593
+ } = _a,
9594
+ ventionMenuListProps = __rest(_a, ["showMenu", "setShowMenu", "closeMenuOnClick", "size", "menuWidth", "children"]);
9583
9595
  const closeMenu = () => {
9584
9596
  setShowMenu(false);
9585
9597
  };
9586
- return showMenu ? /*#__PURE__*/jsx(VentionMenuContext.Provider, {
9598
+ return showMenu ? jsx(VentionMenuContext.Provider, {
9587
9599
  value: {
9588
9600
  closeMenuOnClick,
9589
9601
  size,
9590
9602
  menuWidth,
9591
9603
  closeMenu
9592
9604
  },
9593
- children: /*#__PURE__*/jsx(ClickAwayListener, {
9605
+ children: jsx(ClickAwayListener, {
9594
9606
  onClickAway: closeMenu,
9595
- children: /*#__PURE__*/jsx("div", {
9607
+ children: jsx("div", {
9596
9608
  style: {
9597
9609
  display: "inline-block"
9598
9610
  },
9599
- children: /*#__PURE__*/jsx(VentionMenuList, Object.assign({}, ventionMenuListProps, {
9611
+ children: jsx(VentionMenuList, Object.assign({}, ventionMenuListProps, {
9600
9612
  children: children
9601
9613
  }))
9602
9614
  })
@@ -9651,13 +9663,13 @@ const VentionCollapsibleCaretButton = ({
9651
9663
  isVisible,
9652
9664
  isExpanded
9653
9665
  });
9654
- return /*#__PURE__*/jsx(Box$1, {
9666
+ return jsx(Box$1, {
9655
9667
  component: "div",
9656
9668
  className: classes.root,
9657
9669
  onClick: onClick,
9658
9670
  "data-testid": dataTestid,
9659
9671
  "aria-expanded": isExpanded,
9660
- children: /*#__PURE__*/jsx(IconCaretRightFilled, {
9672
+ children: jsx(IconCaretRightFilled, {
9661
9673
  size: 16
9662
9674
  })
9663
9675
  });
@@ -9679,6 +9691,9 @@ const useStyles$b = tss.withParams().create(({
9679
9691
  };
9680
9692
  });
9681
9693
 
9694
+ /** This is the default height of the tree item. This value only changes if you stack multiple captionRight elements.
9695
+ * This is needed for Machinebuilder for virtualization.
9696
+ */
9682
9697
  const DEFAULT_VENTION_TREE_ITEM_HEIGHT = 32;
9683
9698
  const hasAnyVisibleItem = (items, isHovering) => {
9684
9699
  if (items === undefined || items.length === 0) return false;
@@ -9738,7 +9753,6 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9738
9753
  onRenaming(true);
9739
9754
  }
9740
9755
  };
9741
-
9742
9756
  // Need this useEffect for now to be able to set the label outside of this component...
9743
9757
  useEffect(() => {
9744
9758
  setLabel(labelText);
@@ -9751,7 +9765,7 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9751
9765
  }
9752
9766
  };
9753
9767
  const handleRename = newLabel => {
9754
- onLabelChange == null || onLabelChange(newLabel);
9768
+ onLabelChange === null || onLabelChange === void 0 ? void 0 : onLabelChange(newLabel);
9755
9769
  };
9756
9770
  const hasVisibleTrailingOrActionItems = hasAnyVisibleItem(trailingElements, isHovering) || hasAnyVisibleItem(actionButtons, isHovering);
9757
9771
  const handleTrailingElementClick = event => {
@@ -9759,51 +9773,51 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9759
9773
  };
9760
9774
  const handleOnClick = event => {
9761
9775
  event.stopPropagation();
9762
- onClick == null || onClick(event);
9776
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
9763
9777
  };
9764
9778
  const isCaretVisible = Children.count(children) > 0;
9765
- const testId = dataTestid != null ? dataTestid : "vention-tree-item";
9766
- return /*#__PURE__*/jsxs("div", {
9779
+ const testId = dataTestid !== null && dataTestid !== void 0 ? dataTestid : "vention-tree-item";
9780
+ return jsxs("div", {
9767
9781
  className: classes.root,
9768
9782
  onClick: handleOnClick,
9769
9783
  ref: ref,
9770
- children: [/*#__PURE__*/jsxs("div", {
9784
+ children: [jsxs("div", {
9771
9785
  "aria-selected": isSelected,
9772
9786
  "data-testid": testId,
9773
9787
  className: classes.mainContent,
9774
- onContextMenu: event => onContextMenu == null ? void 0 : onContextMenu(event),
9788
+ onContextMenu: event => onContextMenu === null || onContextMenu === void 0 ? void 0 : onContextMenu(event),
9775
9789
  onMouseEnter: event => {
9776
9790
  if (!isSelected) {
9777
- onMouseEnter == null || onMouseEnter(event);
9791
+ onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter(event);
9778
9792
  setIsHovering(true);
9779
9793
  }
9780
9794
  },
9781
9795
  onMouseLeave: event => {
9782
9796
  if (!isSelected) {
9783
- onMouseLeave == null || onMouseLeave(event);
9797
+ onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event);
9784
9798
  setIsHovering(false);
9785
9799
  }
9786
9800
  },
9787
- children: [/*#__PURE__*/jsxs("div", {
9801
+ children: [jsxs("div", {
9788
9802
  className: classes.singleLineContainer,
9789
- children: [collapsible && /*#__PURE__*/jsx(VentionCollapsibleCaretButton, {
9803
+ children: [collapsible && jsx(VentionCollapsibleCaretButton, {
9790
9804
  isVisible: isCaretVisible,
9791
9805
  isExpanded: isExpanded,
9792
9806
  onClick: handleIsExpandedToggle,
9793
9807
  dataTestid: `${testId}-collapseButton`
9794
- }), /*#__PURE__*/jsx("div", {
9808
+ }), jsx("div", {
9795
9809
  "data-testid": `${testId}-icon`,
9796
9810
  className: classes.iconContainer,
9797
9811
  children: icon
9798
- }), /*#__PURE__*/jsx("div", {
9812
+ }), jsx("div", {
9799
9813
  className: classes.labelContainer,
9800
9814
  "data-testid": `${testId}-label`,
9801
9815
  onDoubleClick: handleRenaming,
9802
- children: /*#__PURE__*/jsx(Typography, {
9816
+ children: jsx(Typography, {
9803
9817
  className: classes.label,
9804
9818
  variant: "uiText12Regular",
9805
9819
  title: label,
9806
- children: isRenaming ? /*#__PURE__*/jsx(VentionTextInput, {
9820
+ children: isRenaming ? jsx(VentionTextInput, {
9807
9821
  autoFocus: true,
9808
9822
  value: label,
9809
9823
  size: "small",
@@ -9822,20 +9836,20 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9822
9836
  }
9823
9837
  }) : label
9824
9838
  })
9825
- }), hasVisibleTrailingOrActionItems && /*#__PURE__*/jsxs("div", {
9839
+ }), hasVisibleTrailingOrActionItems && jsxs("div", {
9826
9840
  className: classes.actionButtonsContainer,
9827
9841
  "data-testid": `${testId}-contextItems`,
9828
- children: [trailingElements == null ? void 0 : trailingElements.map((trailingElement, index) => /*#__PURE__*/jsx("div", {
9842
+ children: [trailingElements === null || trailingElements === void 0 ? void 0 : trailingElements.map((trailingElement, index) => jsx("div", {
9829
9843
  className: cx(classes.trailingElement, trailingElement.showOnHover && classes.trailingElementShowOnHover),
9830
9844
  "data-testid": `${testId}-trailingElement-${index}`,
9831
9845
  onClick: handleTrailingElementClick,
9832
9846
  children: trailingElement.component
9833
- }, index)), actionButtons == null ? void 0 : actionButtons.map((button, index) => {
9847
+ }, index)), actionButtons === null || actionButtons === void 0 ? void 0 : actionButtons.map((button, index) => {
9834
9848
  const handleButtonOnClick = event => {
9835
9849
  event.stopPropagation();
9836
9850
  button.onClick(event);
9837
9851
  };
9838
- return /*#__PURE__*/jsx(VentionIconButton, {
9852
+ return jsx(VentionIconButton, {
9839
9853
  variant: "shaded",
9840
9854
  className: `${classes.actionButton} ${button.showOnHover ? classes.showOnHover : ""}`,
9841
9855
  "data-testid": `${testId}-actionButton-${index}`,
@@ -9844,10 +9858,10 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9844
9858
  }, index);
9845
9859
  })]
9846
9860
  })]
9847
- }), captionsRight && captionsRight.length > 0 && /*#__PURE__*/jsx("div", {
9861
+ }), captionsRight && captionsRight.length > 0 && jsx("div", {
9848
9862
  className: classes.captionRightContainer,
9849
9863
  "data-testid": `${testId}-captionRightContainer`,
9850
- children: captionsRight.map((caption, index) => /*#__PURE__*/jsx("div", {
9864
+ children: captionsRight.map((caption, index) => jsx("div", {
9851
9865
  className: cx(classes.captionRight, !!caption.onClick && classes.clickableCaptionRight),
9852
9866
  onClick: caption.onClick ? event => {
9853
9867
  event.stopPropagation();
@@ -9857,19 +9871,19 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
9857
9871
  color: caption.color
9858
9872
  },
9859
9873
  "data-testid": `${testId}-captionRight-${index}`,
9860
- children: /*#__PURE__*/jsx(Typography, {
9874
+ children: jsx(Typography, {
9861
9875
  className: cx(classes.label, classes.captionRightLabel),
9862
9876
  variant: "uiTableNumbers12Reg",
9863
9877
  title: caption.text,
9864
9878
  children: caption.text
9865
9879
  })
9866
9880
  }, index))
9867
- }), hasWarning && /*#__PURE__*/jsx(IconAlertTriangleFilled, {
9881
+ }), hasWarning && jsx(IconAlertTriangleFilled, {
9868
9882
  className: classes.alertIcon,
9869
9883
  size: 16,
9870
9884
  color: theme.palette.icon.warning
9871
9885
  })]
9872
- }), /*#__PURE__*/jsx("div", {
9886
+ }), jsx("div", {
9873
9887
  className: classes.childrenItems,
9874
9888
  children: children
9875
9889
  })]
@@ -9892,7 +9906,6 @@ const useStyles$a = tss.withParams().withNestedSelectors().create(({
9892
9906
  const invisibleBorder = `1px solid transparent`;
9893
9907
  // 22 is padding per indent
9894
9908
  const paddingLeft = indentLevel * 22 + 16;
9895
-
9896
9909
  // Check if we have multiple captions
9897
9910
  const hasMultipleCaptions = captionsRight && captionsRight.length > 1;
9898
9911
  return {
@@ -10024,7 +10037,6 @@ const useStyles$a = tss.withParams().withNestedSelectors().create(({
10024
10037
  };
10025
10038
  });
10026
10039
 
10027
- const _excluded$1 = ["onDrawerHandleClick", "dataTestid"];
10028
10040
  const VentionDrawerWrapper = props => {
10029
10041
  const {
10030
10042
  classes
@@ -10033,10 +10045,10 @@ const VentionDrawerWrapper = props => {
10033
10045
  anchor: props.anchor,
10034
10046
  open: props.open
10035
10047
  });
10036
- return props.onDrawerHandleClick ? /*#__PURE__*/jsx("div", {
10048
+ return props.onDrawerHandleClick ? jsx("div", {
10037
10049
  className: classes.drawerHandleWrapper,
10038
10050
  children: props.children
10039
- }) : /*#__PURE__*/jsx(Fragment, {
10051
+ }) : jsx(Fragment, {
10040
10052
  children: props.children
10041
10053
  });
10042
10054
  };
@@ -10050,26 +10062,27 @@ const VentionDrawer = props => {
10050
10062
  open: props.open
10051
10063
  });
10052
10064
  const {
10065
+ onDrawerHandleClick,
10053
10066
  dataTestid
10054
10067
  } = props,
10055
- muiDrawerProps = _objectWithoutPropertiesLoose(props, _excluded$1);
10068
+ muiDrawerProps = __rest(props, ["onDrawerHandleClick", "dataTestid"]);
10056
10069
  const isRightIconVisible = props.anchor === "right" && props.open || props.anchor === "left" && !props.open;
10057
10070
  const isLeftIconVisible = props.anchor === "right" && !props.open || props.anchor === "left" && props.open;
10058
- return /*#__PURE__*/jsx(VentionDrawerWrapper, Object.assign({}, props, {
10059
- children: /*#__PURE__*/jsxs(Drawer, Object.assign({}, muiDrawerProps, {
10071
+ return jsx(VentionDrawerWrapper, Object.assign({}, props, {
10072
+ children: jsxs(Drawer, Object.assign({}, muiDrawerProps, {
10060
10073
  variant: props.onDrawerHandleClick ? "permanent" : props.variant,
10061
10074
  className: classes.root,
10062
- children: [props.onDrawerHandleClick && /*#__PURE__*/jsxs("button", {
10075
+ children: [props.onDrawerHandleClick && jsxs("button", {
10063
10076
  "aria-label": "drawer-handle",
10064
10077
  className: classes.drawerHandle,
10065
10078
  onClick: props.onDrawerHandleClick,
10066
10079
  "data-testid": dataTestid,
10067
- children: [isRightIconVisible && /*#__PURE__*/jsx(IconChevronsRight, {
10080
+ children: [isRightIconVisible && jsx(IconChevronsRight, {
10068
10081
  className: classes.handleIcon
10069
- }), isLeftIconVisible && /*#__PURE__*/jsx(IconChevronsLeft, {
10082
+ }), isLeftIconVisible && jsx(IconChevronsLeft, {
10070
10083
  className: classes.handleIcon
10071
10084
  })]
10072
- }), /*#__PURE__*/jsx("div", {
10085
+ }), jsx("div", {
10073
10086
  className: classes.drawerChildren,
10074
10087
  children: props.children
10075
10088
  })]
@@ -10148,7 +10161,7 @@ const defaultProps$1 = {
10148
10161
  dotPosition: "left"
10149
10162
  };
10150
10163
  const VentionStatusIndicator = inputProps => {
10151
- const props = Object.assign({}, defaultProps$1, inputProps);
10164
+ const props = Object.assign(Object.assign({}, defaultProps$1), inputProps);
10152
10165
  const {
10153
10166
  classes,
10154
10167
  theme
@@ -10159,16 +10172,16 @@ const VentionStatusIndicator = inputProps => {
10159
10172
  });
10160
10173
  const typographyVariant = getTypographyVariant(props.size);
10161
10174
  const sizeStyles = sizeMapping(props.size, props.dotPosition, theme);
10162
- return /*#__PURE__*/jsxs(Box$1, {
10175
+ return jsxs(Box$1, {
10163
10176
  className: classes.root,
10164
- children: [props.dotPosition === "left" && /*#__PURE__*/jsx(VentionStatusDot, {
10177
+ children: [props.dotPosition === "left" && jsx(VentionStatusDot, {
10165
10178
  color: props.dotColor,
10166
10179
  size: sizeStyles.dotSize
10167
- }), /*#__PURE__*/jsx(Typography$1, {
10180
+ }), jsx(Typography$1, {
10168
10181
  variant: typographyVariant,
10169
10182
  className: classes.label,
10170
10183
  children: props.label
10171
- }), props.dotPosition === "right" && /*#__PURE__*/jsx(VentionStatusDot, {
10184
+ }), props.dotPosition === "right" && jsx(VentionStatusDot, {
10172
10185
  color: props.dotColor,
10173
10186
  size: sizeStyles.dotSize
10174
10187
  })]
@@ -10336,28 +10349,28 @@ const VentionBanner = ({
10336
10349
  color,
10337
10350
  accent: _accent
10338
10351
  });
10339
- return /*#__PURE__*/jsxs(Box$1, {
10352
+ return jsxs(Box$1, {
10340
10353
  className: classes.banner,
10341
10354
  onClick: onClick,
10342
10355
  role: "alert",
10343
10356
  tabIndex: 0,
10344
10357
  "data-testid": "banner-root",
10345
- children: [startAdornment && /*#__PURE__*/jsx(Box$1, {
10358
+ children: [startAdornment && jsx(Box$1, {
10346
10359
  className: classes.bannerIconContainer,
10347
10360
  children: startAdornment
10348
- }), /*#__PURE__*/jsx(Typography, {
10361
+ }), jsx(Typography, {
10349
10362
  component: "span",
10350
10363
  className: classes.bannerTitle,
10351
10364
  title: title,
10352
10365
  variant: "heading16SemiBold",
10353
10366
  children: title
10354
- }), description && /*#__PURE__*/jsx(Typography, {
10367
+ }), description && jsx(Typography, {
10355
10368
  component: "span",
10356
10369
  className: classes.bannerDescription,
10357
10370
  title: description,
10358
10371
  variant: "paragraph14Regular",
10359
10372
  children: description
10360
- }), endAdornment && /*#__PURE__*/jsx(Box$1, {
10373
+ }), endAdornment && jsx(Box$1, {
10361
10374
  className: classes.endAdornment,
10362
10375
  children: endAdornment
10363
10376
  })]
@@ -10405,7 +10418,6 @@ const colorConfig = {
10405
10418
  }
10406
10419
  }
10407
10420
  };
10408
-
10409
10421
  /**
10410
10422
  * Compute banner background and text color based on the `color` prop
10411
10423
  */
@@ -10498,8 +10510,8 @@ const VentionModalBanner = ({
10498
10510
  });
10499
10511
  const handleOpenModal = () => setIsModalOpen(true);
10500
10512
  const handleCloseModal = () => setIsModalOpen(false);
10501
- return /*#__PURE__*/jsxs(Fragment, {
10502
- children: [/*#__PURE__*/jsx(VentionBanner, {
10513
+ return jsxs(Fragment, {
10514
+ children: [jsx(VentionBanner, {
10503
10515
  size: _size,
10504
10516
  accent: _accent,
10505
10517
  color: color,
@@ -10508,26 +10520,26 @@ const VentionModalBanner = ({
10508
10520
  description: description,
10509
10521
  endAdornment: endAdornment,
10510
10522
  onClick: handleOpenModal
10511
- }), /*#__PURE__*/jsx(Modal, {
10523
+ }), jsx(Modal, {
10512
10524
  open: isModalOpen,
10513
10525
  onClose: handleCloseModal,
10514
10526
  className: classes.modal,
10515
- children: /*#__PURE__*/jsx(Box$1, {
10527
+ children: jsx(Box$1, {
10516
10528
  className: classes.modalBox,
10517
10529
  "data-testid": "banner-modal",
10518
- children: /*#__PURE__*/jsxs(Box$1, {
10530
+ children: jsxs(Box$1, {
10519
10531
  className: classes.modalRowContainer,
10520
- children: [icon && /*#__PURE__*/jsx(Box$1, {
10532
+ children: [icon && jsx(Box$1, {
10521
10533
  className: classes.modalIconContainer,
10522
10534
  children: icon
10523
- }), /*#__PURE__*/jsxs(Box$1, {
10535
+ }), jsxs(Box$1, {
10524
10536
  className: classes.modalTitleContainer,
10525
- children: [/*#__PURE__*/jsx(Typography, {
10537
+ children: [jsx(Typography, {
10526
10538
  component: "span",
10527
10539
  variant: "heading16SemiBold",
10528
10540
  className: classes.modalTitle,
10529
10541
  children: title
10530
- }), description && /*#__PURE__*/jsx(Typography, {
10542
+ }), description && jsx(Typography, {
10531
10543
  component: "span",
10532
10544
  variant: "paragraph14Regular",
10533
10545
  className: classes.modalDescription,
@@ -10594,7 +10606,7 @@ const VentionSidebarItem = props => {
10594
10606
  state: props.state
10595
10607
  });
10596
10608
  const isDisabled = props.state === "disabled";
10597
- return /*#__PURE__*/jsx(Button, {
10609
+ return jsx(Button, {
10598
10610
  className: classes.sidebarItem,
10599
10611
  onClick: props.onClick,
10600
10612
  disabled: isDisabled,
@@ -10602,22 +10614,22 @@ const VentionSidebarItem = props => {
10602
10614
  disableFocusRipple: true,
10603
10615
  disableTouchRipple: true,
10604
10616
  "data-testid": "vention-sidebar-item-button",
10605
- children: /*#__PURE__*/jsxs(Stack, {
10617
+ children: jsxs(Stack, {
10606
10618
  direction: "row",
10607
10619
  alignItems: "center",
10608
10620
  justifyContent: "space-between",
10609
10621
  gap: 4,
10610
- children: [/*#__PURE__*/jsxs("div", {
10611
- children: [/*#__PURE__*/jsx(Typography, {
10622
+ children: [jsxs("div", {
10623
+ children: [jsx(Typography, {
10612
10624
  variant: "heading24SemiBold",
10613
10625
  color: isDisabled ? `text.tertiary` : `text.primary`,
10614
10626
  children: props.title
10615
- }), /*#__PURE__*/jsx(Typography, {
10627
+ }), jsx(Typography, {
10616
10628
  variant: "hmiText20Regular",
10617
10629
  color: isDisabled ? `text.tertiary` : `text.secondary`,
10618
10630
  children: props.subtitle
10619
10631
  })]
10620
- }), /*#__PURE__*/jsx(IconChevronRight, {
10632
+ }), jsx(IconChevronRight, {
10621
10633
  className: classes.icon
10622
10634
  })]
10623
10635
  })
@@ -11227,7 +11239,7 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
11227
11239
  * />
11228
11240
  */
11229
11241
  const VentionCombobox = props => {
11230
- var _options$find, _props$groups$reduce, _props$groups;
11242
+ var _a, _b, _c;
11231
11243
  const {
11232
11244
  options,
11233
11245
  value,
@@ -11275,7 +11287,7 @@ const VentionCombobox = props => {
11275
11287
  handleClose();
11276
11288
  };
11277
11289
  const isOptionEmpty = options.length === 0;
11278
- const buttonLabel = value ? ((_options$find = options.find(framework => framework.value === value)) == null ? void 0 : _options$find.label) || placeholder : placeholder;
11290
+ const buttonLabel = value ? ((_a = options.find(framework => framework.value === value)) === null || _a === void 0 ? void 0 : _a.label) || placeholder : placeholder;
11279
11291
  const filteredOptions = options.filter(option => option.label.toLowerCase().includes(searchValue.toLowerCase()));
11280
11292
  const isFilteredOptionEmpty = filteredOptions.length === 0;
11281
11293
  const groupedOptions = filteredOptions.sort((a, b) => a.label.localeCompare(b.label, undefined, {
@@ -11288,19 +11300,18 @@ const VentionCombobox = props => {
11288
11300
  accumulator[groupKey].push(option);
11289
11301
  return accumulator;
11290
11302
  }, {});
11291
-
11292
11303
  /* Make sure to render ungrouped items before grouped sections */
11293
11304
  const sortedGroupedOptions = Object.entries(groupedOptions).sort(([groupA], [groupB]) => {
11294
11305
  if (groupA === "ungrouped") return -1;
11295
11306
  if (groupB === "ungrouped") return 1;
11296
11307
  return groupA.localeCompare(groupB);
11297
11308
  });
11298
- const groupLabels = (_props$groups$reduce = (_props$groups = props.groups) == null ? void 0 : _props$groups.reduce((accumulator, group) => {
11309
+ const groupLabels = (_c = (_b = props.groups) === null || _b === void 0 ? void 0 : _b.reduce((accumulator, group) => {
11299
11310
  accumulator[group.value] = group.label;
11300
11311
  return accumulator;
11301
- }, {})) != null ? _props$groups$reduce : {};
11302
- return /*#__PURE__*/jsxs(Fragment, {
11303
- children: [/*#__PURE__*/jsx(VentionButton, {
11312
+ }, {})) !== null && _c !== void 0 ? _c : {};
11313
+ return jsxs(Fragment, {
11314
+ children: [jsx(VentionButton, {
11304
11315
  "data-testid": buttonDataTestId,
11305
11316
  ref: buttonRef,
11306
11317
  className: classes.button,
@@ -11309,23 +11320,23 @@ const VentionCombobox = props => {
11309
11320
  onClick: handleClick,
11310
11321
  labelText: buttonLabel,
11311
11322
  title: buttonLabel,
11312
- iconRight: /*#__PURE__*/jsxs("div", {
11323
+ iconRight: jsxs("div", {
11313
11324
  className: classes.buttonEndItems,
11314
- children: [value && props.isClearable && /*#__PURE__*/jsx("div", {
11325
+ children: [value && props.isClearable && jsx("div", {
11315
11326
  className: classes.clearButton,
11316
11327
  onClick: handleClear,
11317
11328
  "data-testid": clearButtonDataTestId,
11318
- children: /*#__PURE__*/jsx(VentionIcon, {
11329
+ children: jsx(VentionIcon, {
11319
11330
  type: "close",
11320
11331
  size: 14
11321
11332
  })
11322
- }), /*#__PURE__*/jsx(VentionIcon, {
11333
+ }), jsx(VentionIcon, {
11323
11334
  type: "chevron-down",
11324
11335
  size: 18
11325
11336
  })]
11326
11337
  }),
11327
11338
  size: "small"
11328
- }), /*#__PURE__*/jsx(Popover, {
11339
+ }), jsx(Popover, {
11329
11340
  open: isOpen,
11330
11341
  anchorEl: anchorEl,
11331
11342
  onClose: handleClose,
@@ -11342,14 +11353,14 @@ const VentionCombobox = props => {
11342
11353
  className: classes.popoverSlot
11343
11354
  }
11344
11355
  },
11345
- children: /*#__PURE__*/jsxs("div", {
11356
+ children: jsxs("div", {
11346
11357
  className: classes.menuContainer,
11347
11358
  style: {
11348
11359
  width: menuWidth
11349
11360
  },
11350
- children: [/*#__PURE__*/jsx("div", {
11361
+ children: [jsx("div", {
11351
11362
  className: classes.inputContainer,
11352
- children: /*#__PURE__*/jsx(VentionTextInput, {
11363
+ children: jsx(VentionTextInput, {
11353
11364
  autoFocus: autoFocus,
11354
11365
  "data-testid": inputDataTestId,
11355
11366
  size: "small",
@@ -11357,10 +11368,10 @@ const VentionCombobox = props => {
11357
11368
  placeholder: searchPlaceholder,
11358
11369
  onChange: event => setSearchValue(event.target.value),
11359
11370
  InputProps: {
11360
- startAdornment: /*#__PURE__*/jsx(InputAdornment, {
11371
+ startAdornment: jsx(InputAdornment, {
11361
11372
  position: "start",
11362
11373
  className: classes.searchInputAdornment,
11363
- children: /*#__PURE__*/jsx(VentionIcon, {
11374
+ children: jsx(VentionIcon, {
11364
11375
  type: "search",
11365
11376
  color: theme.palette.icon.primary,
11366
11377
  size: 16
@@ -11368,37 +11379,37 @@ const VentionCombobox = props => {
11368
11379
  })
11369
11380
  }
11370
11381
  })
11371
- }), /*#__PURE__*/jsx("div", {
11382
+ }), jsx("div", {
11372
11383
  className: classes.menuOptionsContainer,
11373
- children: isOptionEmpty ? /*#__PURE__*/jsx(MenuMessage, {
11384
+ children: isOptionEmpty ? jsx(MenuMessage, {
11374
11385
  label: noOptionsMessage
11375
- }) : isFilteredOptionEmpty ? /*#__PURE__*/jsx(MenuMessage, {
11386
+ }) : isFilteredOptionEmpty ? jsx(MenuMessage, {
11376
11387
  label: noItemsFoundMessage
11377
- }) : sortedGroupedOptions.map(([groupKey, groupOptions]) => /*#__PURE__*/jsxs(Fragment$1, {
11378
- children: [groupKey !== "ungrouped" && /*#__PURE__*/jsx("div", {
11388
+ }) : sortedGroupedOptions.map(([groupKey, groupOptions]) => jsxs(Fragment$1, {
11389
+ children: [groupKey !== "ungrouped" && jsx("div", {
11379
11390
  className: classes.menuOptionContainer,
11380
- children: /*#__PURE__*/jsx("div", {
11391
+ children: jsx("div", {
11381
11392
  className: classes.menuGroup,
11382
- children: /*#__PURE__*/jsx(Typography, {
11393
+ children: jsx(Typography, {
11383
11394
  variant: "uiText12Regular",
11384
11395
  className: classes.menuGroupLabel,
11385
11396
  title: groupLabels[groupKey],
11386
11397
  children: groupLabels[groupKey]
11387
11398
  })
11388
11399
  })
11389
- }, groupKey), groupOptions.map((option, index) => /*#__PURE__*/jsx("div", {
11400
+ }, groupKey), groupOptions.map((option, index) => jsx("div", {
11390
11401
  className: classes.menuOptionContainer,
11391
11402
  "data-testid": `vention-combobox-option-${index}`,
11392
- children: /*#__PURE__*/jsxs("div", {
11403
+ children: jsxs("div", {
11393
11404
  className: classes.menuOption,
11394
11405
  onClick: () => handleOptionClick(option.value),
11395
11406
  "data-testid": option.dataTestId,
11396
- children: [/*#__PURE__*/jsx(Typography, {
11407
+ children: [jsx(Typography, {
11397
11408
  variant: "uiText12Medium",
11398
11409
  className: classes.menuOptionLabel,
11399
11410
  title: option.label,
11400
11411
  children: option.label
11401
- }), option.value === value && /*#__PURE__*/jsx(VentionIcon, {
11412
+ }), option.value === value && jsx(VentionIcon, {
11402
11413
  type: "check",
11403
11414
  size: 16,
11404
11415
  color: theme.palette.icon.primary
@@ -11417,9 +11428,9 @@ const MenuMessage = ({
11417
11428
  const {
11418
11429
  classes
11419
11430
  } = useStyles$4();
11420
- return /*#__PURE__*/jsx("div", {
11431
+ return jsx("div", {
11421
11432
  className: classes.menuMessageContainer,
11422
- children: /*#__PURE__*/jsx(Typography, {
11433
+ children: jsx(Typography, {
11423
11434
  variant: "uiText12Regular",
11424
11435
  className: classes.menuMessageLabel,
11425
11436
  children: label
@@ -11532,25 +11543,24 @@ const useStyles$4 = tss.withParams().create(({
11532
11543
  };
11533
11544
  });
11534
11545
 
11535
- const _excluded = ["children", "arrow", "placement", "classes"];
11536
- const VentionTooltip = _ref => {
11537
- let {
11546
+ const VentionTooltip = _a => {
11547
+ var {
11538
11548
  children,
11539
11549
  arrow = true,
11540
11550
  placement = "top-end",
11541
11551
  classes: classesOverrides
11542
- } = _ref,
11543
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
11552
+ } = _a,
11553
+ props = __rest(_a, ["children", "arrow", "placement", "classes"]);
11544
11554
  const {
11545
11555
  classes
11546
11556
  } = useStyles$3({
11547
11557
  classesOverrides
11548
11558
  });
11549
- return /*#__PURE__*/jsx(Tooltip, Object.assign({}, props, {
11559
+ return jsx(Tooltip, Object.assign({}, props, {
11550
11560
  classes: classes,
11551
11561
  arrow: arrow,
11552
11562
  placement: placement,
11553
- children: /*#__PURE__*/jsx("span", {
11563
+ children: jsx("span", {
11554
11564
  children: children
11555
11565
  })
11556
11566
  }));
@@ -11582,16 +11592,16 @@ const VentionCheckboxIcon = ({
11582
11592
  disabled,
11583
11593
  colors
11584
11594
  });
11585
- return /*#__PURE__*/jsx(Box$1, {
11595
+ return jsx(Box$1, {
11586
11596
  className: classes.root,
11587
- children: checked && /*#__PURE__*/jsx(Box$1, {
11597
+ children: checked && jsx(Box$1, {
11588
11598
  component: "svg",
11589
11599
  width: "100%",
11590
11600
  height: "100%",
11591
11601
  viewBox: "0 0 24 24",
11592
11602
  fill: "none",
11593
11603
  className: classes.checkmark,
11594
- children: /*#__PURE__*/jsx("path", {
11604
+ children: jsx("path", {
11595
11605
  d: "M6 12l4 4 8-8",
11596
11606
  stroke: "currentColor",
11597
11607
  strokeWidth: "2.5",
@@ -11654,15 +11664,15 @@ const VentionCheckbox = checkboxProps => {
11654
11664
  if (!props.labelText && !props.helperText) {
11655
11665
  return null;
11656
11666
  }
11657
- return /*#__PURE__*/jsxs(Stack, {
11667
+ return jsxs(Stack, {
11658
11668
  className: classes.textContainer,
11659
- children: [props.labelText && /*#__PURE__*/jsx(Typography, {
11669
+ children: [props.labelText && jsx(Typography, {
11660
11670
  variant: typographyVariant,
11661
11671
  className: cx(classes.labelText, {
11662
11672
  "Mui-disabled": props.disabled
11663
11673
  }),
11664
11674
  children: props.labelText
11665
- }), props.labelText && props.helperText && /*#__PURE__*/jsx(Typography, {
11675
+ }), props.labelText && props.helperText && jsx(Typography, {
11666
11676
  variant: typographyVariant,
11667
11677
  className: cx(classes.helperText, {
11668
11678
  "Mui-disabled": props.disabled
@@ -11671,11 +11681,11 @@ const VentionCheckbox = checkboxProps => {
11671
11681
  })]
11672
11682
  });
11673
11683
  };
11674
- return /*#__PURE__*/jsxs(Stack, {
11684
+ return jsxs(Stack, {
11675
11685
  className: cx(classes.root, props.className),
11676
- children: [/*#__PURE__*/jsx(Box$1, {
11686
+ children: [jsx(Box$1, {
11677
11687
  className: classes.checkboxContainer,
11678
- children: /*#__PURE__*/jsx(Checkbox, {
11688
+ children: jsx(Checkbox, {
11679
11689
  className: classes.checkbox,
11680
11690
  disabled: props.disabled,
11681
11691
  checked: props.checked,
@@ -11684,13 +11694,13 @@ const VentionCheckbox = checkboxProps => {
11684
11694
  value: props.value,
11685
11695
  name: props.name,
11686
11696
  "data-testid": props["data-testid"],
11687
- icon: /*#__PURE__*/jsx(VentionCheckboxIcon, {
11697
+ icon: jsx(VentionCheckboxIcon, {
11688
11698
  size: sizeStyle,
11689
11699
  checked: false,
11690
11700
  disabled: props.disabled,
11691
11701
  colors: getCheckboxColors(props.variant, props.disabled)
11692
11702
  }),
11693
- checkedIcon: /*#__PURE__*/jsx(VentionCheckboxIcon, {
11703
+ checkedIcon: jsx(VentionCheckboxIcon, {
11694
11704
  size: sizeStyle,
11695
11705
  checked: true,
11696
11706
  disabled: props.disabled,
@@ -11826,7 +11836,6 @@ const getCheckboxColors = (variant, disabled) => {
11826
11836
  secondaryPressed: COLORS.blue[400],
11827
11837
  secondaryPressedBg: COLORS.slate[200]
11828
11838
  };
11829
-
11830
11839
  // If disabled, return disabled colors regardless of variant
11831
11840
  if (disabled) {
11832
11841
  return {
@@ -11838,7 +11847,6 @@ const getCheckboxColors = (variant, disabled) => {
11838
11847
  disabledColor: baseColors.disabled
11839
11848
  };
11840
11849
  }
11841
-
11842
11850
  // Future proofing for handling different variants
11843
11851
  switch (variant) {
11844
11852
  case "outlined":
@@ -11907,7 +11915,6 @@ const STYLE_CONFIG = {
11907
11915
  trashBackgroundColor: COLORS.slate[100]
11908
11916
  }
11909
11917
  };
11910
-
11911
11918
  // Container styling
11912
11919
  const getContainerBackgroundColor = style => {
11913
11920
  return STYLE_CONFIG[style].backgroundColor;
@@ -11915,7 +11922,6 @@ const getContainerBackgroundColor = style => {
11915
11922
  const getContainerBorder = style => {
11916
11923
  return STYLE_CONFIG[style].border;
11917
11924
  };
11918
-
11919
11925
  // Layout properties
11920
11926
  const getGap = size => {
11921
11927
  return SIZE_CONFIG[size].gap;
@@ -11932,7 +11938,6 @@ const getBorderRadius = (size, style) => {
11932
11938
  }
11933
11939
  return SIZE_CONFIG[size].borderRadius;
11934
11940
  };
11935
-
11936
11941
  // Typography
11937
11942
  const getFontSize = size => {
11938
11943
  return SIZE_CONFIG[size].fontSize;
@@ -11940,7 +11945,6 @@ const getFontSize = size => {
11940
11945
  const getNameHeight = size => {
11941
11946
  return SIZE_CONFIG[size].nameHeight;
11942
11947
  };
11943
-
11944
11948
  // Trash icon styling
11945
11949
  const getTrashBackgroundColor = style => {
11946
11950
  return STYLE_CONFIG[style].trashBackgroundColor;
@@ -11952,6 +11956,9 @@ const getActionIconSize = size => {
11952
11956
  return SIZE_CONFIG[size].trashIconSize;
11953
11957
  };
11954
11958
 
11959
+ /**
11960
+ * A component that displays an uploaded file with its upload status, file name, file size, and a remove button.
11961
+ */
11955
11962
  function VentionUploadFile({
11956
11963
  fileName,
11957
11964
  fileSize,
@@ -11970,71 +11977,71 @@ function VentionUploadFile({
11970
11977
  style,
11971
11978
  state
11972
11979
  });
11973
- return /*#__PURE__*/jsxs(Grid, {
11980
+ return jsxs(Grid, {
11974
11981
  container: true,
11975
11982
  className: classes.container,
11976
- children: [/*#__PURE__*/jsx(Grid, {
11983
+ children: [jsx(Grid, {
11977
11984
  item: true,
11978
11985
  xs: "auto",
11979
11986
  className: classes.spinnerContainer,
11980
- children: /*#__PURE__*/jsx(VentionSpinner, {
11987
+ children: jsx(VentionSpinner, {
11981
11988
  type: state,
11982
11989
  size: size
11983
11990
  })
11984
- }), /*#__PURE__*/jsx(Grid, {
11991
+ }), jsx(Grid, {
11985
11992
  item: true,
11986
11993
  xs: true,
11987
- children: /*#__PURE__*/jsxs(Stack, {
11988
- children: [/*#__PURE__*/jsx(Typography, {
11994
+ children: jsxs(Stack, {
11995
+ children: [jsx(Typography, {
11989
11996
  title: fileName,
11990
11997
  className: classes.nameContainer,
11991
11998
  "data-testid": "fileName",
11992
11999
  noWrap: true,
11993
12000
  children: fileName
11994
- }), size === "large" && /*#__PURE__*/jsx(Typography, {
12001
+ }), size === "large" && jsx(Typography, {
11995
12002
  className: classes.sizeContainer,
11996
12003
  "data-testid": "fileSize",
11997
12004
  children: fileSize
11998
- }), state === "error" && errorMessage && /*#__PURE__*/jsx(Typography, {
12005
+ }), state === "error" && errorMessage && jsx(Typography, {
11999
12006
  className: classes.errorMessage,
12000
12007
  "data-testid": "errorMessage",
12001
12008
  children: errorMessage
12002
12009
  })]
12003
12010
  })
12004
- }), state === "error" && /*#__PURE__*/jsx(Grid, {
12011
+ }), state === "error" && jsx(Grid, {
12005
12012
  item: true,
12006
12013
  xs: "auto",
12007
12014
  "data-testid": "retryButtonContainer",
12008
- children: /*#__PURE__*/jsx(VentionIconButton, {
12015
+ children: jsx(VentionIconButton, {
12009
12016
  onClick: onRetry,
12010
12017
  variant: "outline",
12011
12018
  size: size,
12012
12019
  className: classes.actionButton,
12013
- children: /*#__PURE__*/jsx(VentionIcon, {
12020
+ children: jsx(VentionIcon, {
12014
12021
  type: "reload",
12015
12022
  size: getActionIconSize(size)
12016
12023
  })
12017
12024
  })
12018
- }), /*#__PURE__*/jsx(Grid, {
12025
+ }), jsx(Grid, {
12019
12026
  item: true,
12020
12027
  xs: "auto",
12021
- children: state === "indeterminate" ? /*#__PURE__*/jsx(VentionIconButton, {
12028
+ children: state === "indeterminate" ? jsx(VentionIconButton, {
12022
12029
  onClick: onCancel,
12023
12030
  variant: "outline",
12024
12031
  size: size,
12025
12032
  className: classes.actionButton,
12026
12033
  "data-testid": "cancelButton",
12027
- children: /*#__PURE__*/jsx(VentionIcon, {
12034
+ children: jsx(VentionIcon, {
12028
12035
  type: "close",
12029
12036
  size: getActionIconSize(size)
12030
12037
  })
12031
- }) : /*#__PURE__*/jsx(VentionIconButton, {
12038
+ }) : jsx(VentionIconButton, {
12032
12039
  onClick: onRemove,
12033
12040
  variant: "outline",
12034
12041
  size: size,
12035
12042
  className: classes.actionButton,
12036
12043
  "data-testid": "removeButton",
12037
- children: /*#__PURE__*/jsx(VentionIcon, {
12044
+ children: jsx(VentionIcon, {
12038
12045
  type: "trash",
12039
12046
  size: getActionIconSize(size)
12040
12047
  })
@@ -12046,13 +12053,13 @@ const useStyle$1 = tss$1.withParams().create(({
12046
12053
  size,
12047
12054
  style
12048
12055
  }) => ({
12049
- container: Object.assign({
12056
+ container: Object.assign(Object.assign({
12050
12057
  flexDirection: "row",
12051
12058
  gap: getGap(size),
12052
12059
  padding: getPadding(size, style),
12053
12060
  alignItems: "center",
12054
12061
  backgroundColor: getContainerBackgroundColor(style)
12055
- }, getContainerBorder(style), {
12062
+ }, getContainerBorder(style)), {
12056
12063
  borderRadius: getBorderRadius(size, style),
12057
12064
  width: "100%"
12058
12065
  }),
@@ -12084,7 +12091,8 @@ const useStyle$1 = tss$1.withParams().create(({
12084
12091
  }
12085
12092
  }));
12086
12093
 
12087
- let DropZoneState = /*#__PURE__*/function (DropZoneState) {
12094
+ var DropZoneState;
12095
+ (function (DropZoneState) {
12088
12096
  DropZoneState["Default"] = "Default";
12089
12097
  DropZoneState["Hover"] = "Hover";
12090
12098
  DropZoneState["Pressed"] = "Pressed";
@@ -12095,8 +12103,7 @@ let DropZoneState = /*#__PURE__*/function (DropZoneState) {
12095
12103
  DropZoneState["MouseLeave"] = "MouseLeave";
12096
12104
  DropZoneState["Drop"] = "Drop";
12097
12105
  DropZoneState["FileChange"] = "FileChange";
12098
- return DropZoneState;
12099
- }({});
12106
+ })(DropZoneState || (DropZoneState = {}));
12100
12107
  const sizeProperties = {
12101
12108
  large: {
12102
12109
  minHeight: "72px",
@@ -12148,17 +12155,14 @@ function getDropZoneBorder(state, disabled, style) {
12148
12155
  const borderLineStyle = state === DropZoneState.DraggedOver ? "solid" : borderStyle;
12149
12156
  return `${borderWidth} ${borderLineStyle} ${borderColor}`;
12150
12157
  }
12151
-
12152
12158
  // Accessor functions for size-specific properties
12153
12159
  function getDropZoneStyle(size, property) {
12154
12160
  return sizeProperties[size][property];
12155
12161
  }
12156
-
12157
12162
  // Accessor functions for style-specific properties
12158
12163
  function getDropZoneBackgroundColor(style) {
12159
12164
  return styleProperties[style].backgroundColor;
12160
12165
  }
12161
-
12162
12166
  /**
12163
12167
  * consolidates derivation of new drop zone status. should be re-used for testing purpose as well
12164
12168
  */
@@ -12194,7 +12198,6 @@ const VentionDropZoneTestIds = {
12194
12198
  fileInput: "dropzoneFileInput"
12195
12199
  };
12196
12200
  const UPLOAD_TITLE = "Drop to start uploading";
12197
-
12198
12201
  /**
12199
12202
  * Vention's custom dropzone component. Supports drag and drop as well as
12200
12203
  * click to upload. Supports different sizes and styles along with a disabled state.
@@ -12210,7 +12213,7 @@ function VentionDropZone({
12210
12213
  disabled = false,
12211
12214
  dataTestIds
12212
12215
  }) {
12213
- var _dataTestIds$containe, _dataTestIds$contents, _dataTestIds$uploadIc, _dataTestIds$title, _dataTestIds$criteria, _dataTestIds$errors, _dataTestIds$fileInpu;
12216
+ var _a, _b, _c, _d, _e, _f, _g;
12214
12217
  const [state, dispatch] = useReducer(dropZoneReducer, {
12215
12218
  dropZoneStatus: DropZoneState.Default,
12216
12219
  title: defaultTitle,
@@ -12288,7 +12291,7 @@ function VentionDropZone({
12288
12291
  });
12289
12292
  fileInputRef.current.click();
12290
12293
  };
12291
- return /*#__PURE__*/jsx(Box$1, {
12294
+ return jsx(Box$1, {
12292
12295
  onMouseDown: handleMouseDown,
12293
12296
  onMouseUp: handleMouseUp,
12294
12297
  onMouseEnter: handleHover,
@@ -12302,44 +12305,44 @@ function VentionDropZone({
12302
12305
  onDragLeave: handleDragLeave,
12303
12306
  onDrop: handleDrop,
12304
12307
  className: classes.dropZoneContainer,
12305
- "data-testid": (_dataTestIds$containe = dataTestIds == null ? void 0 : dataTestIds.container) != null ? _dataTestIds$containe : VentionDropZoneTestIds.container,
12306
- children: /*#__PURE__*/jsxs(Grid, {
12307
- "data-testid": (_dataTestIds$contents = dataTestIds == null ? void 0 : dataTestIds.contents) != null ? _dataTestIds$contents : VentionDropZoneTestIds.contents,
12308
+ "data-testid": (_a = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.container) !== null && _a !== void 0 ? _a : VentionDropZoneTestIds.container,
12309
+ children: jsxs(Grid, {
12310
+ "data-testid": (_b = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.contents) !== null && _b !== void 0 ? _b : VentionDropZoneTestIds.contents,
12308
12311
  container: true,
12309
12312
  className: classes.dropZoneContents,
12310
- children: [/*#__PURE__*/jsx(Grid, {
12313
+ children: [jsx(Grid, {
12311
12314
  item: true,
12312
12315
  className: classes.dropZoneUploadIcon,
12313
- children: /*#__PURE__*/jsx(VentionIcon, {
12314
- dataTestId: (_dataTestIds$uploadIc = dataTestIds == null ? void 0 : dataTestIds.uploadIcon) != null ? _dataTestIds$uploadIc : VentionDropZoneTestIds.uploadIcon,
12316
+ children: jsx(VentionIcon, {
12317
+ dataTestId: (_c = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.uploadIcon) !== null && _c !== void 0 ? _c : VentionDropZoneTestIds.uploadIcon,
12315
12318
  type: "circle-arrow-up",
12316
12319
  size: getDropZoneStyle(size, "iconSize")
12317
12320
  })
12318
- }), /*#__PURE__*/jsxs(Grid, {
12321
+ }), jsxs(Grid, {
12319
12322
  item: true,
12320
12323
  className: classes.dropZoneTexts,
12321
- children: [/*#__PURE__*/jsx("div", {
12322
- "data-testid": (_dataTestIds$title = dataTestIds == null ? void 0 : dataTestIds.title) != null ? _dataTestIds$title : VentionDropZoneTestIds.title,
12324
+ children: [jsx("div", {
12325
+ "data-testid": (_d = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.title) !== null && _d !== void 0 ? _d : VentionDropZoneTestIds.title,
12323
12326
  className: classes.dropTitle,
12324
12327
  children: state.title
12325
- }), state.dropZoneStatus !== DropZoneState.DraggedOver && /*#__PURE__*/jsxs(Fragment, {
12326
- children: [/*#__PURE__*/jsx("div", {
12327
- "data-testid": (_dataTestIds$criteria = dataTestIds == null ? void 0 : dataTestIds.criteria) != null ? _dataTestIds$criteria : VentionDropZoneTestIds.criteria,
12328
+ }), state.dropZoneStatus !== DropZoneState.DraggedOver && jsxs(Fragment, {
12329
+ children: [jsx("div", {
12330
+ "data-testid": (_e = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.criteria) !== null && _e !== void 0 ? _e : VentionDropZoneTestIds.criteria,
12328
12331
  className: classes.criteriaDescription,
12329
12332
  children: fileCriteriaDescription
12330
- }), /*#__PURE__*/jsx("div", {
12331
- "data-testid": (_dataTestIds$errors = dataTestIds == null ? void 0 : dataTestIds.errors) != null ? _dataTestIds$errors : VentionDropZoneTestIds.errors,
12333
+ }), jsx("div", {
12334
+ "data-testid": (_f = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.errors) !== null && _f !== void 0 ? _f : VentionDropZoneTestIds.errors,
12332
12335
  children: state.errorMessages.map(error => {
12333
- return /*#__PURE__*/jsxs("div", {
12336
+ return jsxs("div", {
12334
12337
  className: classes.errorMessage,
12335
12338
  children: ["\u26A0 ", error]
12336
12339
  }, error);
12337
12340
  })
12338
12341
  })]
12339
12342
  })]
12340
- }), /*#__PURE__*/jsx("input", {
12343
+ }), jsx("input", {
12341
12344
  onChange: handleFileInputChange,
12342
- "data-testid": (_dataTestIds$fileInpu = dataTestIds == null ? void 0 : dataTestIds.fileInput) != null ? _dataTestIds$fileInpu : VentionDropZoneTestIds.fileInput,
12345
+ "data-testid": (_g = dataTestIds === null || dataTestIds === void 0 ? void 0 : dataTestIds.fileInput) !== null && _g !== void 0 ? _g : VentionDropZoneTestIds.fileInput,
12343
12346
  disabled: disabled,
12344
12347
  "aria-label": "File upload",
12345
12348
  type: "file",
@@ -12356,7 +12359,7 @@ function dropZoneReducer(reducerState, {
12356
12359
  title
12357
12360
  }) {
12358
12361
  const errorMessages = errors || reducerState.errorMessages;
12359
- return Object.assign({}, reducerState, {
12362
+ return Object.assign(Object.assign({}, reducerState), {
12360
12363
  errorMessages,
12361
12364
  title,
12362
12365
  dropZoneStatus: getDropZoneStatus(type, errorMessages.length > 0)
@@ -12429,7 +12432,7 @@ const VentionInputGroupLabel = ({
12429
12432
  classes,
12430
12433
  cx
12431
12434
  } = useStyles();
12432
- return /*#__PURE__*/jsx("div", {
12435
+ return jsx("div", {
12433
12436
  className: cx(classes.root, variant === "shaded" && classes.variantShaded),
12434
12437
  children: children
12435
12438
  });
@@ -12455,12 +12458,6 @@ const useStyles = tss.create(({
12455
12458
  }));
12456
12459
 
12457
12460
  const POSITIONED_MENU_OFFSET = 3;
12458
-
12459
- /**
12460
- * Props for the positioned component.
12461
- * Either position or anchorRect must be defined, but not both.
12462
- */
12463
-
12464
12461
  /**
12465
12462
  * Generic positioned component that can position any React component based on viewport constraints.
12466
12463
  * It can be positioned relative to an anchor element or a specified position.
@@ -12498,7 +12495,6 @@ function VentionPositionedComponent({
12498
12495
  top = calculatedPosition.top;
12499
12496
  left = calculatedPosition.left;
12500
12497
  }
12501
-
12502
12498
  // Clamp to viewport
12503
12499
  const maxLeft = Math.max(0, window.innerWidth - width);
12504
12500
  const maxTop = Math.max(0, window.innerHeight - height);
@@ -12509,7 +12505,7 @@ function VentionPositionedComponent({
12509
12505
  left
12510
12506
  });
12511
12507
  }, [position, anchorRect, placement, alignment, children]);
12512
- return /*#__PURE__*/jsx("div", {
12508
+ return jsx("div", {
12513
12509
  ref: ref,
12514
12510
  style: {
12515
12511
  position: "fixed",