@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
|
@@ -14,31 +14,38 @@ import { marked } from "marked";
|
|
|
14
14
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
15
15
|
import sharedCss from "./shared.css.js";
|
|
16
16
|
import { getProblemClass, getProblemIcon } from "../../model/problem.js";
|
|
17
|
-
import { MainViewSlideChanged,
|
|
18
|
-
import {
|
|
17
|
+
import { MainViewSlideChanged, OpenDrawer } from "../../events/doctor.js";
|
|
18
|
+
import { DrawerContentType } from "../../model/drawer-content.js";
|
|
19
19
|
let ProblemMainView = class ProblemMainView extends LitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|
|
22
|
+
this.isHealthy = false;
|
|
22
23
|
this.selectedIndex = 0;
|
|
23
24
|
this.manualChange = false;
|
|
24
25
|
}
|
|
26
|
+
disconnectedCallback() {
|
|
27
|
+
super.disconnectedCallback();
|
|
28
|
+
if (this.slideTimeout !== undefined) {
|
|
29
|
+
clearTimeout(this.slideTimeout);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
25
32
|
showRuleDocs(source) {
|
|
26
|
-
this.dispatchEvent(new CustomEvent(
|
|
33
|
+
this.dispatchEvent(new CustomEvent(OpenDrawer, {
|
|
27
34
|
bubbles: true,
|
|
28
35
|
composed: true,
|
|
29
36
|
detail: {
|
|
30
|
-
type:
|
|
31
|
-
|
|
37
|
+
type: DrawerContentType.RULE_DOCS,
|
|
38
|
+
ruleId: source
|
|
32
39
|
}
|
|
33
40
|
}));
|
|
34
41
|
}
|
|
35
42
|
howToFix(source) {
|
|
36
|
-
this.dispatchEvent(new CustomEvent(
|
|
43
|
+
this.dispatchEvent(new CustomEvent(OpenDrawer, {
|
|
37
44
|
bubbles: true,
|
|
38
45
|
composed: true,
|
|
39
46
|
detail: {
|
|
40
|
-
type:
|
|
41
|
-
|
|
47
|
+
type: DrawerContentType.HOW_TO_FIX,
|
|
48
|
+
ruleId: source
|
|
42
49
|
}
|
|
43
50
|
}));
|
|
44
51
|
}
|
|
@@ -59,7 +66,10 @@ let ProblemMainView = class ProblemMainView extends LitElement {
|
|
|
59
66
|
selectSlide(index) {
|
|
60
67
|
this.selectedIndex = index;
|
|
61
68
|
this.manualChange = true;
|
|
62
|
-
|
|
69
|
+
if (this.slideTimeout !== undefined) {
|
|
70
|
+
clearTimeout(this.slideTimeout);
|
|
71
|
+
}
|
|
72
|
+
this.slideTimeout = window.setTimeout(() => {
|
|
63
73
|
this.carousel?.goToSlide(index - 1);
|
|
64
74
|
});
|
|
65
75
|
}
|
|
@@ -67,15 +77,15 @@ let ProblemMainView = class ProblemMainView extends LitElement {
|
|
|
67
77
|
if (this.problems) {
|
|
68
78
|
if (this.problems.length > 1) {
|
|
69
79
|
return html `
|
|
70
|
-
<div class="main-view-carousel">
|
|
71
|
-
<sl-carousel @sl-slide-change=${this.slideChanged} navigation mouse-dragging>
|
|
80
|
+
<div class="main-view-carousel" role="region" aria-label="Problem viewer">
|
|
81
|
+
<sl-carousel @sl-slide-change=${this.slideChanged} navigation mouse-dragging aria-label="Problems carousel">
|
|
72
82
|
${this.problems.map((problemItem) => {
|
|
73
83
|
return html `
|
|
74
|
-
<sl-carousel-item>
|
|
84
|
+
<sl-carousel-item aria-label="Problem ${problemItem.idx} of ${this.problems.length}">
|
|
75
85
|
<div class="main-view-carousel">
|
|
76
86
|
${this.renderProblem(problemItem.problemObject)}
|
|
77
|
-
<div class="problem-count">Problem
|
|
78
|
-
<strong>${problemItem.idx}</strong> of
|
|
87
|
+
<div class="problem-count">Problem
|
|
88
|
+
<strong>${problemItem.idx}</strong> of
|
|
79
89
|
<em>${this.problems.length}</em></div>
|
|
80
90
|
</div>
|
|
81
91
|
</sl-carousel-item>
|
|
@@ -92,6 +102,13 @@ let ProblemMainView = class ProblemMainView extends LitElement {
|
|
|
92
102
|
</div>`;
|
|
93
103
|
}
|
|
94
104
|
}
|
|
105
|
+
if (this.isHealthy) {
|
|
106
|
+
return html `
|
|
107
|
+
<div class="main-view empty healthy">
|
|
108
|
+
<sl-icon name="heart-pulse"></sl-icon><br/>
|
|
109
|
+
Clean bill of health!
|
|
110
|
+
</div>`;
|
|
111
|
+
}
|
|
95
112
|
return html `
|
|
96
113
|
<div class="main-view empty">Pick a problem...<br/><sl-icon name="pin-angle"></sl-icon><br/></div>`;
|
|
97
114
|
}
|
|
@@ -116,14 +133,14 @@ let ProblemMainView = class ProblemMainView extends LitElement {
|
|
|
116
133
|
<div class="message">
|
|
117
134
|
${unsafeHTML(marked.parse(msg).toString())}
|
|
118
135
|
<div class="location">
|
|
119
|
-
Location
|
|
136
|
+
<label class="location-label">Location:</label> <pb33f-render-json-path path="${problem.jsonPath}"></pb33f-render-json-path>
|
|
120
137
|
</div>
|
|
121
138
|
${sourceLocation}
|
|
122
139
|
</div>
|
|
123
140
|
</div>
|
|
124
141
|
<div class="source">
|
|
125
|
-
<div>Rule
|
|
126
|
-
<sl-icon-button @click=${() => { this.howToFix(problem.source); }} name="question-square" class="button-icon">
|
|
142
|
+
<div><label class="rule-label">Rule:</label> <a @click="${() => { this.showRuleDocs(problem.source); }}" href="#" data-name="${problem.source}">${problem.source}</a></div>
|
|
143
|
+
<sl-icon-button @click=${() => { this.howToFix(problem.source); }} name="question-square" label="How to fix" class="button-icon">
|
|
127
144
|
</sl-icon-button>
|
|
128
145
|
</div>`;
|
|
129
146
|
}
|
|
@@ -132,6 +149,9 @@ ProblemMainView.styles = [problemMainViewCss, sharedCss];
|
|
|
132
149
|
__decorate([
|
|
133
150
|
property({ type: ProblemItem })
|
|
134
151
|
], ProblemMainView.prototype, "problems", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
property({ type: Boolean })
|
|
154
|
+
], ProblemMainView.prototype, "isHealthy", void 0);
|
|
135
155
|
__decorate([
|
|
136
156
|
query('sl-carousel')
|
|
137
157
|
], ProblemMainView.prototype, "carousel", void 0);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
2
|
export default css `
|
|
3
3
|
.toolbar-container{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// height: 30px;
|
|
7
4
|
font-size: 0.7rem;
|
|
8
5
|
display: flex;
|
|
9
6
|
justify-content: flex-start;
|
|
10
7
|
flex-flow: row wrap;
|
|
8
|
+
text-transform: uppercase;
|
|
9
|
+
letter-spacing: 0.05em;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.spacer{
|
|
@@ -18,17 +17,21 @@ export default css `
|
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.filter {
|
|
21
|
-
border: 1px
|
|
20
|
+
border-top: 1px solid var(--secondary-color);
|
|
21
|
+
//border-bottom: 1px solid var(--secondary-color);
|
|
22
|
+
|
|
22
23
|
min-width: 200px;
|
|
23
24
|
width: 200px;
|
|
24
|
-
padding-left: 5px;
|
|
25
|
-
padding-right: 5px;
|
|
25
|
+
//padding-left: 5px;
|
|
26
|
+
//padding-right: 5px;
|
|
26
27
|
height: 30px;
|
|
27
|
-
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
letter-spacing: 0.05em;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.first {
|
|
31
33
|
flex-grow: 2;
|
|
34
|
+
padding-left: 5px;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
.mid {
|
|
@@ -14,6 +14,8 @@ export default css `
|
|
|
14
14
|
.diagnostic-evaluation label {
|
|
15
15
|
font-size: 0.7rem;
|
|
16
16
|
font-family: var(--font-stack), monospace;
|
|
17
|
+
text-transform: uppercase;
|
|
18
|
+
letter-spacing: 0.05em;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
.diagnostic-evaluation span {
|
|
@@ -75,7 +77,11 @@ export default css `
|
|
|
75
77
|
animation-iteration-count: infinite;
|
|
76
78
|
animation-direction: alternate;
|
|
77
79
|
}
|
|
78
|
-
|
|
80
|
+
|
|
81
|
+
:host-context(html[theme="light"]) .score.one {
|
|
82
|
+
animation: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
79
85
|
.score.one span {
|
|
80
86
|
color: var(--error-color);
|
|
81
87
|
}
|
|
@@ -89,6 +95,10 @@ export default css `
|
|
|
89
95
|
animation-direction: alternate;
|
|
90
96
|
}
|
|
91
97
|
|
|
98
|
+
:host-context(html[theme="light"]) .score.two {
|
|
99
|
+
animation: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
92
102
|
.score.two span {
|
|
93
103
|
color: var(--warn-400);
|
|
94
104
|
}
|
|
@@ -8,8 +8,8 @@ import { customElement, property } from "lit/decorators.js";
|
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import { marked } from "marked";
|
|
10
10
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { DrawerContentType } from "../../model/drawer-content.js";
|
|
12
|
+
import { OpenDrawer } from "../../events/doctor.js";
|
|
13
13
|
import diagnosticEvaluationCss from "./diagnostic-evaluation.css.js";
|
|
14
14
|
import listsCss from "../../css/lists.css.js";
|
|
15
15
|
let DiagnosticEvaluation = class DiagnosticEvaluation extends LitElement {
|
|
@@ -39,19 +39,18 @@ let DiagnosticEvaluation = class DiagnosticEvaluation extends LitElement {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
viewRuleDocs(ruleName) {
|
|
42
|
-
this.dispatchEvent(new CustomEvent(
|
|
42
|
+
this.dispatchEvent(new CustomEvent(OpenDrawer, {
|
|
43
43
|
bubbles: true,
|
|
44
44
|
composed: true,
|
|
45
45
|
detail: {
|
|
46
|
-
type:
|
|
47
|
-
|
|
46
|
+
type: DrawerContentType.RULE_DOCS,
|
|
47
|
+
ruleId: ruleName
|
|
48
48
|
}
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
51
|
convertToLinks(text) {
|
|
52
52
|
const regex = /#\{([^}]+)}/g;
|
|
53
|
-
|
|
54
|
-
const replaced = text.replace(regex, (match, p1) => {
|
|
53
|
+
const replaced = text.replace(regex, (_match, p1) => {
|
|
55
54
|
this.links.push(p1);
|
|
56
55
|
return ``;
|
|
57
56
|
});
|
|
@@ -4,6 +4,8 @@ export default css `
|
|
|
4
4
|
label {
|
|
5
5
|
font-size: 0.7rem;
|
|
6
6
|
font-family: var(--font-stack), monospace;
|
|
7
|
+
text-transform: uppercase;
|
|
8
|
+
letter-spacing: 0.05em;
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
span {
|
|
@@ -12,4 +14,8 @@ export default css `
|
|
|
12
14
|
font-family: var(--font-stack-bold), monospace;
|
|
13
15
|
text-shadow: 0 0 1rem var(--primary-color);
|
|
14
16
|
}
|
|
17
|
+
|
|
18
|
+
:host-context(html[theme="light"]) span {
|
|
19
|
+
text-shadow: none;
|
|
20
|
+
}
|
|
15
21
|
`;
|
|
@@ -28,7 +28,7 @@ let DocumentStatistic = class DocumentStatistic extends LitElement {
|
|
|
28
28
|
formatted = html `<sl-format-number value="${v}"></sl-format-number>`;
|
|
29
29
|
}
|
|
30
30
|
return html `
|
|
31
|
-
<label>${this.label}
|
|
31
|
+
<label>${this.label}</label>
|
|
32
32
|
<span>${formatted}${this.postfix}</span>`;
|
|
33
33
|
}
|
|
34
34
|
};
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { customElement, property } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import problemOverviewGroupCss from "./problem-overview-group.css.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { DrawerContentType } from "../../model/drawer-content.js";
|
|
11
|
+
import { OpenDrawer, ProblemClicked, RuleViolationClicked } from "../../events/doctor.js";
|
|
12
12
|
import sharedCss from "../../css/shared.css.js";
|
|
13
13
|
import buttonCss from "../../css/button.css.js";
|
|
14
14
|
import { ProblemItem } from "../problem-list/problem-item.js";
|
|
@@ -18,12 +18,12 @@ let ProblemOverviewGroup = class ProblemOverviewGroup extends LitElement {
|
|
|
18
18
|
super();
|
|
19
19
|
}
|
|
20
20
|
viewRuleDocs() {
|
|
21
|
-
this.dispatchEvent(new CustomEvent(
|
|
21
|
+
this.dispatchEvent(new CustomEvent(OpenDrawer, {
|
|
22
22
|
bubbles: true,
|
|
23
23
|
composed: true,
|
|
24
24
|
detail: {
|
|
25
|
-
type:
|
|
26
|
-
|
|
25
|
+
type: DrawerContentType.RULE_DOCS,
|
|
26
|
+
ruleId: this.groupName
|
|
27
27
|
}
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
@@ -4,6 +4,8 @@ export default css `
|
|
|
4
4
|
label {
|
|
5
5
|
font-size: 0.8rem;
|
|
6
6
|
font-family: var(--font-stack), monospace;
|
|
7
|
+
text-transform: uppercase;
|
|
8
|
+
letter-spacing: 0.05em;
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
span {
|
|
@@ -14,27 +16,44 @@ export default css `
|
|
|
14
16
|
font-family: var(--font-stack-bold), monospace;
|
|
15
17
|
text-shadow: 0 0 1rem var(--primary-color);
|
|
16
18
|
}
|
|
17
|
-
|
|
19
|
+
|
|
20
|
+
:host-context(html[theme="light"]) span {
|
|
21
|
+
text-shadow: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
.warn {
|
|
19
25
|
color: var(--warn-color);
|
|
20
26
|
}
|
|
21
|
-
|
|
27
|
+
|
|
22
28
|
.error {
|
|
23
29
|
color: var(--error-color);
|
|
24
30
|
}
|
|
25
|
-
|
|
31
|
+
|
|
26
32
|
sl-icon {
|
|
27
33
|
vertical-align: middle;
|
|
28
34
|
margin-right: 5px;
|
|
29
35
|
font-size: 1rem;
|
|
30
36
|
}
|
|
31
|
-
|
|
37
|
+
|
|
32
38
|
.glow-warn {
|
|
33
39
|
text-shadow: 0 0 1rem var(--warn-color);
|
|
34
40
|
}
|
|
35
41
|
|
|
42
|
+
:host-context(html[theme="light"]) .glow-warn {
|
|
43
|
+
text-shadow: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
.glow-error {
|
|
37
47
|
text-shadow: 0 0 1rem var(--error-color), 0 0 1.2rem var(--error-color);
|
|
38
48
|
}
|
|
39
|
-
|
|
49
|
+
|
|
50
|
+
:host-context(html[theme="light"]) .glow-error {
|
|
51
|
+
text-shadow: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@container (max-width: 500px) {
|
|
55
|
+
sl-icon + label {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
40
59
|
`;
|
|
@@ -14,21 +14,30 @@ let ProblemStatistic = class ProblemStatistic extends LitElement {
|
|
|
14
14
|
this.value = 0;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
if (this.isError) {
|
|
17
|
+
if (this.isError && this.value > 0) {
|
|
18
18
|
return html `
|
|
19
|
-
<sl-icon name="x-square" class="error"></sl-icon><label>${this.label}</label>
|
|
19
|
+
<sl-icon name="x-square" class="error" aria-hidden="true"></sl-icon><label class="error">${this.label}</label>
|
|
20
20
|
<span class="error glow-error"><sl-format-number value="${this.value}"></sl-format-number></span>`;
|
|
21
21
|
}
|
|
22
|
-
if (this.
|
|
22
|
+
if (this.isError && this.value <= 0) {
|
|
23
|
+
return html ``; // show no box.
|
|
24
|
+
}
|
|
25
|
+
if (this.isWarning && this.value > 0) {
|
|
23
26
|
return html `
|
|
24
|
-
<sl-icon name="exclamation-triangle" class="warn"></sl-icon><label>${this.label}</label>
|
|
27
|
+
<sl-icon name="exclamation-triangle" class="warn" aria-hidden="true"></sl-icon><label class="warn">${this.label}</label>
|
|
25
28
|
<span class="warn glow-warn"><sl-format-number value="${this.value}"></sl-format-number></span>`;
|
|
26
29
|
}
|
|
27
|
-
if (this.
|
|
30
|
+
if (this.isWarning && this.value <= 0) {
|
|
31
|
+
return html ``; // show no box.
|
|
32
|
+
}
|
|
33
|
+
if (this.isInform && this.value > 0) {
|
|
28
34
|
return html `
|
|
29
|
-
<sl-icon name="info-square"></sl-icon><label>${this.label}</label>
|
|
35
|
+
<sl-icon name="info-square" aria-hidden="true"></sl-icon><label>${this.label}</label>
|
|
30
36
|
<span><sl-format-number value="${this.value}"></sl-format-number></span>`;
|
|
31
37
|
}
|
|
38
|
+
if (this.isInform && this.value <= 0) {
|
|
39
|
+
return html ``; // show no box.
|
|
40
|
+
}
|
|
32
41
|
return html `
|
|
33
42
|
<label>${this.label}</label>
|
|
34
43
|
<span><sl-format-number value="${this.value}"></sl-format-number></span>
|
|
@@ -10,7 +10,7 @@ export default css `
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
sl-card::part(base) {
|
|
13
|
-
border-style:
|
|
13
|
+
border-style: solid;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,6 +25,8 @@ export default css `
|
|
|
25
25
|
h3 {
|
|
26
26
|
margin-top: 10px;
|
|
27
27
|
margin-bottom: 10px;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
letter-spacing: 0.05em;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.statistics {
|
|
@@ -32,6 +34,7 @@ export default css `
|
|
|
32
34
|
justify-content: space-between;
|
|
33
35
|
padding-bottom: 10px;
|
|
34
36
|
border-bottom: 1px dashed var(--secondary-color);
|
|
37
|
+
container-type: inline-size;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
.statistics sl-card:first-child {
|
|
@@ -45,9 +48,6 @@ export default css `
|
|
|
45
48
|
.rules {
|
|
46
49
|
display: none;
|
|
47
50
|
}
|
|
48
|
-
.categories {
|
|
49
|
-
display: none;
|
|
50
|
-
}
|
|
51
51
|
.tags {
|
|
52
52
|
display: none;
|
|
53
53
|
}
|
|
@@ -21,11 +21,32 @@ let ProblemStatisticsComponent = class ProblemStatisticsComponent extends LitEle
|
|
|
21
21
|
const rulesViolated = new Set(this.problems.map((problem) => {
|
|
22
22
|
return problem.problemObject.source;
|
|
23
23
|
})).size;
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
let errs = html ``;
|
|
25
|
+
let warns = html ``;
|
|
26
|
+
let infs = html ``;
|
|
27
|
+
if (this.drDiagnostics?.statistics.totalErrors > 0) {
|
|
28
|
+
errs = html `
|
|
29
|
+
<sl-card class="card-basic">
|
|
30
|
+
<pb33f-problem-statistic label="Errors"
|
|
31
|
+
value="${this.drDiagnostics?.statistics.totalErrors}" isError>
|
|
32
|
+
</pb33f-problem-statistic>
|
|
33
|
+
</sl-card>`;
|
|
34
|
+
}
|
|
35
|
+
if (this.drDiagnostics?.statistics.totalWarnings > 0) {
|
|
36
|
+
warns = html `
|
|
37
|
+
<sl-card class="card-basic">
|
|
38
|
+
<pb33f-problem-statistic label="Warnings"
|
|
39
|
+
value="${this.drDiagnostics?.statistics.totalWarnings}" isWarning>
|
|
40
|
+
</pb33f-problem-statistic>
|
|
41
|
+
</sl-card>`;
|
|
42
|
+
}
|
|
43
|
+
if (this.drDiagnostics?.statistics.totalInfo > 0) {
|
|
44
|
+
infs = html `
|
|
45
|
+
<sl-card class="card-basic">
|
|
46
|
+
<pb33f-problem-statistic label="Informs"
|
|
47
|
+
value="${this.drDiagnostics?.statistics.totalInfo}" isInform>
|
|
48
|
+
</pb33f-problem-statistic>
|
|
49
|
+
</sl-card>`;
|
|
29
50
|
}
|
|
30
51
|
return html `
|
|
31
52
|
<div class="statistics">
|
|
@@ -87,26 +108,9 @@ let ProblemStatisticsComponent = class ProblemStatisticsComponent extends LitEle
|
|
|
87
108
|
value="${rulesViolated}">
|
|
88
109
|
</pb33f-problem-statistic>
|
|
89
110
|
</sl-card>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</pb33f-problem-statistic>
|
|
94
|
-
</sl-card>
|
|
95
|
-
<sl-card class="card-basic">
|
|
96
|
-
<pb33f-problem-statistic label="Errors"
|
|
97
|
-
value="${this.drDiagnostics?.statistics.totalErrors}" isError>
|
|
98
|
-
</pb33f-problem-statistic>
|
|
99
|
-
</sl-card>
|
|
100
|
-
<sl-card class="card-basic">
|
|
101
|
-
<pb33f-problem-statistic label="Warnings"
|
|
102
|
-
value="${this.drDiagnostics?.statistics.totalWarnings}" isWarning>
|
|
103
|
-
</pb33f-problem-statistic>
|
|
104
|
-
</sl-card>
|
|
105
|
-
<sl-card class="card-basic">
|
|
106
|
-
<pb33f-problem-statistic label="Informs"
|
|
107
|
-
value="${this.drDiagnostics?.statistics.totalInfo}" isInform>
|
|
108
|
-
</pb33f-problem-statistic>
|
|
109
|
-
</sl-card>
|
|
111
|
+
${errs}
|
|
112
|
+
${warns}
|
|
113
|
+
${infs}
|
|
110
114
|
</div>`;
|
|
111
115
|
}
|
|
112
116
|
};
|
|
@@ -9,11 +9,10 @@ export default css `
|
|
|
9
9
|
|
|
10
10
|
.paginator {
|
|
11
11
|
overflow-y: auto;
|
|
12
|
-
//height: calc(100vh - 485px);
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
pb33f-paginator-navigation::part(values) {
|
|
16
|
-
max-height: calc(100vh -
|
|
15
|
+
max-height: calc(100vh - 460px);
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
.paginator::part(values) {
|
|
@@ -23,6 +22,7 @@ export default css `
|
|
|
23
22
|
|
|
24
23
|
.overview-container {
|
|
25
24
|
height: 100%;
|
|
25
|
+
padding-right: 5px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.unavailable {
|
|
@@ -9,6 +9,8 @@ export default css `
|
|
|
9
9
|
border-bottom: 1px dashed var(--kv-table-dividers);
|
|
10
10
|
border-top: 1px dashed var(--kv-table-header-border-top);
|
|
11
11
|
font-weight: normal;
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
letter-spacing: 0.05em;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
.prop-type-table > table > thead > tr > th:first-child {
|
|
@@ -24,15 +24,19 @@ export default css `
|
|
|
24
24
|
font-family: var(--font-stack-bold), monospace;
|
|
25
25
|
text-shadow: 0 0 10px var(--secondary-color);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
:host-context(html[theme="light"]) .bracket {
|
|
29
|
+
text-shadow: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
.bracket-nested {
|
|
29
33
|
color: var(--tertiary-color);
|
|
30
34
|
}
|
|
31
|
-
|
|
35
|
+
|
|
32
36
|
.param {
|
|
33
37
|
color: var(--primary-color);
|
|
34
38
|
font-family: var(--font-stack), monospace;
|
|
35
|
-
|
|
39
|
+
|
|
36
40
|
font-weight: normal;
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -43,6 +47,10 @@ export default css `
|
|
|
43
47
|
font-weight: normal;
|
|
44
48
|
|
|
45
49
|
}
|
|
50
|
+
|
|
51
|
+
:host-context(html[theme="light"]) .param-nested {
|
|
52
|
+
text-shadow: none;
|
|
53
|
+
}
|
|
46
54
|
|
|
47
55
|
.param:hover {
|
|
48
56
|
//text-decoration: underline;
|
|
@@ -36,6 +36,9 @@ let RenderJSONPathComponent = class RenderJSONPathComponent extends LitElement {
|
|
|
36
36
|
return returnString;
|
|
37
37
|
}
|
|
38
38
|
breakPath() {
|
|
39
|
+
if (!this.path) {
|
|
40
|
+
return html `<span part='path' class='dot'>{no path}</span>`;
|
|
41
|
+
}
|
|
39
42
|
let segments = this.path.split(".");
|
|
40
43
|
if (segments.length > 0) {
|
|
41
44
|
if (segments[0] == '$')
|
|
@@ -11,12 +11,21 @@ export default css `
|
|
|
11
11
|
font-family: var(--font-stack-bold), monospace;
|
|
12
12
|
text-shadow: 0 0 10px var(--secondary-color);
|
|
13
13
|
}
|
|
14
|
+
|
|
15
|
+
:host-context(html[theme="light"]) .bracket {
|
|
16
|
+
text-shadow: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
.param {
|
|
15
20
|
color: var(--primary-color);
|
|
16
21
|
font-family: var(--font-stack-bold), monospace;
|
|
17
22
|
text-shadow: 0 0 10px var(--primary-color);
|
|
18
23
|
font-weight: normal;
|
|
19
24
|
}
|
|
25
|
+
|
|
26
|
+
:host-context(html[theme="light"]) .param {
|
|
27
|
+
text-shadow: none;
|
|
28
|
+
}
|
|
20
29
|
.slash {
|
|
21
30
|
color: var(--font-color-sub2)
|
|
22
31
|
}
|
|
@@ -15,30 +15,15 @@ let PathRenderComponent = class PathRenderComponent extends LitElement {
|
|
|
15
15
|
this.nowrap = false;
|
|
16
16
|
}
|
|
17
17
|
replaceBrackets() {
|
|
18
|
-
const regex =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if (m.index === regex.lastIndex) {
|
|
24
|
-
regex.lastIndex++;
|
|
25
|
-
}
|
|
26
|
-
m.forEach((match, groupIndex) => {
|
|
27
|
-
if (groupIndex === 1) {
|
|
28
|
-
returnString = returnString.replaceAll(match, `<span class="bracket ${this.nowrap ? 'nowrap' : ''}">` + match + '</span>');
|
|
29
|
-
}
|
|
30
|
-
if (groupIndex === 2) {
|
|
31
|
-
returnString = returnString.replaceAll(match, `<span class="param ${this.nowrap ? 'nowrap' : ''}">` + match + '</span>');
|
|
32
|
-
}
|
|
33
|
-
if (groupIndex === 3) {
|
|
34
|
-
returnString = returnString.replaceAll(match, `<span class="bracket ${this.nowrap ? 'nowrap' : ''}">` + match + '</span>');
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
18
|
+
const regex = /\{([\w$.#/]+)\}/g;
|
|
19
|
+
const nowrapClass = this.nowrap ? ' nowrap' : '';
|
|
20
|
+
const returnString = this.formatSlashes(this.path).replace(regex, (_match, param) => {
|
|
21
|
+
return `<span class="bracket${nowrapClass}">{</span><span class="param${nowrapClass}">${param}</span><span class="bracket${nowrapClass}">}</span>`;
|
|
22
|
+
});
|
|
38
23
|
if (!this.nowrap) {
|
|
39
|
-
return html `${unsafeHTML(returnString
|
|
24
|
+
return html `${unsafeHTML(returnString)}`;
|
|
40
25
|
}
|
|
41
|
-
return html `<div style="white-space: nowrap;">${unsafeHTML(returnString
|
|
26
|
+
return html `<div style="white-space: nowrap;">${unsafeHTML(returnString)}</div>`;
|
|
42
27
|
}
|
|
43
28
|
formatSlashes(formatted) {
|
|
44
29
|
return formatted.replaceAll(`/`, `<span class="slash">/</span>`);
|
|
@@ -24,6 +24,7 @@ export declare class Rodeo extends LitElement {
|
|
|
24
24
|
protected connectToBroker(): void;
|
|
25
25
|
whoAmI(): void;
|
|
26
26
|
firstUpdated(): void;
|
|
27
|
+
disconnectedCallback(): void;
|
|
27
28
|
render(): import("lit-html").TemplateResult<1>;
|
|
28
29
|
handlePlatformEvent(evt: PlatformEvent): void;
|
|
29
30
|
rodeoServiceStream(): BusCallback<CommandResponse>;
|
|
@@ -99,6 +99,11 @@ let Rodeo = class Rodeo extends LitElement {
|
|
|
99
99
|
]);
|
|
100
100
|
this.connectToBroker();
|
|
101
101
|
}
|
|
102
|
+
disconnectedCallback() {
|
|
103
|
+
super.disconnectedCallback();
|
|
104
|
+
this.rodeoChannelSubscription?.unsubscribe();
|
|
105
|
+
this.doctorChannelSubscription?.unsubscribe();
|
|
106
|
+
}
|
|
102
107
|
render() {
|
|
103
108
|
return html `
|
|
104
109
|
<main>
|