@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,19 @@
|
|
|
1
|
+
import { _ as e } from "./cowboy-components-BcyXo9oX.js";
|
|
2
|
+
var l = /* @__PURE__ */ e(() => `
|
|
3
|
+
/* Font Awesome icon styling - consolidated */
|
|
4
|
+
.label-icon {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
height: 1em;
|
|
7
|
+
overflow: visible;
|
|
8
|
+
vertical-align: -0.125em;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.node .label-icon path {
|
|
12
|
+
fill: currentColor;
|
|
13
|
+
stroke: revert;
|
|
14
|
+
stroke-width: revert;
|
|
15
|
+
}
|
|
16
|
+
`, "getIconStyles");
|
|
17
|
+
export {
|
|
18
|
+
l as g
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { _ as a, e as w, l as x } from "./cowboy-components-BcyXo9oX.js";
|
|
2
|
+
var d = /* @__PURE__ */ a((e, t, i, r) => {
|
|
3
|
+
e.attr("class", i);
|
|
4
|
+
const { width: o, height: h, x: n, y: c } = u(e, t);
|
|
5
|
+
w(e, h, o, r);
|
|
6
|
+
const s = l(n, c, o, h, t);
|
|
7
|
+
e.attr("viewBox", s), x.debug(`viewBox configured: ${s} with padding: ${t}`);
|
|
8
|
+
}, "setupViewPortForSVG"), u = /* @__PURE__ */ a((e, t) => {
|
|
9
|
+
const i = e.node()?.getBBox() || { width: 0, height: 0, x: 0, y: 0 };
|
|
10
|
+
return {
|
|
11
|
+
width: i.width + t * 2,
|
|
12
|
+
height: i.height + t * 2,
|
|
13
|
+
x: i.x,
|
|
14
|
+
y: i.y
|
|
15
|
+
};
|
|
16
|
+
}, "calculateDimensionsWithPadding"), l = /* @__PURE__ */ a((e, t, i, r, o) => `${e - o} ${t - o} ${i} ${r}`, "createViewBox");
|
|
17
|
+
export {
|
|
18
|
+
d as s
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { _ as s } from "./cowboy-components-BcyXo9oX.js";
|
|
2
|
+
var t, e = (t = class {
|
|
3
|
+
/**
|
|
4
|
+
* @param init - Function that creates the default state.
|
|
5
|
+
*/
|
|
6
|
+
constructor(i) {
|
|
7
|
+
this.init = i, this.records = this.init();
|
|
8
|
+
}
|
|
9
|
+
reset() {
|
|
10
|
+
this.records = this.init();
|
|
11
|
+
}
|
|
12
|
+
}, s(t, "ImperativeState"), t);
|
|
13
|
+
export {
|
|
14
|
+
e as I
|
|
15
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { _ as n, U as o, j as l } from "./cowboy-components-BcyXo9oX.js";
|
|
2
|
+
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
|
+
const e = s.append("rect");
|
|
4
|
+
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
5
|
+
for (const r in t.attrs)
|
|
6
|
+
e.attr(r, t.attrs[r]);
|
|
7
|
+
return t.class && e.attr("class", t.class), e;
|
|
8
|
+
}, "drawRect"), d = /* @__PURE__ */ n((s, t) => {
|
|
9
|
+
const e = {
|
|
10
|
+
x: t.startx,
|
|
11
|
+
y: t.starty,
|
|
12
|
+
width: t.stopx - t.startx,
|
|
13
|
+
height: t.stopy - t.starty,
|
|
14
|
+
fill: t.fill,
|
|
15
|
+
stroke: t.stroke,
|
|
16
|
+
class: "rect"
|
|
17
|
+
};
|
|
18
|
+
x(s, e).lower();
|
|
19
|
+
}, "drawBackgroundRect"), g = /* @__PURE__ */ n((s, t) => {
|
|
20
|
+
const e = t.text.replace(o, " "), r = s.append("text");
|
|
21
|
+
r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class && r.attr("class", t.class);
|
|
22
|
+
const a = r.append("tspan");
|
|
23
|
+
return a.attr("x", t.x + t.textMargin * 2), a.text(e), r;
|
|
24
|
+
}, "drawText"), h = /* @__PURE__ */ n((s, t, e, r) => {
|
|
25
|
+
const a = s.append("image");
|
|
26
|
+
a.attr("x", t), a.attr("y", e);
|
|
27
|
+
const i = l.sanitizeUrl(r);
|
|
28
|
+
a.attr("xlink:href", i);
|
|
29
|
+
}, "drawImage"), m = /* @__PURE__ */ n((s, t, e, r) => {
|
|
30
|
+
const a = s.append("use");
|
|
31
|
+
a.attr("x", t), a.attr("y", e);
|
|
32
|
+
const i = l.sanitizeUrl(r);
|
|
33
|
+
a.attr("xlink:href", `#${i}`);
|
|
34
|
+
}, "drawEmbeddedImage"), y = /* @__PURE__ */ n(() => ({
|
|
35
|
+
x: 0,
|
|
36
|
+
y: 0,
|
|
37
|
+
width: 100,
|
|
38
|
+
height: 100,
|
|
39
|
+
fill: "#EDF2AE",
|
|
40
|
+
stroke: "#666",
|
|
41
|
+
anchor: "start",
|
|
42
|
+
rx: 0,
|
|
43
|
+
ry: 0
|
|
44
|
+
}), "getNoteRect"), p = /* @__PURE__ */ n(() => ({
|
|
45
|
+
x: 0,
|
|
46
|
+
y: 0,
|
|
47
|
+
width: 100,
|
|
48
|
+
height: 100,
|
|
49
|
+
"text-anchor": "start",
|
|
50
|
+
style: "#666",
|
|
51
|
+
textMargin: 0,
|
|
52
|
+
rx: 0,
|
|
53
|
+
ry: 0,
|
|
54
|
+
tspan: !0
|
|
55
|
+
}), "getTextObj");
|
|
56
|
+
export {
|
|
57
|
+
d as a,
|
|
58
|
+
p as b,
|
|
59
|
+
m as c,
|
|
60
|
+
x as d,
|
|
61
|
+
h as e,
|
|
62
|
+
g as f,
|
|
63
|
+
y as g
|
|
64
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-Vs7GiQMf.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-BcyXo9oX.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-Vs7GiQMf.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-BcyXo9oX.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|
|
@@ -38,6 +38,10 @@ export default css `
|
|
|
38
38
|
animation-direction: alternate;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
:host-context(html[theme="light"]) .error {
|
|
42
|
+
animation: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
41
45
|
.context {
|
|
42
46
|
border-left: 5px solid var(--font-color-sub1);
|
|
43
47
|
}
|
|
@@ -71,6 +75,10 @@ export default css `
|
|
|
71
75
|
animation-iteration-count: infinite;
|
|
72
76
|
animation-direction: alternate;
|
|
73
77
|
}
|
|
78
|
+
|
|
79
|
+
:host-context(html[theme="light"]) .warning {
|
|
80
|
+
animation: none;
|
|
81
|
+
}
|
|
74
82
|
|
|
75
83
|
@keyframes errorGlow {
|
|
76
84
|
from {
|
|
@@ -51,7 +51,7 @@ let LoginButton = class LoginButton extends LitElement {
|
|
|
51
51
|
}
|
|
52
52
|
anonView() {
|
|
53
53
|
let action = html ` <sl-button @click="${this.openAuthModal}">
|
|
54
|
-
<sl-icon name="key" slot="prefix" style="font-size: 1rem"></sl-icon>
|
|
54
|
+
<sl-icon name="key" slot="prefix" style="font-size: 1rem" aria-hidden="true"></sl-icon>
|
|
55
55
|
${this.buttonLabel}
|
|
56
56
|
</sl-button>`;
|
|
57
57
|
if (this.textLink) {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
import { AuthController } from "../../controllers/auth-controller.js";
|
|
3
|
+
import './oauth-login.js';
|
|
4
|
+
import { OAuthLogin } from "./oauth-login";
|
|
3
5
|
export declare class LoginPanel extends LitElement {
|
|
4
6
|
static styles: import("lit").CSSResult[];
|
|
5
7
|
title: string;
|
|
6
8
|
redirect: string;
|
|
7
9
|
controller: AuthController;
|
|
10
|
+
animatebox: boolean;
|
|
11
|
+
oauthLogin: OAuthLogin;
|
|
8
12
|
constructor();
|
|
9
13
|
willUpdate(): void;
|
|
10
14
|
render(): import("lit-html").TemplateResult<1> | undefined;
|
|
@@ -5,21 +5,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { html, LitElement } from "lit";
|
|
8
|
-
import { customElement, property } from "lit/decorators.js";
|
|
8
|
+
import { customElement, property, query } from "lit/decorators.js";
|
|
9
9
|
import loginButtonCss from "./login-button.css.js";
|
|
10
|
+
import './oauth-login.js';
|
|
10
11
|
let LoginPanel = class LoginPanel extends LitElement {
|
|
11
12
|
constructor() {
|
|
12
13
|
super();
|
|
13
14
|
this.title = 'authenticate';
|
|
14
15
|
this.redirect = '/';
|
|
16
|
+
this.animatebox = false;
|
|
15
17
|
}
|
|
16
18
|
willUpdate() {
|
|
17
|
-
if (this.redirect !== '' && this.controller.urlCapture == '') {
|
|
19
|
+
if (this.controller && this.redirect !== '' && this.controller.urlCapture == '') {
|
|
18
20
|
this.controller.urlCapture = this.redirect;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
render() {
|
|
22
|
-
if (this.controller.authenticated) {
|
|
24
|
+
if (this.controller && this.controller.authenticated) {
|
|
23
25
|
if (this.redirect && this.redirect !== '') {
|
|
24
26
|
window.location.href = this.redirect;
|
|
25
27
|
return;
|
|
@@ -27,7 +29,7 @@ let LoginPanel = class LoginPanel extends LitElement {
|
|
|
27
29
|
return html ``;
|
|
28
30
|
}
|
|
29
31
|
return html `
|
|
30
|
-
<pb33f-oauth-login title="${this.title}"></pb33f-oauth-login>
|
|
32
|
+
<pb33f-oauth-login title="${this.title}" .animateBox=${this.animatebox}></pb33f-oauth-login>
|
|
31
33
|
`;
|
|
32
34
|
}
|
|
33
35
|
};
|
|
@@ -41,6 +43,12 @@ __decorate([
|
|
|
41
43
|
__decorate([
|
|
42
44
|
property()
|
|
43
45
|
], LoginPanel.prototype, "controller", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
property({ type: Boolean })
|
|
48
|
+
], LoginPanel.prototype, "animatebox", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
query('pb33f-oauth-login')
|
|
51
|
+
], LoginPanel.prototype, "oauthLogin", void 0);
|
|
44
52
|
LoginPanel = __decorate([
|
|
45
53
|
customElement('pb33f-login-panel')
|
|
46
54
|
], LoginPanel);
|
|
@@ -15,7 +15,9 @@ export declare class OAuthLogin extends LitElement {
|
|
|
15
15
|
buttonAnimation: SlAnimation;
|
|
16
16
|
githubButton: SlButton;
|
|
17
17
|
electricBox: ElectricBox;
|
|
18
|
+
private loginTimeout?;
|
|
18
19
|
constructor();
|
|
20
|
+
disconnectedCallback(): void;
|
|
19
21
|
githubLogin(): void;
|
|
20
22
|
render(): import("lit-html").TemplateResult<1>;
|
|
21
23
|
}
|
|
@@ -21,6 +21,12 @@ let OAuthLogin = class OAuthLogin extends LitElement {
|
|
|
21
21
|
this.orbs = true;
|
|
22
22
|
this.animateBox = false;
|
|
23
23
|
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
super.disconnectedCallback();
|
|
26
|
+
if (this.loginTimeout !== undefined) {
|
|
27
|
+
clearTimeout(this.loginTimeout);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
24
30
|
githubLogin() {
|
|
25
31
|
this.mintravel = 800;
|
|
26
32
|
this.maxtravel = 1200;
|
|
@@ -29,7 +35,10 @@ let OAuthLogin = class OAuthLogin extends LitElement {
|
|
|
29
35
|
this.githubButton.style.animation = 'spinFade 1s ease-out forwards';
|
|
30
36
|
this.githubButton.disabled = true;
|
|
31
37
|
this.instruction = 'hold on, accessing the grid...';
|
|
32
|
-
|
|
38
|
+
if (this.loginTimeout !== undefined) {
|
|
39
|
+
clearTimeout(this.loginTimeout);
|
|
40
|
+
}
|
|
41
|
+
this.loginTimeout = window.setTimeout(() => {
|
|
33
42
|
this.dispatchEvent(new CustomEvent(AuthenticationGithubRequested, {
|
|
34
43
|
bubbles: true,
|
|
35
44
|
composed: true,
|
|
@@ -56,7 +65,7 @@ let OAuthLogin = class OAuthLogin extends LitElement {
|
|
|
56
65
|
<span class="select-provider">${this.instruction}</span>
|
|
57
66
|
|
|
58
67
|
<sl-button @click="${this.githubLogin}" id="github-button">
|
|
59
|
-
<sl-icon name="github" slot="prefix"></sl-icon>
|
|
68
|
+
<sl-icon name="github" slot="prefix" aria-hidden="true"></sl-icon>
|
|
60
69
|
GitHub
|
|
61
70
|
</sl-button>
|
|
62
71
|
|
|
@@ -90,7 +99,7 @@ __decorate([
|
|
|
90
99
|
state()
|
|
91
100
|
], OAuthLogin.prototype, "orbs", void 0);
|
|
92
101
|
__decorate([
|
|
93
|
-
|
|
102
|
+
property({ type: Boolean })
|
|
94
103
|
], OAuthLogin.prototype, "animateBox", void 0);
|
|
95
104
|
__decorate([
|
|
96
105
|
query('#button-anim')
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* abstract base class that provides broker ID functionality to components.
|
|
4
|
+
* this class extends LitElement and provides a common getBrokerId() method
|
|
5
|
+
* that searches for TheDoctor instance to retrieve the broker connection ID.
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class Brokerable extends LitElement {
|
|
8
|
+
private _cachedBrokerId;
|
|
9
|
+
/**
|
|
10
|
+
* gets the broker ID from TheDoctor instance.
|
|
11
|
+
* caches the result to avoid repeated DOM queries.
|
|
12
|
+
* searches ancestors first (O(log n)) before falling back to full DOM scan (O(n)).
|
|
13
|
+
* @returns the broker connection ID if available, undefined otherwise
|
|
14
|
+
*/
|
|
15
|
+
protected getBrokerId(): string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* invalidates the cached broker ID.
|
|
18
|
+
* call this if the broker connection changes and needs to be re-fetched.
|
|
19
|
+
*/
|
|
20
|
+
protected invalidateBrokerCache(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* abstract base class that provides broker ID functionality to components.
|
|
4
|
+
* this class extends LitElement and provides a common getBrokerId() method
|
|
5
|
+
* that searches for TheDoctor instance to retrieve the broker connection ID.
|
|
6
|
+
*/
|
|
7
|
+
export class Brokerable extends LitElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this._cachedBrokerId = null;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* gets the broker ID from TheDoctor instance.
|
|
14
|
+
* caches the result to avoid repeated DOM queries.
|
|
15
|
+
* searches ancestors first (O(log n)) before falling back to full DOM scan (O(n)).
|
|
16
|
+
* @returns the broker connection ID if available, undefined otherwise
|
|
17
|
+
*/
|
|
18
|
+
getBrokerId() {
|
|
19
|
+
// return cached value if available
|
|
20
|
+
if (this._cachedBrokerId !== null) {
|
|
21
|
+
return this._cachedBrokerId;
|
|
22
|
+
}
|
|
23
|
+
// check ancestors first to avoid full DOM scan in common case
|
|
24
|
+
let doc = this.closest('pb33f-doctor');
|
|
25
|
+
if (!doc) {
|
|
26
|
+
// fall back to full DOM search if not found in ancestors
|
|
27
|
+
doc = document.querySelector('pb33f-doctor');
|
|
28
|
+
}
|
|
29
|
+
this._cachedBrokerId = doc?.brokerController?.brokerConnectionId;
|
|
30
|
+
return this._cachedBrokerId;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* invalidates the cached broker ID.
|
|
34
|
+
* call this if the broker connection changes and needs to be re-fetched.
|
|
35
|
+
*/
|
|
36
|
+
invalidateBrokerCache() {
|
|
37
|
+
this._cachedBrokerId = null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export default css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.bundle-toolbar {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
padding: 10px 2px;
|
|
13
|
+
margin-bottom: 5px;
|
|
14
|
+
border-bottom: 1px dashed var(--secondary-color-dimmer);
|
|
15
|
+
background-color: var(--background-color);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bundle-button {
|
|
19
|
+
float: left;
|
|
20
|
+
color: var(--warn-color);
|
|
21
|
+
border: 1px solid var(--warn-color);
|
|
22
|
+
animation: bundle-pulse 1.5s infinite;
|
|
23
|
+
height: 22px;
|
|
24
|
+
margin-right: 20px;
|
|
25
|
+
background-color: var(--background-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.bundle-button::part(base) {
|
|
29
|
+
padding: 0 8px;
|
|
30
|
+
border: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
min-height: unset;
|
|
33
|
+
margin-top: 0;
|
|
34
|
+
height: 100%;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
color: var(--warn-color);
|
|
39
|
+
font-size: 0.75rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bundle-button::part(label) {
|
|
43
|
+
text-transform: uppercase;
|
|
44
|
+
letter-spacing: 0.05em;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.bundle-button:hover {
|
|
48
|
+
animation: none;
|
|
49
|
+
background-color: var(--warn-color);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.bundle-button:hover::part(base) {
|
|
53
|
+
background: transparent;
|
|
54
|
+
color: var(--background-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.bundle-button:active {
|
|
58
|
+
border-color: var(--warn-color);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.bundle-button:active::part(base) {
|
|
62
|
+
border: none;
|
|
63
|
+
background: transparent;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bundle-button:disabled,
|
|
67
|
+
.bundle-button[disabled] {
|
|
68
|
+
animation: none;
|
|
69
|
+
opacity: 0.6;
|
|
70
|
+
cursor: not-allowed;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.bundle-button:disabled::part(base),
|
|
74
|
+
.bundle-button[disabled]::part(base) {
|
|
75
|
+
color: var(--warn-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@keyframes bundle-pulse {
|
|
79
|
+
0% {
|
|
80
|
+
box-shadow: 0 0 0 0 var(--warn-color);
|
|
81
|
+
}
|
|
82
|
+
100% {
|
|
83
|
+
box-shadow: 0 0 0 8px transparent;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.action-buttons {
|
|
88
|
+
float: right;
|
|
89
|
+
margin-right: 5px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.action-button {
|
|
93
|
+
font-size: 1rem;
|
|
94
|
+
color: var(--primary-color);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.action-button::part(base) {
|
|
98
|
+
padding: 2px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.action-button::part(base):hover {
|
|
102
|
+
color: var(--font-color);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
sl-spinner {
|
|
106
|
+
font-size: 0.75rem;
|
|
107
|
+
--indicator-color: var(--warn-color);
|
|
108
|
+
--track-color: transparent;
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@shoelace-style/shoelace/dist/components/button/button.js';
|
|
3
|
+
import '@shoelace-style/shoelace/dist/components/icon-button/icon-button.js';
|
|
4
|
+
import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
|
|
5
|
+
import '@shoelace-style/shoelace/dist/components/spinner/spinner.js';
|
|
6
|
+
import '../premium-gate/premium-gate.js';
|
|
7
|
+
export declare class BundleToolbar extends LitElement {
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
9
|
+
isBundled: boolean;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
private handleBundleClick;
|
|
12
|
+
private handleDownload;
|
|
13
|
+
private handleCopy;
|
|
14
|
+
private renderActionButtons;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
declare global {
|
|
18
|
+
interface HTMLElementTagNameMap {
|
|
19
|
+
'pb33f-bundle-toolbar': BundleToolbar;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, nothing } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import '@shoelace-style/shoelace/dist/components/button/button.js';
|
|
10
|
+
import '@shoelace-style/shoelace/dist/components/icon-button/icon-button.js';
|
|
11
|
+
import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
|
|
12
|
+
import '@shoelace-style/shoelace/dist/components/spinner/spinner.js';
|
|
13
|
+
import '../premium-gate/premium-gate.js';
|
|
14
|
+
import buttonCss from '../../css/button.css.js';
|
|
15
|
+
import bundleToolbarCss from './bundle-toolbar.css.js';
|
|
16
|
+
import tooltipCss from '../../css/tooltip.css.js';
|
|
17
|
+
import { BundleRequested, BundleDownloadRequested, BundleCopyRequested } from '../../events/doctor.js';
|
|
18
|
+
let BundleToolbar = class BundleToolbar extends LitElement {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.isBundled = false;
|
|
22
|
+
this.loading = false;
|
|
23
|
+
}
|
|
24
|
+
handleBundleClick() {
|
|
25
|
+
this.dispatchEvent(new CustomEvent(BundleRequested, {
|
|
26
|
+
bubbles: true,
|
|
27
|
+
composed: true
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
handleDownload() {
|
|
31
|
+
this.dispatchEvent(new CustomEvent(BundleDownloadRequested, {
|
|
32
|
+
bubbles: true,
|
|
33
|
+
composed: true
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
handleCopy() {
|
|
37
|
+
this.dispatchEvent(new CustomEvent(BundleCopyRequested, {
|
|
38
|
+
bubbles: true,
|
|
39
|
+
composed: true
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
renderActionButtons() {
|
|
43
|
+
return html `
|
|
44
|
+
<div class="action-buttons">
|
|
45
|
+
<sl-icon-button
|
|
46
|
+
name="download"
|
|
47
|
+
class="action-button"
|
|
48
|
+
@click="${this.handleDownload}"
|
|
49
|
+
aria-label="Download bundled specification">
|
|
50
|
+
</sl-icon-button>
|
|
51
|
+
<sl-icon-button
|
|
52
|
+
name="clipboard"
|
|
53
|
+
class="action-button"
|
|
54
|
+
@click="${this.handleCopy}"
|
|
55
|
+
aria-label="Copy bundled specification to clipboard">
|
|
56
|
+
</sl-icon-button>
|
|
57
|
+
</div>
|
|
58
|
+
`;
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
const buttonLabel = this.isBundled ? 'RE-BUNDLE SPEC' : 'BUNDLE SPEC';
|
|
62
|
+
return html `
|
|
63
|
+
<div class="bundle-toolbar">
|
|
64
|
+
<pb33f-premium-gate
|
|
65
|
+
require-credits="1"
|
|
66
|
+
feature-name="Bundle OpenAPI Spec"
|
|
67
|
+
feature-explanation="Bundling combines all external references into a single file, making it easier to share and work with your OpenAPI specification.">
|
|
68
|
+
<sl-button
|
|
69
|
+
size="small"
|
|
70
|
+
class="bundle-button"
|
|
71
|
+
?disabled="${this.loading}"
|
|
72
|
+
aria-label="Bundle the OpenAPI specification into a single file"
|
|
73
|
+
aria-busy="${this.loading}"
|
|
74
|
+
@click="${this.handleBundleClick}">
|
|
75
|
+
${this.loading ? html `<sl-spinner></sl-spinner>` : buttonLabel}
|
|
76
|
+
</sl-button>
|
|
77
|
+
${this.isBundled ? this.renderActionButtons() : nothing}
|
|
78
|
+
</pb33f-premium-gate>
|
|
79
|
+
</div>
|
|
80
|
+
`;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
BundleToolbar.styles = [buttonCss, bundleToolbarCss, tooltipCss];
|
|
84
|
+
__decorate([
|
|
85
|
+
property({ type: Boolean })
|
|
86
|
+
], BundleToolbar.prototype, "isBundled", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
property({ type: Boolean })
|
|
89
|
+
], BundleToolbar.prototype, "loading", void 0);
|
|
90
|
+
BundleToolbar = __decorate([
|
|
91
|
+
customElement('pb33f-bundle-toolbar')
|
|
92
|
+
], BundleToolbar);
|
|
93
|
+
export { BundleToolbar };
|
|
@@ -8,7 +8,9 @@ export declare class ChangelogComponent extends LitElement {
|
|
|
8
8
|
summaries: ReleaseSummary[];
|
|
9
9
|
private error;
|
|
10
10
|
private _linked;
|
|
11
|
+
private openTimeout?;
|
|
11
12
|
constructor();
|
|
13
|
+
disconnectedCallback(): void;
|
|
12
14
|
connectedCallback(): void;
|
|
13
15
|
extractHash(): void;
|
|
14
16
|
fetchChangelogSummary(): Promise<any>;
|
|
@@ -18,6 +18,12 @@ let ChangelogComponent = class ChangelogComponent extends LitElement {
|
|
|
18
18
|
super();
|
|
19
19
|
this.apiURL = 'https://api.pb33f.io/release-notes/';
|
|
20
20
|
}
|
|
21
|
+
disconnectedCallback() {
|
|
22
|
+
super.disconnectedCallback();
|
|
23
|
+
if (this.openTimeout !== undefined) {
|
|
24
|
+
clearTimeout(this.openTimeout);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
21
27
|
connectedCallback() {
|
|
22
28
|
super.connectedCallback();
|
|
23
29
|
this.fetchChangelogSummary()
|
|
@@ -96,7 +102,10 @@ let ChangelogComponent = class ChangelogComponent extends LitElement {
|
|
|
96
102
|
</pb33f-timeline-item-ch>`);
|
|
97
103
|
}
|
|
98
104
|
if (selectedDetails) {
|
|
99
|
-
|
|
105
|
+
if (this.openTimeout !== undefined) {
|
|
106
|
+
clearTimeout(this.openTimeout);
|
|
107
|
+
}
|
|
108
|
+
this.openTimeout = window.setTimeout(() => {
|
|
100
109
|
selectedDetails?.open();
|
|
101
110
|
});
|
|
102
111
|
}
|