@parallelworks/ui 0.20.0 → 0.21.1

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 (437) hide show
  1. package/README.md +5 -0
  2. package/dist/ai/adapter/openai/createOpenAIStream.js +3 -2
  3. package/dist/ai/agent/diff.d.ts +0 -1
  4. package/dist/ai/agent/diff.js +3 -2
  5. package/dist/ai/agent/toolfmt.js +2 -3
  6. package/dist/ai/ai.css +5 -0
  7. package/dist/ai/components/AllocationSelector.js +3 -2
  8. package/dist/ai/components/AttachmentManager.js +7 -5
  9. package/dist/ai/components/AttachmentUpload.js +11 -7
  10. package/dist/ai/components/BlockedGroupBanner.js +2 -2
  11. package/dist/ai/components/BranchNavigator.js +8 -5
  12. package/dist/ai/components/ChatEmptyState.js +8 -5
  13. package/dist/ai/components/ChatInput.d.ts +2 -5
  14. package/dist/ai/components/ChatInput.js +16 -11
  15. package/dist/ai/components/ChatMessage.js +25 -17
  16. package/dist/ai/components/ChatMessageList.js +4 -3
  17. package/dist/ai/components/ChatSidebar.d.ts +0 -1
  18. package/dist/ai/components/ChatSidebar.js +22 -16
  19. package/dist/ai/components/ChatThread.js +9 -11
  20. package/dist/ai/components/ComposerChrome.js +2 -2
  21. package/dist/ai/components/ModelSelector.js +20 -14
  22. package/dist/ai/components/ShareDialog.js +10 -6
  23. package/dist/ai/components/SlashMenu.d.ts +0 -1
  24. package/dist/ai/components/agent/ActivityLine.d.ts +0 -1
  25. package/dist/ai/components/agent/ActivityLine.js +5 -4
  26. package/dist/ai/components/agent/AgentMessageParts.d.ts +1 -26
  27. package/dist/ai/components/agent/AgentMessageParts.js +13 -12
  28. package/dist/ai/core/ChatProvider.d.ts +2 -6
  29. package/dist/ai/core/ChatProvider.js +42 -67
  30. package/dist/ai/core/KeyboardShortcutsProvider.js +1 -1
  31. package/dist/ai/core/chatReducer.d.ts +0 -6
  32. package/dist/ai/core/chatReducer.js +1 -15
  33. package/dist/ai/core/useKeyboardShortcuts.d.ts +3 -1
  34. package/dist/ai/core/useKeyboardShortcuts.js +9 -11
  35. package/dist/ai/core/useSSEStream.d.ts +0 -1
  36. package/dist/ai/core/useSSEStream.js +5 -17
  37. package/dist/ai/strings.d.ts +0 -1
  38. package/dist/ai/strings.js +0 -1
  39. package/dist/ai/types.d.ts +1 -1
  40. package/dist/ai/ui/Avatar.d.ts +1 -2
  41. package/dist/ai/ui/Avatar.js +7 -18
  42. package/dist/ai/ui/Dropdown.js +2 -2
  43. package/dist/ai/ui/Markdown.d.ts +1 -3
  44. package/dist/ai/ui/Markdown.js +1 -2
  45. package/dist/ai/ui/Notice.js +5 -3
  46. package/dist/ai/ui/sidebar.d.ts +0 -1
  47. package/dist/ai/ui/sidebar.js +5 -3
  48. package/dist/ai/utils.js +1 -1
  49. package/dist/components/Avatar.js +4 -2
  50. package/dist/components/BareModal.js +1 -5
  51. package/dist/components/Breadcrumbs.js +21 -14
  52. package/dist/components/Button.js +3 -2
  53. package/dist/components/Callout.js +4 -3
  54. package/dist/components/CollapsiblePanel.d.ts +1 -3
  55. package/dist/components/CollapsiblePanel.js +7 -7
  56. package/dist/components/CopyToClipboard.js +8 -4
  57. package/dist/components/CreateModal.js +11 -7
  58. package/dist/components/Dropdown.d.ts +0 -4
  59. package/dist/components/Dropdown.js +7 -8
  60. package/dist/components/Filter.js +2 -2
  61. package/dist/components/Indicator.js +14 -9
  62. package/dist/components/Input.js +6 -4
  63. package/dist/components/Listbox.js +16 -20
  64. package/dist/components/Loader.js +1 -1
  65. package/dist/components/MultiSelect.js +5 -8
  66. package/dist/components/PageHeader.js +10 -7
  67. package/dist/components/Pagination.js +1 -1
  68. package/dist/components/Provider.d.ts +0 -8
  69. package/dist/components/Sort.js +6 -4
  70. package/dist/components/StatusIcons.d.ts +11 -0
  71. package/dist/components/StatusIcons.js +20 -0
  72. package/dist/components/SwitchToggle.js +3 -5
  73. package/dist/components/Table.d.ts +1 -3
  74. package/dist/components/Tooltip.js +3 -3
  75. package/dist/components/dropdownUtils.js +7 -8
  76. package/dist/components/relativeTime.d.ts +0 -7
  77. package/dist/components/relativeTime.js +1 -1
  78. package/dist/duration.js +1 -1
  79. package/dist/editor/Editor.d.ts +1 -1
  80. package/dist/editor/Editor.js +1 -1
  81. package/dist/editor/EditorField.d.ts +0 -1
  82. package/dist/editor/EditorField.js +8 -8
  83. package/dist/editor/FormCodePanel.js +20 -23
  84. package/dist/editor/yamlLanguage.js +2 -2
  85. package/dist/file-explorer/FileExplorer.js +94 -82
  86. package/dist/file-explorer/FileExplorerContext.d.ts +1 -2
  87. package/dist/file-explorer/FileExplorerContext.js +92 -125
  88. package/dist/file-explorer/FilePreview/Inline.d.ts +1 -2
  89. package/dist/file-explorer/FilePreview/Inline.js +4 -4
  90. package/dist/file-explorer/FilePreview/StreamedBadge.js +2 -2
  91. package/dist/file-explorer/FilePreview/Viewer.js +14 -14
  92. package/dist/file-explorer/FilePreview/index.d.ts +1 -2
  93. package/dist/file-explorer/FilePreview/index.js +20 -13
  94. package/dist/file-explorer/FilePreview/parse.d.ts +2 -1
  95. package/dist/file-explorer/FilePreview/useObjectBlobUrl.d.ts +5 -4
  96. package/dist/file-explorer/FilePreview/useObjectBlobUrl.js +23 -36
  97. package/dist/file-explorer/FilePreview/useObjectText.d.ts +1 -2
  98. package/dist/file-explorer/FilePreview/useObjectText.js +5 -7
  99. package/dist/file-explorer/FileRow.js +3 -3
  100. package/dist/file-explorer/FileRowsWindow.d.ts +5 -12
  101. package/dist/file-explorer/FileRowsWindow.js +3 -2
  102. package/dist/file-explorer/FileTable.d.ts +2 -6
  103. package/dist/file-explorer/LoadMoreRow.d.ts +8 -0
  104. package/dist/file-explorer/TreeView.d.ts +0 -1
  105. package/dist/file-explorer/TreeView.js +11 -9
  106. package/dist/file-explorer/helpers.js +45 -33
  107. package/dist/file-explorer/lib/fileExplorer.d.ts +0 -2
  108. package/dist/file-explorer/lib/types.d.ts +0 -1
  109. package/dist/file-explorer/lib/utils.js +15 -20
  110. package/dist/file-explorer/toasts.js +54 -45
  111. package/dist/form/Fields/BooleanField.js +5 -4
  112. package/dist/form/Fields/CheckboxGroupField.js +5 -4
  113. package/dist/form/Fields/ColorField.js +5 -4
  114. package/dist/form/Fields/DropdownField.d.ts +0 -1
  115. package/dist/form/Fields/DropdownField.js +10 -13
  116. package/dist/form/Fields/DurationField.js +2 -2
  117. package/dist/form/Fields/LabelField.js +5 -5
  118. package/dist/form/Fields/MultiDropdownField.d.ts +1 -1
  119. package/dist/form/Fields/MultiDropdownField.js +8 -11
  120. package/dist/form/Fields/NumberField.js +6 -5
  121. package/dist/form/Fields/ObjectField.d.ts +1 -2
  122. package/dist/form/Fields/ObjectField.js +22 -21
  123. package/dist/form/Fields/RadioField.js +4 -3
  124. package/dist/form/Fields/RangeField.js +7 -6
  125. package/dist/form/Fields/StringField.js +2 -1
  126. package/dist/form/Fields/TextAreaField.js +2 -1
  127. package/dist/form/Form.d.ts +7 -8
  128. package/dist/form/Form.js +56 -81
  129. package/dist/form/SpecialTypes/DropdownWrapper.d.ts +0 -2
  130. package/dist/form/SpecialTypes/DropdownWrapper.js +1 -3
  131. package/dist/form/SpecialTypes/FormikCustomDropdown.d.ts +1 -3
  132. package/dist/form/SpecialTypes/FormikCustomDropdown.js +4 -7
  133. package/dist/form/SpecialTypes/FormikCustomInput.js +16 -13
  134. package/dist/form/Wizard/WizardContainer.js +8 -25
  135. package/dist/form/Wizard/WizardNavigation.d.ts +1 -1
  136. package/dist/form/Wizard/WizardNavigation.js +5 -6
  137. package/dist/form/Wizard/WizardStepContent.d.ts +1 -1
  138. package/dist/form/Wizard/WizardStepContent.js +2 -2
  139. package/dist/form/Wizard/WizardStepIndicator.js +7 -17
  140. package/dist/form/Wizard/types.d.ts +4 -46
  141. package/dist/form/Wizard/useWizardState.d.ts +2 -10
  142. package/dist/form/Wizard/useWizardState.js +42 -92
  143. package/dist/form/Wizard/utils.js +6 -11
  144. package/dist/form/lib.js +28 -54
  145. package/dist/form/types/fieldTypes.d.ts +4 -5
  146. package/dist/form/utils/dependentOptions.d.ts +6 -0
  147. package/dist/form/utils/dependentOptions.js +21 -0
  148. package/dist/form/utils/getParentValue.d.ts +2 -1
  149. package/dist/form/utils/getParentValue.js +10 -15
  150. package/dist/form/utils/getValueUsingPath.js +1 -1
  151. package/dist/graph/AnnotationBanner.d.ts +1 -1
  152. package/dist/graph/AnnotationBanner.js +10 -6
  153. package/dist/graph/Collapse.d.ts +3 -3
  154. package/dist/graph/Collapse.js +3 -8
  155. package/dist/graph/DependencyGraph.d.ts +5 -4
  156. package/dist/graph/DependencyGraph.js +178 -226
  157. package/dist/graph/JobSummary.d.ts +10 -8
  158. package/dist/graph/JobSummary.js +17 -16
  159. package/dist/graph/MatrixGroup.d.ts +5 -17
  160. package/dist/graph/MatrixGroup.js +11 -22
  161. package/dist/graph/TreeView.d.ts +1 -3
  162. package/dist/graph/TreeView.js +106 -492
  163. package/dist/graph/types.d.ts +3 -2
  164. package/dist/graph/util.d.ts +5 -0
  165. package/dist/graph/util.js +18 -0
  166. package/dist/icons/ai/AiOutlineRollback.js +16 -0
  167. package/dist/icons/bi/BiBell.js +16 -0
  168. package/dist/icons/bi/BiBellOff.js +16 -0
  169. package/dist/icons/bi/BiBuildings.js +20 -0
  170. package/dist/icons/bi/BiError.js +20 -0
  171. package/dist/icons/bi/BiExpandVertical.js +16 -0
  172. package/dist/icons/bi/BiPause.js +16 -0
  173. package/dist/icons/bi/BiPlay.js +16 -0
  174. package/dist/icons/bi/BiSolidCheckShield.js +16 -0
  175. package/dist/icons/bi/BiSolidTrashAlt.js +16 -0
  176. package/dist/icons/bi/BiStop.js +16 -0
  177. package/dist/icons/bs/BsArrowsCollapse.js +22 -0
  178. package/dist/icons/bs/BsBank2.js +19 -0
  179. package/dist/icons/bs/BsBriefcase.js +19 -0
  180. package/dist/icons/bs/BsBucket.js +19 -0
  181. package/dist/icons/bs/BsCalendarX.js +23 -0
  182. package/dist/icons/bs/BsChatLeft.js +19 -0
  183. package/dist/icons/bs/BsChevronDoubleDown.js +29 -0
  184. package/dist/icons/bs/BsChevronDoubleUp.js +29 -0
  185. package/dist/icons/bs/BsClipboardCheck.js +34 -0
  186. package/dist/icons/bs/BsCurrencyDollar.js +19 -0
  187. package/dist/icons/bs/BsDash.js +19 -0
  188. package/dist/icons/bs/BsFileEarmarkZip.js +23 -0
  189. package/dist/icons/bs/BsFiles.js +19 -0
  190. package/dist/icons/bs/BsGeoAlt.js +23 -0
  191. package/dist/icons/bs/BsGrid.js +19 -0
  192. package/dist/icons/bs/BsLayers.js +19 -0
  193. package/dist/icons/bs/BsLayoutThreeColumns.js +19 -0
  194. package/dist/icons/bs/BsListUl.js +22 -0
  195. package/dist/icons/bs/BsMortarboard.js +23 -0
  196. package/dist/icons/bs/BsMusicNoteBeamed.js +34 -0
  197. package/dist/icons/bs/BsOpenai.js +19 -0
  198. package/dist/icons/bs/BsPersonPlus.js +26 -0
  199. package/dist/icons/bs/BsSearch.js +19 -0
  200. package/dist/icons/bs/BsSend.js +19 -0
  201. package/dist/icons/bs/BsShieldSlash.js +22 -0
  202. package/dist/icons/bs/BsStar.js +19 -0
  203. package/dist/icons/bs/BsStarFill.js +19 -0
  204. package/dist/icons/bs/BsStopCircle.js +23 -0
  205. package/dist/icons/bs/BsTag.js +23 -0
  206. package/dist/icons/bs/BsTelephone.js +19 -0
  207. package/dist/icons/bs/BsTerminal.js +23 -0
  208. package/dist/icons/bs/BsTerminalFill.js +19 -0
  209. package/dist/icons/bs/BsThreeDots.js +19 -0
  210. package/dist/icons/bs/BsThreeDotsVertical.js +19 -0
  211. package/dist/icons/bs/BsZoomIn.js +37 -0
  212. package/dist/icons/fa/FaAmazon.js +16 -0
  213. package/dist/icons/fa/FaAngleDown.js +16 -0
  214. package/dist/icons/fa/FaAngleLeft.js +16 -0
  215. package/dist/icons/fa/FaAngleRight.js +16 -0
  216. package/dist/icons/fa/FaAngleUp.js +16 -0
  217. package/dist/icons/fa/FaArrowDown.js +16 -0
  218. package/dist/icons/fa/FaArrowLeft.js +16 -0
  219. package/dist/icons/fa/FaArrowRight.js +16 -0
  220. package/dist/icons/fa/FaArrowUp.js +16 -0
  221. package/dist/icons/fa/FaBalanceScale.js +16 -0
  222. package/dist/icons/fa/FaCaretDown.js +16 -0
  223. package/dist/icons/fa/FaCentos.js +16 -0
  224. package/dist/icons/fa/FaChartLine.js +16 -0
  225. package/dist/icons/fa/FaChartPie.js +16 -0
  226. package/dist/icons/fa/FaCheck.js +16 -0
  227. package/dist/icons/fa/FaChevronDown.js +16 -0
  228. package/dist/icons/fa/FaChevronUp.js +16 -0
  229. package/dist/icons/fa/FaChrome.js +16 -0
  230. package/dist/icons/fa/FaCircleNotch.js +16 -0
  231. package/dist/icons/fa/FaCloud.js +16 -0
  232. package/dist/icons/fa/FaCloudDownloadAlt.js +16 -0
  233. package/dist/icons/fa/FaCog.js +16 -0
  234. package/dist/icons/fa/FaCogs.js +16 -0
  235. package/dist/icons/fa/FaComments.js +16 -0
  236. package/dist/icons/fa/FaCompress.js +16 -0
  237. package/dist/icons/fa/FaDesktop.js +16 -0
  238. package/dist/icons/fa/FaDocker.js +16 -0
  239. package/dist/icons/fa/FaDollarSign.js +16 -0
  240. package/dist/icons/fa/FaEdge.js +16 -0
  241. package/dist/icons/fa/FaEdit.js +16 -0
  242. package/dist/icons/fa/FaExclamationTriangle.js +16 -0
  243. package/dist/icons/fa/FaExpand.js +16 -0
  244. package/dist/icons/fa/FaEye.js +16 -0
  245. package/dist/icons/fa/FaEyeSlash.js +16 -0
  246. package/dist/icons/fa/FaFile.js +16 -0
  247. package/dist/icons/fa/FaFilePdf.js +16 -0
  248. package/dist/icons/fa/FaFilter.js +16 -0
  249. package/dist/icons/fa/FaFirefoxBrowser.js +16 -0
  250. package/dist/icons/fa/FaFlask.js +16 -0
  251. package/dist/icons/fa/FaFolder.js +16 -0
  252. package/dist/icons/fa/FaGithub.js +16 -0
  253. package/dist/icons/fa/FaGitlab.js +16 -0
  254. package/dist/icons/fa/FaGlobe.js +16 -0
  255. package/dist/icons/fa/FaGlobeAmericas.js +16 -0
  256. package/dist/icons/fa/FaImage.js +16 -0
  257. package/dist/icons/fa/FaInfoCircle.js +16 -0
  258. package/dist/icons/fa/FaKey.js +16 -0
  259. package/dist/icons/fa/FaLayerGroup.js +16 -0
  260. package/dist/icons/fa/FaLink.js +16 -0
  261. package/dist/icons/fa/FaLinkedin.js +16 -0
  262. package/dist/icons/fa/FaLinux.js +16 -0
  263. package/dist/icons/fa/FaList.js +16 -0
  264. package/dist/icons/fa/FaLock.js +16 -0
  265. package/dist/icons/fa/FaOpenid.js +16 -0
  266. package/dist/icons/fa/FaOpera.js +16 -0
  267. package/dist/icons/fa/FaPaperclip.js +16 -0
  268. package/dist/icons/fa/FaPlus.js +16 -0
  269. package/dist/icons/fa/FaPowerOff.js +16 -0
  270. package/dist/icons/fa/FaPrint.js +16 -0
  271. package/dist/icons/fa/FaQrcode.js +16 -0
  272. package/dist/icons/fa/FaQuestionCircle.js +16 -0
  273. package/dist/icons/fa/FaRedhat.js +16 -0
  274. package/dist/icons/fa/FaRegCircle.js +16 -0
  275. package/dist/icons/fa/FaRegFileImage.js +16 -0
  276. package/dist/icons/fa/FaRegFolder.js +16 -0
  277. package/dist/icons/fa/FaRobot.js +16 -0
  278. package/dist/icons/fa/FaRocket.js +16 -0
  279. package/dist/icons/fa/FaRunning.js +16 -0
  280. package/dist/icons/fa/FaSafari.js +16 -0
  281. package/dist/icons/fa/FaSave.js +16 -0
  282. package/dist/icons/fa/FaSearch.js +16 -0
  283. package/dist/icons/fa/FaShieldAlt.js +16 -0
  284. package/dist/icons/fa/FaSlack.js +16 -0
  285. package/dist/icons/fa/FaStar.js +16 -0
  286. package/dist/icons/fa/FaStop.js +16 -0
  287. package/dist/icons/fa/FaSuse.js +16 -0
  288. package/dist/icons/fa/FaTerminal.js +16 -0
  289. package/dist/icons/fa/FaTimes.js +16 -0
  290. package/dist/icons/fa/FaUbuntu.js +16 -0
  291. package/dist/icons/fa/FaUndoAlt.js +16 -0
  292. package/dist/icons/fa/FaUnlink.js +16 -0
  293. package/dist/icons/fa/FaUser.js +16 -0
  294. package/dist/icons/fa/FaUsers.js +16 -0
  295. package/dist/icons/fa/FaWindows.js +16 -0
  296. package/dist/icons/fa6/FaApple.js +16 -0
  297. package/dist/icons/fa6/FaArrowsRotate.js +16 -0
  298. package/dist/icons/fa6/FaDebian.js +16 -0
  299. package/dist/icons/fa6/FaFilterCircleXmark.js +16 -0
  300. package/dist/icons/fa6/FaInbox.js +16 -0
  301. package/dist/icons/fa6/FaLocationDot.js +16 -0
  302. package/dist/icons/fa6/FaRegFilePdf.js +16 -0
  303. package/dist/icons/fa6/FaRegFolderOpen.js +16 -0
  304. package/dist/icons/fa6/FaUpRightFromSquare.js +16 -0
  305. package/dist/icons/fa6/FaWandMagicSparkles.js +16 -0
  306. package/dist/icons/fa6/FaXTwitter.js +16 -0
  307. package/dist/icons/fi/FiActivity.js +23 -0
  308. package/dist/icons/fi/FiAlertCircle.js +49 -0
  309. package/dist/icons/fi/FiChevronDown.js +23 -0
  310. package/dist/icons/fi/FiClock.js +31 -0
  311. package/dist/icons/fi/FiCopy.js +34 -0
  312. package/dist/icons/fi/FiDownload.js +40 -0
  313. package/dist/icons/fi/FiFile.js +27 -0
  314. package/dist/icons/fi/FiFileText.js +55 -0
  315. package/dist/icons/fi/FiHardDrive.js +55 -0
  316. package/dist/icons/fi/FiRotateCcw.js +27 -0
  317. package/dist/icons/fi/FiUpload.js +40 -0
  318. package/dist/icons/fi/FiX.js +37 -0
  319. package/dist/icons/fi/FiZap.js +23 -0
  320. package/dist/icons/gi/GiSpy.js +16 -0
  321. package/dist/icons/go/GoGitCommit.js +16 -0
  322. package/dist/icons/go/GoGitPullRequest.js +20 -0
  323. package/dist/icons/go/GoIssueOpened.js +16 -0
  324. package/dist/icons/go/GoPlus.js +16 -0
  325. package/dist/icons/go/GoRepoForked.js +28 -0
  326. package/dist/icons/go/GoSignOut.js +16 -0
  327. package/dist/icons/go/GoSkip.js +20 -0
  328. package/dist/icons/go/GoVideo.js +20 -0
  329. package/dist/icons/gr/GrCloudComputer.js +20 -0
  330. package/dist/icons/gr/GrInbox.js +20 -0
  331. package/dist/icons/gr/GrServerCluster.js +20 -0
  332. package/dist/icons/gr/GrStorage.js +20 -0
  333. package/dist/icons/gr/GrTasks.js +20 -0
  334. package/dist/icons/hi/HiCog.js +24 -0
  335. package/dist/icons/hi/HiDuplicate.js +24 -0
  336. package/dist/icons/hi/HiOutlineArchive.js +26 -0
  337. package/dist/icons/hi/HiOutlineClipboardCopy.js +26 -0
  338. package/dist/icons/hi/HiOutlineHome.js +26 -0
  339. package/dist/icons/hi/HiQuestionMarkCircle.js +24 -0
  340. package/dist/icons/hi/HiServer.js +24 -0
  341. package/dist/icons/hi2/HiMiniCheckCircle.js +24 -0
  342. package/dist/icons/hi2/HiMiniLanguage.js +28 -0
  343. package/dist/icons/hi2/HiMiniMinusCircle.js +24 -0
  344. package/dist/icons/hi2/HiMiniXCircle.js +24 -0
  345. package/dist/icons/hi2/HiSparkles.js +24 -0
  346. package/dist/icons/im/ImSpinner5.js +19 -0
  347. package/dist/icons/io/IoIosNotifications.js +16 -0
  348. package/dist/icons/io/IoMdBuild.js +16 -0
  349. package/dist/icons/io/IoMdClose.js +16 -0
  350. package/dist/icons/io5/IoCloudUploadOutline.js +32 -0
  351. package/dist/icons/io5/IoDocumentTextOutline.js +31 -0
  352. package/dist/icons/io5/IoFileTrayFullOutline.js +31 -0
  353. package/dist/icons/io5/IoHeart.js +16 -0
  354. package/dist/icons/io5/IoHeartDislike.js +16 -0
  355. package/dist/icons/io5/IoHeartOutline.js +22 -0
  356. package/dist/icons/io5/IoInformationCircleOutline.js +50 -0
  357. package/dist/icons/io5/IoSettingsOutline.js +22 -0
  358. package/dist/icons/io5/IoWarningOutline.js +40 -0
  359. package/dist/icons/lu/LuArrowRight.js +27 -0
  360. package/dist/icons/lu/LuBadgeCheck.js +27 -0
  361. package/dist/icons/lu/LuBrainCircuit.js +101 -0
  362. package/dist/icons/lu/LuCalendar.js +46 -0
  363. package/dist/icons/lu/LuCheck.js +23 -0
  364. package/dist/icons/lu/LuChevronLeft.js +23 -0
  365. package/dist/icons/lu/LuChevronRight.js +23 -0
  366. package/dist/icons/lu/LuExternalLink.js +35 -0
  367. package/dist/icons/lu/LuEye.js +31 -0
  368. package/dist/icons/lu/LuEyeOff.js +40 -0
  369. package/dist/icons/lu/LuFolderTree.js +40 -0
  370. package/dist/icons/lu/LuIdCard.js +55 -0
  371. package/dist/icons/lu/LuLogs.js +65 -0
  372. package/dist/icons/lu/LuMail.js +33 -0
  373. package/dist/icons/lu/LuMegaphone.js +27 -0
  374. package/dist/icons/lu/LuMoon.js +23 -0
  375. package/dist/icons/lu/LuPartyPopper.js +65 -0
  376. package/dist/icons/lu/LuSettings2.js +48 -0
  377. package/dist/icons/lu/LuSheet.js +72 -0
  378. package/dist/icons/lu/LuShield.js +23 -0
  379. package/dist/icons/lu/LuSun.js +69 -0
  380. package/dist/icons/lu/LuX.js +27 -0
  381. package/dist/icons/lu/LuZoomIn.js +59 -0
  382. package/dist/icons/lu/LuZoomOut.js +49 -0
  383. package/dist/icons/md/MdClear.js +23 -0
  384. package/dist/icons/md/MdDragHandle.js +23 -0
  385. package/dist/icons/md/MdInstallDesktop.js +31 -0
  386. package/dist/icons/md/MdOutlineAttachMoney.js +23 -0
  387. package/dist/icons/md/MdOutlineMoneyOff.js +23 -0
  388. package/dist/icons/md/MdPieChart.js +23 -0
  389. package/dist/icons/md/MdRefresh.js +23 -0
  390. package/dist/icons/md/MdReplay.js +23 -0
  391. package/dist/icons/md/MdSmartphone.js +23 -0
  392. package/dist/icons/pi/PiArrowBendUpRightBold.js +19 -0
  393. package/dist/icons/pi/PiPlugsConnectedFill.js +19 -0
  394. package/dist/icons/pi/PiRectangleDashed.js +19 -0
  395. package/dist/icons/pi/PiShareBold.js +19 -0
  396. package/dist/icons/si/SiAnthropic.js +19 -0
  397. package/dist/icons/si/SiHelm.js +19 -0
  398. package/dist/icons/si/SiKubernetes.js +19 -0
  399. package/dist/icons/tb/TbAlertTriangle.js +35 -0
  400. package/dist/icons/tb/TbAlertTriangleFilled.js +19 -0
  401. package/dist/icons/tb/TbApi.js +40 -0
  402. package/dist/icons/tb/TbBrain.js +50 -0
  403. package/dist/icons/tb/TbBuildingTunnel.js +65 -0
  404. package/dist/icons/tb/TbEdit.js +35 -0
  405. package/dist/icons/tb/TbLayoutSidebar.js +27 -0
  406. package/dist/icons/tb/TbLayoutSidebarLeftCollapse.js +35 -0
  407. package/dist/icons/tb/TbLayoutSidebarRightCollapse.js +35 -0
  408. package/dist/icons/tb/TbUser.js +27 -0
  409. package/dist/icons/tb/TbUserOff.js +35 -0
  410. package/dist/icons/tb/TbWorldShare.js +55 -0
  411. package/dist/icons/tb/TbWorldWww.js +65 -0
  412. package/dist/icons/ti/TiArrowSortedDown.js +20 -0
  413. package/dist/icons/ti/TiArrowSortedUp.js +20 -0
  414. package/dist/icons/ti/TiArrowUnsorted.js +20 -0
  415. package/dist/icons/ti/TiCancel.js +20 -0
  416. package/dist/icons/vsc/VscChromeMinimize.js +19 -0
  417. package/dist/icons/vsc/VscJson.js +19 -0
  418. package/dist/icons/vsc/VscLayoutSidebarLeft.js +19 -0
  419. package/dist/icons/vsc/VscPass.js +27 -0
  420. package/dist/icons/vsc/VscSplitHorizontal.js +19 -0
  421. package/dist/icons/vsc/VscTerminalPowershell.js +19 -0
  422. package/dist/icons.d.ts +7 -22
  423. package/dist/icons.js +257 -38
  424. package/dist/index.d.ts +1 -1
  425. package/dist/list/ActionToolbar.js +2 -2
  426. package/dist/list/ListPager.js +4 -3
  427. package/dist/list/ListTable.js +2 -2
  428. package/dist/list/ListViewControls.js +29 -42
  429. package/dist/list/RowContextMenu.js +28 -19
  430. package/dist/list/listSearch.js +6 -5
  431. package/dist/logviewer/LogViewer.js +28 -20
  432. package/dist/logviewer/segments.js +2 -2
  433. package/dist/styles/theme.css +1 -0
  434. package/dist/styles.css +1 -1
  435. package/dist/theme/index.js +5 -5
  436. package/package.json +28 -30
  437. package/dist/ai/ui/buttons.d.ts +0 -1
package/dist/form/lib.js CHANGED
@@ -23,56 +23,44 @@ function enforceOneMustBeTrue(items, options, promoteIndex) {
23
23
  const fieldSchema = options[fieldKey];
24
24
  const opts = typeof fieldSchema === "object" && fieldSchema && "options" in fieldSchema ? fieldSchema.options : void 0;
25
25
  const trueOption = typeof opts === "object" && opts && !Array.isArray(opts) && "onOption" in opts ? opts.onOption || true : true;
26
- if (!items.some((item) => item[fieldKey] === trueOption)) items[clampedIndex][fieldKey] = trueOption;
26
+ const hasTrue = items.some((item) => item[fieldKey] === trueOption);
27
+ const promoted = items[clampedIndex];
28
+ if (!hasTrue && promoted) promoted[fieldKey] = trueOption;
27
29
  }
28
30
  return items;
29
31
  }
30
32
  function flattenGroups(schema) {
31
33
  if (!schema || typeof schema !== "object") return {};
32
- const fields = schema;
33
- let flattenedFields = {};
34
- Object.keys(fields).forEach((key) => {
35
- const entry = fields[key];
36
- if (entry?.type === "group") {
37
- const flattenedGroup = flattenGroups(entry.options);
38
- flattenedFields = {
39
- ...flattenedFields,
40
- ...flattenedGroup
41
- };
42
- } else if (entry?.type === "object") {
43
- const flattenedGroup = flattenGroups(entry.options);
44
- flattenedFields = {
45
- ...flattenedFields,
46
- [key]: flattenedGroup
47
- };
48
- } else flattenedFields[key] = entry;
49
- });
50
- return flattenedFields;
34
+ const flattened = {};
35
+ for (const [key, entry] of Object.entries(schema)) if (entry?.type === "group") Object.assign(flattened, flattenGroups(entry.options));
36
+ else if (entry?.type === "object") flattened[key] = flattenGroups(entry.options);
37
+ else flattened[key] = entry;
38
+ return flattened;
51
39
  }
52
40
  /**Not a pure function. Edits 'obj' passed into function */
53
41
  function impureSetValueFromPath(obj, path, value) {
54
- const pathArray = path.split(".");
55
- if (pathArray.length === 1) {
56
- obj[pathArray[0]] = value;
57
- return;
58
- }
42
+ const parents = path.split(".");
43
+ const leaf = parents.pop() ?? "";
59
44
  let current = obj;
60
- for (let i = 0; i < pathArray.length - 1; i++) {
61
- const segment = pathArray[i];
45
+ for (const segment of parents) {
62
46
  const arrayMatch = segment.match(/^(.+)\[(\d+)\]$/);
63
47
  if (arrayMatch) {
64
- const key = arrayMatch[1];
65
- const index = Number(arrayMatch[2]);
48
+ const [, key = "", indexText] = arrayMatch;
49
+ const index = Number(indexText);
66
50
  if (!current[key]) current[key] = [];
67
51
  const list = current[key];
68
- if (!list[index]) list[index] = {};
69
- current = list[index];
52
+ let item = list[index];
53
+ if (!item) {
54
+ item = {};
55
+ list[index] = item;
56
+ }
57
+ current = item;
70
58
  } else {
71
59
  if (!current[segment]) current[segment] = {};
72
60
  current = current[segment];
73
61
  }
74
62
  }
75
- current[pathArray[pathArray.length - 1]] = value;
63
+ current[leaf] = value;
76
64
  }
77
65
  function initializeValues(options, srcData = {}, blankDefault) {
78
66
  if (!options || typeof options !== "object") return;
@@ -82,25 +70,13 @@ function initializeValues(options, srcData = {}, blankDefault) {
82
70
  return Object.keys(schema).reduce((acc, field) => {
83
71
  if (field.startsWith("$")) return acc;
84
72
  const fieldSchema = schema[field] ?? EMPTY_ENTRY;
85
- if (fieldSchema.type === "group") {
73
+ const flattenStep = fieldSchema.type === "step" && schema["$meta"]?.wizard?.flatten !== false;
74
+ if (fieldSchema.type === "group" || flattenStep) {
86
75
  const values = initializeValues(fieldSchema.options, data);
87
- if (!values) return acc;
88
- Object.keys(values).forEach((key) => {
89
- acc[key] = data[key] ?? values[key];
90
- });
91
- return acc;
92
- }
93
- if (fieldSchema.type === "step") {
94
- if (schema["$meta"]?.wizard?.flatten !== false) {
95
- const values = initializeValues(fieldSchema.options, data);
96
- if (!values) return acc;
97
- Object.keys(values).forEach((key) => {
98
- acc[key] = data[key] ?? values[key];
99
- });
100
- } else acc[field] = initializeValues(fieldSchema.options, asRecord(data[field]));
76
+ for (const key of Object.keys(values ?? {})) acc[key] = data[key] ?? values?.[key];
101
77
  return acc;
102
78
  }
103
- if (fieldSchema.type === "object") {
79
+ if (fieldSchema.type === "step" || fieldSchema.type === "object") {
104
80
  acc[field] = initializeValues(fieldSchema.options, asRecord(data[field]));
105
81
  return acc;
106
82
  }
@@ -110,14 +86,12 @@ function initializeValues(options, srcData = {}, blankDefault) {
110
86
  acc[field] = Array.isArray(listData) ? [...listData] : [];
111
87
  return acc;
112
88
  }
113
- const arr = [];
114
- if (Array.isArray(listData)) for (let i = 0; i < listData.length; i++) arr.push(initializeValues(fieldSchema.options, asRecord(listData[i])));
115
- acc[field] = arr;
89
+ acc[field] = Array.isArray(listData) ? listData.map((item) => initializeValues(fieldSchema.options, asRecord(item))) : [];
116
90
  return acc;
117
91
  }
118
92
  if (data[field] !== void 0) {
119
93
  acc[field] = data[field];
120
- if ((fieldSchema.type === "dropdown" || fieldSchema.type === "storage") && fieldSchema.secondaryField && fieldSchema.options && Array.isArray(fieldSchema.options)) {
94
+ if ((fieldSchema.type === "dropdown" || fieldSchema.type === "storage") && fieldSchema.secondaryField && Array.isArray(fieldSchema.options)) {
121
95
  const option = findSecondaryOption(fieldSchema.options, data[field]);
122
96
  applySecondaryField(fieldSchema.secondaryField, option?.secondaryValue, (secondaryField, secondaryValue) => {
123
97
  if (!(fieldSchema.type === "storage" && Object.hasOwn(options, secondaryField) && source[secondaryField] !== void 0)) impureSetValueFromPath(acc, secondaryField, secondaryValue);
@@ -135,8 +109,8 @@ function initializeValues(options, srcData = {}, blankDefault) {
135
109
  else acc[field] = false;
136
110
  }
137
111
  if (fieldSchema.type === "dropdown") {
138
- if (fieldSchema.options && Array.isArray(fieldSchema.options) && fieldSchema.options.length > 0) acc[field] = fieldSchema.options[0].value;
139
- if (fieldSchema.type === "dropdown" && fieldSchema.secondaryField && fieldSchema.options && Array.isArray(fieldSchema.options)) {
112
+ if (Array.isArray(fieldSchema.options) && fieldSchema.options.length > 0) acc[field] = fieldSchema.options[0].value;
113
+ if (fieldSchema.secondaryField && Array.isArray(fieldSchema.options)) {
140
114
  const option = fieldSchema.options.find((option) => option.value === data[field]);
141
115
  const secondaryField = Array.isArray(fieldSchema.secondaryField) ? fieldSchema.secondaryField : [fieldSchema.secondaryField];
142
116
  const secondaryValue = Array.isArray(option?.secondaryValue) ? option?.secondaryValue : [option?.secondaryValue];
@@ -15,7 +15,8 @@ export interface RuntimeFieldExtensions {
15
15
  one_must_be_true?: boolean;
16
16
  computeOn?: boolean;
17
17
  labelPosition?: LabelPosition;
18
- resetOnChange?: boolean;
18
+ /** Path of another field; when its value changes, this field's value is cleared. */
19
+ resetOnChange?: string;
19
20
  options?: unknown;
20
21
  }
21
22
  export interface BaseField extends RuntimeFieldExtensions {
@@ -36,14 +37,13 @@ interface WizardConfig {
36
37
  /** Navigation UI options */
37
38
  navigation?: {
38
39
  showSteps?: boolean;
39
- showProgress?: boolean;
40
40
  allowJump?: boolean;
41
41
  hideStepNumbers?: boolean;
42
42
  };
43
43
  /** Label for the final submit button */
44
44
  submitLabel?: string;
45
- /** Use URL-based routing instead of component state */
46
- urlBased?: boolean;
45
+ /** Flatten step fields into top-level inputs (default: true). Set false to keep each step's fields under its key. */
46
+ flatten?: boolean;
47
47
  }
48
48
  interface StepField extends BaseField {
49
49
  type: 'step';
@@ -51,7 +51,6 @@ interface StepField extends BaseField {
51
51
  description?: string;
52
52
  options: Record<string, AnyField>;
53
53
  validateOnNext?: boolean;
54
- canSkip?: boolean;
55
54
  nextLabel?: string;
56
55
  prevLabel?: string;
57
56
  }
@@ -0,0 +1,6 @@
1
+ /** Options for a field whose list is keyed by another field's value: with
2
+ * depends_on, the list follows whatever is currently chosen at that path. */
3
+ export declare function dependentOptions<T>(options: T[] | Record<string, T[]>, dependsOn: string | undefined, values: Record<string, unknown>): {
4
+ options: T[];
5
+ parentValue: unknown;
6
+ };
@@ -0,0 +1,21 @@
1
+ import { getValueUsingPath } from "./getValueUsingPath.js";
2
+ //#region src/form/utils/dependentOptions.ts
3
+ /** Options for a field whose list is keyed by another field's value: with
4
+ * depends_on, the list follows whatever is currently chosen at that path. */
5
+ function dependentOptions(options, dependsOn, values) {
6
+ if (Array.isArray(options)) return {
7
+ options,
8
+ parentValue: void 0
9
+ };
10
+ const parentValue = dependsOn ? getValueUsingPath(values, dependsOn) : void 0;
11
+ if (parentValue === void 0 || parentValue === null) return {
12
+ options: [],
13
+ parentValue
14
+ };
15
+ return {
16
+ options: options[String(parentValue)] ?? [],
17
+ parentValue
18
+ };
19
+ }
20
+ //#endregion
21
+ export { dependentOptions };
@@ -1,3 +1,4 @@
1
- export declare function getParentValue(index: number | undefined, targetField: unknown, values: object, dependentPath: string, field: {
1
+ /** `index` replaces a path's `[index]` placeholder when the field sits in a list row. */
2
+ export declare function getParentValue(index: number | undefined, targetField: unknown, values: object, field: {
2
3
  depends_on?: string | undefined;
3
4
  }): unknown;
@@ -1,23 +1,18 @@
1
1
  import { getValueUsingPath } from "./getValueUsingPath.js";
2
2
  import { checkShowIfObject } from "./checkShowIfObject.js";
3
3
  //#region src/form/utils/getParentValue.ts
4
- function getParentValue(index, targetField, values, dependentPath, field) {
5
- let parentValue;
6
- if (typeof targetField === "object" && targetField !== null && !Array.isArray(targetField)) parentValue = !checkShowIfObject(targetField, values, index).includes(false);
7
- else if (field.depends_on) {
8
- dependentPath = field.depends_on;
9
- if (index !== void 0) dependentPath = field.depends_on.replace("[index]", `[${index}]`);
10
- const dependsOnValue = getValueUsingPath(values, dependentPath);
4
+ /** `index` replaces a path's `[index]` placeholder when the field sits in a list row. */
5
+ function getParentValue(index, targetField, values, field) {
6
+ const atIndex = (path) => index === void 0 ? path : path.replace("[index]", `[${index}]`);
7
+ if (typeof targetField === "object" && targetField !== null && !Array.isArray(targetField)) return !checkShowIfObject(targetField, values, index).includes(false);
8
+ if (field.depends_on) {
9
+ const dependsOnValue = getValueUsingPath(values, atIndex(field.depends_on));
11
10
  const dependsOnText = dependsOnValue === null || dependsOnValue === void 0 ? void 0 : String(dependsOnValue);
12
- if (Array.isArray(targetField)) parentValue = targetField.includes(dependsOnValue) || targetField.includes(dependsOnText);
13
- else if (typeof targetField === "string") parentValue = dependsOnText !== void 0 && targetField.includes(dependsOnText);
14
- else parentValue = targetField === dependsOnValue;
15
- } else {
16
- dependentPath = typeof targetField === "string" ? targetField : "";
17
- if (index !== void 0 && typeof targetField === "string") dependentPath = targetField.replace("[index]", `[${index}]`);
18
- parentValue = getValueUsingPath(values, dependentPath);
11
+ if (Array.isArray(targetField)) return targetField.includes(dependsOnValue) || targetField.includes(dependsOnText);
12
+ if (typeof targetField === "string") return dependsOnText !== void 0 && targetField.includes(dependsOnText);
13
+ return targetField === dependsOnValue;
19
14
  }
20
- return parentValue;
15
+ return getValueUsingPath(values, typeof targetField === "string" ? atIndex(targetField) : "");
21
16
  }
22
17
  //#endregion
23
18
  export { getParentValue };
@@ -10,7 +10,7 @@ function getValueUsingPath(obj, path) {
10
10
  const [arrayKey = "", indexStr = ""] = key.split("[");
11
11
  const index = parseInt(indexStr.slice(0, -1), 10);
12
12
  const list = container[arrayKey];
13
- if (!Array.isArray(list) || isNaN(index)) return;
13
+ if (!Array.isArray(list) || Number.isNaN(index)) return;
14
14
  current = list[index];
15
15
  } else {
16
16
  if (!(key in container)) return;
@@ -1,6 +1,6 @@
1
1
  import type { WorkflowJob } from './types.js';
2
2
  interface AnnotationBannerProps {
3
- executedJobs: Record<string, WorkflowJob> | null | undefined;
3
+ executedJobs: Record<string, WorkflowJob>;
4
4
  }
5
5
  export declare function AnnotationBanner({ executedJobs }: AnnotationBannerProps): import("react").JSX.Element | null;
6
6
  export {};
@@ -1,4 +1,8 @@
1
- import { ChevronDownIcon, ChevronRightIcon, ErrorIcon, InfoIcon, WarningIcon } from "../icons.js";
1
+ import { BiError } from "../icons/bi/BiError.js";
2
+ import { FaChevronDown } from "../icons/fa/FaChevronDown.js";
3
+ import { FaInfoCircle } from "../icons/fa/FaInfoCircle.js";
4
+ import { IoWarningOutline } from "../icons/io5/IoWarningOutline.js";
5
+ import { LuChevronRight } from "../icons/lu/LuChevronRight.js";
2
6
  import { keyedByContent } from "../components/keys.js";
3
7
  import cx from "classnames";
4
8
  import { useState } from "react";
@@ -11,21 +15,21 @@ var typeOrder = {
11
15
  };
12
16
  var typeConfig = {
13
17
  error: {
14
- icon: ErrorIcon,
18
+ icon: BiError,
15
19
  label: "Error",
16
20
  accentClass: "text-red-500",
17
21
  bgClass: "bg-red-500/5 dark:bg-red-500/10",
18
22
  countBg: "bg-red-500/15 text-red-700 dark:text-red-400"
19
23
  },
20
24
  warning: {
21
- icon: WarningIcon,
25
+ icon: IoWarningOutline,
22
26
  label: "Warning",
23
27
  accentClass: "text-yellow-500",
24
28
  bgClass: "bg-yellow-500/5 dark:bg-yellow-500/10",
25
29
  countBg: "bg-yellow-500/15 text-yellow-700 dark:text-yellow-400"
26
30
  },
27
31
  notice: {
28
- icon: InfoIcon,
32
+ icon: FaInfoCircle,
29
33
  label: "Notice",
30
34
  accentClass: "text-blue-500",
31
35
  bgClass: "bg-blue-500/5 dark:bg-blue-500/10",
@@ -48,6 +52,7 @@ function collectAnnotations(executedJobs, parentPath) {
48
52
  title: annotation.title,
49
53
  file: annotation.file,
50
54
  line: annotation.line,
55
+ id: annotation.id,
51
56
  jobName: fullJobName,
52
57
  stepName: step?.name,
53
58
  stepIndex
@@ -62,7 +67,6 @@ function collectAnnotations(executedJobs, parentPath) {
62
67
  }
63
68
  function AnnotationBanner({ executedJobs }) {
64
69
  const [expanded, setExpanded] = useState(false);
65
- if (!executedJobs) return null;
66
70
  const annotations = collectAnnotations(executedJobs);
67
71
  if (annotations.length === 0) return null;
68
72
  const counts = {
@@ -71,7 +75,7 @@ function AnnotationBanner({ executedJobs }) {
71
75
  notice: 0
72
76
  };
73
77
  for (const a of annotations) counts[a.type]++;
74
- const ChevronIcon = expanded ? ChevronDownIcon : ChevronRightIcon;
78
+ const ChevronIcon = expanded ? FaChevronDown : LuChevronRight;
75
79
  return /* @__PURE__ */ jsxs("div", {
76
80
  className: cx("rounded-lg border border-[var(--theme-border)] overflow-hidden", "bg-[var(--theme-panel-bg)]"),
77
81
  children: [/* @__PURE__ */ jsxs("button", {
@@ -1,6 +1,6 @@
1
- import { type ReactNode } from 'react';
2
- export declare function Collapse({ expanded, children, releaseOverflow, }: {
1
+ import type { ReactNode } from 'react';
2
+ export declare function Collapse({ expanded, id, children, }: {
3
3
  expanded: boolean;
4
+ id?: string;
4
5
  children: ReactNode;
5
- releaseOverflow?: boolean;
6
6
  }): import("react").JSX.Element;
@@ -1,12 +1,11 @@
1
- import { useState } from "react";
2
1
  import { jsx } from "react/jsx-runtime";
3
2
  import { AnimatePresence, motion } from "framer-motion";
4
3
  //#region src/graph/Collapse.tsx
5
- function Collapse({ expanded, children, releaseOverflow = true }) {
6
- const [overflowVisible, setOverflowVisible] = useState(false);
4
+ function Collapse({ expanded, id, children }) {
7
5
  return /* @__PURE__ */ jsx(AnimatePresence, {
8
6
  initial: false,
9
7
  children: expanded && /* @__PURE__ */ jsx(motion.div, {
8
+ id,
10
9
  initial: {
11
10
  height: 0,
12
11
  opacity: 0
@@ -28,11 +27,7 @@ function Collapse({ expanded, children, releaseOverflow = true }) {
28
27
  1
29
28
  ]
30
29
  },
31
- style: { overflow: overflowVisible ? "visible" : "hidden" },
32
- onAnimationStart: () => setOverflowVisible(false),
33
- onAnimationComplete: () => {
34
- if (expanded && releaseOverflow) setOverflowVisible(true);
35
- },
30
+ className: "overflow-hidden",
36
31
  children
37
32
  }, "collapse")
38
33
  });
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
- import { type RunLink } from './types.js';
2
+ import { type RunLink, type WorkflowJob } from './types.js';
3
3
  export type ViewMode = 'dag' | 'tree';
4
+ export declare const addCleanupSteps: ({ jobs }: {
5
+ jobs: Record<string, WorkflowJob>;
6
+ }) => Record<string, WorkflowJob>;
4
7
  interface GraphRun {
5
8
  id?: string | undefined;
6
9
  number?: number | undefined;
@@ -13,17 +16,15 @@ interface GraphRun {
13
16
  executedJobs?: Record<string, unknown> | undefined;
14
17
  links?: Record<string, RunLink> | undefined;
15
18
  }
16
- export default function DependencyGraph({ run, preview, initialScale, removeBorder, viewMode, setViewMode, }: {
19
+ export default function DependencyGraph({ run, preview, removeBorder, viewMode, setViewMode, }: {
17
20
  run: GraphRun;
18
21
  preview?: boolean;
19
- initialScale?: number;
20
22
  removeBorder?: boolean | undefined;
21
23
  viewMode?: ViewMode;
22
24
  setViewMode?: (mode: ViewMode) => void;
23
25
  }): React.JSX.Element | undefined;
24
26
  export declare function DependencyGraphPreview(inputs: {
25
27
  yml?: Record<string, unknown>;
26
- initialScale?: number;
27
28
  removeBorder?: boolean;
28
29
  }): React.JSX.Element;
29
30
  export {};