@pb33f/cowboy-components 0.14.1 → 0.15.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 (167) hide show
  1. package/dist/{_baseUniq-CcG8uZM_.js → _baseUniq-DkvmJCFv.js} +1 -1
  2. package/dist/{_baseUniq-Co8RB71y.cjs → _baseUniq-FTe2FRsZ.cjs} +1 -1
  3. package/dist/{arc-CZ9OyfV-.js → arc-CYzOnlSi.js} +2 -2
  4. package/dist/{arc-D5LG9aVl.cjs → arc-tHE-eDC1.cjs} +1 -1
  5. package/dist/{architecture-YZFGNWBL-ne59NWt0.js → architecture-YZFGNWBL-CHrkvOqY.js} +1 -1
  6. package/dist/{architecture-YZFGNWBL-CuyaOcgJ.cjs → architecture-YZFGNWBL-CoFOgOkv.cjs} +1 -1
  7. package/dist/{architectureDiagram-Q4EWVU46-CxErVIKm.cjs → architectureDiagram-Q4EWVU46-BNgO6IDb.cjs} +1 -1
  8. package/dist/{architectureDiagram-Q4EWVU46-ibaXfmmT.js → architectureDiagram-Q4EWVU46-BlVPlre4.js} +4 -4
  9. package/dist/{blockDiagram-DXYQGD6D-D5vqojm8.js → blockDiagram-DXYQGD6D-CmuWyVpp.js} +6 -6
  10. package/dist/{blockDiagram-DXYQGD6D-iFIpSW7Y.cjs → blockDiagram-DXYQGD6D-DTH4brTo.cjs} +1 -1
  11. package/dist/{c4Diagram-AHTNJAMY-B7t5p6jA.js → c4Diagram-AHTNJAMY-Bd457Kk0.js} +2 -2
  12. package/dist/{c4Diagram-AHTNJAMY-Av_INk2v.cjs → c4Diagram-AHTNJAMY-D4IMO6iJ.cjs} +1 -1
  13. package/dist/{change-list-item-Bu_mPv-k.js → change-list-item-BRSBlaLu.js} +348 -350
  14. package/dist/{change-list-item-4xBSo3-U.cjs → change-list-item-Dy1GNFQ8.cjs} +91 -91
  15. package/dist/{channel-DO31wbvk.cjs → channel-Ct_j6JZf.cjs} +1 -1
  16. package/dist/{channel-BvR-WhLo.js → channel-rcMAVtNO.js} +1 -1
  17. package/dist/{chunk-4BX2VUAB-DHdTrTTD.cjs → chunk-4BX2VUAB-D4UkiLWV.cjs} +1 -1
  18. package/dist/{chunk-4BX2VUAB-DQ4rU_AZ.js → chunk-4BX2VUAB-XJuJGw_Z.js} +1 -1
  19. package/dist/{chunk-4TB4RGXK-BlskfrH8.cjs → chunk-4TB4RGXK-BxahB5gv.cjs} +1 -1
  20. package/dist/{chunk-4TB4RGXK-BK_uuzSP.js → chunk-4TB4RGXK-CnipwGVI.js} +5 -5
  21. package/dist/{chunk-55IACEB6-CRJ5yCrP.cjs → chunk-55IACEB6-CEDZ87Yr.cjs} +1 -1
  22. package/dist/{chunk-55IACEB6-BauZDeFH.js → chunk-55IACEB6-D2v5xo07.js} +1 -1
  23. package/dist/{chunk-EDXVE4YY-BrlRuHp3.cjs → chunk-EDXVE4YY-CP7pBxXD.cjs} +1 -1
  24. package/dist/{chunk-EDXVE4YY-DPpXfrr8.js → chunk-EDXVE4YY-DtZEtPNM.js} +1 -1
  25. package/dist/{chunk-FMBD7UC4-CtyzUnzx.js → chunk-FMBD7UC4-B2FUllsE.js} +1 -1
  26. package/dist/{chunk-FMBD7UC4-0x38b8wg.cjs → chunk-FMBD7UC4-slHNYrdA.cjs} +1 -1
  27. package/dist/{chunk-OYMX7WX6-U53KZXxw.js → chunk-OYMX7WX6-Cx27mmAN.js} +3 -3
  28. package/dist/{chunk-OYMX7WX6-DU4Zqa7r.cjs → chunk-OYMX7WX6-j5BWPw4q.cjs} +1 -1
  29. package/dist/{chunk-QZHKN3VN-Dyhr8mWm.cjs → chunk-QZHKN3VN-CfbDcaIZ.cjs} +1 -1
  30. package/dist/{chunk-QZHKN3VN-BhntY1rB.js → chunk-QZHKN3VN-CxT_HDdj.js} +1 -1
  31. package/dist/{chunk-YZCP3GAM-B_2rYHHe.cjs → chunk-YZCP3GAM-C2IM6BuV.cjs} +1 -1
  32. package/dist/{chunk-YZCP3GAM--UtgfYoK.js → chunk-YZCP3GAM-DpgFVAJS.js} +1 -1
  33. package/dist/{classDiagram-6PBFFD2Q-w916JDya.cjs → classDiagram-6PBFFD2Q-BJp1AGm6.cjs} +1 -1
  34. package/dist/{classDiagram-v2-HSJHXN6E-DX5nDbg5.js → classDiagram-6PBFFD2Q-CEDs-xzV.js} +2 -2
  35. package/dist/{classDiagram-v2-HSJHXN6E-w916JDya.cjs → classDiagram-v2-HSJHXN6E-BJp1AGm6.cjs} +1 -1
  36. package/dist/{classDiagram-6PBFFD2Q-DX5nDbg5.js → classDiagram-v2-HSJHXN6E-CEDs-xzV.js} +2 -2
  37. package/dist/{clone-DFz4YXr3.js → clone-BYMmv0vr.js} +1 -1
  38. package/dist/clone-CMeAJ3XK.cjs +1 -0
  39. package/dist/components/bundle-toolbar/bundle-toolbar.d.ts +0 -1
  40. package/dist/components/bundle-toolbar/bundle-toolbar.js +1 -3
  41. package/dist/components/editor/editor.js +114 -18
  42. package/dist/components/premium-gate/premium-gate.d.ts +1 -0
  43. package/dist/components/premium-gate/premium-gate.js +6 -0
  44. package/dist/components/rodeo/roundup.d.ts +7 -0
  45. package/dist/components/rodeo/roundup.js +40 -0
  46. package/dist/components/rodeo/user-detail.js +6 -3
  47. package/dist/components/the-doctor/doctor-editor-panel.css.js +67 -30
  48. package/dist/components/the-doctor/doctor-editor-panel.d.ts +1 -0
  49. package/dist/components/the-doctor/doctor-editor-panel.js +9 -1
  50. package/dist/components/the-doctor/doctor-navigator-panel.css.js +1 -0
  51. package/dist/components/the-doctor/doctor-sidebar-panel.d.ts +4 -1
  52. package/dist/components/the-doctor/doctor-sidebar-panel.js +18 -3
  53. package/dist/components/the-doctor/printing-press-docs-unavailable.css.d.ts +2 -0
  54. package/dist/components/the-doctor/printing-press-docs-unavailable.css.js +34 -0
  55. package/dist/components/the-doctor/printing-press-docs-unavailable.d.ts +12 -0
  56. package/dist/components/the-doctor/printing-press-docs-unavailable.js +35 -0
  57. package/dist/components/the-doctor/printing-press-export-controls.css.d.ts +2 -0
  58. package/dist/components/the-doctor/printing-press-export-controls.css.js +26 -0
  59. package/dist/components/the-doctor/printing-press-export-controls.d.ts +16 -0
  60. package/dist/components/the-doctor/printing-press-export-controls.js +75 -0
  61. package/dist/components/the-doctor/the-doctor.css.js +148 -8
  62. package/dist/components/the-doctor/the-doctor.d.ts +52 -2
  63. package/dist/components/the-doctor/the-doctor.js +581 -23
  64. package/dist/components/workspaces/workspace-view.d.ts +1 -5
  65. package/dist/components/workspaces/workspace-view.js +4 -11
  66. package/dist/controllers/diagnostic-controller.d.ts +2 -0
  67. package/dist/controllers/diagnostic-controller.js +40 -1
  68. package/dist/controllers/node-clicker-controller.d.ts +2 -3
  69. package/dist/controllers/spec-controller.js +1 -1
  70. package/dist/controllers/workspace-controller.d.ts +1 -2
  71. package/dist/controllers/workspace-controller.js +2 -2
  72. package/dist/{cose-bilkent-S5V4N54A-DcUKlxlF.js → cose-bilkent-S5V4N54A-8KG9LqBY.js} +2 -2
  73. package/dist/{cose-bilkent-S5V4N54A-CKHB3cR8.cjs → cose-bilkent-S5V4N54A-Tlz_fqGx.cjs} +1 -1
  74. package/dist/{cowboy-components-CxawaKWM.js → cowboy-components-CPx4P290.js} +12249 -12616
  75. package/dist/{cowboy-components-CjgqXqkM.cjs → cowboy-components-DDfCPnUY.cjs} +1349 -1473
  76. package/dist/{dagre-KV5264BT-B2JWO01l.cjs → dagre-KV5264BT-DPqcbQdq.cjs} +1 -1
  77. package/dist/{dagre-KV5264BT-Nl_VfI8a.js → dagre-KV5264BT-DSCWDkcl.js} +5 -5
  78. package/dist/{diagram-5BDNPKRD-TI1X3fNz.js → diagram-5BDNPKRD-D-Y0PkPP.js} +4 -4
  79. package/dist/{diagram-5BDNPKRD-BKI_3vWy.cjs → diagram-5BDNPKRD-Ioi_2Lul.cjs} +1 -1
  80. package/dist/{diagram-G4DWMVQ6-DFBdN4sf.cjs → diagram-G4DWMVQ6-BRmyn8WA.cjs} +1 -1
  81. package/dist/{diagram-G4DWMVQ6-CFqOAmuK.js → diagram-G4DWMVQ6-Cl1WmwJV.js} +4 -4
  82. package/dist/{diagram-MMDJMWI5-CFuTCrVQ.cjs → diagram-MMDJMWI5-CTASKErj.cjs} +1 -1
  83. package/dist/{diagram-MMDJMWI5-BSsV2xaN.js → diagram-MMDJMWI5-vq4gDD7H.js} +3 -3
  84. package/dist/{diagram-TYMM5635-CrgW2ZZO.cjs → diagram-TYMM5635-DEnqo3aX.cjs} +1 -1
  85. package/dist/{diagram-TYMM5635-BP1f-EB_.js → diagram-TYMM5635-DSUFes5l.js} +3 -3
  86. package/dist/{erDiagram-SMLLAGMA-rVfyZdO4.js → erDiagram-SMLLAGMA-BiPGCCxs.js} +4 -4
  87. package/dist/{erDiagram-SMLLAGMA-C3caLNRz.cjs → erDiagram-SMLLAGMA-CyaiSIV2.cjs} +1 -1
  88. package/dist/events/doctor.d.ts +2 -0
  89. package/dist/events/doctor.js +2 -0
  90. package/dist/{flowDiagram-DWJPFMVM-Ce_HVRt5.cjs → flowDiagram-DWJPFMVM-Bqf8cwLG.cjs} +1 -1
  91. package/dist/{flowDiagram-DWJPFMVM-DqFXC8zL.js → flowDiagram-DWJPFMVM-C9rhk5uL.js} +6 -6
  92. package/dist/{ganttDiagram-T4ZO3ILL-BmNOX7yf.js → ganttDiagram-T4ZO3ILL-BP9h2UTv.js} +3 -3
  93. package/dist/{ganttDiagram-T4ZO3ILL-HHFgf8w4.cjs → ganttDiagram-T4ZO3ILL-DaR_t9rW.cjs} +1 -1
  94. package/dist/{gitGraph-7Q5UKJZL-kCDkIMWc.js → gitGraph-7Q5UKJZL-CHmm38gX.js} +1 -1
  95. package/dist/{gitGraph-7Q5UKJZL-DgndfdDH.cjs → gitGraph-7Q5UKJZL-DytqCQiv.cjs} +1 -1
  96. package/dist/{gitGraphDiagram-UUTBAWPF-DaVjvjth.cjs → gitGraphDiagram-UUTBAWPF-BGuOUavm.cjs} +1 -1
  97. package/dist/{gitGraphDiagram-UUTBAWPF-C-Ahhj_h.js → gitGraphDiagram-UUTBAWPF-ecgG5qHi.js} +4 -4
  98. package/dist/{graph-Dfys1tzR.js → graph-Bv4HICS-.js} +2 -2
  99. package/dist/{graph-DyZUkQBU.cjs → graph-DpFK38bp.cjs} +1 -1
  100. package/dist/{info-OMHHGYJF-Cb_sFFZS.cjs → info-OMHHGYJF-CUIG00cp.cjs} +1 -1
  101. package/dist/info-OMHHGYJF-CoTbguMJ.js +5 -0
  102. package/dist/{infoDiagram-42DDH7IO-BP_YOQpC.js → infoDiagram-42DDH7IO--5_30AyR.js} +2 -2
  103. package/dist/{infoDiagram-42DDH7IO-C09CiT2v.cjs → infoDiagram-42DDH7IO-CuAPDz-b.cjs} +1 -1
  104. package/dist/interfaces/doctor-interfaces.d.ts +10 -2
  105. package/dist/{ishikawaDiagram-UXIWVN3A-CjAoGU0v.cjs → ishikawaDiagram-UXIWVN3A-B8zjZXR2.cjs} +1 -1
  106. package/dist/{ishikawaDiagram-UXIWVN3A-DwW6fn0e.js → ishikawaDiagram-UXIWVN3A-BVoGYP0J.js} +1 -1
  107. package/dist/{journeyDiagram-VCZTEJTY-Bk7z4VA2.js → journeyDiagram-VCZTEJTY-CmQ65Rzd.js} +4 -4
  108. package/dist/{journeyDiagram-VCZTEJTY-CZnSwt6p.cjs → journeyDiagram-VCZTEJTY-Cs5uPgLz.cjs} +1 -1
  109. package/dist/{kanban-definition-6JOO6SKY-BiN4nM1i.js → kanban-definition-6JOO6SKY-BUllH7Pr.js} +2 -2
  110. package/dist/{kanban-definition-6JOO6SKY-DZF8xgYV.cjs → kanban-definition-6JOO6SKY-Bpd9pm1_.cjs} +1 -1
  111. package/dist/{layout-BDanDonD.js → layout-B93j_9jn.js} +4 -4
  112. package/dist/{layout-rTQtAIwn.cjs → layout-zdFgePaJ.cjs} +1 -1
  113. package/dist/{linear-CuHSYSeN.cjs → linear-D1T5mBBn.cjs} +1 -1
  114. package/dist/{linear-DFB2dCGq.js → linear-EAwz3euQ.js} +1 -1
  115. package/dist/{mermaid-parser.core-CCHvxUQl.js → mermaid-parser.core-D4IlYn7u.js} +13 -13
  116. package/dist/{mermaid-parser.core-fjh_cn2l.cjs → mermaid-parser.core-S6P-fvNi.cjs} +2 -2
  117. package/dist/{min-rDRC9KDF.js → min-BcEbrjrR.js} +2 -2
  118. package/dist/{min-h6fs1hPk.cjs → min-Cp2y5NY5.cjs} +1 -1
  119. package/dist/{mindmap-definition-QFDTVHPH-CZMHHnKO.js → mindmap-definition-QFDTVHPH-CZXaWtPo.js} +3 -3
  120. package/dist/{mindmap-definition-QFDTVHPH-BbUJ3LHd.cjs → mindmap-definition-QFDTVHPH-CkLdkLZi.cjs} +1 -1
  121. package/dist/model/api-response.d.ts +1 -0
  122. package/dist/model/feature-flags.d.ts +1 -0
  123. package/dist/model/feature-flags.js +1 -0
  124. package/dist/model/roundup-stats.d.ts +7 -0
  125. package/dist/{packet-4T2RLAQJ-BRTuQgpj.cjs → packet-4T2RLAQJ-CWdQm1p_.cjs} +1 -1
  126. package/dist/{packet-4T2RLAQJ-Bl5gBk4Q.js → packet-4T2RLAQJ-CqUj6pUH.js} +1 -1
  127. package/dist/pie-ZZUOXDRM-Dt-GliGo.js +5 -0
  128. package/dist/{pie-ZZUOXDRM-BbZyrtOg.cjs → pie-ZZUOXDRM-DxRGMKj-.cjs} +1 -1
  129. package/dist/{pieDiagram-DEJITSTG-BpiMiYGL.cjs → pieDiagram-DEJITSTG-CeFtWjEL.cjs} +1 -1
  130. package/dist/{pieDiagram-DEJITSTG-BNTE6R98.js → pieDiagram-DEJITSTG-DF8iOEQ1.js} +5 -5
  131. package/dist/{quadrantDiagram-34T5L4WZ-JjtOrhxB.js → quadrantDiagram-34T5L4WZ-DIrQ_CoV.js} +2 -2
  132. package/dist/{quadrantDiagram-34T5L4WZ-DODOOGae.cjs → quadrantDiagram-34T5L4WZ-DbENKFQB.cjs} +1 -1
  133. package/dist/radar-PYXPWWZC-B0qn40ys.js +5 -0
  134. package/dist/{radar-PYXPWWZC-CSH1N71W.cjs → radar-PYXPWWZC-DbQi3NfV.cjs} +1 -1
  135. package/dist/{requirementDiagram-MS252O5E-CwV2UGNb.js → requirementDiagram-MS252O5E-BmJ9tgw2.js} +3 -3
  136. package/dist/{requirementDiagram-MS252O5E-CjMpy00l.cjs → requirementDiagram-MS252O5E-CmwBghn1.cjs} +1 -1
  137. package/dist/{sankeyDiagram-XADWPNL6-rri4GWAM.js → sankeyDiagram-XADWPNL6-D6nKYWbU.js} +1 -1
  138. package/dist/{sankeyDiagram-XADWPNL6-BzayPzy0.cjs → sankeyDiagram-XADWPNL6-_NTd9nNm.cjs} +1 -1
  139. package/dist/{sequenceDiagram-FGHM5R23-D-YegsL-.cjs → sequenceDiagram-FGHM5R23-DvARbSg3.cjs} +1 -1
  140. package/dist/{sequenceDiagram-FGHM5R23-BwBriXF1.js → sequenceDiagram-FGHM5R23-gj6-9UEl.js} +3 -3
  141. package/dist/services/linting-service.d.ts +1 -0
  142. package/dist/services/linting-service.js +3 -0
  143. package/dist/services/printing-press-service.d.ts +27 -0
  144. package/dist/services/printing-press-service.js +125 -0
  145. package/dist/{stateDiagram-FHFEXIEX-jfwjGp1O.js → stateDiagram-FHFEXIEX-CDfhkt5o.js} +5 -5
  146. package/dist/{stateDiagram-FHFEXIEX-Cq2H2XQO.cjs → stateDiagram-FHFEXIEX-CUoMK5qv.cjs} +1 -1
  147. package/dist/{stateDiagram-v2-QKLJ7IA2-Bw4Xgr7w.js → stateDiagram-v2-QKLJ7IA2-DiPwdbAK.js} +2 -2
  148. package/dist/{stateDiagram-v2-QKLJ7IA2-DKL73VEs.cjs → stateDiagram-v2-QKLJ7IA2-DkUny04G.cjs} +1 -1
  149. package/dist/{timeline-definition-GMOUNBTQ-CpABxKM5.js → timeline-definition-GMOUNBTQ-GxzCrHrx.js} +2 -2
  150. package/dist/{timeline-definition-GMOUNBTQ-DP1yCayj.cjs → timeline-definition-GMOUNBTQ-bpnHyBjo.cjs} +1 -1
  151. package/dist/{treeView-SZITEDCU-BtaLEQ3S.js → treeView-SZITEDCU-DIrUF69A.js} +1 -1
  152. package/dist/{treeView-SZITEDCU-BizNBkAv.cjs → treeView-SZITEDCU-zJeBKhxU.cjs} +1 -1
  153. package/dist/{treemap-W4RFUUIX-Cbbx2tbB.cjs → treemap-W4RFUUIX-DIVItjGt.cjs} +1 -1
  154. package/dist/{treemap-W4RFUUIX-CmVVUeZj.js → treemap-W4RFUUIX-De3UvqNM.js} +1 -1
  155. package/dist/{vennDiagram-DHZGUBPP-C0edoxsg.js → vennDiagram-DHZGUBPP-C8gJOl_U.js} +1 -1
  156. package/dist/{vennDiagram-DHZGUBPP-Dv3ZX8SJ.cjs → vennDiagram-DHZGUBPP-CPciBxaz.cjs} +1 -1
  157. package/dist/{wardley-RL74JXVD-DdQvN9q5.js → wardley-RL74JXVD-C7Xl9U8K.js} +1 -1
  158. package/dist/{wardley-RL74JXVD-BndLe7vL.cjs → wardley-RL74JXVD-pImcCh7M.cjs} +1 -1
  159. package/dist/{wardleyDiagram-NUSXRM2D-DCChf1Y2.js → wardleyDiagram-NUSXRM2D-C5cuHNUZ.js} +3 -3
  160. package/dist/{wardleyDiagram-NUSXRM2D-DpluOG7a.cjs → wardleyDiagram-NUSXRM2D-cJNJYk25.cjs} +1 -1
  161. package/dist/{xychartDiagram-5P7HB3ND-B7y6-7BP.cjs → xychartDiagram-5P7HB3ND-Bg7uOCAC.cjs} +1 -1
  162. package/dist/{xychartDiagram-5P7HB3ND-BWvz1AY8.js → xychartDiagram-5P7HB3ND-Ws1GisBM.js} +3 -3
  163. package/package.json +1 -1
  164. package/dist/clone-D_c-FYGd.cjs +0 -1
  165. package/dist/info-OMHHGYJF-KL9K6Ofp.js +0 -5
  166. package/dist/pie-ZZUOXDRM-CpENjo0C.js +0 -5
  167. package/dist/radar-PYXPWWZC-BiAwm-jb.js +0 -5
@@ -2,9 +2,7 @@ import { TheDoctor } from "../the-doctor/the-doctor.js";
2
2
  import { WorkspaceController } from "../../controllers/workspace-controller.js";
3
3
  import { WalletController } from "../../controllers/wallet-controller.js";
4
4
  import { GitHubController } from "../../controllers/github-controller.js";
5
- import { ApiKeyController } from "../../controllers/api-key-controller.js";
6
5
  import { GitHubWorkspaceView } from "../github/github-workspace-view.js";
7
- import { ApiKeyViewComponent } from "../api-keys/api-key-view.js";
8
6
  import { Workspace } from "../../model/workspace.js";
9
7
  import { Formable } from "../../model/formable.js";
10
8
  import { WorkspaceForm } from "./workspace-form.js";
@@ -17,12 +15,10 @@ export declare class WorkspacesView extends Formable {
17
15
  wsController: WorkspaceController;
18
16
  walletController: WalletController;
19
17
  githubController: GitHubController;
20
- apiKeyController: ApiKeyController | undefined;
21
18
  workspaceForm: WorkspaceForm;
22
19
  destroyDialog: WorkspaceDestroyView;
23
20
  githubView: GitHubWorkspaceView;
24
- apiKeyView: ApiKeyViewComponent;
25
- constructor(doc: TheDoctor, wsController: WorkspaceController, walletController: WalletController, githubController: GitHubController, apiKeyController?: ApiKeyController);
21
+ constructor(doc: TheDoctor, wsController: WorkspaceController, walletController: WalletController, githubController: GitHubController);
26
22
  private setupDestroyDialogEvents;
27
23
  private setupWorkspaceFormEvents;
28
24
  private setupWalletEvents;
@@ -7,7 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { html, nothing } from "lit";
8
8
  import { customElement, state } from "lit/decorators.js";
9
9
  import { GitHubWorkspaceView } from "../github/github-workspace-view.js";
10
- import { ApiKeyViewComponent } from "../api-keys/api-key-view.js";
11
10
  import { Formable } from "../../model/formable.js";
12
11
  import { WorkspaceForm } from "./workspace-form.js";
13
12
  import { WorkspaceDestroyView } from "./workspace-destroy-dialog.js";
@@ -22,25 +21,20 @@ import hrCss from "../../css/hr.css.js";
22
21
  import tabsCss from "../../css/tabs.css.js";
23
22
  import scrollbarCss from "../../css/scrollbar.css.js";
24
23
  import { DoctorIcon } from "../model-icon/doctor-icon.js";
25
- const showApiKeyTab = false;
24
+ import { showApiKeyFeatures } from "../../model/feature-flags.js";
26
25
  let WorkspacesView = class WorkspacesView extends Formable {
27
- constructor(doc, wsController, walletController, githubController, apiKeyController) {
26
+ constructor(doc, wsController, walletController, githubController) {
28
27
  super(doc);
29
28
  this.doc = doc;
30
29
  this.wsController = wsController;
31
30
  this.walletController = walletController;
32
31
  this.githubController = githubController;
33
- this.apiKeyController = apiKeyController;
34
32
  this.active = false;
35
33
  this.workspaceForm = new WorkspaceForm();
36
34
  this.destroyDialog = new WorkspaceDestroyView();
37
35
  this.githubView = new GitHubWorkspaceView();
38
36
  this.githubView.githubController = this.githubController;
39
37
  this.githubController.setGitHubView(this.githubView);
40
- this.apiKeyView = new ApiKeyViewComponent();
41
- if (this.apiKeyController) {
42
- this.apiKeyView.setController(this.apiKeyController);
43
- }
44
38
  this.setupDestroyDialogEvents();
45
39
  this.setupWorkspaceFormEvents();
46
40
  this.setupWalletEvents();
@@ -169,7 +163,7 @@ let WorkspacesView = class WorkspacesView extends Formable {
169
163
 
170
164
  <sl-tab-group class="tab-group workspace-tabs" placement="start">
171
165
  <sl-tab slot="nav" panel="workspaces" class="tab" active>Workspaces</sl-tab>
172
- ${showApiKeyTab ? html `<sl-tab slot="nav" panel="api-keys" class="tab">API Keys</sl-tab>` : nothing}
166
+ ${showApiKeyFeatures ? html `<sl-tab slot="nav" panel="api-keys" class="tab">API Keys</sl-tab>` : nothing}
173
167
  <sl-tab slot="nav" panel="credit" class="tab">Credit</sl-tab>
174
168
 
175
169
  <sl-tab-panel name="workspaces">
@@ -249,10 +243,9 @@ let WorkspacesView = class WorkspacesView extends Formable {
249
243
  </div>
250
244
  </sl-tab-panel>
251
245
 
252
- ${showApiKeyTab ? html `
246
+ ${showApiKeyFeatures ? html `
253
247
  <sl-tab-panel name="api-keys">
254
248
  <div class="tab-panel-content scroller">
255
- ${this.apiKeyView}
256
249
  </div>
257
250
  </sl-tab-panel>
258
251
  ` : nothing}
@@ -7,10 +7,12 @@ export declare class DiagnosticController extends EventTarget {
7
7
  private createToast;
8
8
  private getMaxNodes;
9
9
  private prepareLintContext;
10
+ private problemIdentity;
10
11
  private mergeProblemsWithRoot;
11
12
  private setMarkersWithRootProblems;
12
13
  private handleSingleProblemResult;
13
14
  private handleParseError;
15
+ private refreshPrintingPressDocsIfNoTask;
14
16
  private fetchGraphAndHistory;
15
17
  private handlePostLintOperations;
16
18
  private updateStatisticsAndNotify;
@@ -14,6 +14,7 @@ const LOW_CREDIT_THRESHOLD = 10;
14
14
  const MIN_CREDIT_BOUNDARY = 0;
15
15
  const INVALID_CREDITS = -1;
16
16
  const NO_CREDIT_ERROR_URL = 'https://pb33f.io/errors/no-credit-remaining';
17
+ const PARSE_ERROR_DOCS_UNAVAILABLE = 'Generated docs are unavailable until the spec can be parsed.';
17
18
  export class DiagnosticController extends EventTarget {
18
19
  constructor(deps) {
19
20
  super();
@@ -70,8 +71,33 @@ export class DiagnosticController extends EventTarget {
70
71
  }
71
72
  return { replaceResults, currentPath, normalizedUrl };
72
73
  }
74
+ problemIdentity(problem) {
75
+ return [
76
+ problem.sourceLocation,
77
+ problem.id,
78
+ problem.source,
79
+ problem.startLineNumber,
80
+ problem.startColumn,
81
+ problem.endLineNumber,
82
+ problem.endColumn,
83
+ problem.message,
84
+ problem.category
85
+ ].join(':');
86
+ }
73
87
  mergeProblemsWithRoot(base, root) {
74
- return (root && root.length > 0) ? [...base, ...root] : base;
88
+ if (!root || root.length === 0 || root === base) {
89
+ return base;
90
+ }
91
+ const merged = [...base];
92
+ const seen = new Set(base.map(problem => this.problemIdentity(problem)));
93
+ for (const problem of root) {
94
+ const key = this.problemIdentity(problem);
95
+ if (!seen.has(key)) {
96
+ merged.push(problem);
97
+ seen.add(key);
98
+ }
99
+ }
100
+ return merged;
75
101
  }
76
102
  setMarkersWithRootProblems(problems, lookupPath, rootProblems) {
77
103
  const baseProblems = this.deps.rolodexProblemMap.size > 0 && this.deps.rolodexProblemMap.has(lookupPath)
@@ -94,10 +120,16 @@ export class DiagnosticController extends EventTarget {
94
120
  this.deps.editor.showBreadcrumb = true;
95
121
  this.deps.editor.dead();
96
122
  this.deps.problemList.isInvalid = true;
123
+ this.deps.markPrintingPressDocsUnavailable(PARSE_ERROR_DOCS_UNAVAILABLE);
97
124
  return true;
98
125
  }
99
126
  return false;
100
127
  }
128
+ refreshPrintingPressDocsIfNoTask() {
129
+ if (!LintingService.lastPrintingPressTaskId) {
130
+ this.deps.preloadPrintingPressDocs({ refresh: true });
131
+ }
132
+ }
101
133
  async fetchGraphAndHistory() {
102
134
  const result = await ModelService.fetchLatestGraph(this.getMaxNodes());
103
135
  this.deps.extractGraph(result);
@@ -232,6 +264,9 @@ export class DiagnosticController extends EventTarget {
232
264
  const context = this.prepareLintContext(url);
233
265
  try {
234
266
  const result = await LintingService.lintFile(value, this.deps.brokerConnectionId, context.normalizedUrl, context.currentPath, this.deps.skipTimeline);
267
+ if (LintingService.lastPrintingPressTaskId) {
268
+ this.deps.handlePrintingPressTask(LintingService.lastPrintingPressTaskId);
269
+ }
235
270
  this.deps.activity.hide();
236
271
  this.deps.buildRolodexResultMap(result);
237
272
  if (context.normalizedUrl) {
@@ -244,6 +279,9 @@ export class DiagnosticController extends EventTarget {
244
279
  if (result && Array.isArray(result)) {
245
280
  const arrayResult = this.handleArrayProblemResult(result, rootProblems, context);
246
281
  if (!arrayResult.shouldContinue) {
282
+ if (arrayResult.revive) {
283
+ this.refreshPrintingPressDocsIfNoTask();
284
+ }
247
285
  return;
248
286
  }
249
287
  if (!arrayResult.revive) {
@@ -253,6 +291,7 @@ export class DiagnosticController extends EventTarget {
253
291
  await this.handlePostLintOperations(context);
254
292
  this.initializeExplorerIfNeeded();
255
293
  await this.updateStatisticsAndNotify();
294
+ this.refreshPrintingPressDocsIfNoTask();
256
295
  }
257
296
  catch (e) {
258
297
  this.handleLintError(e, url);
@@ -6,6 +6,7 @@ import { Bag } from "@pb33f/saddlebag";
6
6
  import { GraphResponse } from "../model/graph.js";
7
7
  import { Problem } from "../model/problem.js";
8
8
  import { BundleReferenceMapping } from "../model/bundle.js";
9
+ import type { PanelTabSwitch as SharedPanelTabSwitch } from "../interfaces/doctor-interfaces.js";
9
10
  export interface FullExplorerAccess {
10
11
  povFocusNodeId: string | undefined | null;
11
12
  nodeComponents: any[];
@@ -61,9 +62,7 @@ export interface RolodexTreeNavigation {
61
62
  explorerClicked(nodeId: string): void;
62
63
  requestUpdate(): void;
63
64
  }
64
- export interface PanelTabSwitch {
65
- showTab(panel: string): void;
66
- }
65
+ export type PanelTabSwitch = SharedPanelTabSwitch;
67
66
  export interface BundleControllerAccess {
68
67
  readonly isBundled: boolean;
69
68
  findOriginalLocation(nodePath: string): BundleReferenceMapping | null;
@@ -99,7 +99,7 @@ export class SpecController extends EventTarget {
99
99
  showNodeInViewer(nodeId) {
100
100
  this.deps.modelTree.explorerClicked(nodeId);
101
101
  if (!this.isToolsTabActive()) {
102
- this.deps.sidebarPanel?.showTab('viewer');
102
+ this.deps.sidebarPanel?.showTab('viewer', { focusPanel: false });
103
103
  }
104
104
  const node = this.deps.modelController.nodeMap.get(nodeId);
105
105
  if (node) {
@@ -2,7 +2,6 @@ import { WorkspacesView } from "../components/workspaces/workspace-view.js";
2
2
  import { Workspace } from "../model/workspace.js";
3
3
  import type { WorkspaceControllerDeps } from "../interfaces/doctor-interfaces.js";
4
4
  import type { GitHubController } from "./github-controller.js";
5
- import type { ApiKeyController } from "./api-key-controller.js";
6
5
  export declare class WorkspaceController extends EventTarget {
7
6
  workspaceView: WorkspacesView;
8
7
  private readonly bus;
@@ -17,7 +16,7 @@ export declare class WorkspaceController extends EventTarget {
17
16
  updateWorkspace(evt: CustomEvent<Workspace>): void;
18
17
  refreshWorkspaces(): Promise<void>;
19
18
  switchToWorkspaceById(workspaceId: string): Promise<void>;
20
- initializeView(githubController: GitHubController, apiKeyController?: ApiKeyController): void;
19
+ initializeView(githubController: GitHubController): void;
21
20
  highlightWorkspace(workspaceId: string): void;
22
21
  unhighlightWorkspace(workspaceId: string): void;
23
22
  }
@@ -185,8 +185,8 @@ export class WorkspaceController extends EventTarget {
185
185
  }));
186
186
  }
187
187
  }
188
- initializeView(githubController, apiKeyController) {
189
- this.workspaceView = new WorkspacesView(this.deps.host, this, this.deps.walletController, githubController, apiKeyController);
188
+ initializeView(githubController) {
189
+ this.workspaceView = new WorkspacesView(this.deps.host, this, this.deps.walletController, githubController);
190
190
  }
191
191
  highlightWorkspace(workspaceId) {
192
192
  if (this.workspaceView) {
@@ -1,6 +1,6 @@
1
- import { _ as V, l as k, d as lt } from "./cowboy-components-CxawaKWM.js";
1
+ import { _ as V, l as k, d as lt } from "./cowboy-components-CPx4P290.js";
2
2
  import { c as tt } from "./cytoscape.esm-DfdJODL8.js";
3
- import { g as gt } from "./change-list-item-Bu_mPv-k.js";
3
+ import { g as gt } from "./change-list-item-BRSBlaLu.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) {