@pb33f/cowboy-components 0.13.0 → 0.14.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 (224) hide show
  1. package/dist/{_baseUniq-D4w9OEfi.cjs → _baseUniq-BCBHARBa.cjs} +1 -1
  2. package/dist/{_baseUniq-CwhnPBuZ.js → _baseUniq-DxKTOiyd.js} +74 -74
  3. package/dist/arc-BuSUjh0s.js +84 -0
  4. package/dist/arc-CH-0H1TF.cjs +1 -0
  5. package/dist/{architecture-YZFGNWBL-BSnkfFiL.cjs → architecture-YZFGNWBL-BPn_727R.cjs} +1 -1
  6. package/dist/{architecture-YZFGNWBL-Cv-BGlq1.js → architecture-YZFGNWBL-BTpBH05L.js} +1 -1
  7. package/dist/{architectureDiagram-Q4EWVU46-Bi5_oLbN.js → architectureDiagram-Q4EWVU46-CYewkKfJ.js} +4 -4
  8. package/dist/{architectureDiagram-Q4EWVU46-7qN01149.cjs → architectureDiagram-Q4EWVU46-DiD3e6PQ.cjs} +1 -1
  9. package/dist/blockDiagram-DXYQGD6D-B1FzGfTA.cjs +132 -0
  10. package/dist/{blockDiagram-DXYQGD6D-DPZDIH8c.js → blockDiagram-DXYQGD6D-C1Xzgnrv.js} +18 -17
  11. package/dist/{c4Diagram-AHTNJAMY-CzTGAiLN.js → c4Diagram-AHTNJAMY-L6Az2dvx.js} +2 -2
  12. package/dist/{c4Diagram-AHTNJAMY-vYFfYNT2.cjs → c4Diagram-AHTNJAMY-c5bsYT5q.cjs} +1 -1
  13. package/dist/change-list-item-4xBSo3-U.cjs +4586 -0
  14. package/dist/change-list-item-Bu_mPv-k.js +19108 -0
  15. package/dist/{channel-xkWi7eyU.cjs → channel-BR_Krb9l.cjs} +1 -1
  16. package/dist/channel-Bo_TnECw.js +5 -0
  17. package/dist/{chunk-4BX2VUAB-D5fkGnKT.cjs → chunk-4BX2VUAB-B1uaSl0e.cjs} +1 -1
  18. package/dist/{chunk-4BX2VUAB-Crsil6rQ.js → chunk-4BX2VUAB-ClX8oE7L.js} +1 -1
  19. package/dist/{chunk-4TB4RGXK-BK_Zwn1u.cjs → chunk-4TB4RGXK-D0JpJZOs.cjs} +1 -1
  20. package/dist/{chunk-4TB4RGXK-CqgUAjqs.js → chunk-4TB4RGXK-DzEEAztK.js} +5 -5
  21. package/dist/{chunk-55IACEB6-CVOd63y7.cjs → chunk-55IACEB6-595ZDi6s.cjs} +1 -1
  22. package/dist/{chunk-55IACEB6-BHM-gGnN.js → chunk-55IACEB6-DL_DHCyZ.js} +1 -1
  23. package/dist/{chunk-EDXVE4YY-XhKW7gue.js → chunk-EDXVE4YY-BII9TpbV.js} +1 -1
  24. package/dist/{chunk-EDXVE4YY-Cg8LIvnn.cjs → chunk-EDXVE4YY-CQbtNtXr.cjs} +1 -1
  25. package/dist/{chunk-FMBD7UC4-ClqO-tFT.cjs → chunk-FMBD7UC4-BO92YnlB.cjs} +1 -1
  26. package/dist/{chunk-FMBD7UC4-DZgUWYcc.js → chunk-FMBD7UC4-cN7XywSK.js} +1 -1
  27. package/dist/{chunk-OYMX7WX6-DPeZUR-5.cjs → chunk-OYMX7WX6-BxqhsynN.cjs} +1 -1
  28. package/dist/{chunk-OYMX7WX6-DDhPRCvb.js → chunk-OYMX7WX6-DTXPUCgU.js} +35 -35
  29. package/dist/{chunk-QZHKN3VN-CEfUDcqe.js → chunk-QZHKN3VN-Biauj3yN.js} +1 -1
  30. package/dist/{chunk-QZHKN3VN-DfLK5brs.cjs → chunk-QZHKN3VN-C-mnteH7.cjs} +1 -1
  31. package/dist/{chunk-YZCP3GAM-CUdZyEqp.cjs → chunk-YZCP3GAM-WiD5REgL.cjs} +1 -1
  32. package/dist/{chunk-YZCP3GAM-BseNjeX_.js → chunk-YZCP3GAM-eo-UEr6G.js} +1 -1
  33. package/dist/{classDiagram-v2-HSJHXN6E-DY4pBvUq.js → classDiagram-6PBFFD2Q-8kzuzUL4.js} +2 -2
  34. package/dist/{classDiagram-6PBFFD2Q-DANanUVD.cjs → classDiagram-6PBFFD2Q-ay2Efc0y.cjs} +1 -1
  35. package/dist/{classDiagram-6PBFFD2Q-DY4pBvUq.js → classDiagram-v2-HSJHXN6E-8kzuzUL4.js} +2 -2
  36. package/dist/{classDiagram-v2-HSJHXN6E-DANanUVD.cjs → classDiagram-v2-HSJHXN6E-ay2Efc0y.cjs} +1 -1
  37. package/dist/{clone-Dd6Qonyi.js → clone-CC2YvoOD.js} +1 -1
  38. package/dist/clone-DAIpdsWe.cjs +1 -0
  39. package/dist/components/diff-viewer/diff-viewer.d.ts +3 -0
  40. package/dist/components/diff-viewer/diff-viewer.js +34 -37
  41. package/dist/components/diff-viewer/line-renderer.d.ts +15 -0
  42. package/dist/components/diff-viewer/line-renderer.js +49 -0
  43. package/dist/components/footer/footer.d.ts +3 -0
  44. package/dist/components/footer/footer.js +10 -4
  45. package/dist/components/logo-wall/logos/apache.svg.d.ts +2 -0
  46. package/dist/components/logo-wall/logos/apache.svg.js +100 -0
  47. package/dist/components/logo-wall/logos/apideck.svg.d.ts +2 -0
  48. package/dist/components/logo-wall/logos/apideck.svg.js +14 -0
  49. package/dist/components/logo-wall/logos/apigee.svg.d.ts +2 -0
  50. package/dist/components/logo-wall/logos/apigee.svg.js +16 -0
  51. package/dist/components/logo-wall/logos/bump.svg.d.ts +2 -0
  52. package/dist/components/logo-wall/logos/bump.svg.js +14 -0
  53. package/dist/components/logo-wall/logos/bytebase.svg.d.ts +2 -0
  54. package/dist/components/logo-wall/logos/bytebase.svg.js +11 -0
  55. package/dist/components/logo-wall/logos/chainlink.svg.d.ts +2 -0
  56. package/dist/components/logo-wall/logos/chainlink.svg.js +18 -0
  57. package/dist/components/logo-wall/logos/cisco.svg.d.ts +2 -0
  58. package/dist/components/logo-wall/logos/cisco.svg.js +14 -0
  59. package/dist/components/logo-wall/logos/elastic.svg.d.ts +2 -0
  60. package/dist/components/logo-wall/logos/elastic.svg.js +14 -0
  61. package/dist/components/logo-wall/logos/google.svg.d.ts +2 -0
  62. package/dist/components/logo-wall/logos/google.svg.js +12 -0
  63. package/dist/components/logo-wall/logos/grafana.svg.d.ts +2 -0
  64. package/dist/components/logo-wall/logos/grafana.svg.js +14 -0
  65. package/dist/components/logo-wall/logos/hashicorp.svg.d.ts +2 -0
  66. package/dist/components/logo-wall/logos/hashicorp.svg.js +18 -0
  67. package/dist/components/logo-wall/logos/hasura.svg.d.ts +2 -0
  68. package/dist/components/logo-wall/logos/hasura.svg.js +14 -0
  69. package/dist/components/logo-wall/logos/jpmorgan.svg.d.ts +2 -0
  70. package/dist/components/logo-wall/logos/jpmorgan.svg.js +22 -0
  71. package/dist/components/logo-wall/logos/kong.svg.d.ts +2 -0
  72. package/dist/components/logo-wall/logos/kong.svg.js +13 -0
  73. package/dist/components/logo-wall/logos/mongodb.svg.d.ts +2 -0
  74. package/dist/components/logo-wall/logos/mongodb.svg.js +17 -0
  75. package/dist/components/logo-wall/logos/nhost.svg.d.ts +2 -0
  76. package/dist/components/logo-wall/logos/nhost.svg.js +9 -0
  77. package/dist/components/logo-wall/logos/okta.svg.d.ts +2 -0
  78. package/dist/components/logo-wall/logos/okta.svg.js +8 -0
  79. package/dist/components/logo-wall/logos/opentelemetry.svg.d.ts +2 -0
  80. package/dist/components/logo-wall/logos/opentelemetry.svg.js +8 -0
  81. package/dist/components/logo-wall/logos/prometheus.svg.d.ts +2 -0
  82. package/dist/components/logo-wall/logos/prometheus.svg.js +8 -0
  83. package/dist/components/logo-wall/logos/pulumi.svg.d.ts +2 -0
  84. package/dist/components/logo-wall/logos/pulumi.svg.js +10 -0
  85. package/dist/components/logo-wall/logos/redhat.svg.d.ts +2 -0
  86. package/dist/components/logo-wall/logos/redhat.svg.js +8 -0
  87. package/dist/components/logo-wall/logos/scalar.svg.d.ts +2 -0
  88. package/dist/components/logo-wall/logos/scalar.svg.js +19 -0
  89. package/dist/components/logo-wall/logos/splunk.svg.d.ts +2 -0
  90. package/dist/components/logo-wall/logos/splunk.svg.js +8 -0
  91. package/dist/components/logo-wall/logos/unkey.svg.d.ts +2 -0
  92. package/dist/components/logo-wall/logos/unkey.svg.js +15 -0
  93. package/dist/components/logo-wall/logowall.d.ts +2 -24
  94. package/dist/components/logo-wall/logowall.js +58 -373
  95. package/dist/components/model-tree/tree.js +1 -2
  96. package/dist/components/premium-gate/premium-gate.css.js +18 -1
  97. package/dist/components/premium-gate/premium-gate.js +2 -2
  98. package/dist/components/problem-list/problem-item.js +3 -2
  99. package/dist/components/problem-list/problem-list.d.ts +2 -0
  100. package/dist/components/problem-list/problem-list.js +26 -7
  101. package/dist/components/problems-overview/problem-overview-group.js +2 -1
  102. package/dist/components/visualizer/edge.d.ts +6 -2
  103. package/dist/components/visualizer/edge.js +26 -4
  104. package/dist/components/visualizer/equalizer.css.js +11 -2
  105. package/dist/components/visualizer/explorer.d.ts +3 -1
  106. package/dist/components/visualizer/explorer.js +51 -59
  107. package/dist/components/visualizer/nodes/change-view-node.d.ts +2 -2
  108. package/dist/components/visualizer/nodes/change-view-node.js +10 -6
  109. package/dist/components/visualizer/nodes/graph-node.d.ts +12 -8
  110. package/dist/components/visualizer/nodes/graph-node.js +47 -25
  111. package/dist/components/visualizer/nodes/schema.d.ts +7 -0
  112. package/dist/components/visualizer/nodes/schema.js +81 -59
  113. package/dist/components/visualizer/shared.css.js +48 -10
  114. package/dist/components/visualizer/viewport-position.d.ts +28 -0
  115. package/dist/components/visualizer/viewport-position.js +38 -0
  116. package/dist/components/workspaces/workspace-view.js +10 -7
  117. package/dist/components/yaml-viewer/yaml-viewer.css.d.ts +2 -0
  118. package/dist/components/yaml-viewer/yaml-viewer.css.js +45 -0
  119. package/dist/components/yaml-viewer/yaml-viewer.d.ts +22 -0
  120. package/dist/components/yaml-viewer/yaml-viewer.js +86 -0
  121. package/dist/controllers/problem-controller.d.ts +1 -0
  122. package/dist/controllers/problem-controller.js +40 -24
  123. package/dist/{cose-bilkent-S5V4N54A-CPd0mzpZ.js → cose-bilkent-S5V4N54A-BvU_SKfP.js} +2 -2
  124. package/dist/{cose-bilkent-S5V4N54A-BEI30FIt.cjs → cose-bilkent-S5V4N54A-CjLPT2aq.cjs} +1 -1
  125. package/dist/{cowboy-components-C1bHeXpH.js → cowboy-components-B5MDHQs5.js} +8691 -8836
  126. package/dist/{cowboy-components-BDlH5KPd.cjs → cowboy-components-DMQv-nwp.cjs} +561 -489
  127. package/dist/{dagre-KV5264BT-lXj1bQdQ.cjs → dagre-KV5264BT-BJ3g2OfF.cjs} +1 -1
  128. package/dist/{dagre-KV5264BT-DKYFh03U.js → dagre-KV5264BT-CZZ7IWMJ.js} +29 -29
  129. package/dist/{diagram-5BDNPKRD-B5z67jan.js → diagram-5BDNPKRD-BtgWDNH6.js} +4 -4
  130. package/dist/{diagram-5BDNPKRD-BxdT4j_p.cjs → diagram-5BDNPKRD-C8f_rKrj.cjs} +1 -1
  131. package/dist/{diagram-G4DWMVQ6-CYhKfvVo.cjs → diagram-G4DWMVQ6-CdbbbjZ1.cjs} +1 -1
  132. package/dist/{diagram-G4DWMVQ6-CW505eM5.js → diagram-G4DWMVQ6-Cvo7MOEn.js} +4 -4
  133. package/dist/{diagram-MMDJMWI5-CguvhYVm.js → diagram-MMDJMWI5-BBZMNBAZ.js} +3 -3
  134. package/dist/{diagram-MMDJMWI5-CnbCy2d4.cjs → diagram-MMDJMWI5-CmuOqtUd.cjs} +1 -1
  135. package/dist/{diagram-TYMM5635-CTqk1SDy.cjs → diagram-TYMM5635-BDWJ5rTp.cjs} +1 -1
  136. package/dist/{diagram-TYMM5635-DNaputK9.js → diagram-TYMM5635-BJ6YAfrg.js} +3 -3
  137. package/dist/{erDiagram-SMLLAGMA-CbVmsYT2.js → erDiagram-SMLLAGMA-CYctRkDG.js} +4 -4
  138. package/dist/{erDiagram-SMLLAGMA-C8J_QyFx.cjs → erDiagram-SMLLAGMA-oQiAbd77.cjs} +1 -1
  139. package/dist/events/doctor.d.ts +2 -1
  140. package/dist/factories/explorer-component-factory.d.ts +2 -1
  141. package/dist/factories/explorer-component-factory.js +1 -0
  142. package/dist/{flowDiagram-DWJPFMVM-CilWme2B.cjs → flowDiagram-DWJPFMVM-Cl2ZAgx-.cjs} +1 -1
  143. package/dist/{flowDiagram-DWJPFMVM-CzhP7Mva.js → flowDiagram-DWJPFMVM-XzVvDcKE.js} +6 -6
  144. package/dist/{ganttDiagram-T4ZO3ILL-D1VjNn5T.js → ganttDiagram-T4ZO3ILL-Bw3whz8Z.js} +3 -3
  145. package/dist/{ganttDiagram-T4ZO3ILL-CJPTfw3M.cjs → ganttDiagram-T4ZO3ILL-D6p69Xut.cjs} +1 -1
  146. package/dist/{gitGraph-7Q5UKJZL-KIImqmsm.js → gitGraph-7Q5UKJZL-CV8uXlc6.js} +1 -1
  147. package/dist/{gitGraph-7Q5UKJZL-Dt7RPGLj.cjs → gitGraph-7Q5UKJZL-Dc00T47S.cjs} +1 -1
  148. package/dist/{gitGraphDiagram-UUTBAWPF-RgZxgljz.cjs → gitGraphDiagram-UUTBAWPF-DO7-Vg9n.cjs} +1 -1
  149. package/dist/{gitGraphDiagram-UUTBAWPF-oNmbFzsW.js → gitGraphDiagram-UUTBAWPF-DyF52xzw.js} +4 -4
  150. package/dist/{graph-CFIa3BqY.js → graph-BNtv6wPN.js} +43 -43
  151. package/dist/{graph-D7t_ZgqQ.cjs → graph-nnOjqfSF.cjs} +1 -1
  152. package/dist/info-OMHHGYJF-BEJOj8rC.js +5 -0
  153. package/dist/{info-OMHHGYJF-DNwPREtC.cjs → info-OMHHGYJF-DenwEztT.cjs} +1 -1
  154. package/dist/{infoDiagram-42DDH7IO-xpnPsX13.cjs → infoDiagram-42DDH7IO-CDwaPJgE.cjs} +1 -1
  155. package/dist/{infoDiagram-42DDH7IO-D6tfy_kQ.js → infoDiagram-42DDH7IO-D5ZWT_PY.js} +2 -2
  156. package/dist/{ishikawaDiagram-UXIWVN3A-1C3ML4wN.js → ishikawaDiagram-UXIWVN3A-DO1TQj8y.js} +1 -1
  157. package/dist/{ishikawaDiagram-UXIWVN3A-cN7Egzi1.cjs → ishikawaDiagram-UXIWVN3A-DgxKja6G.cjs} +1 -1
  158. package/dist/{journeyDiagram-VCZTEJTY-BBnQnZeo.js → journeyDiagram-VCZTEJTY-BOrvmHFC.js} +4 -4
  159. package/dist/{journeyDiagram-VCZTEJTY-CuHlve7g.cjs → journeyDiagram-VCZTEJTY-CJCEu2Bp.cjs} +1 -1
  160. package/dist/{kanban-definition-6JOO6SKY-w_-A-pcU.cjs → kanban-definition-6JOO6SKY-DEuqG8My.cjs} +1 -1
  161. package/dist/{kanban-definition-6JOO6SKY-CIUOm1v3.js → kanban-definition-6JOO6SKY-DbcLaE1y.js} +22 -22
  162. package/dist/{layout-DkbTnSOk.cjs → layout-C5IxZs51.cjs} +1 -1
  163. package/dist/{layout-B94Gbndw.js → layout-US8yryxu.js} +89 -89
  164. package/dist/linear-Bmlq6WJ8.cjs +1 -0
  165. package/dist/{linear-ofqYQwLM.js → linear-D6nUCk2i.js} +26 -26
  166. package/dist/{mermaid-parser.core-D5yJiPW9.cjs → mermaid-parser.core-COvBhcPG.cjs} +2 -2
  167. package/dist/{mermaid-parser.core-SWTLxzuR.js → mermaid-parser.core-DvOBQD0s.js} +13 -13
  168. package/dist/{min-CCJ14kSC.cjs → min-BeG6JEx2.cjs} +1 -1
  169. package/dist/{min-BVt52F4Z.js → min-gCZaz5eW.js} +8 -8
  170. package/dist/{mindmap-definition-QFDTVHPH-BBABzpZ_.js → mindmap-definition-QFDTVHPH-Bf7uOPBO.js} +11 -11
  171. package/dist/{mindmap-definition-QFDTVHPH-DkHlEc6j.cjs → mindmap-definition-QFDTVHPH-Bh_mtad8.cjs} +1 -1
  172. package/dist/{packet-4T2RLAQJ-C_GHj8I6.js → packet-4T2RLAQJ-CnjxgpUP.js} +1 -1
  173. package/dist/{packet-4T2RLAQJ-D-3BTAOL.cjs → packet-4T2RLAQJ-EX3JjNtR.cjs} +1 -1
  174. package/dist/pie-ZZUOXDRM-B0-esN8S.js +5 -0
  175. package/dist/{pie-ZZUOXDRM-CCr4-X6f.cjs → pie-ZZUOXDRM-S9g0lXgu.cjs} +1 -1
  176. package/dist/pieDiagram-DEJITSTG-An0q-g5y.cjs +30 -0
  177. package/dist/{pieDiagram-DEJITSTG-oeQHkFGB.js → pieDiagram-DEJITSTG-DIkSdQCd.js} +43 -42
  178. package/dist/{quadrantDiagram-34T5L4WZ-CHmpNV-R.cjs → quadrantDiagram-34T5L4WZ-B5f35ihC.cjs} +1 -1
  179. package/dist/{quadrantDiagram-34T5L4WZ-OYjSZG43.js → quadrantDiagram-34T5L4WZ-CBlxIaIn.js} +2 -2
  180. package/dist/radar-PYXPWWZC-1Ezs-b76.js +5 -0
  181. package/dist/{radar-PYXPWWZC-C1rOl50T.cjs → radar-PYXPWWZC-C0zC2ZSo.cjs} +1 -1
  182. package/dist/{requirementDiagram-MS252O5E-CD_xeIto.cjs → requirementDiagram-MS252O5E-C2bJ8iZf.cjs} +1 -1
  183. package/dist/{requirementDiagram-MS252O5E-CwRW6-r7.js → requirementDiagram-MS252O5E-CLQv0oWl.js} +3 -3
  184. package/dist/{sankeyDiagram-XADWPNL6-RMkMjKAW.cjs → sankeyDiagram-XADWPNL6--gS8yJdi.cjs} +1 -1
  185. package/dist/{sankeyDiagram-XADWPNL6-CQfVCItY.js → sankeyDiagram-XADWPNL6-BPSHvjZ8.js} +1 -1
  186. package/dist/{sequenceDiagram-FGHM5R23-Bg1onFX3.cjs → sequenceDiagram-FGHM5R23-C8D7r5pW.cjs} +1 -1
  187. package/dist/{sequenceDiagram-FGHM5R23-CHy2erSS.js → sequenceDiagram-FGHM5R23-Pz7V2MNd.js} +3 -3
  188. package/dist/services/workspace-service.js +3 -3
  189. package/dist/stateDiagram-FHFEXIEX-BAF5DJ1S.cjs +1 -0
  190. package/dist/{stateDiagram-FHFEXIEX-CMl5lVVr.js → stateDiagram-FHFEXIEX-D5m6EHM0.js} +44 -43
  191. package/dist/{stateDiagram-v2-QKLJ7IA2-Ddx6MvoK.js → stateDiagram-v2-QKLJ7IA2-Bewn3XVh.js} +2 -2
  192. package/dist/{stateDiagram-v2-QKLJ7IA2-k0ixVO2x.cjs → stateDiagram-v2-QKLJ7IA2-D8ygFuIi.cjs} +1 -1
  193. package/dist/{timeline-definition-GMOUNBTQ-tsduD7s8.cjs → timeline-definition-GMOUNBTQ-DGnNWVK8.cjs} +1 -1
  194. package/dist/{timeline-definition-GMOUNBTQ-wGoPQPZW.js → timeline-definition-GMOUNBTQ-D_q_Aq0R.js} +23 -23
  195. package/dist/{treeView-SZITEDCU-DLnrlNgm.js → treeView-SZITEDCU-CJ-dtg22.js} +1 -1
  196. package/dist/{treeView-SZITEDCU-0cNlhBgJ.cjs → treeView-SZITEDCU-D_h6_ShC.cjs} +1 -1
  197. package/dist/{treemap-W4RFUUIX-BhmjFGQ3.js → treemap-W4RFUUIX-B9GQw9aZ.js} +1 -1
  198. package/dist/{treemap-W4RFUUIX-CKAFw4rq.cjs → treemap-W4RFUUIX-BtKxSF22.cjs} +1 -1
  199. package/dist/{vennDiagram-DHZGUBPP-D0_k6R1t.js → vennDiagram-DHZGUBPP-JEim8wmH.js} +59 -59
  200. package/dist/{vennDiagram-DHZGUBPP-cIbatSRt.cjs → vennDiagram-DHZGUBPP-amyk4YMx.cjs} +1 -1
  201. package/dist/{wardley-RL74JXVD-E_57jQp4.cjs → wardley-RL74JXVD-Cni1Bfk_.cjs} +1 -1
  202. package/dist/{wardley-RL74JXVD-ClNl5KuH.js → wardley-RL74JXVD-sMbm0y_r.js} +1 -1
  203. package/dist/{wardleyDiagram-NUSXRM2D-DrU9h_lF.cjs → wardleyDiagram-NUSXRM2D-BxrRpNG2.cjs} +1 -1
  204. package/dist/{wardleyDiagram-NUSXRM2D-CdC2HbGc.js → wardleyDiagram-NUSXRM2D-C2MLJ-IT.js} +3 -3
  205. package/dist/workers/elk-fake-worker.generated.d.ts +3 -0
  206. package/dist/workers/elk-fake-worker.generated.js +50224 -0
  207. package/dist/workers/elk-layout-blob.generated.js +16 -18
  208. package/dist/workers/elk-layout.worker.js +5 -2
  209. package/dist/{xychartDiagram-5P7HB3ND-y-_Hnheq.js → xychartDiagram-5P7HB3ND-CSCEAZnj.js} +8 -7
  210. package/dist/{xychartDiagram-5P7HB3ND-BsPkSpoT.cjs → xychartDiagram-5P7HB3ND-CpDJRyka.cjs} +4 -4
  211. package/package.json +11 -2
  212. package/dist/arc-C1ekKGkb.js +0 -83
  213. package/dist/arc-R701-DfQ.cjs +0 -1
  214. package/dist/blockDiagram-DXYQGD6D-C72mCfQb.cjs +0 -132
  215. package/dist/change-list-item-BEl0JMXU.js +0 -18744
  216. package/dist/change-list-item-BQAfTtYI.cjs +0 -4535
  217. package/dist/channel-Bcdtr5hc.js +0 -5
  218. package/dist/clone-xz9tAnT8.cjs +0 -1
  219. package/dist/info-OMHHGYJF-CoCJYW0-.js +0 -5
  220. package/dist/linear-C0WOPIXr.cjs +0 -1
  221. package/dist/pie-ZZUOXDRM-BZwBUxgW.js +0 -5
  222. package/dist/pieDiagram-DEJITSTG-DpV5UNcT.cjs +0 -30
  223. package/dist/radar-PYXPWWZC-CeYN6kDE.js +0 -5
  224. package/dist/stateDiagram-FHFEXIEX-CYMON_a_.cjs +0 -1
@@ -0,0 +1,86 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, nothing } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ import { repeat } from 'lit/directives/repeat.js';
10
+ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
11
+ import yamlViewerCss from './yaml-viewer.css.js';
12
+ let Pb33fYamlViewer = class Pb33fYamlViewer extends LitElement {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.spec = '';
16
+ this.highlighted = {};
17
+ this.firstLine = 1;
18
+ this.focusStart = 0;
19
+ this.focusEnd = 0;
20
+ this.language = 'yaml';
21
+ this.cachedSpec = '';
22
+ this.cachedLines = [];
23
+ }
24
+ scrollToLine(line) {
25
+ const row = this.renderRoot.querySelector(`[data-line="${line}"]`);
26
+ row?.scrollIntoView({ block: 'center', behavior: 'auto' });
27
+ }
28
+ emphasis(line) {
29
+ if (this.focusStart > 0 && line >= this.focusStart && line <= (this.focusEnd || this.focusStart)) {
30
+ return 'focus';
31
+ }
32
+ return '';
33
+ }
34
+ lines() {
35
+ if (this.spec !== this.cachedSpec) {
36
+ this.cachedSpec = this.spec;
37
+ this.cachedLines = this.spec.split('\n');
38
+ }
39
+ return this.cachedLines;
40
+ }
41
+ renderLine(line, idx) {
42
+ const lineNumber = this.firstLine + idx;
43
+ const highlightedContent = this.highlighted?.[lineNumber];
44
+ const emphasis = this.emphasis(lineNumber);
45
+ return html `
46
+ <div class="diff-line equal"
47
+ data-emphasis=${emphasis || nothing}
48
+ data-line=${lineNumber}
49
+ data-original-line=${lineNumber}>
50
+ <span class="line-gutter"></span>
51
+ <span class="line-number">${lineNumber}</span>
52
+ <span class="line-content">${highlightedContent ? unsafeHTML(highlightedContent) : line}</span>
53
+ </div>
54
+ `;
55
+ }
56
+ render() {
57
+ return html `
58
+ <div class="yaml-viewer" data-language=${this.language}>
59
+ ${repeat(this.lines(), (_, idx) => this.firstLine + idx, (line, idx) => this.renderLine(line, idx))}
60
+ </div>
61
+ `;
62
+ }
63
+ };
64
+ Pb33fYamlViewer.styles = yamlViewerCss;
65
+ __decorate([
66
+ property()
67
+ ], Pb33fYamlViewer.prototype, "spec", void 0);
68
+ __decorate([
69
+ property({ type: Object })
70
+ ], Pb33fYamlViewer.prototype, "highlighted", void 0);
71
+ __decorate([
72
+ property({ type: Number })
73
+ ], Pb33fYamlViewer.prototype, "firstLine", void 0);
74
+ __decorate([
75
+ property({ type: Number })
76
+ ], Pb33fYamlViewer.prototype, "focusStart", void 0);
77
+ __decorate([
78
+ property({ type: Number })
79
+ ], Pb33fYamlViewer.prototype, "focusEnd", void 0);
80
+ __decorate([
81
+ property()
82
+ ], Pb33fYamlViewer.prototype, "language", void 0);
83
+ Pb33fYamlViewer = __decorate([
84
+ customElement('pb33f-yaml-viewer')
85
+ ], Pb33fYamlViewer);
86
+ export { Pb33fYamlViewer };
@@ -4,6 +4,7 @@ export declare class ProblemController extends EventTarget {
4
4
  private readonly deps;
5
5
  constructor(deps: ProblemControllerDeps);
6
6
  problemClicked(event: CustomEvent<ProblemClickedEvent>): void;
7
+ private resolveProblemClickTarget;
7
8
  private ensureSpecTabActive;
8
9
  private normalizeSourceLocation;
9
10
  private navigateToRolodexNode;
@@ -6,28 +6,44 @@ export class ProblemController extends EventTarget {
6
6
  this.deps = deps;
7
7
  }
8
8
  problemClicked(event) {
9
+ const target = this.resolveProblemClickTarget(event.detail);
9
10
  if (this.deps.viewingHistoricalViolations) {
10
- this.navigateInHistoricalDiff(event.detail.problem, event.detail.launchedFromProblems);
11
+ this.navigateInHistoricalDiff(target, event.detail.launchedFromProblems);
11
12
  }
12
13
  else {
13
14
  this.ensureSpecTabActive();
14
- const sourceLocation = this.normalizeSourceLocation(event.detail.problem);
15
+ const sourceLocation = this.normalizeSourceLocation(target.problem);
15
16
  let node = null;
16
17
  if (this.deps.rolodexRoot) {
17
18
  node = SearchNodeTreeForPath(this.deps.rolodexRoot, sourceLocation, this.deps.modelController);
18
19
  }
19
20
  if (node) {
20
- this.navigateToRolodexNode(node, sourceLocation, event.detail.problem);
21
+ this.navigateToRolodexNode(node, sourceLocation, target);
21
22
  }
22
23
  else if (this.isRolodexFilePath(sourceLocation)) {
23
- this.navigateToRolodexFile(sourceLocation, event.detail.problem);
24
+ this.navigateToRolodexFile(sourceLocation, target);
24
25
  }
25
26
  else {
26
- this.navigateInEditor(event.detail.problem, event.detail.launchedFromProblems);
27
+ this.navigateInEditor(target, event.detail.launchedFromProblems);
27
28
  }
28
29
  }
29
30
  this.deps.genericDrawer.close();
30
31
  }
32
+ resolveProblemClickTarget(event) {
33
+ if (event.problemItem) {
34
+ return {
35
+ problem: event.problem,
36
+ problemItem: event.problemItem,
37
+ line: event.problemItem.line,
38
+ column: event.problemItem.column
39
+ };
40
+ }
41
+ return {
42
+ problem: event.problem,
43
+ line: event.problem.startLineNumber,
44
+ column: event.problem.startColumn
45
+ };
46
+ }
31
47
  ensureSpecTabActive() {
32
48
  if (this.deps.selectedEditorTab !== "spec") {
33
49
  this.deps.editorPanel?.showTab("spec");
@@ -35,19 +51,19 @@ export class ProblemController extends EventTarget {
35
51
  }
36
52
  }
37
53
  normalizeSourceLocation(problem) {
38
- const sourceLocation = problem.problemObject.sourceLocation;
54
+ const sourceLocation = problem.sourceLocation;
39
55
  if (!sourceLocation || sourceLocation === 'root') {
40
56
  return this.deps.rolodexRootPath;
41
57
  }
42
58
  return sourceLocation;
43
59
  }
44
- navigateToRolodexNode(node, path, problem) {
60
+ navigateToRolodexNode(node, path, target) {
45
61
  this.deps.nodeClickerController.rolodexTreeNodeClicked(new CustomEvent(RolodexTreeNodeClicked, {
46
62
  detail: {
47
63
  nodeHashId: node.idHash,
48
64
  path: path,
49
- line: problem.problemObject.startLineNumber,
50
- column: problem.problemObject.startColumn
65
+ line: target.problem.startLineNumber,
66
+ column: target.problem.startColumn
51
67
  }
52
68
  }));
53
69
  this.deps.rolodexTree.openNodeByPath(path);
@@ -60,46 +76,46 @@ export class ProblemController extends EventTarget {
60
76
  }
61
77
  return /\.(ya?ml|json)(#.*)?$/i.test(sourceLocation);
62
78
  }
63
- navigateToRolodexFile(path, problem) {
79
+ navigateToRolodexFile(path, target) {
64
80
  this.deps.nodeClickerController.rolodexTreeNodeClicked(new CustomEvent(RolodexTreeNodeClicked, {
65
81
  detail: {
66
82
  path: path,
67
- line: problem.problemObject.startLineNumber,
68
- column: problem.problemObject.startColumn
83
+ line: target.problem.startLineNumber,
84
+ column: target.problem.startColumn
69
85
  }
70
86
  }));
71
87
  this.deps.rolodexTree.openNodeByPath(path);
72
88
  }
73
- navigateInEditor(problem, launchedFromProblems) {
89
+ navigateInEditor(target, launchedFromProblems) {
74
90
  this.deps.sidebarPanel?.showTab(ActiveView.Problems);
75
91
  const editor = this.deps.editor.editor;
76
- if (editor && problem.line !== undefined && problem.column !== undefined) {
77
- editor.revealLineInCenter(problem.line);
92
+ if (editor && target.line !== undefined && target.column !== undefined) {
93
+ editor.revealLineInCenter(target.line);
78
94
  editor.setPosition({
79
- lineNumber: problem.line,
80
- column: problem.column
95
+ lineNumber: target.line,
96
+ column: target.column
81
97
  });
82
98
  }
83
99
  if (!launchedFromProblems) {
84
- this.deps.problemList.lineClicked(problem.problemObject.startLineNumber);
100
+ this.deps.problemList.lineClicked(target.problem.startLineNumber);
85
101
  }
86
102
  }
87
- navigateInHistoricalDiff(problem, launchedFromProblems) {
103
+ navigateInHistoricalDiff(target, launchedFromProblems) {
88
104
  this.deps.selectTardis();
89
105
  const tardisControl = this.deps.timeVortex?.tardisControl;
90
106
  if (tardisControl) {
91
107
  tardisControl.showDiffTab();
92
108
  const diffEditor = tardisControl.diffEditor;
93
- if (diffEditor && problem.line !== undefined && problem.column !== undefined) {
94
- diffEditor.revealLineInCenterOriginal(problem.line);
109
+ if (diffEditor && target.line !== undefined && target.column !== undefined) {
110
+ diffEditor.revealLineInCenterOriginal(target.line);
95
111
  diffEditor.setPositionOriginal({
96
- lineNumber: problem.line,
97
- column: problem.column
112
+ lineNumber: target.line,
113
+ column: target.column
98
114
  });
99
115
  }
100
116
  }
101
117
  if (!launchedFromProblems) {
102
- this.deps.problemList.lineClicked(problem.problemObject.startLineNumber);
118
+ this.deps.problemList.lineClicked(target.problem.startLineNumber);
103
119
  }
104
120
  }
105
121
  }
@@ -1,6 +1,6 @@
1
- import { _ as V, l as k, d as lt } from "./cowboy-components-C1bHeXpH.js";
1
+ import { _ as V, l as k, d as lt } from "./cowboy-components-B5MDHQs5.js";
2
2
  import { c as tt } from "./cytoscape.esm-DfdJODL8.js";
3
- import { g as gt } from "./change-list-item-BEl0JMXU.js";
3
+ import { g as gt } from "./change-list-item-Bu_mPv-k.js";
4
4
  var Z = { exports: {} }, $ = { exports: {} }, Q = { exports: {} }, ut = Q.exports, j;
5
5
  function ft() {
6
6
  return j || (j = 1, (function(G, b) {