@pb33f/cowboy-components 0.7.17 → 0.8.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.
- package/dist/_basePickBy-DtTwxTrV.js +151 -0
- package/dist/_baseUniq-C5Y4WFmx.js +614 -0
- package/dist/arc-a-7w7y90.js +83 -0
- package/dist/architecture-U656AL7Q-c_zxypEp.js +5 -0
- package/dist/architectureDiagram-VXUJARFQ-CIhQJ6xS.js +4661 -0
- package/dist/assets/elk-layout.worker-B71_NI2D.js +1 -0
- package/dist/assets/equalizer.worker-A8HFNy4g.js +1 -0
- package/dist/assets/graph-dependent.worker-BgWuMZsb.js +1 -0
- package/dist/assets/rule-documentation.worker-BCKuwSgZ.js +1 -0
- package/dist/assets/search-graph.worker-Cwqb-ecv.js +1 -0
- package/dist/assets/search-problems.worker-60kZqr0h.js +1 -0
- package/dist/blockDiagram-VD42YOAC-BLl5ID-l.js +2261 -0
- package/dist/c4Diagram-YG6GDRKO-BOGfb13x.js +1580 -0
- package/dist/channel-DYeI56io.js +5 -0
- package/dist/chunk-4BX2VUAB-BeHGB7ON.js +8 -0
- package/dist/chunk-55IACEB6-DgHUzWsw.js +8 -0
- package/dist/chunk-B4BG7PRW-Vs7GiQMf.js +1375 -0
- package/dist/chunk-DI55MBZ5-CHjdGXx0.js +1370 -0
- package/dist/chunk-FMBD7UC4-D-H9-bHN.js +19 -0
- package/dist/chunk-QN33PNHL-D7uE2r1Y.js +19 -0
- package/dist/chunk-QZHKN3VN-Cp3sUp7e.js +15 -0
- package/dist/chunk-TZMSLE5B-BmXGcXo9.js +64 -0
- package/dist/classDiagram-2ON5EDUG-9ilqiDEi.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-9ilqiDEi.js +16 -0
- package/dist/clone-CybyMoa0.js +8 -0
- package/dist/components/attention-box/attention-box.css.js +8 -0
- package/dist/components/auth/login-button.js +1 -1
- package/dist/components/auth/login-panel.d.ts +4 -0
- package/dist/components/auth/login-panel.js +12 -4
- package/dist/components/auth/oauth-login.css.js +4 -0
- package/dist/components/auth/oauth-login.d.ts +2 -0
- package/dist/components/auth/oauth-login.js +12 -3
- package/dist/components/brokerable.d.ts +21 -0
- package/dist/components/brokerable.js +39 -0
- package/dist/components/bundle-toolbar/bundle-toolbar.css.js +110 -0
- package/dist/components/bundle-toolbar/bundle-toolbar.d.ts +21 -0
- package/dist/components/bundle-toolbar/bundle-toolbar.js +93 -0
- package/dist/components/changelog/changelog.css.js +2 -0
- package/dist/components/changelog/changelog.d.ts +2 -0
- package/dist/components/changelog/changelog.js +10 -1
- package/dist/components/changelog/release.css.js +5 -1
- package/dist/components/charts/beefy-chart.js +0 -2
- package/dist/components/charts/doughnut-chart.d.ts +5 -1
- package/dist/components/charts/doughnut-chart.js +20 -1
- package/dist/components/credit-ticker/credit-ticker.d.ts +3 -0
- package/dist/components/credit-ticker/credit-ticker.js +20 -4
- package/dist/components/details-drawer/details-drawer.css.d.ts +2 -0
- package/dist/components/{problem-list → details-drawer}/details-drawer.css.js +18 -3
- package/dist/components/details-drawer/generic-details-drawer.css.d.ts +1 -0
- package/dist/components/details-drawer/generic-details-drawer.css.js +219 -0
- package/dist/components/details-drawer/generic-details-drawer.d.ts +38 -0
- package/dist/components/details-drawer/generic-details-drawer.js +245 -0
- package/dist/components/details-drawer/handlers/diagram-handler.d.ts +35 -0
- package/dist/components/details-drawer/handlers/diagram-handler.js +248 -0
- package/dist/components/details-drawer/handlers/documentation-handler.d.ts +11 -0
- package/dist/components/details-drawer/handlers/documentation-handler.js +46 -0
- package/dist/components/details-drawer/handlers/example-handler.d.ts +18 -0
- package/dist/components/details-drawer/handlers/example-handler.js +146 -0
- package/dist/components/details-drawer/handlers/howto-handler.d.ts +11 -0
- package/dist/components/details-drawer/handlers/howto-handler.js +36 -0
- package/dist/components/details-drawer/handlers/markdown-handler.d.ts +12 -0
- package/dist/components/details-drawer/handlers/markdown-handler.js +54 -0
- package/dist/components/editor/editor-breadcrumb.css.js +1 -1
- package/dist/components/editor/editor.css.js +42 -0
- package/dist/components/editor/editor.d.ts +29 -3
- package/dist/components/editor/editor.js +495 -73
- package/dist/components/github/github-workspace-view.css.d.ts +2 -0
- package/dist/components/github/github-workspace-view.css.js +165 -0
- package/dist/components/github/github-workspace-view.d.ts +59 -0
- package/dist/components/github/github-workspace-view.js +525 -0
- package/dist/components/global-task/global-task-view.css.d.ts +2 -0
- package/dist/components/global-task/global-task-view.css.js +392 -0
- package/dist/components/global-task/global-task-view.d.ts +48 -0
- package/dist/components/global-task/global-task-view.js +359 -0
- package/dist/components/header/header.css.js +9 -1
- package/dist/components/http-method/http-method.css.js +5 -1
- package/dist/components/indeterminate-loader/indeterminate-loader.css.d.ts +2 -0
- package/dist/components/indeterminate-loader/indeterminate-loader.css.js +135 -0
- package/dist/components/indeterminate-loader/indeterminate-loader.d.ts +35 -0
- package/dist/components/indeterminate-loader/indeterminate-loader.js +201 -0
- package/dist/components/kv-view/kv-view.css.js +2 -0
- package/dist/components/kv-view/kv-view.js +0 -1
- package/dist/components/logo-wall/logo-wall.css.js +9 -0
- package/dist/components/manage-ruleset/manage-ruleset.css.js +14 -1
- package/dist/components/manage-ruleset/manage-ruleset.d.ts +1 -0
- package/dist/components/manage-ruleset/manage-ruleset.js +54 -22
- package/dist/components/manage-ruleset/rule-action.css.js +2 -0
- package/dist/components/manage-ruleset/rule-action.d.ts +10 -3
- package/dist/components/manage-ruleset/rule-action.js +118 -129
- package/dist/components/manage-ruleset/rule-input.d.ts +3 -1
- package/dist/components/manage-ruleset/rule-input.js +38 -34
- package/dist/components/manage-ruleset/rule.css.js +15 -1
- package/dist/components/manage-ruleset/rule.d.ts +4 -1
- package/dist/components/manage-ruleset/rule.js +44 -17
- package/dist/components/mermaid/mermaid-renderer.css.d.ts +1 -0
- package/dist/components/mermaid/mermaid-renderer.css.js +121 -0
- package/dist/components/mermaid/mermaid-renderer.d.ts +75 -0
- package/dist/components/mermaid/mermaid-renderer.js +485 -0
- package/dist/components/model-icon/doctor-icon.d.ts +9 -0
- package/dist/components/model-icon/doctor-icon.js +60 -0
- package/dist/components/model-icon/model-icon.d.ts +2 -1
- package/dist/components/model-icon/model-icon.js +13 -1
- package/dist/components/model-renderer/change.css.js +22 -8
- package/dist/components/model-renderer/changes.d.ts +1 -0
- package/dist/components/model-renderer/changes.js +47 -32
- package/dist/components/model-renderer/clickable-ref.d.ts +9 -3
- package/dist/components/model-renderer/clickable-ref.js +49 -10
- package/dist/components/model-renderer/components.d.ts +2 -0
- package/dist/components/model-renderer/components.js +196 -116
- package/dist/components/model-renderer/contact.js +2 -2
- package/dist/components/model-renderer/description.css.js +2 -0
- package/dist/components/model-renderer/document.d.ts +1 -0
- package/dist/components/model-renderer/document.js +14 -9
- package/dist/components/model-renderer/encoding.d.ts +2 -0
- package/dist/components/model-renderer/encoding.js +16 -7
- package/dist/components/model-renderer/example.css.js +5 -1
- package/dist/components/model-renderer/example.d.ts +4 -1
- package/dist/components/model-renderer/example.js +72 -118
- package/dist/components/model-renderer/extensions.d.ts +2 -0
- package/dist/components/model-renderer/extensions.js +11 -2
- package/dist/components/model-renderer/external-docs.d.ts +2 -0
- package/dist/components/model-renderer/external-docs.js +13 -4
- package/dist/components/model-renderer/has-changes.js +3 -3
- package/dist/components/model-renderer/header.d.ts +2 -0
- package/dist/components/model-renderer/header.js +27 -14
- package/dist/components/model-renderer/info.d.ts +2 -0
- package/dist/components/model-renderer/info.js +20 -7
- package/dist/components/model-renderer/link.d.ts +2 -0
- package/dist/components/model-renderer/link.js +27 -10
- package/dist/components/model-renderer/media-type.js +2 -2
- package/dist/components/model-renderer/model-badge.d.ts +11 -0
- package/dist/components/model-renderer/model-badge.js +59 -0
- package/dist/components/model-renderer/model-shared.css.js +14 -2
- package/dist/components/model-renderer/oauth-flows.js +4 -4
- package/dist/components/model-renderer/operation.d.ts +2 -1
- package/dist/components/model-renderer/operation.js +37 -16
- package/dist/components/model-renderer/param-location.js +3 -3
- package/dist/components/model-renderer/parameter.d.ts +2 -0
- package/dist/components/model-renderer/parameter.js +28 -15
- package/dist/components/model-renderer/path-item.d.ts +3 -0
- package/dist/components/model-renderer/path-item.js +52 -80
- package/dist/components/model-renderer/paths.d.ts +2 -0
- package/dist/components/model-renderer/paths.js +10 -3
- package/dist/components/model-renderer/problem-node.js +10 -10
- package/dist/components/model-renderer/rendered-node.css.js +35 -6
- package/dist/components/model-renderer/rendered-node.d.ts +14 -4
- package/dist/components/model-renderer/rendered-node.js +121 -58
- package/dist/components/model-renderer/rendered-property.js +4 -4
- package/dist/components/model-renderer/request-body.d.ts +2 -0
- package/dist/components/model-renderer/request-body.js +16 -9
- package/dist/components/model-renderer/response.d.ts +2 -0
- package/dist/components/model-renderer/response.js +35 -17
- package/dist/components/model-renderer/schema.css.js +10 -1
- package/dist/components/model-renderer/schema.d.ts +3 -2
- package/dist/components/model-renderer/schema.js +127 -129
- package/dist/components/model-renderer/security-scheme.js +3 -3
- package/dist/components/model-renderer/server.js +18 -8
- package/dist/components/model-renderer/tag.js +1 -1
- package/dist/components/model-tree/tree.css.js +21 -10
- package/dist/components/model-tree/tree.d.ts +39 -22
- package/dist/components/model-tree/tree.js +230 -167
- package/dist/components/paginator/paginator-navigator.css.js +9 -5
- package/dist/components/paginator/paginator-navigator.js +6 -6
- package/dist/components/paginator/paginator.css.js +2 -0
- package/dist/components/paginator/paginator.js +5 -8
- package/dist/components/percent-bar/percent-bar.css.js +133 -13
- package/dist/components/percent-bar/percent-bar.d.ts +2 -0
- package/dist/components/percent-bar/percent-bar.js +28 -24
- package/dist/components/premium-gate/premium-gate.css.d.ts +1 -0
- package/dist/components/premium-gate/premium-gate.css.js +117 -0
- package/dist/components/premium-gate/premium-gate.d.ts +49 -0
- package/dist/components/premium-gate/premium-gate.js +336 -0
- package/dist/components/problem-list/problem-list.css.js +72 -1
- package/dist/components/problem-list/problem-list.d.ts +17 -9
- package/dist/components/problem-list/problem-list.js +222 -226
- package/dist/components/problem-list/problem-mainview.css.js +12 -2
- package/dist/components/problem-list/problem-mainview.d.ts +3 -0
- package/dist/components/problem-list/problem-mainview.js +37 -17
- package/dist/components/problem-list/problem-toolbar.css.js +10 -7
- package/dist/components/problems-overview/diagnostic-evaluation.css.js +11 -1
- package/dist/components/problems-overview/diagnostic-evaluation.js +6 -7
- package/dist/components/problems-overview/document-statistic.css.js +6 -0
- package/dist/components/problems-overview/document-statistic.js +1 -1
- package/dist/components/problems-overview/problem-overview-group.js +5 -5
- package/dist/components/problems-overview/problem-statistic.css.js +24 -5
- package/dist/components/problems-overview/problem-statistic.js +15 -6
- package/dist/components/problems-overview/problem-statistics.css.js +4 -4
- package/dist/components/problems-overview/problem-statistics.js +29 -25
- package/dist/components/problems-overview/problems-overview.css.js +2 -2
- package/dist/components/property-view/property-view.css.js +2 -0
- package/dist/components/render-json-path/render-json-path.css.js +11 -3
- package/dist/components/render-json-path/render-json-path.js +3 -0
- package/dist/components/render-operation-path/render-operation-path.css.js +9 -0
- package/dist/components/render-operation-path/render-operation-path.js +7 -22
- package/dist/components/rodeo/rodeo.d.ts +1 -0
- package/dist/components/rodeo/rodeo.js +5 -0
- package/dist/components/rodeo/roundup.js +2 -2
- package/dist/components/rodeo/statistic.css.js +25 -2
- package/dist/components/rodeo/statistic.js +0 -4
- package/dist/components/shader-canvas/shader-canvas.css.d.ts +2 -0
- package/dist/components/shader-canvas/shader-canvas.css.js +66 -0
- package/dist/components/shader-canvas/shader-canvas.d.ts +36 -0
- package/dist/components/shader-canvas/shader-canvas.js +363 -0
- package/dist/components/shaders/flowing-waves-shader.d.ts +2 -0
- package/dist/components/shaders/flowing-waves-shader.js +70 -0
- package/dist/components/shaders/neon-canyon-shader.d.ts +2 -0
- package/dist/components/shaders/neon-canyon-shader.js +265 -0
- package/dist/components/shaders/neon-lines-shader.d.ts +2 -0
- package/dist/components/shaders/neon-lines-shader.js +181 -0
- package/dist/components/shaders/neon-squircles-shader.d.ts +2 -0
- package/dist/components/shaders/neon-squircles-shader.js +56 -0
- package/dist/components/shaders/retro-grid-shader.d.ts +2 -0
- package/dist/components/shaders/retro-grid-shader.js +53 -0
- package/dist/components/shaders/shader-base.d.ts +9 -0
- package/dist/components/shaders/shader-base.js +11 -0
- package/dist/components/terminal/terminal-example.css.js +4 -0
- package/dist/components/terminal/terminal-example.js +2 -3
- package/dist/components/terminal-emulator/terminal-emulator.css.js +12 -2
- package/dist/components/terminal-emulator/terminal-emulator.d.ts +7 -1
- package/dist/components/terminal-emulator/terminal-emulator.js +10 -5
- package/dist/components/the-doctor/doctor-controls-panel.css.d.ts +2 -0
- package/dist/components/the-doctor/doctor-controls-panel.css.js +53 -0
- package/dist/components/the-doctor/doctor-controls-panel.d.ts +20 -0
- package/dist/components/the-doctor/doctor-controls-panel.js +78 -0
- package/dist/components/the-doctor/doctor-editor-panel.css.d.ts +2 -0
- package/dist/components/the-doctor/doctor-editor-panel.css.js +209 -0
- package/dist/components/the-doctor/doctor-editor-panel.d.ts +41 -0
- package/dist/components/the-doctor/doctor-editor-panel.js +188 -0
- package/dist/components/the-doctor/doctor-navigator-panel.css.d.ts +2 -0
- package/dist/components/the-doctor/doctor-navigator-panel.css.js +134 -0
- package/dist/components/the-doctor/doctor-navigator-panel.d.ts +35 -0
- package/dist/components/the-doctor/doctor-navigator-panel.js +117 -0
- package/dist/components/the-doctor/doctor-sidebar-panel.css.d.ts +2 -0
- package/dist/components/the-doctor/doctor-sidebar-panel.css.js +143 -0
- package/dist/components/the-doctor/doctor-sidebar-panel.d.ts +31 -0
- package/dist/components/the-doctor/doctor-sidebar-panel.js +131 -0
- package/dist/components/the-doctor/doctor-url-overlay.css.d.ts +2 -0
- package/dist/components/the-doctor/doctor-url-overlay.css.js +59 -0
- package/dist/components/the-doctor/doctor-url-overlay.d.ts +23 -0
- package/dist/components/the-doctor/doctor-url-overlay.js +82 -0
- package/dist/components/the-doctor/nuke-workspace.js +4 -3
- package/dist/components/the-doctor/settings.css.js +2 -0
- package/dist/components/the-doctor/settings.js +5 -8
- package/dist/components/the-doctor/status-bar.d.ts +2 -2
- package/dist/components/the-doctor/status-bar.js +32 -31
- package/dist/components/the-doctor/the-doctor.css.js +47 -238
- package/dist/components/the-doctor/the-doctor.d.ts +149 -37
- package/dist/components/the-doctor/the-doctor.js +958 -528
- package/dist/components/the-doctor/upload-archive.css.js +8 -2
- package/dist/components/the-doctor/upload-archive.js +2 -2
- package/dist/components/theme-switcher/theme-switcher.js +5 -1
- package/dist/components/time-vortex/change-list-item.css.js +18 -4
- package/dist/components/time-vortex/change-list-item.d.ts +1 -0
- package/dist/components/time-vortex/change-list-item.js +4 -3
- package/dist/components/time-vortex/history-picker.css.js +60 -1
- package/dist/components/time-vortex/history-picker.d.ts +7 -1
- package/dist/components/time-vortex/history-picker.js +109 -5
- package/dist/components/time-vortex/tardis-control.css.js +339 -14
- package/dist/components/time-vortex/tardis-control.d.ts +31 -3
- package/dist/components/time-vortex/tardis-control.js +296 -58
- package/dist/components/time-vortex/time-vortex.d.ts +8 -2
- package/dist/components/time-vortex/time-vortex.js +54 -13
- package/dist/components/toast/toast-component.css.js +1 -0
- package/dist/components/toast/toast-component.d.ts +1 -0
- package/dist/components/toast/toast-component.js +23 -8
- package/dist/components/toast/toast-manager.d.ts +5 -0
- package/dist/components/toast/toast-manager.js +29 -7
- package/dist/components/visualizer/edge.d.ts +11 -1
- package/dist/components/visualizer/edge.js +27 -22
- package/dist/components/visualizer/equalizer.css.js +118 -76
- package/dist/components/visualizer/equalizer.d.ts +24 -45
- package/dist/components/visualizer/equalizer.js +262 -363
- package/dist/components/visualizer/explorer.d.ts +94 -14
- package/dist/components/visualizer/explorer.js +580 -393
- package/dist/components/visualizer/foreign-object.d.ts +12 -2
- package/dist/components/visualizer/foreign-object.js +21 -10
- package/dist/components/visualizer/key.js +12 -1
- package/dist/components/visualizer/nodes/callback.d.ts +2 -1
- package/dist/components/visualizer/nodes/callback.js +2 -2
- package/dist/components/visualizer/nodes/components.d.ts +2 -1
- package/dist/components/visualizer/nodes/components.js +2 -2
- package/dist/components/visualizer/nodes/contact.d.ts +2 -1
- package/dist/components/visualizer/nodes/contact.js +2 -2
- package/dist/components/visualizer/nodes/document.d.ts +2 -1
- package/dist/components/visualizer/nodes/document.js +2 -2
- package/dist/components/visualizer/nodes/graph-node.d.ts +14 -3
- package/dist/components/visualizer/nodes/graph-node.js +94 -43
- package/dist/components/visualizer/nodes/header.d.ts +2 -1
- package/dist/components/visualizer/nodes/header.js +2 -2
- package/dist/components/visualizer/nodes/info.d.ts +2 -1
- package/dist/components/visualizer/nodes/info.js +2 -2
- package/dist/components/visualizer/nodes/license.d.ts +2 -1
- package/dist/components/visualizer/nodes/license.js +2 -2
- package/dist/components/visualizer/nodes/link.d.ts +2 -1
- package/dist/components/visualizer/nodes/link.js +2 -2
- package/dist/components/visualizer/nodes/media-type.d.ts +2 -1
- package/dist/components/visualizer/nodes/media-type.js +2 -2
- package/dist/components/visualizer/nodes/operation.d.ts +2 -1
- package/dist/components/visualizer/nodes/operation.js +3 -4
- package/dist/components/visualizer/nodes/parameter.d.ts +3 -1
- package/dist/components/visualizer/nodes/parameter.js +3 -4
- package/dist/components/visualizer/nodes/path-item.d.ts +2 -1
- package/dist/components/visualizer/nodes/path-item.js +2 -2
- package/dist/components/visualizer/nodes/request-body.d.ts +2 -1
- package/dist/components/visualizer/nodes/request-body.js +2 -2
- package/dist/components/visualizer/nodes/response.d.ts +2 -1
- package/dist/components/visualizer/nodes/response.js +2 -2
- package/dist/components/visualizer/nodes/schema.d.ts +2 -1
- package/dist/components/visualizer/nodes/schema.js +64 -9
- package/dist/components/visualizer/nodes/security-scheme.d.ts +2 -1
- package/dist/components/visualizer/nodes/security-scheme.js +2 -2
- package/dist/components/visualizer/nodes/server.d.ts +2 -1
- package/dist/components/visualizer/nodes/server.js +3 -4
- package/dist/components/visualizer/nodes/tag.d.ts +2 -1
- package/dist/components/visualizer/nodes/tag.js +4 -5
- package/dist/components/visualizer/nodes/xml.d.ts +2 -1
- package/dist/components/visualizer/nodes/xml.js +2 -2
- package/dist/components/visualizer/orientation-controls.d.ts +6 -1
- package/dist/components/visualizer/orientation-controls.js +65 -7
- package/dist/components/visualizer/search.d.ts +2 -1
- package/dist/components/visualizer/search.js +22 -29
- package/dist/components/visualizer/shared.css.js +55 -18
- package/dist/components/visualizer/templates/svg-markers.d.ts +2 -0
- package/dist/components/visualizer/templates/svg-markers.js +73 -0
- package/dist/components/waiting-line/waiting-line.css.d.ts +2 -0
- package/dist/components/waiting-line/waiting-line.css.js +26 -0
- package/dist/components/waiting-line/waiting-line.d.ts +30 -0
- package/dist/components/waiting-line/waiting-line.js +424 -0
- package/dist/components/workspaces/workspace-view.css.js +89 -8
- package/dist/components/workspaces/workspace-view.d.ts +8 -1
- package/dist/components/workspaces/workspace-view.js +77 -25
- package/dist/controllers/auth-controller.d.ts +9 -0
- package/dist/controllers/auth-controller.js +12 -5
- package/dist/controllers/broker-controller.d.ts +30 -4
- package/dist/controllers/broker-controller.js +148 -25
- package/dist/controllers/bundle-controller.d.ts +21 -0
- package/dist/controllers/bundle-controller.js +122 -0
- package/dist/controllers/countdown-controller.d.ts +17 -0
- package/dist/controllers/countdown-controller.js +59 -0
- package/dist/controllers/diagnostic-controller.d.ts +18 -5
- package/dist/controllers/diagnostic-controller.js +206 -218
- package/dist/controllers/diagramatron-controller.d.ts +33 -0
- package/dist/controllers/diagramatron-controller.js +128 -0
- package/dist/controllers/docs-controller.d.ts +11 -5
- package/dist/controllers/docs-controller.js +97 -97
- package/dist/controllers/github-controller.d.ts +47 -0
- package/dist/controllers/github-controller.js +494 -0
- package/dist/controllers/global-task-controller.d.ts +46 -0
- package/dist/controllers/global-task-controller.js +352 -0
- package/dist/controllers/model-controller.d.ts +26 -4
- package/dist/controllers/model-controller.js +98 -62
- package/dist/controllers/node-clicker-controller.d.ts +121 -4
- package/dist/controllers/node-clicker-controller.js +526 -253
- package/dist/controllers/problem-controller.d.ts +11 -4
- package/dist/controllers/problem-controller.js +98 -39
- package/dist/controllers/rolodex-controller.d.ts +8 -3
- package/dist/controllers/rolodex-controller.js +117 -83
- package/dist/controllers/rule-controller.d.ts +12 -5
- package/dist/controllers/rule-controller.js +154 -161
- package/dist/controllers/spec-controller.d.ts +16 -4
- package/dist/controllers/spec-controller.js +91 -62
- package/dist/controllers/state-controller.d.ts +4 -3
- package/dist/controllers/state-controller.js +201 -154
- package/dist/controllers/tab-cache-controller.d.ts +29 -0
- package/dist/controllers/tab-cache-controller.js +68 -0
- package/dist/controllers/timeline-controller.d.ts +18 -0
- package/dist/controllers/timeline-controller.js +129 -0
- package/dist/controllers/wallet-controller.d.ts +3 -3
- package/dist/controllers/wallet-controller.js +22 -41
- package/dist/controllers/workspace-controller.d.ts +10 -4
- package/dist/controllers/workspace-controller.js +67 -22
- package/dist/cose-bilkent-S5V4N54A-2TG-C-n3.js +2608 -0
- package/dist/cowboy-components-BcyXo9oX.js +68425 -0
- package/dist/cowboy-components.css +1 -0
- package/dist/cowboy-components.umd.cjs +14050 -6577
- package/dist/css/alerts.css.js +2 -0
- package/dist/css/badges.css.js +2 -0
- package/dist/css/button.css.js +34 -1
- package/dist/css/cowboy-components.css +34 -0
- package/dist/css/dialog.css.js +11 -2
- package/dist/css/filter.css.js +17 -5
- package/dist/css/forms.css.js +14 -0
- package/dist/css/pb33f-theme.css +87 -16
- package/dist/css/syntax.css.js +5 -0
- package/dist/css/tabs.css.js +19 -2
- package/dist/css/tooltip.css.js +4 -0
- package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
- package/dist/dagre-6UL2VRFP-BIlmTbhO.js +444 -0
- package/dist/defaultLocale-D7EN2tov.js +171 -0
- package/dist/diagram-PSM6KHXK-CeWby24E.js +531 -0
- package/dist/diagram-QEK2KX5R-DGonyVCK.js +217 -0
- package/dist/diagram-S2PKOQOG-mGn-y1uX.js +142 -0
- package/dist/erDiagram-Q2GNP2WA-BlBBw4Mz.js +841 -0
- package/dist/events/doctor.d.ts +63 -9
- package/dist/events/doctor.js +29 -1
- package/dist/events/drawer-events.d.ts +7 -0
- package/dist/events/drawer-events.js +3 -0
- package/dist/events/theme.d.ts +4 -0
- package/dist/events/theme.js +1 -0
- package/dist/factories/explorer-component-factory.d.ts +49 -0
- package/dist/factories/explorer-component-factory.js +205 -0
- package/dist/factories/state-controller-deps.factory.d.ts +88 -0
- package/dist/factories/state-controller-deps.factory.js +116 -0
- package/dist/flowDiagram-NV44I4VS-BlLzzy1C.js +1620 -0
- package/dist/ganttDiagram-LVOFAZNH-BoQtPC8k.js +2505 -0
- package/dist/gitGraph-F6HP7TQM-CShNSlrW.js +5 -0
- package/dist/gitGraphDiagram-NY62KEGX-BdpWBgHy.js +699 -0
- package/dist/graph-D9HS4Ahd.js +247 -0
- package/dist/helpers/event-wiring.d.ts +72 -0
- package/dist/helpers/event-wiring.js +58 -0
- package/dist/helpers/file-size-formatter.d.ts +3 -0
- package/dist/helpers/file-size-formatter.js +15 -0
- package/dist/helpers/filename-colorizer.d.ts +5 -0
- package/dist/helpers/filename-colorizer.js +30 -0
- package/dist/helpers/navigation-helper.d.ts +54 -0
- package/dist/helpers/navigation-helper.js +159 -0
- package/dist/helpers/typed-events.d.ts +1 -0
- package/dist/helpers/typed-events.js +3 -0
- package/dist/info-NVLQJR56-Bpi6I8up.js +5 -0
- package/dist/infoDiagram-F6ZHWCRC-DmhhbuMJ.js +24 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/interfaces/bundle-interfaces.d.ts +7 -0
- package/dist/interfaces/bundle-interfaces.js +1 -0
- package/dist/interfaces/doctor-interfaces.d.ts +506 -0
- package/dist/interfaces/doctor-interfaces.js +1 -0
- package/dist/journeyDiagram-XKPGCS4Q-CpkhK8vl.js +834 -0
- package/dist/kanban-definition-3W4ZIXB7-BFbucfYE.js +719 -0
- package/dist/katex-SsTUIUTC.js +11688 -0
- package/dist/layout-B8H1_UrM.js +1324 -0
- package/dist/linear-Bo0rJUSQ.js +259 -0
- package/dist/managers/drag-handler.d.ts +28 -0
- package/dist/managers/drag-handler.js +64 -0
- package/dist/managers/event-registration-manager.d.ts +17 -0
- package/dist/managers/event-registration-manager.js +34 -0
- package/dist/managers/expansion-manager.d.ts +58 -0
- package/dist/managers/expansion-manager.js +189 -0
- package/dist/managers/layout-filter-manager.d.ts +31 -0
- package/dist/managers/layout-filter-manager.js +109 -0
- package/dist/managers/panel-divider-manager.d.ts +33 -0
- package/dist/managers/panel-divider-manager.js +71 -0
- package/dist/managers/view-state-manager.d.ts +48 -0
- package/dist/managers/view-state-manager.js +101 -0
- package/dist/managers/viewport-manager.d.ts +53 -0
- package/dist/managers/viewport-manager.js +198 -0
- package/dist/mermaid-parser.core-BPror82d.js +12966 -0
- package/dist/mindmap-definition-VGOIOE7T-VAn-EShH.js +784 -0
- package/dist/mocks/task-mock-generator.d.ts +13 -0
- package/dist/mocks/task-mock-generator.js +200 -0
- package/dist/model/api-response.d.ts +2 -7
- package/dist/model/api-response.js +0 -2
- package/dist/model/bundle.d.ts +35 -0
- package/dist/model/bundle.js +1 -0
- package/dist/model/channels.d.ts +8 -1
- package/dist/model/channels.js +7 -0
- package/dist/model/drawer-content.d.ts +80 -0
- package/dist/model/drawer-content.js +14 -0
- package/dist/model/formable.js +22 -11
- package/dist/model/github.d.ts +125 -0
- package/dist/model/github.js +1 -0
- package/dist/model/graph.d.ts +15 -15
- package/dist/model/graph.js +24 -4
- package/dist/model/media-type.js +2 -2
- package/dist/model/node_type.d.ts +4 -0
- package/dist/model/node_type.js +4 -0
- package/dist/model/panel-state.d.ts +1 -0
- package/dist/model/rolodex.d.ts +3 -0
- package/dist/model/task.d.ts +50 -0
- package/dist/model/task.js +22 -0
- package/dist/model/timeline.d.ts +107 -1
- package/dist/model/tree-icon-config.d.ts +11 -0
- package/dist/model/tree-icon-config.js +46 -0
- package/dist/model/workspace.d.ts +2 -0
- package/dist/monacoeditorwork/css.worker.bundle.js +9 -7
- package/dist/monacoeditorwork/editor.worker.bundle.js +2 -0
- package/dist/monacoeditorwork/html.worker.bundle.js +9 -7
- package/dist/monacoeditorwork/json.worker.bundle.js +9 -7
- package/dist/monacoeditorwork/yaml.worker..bundle.js +72 -48
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/packet-BFZMPI3H-CXPCK9Q2.js +5 -0
- package/dist/pie-7BOR55EZ-CMcuUZ_S.js +5 -0
- package/dist/pieDiagram-ADFJNKIX-C0kdlQqn.js +161 -0
- package/dist/quadrantDiagram-AYHSOK5B-CRVq6wY3.js +1022 -0
- package/dist/radar-NHE76QYJ-CX_Gyp4h.js +5 -0
- package/dist/requirementDiagram-UZGBJVZJ-B8ZGgMKn.js +850 -0
- package/dist/sankeyDiagram-TZEHDZUN-CWAUJJue.js +810 -0
- package/dist/sequenceDiagram-WL72ISMW-nz81a4Cq.js +2511 -0
- package/dist/services/diagramatron-service.d.ts +20 -0
- package/dist/services/diagramatron-service.js +48 -0
- package/dist/services/doctor-events.d.ts +58 -0
- package/dist/services/doctor-events.js +33 -0
- package/dist/services/drawer-content-registry.d.ts +9 -0
- package/dist/services/drawer-content-registry.js +37 -0
- package/dist/services/github-service.d.ts +9 -0
- package/dist/services/github-service.js +166 -0
- package/dist/services/global-task-service.d.ts +6 -0
- package/dist/services/global-task-service.js +27 -0
- package/dist/services/header-service.d.ts +5 -3
- package/dist/services/header-service.js +13 -0
- package/dist/services/linting-service.d.ts +2 -0
- package/dist/services/linting-service.js +19 -2
- package/dist/services/mermaid-config-service.d.ts +53 -0
- package/dist/services/mermaid-config-service.js +519 -0
- package/dist/services/model-service.d.ts +12 -7
- package/dist/services/model-service.js +64 -11
- package/dist/services/rodeo-service.js +12 -12
- package/dist/services/timeline-service.d.ts +12 -2
- package/dist/services/timeline-service.js +329 -0
- package/dist/services/wallet-service.d.ts +1 -1
- package/dist/services/wallet-service.js +4 -1
- package/dist/services/workspace-service.js +16 -2
- package/dist/stateDiagram-FKZM4ZOC-3PFzJlcG.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-Bp46vM6_.js +16 -0
- package/dist/timeline-definition-IT6M3QCI-utm7jTLb.js +795 -0
- package/dist/treemap-KMMF4GRG-BvEKHn43.js +5 -0
- package/dist/utils/language-utils.d.ts +1 -0
- package/dist/utils/language-utils.js +23 -0
- package/dist/utils/lru-cache.d.ts +11 -0
- package/dist/utils/lru-cache.js +38 -0
- package/dist/utils/node-helpers.d.ts +6 -0
- package/dist/utils/node-helpers.js +62 -0
- package/dist/utils/path-utils.d.ts +5 -0
- package/dist/utils/path-utils.js +22 -0
- package/dist/workers/elk-layout.worker.d.ts +2 -0
- package/dist/workers/elk-layout.worker.js +31 -0
- package/dist/workers/equalizer.worker.d.ts +6 -1
- package/dist/workers/equalizer.worker.js +144 -195
- package/dist/workers/graph-dependent.worker.js +6 -6
- package/dist/workers/rule-documentation.worker.js +12 -48
- package/dist/workers/search-graph.worker.js +8 -23
- package/dist/xychartDiagram-PRI3JC2R-twqDKWMX.js +1340 -0
- package/package.json +17 -10
- package/dist/assets/equalizer.worker-DyLD5JTU.js +0 -1
- package/dist/assets/graph-dependent.worker-CpVhp0-T.js +0 -1
- package/dist/assets/rule-documentation.worker-B7xOWY5M.js +0 -1
- package/dist/assets/search-graph.worker-B9zqINrO.js +0 -1
- package/dist/assets/search-problems.worker-BAF8L2rX.js +0 -1
- package/dist/components/problem-list/details-drawer.d.ts +0 -34
- package/dist/components/problem-list/details-drawer.js +0 -200
- package/dist/style.css +0 -1
- /package/dist/components/{problem-list/details-drawer.css.d.ts → bundle-toolbar/bundle-toolbar.css.d.ts} +0 -0
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
// Copyright 2023-2025 Princess Beef Heavy Industries, LLC / Dave Shanley
|
|
2
|
+
// https://pb33f.io
|
|
3
|
+
export class MermaidConfigService {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.currentTheme = 'light';
|
|
6
|
+
this.customThemeVariables = {};
|
|
7
|
+
this.layoutOptions = {
|
|
8
|
+
layout: 'elk',
|
|
9
|
+
rankDir: 'TB',
|
|
10
|
+
curve: 'linear'
|
|
11
|
+
};
|
|
12
|
+
this.colorCache = new Map();
|
|
13
|
+
this.cacheValid = false;
|
|
14
|
+
this.themeObserver = null;
|
|
15
|
+
this.detectTheme();
|
|
16
|
+
this.observeThemeChanges();
|
|
17
|
+
}
|
|
18
|
+
extractCSSColor(cssVar, fallback = '#00ff00') {
|
|
19
|
+
const cacheKey = `${cssVar}-${this.currentTheme}`;
|
|
20
|
+
if (this.cacheValid && this.colorCache.has(cacheKey)) {
|
|
21
|
+
return this.colorCache.get(cacheKey);
|
|
22
|
+
}
|
|
23
|
+
const computed = getComputedStyle(document.documentElement)
|
|
24
|
+
.getPropertyValue(cssVar)
|
|
25
|
+
.trim();
|
|
26
|
+
const result = this.parseColorValue(computed, fallback);
|
|
27
|
+
this.colorCache.set(cacheKey, result);
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
parseColorValue(value, fallback) {
|
|
31
|
+
if (!value)
|
|
32
|
+
return fallback;
|
|
33
|
+
if (value.startsWith('rgba') || value.startsWith('rgb')) {
|
|
34
|
+
return this.rgbaToHex(value);
|
|
35
|
+
}
|
|
36
|
+
return value.startsWith('#') ? value : fallback;
|
|
37
|
+
}
|
|
38
|
+
rgbaToHex(rgba) {
|
|
39
|
+
const match = rgba.match(MermaidConfigService.RGBA_REGEX);
|
|
40
|
+
if (!match)
|
|
41
|
+
return '#000000';
|
|
42
|
+
const [, r, g, b] = match.map(Number);
|
|
43
|
+
return '#' + [r, g, b].map(x => x.toString(16).padStart(2, '0')).join('');
|
|
44
|
+
}
|
|
45
|
+
invalidateCache() {
|
|
46
|
+
this.cacheValid = false;
|
|
47
|
+
this.colorCache.clear();
|
|
48
|
+
}
|
|
49
|
+
extractCSSValue(cssVar, fallback = '') {
|
|
50
|
+
const computed = getComputedStyle(document.documentElement)
|
|
51
|
+
.getPropertyValue(cssVar)
|
|
52
|
+
.trim();
|
|
53
|
+
return computed || fallback;
|
|
54
|
+
}
|
|
55
|
+
static getInstance() {
|
|
56
|
+
if (!MermaidConfigService.instance) {
|
|
57
|
+
MermaidConfigService.instance = new MermaidConfigService();
|
|
58
|
+
}
|
|
59
|
+
return MermaidConfigService.instance;
|
|
60
|
+
}
|
|
61
|
+
detectTheme() {
|
|
62
|
+
const htmlElement = document.querySelector('html');
|
|
63
|
+
const theme = htmlElement?.getAttribute('theme');
|
|
64
|
+
const newTheme = theme === 'dark' ? 'dark' : 'light';
|
|
65
|
+
if (newTheme !== this.currentTheme) {
|
|
66
|
+
this.currentTheme = newTheme;
|
|
67
|
+
this.invalidateCache();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
observeThemeChanges() {
|
|
71
|
+
this.themeObserver = new MutationObserver((mutations) => {
|
|
72
|
+
mutations.forEach((mutation) => {
|
|
73
|
+
if (mutation.type === 'attributes' && mutation.attributeName === 'theme') {
|
|
74
|
+
this.detectTheme();
|
|
75
|
+
window.dispatchEvent(new CustomEvent('mermaid-theme-change', {
|
|
76
|
+
detail: { theme: this.currentTheme }
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
const htmlElement = document.querySelector('html');
|
|
82
|
+
if (htmlElement) {
|
|
83
|
+
this.themeObserver.observe(htmlElement, { attributes: true });
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
cleanup() {
|
|
87
|
+
if (this.themeObserver) {
|
|
88
|
+
this.themeObserver.disconnect();
|
|
89
|
+
this.themeObserver = null;
|
|
90
|
+
}
|
|
91
|
+
this.colorCache.clear();
|
|
92
|
+
}
|
|
93
|
+
getTheme() {
|
|
94
|
+
return this.currentTheme;
|
|
95
|
+
}
|
|
96
|
+
setCustomThemeVariables(variables) {
|
|
97
|
+
this.customThemeVariables = { ...this.customThemeVariables, ...variables };
|
|
98
|
+
this.invalidateCache();
|
|
99
|
+
}
|
|
100
|
+
getThemeVariables() {
|
|
101
|
+
this.cacheValid = true;
|
|
102
|
+
const isDark = this.currentTheme === 'dark';
|
|
103
|
+
const baseVariables = isDark ? this.getDarkThemeVariables() : this.getLightThemeVariables();
|
|
104
|
+
return { ...baseVariables, ...this.customThemeVariables };
|
|
105
|
+
}
|
|
106
|
+
getDarkThemeVariables() {
|
|
107
|
+
const vars = MermaidConfigService.CSS_VARS;
|
|
108
|
+
const terminalGreen = this.extractCSSColor(vars.TERMINAL_TEXT, '#00FF00');
|
|
109
|
+
const primaryBlue = this.extractCSSColor(vars.PRIMARY_COLOR, '#62c4ff');
|
|
110
|
+
const secondaryMagenta = this.extractCSSColor(vars.SECONDARY_COLOR, '#f83aff');
|
|
111
|
+
const tertiaryGray = this.extractCSSColor(vars.TERTIARY_COLOR, '#a3abba');
|
|
112
|
+
const backgroundDark = this.extractCSSColor(vars.BACKGROUND_COLOR, '#0d1117');
|
|
113
|
+
const terminalYellow = this.extractCSSColor(vars.TERMINAL_YELLOW, '#fddb00');
|
|
114
|
+
const fontColor = this.extractCSSColor(vars.FONT_COLOR, '#e8e9ed');
|
|
115
|
+
const fontStack = this.extractCSSValue(vars.FONT_STACK, 'monospace');
|
|
116
|
+
return {
|
|
117
|
+
primaryColor: backgroundDark,
|
|
118
|
+
primaryTextColor: primaryBlue,
|
|
119
|
+
primaryBorderColor: secondaryMagenta,
|
|
120
|
+
lineColor: secondaryMagenta,
|
|
121
|
+
secondaryColor: backgroundDark,
|
|
122
|
+
tertiaryColor: backgroundDark,
|
|
123
|
+
background: backgroundDark,
|
|
124
|
+
mainBkg: backgroundDark,
|
|
125
|
+
secondBkg: backgroundDark,
|
|
126
|
+
tertiaryBkg: backgroundDark,
|
|
127
|
+
secondaryBorderColor: primaryBlue,
|
|
128
|
+
tertiaryBorderColor: terminalGreen,
|
|
129
|
+
secondaryTextColor: primaryBlue,
|
|
130
|
+
tertiaryTextColor: tertiaryGray,
|
|
131
|
+
textColor: primaryBlue,
|
|
132
|
+
nodeTextColor: primaryBlue,
|
|
133
|
+
fontFamily: fontStack,
|
|
134
|
+
fontSize: '14px',
|
|
135
|
+
darkMode: true,
|
|
136
|
+
classText: fontColor,
|
|
137
|
+
nodeBkg: backgroundDark,
|
|
138
|
+
nodeBorder: secondaryMagenta,
|
|
139
|
+
clusterBkg: backgroundDark,
|
|
140
|
+
clusterBorder: terminalYellow,
|
|
141
|
+
defaultLinkColor: secondaryMagenta,
|
|
142
|
+
titleColor: primaryBlue,
|
|
143
|
+
edgeLabelBackground: backgroundDark,
|
|
144
|
+
actorBkg: backgroundDark,
|
|
145
|
+
actorBorder: secondaryMagenta,
|
|
146
|
+
actorTextColor: primaryBlue,
|
|
147
|
+
actorLineColor: secondaryMagenta,
|
|
148
|
+
signalColor: secondaryMagenta,
|
|
149
|
+
signalTextColor: primaryBlue,
|
|
150
|
+
labelBoxBkgColor: backgroundDark,
|
|
151
|
+
labelBoxBorderColor: secondaryMagenta,
|
|
152
|
+
labelTextColor: primaryBlue,
|
|
153
|
+
loopTextColor: primaryBlue,
|
|
154
|
+
noteBorderColor: terminalYellow,
|
|
155
|
+
noteBkgColor: backgroundDark,
|
|
156
|
+
noteTextColor: primaryBlue,
|
|
157
|
+
activationBorderColor: secondaryMagenta,
|
|
158
|
+
activationBkgColor: backgroundDark,
|
|
159
|
+
sequenceNumberColor: backgroundDark,
|
|
160
|
+
labelColor: primaryBlue,
|
|
161
|
+
altBackground: backgroundDark,
|
|
162
|
+
gitBranchLabel0: primaryBlue,
|
|
163
|
+
gitBranchLabel1: secondaryMagenta,
|
|
164
|
+
gitBranchLabel2: terminalGreen,
|
|
165
|
+
gitBranchLabel3: terminalYellow,
|
|
166
|
+
gitBranchLabel4: tertiaryGray,
|
|
167
|
+
gitBranchLabel5: primaryBlue,
|
|
168
|
+
gitBranchLabel6: secondaryMagenta,
|
|
169
|
+
gitBranchLabel7: terminalGreen,
|
|
170
|
+
git0: primaryBlue,
|
|
171
|
+
git1: secondaryMagenta,
|
|
172
|
+
git2: terminalGreen,
|
|
173
|
+
git3: terminalYellow,
|
|
174
|
+
git4: tertiaryGray,
|
|
175
|
+
git5: primaryBlue,
|
|
176
|
+
git6: secondaryMagenta,
|
|
177
|
+
git7: terminalGreen,
|
|
178
|
+
pie1: primaryBlue,
|
|
179
|
+
pie2: secondaryMagenta,
|
|
180
|
+
pie3: terminalGreen,
|
|
181
|
+
pie4: terminalYellow,
|
|
182
|
+
pie5: tertiaryGray,
|
|
183
|
+
pie6: primaryBlue,
|
|
184
|
+
pie7: secondaryMagenta,
|
|
185
|
+
pie8: terminalGreen,
|
|
186
|
+
pie9: terminalYellow,
|
|
187
|
+
pie10: tertiaryGray,
|
|
188
|
+
pie11: primaryBlue,
|
|
189
|
+
pie12: secondaryMagenta,
|
|
190
|
+
pieTitleTextSize: '16px',
|
|
191
|
+
pieTitleTextColor: primaryBlue,
|
|
192
|
+
pieSectionTextSize: '14px',
|
|
193
|
+
pieSectionTextColor: primaryBlue,
|
|
194
|
+
pieLegendTextSize: '14px',
|
|
195
|
+
pieLegendTextColor: primaryBlue,
|
|
196
|
+
pieStrokeColor: secondaryMagenta,
|
|
197
|
+
pieStrokeWidth: '2px',
|
|
198
|
+
pieOpacity: '1',
|
|
199
|
+
fillType0: backgroundDark,
|
|
200
|
+
fillType1: backgroundDark,
|
|
201
|
+
fillType2: backgroundDark,
|
|
202
|
+
fillType3: backgroundDark,
|
|
203
|
+
fillType4: backgroundDark,
|
|
204
|
+
fillType5: backgroundDark,
|
|
205
|
+
fillType6: backgroundDark,
|
|
206
|
+
fillType7: backgroundDark,
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
getLightThemeVariables() {
|
|
210
|
+
const vars = MermaidConfigService.CSS_VARS;
|
|
211
|
+
const terminalText = this.extractCSSColor(vars.TERMINAL_TEXT, '#000000');
|
|
212
|
+
const primaryBlue = this.extractCSSColor(vars.PRIMARY_COLOR, '#2f8efb');
|
|
213
|
+
const secondaryPurple = this.extractCSSColor(vars.SECONDARY_COLOR, '#c201c8');
|
|
214
|
+
const tertiaryGray = this.extractCSSColor(vars.TERTIARY_COLOR, '#4c4c4c');
|
|
215
|
+
const backgroundLight = this.extractCSSColor(vars.BACKGROUND_COLOR, '#ffffff');
|
|
216
|
+
const warnOrange = this.extractCSSColor(vars.WARN_300, '#ff9900');
|
|
217
|
+
const fontColor = this.extractCSSColor(vars.FONT_COLOR, '#000000');
|
|
218
|
+
const fontStack = this.extractCSSValue(vars.FONT_STACK, 'monospace');
|
|
219
|
+
return {
|
|
220
|
+
primaryColor: backgroundLight,
|
|
221
|
+
primaryTextColor: primaryBlue,
|
|
222
|
+
primaryBorderColor: secondaryPurple,
|
|
223
|
+
lineColor: secondaryPurple,
|
|
224
|
+
secondaryColor: '#f8fafc',
|
|
225
|
+
tertiaryColor: '#e2e8f0',
|
|
226
|
+
background: backgroundLight,
|
|
227
|
+
mainBkg: backgroundLight,
|
|
228
|
+
secondBkg: '#f8fafc',
|
|
229
|
+
tertiaryBkg: '#e2e8f0',
|
|
230
|
+
secondaryBorderColor: primaryBlue,
|
|
231
|
+
tertiaryBorderColor: tertiaryGray,
|
|
232
|
+
secondaryTextColor: primaryBlue,
|
|
233
|
+
tertiaryTextColor: tertiaryGray,
|
|
234
|
+
textColor: primaryBlue,
|
|
235
|
+
nodeTextColor: primaryBlue,
|
|
236
|
+
fontFamily: fontStack,
|
|
237
|
+
fontSize: '14px',
|
|
238
|
+
darkMode: false,
|
|
239
|
+
classText: fontColor,
|
|
240
|
+
nodeBkg: backgroundLight,
|
|
241
|
+
nodeBorder: secondaryPurple,
|
|
242
|
+
clusterBkg: '#f8fafc',
|
|
243
|
+
clusterBorder: warnOrange,
|
|
244
|
+
defaultLinkColor: secondaryPurple,
|
|
245
|
+
titleColor: primaryBlue,
|
|
246
|
+
edgeLabelBackground: backgroundLight,
|
|
247
|
+
actorBkg: backgroundLight,
|
|
248
|
+
actorBorder: secondaryPurple,
|
|
249
|
+
actorTextColor: primaryBlue,
|
|
250
|
+
actorLineColor: secondaryPurple,
|
|
251
|
+
signalColor: secondaryPurple,
|
|
252
|
+
signalTextColor: primaryBlue,
|
|
253
|
+
labelBoxBkgColor: backgroundLight,
|
|
254
|
+
labelBoxBorderColor: secondaryPurple,
|
|
255
|
+
labelTextColor: primaryBlue,
|
|
256
|
+
loopTextColor: primaryBlue,
|
|
257
|
+
noteBorderColor: warnOrange,
|
|
258
|
+
noteBkgColor: '#f8fafc',
|
|
259
|
+
noteTextColor: primaryBlue,
|
|
260
|
+
activationBorderColor: secondaryPurple,
|
|
261
|
+
activationBkgColor: backgroundLight,
|
|
262
|
+
sequenceNumberColor: backgroundLight,
|
|
263
|
+
labelColor: primaryBlue,
|
|
264
|
+
altBackground: '#f8fafc',
|
|
265
|
+
gitBranchLabel0: primaryBlue,
|
|
266
|
+
gitBranchLabel1: secondaryPurple,
|
|
267
|
+
gitBranchLabel2: tertiaryGray,
|
|
268
|
+
gitBranchLabel3: warnOrange,
|
|
269
|
+
gitBranchLabel4: primaryBlue,
|
|
270
|
+
gitBranchLabel5: secondaryPurple,
|
|
271
|
+
gitBranchLabel6: tertiaryGray,
|
|
272
|
+
gitBranchLabel7: warnOrange,
|
|
273
|
+
git0: primaryBlue,
|
|
274
|
+
git1: secondaryPurple,
|
|
275
|
+
git2: tertiaryGray,
|
|
276
|
+
git3: warnOrange,
|
|
277
|
+
git4: primaryBlue,
|
|
278
|
+
git5: secondaryPurple,
|
|
279
|
+
git6: tertiaryGray,
|
|
280
|
+
git7: warnOrange,
|
|
281
|
+
pie1: secondaryPurple,
|
|
282
|
+
pie2: primaryBlue,
|
|
283
|
+
pie3: warnOrange,
|
|
284
|
+
pie4: tertiaryGray,
|
|
285
|
+
pie5: secondaryPurple,
|
|
286
|
+
pie6: primaryBlue,
|
|
287
|
+
pie7: warnOrange,
|
|
288
|
+
pie8: tertiaryGray,
|
|
289
|
+
pie9: secondaryPurple,
|
|
290
|
+
pie10: primaryBlue,
|
|
291
|
+
pie11: warnOrange,
|
|
292
|
+
pie12: tertiaryGray,
|
|
293
|
+
pieTitleTextSize: '16px',
|
|
294
|
+
pieTitleTextColor: terminalText,
|
|
295
|
+
pieSectionTextSize: '14px',
|
|
296
|
+
pieSectionTextColor: terminalText,
|
|
297
|
+
pieLegendTextSize: '14px',
|
|
298
|
+
pieLegendTextColor: terminalText,
|
|
299
|
+
pieStrokeColor: secondaryPurple,
|
|
300
|
+
pieStrokeWidth: '2px',
|
|
301
|
+
pieOpacity: '0.9',
|
|
302
|
+
fillType0: backgroundLight,
|
|
303
|
+
fillType1: '#f8fafc',
|
|
304
|
+
fillType2: '#e2e8f0',
|
|
305
|
+
fillType3: backgroundLight,
|
|
306
|
+
fillType4: '#f8fafc',
|
|
307
|
+
fillType5: '#e2e8f0',
|
|
308
|
+
fillType6: backgroundLight,
|
|
309
|
+
fillType7: '#f8fafc',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
setLayoutOptions(options) {
|
|
313
|
+
this.layoutOptions = { ...this.layoutOptions, ...options };
|
|
314
|
+
}
|
|
315
|
+
getLayoutOptions() {
|
|
316
|
+
return this.layoutOptions;
|
|
317
|
+
}
|
|
318
|
+
getMermaidConfig(overrides = {}) {
|
|
319
|
+
const themeVariables = this.getThemeVariables();
|
|
320
|
+
const layoutOptions = this.getLayoutOptions();
|
|
321
|
+
const fontStack = this.extractCSSValue(MermaidConfigService.CSS_VARS.FONT_STACK, 'monospace');
|
|
322
|
+
return {
|
|
323
|
+
startOnLoad: false,
|
|
324
|
+
securityLevel: 'loose',
|
|
325
|
+
theme: 'base',
|
|
326
|
+
themeVariables,
|
|
327
|
+
elk: {
|
|
328
|
+
mergeEdges: false,
|
|
329
|
+
nodePlacementStrategy: 'BRANDES_KOEPF',
|
|
330
|
+
cycleBreakingStrategy: 'DEPTH_FIRST',
|
|
331
|
+
forceNodeModelOrder: false,
|
|
332
|
+
considerModelOrder: 'NODES_AND_EDGES'
|
|
333
|
+
},
|
|
334
|
+
flowchart: {
|
|
335
|
+
useMaxWidth: true,
|
|
336
|
+
htmlLabels: true,
|
|
337
|
+
curve: layoutOptions.curve || 'linear',
|
|
338
|
+
padding: 15,
|
|
339
|
+
nodeSpacing: layoutOptions.nodeSpacing || 50,
|
|
340
|
+
rankSpacing: layoutOptions.rankSpacing || 50,
|
|
341
|
+
defaultRenderer: layoutOptions.layout,
|
|
342
|
+
},
|
|
343
|
+
sequence: {
|
|
344
|
+
diagramMarginX: 50,
|
|
345
|
+
diagramMarginY: 10,
|
|
346
|
+
actorMargin: 50,
|
|
347
|
+
width: 150,
|
|
348
|
+
height: 65,
|
|
349
|
+
boxMargin: 10,
|
|
350
|
+
boxTextMargin: 5,
|
|
351
|
+
noteMargin: 10,
|
|
352
|
+
messageMargin: 35,
|
|
353
|
+
mirrorActors: true,
|
|
354
|
+
bottomMarginAdj: 1,
|
|
355
|
+
useMaxWidth: true,
|
|
356
|
+
rightAngles: false,
|
|
357
|
+
showSequenceNumbers: false,
|
|
358
|
+
},
|
|
359
|
+
gantt: {
|
|
360
|
+
numberSectionStyles: 4,
|
|
361
|
+
axisFormat: '%Y-%m-%d',
|
|
362
|
+
tickInterval: undefined,
|
|
363
|
+
topAxis: false,
|
|
364
|
+
displayMode: '',
|
|
365
|
+
},
|
|
366
|
+
journey: {
|
|
367
|
+
diagramMarginX: 300,
|
|
368
|
+
diagramMarginY: 30,
|
|
369
|
+
leftMargin: 150,
|
|
370
|
+
width: 150,
|
|
371
|
+
height: 50,
|
|
372
|
+
boxMargin: 10,
|
|
373
|
+
boxTextMargin: 5,
|
|
374
|
+
noteMargin: 10,
|
|
375
|
+
messageMargin: 35,
|
|
376
|
+
messageAlign: 'center',
|
|
377
|
+
bottomMarginAdj: 1,
|
|
378
|
+
useMaxWidth: true,
|
|
379
|
+
rightAngles: false,
|
|
380
|
+
},
|
|
381
|
+
class: {
|
|
382
|
+
arrowMarkerAbsolute: false,
|
|
383
|
+
dividerMargin: 10,
|
|
384
|
+
padding: 5,
|
|
385
|
+
textHeight: 10,
|
|
386
|
+
defaultRenderer: layoutOptions.layout,
|
|
387
|
+
useMaxWidth: true,
|
|
388
|
+
hideEmptyMembersBox: true,
|
|
389
|
+
},
|
|
390
|
+
state: {
|
|
391
|
+
dividerMargin: 10,
|
|
392
|
+
sizeUnit: 5,
|
|
393
|
+
padding: 5,
|
|
394
|
+
textHeight: 10,
|
|
395
|
+
titleShift: -15,
|
|
396
|
+
noteMargin: 10,
|
|
397
|
+
forkWidth: 70,
|
|
398
|
+
forkHeight: 7,
|
|
399
|
+
miniPadding: 2,
|
|
400
|
+
fontSizeFactor: 5.02,
|
|
401
|
+
labelHeight: 16,
|
|
402
|
+
edgeLengthFactor: '20',
|
|
403
|
+
compositTitleSize: 35,
|
|
404
|
+
radius: 0, // No rounded corners
|
|
405
|
+
defaultRenderer: layoutOptions.layout,
|
|
406
|
+
useMaxWidth: true,
|
|
407
|
+
},
|
|
408
|
+
er: {
|
|
409
|
+
entityPadding: 15,
|
|
410
|
+
minEntityWidth: 100,
|
|
411
|
+
minEntityHeight: 75,
|
|
412
|
+
stroke: 'gray',
|
|
413
|
+
fill: 'honeydew',
|
|
414
|
+
fontSize: 12,
|
|
415
|
+
useMaxWidth: true,
|
|
416
|
+
},
|
|
417
|
+
pie: {
|
|
418
|
+
useMaxWidth: true,
|
|
419
|
+
textPosition: 0.75,
|
|
420
|
+
},
|
|
421
|
+
requirement: {
|
|
422
|
+
useMaxWidth: true,
|
|
423
|
+
},
|
|
424
|
+
gitGraph: {
|
|
425
|
+
diagramPadding: 8,
|
|
426
|
+
nodeLabel: {
|
|
427
|
+
width: 75,
|
|
428
|
+
height: 100,
|
|
429
|
+
x: -25,
|
|
430
|
+
y: 0,
|
|
431
|
+
},
|
|
432
|
+
mainBranchName: 'main',
|
|
433
|
+
mainBranchOrder: 0,
|
|
434
|
+
showCommitLabel: true,
|
|
435
|
+
showBranches: true,
|
|
436
|
+
rotateCommitLabel: true,
|
|
437
|
+
},
|
|
438
|
+
c4: {
|
|
439
|
+
useMaxWidth: true,
|
|
440
|
+
diagramMarginX: 50,
|
|
441
|
+
diagramMarginY: 10,
|
|
442
|
+
c4ShapeMargin: 50,
|
|
443
|
+
c4ShapePadding: 20,
|
|
444
|
+
c4ShapeInRow: 4,
|
|
445
|
+
nextLinePaddingX: 0,
|
|
446
|
+
c4BoundaryInRow: 2,
|
|
447
|
+
personFontSize: 14,
|
|
448
|
+
personFontFamily: fontStack,
|
|
449
|
+
personFontWeight: 'normal',
|
|
450
|
+
messageFontSize: 12,
|
|
451
|
+
messageFontFamily: fontStack,
|
|
452
|
+
messageFontWeight: 'normal',
|
|
453
|
+
width: 200,
|
|
454
|
+
height: 60,
|
|
455
|
+
boxMargin: 10,
|
|
456
|
+
wrapPadding: 10,
|
|
457
|
+
},
|
|
458
|
+
...overrides,
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
getClassDiagramConfig() {
|
|
462
|
+
return {
|
|
463
|
+
class: {
|
|
464
|
+
arrowMarkerAbsolute: false,
|
|
465
|
+
dividerMargin: 10,
|
|
466
|
+
padding: 5,
|
|
467
|
+
textHeight: 10,
|
|
468
|
+
defaultRenderer: this.layoutOptions.layout,
|
|
469
|
+
useMaxWidth: true,
|
|
470
|
+
},
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
getFlowchartConfig() {
|
|
474
|
+
return {
|
|
475
|
+
flowchart: {
|
|
476
|
+
useMaxWidth: true,
|
|
477
|
+
htmlLabels: true,
|
|
478
|
+
curve: this.layoutOptions.curve || 'linear',
|
|
479
|
+
padding: 15,
|
|
480
|
+
nodeSpacing: this.layoutOptions.nodeSpacing || 50,
|
|
481
|
+
rankSpacing: this.layoutOptions.rankSpacing || 50,
|
|
482
|
+
defaultRenderer: this.layoutOptions.layout,
|
|
483
|
+
},
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
getSequenceDiagramConfig() {
|
|
487
|
+
return {
|
|
488
|
+
sequence: {
|
|
489
|
+
diagramMarginX: 50,
|
|
490
|
+
diagramMarginY: 10,
|
|
491
|
+
actorMargin: 50,
|
|
492
|
+
width: 150,
|
|
493
|
+
height: 65,
|
|
494
|
+
boxMargin: 10,
|
|
495
|
+
boxTextMargin: 5,
|
|
496
|
+
noteMargin: 10,
|
|
497
|
+
messageMargin: 35,
|
|
498
|
+
mirrorActors: true,
|
|
499
|
+
bottomMarginAdj: 1,
|
|
500
|
+
useMaxWidth: true,
|
|
501
|
+
rightAngles: false,
|
|
502
|
+
showSequenceNumbers: false,
|
|
503
|
+
},
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
MermaidConfigService.CSS_VARS = {
|
|
508
|
+
TERMINAL_TEXT: '--terminal-text',
|
|
509
|
+
PRIMARY_COLOR: '--primary-color',
|
|
510
|
+
SECONDARY_COLOR: '--secondary-color',
|
|
511
|
+
TERTIARY_COLOR: '--tertiary-color',
|
|
512
|
+
BACKGROUND_COLOR: '--background-color',
|
|
513
|
+
TERMINAL_YELLOW: '--terminal-yellow',
|
|
514
|
+
WARN_COLOR: '--warn-color',
|
|
515
|
+
WARN_300: '--warn-300',
|
|
516
|
+
FONT_COLOR: '--font-color',
|
|
517
|
+
FONT_STACK: '--font-stack'
|
|
518
|
+
};
|
|
519
|
+
MermaidConfigService.RGBA_REGEX = /rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)/;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import { GraphResponse, Reference } from "../model/graph";
|
|
2
|
-
import { ExampleContainer } from "../model/example";
|
|
3
|
-
import { Node } from "../model/graph";
|
|
4
|
-
import { ArchiveFileResponse, RolodexResponse } from "../model/rolodex";
|
|
1
|
+
import { GraphResponse, Reference } from "../model/graph.js";
|
|
2
|
+
import { ExampleContainer } from "../model/example.js";
|
|
3
|
+
import { Node } from "../model/graph.js";
|
|
4
|
+
import { ArchiveFileResponse, RolodexResponse } from "../model/rolodex.js";
|
|
5
|
+
import { BundleResponse } from "../model/bundle.js";
|
|
5
6
|
export declare class ModelService {
|
|
6
7
|
static doctorEndpoint: string;
|
|
7
|
-
static fetchLatestGraph(): Promise<GraphResponse>;
|
|
8
|
+
static fetchLatestGraph(limit?: number): Promise<GraphResponse>;
|
|
8
9
|
static fetchReferenceMap(currentPath?: string): Promise<Reference[]>;
|
|
9
10
|
static uploadArchive(formData: FormData): Promise<ArchiveFileResponse>;
|
|
10
11
|
static selectRootPath(path: string): Promise<Node>;
|
|
11
12
|
static queryRolodex(id?: string, path?: string): Promise<RolodexResponse>;
|
|
12
|
-
static generateMock(spec?: string): Promise<any>;
|
|
13
|
-
static generateExample(example: ExampleContainer): Promise<ExampleContainer>;
|
|
13
|
+
static generateMock(spec?: string, brokerId?: string): Promise<any>;
|
|
14
|
+
static generateExample(example: ExampleContainer, brokerId?: string): Promise<ExampleContainer>;
|
|
14
15
|
static convertJSONToYAML(json?: string): Promise<any>;
|
|
15
16
|
static resetWorkspace(): Promise<boolean>;
|
|
16
17
|
static getCurrentSpec(): Promise<string>;
|
|
18
|
+
static refreshGraph(limit?: number): Promise<GraphResponse>;
|
|
19
|
+
static refreshReferenceMap(currentPath?: string): Promise<Reference[]>;
|
|
20
|
+
static refreshRolodex(path?: string): Promise<RolodexResponse>;
|
|
21
|
+
static bundleSpec(brokerId?: string): Promise<BundleResponse>;
|
|
17
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { HeaderService } from "./header-service.js";
|
|
1
2
|
export class ModelService {
|
|
2
|
-
static async fetchLatestGraph() {
|
|
3
|
+
static async fetchLatestGraph(limit) {
|
|
3
4
|
return new Promise(async (resolve, reject) => {
|
|
4
5
|
try {
|
|
5
6
|
const graph = await fetch(ModelService.doctorEndpoint + '/model/graph', {
|
|
@@ -22,7 +23,8 @@ export class ModelService {
|
|
|
22
23
|
if (graphRevisions) {
|
|
23
24
|
// first is latest, grab the id
|
|
24
25
|
const gId = graphRevisions[0].graphId;
|
|
25
|
-
const
|
|
26
|
+
const queryParams = limit ? `?limit=${limit}` : '';
|
|
27
|
+
const graphFile = await fetch(ModelService.doctorEndpoint + '/model/graph/' + gId + queryParams, {
|
|
26
28
|
method: 'GET',
|
|
27
29
|
credentials: 'include',
|
|
28
30
|
headers: {
|
|
@@ -172,18 +174,26 @@ export class ModelService {
|
|
|
172
174
|
}
|
|
173
175
|
});
|
|
174
176
|
}
|
|
175
|
-
static async generateMock(spec = '') {
|
|
177
|
+
static async generateMock(spec = '', brokerId) {
|
|
176
178
|
return new Promise(async (resolve, reject) => {
|
|
177
179
|
try {
|
|
180
|
+
const headers = HeaderService.buildDefaultHeaders(brokerId);
|
|
178
181
|
const graph = await fetch(ModelService.doctorEndpoint + '/model/mock', {
|
|
179
182
|
method: 'POST',
|
|
180
183
|
credentials: 'include',
|
|
181
|
-
headers:
|
|
182
|
-
'Content-Type': 'application/json'
|
|
183
|
-
},
|
|
184
|
+
headers: headers,
|
|
184
185
|
body: spec,
|
|
185
186
|
});
|
|
186
187
|
if (!graph.ok) {
|
|
188
|
+
if (graph.status == 401) {
|
|
189
|
+
reject({ detail: 'authentication is required to generate mocks' });
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
if (graph.status == 402) {
|
|
193
|
+
const error = await graph.json();
|
|
194
|
+
reject(error);
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
187
197
|
const error = await graph.json();
|
|
188
198
|
reject(error);
|
|
189
199
|
return;
|
|
@@ -196,19 +206,18 @@ export class ModelService {
|
|
|
196
206
|
resolve(mockData);
|
|
197
207
|
}
|
|
198
208
|
catch (e) {
|
|
199
|
-
reject({ detail: '
|
|
209
|
+
reject({ detail: 'mock generation failed: authentication is required, partner!' });
|
|
200
210
|
}
|
|
201
211
|
});
|
|
202
212
|
}
|
|
203
|
-
static async generateExample(example) {
|
|
213
|
+
static async generateExample(example, brokerId) {
|
|
204
214
|
return new Promise(async (resolve, reject) => {
|
|
205
215
|
try {
|
|
216
|
+
const headers = HeaderService.buildDefaultHeaders(brokerId);
|
|
206
217
|
const exampleBuild = await fetch(ModelService.doctorEndpoint + '/model/generate-example', {
|
|
207
218
|
method: 'POST',
|
|
208
219
|
credentials: 'include',
|
|
209
|
-
headers:
|
|
210
|
-
'Content-Type': 'application/json'
|
|
211
|
-
},
|
|
220
|
+
headers: headers,
|
|
212
221
|
body: example,
|
|
213
222
|
});
|
|
214
223
|
if (!exampleBuild.ok) {
|
|
@@ -290,5 +299,49 @@ export class ModelService {
|
|
|
290
299
|
}
|
|
291
300
|
});
|
|
292
301
|
}
|
|
302
|
+
static async refreshGraph(limit) {
|
|
303
|
+
return ModelService.fetchLatestGraph(limit);
|
|
304
|
+
}
|
|
305
|
+
static async refreshReferenceMap(currentPath = '') {
|
|
306
|
+
return ModelService.fetchReferenceMap(currentPath);
|
|
307
|
+
}
|
|
308
|
+
static async refreshRolodex(path = '') {
|
|
309
|
+
return ModelService.queryRolodex(undefined, path);
|
|
310
|
+
}
|
|
311
|
+
static async bundleSpec(brokerId) {
|
|
312
|
+
return new Promise(async (resolve, reject) => {
|
|
313
|
+
try {
|
|
314
|
+
const headers = HeaderService.buildDefaultHeaders(brokerId);
|
|
315
|
+
const response = await fetch(ModelService.doctorEndpoint + '/model/bundle', {
|
|
316
|
+
method: 'POST',
|
|
317
|
+
credentials: 'include',
|
|
318
|
+
headers: headers,
|
|
319
|
+
});
|
|
320
|
+
if (!response.ok) {
|
|
321
|
+
if (response.status === 401) {
|
|
322
|
+
reject({ detail: 'authentication is required to bundle specifications' });
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
if (response.status === 402) {
|
|
326
|
+
const error = await response.json();
|
|
327
|
+
reject(error);
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
const error = await response.json();
|
|
331
|
+
reject(error);
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
const bundleData = await response.json();
|
|
335
|
+
if (!bundleData) {
|
|
336
|
+
reject({ detail: 'unable to fetch bundled specification' });
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
resolve(bundleData);
|
|
340
|
+
}
|
|
341
|
+
catch (e) {
|
|
342
|
+
reject({ detail: 'bundle operation failed: ' + e });
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
}
|
|
293
346
|
}
|
|
294
347
|
ModelService.doctorEndpoint = 'https://doctor.pb33f.io';
|