@redvars/peacock 4.0.0 → 4.1.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 (408) hide show
  1. package/dist/{BaseField-CAog9TIc.js → BaseField-BMumJpkW.js} +6 -3
  2. package/dist/BaseField-BMumJpkW.js.map +1 -0
  3. package/dist/{BaseInput-CcMfg1Y2.js → BaseInput-mWdyYv27.js} +6 -3
  4. package/dist/BaseInput-mWdyYv27.js.map +1 -0
  5. package/dist/accordion.js.map +1 -1
  6. package/dist/ai-badge.js +2 -2
  7. package/dist/ai-summary.js +2 -2
  8. package/dist/alert.js +2 -2
  9. package/dist/anchor-nav.js +2 -2
  10. package/dist/app-shell.js +2 -2
  11. package/dist/assistant-panel.js +2 -2
  12. package/dist/assistant-step.js +2 -2
  13. package/dist/assistant-steps.js +2 -2
  14. package/dist/avatar-group.js +2 -2
  15. package/dist/banner.js +2 -2
  16. package/dist/{base-button-Do2TUy8M.js → base-button-BJMGMcMv.js} +3 -1
  17. package/dist/base-button-BJMGMcMv.js.map +1 -0
  18. package/dist/{base-progress-BiLlZVHJ.js → base-progress-CvLVSjuy.js} +4 -2
  19. package/dist/base-progress-CvLVSjuy.js.map +1 -0
  20. package/dist/bottom-sheet.js +2 -2
  21. package/dist/breadcrumb.js +2 -2
  22. package/dist/button-group.js +4 -4
  23. package/dist/button.js +3 -3
  24. package/dist/calendar.js +2 -2
  25. package/dist/canvas-base-BTQMEVn_.js +788 -0
  26. package/dist/canvas-base-BTQMEVn_.js.map +1 -0
  27. package/dist/canvas-link-CtgsALq4.js +54 -0
  28. package/dist/canvas-link-CtgsALq4.js.map +1 -0
  29. package/dist/{cartesian-chart-C-f1frt0.js → cartesian-chart-DM1FC_XT.js} +3 -2
  30. package/dist/cartesian-chart-DM1FC_XT.js.map +1 -0
  31. package/dist/{cb-group-base-DeuCVx3a.js → cb-group-base-B6fa4Lll.js} +2 -2
  32. package/dist/{cb-group-base-DeuCVx3a.js.map → cb-group-base-B6fa4Lll.js.map} +1 -1
  33. package/dist/cb-group.js +3 -3
  34. package/dist/cb-rule.js +3 -3
  35. package/dist/chart-area.js +5 -4
  36. package/dist/chart-area.js.map +1 -1
  37. package/dist/chart-bar.js +5 -4
  38. package/dist/chart-bar.js.map +1 -1
  39. package/dist/chart-base-Dhxuw_Mw.js +833 -0
  40. package/dist/chart-base-Dhxuw_Mw.js.map +1 -0
  41. package/dist/chart-doughnut.js +4 -3
  42. package/dist/chart-doughnut.js.map +1 -1
  43. package/dist/chart-line.js +5 -4
  44. package/dist/chart-line.js.map +1 -1
  45. package/dist/chart-pie.js +4 -3
  46. package/dist/chart-pie.js.map +1 -1
  47. package/dist/chat-message.js +2 -2
  48. package/dist/chat-thread.js +2 -2
  49. package/dist/checkbox-group.js +4 -4
  50. package/dist/checkbox.js +4 -4
  51. package/dist/chip-set.js +3 -3
  52. package/dist/chip.js +4 -4
  53. package/dist/circular-progress.js +3 -3
  54. package/dist/citation.js +2 -2
  55. package/dist/code-editor.js +5 -4
  56. package/dist/code-editor.js.map +1 -1
  57. package/dist/code-highlighter.js +2 -2
  58. package/dist/color-field.js +5 -5
  59. package/dist/color-picker.js +2 -2
  60. package/dist/command-palette.js +2 -2
  61. package/dist/comment-composer.js +5 -5
  62. package/dist/condition-builder.js +3 -3
  63. package/dist/confirm-dialog.js +2 -2
  64. package/dist/copy-button.js +2 -2
  65. package/dist/currency-field.js +5 -5
  66. package/dist/custom-elements-jsdocs.json +2115 -336
  67. package/dist/custom-elements.json +19483 -615
  68. package/dist/date-field.js +6 -6
  69. package/dist/date-picker.js +4 -2
  70. package/dist/date-picker.js.map +1 -1
  71. package/dist/date-range-field.js +6 -6
  72. package/dist/datetime-field.js +6 -6
  73. package/dist/dependency-map-layout-5KUueabk.js +1390 -0
  74. package/dist/dependency-map-layout-5KUueabk.js.map +1 -0
  75. package/dist/dependency-map.js +1605 -0
  76. package/dist/dependency-map.js.map +1 -0
  77. package/dist/description-item.js +2 -2
  78. package/dist/description-list.js +2 -2
  79. package/dist/diagram-2r11KySs.js +2029 -0
  80. package/dist/diagram-2r11KySs.js.map +1 -0
  81. package/dist/diagram-controls.js +345 -0
  82. package/dist/diagram-controls.js.map +1 -0
  83. package/dist/diagram-minimap.js +216 -0
  84. package/dist/diagram-minimap.js.map +1 -0
  85. package/dist/diagram.js +20 -0
  86. package/dist/diagram.js.map +1 -0
  87. package/dist/diff-viewer.js +2 -2
  88. package/dist/discussion-activity.js +2 -2
  89. package/dist/discussion-comment.js +2 -2
  90. package/dist/discussion.js +5 -5
  91. package/dist/{document-editor-BO7QPbO5.js → document-editor-BnEugM3E.js} +2 -2
  92. package/dist/{document-editor-BO7QPbO5.js.map → document-editor-BnEugM3E.js.map} +1 -1
  93. package/dist/document-editor.js +3 -3
  94. package/dist/draft-card.js +2 -2
  95. package/dist/erd.js +2021 -0
  96. package/dist/erd.js.map +1 -0
  97. package/dist/fab.js +4 -4
  98. package/dist/field.js +257 -43
  99. package/dist/field.js.map +1 -1
  100. package/dist/file-upload.js +37 -15
  101. package/dist/file-upload.js.map +1 -1
  102. package/dist/filter-bar.js +2 -2
  103. package/dist/flow.js +27 -970
  104. package/dist/flow.js.map +1 -1
  105. package/dist/focus-ring.js +2 -0
  106. package/dist/focus-ring.js.map +1 -1
  107. package/dist/{form-associated-D3Tn33s_.js → form-associated-BHbg72PG.js} +3 -1
  108. package/dist/{form-associated-D3Tn33s_.js.map → form-associated-BHbg72PG.js.map} +1 -1
  109. package/dist/{form-submitter-DWwv6K9-.js → form-submitter-beG1CXAn.js} +7 -1
  110. package/dist/{form-submitter-DWwv6K9-.js.map → form-submitter-beG1CXAn.js.map} +1 -1
  111. package/dist/form.js +2 -2
  112. package/dist/{generative-view-DmtpDobn.js → generative-view-BgOcLRXr.js} +13 -13
  113. package/dist/generative-view-BgOcLRXr.js.map +1 -0
  114. package/dist/generative-view.js +3 -3
  115. package/dist/geometry-INg82Lxq.js +305 -0
  116. package/dist/geometry-INg82Lxq.js.map +1 -0
  117. package/dist/history-YbTSQZHj.js +45 -0
  118. package/dist/history-YbTSQZHj.js.map +1 -0
  119. package/dist/host-CZK7xhzh.js +40 -0
  120. package/dist/host-CZK7xhzh.js.map +1 -0
  121. package/dist/html-editor.js +5 -5
  122. package/dist/{hyperlink-DhE9RlVS.js → hyperlink-DycWPKwU.js} +10 -1
  123. package/dist/hyperlink-DycWPKwU.js.map +1 -0
  124. package/dist/{i18n-controller-urcQKYGe.js → i18n-controller-Cp43HjJl.js} +2 -2
  125. package/dist/{i18n-controller-urcQKYGe.js.map → i18n-controller-Cp43HjJl.js.map} +1 -1
  126. package/dist/icon-button.js +4 -4
  127. package/dist/image.js +2 -2
  128. package/dist/index.js +37 -18
  129. package/dist/index.js.map +1 -1
  130. package/dist/inline-edit.js +2 -2
  131. package/dist/input.js +4 -4
  132. package/dist/json-viewer.js +2 -2
  133. package/dist/kanban.js +2 -2
  134. package/dist/kbd.js +2 -2
  135. package/dist/linear-progress.js +3 -3
  136. package/dist/link-button.js +2 -2
  137. package/dist/list-item.js +2 -2
  138. package/dist/list.js +2 -2
  139. package/dist/listbox.js +3 -3
  140. package/dist/loader-full.js +13 -13
  141. package/dist/loader.js +44 -15
  142. package/dist/loader.js.map +1 -1
  143. package/dist/markdown-editor.js +5 -5
  144. package/dist/markers-BFmh1OCz.js +46 -0
  145. package/dist/markers-BFmh1OCz.js.map +1 -0
  146. package/dist/measure-controller-Dmc5hZKg.js +89 -0
  147. package/dist/measure-controller-Dmc5hZKg.js.map +1 -0
  148. package/dist/mention-input.js +6 -5
  149. package/dist/mention-input.js.map +1 -1
  150. package/dist/menu-item.js +3 -2
  151. package/dist/menu-item.js.map +1 -1
  152. package/dist/menu.js +2 -2
  153. package/dist/modal.js +2 -2
  154. package/dist/navigation-bar.js +2 -2
  155. package/dist/navigation-drawer.js +2 -2
  156. package/dist/navigation-rail.js +2 -2
  157. package/dist/notification-center.js +2 -2
  158. package/dist/number-field.js +6 -5
  159. package/dist/number-field.js.map +1 -1
  160. package/dist/option.js +2 -2
  161. package/dist/page-header.js +2 -2
  162. package/dist/pagination.js +2 -2
  163. package/dist/password-field.js +5 -5
  164. package/dist/password-rules.js +2 -2
  165. package/dist/phone-field.js +5 -5
  166. package/dist/{picker-field-B4DtcJfL.js → picker-field-dTlIMAQn.js} +3 -3
  167. package/dist/{picker-field-B4DtcJfL.js.map → picker-field-dTlIMAQn.js.map} +1 -1
  168. package/dist/pin-input.js +5 -5
  169. package/dist/presence-indicator.js +2 -2
  170. package/dist/prompt-input.js +5 -5
  171. package/dist/radio-group.js +1 -0
  172. package/dist/radio-group.js.map +1 -1
  173. package/dist/radio.js +5 -5
  174. package/dist/radio.js.map +1 -1
  175. package/dist/rating.js +5 -4
  176. package/dist/rating.js.map +1 -1
  177. package/dist/redvars-loader.js +2 -2
  178. package/dist/relative-time.js +2 -2
  179. package/dist/resizable-panels.js +2 -2
  180. package/dist/{rich-text-input-DLICqof1.js → rich-text-input-DM_BOzgk.js} +3 -3
  181. package/dist/{rich-text-input-DLICqof1.js.map → rich-text-input-DM_BOzgk.js.map} +1 -1
  182. package/dist/ripple.js +2 -0
  183. package/dist/ripple.js.map +1 -1
  184. package/dist/{schema-hMt-NRLk.js → schema-B8g30A_n.js} +2 -2
  185. package/dist/{schema-hMt-NRLk.js.map → schema-B8g30A_n.js.map} +1 -1
  186. package/dist/search.js +4 -4
  187. package/dist/segmented-button-group.js +1 -1
  188. package/dist/select.js +7 -7
  189. package/dist/side-sheet.js +2 -2
  190. package/dist/signature-pad.js +5 -4
  191. package/dist/signature-pad.js.map +1 -1
  192. package/dist/slider.js +5 -4
  193. package/dist/slider.js.map +1 -1
  194. package/dist/snackbar.js +2 -2
  195. package/dist/sparkline.js +2 -2
  196. package/dist/split-button.js +2 -2
  197. package/dist/src/__internal/diagram/canvas-base.d.ts +105 -0
  198. package/dist/src/__internal/diagram/canvas-link.d.ts +21 -0
  199. package/dist/src/__internal/diagram/geometry.d.ts +49 -0
  200. package/dist/src/__internal/diagram/history.d.ts +17 -0
  201. package/dist/src/__internal/diagram/host.d.ts +45 -0
  202. package/dist/src/__internal/diagram/markers.d.ts +16 -0
  203. package/dist/src/__internal/diagram/measure-controller.d.ts +32 -0
  204. package/dist/src/__internal/diagram/motion.d.ts +22 -0
  205. package/dist/src/__internal/diagram/selection.d.ts +20 -0
  206. package/dist/src/__internal/diagram/types.d.ts +39 -0
  207. package/dist/src/__internal/diagram/viewport-controller.d.ts +89 -0
  208. package/dist/src/__internal/i18n/strings.d.ts +149 -0
  209. package/dist/src/__internal/toggle-base.d.ts +8 -0
  210. package/dist/src/__internal/utils/deprecate.d.ts +3 -3
  211. package/dist/src/accordion/accordion.d.ts +1 -0
  212. package/dist/src/code-editor/code-editor.d.ts +1 -0
  213. package/dist/src/date-picker/date-picker.d.ts +2 -0
  214. package/dist/src/dependency-map/dependency-map-layout.d.ts +48 -0
  215. package/dist/src/dependency-map/dependency-map.d.ts +241 -0
  216. package/dist/src/dependency-map/index.d.ts +2 -0
  217. package/dist/src/diagram/diagram.d.ts +300 -0
  218. package/dist/src/diagram/flow.d.ts +53 -0
  219. package/dist/src/diagram/index.d.ts +4 -0
  220. package/dist/src/diagram-controls/diagram-controls.d.ts +46 -0
  221. package/dist/src/diagram-controls/index.d.ts +1 -0
  222. package/dist/src/diagram-minimap/diagram-minimap.d.ts +39 -0
  223. package/dist/src/diagram-minimap/index.d.ts +1 -0
  224. package/dist/src/erd/erd-layout.d.ts +27 -0
  225. package/dist/src/erd/erd.d.ts +266 -0
  226. package/dist/src/erd/index.d.ts +2 -0
  227. package/dist/src/field/field.d.ts +38 -1
  228. package/dist/src/file-upload/file-upload.d.ts +3 -1
  229. package/dist/src/focus-ring/focus-ring.d.ts +2 -0
  230. package/dist/src/index.d.ts +15 -2
  231. package/dist/src/input/BaseField.d.ts +3 -0
  232. package/dist/src/input/BaseInput.d.ts +3 -0
  233. package/dist/src/menu/menu-item/menu-item.d.ts +1 -0
  234. package/dist/src/number-field/number-field.d.ts +4 -0
  235. package/dist/src/progress/base-progress.d.ts +3 -0
  236. package/dist/src/radio/radio-group.d.ts +1 -0
  237. package/dist/src/rating/rating.d.ts +1 -0
  238. package/dist/src/ripple/ripple.d.ts +2 -0
  239. package/dist/src/signature-pad/signature-pad.d.ts +1 -0
  240. package/dist/src/slider/slider.d.ts +1 -0
  241. package/dist/src/switch/switch.d.ts +1 -0
  242. package/dist/src/tabs/tab.d.ts +2 -0
  243. package/dist/src/tabs/tabs.d.ts +1 -0
  244. package/dist/src/textarea/textarea.d.ts +1 -0
  245. package/dist/src/time-picker/time-picker.d.ts +2 -0
  246. package/dist/src/transfer-list/transfer-list.d.ts +1 -0
  247. package/dist/src/tree-chart/index.d.ts +2 -0
  248. package/dist/src/tree-chart/tree-chart-layout.d.ts +49 -0
  249. package/dist/src/tree-chart/tree-chart.d.ts +221 -0
  250. package/dist/src/workflow/index.d.ts +2 -0
  251. package/dist/src/workflow/workflow-format.d.ts +5 -0
  252. package/dist/src/workflow/workflow-model.d.ts +194 -0
  253. package/dist/src/workflow/workflow.d.ts +313 -0
  254. package/dist/src/workflow-timeline/index.d.ts +1 -0
  255. package/dist/src/workflow-timeline/workflow-timeline.d.ts +41 -0
  256. package/dist/stat.js +2 -2
  257. package/dist/status-indicator.js +2 -2
  258. package/dist/step.js +2 -2
  259. package/dist/stepper.js +2 -2
  260. package/dist/{strings-DmbqMTfs.js → strings-BJPuhKJk.js} +163 -1
  261. package/dist/{strings-DmbqMTfs.js.map → strings-BJPuhKJk.js.map} +1 -1
  262. package/dist/sub-menu.js +2 -2
  263. package/dist/svg.js +2 -2
  264. package/dist/switch.js +5 -4
  265. package/dist/switch.js.map +1 -1
  266. package/dist/tab.js +1 -0
  267. package/dist/tab.js.map +1 -1
  268. package/dist/table.js +2 -2
  269. package/dist/tabs.js +1 -0
  270. package/dist/tabs.js.map +1 -1
  271. package/dist/test/diagram-controls.test.d.ts +1 -0
  272. package/dist/test/diagram-geometry.test.d.ts +1 -0
  273. package/dist/test/diagram.test.d.ts +1 -0
  274. package/dist/test/erd.test.d.ts +1 -0
  275. package/dist/test/toggle-label.test.d.ts +1 -0
  276. package/dist/test/tree-chart.test.d.ts +1 -0
  277. package/dist/test/workflow-debug.test.d.ts +1 -0
  278. package/dist/test/workflow.test.d.ts +1 -0
  279. package/dist/textarea.js +7 -5
  280. package/dist/textarea.js.map +1 -1
  281. package/dist/time-field.js +6 -6
  282. package/dist/time-picker.js +4 -2
  283. package/dist/time-picker.js.map +1 -1
  284. package/dist/timeline-item.js +2 -2
  285. package/dist/timeline.js +2 -2
  286. package/dist/{toggle-base-BQO5pjrU.js → toggle-base-BlaHalfS.js} +19 -3
  287. package/dist/toggle-base-BlaHalfS.js.map +1 -0
  288. package/dist/tour.js +2 -2
  289. package/dist/transfer-list.js +5 -4
  290. package/dist/transfer-list.js.map +1 -1
  291. package/dist/{chart-base-B-gOg2Di.js → transform-CxeQFXXB.js} +9 -839
  292. package/dist/transform-CxeQFXXB.js.map +1 -0
  293. package/dist/tree-chart.js +1986 -0
  294. package/dist/tree-chart.js.map +1 -0
  295. package/dist/tree-item.js +2 -2
  296. package/dist/tree.js +2 -2
  297. package/dist/tsconfig.tsbuildinfo +1 -1
  298. package/dist/typing-indicator.js +2 -2
  299. package/dist/url-field.js +5 -5
  300. package/dist/user-menu.js +2 -2
  301. package/dist/virtual-list.js +2 -2
  302. package/dist/workflow-format-BsyveyeC.js +34 -0
  303. package/dist/workflow-format-BsyveyeC.js.map +1 -0
  304. package/dist/workflow-model-CauduOG2.js +330 -0
  305. package/dist/workflow-model-CauduOG2.js.map +1 -0
  306. package/dist/workflow-timeline.js +354 -0
  307. package/dist/workflow-timeline.js.map +1 -0
  308. package/dist/workflow.js +3337 -0
  309. package/dist/workflow.js.map +1 -0
  310. package/dist/workspace-switcher.js +2 -2
  311. package/package.json +1 -1
  312. package/readme.md +44 -2
  313. package/src/LoaderUtils.ts +9 -2
  314. package/src/__internal/diagram/canvas-base.ts +410 -0
  315. package/src/__internal/diagram/canvas-link.ts +66 -0
  316. package/src/__internal/diagram/geometry.ts +372 -0
  317. package/src/__internal/diagram/history.ts +49 -0
  318. package/src/__internal/diagram/host.ts +76 -0
  319. package/src/__internal/diagram/markers.ts +56 -0
  320. package/src/__internal/diagram/measure-controller.ts +104 -0
  321. package/src/__internal/diagram/motion.ts +89 -0
  322. package/src/__internal/diagram/selection.ts +69 -0
  323. package/src/__internal/diagram/types.ts +56 -0
  324. package/src/__internal/diagram/viewport-controller.ts +494 -0
  325. package/src/__internal/i18n/strings.ts +201 -0
  326. package/src/__internal/mixins/field.ts +3 -0
  327. package/src/__internal/mixins/form-associated.ts +2 -0
  328. package/src/__internal/mixins/form-submitter.ts +6 -0
  329. package/src/__internal/mixins/hyperlink.ts +10 -0
  330. package/src/__internal/toggle-base.ts +16 -0
  331. package/src/__internal/utils/deprecate.ts +5 -4
  332. package/src/accordion/accordion.ts +1 -0
  333. package/src/button/base-button/base-button.ts +2 -0
  334. package/src/code-editor/code-editor.ts +1 -0
  335. package/src/date-picker/date-picker.ts +2 -0
  336. package/src/dependency-map/dependency-map-layout.ts +505 -0
  337. package/src/dependency-map/dependency-map.scss +626 -0
  338. package/src/dependency-map/dependency-map.ts +1280 -0
  339. package/src/dependency-map/index.ts +16 -0
  340. package/src/diagram/diagram.scss +513 -0
  341. package/src/diagram/diagram.ts +1852 -0
  342. package/src/diagram/flow.ts +81 -0
  343. package/src/diagram/index.ts +44 -0
  344. package/src/diagram-controls/diagram-controls.scss +68 -0
  345. package/src/diagram-controls/diagram-controls.ts +255 -0
  346. package/src/diagram-controls/index.ts +1 -0
  347. package/src/diagram-minimap/diagram-minimap.scss +41 -0
  348. package/src/diagram-minimap/diagram-minimap.ts +149 -0
  349. package/src/diagram-minimap/index.ts +1 -0
  350. package/src/erd/erd-layout.ts +92 -0
  351. package/src/erd/erd.scss +636 -0
  352. package/src/erd/erd.ts +1728 -0
  353. package/src/erd/index.ts +17 -0
  354. package/src/field/field.scss +197 -23
  355. package/src/field/field.ts +109 -16
  356. package/src/file-upload/file-upload.scss +37 -10
  357. package/src/file-upload/file-upload.ts +3 -1
  358. package/src/focus-ring/focus-ring.ts +2 -0
  359. package/src/generative-view/catalog.generated.ts +12 -11
  360. package/src/index.ts +121 -2
  361. package/src/input/BaseField.ts +3 -0
  362. package/src/input/BaseInput.ts +3 -0
  363. package/src/loader.ts +25 -0
  364. package/src/mention-input/mention-input.scss +2 -0
  365. package/src/menu/menu-item/menu-item.ts +1 -0
  366. package/src/number-field/number-field.ts +4 -0
  367. package/src/progress/base-progress.ts +3 -0
  368. package/src/radio/radio-group.ts +1 -0
  369. package/src/radio/radio.ts +1 -1
  370. package/src/rating/rating.ts +1 -0
  371. package/src/ripple/ripple.ts +2 -0
  372. package/src/signature-pad/signature-pad.ts +1 -0
  373. package/src/slider/slider.ts +1 -0
  374. package/src/switch/switch.ts +1 -0
  375. package/src/tabs/tab.ts +2 -0
  376. package/src/tabs/tabs.ts +1 -0
  377. package/src/textarea/textarea.scss +2 -0
  378. package/src/textarea/textarea.ts +1 -0
  379. package/src/time-picker/time-picker.ts +2 -0
  380. package/src/transfer-list/transfer-list.ts +1 -0
  381. package/src/tree-chart/index.ts +13 -0
  382. package/src/tree-chart/tree-chart-layout.ts +185 -0
  383. package/src/tree-chart/tree-chart.scss +377 -0
  384. package/src/tree-chart/tree-chart.ts +1170 -0
  385. package/src/workflow/index.ts +35 -0
  386. package/src/workflow/workflow-format.ts +29 -0
  387. package/src/workflow/workflow-model.ts +583 -0
  388. package/src/workflow/workflow.scss +1164 -0
  389. package/src/workflow/workflow.ts +2674 -0
  390. package/src/workflow-timeline/index.ts +1 -0
  391. package/src/workflow-timeline/workflow-timeline.scss +128 -0
  392. package/src/workflow-timeline/workflow-timeline.ts +238 -0
  393. package/dist/BaseField-CAog9TIc.js.map +0 -1
  394. package/dist/BaseInput-CcMfg1Y2.js.map +0 -1
  395. package/dist/base-button-Do2TUy8M.js.map +0 -1
  396. package/dist/base-progress-BiLlZVHJ.js.map +0 -1
  397. package/dist/cartesian-chart-C-f1frt0.js.map +0 -1
  398. package/dist/chart-base-B-gOg2Di.js.map +0 -1
  399. package/dist/generative-view-DmtpDobn.js.map +0 -1
  400. package/dist/hyperlink-DhE9RlVS.js.map +0 -1
  401. package/dist/src/flow/flow.d.ts +0 -178
  402. package/dist/src/flow/index.d.ts +0 -2
  403. package/dist/toggle-base-BQO5pjrU.js.map +0 -1
  404. package/src/button/button-group/readme.md +0 -23
  405. package/src/flow/flow.scss +0 -215
  406. package/src/flow/flow.ts +0 -958
  407. package/src/flow/index.ts +0 -10
  408. /package/dist/test/{flow.test.d.ts → dependency-map.test.d.ts} +0 -0
@@ -0,0 +1,313 @@
1
+ import { type PropertyValues, type TemplateResult } from 'lit';
2
+ import { DiagramCanvasElement } from '../__internal/diagram/canvas-base.js';
3
+ import type { DiagramOverview } from '../__internal/diagram/host.js';
4
+ import type { DiagramRect, DiagramView, DiagramViewportDetail } from '../__internal/diagram/types.js';
5
+ import { type WorkflowListRef, type WorkflowRun, type WorkflowStep, type WorkflowStepType, type WorkflowValue } from './workflow-model.js';
6
+ export type { WorkflowAccent, WorkflowActionStep, WorkflowAssignee, WorkflowBranchStep, WorkflowEndStep, WorkflowField, WorkflowListRef, WorkflowLoopStep, WorkflowOutput, WorkflowPath, WorkflowRun, WorkflowRunStep, WorkflowRunStepStatus, WorkflowStep, WorkflowStepType, WorkflowTool, WorkflowValue, WorkflowWaitStep, } from './workflow-model.js';
7
+ export { WORKFLOW_LOGIC_STEPS } from './workflow-model.js';
8
+ export type WorkflowDirection = 'vertical' | 'horizontal';
9
+ export type WorkflowMode = 'design' | 'debug' | 'history';
10
+ export type WorkflowDebugAction = 'continue' | 'pause' | 'step-over' | 'step-into' | 'restart' | 'stop' | 'retry';
11
+ /** Detail of `debug-action`. `stepId` is set for `retry`. */
12
+ export interface WorkflowDebugActionDetail {
13
+ action: WorkflowDebugAction;
14
+ stepId?: string;
15
+ }
16
+ /** Detail of `breakpoint-toggle`. */
17
+ export interface WorkflowBreakpointDetail {
18
+ id: string;
19
+ enabled: boolean;
20
+ breakpoints: string[];
21
+ }
22
+ /** Detail of `iteration-change`. */
23
+ export interface WorkflowIterationDetail {
24
+ loopId: string;
25
+ /** Zero-based. */
26
+ index: number;
27
+ }
28
+ export type WorkflowDensity = 'compact' | 'standard' | 'expanded';
29
+ export type WorkflowChangeReason = 'add' | 'remove' | 'move' | 'paste' | 'update' | 'undo' | 'redo';
30
+ /** Detail of `change`. */
31
+ export interface WorkflowChangeDetail {
32
+ value: WorkflowValue;
33
+ reason: WorkflowChangeReason;
34
+ }
35
+ /** Detail of `select`. */
36
+ export interface WorkflowSelectDetail {
37
+ id: string;
38
+ step: WorkflowStep;
39
+ }
40
+ /** Detail of `step-add`. */
41
+ export interface WorkflowStepAddDetail {
42
+ stepType: WorkflowStepType;
43
+ /** The list the step goes into, and where. */
44
+ list: WorkflowListRef;
45
+ index: number;
46
+ /** Whether the step becomes the trigger. */
47
+ trigger: boolean;
48
+ }
49
+ /** Detail of `delete`. */
50
+ export interface WorkflowDeleteDetail {
51
+ ids: string[];
52
+ }
53
+ /** Detail of `viewport-change`. */
54
+ export type WorkflowViewportDetail = DiagramViewportDetail;
55
+ /** A step that needs attention. */
56
+ export interface WorkflowProblem {
57
+ id: string;
58
+ message: string;
59
+ }
60
+ /**
61
+ * @label Workflow
62
+ * @tag wc-workflow
63
+ * @rawTag workflow
64
+ * @summary A structured builder for business rules and processes: steps, branches that merge back, parallel paths, loops, error paths and ends.
65
+ *
66
+ * @overview
67
+ * <p>Set <code>value</code> to a trigger and a list of steps. Steps are <code>action</code>,
68
+ * <code>wait</code> and <code>end</code> cards, <code>branch</code> and <code>parallel</code> blocks whose
69
+ * paths sit side by side and merge back below (a path that ends draws no merge), and
70
+ * <code>loop</code> frames. An action's <code>onError</code> steps run as a side path. The layout is
71
+ * automatic: top to bottom, or left to right with <code>direction="horizontal"</code>, joined by rounded
72
+ * connectors.</p>
73
+ * <p>Cards show a tinted icon, a headline and the kind of step, up to three <code>fields</code>
74
+ * (<code>{{Step.output}}</code> in a value renders as a data pill), and a footer with outputs, tools or
75
+ * an assignee. <code>density</code> shows less (<code>compact</code>) or everything
76
+ * (<code>expanded</code>). Put your own card in <code>slot="step:&lt;id&gt;"</code>.</p>
77
+ * <p>With <code>editable</code>, a "+" on every connector opens a searchable palette built from
78
+ * <code>stepTypes</code>; <code>step-add</code> fires first and can be canceled to show your own dialog.
79
+ * Drag a step to another "+" to move it, delete it with Delete, duplicate with Ctrl+D, copy and paste,
80
+ * and undo with Ctrl+Z. Steps glide to their new places. Every edit fires <code>change</code> with the
81
+ * new <code>value</code>; selecting a step fires <code>select</code>, for your inspector. Apply its edits
82
+ * with <code>updateStep()</code>.</p>
83
+ * <p>The canvas is infinite, like <code>wc-diagram</code>: pan, zoom, <code>start-position</code>,
84
+ * <code>home()</code>, and the <code>controls</code> and <code>minimap</code> slots. Steps are a tree for
85
+ * screen readers. Up and Down move through steps in reading order, Left and Right move between the
86
+ * paths of a branch (in a horizontal workflow the keys swap), Insert opens the palette after the
87
+ * focused step, Alt + Up or Down moves it, and Shift + Enter collapses or expands a block.</p>
88
+ * <p><code>mode="debug"</code> and <code>mode="history"</code> show a <code>run</code> from your engine:
89
+ * each card gets its status and duration, the path taken is drawn solid and paths not taken are
90
+ * dashed, the running step pulses and a dot travels into each step the run reaches
91
+ * (<code>follow</code> keeps it in view). A failed step shows its error with "Retry from here". In
92
+ * debug mode a debug bar fires <code>debug-action</code> (Continue F5, Step over F10, Step into F11,
93
+ * Restart, Stop Shift+F5), and the dot left of each card toggles a breakpoint (F9) and fires
94
+ * <code>breakpoint-toggle</code>. A loop shows an iteration picker; the steps inside show the picked
95
+ * iteration. History mode is read-only. Editing is off outside <code>design</code>. Pair it with
96
+ * <code>wc-workflow-timeline</code> for a timeline of the run.</p>
97
+ *
98
+ * @example
99
+ * ```html
100
+ * <wc-workflow id="rule" editable style="height: 600px">
101
+ * <wc-diagram-controls slot="controls"></wc-diagram-controls>
102
+ * </wc-workflow>
103
+ * <script>
104
+ * document.getElementById('rule').value = {
105
+ * trigger: { id: 'created', type: 'action', headline: 'Expense created', icon: 'bolt' },
106
+ * steps: [
107
+ * {
108
+ * id: 'amount', type: 'branch', headline: 'Amount check',
109
+ * paths: [
110
+ * { id: 'big', label: 'amount > 1,000', steps: [{ id: 'approve', type: 'action', headline: 'Manager approval' }] },
111
+ * { id: 'small', label: 'Otherwise', isDefault: true, steps: [] }
112
+ * ]
113
+ * },
114
+ * { id: 'end', type: 'end' }
115
+ * ]
116
+ * };
117
+ * </script>
118
+ * ```
119
+ *
120
+ * @slot controls - A `wc-diagram-controls`, shown at the bottom start corner.
121
+ * @slot minimap - A `wc-diagram-minimap`, shown at the bottom end corner.
122
+ * @slot step:<id> - Custom content for the step with that id, in place of the built-in card.
123
+ *
124
+ * @fires {CustomEvent<WorkflowSelectDetail>} select - A step was chosen with a click, Enter or Space. Detail contains `{ id, step }`.
125
+ * @fires {CustomEvent<WorkflowStepAddDetail>} step-add - Before a step from the palette is added. Cancel it to add the step your own way. Detail contains `{ stepType, list, index, trigger }`.
126
+ * @fires {CustomEvent<WorkflowDeleteDetail>} delete - Before steps are removed. Cancel it to keep them. Detail contains `{ ids }`.
127
+ * @fires {CustomEvent<WorkflowChangeDetail>} change - After every edit. Detail contains `{ value, reason }`.
128
+ * @fires {CustomEvent<WorkflowViewportDetail>} viewport-change - Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.
129
+ * @fires {CustomEvent<WorkflowDebugActionDetail>} debug-action - A debug bar button, a debug shortcut or "Retry from here" was used. Detail contains `{ action, stepId }`.
130
+ * @fires {CustomEvent<WorkflowBreakpointDetail>} breakpoint-toggle - A breakpoint was set or cleared in debug mode. Detail contains `{ id, enabled, breakpoints }`.
131
+ * @fires {CustomEvent<WorkflowIterationDetail>} iteration-change - A different loop iteration was picked. Detail contains `{ loopId, index }`.
132
+ *
133
+ * @cssprop --workflow-card-width - Width of a standard card. Defaults to 280px.
134
+ * @cssprop --workflow-connector-color - Colour of connectors. Defaults to a mix of primary and outline-variant.
135
+ * @cssprop --workflow-background - Canvas background. Defaults to surface-container-lowest.
136
+ * @tags data
137
+ */
138
+ export declare class Workflow extends DiagramCanvasElement {
139
+ static styles: import("lit").CSSResultGroup[];
140
+ /** The workflow: a trigger and its steps. Replaced with a new object, never mutated, on every edit. */
141
+ value: WorkflowValue;
142
+ /** Entries of the add-step palette. Defaults to the logic steps (branch, parallel, loop, wait, end). */
143
+ stepTypes: WorkflowStepType[];
144
+ /** Lays the workflow out top to bottom or left to right. */
145
+ direction: WorkflowDirection;
146
+ /** How much each card shows: the header only, up to three fields, or everything. */
147
+ density: WorkflowDensity;
148
+ /** Id of the selected step. */
149
+ selected: string;
150
+ /**
151
+ * `design` edits the workflow. `debug` shows a live `run` with a debug bar and breakpoints.
152
+ * `history` replays a past `run`, read-only. Editing is off outside `design`.
153
+ */
154
+ mode: WorkflowMode;
155
+ /** The run to show in `debug` and `history` modes. Your engine produces it. */
156
+ run?: WorkflowRun;
157
+ /** Ids of steps with a breakpoint, shown and toggled in `debug` mode. */
158
+ breakpoints: string[];
159
+ /** Keeps the step that is running in view as the run moves. */
160
+ follow: boolean;
161
+ private _palette?;
162
+ private _collapsed;
163
+ private _focusId;
164
+ private _hoverGap;
165
+ private _drag?;
166
+ private _menuFor;
167
+ private _announcement;
168
+ /** The iteration shown for each loop, when the person picked one. */
169
+ private _iterations;
170
+ private readonly _viewportEl?;
171
+ private readonly _worldEl?;
172
+ private readonly _rootEl?;
173
+ private readonly _connectorsEl?;
174
+ private readonly _menu?;
175
+ private readonly _tokensEl?;
176
+ /** For each step, the loops it is inside, outermost first. */
177
+ private loopParents;
178
+ /** Step statuses at the last render, to spot steps the run just reached. */
179
+ private lastStatuses;
180
+ private pendingTokens;
181
+ private readonly history;
182
+ private readonly handledKeys;
183
+ /** Gap keys to the list and index they insert at, from the last render. */
184
+ private gaps;
185
+ private unreachable;
186
+ private seenCollapsed;
187
+ private connectorsDirty;
188
+ private flipBefore?;
189
+ private trackFrame;
190
+ private rootObserver?;
191
+ private problemIndex;
192
+ private stepDrag?;
193
+ disconnectedCallback(): void;
194
+ protected willUpdate(changed: PropertyValues<this>): void;
195
+ protected firstUpdated(): void;
196
+ protected updated(changed: PropertyValues<this>): void;
197
+ /** Whether editing is on: `editable`, not `readonly`, and in `design` mode. */
198
+ private get editing();
199
+ /** Whether step cards offer a menu (edit actions in design mode, pinning in debug mode). */
200
+ private get hasMenu();
201
+ private findLoopParents;
202
+ /** The iteration a loop shows: the one picked, else the latest. */
203
+ private iterationIndex;
204
+ /** What the run did with a step, looking inside the shown iteration of each loop around it. */
205
+ private runStep;
206
+ private statusLabel;
207
+ /** Notes the steps the run has just reached, for the travelling token and announcements. */
208
+ private trackRunChanges;
209
+ /** Sends a dot along the connector into each step the run just reached. */
210
+ private animateTokens;
211
+ private toggleBreakpoint;
212
+ private debugAction;
213
+ private setIteration;
214
+ /** How a loop's iteration went overall, for its tick. */
215
+ private static iterationStatus;
216
+ /** Whether `undo()` has something to undo. */
217
+ get canUndo(): boolean;
218
+ /** Whether `redo()` has something to redo. */
219
+ get canRedo(): boolean;
220
+ /** Steps that need attention: those marked `invalid`, and steps that can never run. */
221
+ get problems(): WorkflowProblem[];
222
+ undo(): void;
223
+ redo(): void;
224
+ /** Forgets the undo and redo history, for example after saving. */
225
+ clearHistory(): void;
226
+ /** Changes a step, for example from an inspector. Records an undo step and fires `change`. */
227
+ updateStep(id: string, patch: Partial<WorkflowStep>): void;
228
+ /** Removes a step and everything inside it, after a cancelable `delete` event. */
229
+ removeStep(id: string): void;
230
+ /** Moves keyboard focus to a step and pans it into view. */
231
+ focusStep(id: string): void;
232
+ /** Selects a step as a click would, fires `select`, and brings it into view. */
233
+ selectStep(id: string): void;
234
+ collapse(id: string): void;
235
+ expand(id: string): void;
236
+ protected viewportElement(): HTMLElement | undefined;
237
+ protected contentBounds(): DiagramRect | undefined;
238
+ protected selectionRects(): DiagramRect[];
239
+ protected itemRect(id: string): DiagramRect | undefined;
240
+ protected firstItemRect(): DiagramRect | undefined;
241
+ protected overviewItems(): DiagramOverview['items'];
242
+ protected isBackground(target: EventTarget | null): boolean;
243
+ protected onBackgroundClick(): void;
244
+ /** Fits the workflow, or shows its start at 60% when fitting it all would be too small to read. */
245
+ protected computeStartView(): DiagramView;
246
+ /** Records an undo step (unless restoring one), animates the change and fires `change`. */
247
+ private commit;
248
+ private announce;
249
+ private syncCollapsed;
250
+ /** Steps after a step that always ends the flow, in the same list. */
251
+ private findUnreachable;
252
+ private stepLabel;
253
+ private neighbourAfterRemoval;
254
+ /** Steps in reading order, skipping what is inside collapsed blocks. */
255
+ private navOrder;
256
+ private cardElement;
257
+ /** An element's box in canvas coordinates. */
258
+ private rectOf;
259
+ private keepInView;
260
+ /** Draws every connector from the measured positions of cards, pills and joins. */
261
+ private layoutConnectors;
262
+ /** Keeps connectors on their cards while cards glide. */
263
+ private trackConnectors;
264
+ private captureFlip;
265
+ /** Slides moved elements from where they were and pops in new ones. */
266
+ private playFlip;
267
+ private openPalette;
268
+ private closePalette;
269
+ private paletteEntries;
270
+ private choose;
271
+ private onPaletteKeyDown;
272
+ private onCardKeyDown;
273
+ private onViewportKeyDown;
274
+ /** F5 continue or pause (Shift: stop, Ctrl+Shift: restart), F10 step over, F11 step into. */
275
+ private handleDebugKey;
276
+ private crossTarget;
277
+ private nudge;
278
+ private openPaletteAfter;
279
+ private copy;
280
+ private paste;
281
+ private select;
282
+ private isBlock;
283
+ private nextProblem;
284
+ private openMenu;
285
+ private onMenuActivate;
286
+ private onCardPointerDown;
287
+ private onStepPointerMove;
288
+ private onStepPointerUp;
289
+ private onStepPointerCancel;
290
+ private endStepDrag;
291
+ /** The nearest gap the dragged step can drop into. */
292
+ private dropTarget;
293
+ private renderValue;
294
+ private renderCardBody;
295
+ private renderStatus;
296
+ private renderRunError;
297
+ /** The iteration picker in a loop's header: previous, "3 / 12", next and a tick per iteration. */
298
+ private renderIterations;
299
+ private renderDebugBar;
300
+ private renderCardFooter;
301
+ private renderCard;
302
+ private defaultAccent;
303
+ private renderGap;
304
+ private renderList;
305
+ private renderItems;
306
+ private renderStep;
307
+ private renderPalette;
308
+ private renderMenu;
309
+ private renderDragGhost;
310
+ /** The trigger card, or a button to add one while editing. */
311
+ private renderTrigger;
312
+ protected render(): TemplateResult<1>;
313
+ }
@@ -0,0 +1 @@
1
+ export { WorkflowTimeline } from './workflow-timeline.js';
@@ -0,0 +1,41 @@
1
+ import { LitElement } from 'lit';
2
+ import { type WorkflowRun, type WorkflowValue } from '../workflow/workflow-model.js';
3
+ /**
4
+ * @label Workflow timeline
5
+ * @tag wc-workflow-timeline
6
+ * @rawTag workflow-timeline
7
+ * @summary The steps of a workflow run as bars on a shared time scale, in step with a `wc-workflow`.
8
+ *
9
+ * @overview
10
+ * <p>Set <code>for</code> to the id of a <code>wc-workflow</code> in debug or history mode: the timeline
11
+ * shows its <code>run</code>, follows its selection, and selects a step in the workflow when a row is
12
+ * clicked. Without a workflow, set <code>value</code> and <code>run</code> yourself.</p>
13
+ * <p>Each step that ran is a row with its name, a bar from when it started to when it finished
14
+ * (running steps grow to now), coloured by status, and its duration. Steps without a
15
+ * <code>startedAt</code> are laid end to end in reading order.</p>
16
+ *
17
+ * @example
18
+ * ```html
19
+ * <wc-workflow id="rule" mode="history"></wc-workflow>
20
+ * <wc-workflow-timeline for="rule"></wc-workflow-timeline>
21
+ * ```
22
+ * @tags data
23
+ */
24
+ export declare class WorkflowTimeline extends LitElement {
25
+ static styles: import("lit").CSSResultGroup[];
26
+ /** Id of the `wc-workflow` to show. */
27
+ for: string;
28
+ /** The workflow, when the timeline is not linked to a `wc-workflow`. */
29
+ value?: WorkflowValue;
30
+ /** The run, when the timeline is not linked to a `wc-workflow`. */
31
+ run?: WorkflowRun;
32
+ /** The accessible name and heading. Defaults to "Run timeline". */
33
+ label: string;
34
+ private readonly i18n;
35
+ private readonly link;
36
+ protected updated(changed: Map<string, unknown>): void;
37
+ private get source();
38
+ private rows;
39
+ private select;
40
+ protected render(): import("lit-html").TemplateResult<1>;
41
+ }
package/dist/stat.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { e } from './class-map-NDIkZErE.js';
4
- import { I as I18nController } from './i18n-controller-urcQKYGe.js';
4
+ import { I as I18nController } from './i18n-controller-Cp43HjJl.js';
5
5
  import './directive-ZPhl09Yt.js';
6
- import './strings-DmbqMTfs.js';
6
+ import './strings-BJPuhKJk.js';
7
7
  import './locale-DEsJZCQG.js';
8
8
 
9
9
  var css_248z = i`* {
@@ -1,7 +1,7 @@
1
1
  import { i, w, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
- import { I as I18nController } from './i18n-controller-urcQKYGe.js';
4
- import './strings-DmbqMTfs.js';
3
+ import { I as I18nController } from './i18n-controller-Cp43HjJl.js';
4
+ import './strings-BJPuhKJk.js';
5
5
  import './locale-DEsJZCQG.js';
6
6
 
7
7
  var css_248z = i`* {
package/dist/step.js CHANGED
@@ -3,10 +3,10 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
- import { I as I18nController } from './i18n-controller-urcQKYGe.js';
6
+ import { I as I18nController } from './i18n-controller-Cp43HjJl.js';
7
7
  import './base-Cl6v8-BZ.js';
8
8
  import './directive-ZPhl09Yt.js';
9
- import './strings-DmbqMTfs.js';
9
+ import './strings-BJPuhKJk.js';
10
10
  import './locale-DEsJZCQG.js';
11
11
 
12
12
  var css_248z = i`* {
package/dist/stepper.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { R as RovingFocusController } from './roving-focus-controller-fm95JkZJ.js';
4
- import { I as I18nController } from './i18n-controller-urcQKYGe.js';
4
+ import { I as I18nController } from './i18n-controller-Cp43HjJl.js';
5
5
  import { Step } from './step.js';
6
- import './strings-DmbqMTfs.js';
6
+ import './strings-BJPuhKJk.js';
7
7
  import './locale-DEsJZCQG.js';
8
8
  import './state-BCeDVCI9.js';
9
9
  import './query-CHb9Ft_d.js';
@@ -757,6 +757,168 @@ const defaultStrings = {
757
757
  cancel: 'Cancel',
758
758
  /** Label of a confirm dialog's type-to-confirm field, for example "Type acme-prod to confirm". */
759
759
  typeToConfirm: (text) => `Type ${text} to confirm`,
760
+ // ── Diagrams (flow, workflow, tree chart, ERD, dependency map) ──────────
761
+ /** Default accessible name of a diagram canvas. */
762
+ diagramLabel: 'Diagram',
763
+ /** Read with a diagram canvas, from `aria-describedby`. */
764
+ diagramInstructions: 'Drag the canvas or use the arrow keys to pan. Hold Ctrl or Command and scroll to zoom. Shift+1 fits all content, Home goes back to the start.',
765
+ diagramZoomIn: 'Zoom in',
766
+ diagramZoomOut: 'Zoom out',
767
+ diagramFit: 'Fit to content',
768
+ diagramZoomToSelection: 'Zoom to selection',
769
+ diagramBackToStart: 'Back to start',
770
+ diagramBackToContent: 'Back to content',
771
+ /** Accessible name of the zoom level button, for example "Zoom level, 80%". */
772
+ diagramZoomLevel: (percent) => `Zoom level, ${percent}`,
773
+ diagramUndo: 'Undo',
774
+ diagramRedo: 'Redo',
775
+ diagramControls: 'Diagram controls',
776
+ diagramMinimap: 'Minimap',
777
+ /** Role description of a diagram node, read by screen readers instead of "group". */
778
+ diagramNode: 'node',
779
+ /** Accessible name of a connection, for example "Connection from Start to Review: approve". */
780
+ diagramEdgeLabel: (from, to, label) => `Connection from ${from} to ${to}${label ? `: ${label}` : ''}`,
781
+ /** Announced after a node moves, for example "Review moved to 120, 40". */
782
+ diagramMoved: (label, x, y) => `${label} moved to ${x}, ${y}`,
783
+ /** Announced after a connection is made. */
784
+ diagramConnected: (from, to) => `Connected ${from} to ${to}`,
785
+ /** Announced after nodes and connections are deleted. */
786
+ diagramDeleted: (count) => count === 1 ? '1 item deleted' : `${count} items deleted`,
787
+ /** Announced after pasting, for example "3 items pasted". */
788
+ diagramPasted: (count) => count === 1 ? '1 item pasted' : `${count} items pasted`,
789
+ // ── Workflow ─────────────────────────────────────────────────────────────
790
+ workflowLabel: 'Workflow',
791
+ workflowAddStep: 'Add step',
792
+ workflowAddTrigger: 'Add a trigger',
793
+ workflowSearchSteps: 'Search steps',
794
+ workflowNoSteps: 'No matching steps',
795
+ workflowOnError: 'On error',
796
+ workflowWaitForAll: 'Wait for all',
797
+ workflowEnd: 'End',
798
+ workflowMoreActions: 'More actions',
799
+ workflowDuplicate: 'Duplicate',
800
+ workflowDelete: 'Delete',
801
+ workflowCollapse: 'Collapse',
802
+ workflowExpand: 'Expand',
803
+ workflowOutputs: 'Outputs',
804
+ workflowTools: 'Tools',
805
+ workflowUntil: 'Until',
806
+ /** Summary of a collapsed branch or loop, for example "3 paths, 7 steps". */
807
+ workflowCollapsedSummary: (paths, steps) => `${paths === 1 ? '1 path' : `${paths} paths`}, ${steps === 1 ? '1 step' : `${steps} steps`}`,
808
+ /** Label of the problems button, for example "2 problems". */
809
+ workflowProblems: (count) => count === 1 ? '1 problem' : `${count} problems`,
810
+ workflowUnreachable: 'This step never runs: the path before it ends.',
811
+ workflowLoopForEach: 'For each',
812
+ workflowLoopWhile: 'While',
813
+ workflowLoopUntil: 'Repeat until',
814
+ /** Announced after a step is added, for example "Send email added". */
815
+ workflowStepAdded: (name) => `${name} added`,
816
+ workflowStepRemoved: (name) => `${name} removed`,
817
+ workflowStepMoved: (name) => `${name} moved`,
818
+ /** Accessible name of an add-step button, for example "Add step after Look up manager". */
819
+ workflowAddStepAfter: (name) => `Add step after ${name}`,
820
+ workflowAddStepIn: (name) => `Add step in ${name}`,
821
+ // ── Tree chart ───────────────────────────────────────────────────────────
822
+ treeChartLabel: 'Tree chart',
823
+ treeChartLoading: 'Loading',
824
+ treeChartAddChild: 'Add below',
825
+ treeChartAddSibling: 'Add beside',
826
+ treeChartNewItem: 'New item',
827
+ /** Accessible name of the count chip, for example "Expand Elena Rostova, 4 below". */
828
+ treeChartExpand: (name, count) => count ? `Expand ${name}, ${count} below` : `Expand ${name}`,
829
+ treeChartCollapse: (name) => `Collapse ${name}`,
830
+ /** Announced after a drag, for example "Ana Ruiz moved under Elena Rostova". */
831
+ treeChartMoved: (name, parent) => parent ? `${name} moved under ${parent}` : `${name} moved to the top`,
832
+ treeChartRemoved: (name) => `${name} removed`,
833
+ /** Announced after a search, for example "3 matches". */
834
+ treeChartMatches: (count) => count === 1 ? '1 match' : `${count} matches`,
835
+ // ── Dependency map ───────────────────────────────────────────────────────
836
+ dependencyMapLabel: 'Dependency map',
837
+ dependencyMapLegend: 'Legend',
838
+ dependencyMapHealthy: 'Healthy',
839
+ dependencyMapDegraded: 'Degraded',
840
+ dependencyMapDown: 'Down',
841
+ dependencyMapUnknown: 'Unknown',
842
+ dependencyMapImpact: 'Impact path',
843
+ dependencyMapTraffic: 'Width = traffic',
844
+ dependencyMapShowType: (type) => `Show ${type}`,
845
+ /** A collapsed group's subtitle, for example "8 items". */
846
+ dependencyMapGroupCount: (count) => count === 1 ? '1 item' : `${count} items`,
847
+ /** Label of an aggregated edge between collapsed groups, for example "12 connections". */
848
+ dependencyMapEdgeCount: (count) => count === 1 ? '1 connection' : `${count} connections`,
849
+ dependencyMapExpandGroup: (name) => `Expand ${name}`,
850
+ dependencyMapCollapseGroup: (name) => `Collapse ${name}`,
851
+ /** Accessible name of a node, for example "payments-db, PostgreSQL, degraded, 3 upstream, 0 downstream". */
852
+ dependencyMapNode: (name, type, status, upstream, downstream) => `${name}${type ? `, ${type}` : ''}${status ? `, ${status}` : ''}, ${upstream} upstream, ${downstream} downstream`,
853
+ dependencyMapRps: (value) => `${value} req/s`,
854
+ dependencyMapLatency: (value) => `p95 ${value}`,
855
+ dependencyMapErrors: (value) => `${value} errors`,
856
+ // ── Entity-relationship diagram ──────────────────────────────────────────
857
+ erdLabel: 'Entity-relationship diagram',
858
+ erdPrimaryKey: 'Primary key',
859
+ erdForeignKey: 'Foreign key',
860
+ erdNullable: 'Nullable',
861
+ erdAddColumn: 'Add column',
862
+ erdRemoveColumn: (name) => `Remove ${name}`,
863
+ erdTogglePrimaryKey: (name) => `Toggle primary key on ${name}`,
864
+ erdCollapse: (name) => `Collapse ${name}`,
865
+ erdExpand: (name) => `Expand ${name}`,
866
+ erdRename: 'Rename',
867
+ erdNewColumn: 'new_column',
868
+ erdNewEntity: 'new_table',
869
+ erdCardinality: 'Relationship',
870
+ erdManyToOne: 'Many to one',
871
+ erdZeroOrManyToOne: 'Zero or many to one',
872
+ erdOneToOne: 'One to one',
873
+ erdZeroOrOneToOne: 'Zero or one to one',
874
+ erdManyToMany: 'Many to many',
875
+ /** Summary of a column count, for example "8 columns". */
876
+ erdColumnCount: (count) => count === 1 ? '1 column' : `${count} columns`,
877
+ /** Accessible name of an entity, for example "orders, 8 columns, references customers, referenced by order_items". */
878
+ erdEntity: (name, columns, references, referencedBy) => [
879
+ name,
880
+ columns === 1 ? '1 column' : `${columns} columns`,
881
+ references.length ? `references ${references.join(', ')}` : '',
882
+ referencedBy.length ? `referenced by ${referencedBy.join(', ')}` : '',
883
+ ]
884
+ .filter(Boolean)
885
+ .join(', '),
886
+ /** Announced after a relation is added, for example "orders.customer_id references customers.id". */
887
+ erdConnected: (from, to) => `${from} references ${to}`,
888
+ // ── Workflow debugging ───────────────────────────────────────────────────
889
+ workflowDebugBar: 'Debugging',
890
+ workflowContinue: 'Continue',
891
+ workflowPause: 'Pause',
892
+ workflowStepOver: 'Step over',
893
+ workflowStepInto: 'Step into',
894
+ workflowRestart: 'Restart',
895
+ workflowStop: 'Stop',
896
+ workflowRetryFromHere: 'Retry from here',
897
+ workflowBreakpoint: 'Breakpoint',
898
+ workflowToggleBreakpoint: 'Toggle breakpoint',
899
+ workflowPinData: 'Pin data',
900
+ workflowUnpinData: 'Unpin data',
901
+ workflowPinned: 'Data pinned',
902
+ workflowPreviousIteration: 'Previous iteration',
903
+ workflowNextIteration: 'Next iteration',
904
+ /** Iteration picker label, for example "Iteration 3 of 12". */
905
+ workflowIteration: (index, total) => `Iteration ${index} of ${total}`,
906
+ /** Short iteration label, for example "3 / 12". */
907
+ workflowIterationShort: (index, total) => `${index} / ${total}`,
908
+ workflowRunTimeline: 'Run timeline',
909
+ /** Status of a step or run, shown on cards and read by screen readers. */
910
+ workflowStatusQueued: 'Queued',
911
+ workflowStatusRunning: 'Running',
912
+ workflowStatusWaiting: 'Waiting',
913
+ workflowStatusPaused: 'Paused',
914
+ workflowStatusSuccess: 'Succeeded',
915
+ workflowStatusFailed: 'Failed',
916
+ workflowStatusSkipped: 'Skipped',
917
+ workflowStatusCanceled: 'Canceled',
918
+ /** Summary of a run, for example "Run 184, Failed, 2 h 15 min". */
919
+ workflowRunSummary: (id, status, duration) => duration ? `Run ${id} · ${status} · ${duration}` : `Run ${id} · ${status}`,
920
+ /** Announced when the run moves, for example "Send email succeeded". */
921
+ workflowStepStatus: (name, status) => `${name}: ${status.toLowerCase()}`,
760
922
  // ── AI (ADR-030002) ──────────────────────────────────────────────────────
761
923
  /** Label of an AI badge on a value the person hasn't accepted yet. */
762
924
  aiSuggested: 'Suggested',
@@ -906,4 +1068,4 @@ function onPeacockStringsChange(listener) {
906
1068
  }
907
1069
 
908
1070
  export { defaultStrings as d, onPeacockStringsChange as o, peacockString as p, setPeacockStrings as s };
909
- //# sourceMappingURL=strings-DmbqMTfs.js.map
1071
+ //# sourceMappingURL=strings-BJPuhKJk.js.map