@pb33f/cowboy-components 0.7.18 → 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/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 -1
- package/dist/cowboy-components.umd.cjs +14117 -6601
- 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/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-B1FBgh0h.js +0 -1
- package/dist/assets/graph-dependent.worker-CxW1u577.js +0 -1
- package/dist/assets/rule-documentation.worker-B4_JKUg4.js +0 -1
- package/dist/assets/search-graph.worker-DJxOIWLn.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/components/{problem-list/details-drawer.css.d.ts → bundle-toolbar/bundle-toolbar.css.d.ts} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import '@shoelace-style/shoelace/dist/components/icon/icon.js';
|
|
10
|
+
import '@shoelace-style/shoelace/dist/components/button/button.js';
|
|
11
|
+
import '../attention-box/attention-box.js';
|
|
12
|
+
import buttonCss from '../../css/button.css.js';
|
|
13
|
+
import urlOverlayCss from './doctor-url-overlay.css.js';
|
|
14
|
+
export const UrlOverlayDismissed = 'doctor-url-overlay-dismissed';
|
|
15
|
+
let DoctorUrlOverlay = class DoctorUrlOverlay extends LitElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.activeURL = '';
|
|
19
|
+
this.errorCode = 0;
|
|
20
|
+
this.errorMessage = '';
|
|
21
|
+
this.mode = 'hidden';
|
|
22
|
+
}
|
|
23
|
+
handleDismiss() {
|
|
24
|
+
this.mode = 'hidden';
|
|
25
|
+
this.dispatchEvent(new CustomEvent(UrlOverlayDismissed, {
|
|
26
|
+
bubbles: true,
|
|
27
|
+
composed: true
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
show() {
|
|
31
|
+
this.mode = 'loading';
|
|
32
|
+
}
|
|
33
|
+
hide() {
|
|
34
|
+
this.mode = 'hidden';
|
|
35
|
+
}
|
|
36
|
+
showError(code, message) {
|
|
37
|
+
this.errorCode = code;
|
|
38
|
+
this.errorMessage = message;
|
|
39
|
+
this.mode = 'error';
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
const overlayVisible = this.mode !== 'hidden';
|
|
43
|
+
const spinnerVisible = this.mode === 'loading';
|
|
44
|
+
const errorVisible = this.mode === 'error';
|
|
45
|
+
return html `
|
|
46
|
+
<div id="editor-url-overlay"
|
|
47
|
+
class="editor-url-overlay ${overlayVisible ? 'visible' : ''}">
|
|
48
|
+
<div id="url-spinner" class="${spinnerVisible ? 'visible' : ''}">
|
|
49
|
+
<sl-icon name="arrow-repeat" class="url-spinner-icon"></sl-icon>
|
|
50
|
+
<h3>Fetching URL</h3>
|
|
51
|
+
<p>${this.activeURL}</p>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div id="url-problem" class="url-problem ${errorVisible ? 'visible' : ''}">
|
|
55
|
+
<pb33f-attention-box type="warning" headerText="Problem with URL">
|
|
56
|
+
<h4>Error: ${this.errorCode}</h4>
|
|
57
|
+
<p>${this.errorMessage}</p>
|
|
58
|
+
<sl-button @click="${this.handleDismiss}">OK</sl-button>
|
|
59
|
+
<p></p>
|
|
60
|
+
</pb33f-attention-box>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
`;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
DoctorUrlOverlay.styles = [buttonCss, urlOverlayCss];
|
|
67
|
+
__decorate([
|
|
68
|
+
property({ type: String })
|
|
69
|
+
], DoctorUrlOverlay.prototype, "activeURL", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
property({ type: Number })
|
|
72
|
+
], DoctorUrlOverlay.prototype, "errorCode", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
property({ type: String })
|
|
75
|
+
], DoctorUrlOverlay.prototype, "errorMessage", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
property({ type: String })
|
|
78
|
+
], DoctorUrlOverlay.prototype, "mode", void 0);
|
|
79
|
+
DoctorUrlOverlay = __decorate([
|
|
80
|
+
customElement('pb33f-doctor-url-overlay')
|
|
81
|
+
], DoctorUrlOverlay);
|
|
82
|
+
export { DoctorUrlOverlay };
|
|
@@ -32,7 +32,8 @@ let NukeWorkspaceComponent = class NukeWorkspaceComponent extends LitElement {
|
|
|
32
32
|
return html `
|
|
33
33
|
<sl-dialog style="--width: 60vw; --height: 50vh">
|
|
34
34
|
<span slot="label" style="color: var(--error-color);"><sl-icon name="radioactive"
|
|
35
|
-
style="vertical-align: middle"
|
|
35
|
+
style="vertical-align: middle"
|
|
36
|
+
aria-hidden="true">
|
|
36
37
|
</sl-icon> Nuke workspace</span>
|
|
37
38
|
<p style="margin-top: 0; padding-top: 0"><h3>Things get messed up sometimes.</h3></p>
|
|
38
39
|
|
|
@@ -55,8 +56,8 @@ let NukeWorkspaceComponent = class NukeWorkspaceComponent extends LitElement {
|
|
|
55
56
|
</p>
|
|
56
57
|
<hr/>
|
|
57
58
|
<sl-button class="danger" @click="${this.nuke}">Do it! Destroy it all
|
|
58
|
-
<sl-icon name="radioactive" slot="suffix"></sl-icon>
|
|
59
|
-
<sl-icon name="radioactive" slot="prefix"></sl-icon>
|
|
59
|
+
<sl-icon name="radioactive" slot="suffix" aria-hidden="true"></sl-icon>
|
|
60
|
+
<sl-icon name="radioactive" slot="prefix" aria-hidden="true"></sl-icon>
|
|
60
61
|
</sl-button>
|
|
61
62
|
<sl-button variant="primary" @click="${this.hide}" style="float: right">Cancel</sl-button>
|
|
62
63
|
</sl-dialog>`;
|
|
@@ -11,7 +11,6 @@ import buttonCss from "../../css/button.css.js";
|
|
|
11
11
|
import { SettingsBag } from "./the-doctor.js";
|
|
12
12
|
import settingsCss from "./settings.css.js";
|
|
13
13
|
import '../theme-switcher/theme-switcher.js';
|
|
14
|
-
import { AttentionType } from "../attention-box/attention-box";
|
|
15
14
|
let DoctorSettings = class DoctorSettings extends LitElement {
|
|
16
15
|
constructor() {
|
|
17
16
|
super();
|
|
@@ -28,7 +27,7 @@ let DoctorSettings = class DoctorSettings extends LitElement {
|
|
|
28
27
|
}
|
|
29
28
|
bootstrap() {
|
|
30
29
|
const initial = {
|
|
31
|
-
autoDiagnose:
|
|
30
|
+
autoDiagnose: false,
|
|
32
31
|
skipTimeline: false,
|
|
33
32
|
applicationVersion: "bootstrap"
|
|
34
33
|
};
|
|
@@ -41,6 +40,7 @@ let DoctorSettings = class DoctorSettings extends LitElement {
|
|
|
41
40
|
return bagSettings;
|
|
42
41
|
}
|
|
43
42
|
this.settings = initial;
|
|
43
|
+
this.settingsBag.set(SettingsBag, this.settings);
|
|
44
44
|
return this.settings;
|
|
45
45
|
}
|
|
46
46
|
open() {
|
|
@@ -73,14 +73,11 @@ let DoctorSettings = class DoctorSettings extends LitElement {
|
|
|
73
73
|
and keep a full audit trail, like a time machine.</small>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="control">
|
|
76
|
-
<header>
|
|
77
|
-
<pb33f-attention-box type="${AttentionType.Warning}">
|
|
78
|
-
<strong>This is experimental and incomplete</strong><br/><br/>
|
|
79
|
-
<strong>A lot of the colors are going to be wrong or missing</strong>.
|
|
80
|
-
</pb33f-attention-box>
|
|
76
|
+
<header>PB33F / ROGER MODE</header>
|
|
81
77
|
<pb33f-theme-switcher></pb33f-theme-switcher>
|
|
82
78
|
<small>
|
|
83
|
-
Switch between light and dark mode
|
|
79
|
+
Switch between light and dark mode. Dark mode is the default, but if you're color blind
|
|
80
|
+
or you hate the colors, turn them all off. <strong>
|
|
84
81
|
</small>
|
|
85
82
|
</div>
|
|
86
83
|
</div>
|
|
@@ -3,12 +3,12 @@ import { SlDialog } from "@shoelace-style/shoelace";
|
|
|
3
3
|
export declare class StatusBar extends LitElement {
|
|
4
4
|
static styles: import("lit").CSSResult[];
|
|
5
5
|
visible: boolean;
|
|
6
|
-
callsRemaining: number;
|
|
6
|
+
callsRemaining: number | null;
|
|
7
7
|
authenticated: boolean;
|
|
8
8
|
dialog: SlDialog;
|
|
9
9
|
constructor();
|
|
10
10
|
openDialog(): void;
|
|
11
11
|
closeDialog(): void;
|
|
12
12
|
authenticate(): void;
|
|
13
|
-
render(): import("lit-html").TemplateResult<1
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
14
|
}
|
|
@@ -15,7 +15,7 @@ let StatusBar = class StatusBar extends LitElement {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.visible = false;
|
|
18
|
-
this.callsRemaining =
|
|
18
|
+
this.callsRemaining = null;
|
|
19
19
|
this.authenticated = false;
|
|
20
20
|
}
|
|
21
21
|
openDialog() {
|
|
@@ -30,37 +30,38 @@ let StatusBar = class StatusBar extends LitElement {
|
|
|
30
30
|
}));
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
if (this.visible) {
|
|
34
|
-
|
|
35
|
-
let clazzIcon = '';
|
|
36
|
-
let actionText = '';
|
|
37
|
-
let icon = 'info-square';
|
|
38
|
-
if (this.callsRemaining > 0 && this.callsRemaining <= 10) {
|
|
39
|
-
clazz = 'warning';
|
|
40
|
-
clazzIcon = 'warning-icon';
|
|
41
|
-
actionText = 'You are running low.';
|
|
42
|
-
icon = 'exclamation-triangle';
|
|
43
|
-
}
|
|
44
|
-
if (this.callsRemaining <= 0) {
|
|
45
|
-
clazz = 'error';
|
|
46
|
-
clazzIcon = 'error-icon';
|
|
47
|
-
actionText = 'You have run out of credit. Service disabled';
|
|
48
|
-
icon = 'exclamation-square';
|
|
49
|
-
}
|
|
50
|
-
return html `
|
|
51
|
-
<div class="status-bar ${clazz}">
|
|
52
|
-
<sl-dialog label="Purchase Credit" class="dialog-overview">
|
|
53
|
-
<p>Still working on this, coming soon! Come back tomorrow for more free credit.
|
|
54
|
-
</p>
|
|
55
|
-
<sl-button slot="footer" variant="primary" @click="${this.closeDialog}">Close</sl-button>
|
|
56
|
-
</sl-dialog>
|
|
57
|
-
<sl-icon name="${icon}" class="${clazzIcon}"></sl-icon>
|
|
58
|
-
<span class="status-text"><strong>Credits remaining: ${this.callsRemaining}</strong></span> |
|
|
59
|
-
<span class="action-text"><strong>${actionText}</strong></span>
|
|
60
|
-
${this.callsRemaining <= 0 && !this.authenticated ? html `| <pb33f-login-button title="Get More Credit" buttonLabel="Authenticate for more credit" textLink></pb33f-login-button>` : ''}
|
|
61
|
-
${this.callsRemaining <= 0 && this.authenticated ? html `| <a href="#" @click="${this.openDialog}"><strong>Purchase Credit</strong></a>` : ''}
|
|
62
|
-
</div>`;
|
|
33
|
+
if (!this.visible || this.callsRemaining === null) {
|
|
34
|
+
return html ``;
|
|
63
35
|
}
|
|
36
|
+
let clazz = '';
|
|
37
|
+
let clazzIcon = '';
|
|
38
|
+
let actionText = '';
|
|
39
|
+
let icon = 'info-square';
|
|
40
|
+
if (this.callsRemaining > 0 && this.callsRemaining <= 10) {
|
|
41
|
+
clazz = 'warning';
|
|
42
|
+
clazzIcon = 'warning-icon';
|
|
43
|
+
actionText = 'You are running low.';
|
|
44
|
+
icon = 'exclamation-triangle';
|
|
45
|
+
}
|
|
46
|
+
if (this.callsRemaining <= 0) {
|
|
47
|
+
clazz = 'error';
|
|
48
|
+
clazzIcon = 'error-icon';
|
|
49
|
+
actionText = 'You have run out of credit. Service disabled';
|
|
50
|
+
icon = 'exclamation-square';
|
|
51
|
+
}
|
|
52
|
+
return html `
|
|
53
|
+
<div class="status-bar ${clazz}">
|
|
54
|
+
<sl-dialog label="Purchase Credit" class="dialog-overview">
|
|
55
|
+
<p>Still working on this, coming soon! Come back tomorrow for more free credit.
|
|
56
|
+
</p>
|
|
57
|
+
<sl-button slot="footer" variant="primary" @click="${this.closeDialog}">Close</sl-button>
|
|
58
|
+
</sl-dialog>
|
|
59
|
+
<sl-icon name="${icon}" class="${clazzIcon}"></sl-icon>
|
|
60
|
+
<span class="status-text"><strong>Credits remaining: ${this.callsRemaining}</strong></span> |
|
|
61
|
+
<span class="action-text"><strong>${actionText}</strong></span>
|
|
62
|
+
${this.callsRemaining <= 0 && !this.authenticated ? html `| <pb33f-login-button title="Get More Credit" buttonLabel="Authenticate for more credit" textLink></pb33f-login-button>` : ''}
|
|
63
|
+
${this.callsRemaining <= 0 && this.authenticated ? html `| <a href="#" @click="${this.openDialog}"><strong>Purchase Credit</strong></a>` : ''}
|
|
64
|
+
</div>`;
|
|
64
65
|
}
|
|
65
66
|
};
|
|
66
67
|
StatusBar.styles = [statusBarCss, linksCss, buttonCss, dialogCss];
|
|
@@ -5,6 +5,17 @@ export default css `
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
position: relative;
|
|
8
|
+
padding-top: 2px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.sidebar-slot-content {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: calc(100% - 10px);
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-height: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
padding-left: 10px
|
|
8
19
|
}
|
|
9
20
|
|
|
10
21
|
.editor {
|
|
@@ -22,7 +33,6 @@ export default css `
|
|
|
22
33
|
display: block;
|
|
23
34
|
padding-left: 10px;
|
|
24
35
|
overflow: hidden;
|
|
25
|
-
width: 100%;
|
|
26
36
|
background-color: var(--background-color);
|
|
27
37
|
}
|
|
28
38
|
|
|
@@ -31,8 +41,11 @@ export default css `
|
|
|
31
41
|
}
|
|
32
42
|
|
|
33
43
|
.problems-data {
|
|
34
|
-
|
|
35
|
-
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
height: 100%;
|
|
47
|
+
max-height: calc(100vh - 100px);
|
|
48
|
+
overflow: hidden;
|
|
36
49
|
}
|
|
37
50
|
|
|
38
51
|
|
|
@@ -50,66 +63,6 @@ export default css `
|
|
|
50
63
|
padding: var(--global-padding);
|
|
51
64
|
}
|
|
52
65
|
|
|
53
|
-
.workspace-icon {
|
|
54
|
-
font-size: 1.25rem;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.workspace-icon::part(base) {
|
|
58
|
-
padding: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.workspace-icon.active {
|
|
62
|
-
color: var(--primary-color);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.tab.hidden {
|
|
66
|
-
display: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
//sl-split-panel {
|
|
71
|
-
// width: 100%;
|
|
72
|
-
// height: 100%;
|
|
73
|
-
// --divider-width: 2px;
|
|
74
|
-
//}
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//sl-split-panel::part(divider) {
|
|
78
|
-
// background-color: var(--secondary-color);
|
|
79
|
-
//}
|
|
80
|
-
//
|
|
81
|
-
//sl-icon.divider-vert {
|
|
82
|
-
// position: absolute;
|
|
83
|
-
// left: 2px;
|
|
84
|
-
// border-radius: 0;
|
|
85
|
-
// background: var(--secondary-color);
|
|
86
|
-
// color: var(--background-color);
|
|
87
|
-
// padding: 0;
|
|
88
|
-
// width: 10px;
|
|
89
|
-
// height: 40px;
|
|
90
|
-
//}
|
|
91
|
-
//
|
|
92
|
-
//sl-icon.divider-horiz {
|
|
93
|
-
// position: absolute;
|
|
94
|
-
// border-radius: 0;
|
|
95
|
-
// background: var(--secondary-color);
|
|
96
|
-
// color: var(--background-color);
|
|
97
|
-
// padding: 0;
|
|
98
|
-
// width: 40px;
|
|
99
|
-
// height: 8px;
|
|
100
|
-
//}
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//sl-split-panel::part(divider):focus-visible {
|
|
104
|
-
// background-color: var(--primary-color);
|
|
105
|
-
//}
|
|
106
|
-
//
|
|
107
|
-
//sl-split-panel:focus-within sl-icon {
|
|
108
|
-
// background-color: var(--primary-color);
|
|
109
|
-
// color: var(--background-color);
|
|
110
|
-
//}
|
|
111
|
-
|
|
112
|
-
|
|
113
66
|
.unavailable {
|
|
114
67
|
opacity: 0.4;
|
|
115
68
|
transition: all 0.5s;
|
|
@@ -119,28 +72,31 @@ export default css `
|
|
|
119
72
|
overflow-x: auto;
|
|
120
73
|
overflow-y: auto;
|
|
121
74
|
}
|
|
122
|
-
|
|
123
|
-
.
|
|
75
|
+
|
|
76
|
+
.tree-slot-container {
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.model-tree::-webkit-scrollbar, .tree-slot-container::-webkit-scrollbar {
|
|
124
81
|
width: 8px;
|
|
125
82
|
height: 8px;
|
|
126
83
|
}
|
|
127
84
|
|
|
128
|
-
.model-tree::-webkit-scrollbar-track {
|
|
85
|
+
.model-tree::-webkit-scrollbar-track, .tree-slot-container::-webkit-scrollbar {
|
|
129
86
|
background-color: black;
|
|
130
87
|
}
|
|
131
88
|
|
|
132
|
-
.model-tree::-webkit-scrollbar-thumb {
|
|
89
|
+
.model-tree::-webkit-scrollbar-thumb, .tree-slot-container::-webkit-scrollbar {
|
|
133
90
|
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
134
91
|
background: var(--secondary-color-lowalpha);
|
|
135
92
|
padding: var(--global-padding);
|
|
136
93
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
.
|
|
140
|
-
|
|
141
|
-
--max: calc(100% - 150px);
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
.rolodex-tree {
|
|
97
|
+
height: 100%
|
|
142
98
|
}
|
|
143
|
-
|
|
99
|
+
|
|
144
100
|
.split-panel {
|
|
145
101
|
--min: 550px;
|
|
146
102
|
--max: calc(100vw - 550px);
|
|
@@ -148,7 +104,7 @@ export default css `
|
|
|
148
104
|
|
|
149
105
|
.split-panel-explorer {
|
|
150
106
|
--min: 30px;
|
|
151
|
-
--max:
|
|
107
|
+
--max: 850px;
|
|
152
108
|
max-width: 100vw;
|
|
153
109
|
}
|
|
154
110
|
|
|
@@ -158,16 +114,16 @@ export default css `
|
|
|
158
114
|
overflow-y: auto;
|
|
159
115
|
}
|
|
160
116
|
|
|
161
|
-
.explorer-panel::-webkit-scrollbar {
|
|
117
|
+
.explorer-panel::-webkit-scrollbar, .rolodex-tree::-webkit-scrollbar, .model-tree::-webkit-scrollbar {
|
|
162
118
|
width: 8px;
|
|
163
119
|
height: 8px;
|
|
164
120
|
}
|
|
165
121
|
|
|
166
|
-
.explorer-panel::-webkit-scrollbar-track {
|
|
122
|
+
.explorer-panel::-webkit-scrollbar-track, .rolodex-tree::-webkit-scrollbar-track, .model-tree::-webkit-scrollbar {
|
|
167
123
|
background-color: black;
|
|
168
124
|
}
|
|
169
125
|
|
|
170
|
-
.explorer-panel::-webkit-scrollbar-thumb {
|
|
126
|
+
.explorer-panel::-webkit-scrollbar-thumb, .rolodex-tree::-webkit-scrollbar-thumb, .model-tree::-webkit-scrollbar {
|
|
171
127
|
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
172
128
|
background: var(--secondary-color-lowalpha);
|
|
173
129
|
padding: var(--global-padding);
|
|
@@ -197,6 +153,8 @@ export default css `
|
|
|
197
153
|
margin-top: 20px;
|
|
198
154
|
padding-top: 0;
|
|
199
155
|
text-align: center;
|
|
156
|
+
text-transform: uppercase;
|
|
157
|
+
letter-spacing: 0.05em;
|
|
200
158
|
}
|
|
201
159
|
|
|
202
160
|
.tab-panel {
|
|
@@ -241,25 +199,13 @@ export default css `
|
|
|
241
199
|
text-decoration: underline;
|
|
242
200
|
}
|
|
243
201
|
|
|
244
|
-
pb33f-activity-spinner {
|
|
245
|
-
position: absolute;
|
|
246
|
-
top: 3px;
|
|
247
|
-
right: 25px;
|
|
248
|
-
z-index: 1;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.spinner-draw-closed {
|
|
252
|
-
top: 35px;
|
|
253
|
-
right: 8px;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
202
|
pb33f-toast-manager {
|
|
257
203
|
|
|
258
204
|
position: absolute;
|
|
259
205
|
top: 10px;
|
|
260
206
|
right: 0;
|
|
261
207
|
z-index: 101;
|
|
262
|
-
height: calc(100vh -
|
|
208
|
+
height: calc(100vh - 112px);
|
|
263
209
|
width: 500px;
|
|
264
210
|
overflow: hidden;
|
|
265
211
|
pointer-events: none;
|
|
@@ -283,59 +229,6 @@ export default css `
|
|
|
283
229
|
padding-top: 3px;
|
|
284
230
|
}
|
|
285
231
|
|
|
286
|
-
sl-badge::part(base) {
|
|
287
|
-
width: 10px;
|
|
288
|
-
padding: 0;
|
|
289
|
-
margin-left: 5px;
|
|
290
|
-
margin-top: 2px;
|
|
291
|
-
height: 10px;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.collapse-side {
|
|
295
|
-
position: absolute;
|
|
296
|
-
right: 5px;
|
|
297
|
-
top: 4px;
|
|
298
|
-
padding: 0;
|
|
299
|
-
color: var(--secondary-color);
|
|
300
|
-
font-size: 1.4rem;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
sl-icon-button.collapse-side::part(base) {
|
|
304
|
-
padding: 0;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.controls {
|
|
308
|
-
position: relative;
|
|
309
|
-
display: flex;
|
|
310
|
-
margin-left: 0;
|
|
311
|
-
padding-top: 0;
|
|
312
|
-
font-size: 0.8rem;
|
|
313
|
-
height: 24px;
|
|
314
|
-
border-bottom: 1px dashed var(--secondary-color-dimmer);
|
|
315
|
-
padding-bottom: 5px;
|
|
316
|
-
margin-bottom: 5px;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.url-input {
|
|
320
|
-
width: 50%;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.url-problem {
|
|
324
|
-
padding: 50px;
|
|
325
|
-
display: none;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
#url-spinner {
|
|
329
|
-
padding: 5px 50px 5px 50px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.main-view {
|
|
333
|
-
position: relative;
|
|
334
|
-
width: 100%;
|
|
335
|
-
height: calc(100vh - 120px);
|
|
336
|
-
overflow: auto;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
232
|
sl-button.url-input-button::part(base) {
|
|
340
233
|
margin-top: 0;
|
|
341
234
|
margin-left: 10px;
|
|
@@ -345,75 +238,6 @@ export default css `
|
|
|
345
238
|
margin-left: 10px;
|
|
346
239
|
}
|
|
347
240
|
|
|
348
|
-
.editor-url-overlay {
|
|
349
|
-
position: absolute;
|
|
350
|
-
height: calc(100% - 5px);
|
|
351
|
-
width: 100%;
|
|
352
|
-
left: 0;
|
|
353
|
-
top: 0;
|
|
354
|
-
z-index: 3;
|
|
355
|
-
display: none;
|
|
356
|
-
backdrop-filter: blur(2px);
|
|
357
|
-
-webkit-backdrop-filter: blur(2px);
|
|
358
|
-
background-color: var(--background-color-withopacity);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.import-button {
|
|
362
|
-
border: 0;
|
|
363
|
-
padding: 0;
|
|
364
|
-
font-size: 1rem;
|
|
365
|
-
width: calc(100% - 10px);
|
|
366
|
-
min-width: 100px;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.import-button::part(base) {
|
|
370
|
-
height: 5px;
|
|
371
|
-
line-height: 1.2rem;
|
|
372
|
-
margin-top: 0;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
.settings-toggle {
|
|
377
|
-
position: absolute;
|
|
378
|
-
right: 10px;
|
|
379
|
-
top: -5px;
|
|
380
|
-
z-index: 10;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.minimap-toggle {
|
|
384
|
-
position: absolute;
|
|
385
|
-
right: 40px;
|
|
386
|
-
top: -5px;
|
|
387
|
-
z-index: 10;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
sl-tooltip.minimap-tip::part(base) {
|
|
391
|
-
font-size: 1rem;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
sl-tooltip.settings-tip::part(base) {
|
|
395
|
-
font-size: 1rem;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.minimap-toggle.active {
|
|
399
|
-
color: var(--warn-color)
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
.diagnose-button {
|
|
404
|
-
position: absolute;
|
|
405
|
-
right: 80px;
|
|
406
|
-
top: -5px;
|
|
407
|
-
z-index: 10;
|
|
408
|
-
height: 20px;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.diagnose-button::part(base) {
|
|
412
|
-
height: 20px;
|
|
413
|
-
padding: 0;
|
|
414
|
-
line-height: 18px;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
241
|
pb33f-credit-ticker {
|
|
418
242
|
position: fixed;
|
|
419
243
|
display: inline-block;
|
|
@@ -427,32 +251,17 @@ export default css `
|
|
|
427
251
|
font-size: 0.8rem;
|
|
428
252
|
color: var(--terminal-text);
|
|
429
253
|
background-color: var(--background-color-withopacity);
|
|
430
|
-
|
|
431
254
|
}
|
|
432
|
-
|
|
433
|
-
.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.timevortex {
|
|
446
|
-
padding-top: 5px;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
@keyframes spin {
|
|
450
|
-
0% {
|
|
451
|
-
transform: rotate(0deg);
|
|
452
|
-
}
|
|
453
|
-
100% {
|
|
454
|
-
transform: rotate(360deg);
|
|
455
|
-
}
|
|
255
|
+
|
|
256
|
+
.sr-only {
|
|
257
|
+
position: absolute;
|
|
258
|
+
width: 1px;
|
|
259
|
+
height: 1px;
|
|
260
|
+
padding: 0;
|
|
261
|
+
margin: -1px;
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
clip: rect(0, 0, 0, 0);
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
border: 0;
|
|
456
266
|
}
|
|
457
|
-
|
|
458
267
|
`;
|