@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.22 → 2.2.0-next.23
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/custom-elements-manifest.config.mjs +2 -1
- package/custom-elements.json +312 -17
- package/llms/components/obc-accordion-card.md +141 -0
- package/llms/components/obc-accordion-item.md +90 -0
- package/llms/components/obc-advice-button.md +87 -0
- package/llms/components/obc-advice-floating-item.md +113 -0
- package/llms/components/obc-advice-menu-item.md +87 -0
- package/llms/components/obc-advice-message-item.md +138 -0
- package/llms/components/obc-alert-button-item.md +117 -0
- package/llms/components/obc-alert-button.md +134 -0
- package/llms/components/obc-alert-counter-item.md +74 -0
- package/llms/components/obc-alert-detail-page.md +45 -0
- package/llms/components/obc-alert-floating-item.md +53 -0
- package/llms/components/obc-alert-frame.md +142 -0
- package/llms/components/obc-alert-icon.md +79 -0
- package/llms/components/obc-alert-list-details-experimental.md +89 -0
- package/llms/components/obc-alert-list-details.md +38 -0
- package/llms/components/obc-alert-list-page-small.md +39 -0
- package/llms/components/obc-alert-list.md +37 -0
- package/llms/components/obc-alert-menu-item.md +128 -0
- package/llms/components/obc-alert-menu.md +115 -0
- package/llms/components/obc-alert-subsystem-button.md +88 -0
- package/llms/components/obc-alert-subsystem-counter.md +110 -0
- package/llms/components/obc-analog-threeway-valve.md +106 -0
- package/llms/components/obc-analog-valve.md +74 -0
- package/llms/components/obc-app-button.md +83 -0
- package/llms/components/obc-app-menu.md +69 -0
- package/llms/components/obc-area-graph.md +333 -0
- package/llms/components/obc-attachment-list-item.md +49 -0
- package/llms/components/obc-audio-output.md +59 -0
- package/llms/components/obc-audio-recording-item.md +91 -0
- package/llms/components/obc-automation-badge.md +66 -0
- package/llms/components/obc-automation-button-readout-stack.md +71 -0
- package/llms/components/obc-automation-button.md +86 -0
- package/llms/components/obc-automation-input-modal.md +48 -0
- package/llms/components/obc-automation-readout.md +32 -0
- package/llms/components/obc-automation-tank.md +156 -0
- package/llms/components/obc-azimuth-thruster-labeled.md +56 -0
- package/llms/components/obc-azimuth-thruster.md +80 -0
- package/llms/components/obc-badge-command.md +26 -0
- package/llms/components/obc-badge.md +151 -0
- package/llms/components/obc-bar-horizontal.md +123 -0
- package/llms/components/obc-bar-vertical.md +125 -0
- package/llms/components/obc-battery-icon.md +38 -0
- package/llms/components/obc-bearing-indicator.md +27 -0
- package/llms/components/obc-bipolar-transistor.md +64 -0
- package/llms/components/obc-breadcrumb.md +58 -0
- package/llms/components/obc-brilliance-menu.md +115 -0
- package/llms/components/obc-bus.md +64 -0
- package/llms/components/obc-button.md +110 -0
- package/llms/components/obc-calendar.md +91 -0
- package/llms/components/obc-capacitor.md +64 -0
- package/llms/components/obc-card.md +103 -0
- package/llms/components/obc-chart-object-vessel-button.md +103 -0
- package/llms/components/obc-chat-message.md +35 -0
- package/llms/components/obc-check-button.md +104 -0
- package/llms/components/obc-checkbox-item.md +95 -0
- package/llms/components/obc-checkbox-list.md +73 -0
- package/llms/components/obc-checkbox.md +97 -0
- package/llms/components/obc-circular-progress.md +36 -0
- package/llms/components/obc-clock.md +86 -0
- package/llms/components/obc-command-button.md +56 -0
- package/llms/components/obc-command-menu.md +135 -0
- package/llms/components/obc-communication-table.md +31 -0
- package/llms/components/obc-compass-flat.md +79 -0
- package/llms/components/obc-compass-indicator.md +61 -0
- package/llms/components/obc-compass-sector.md +110 -0
- package/llms/components/obc-compass.md +157 -0
- package/llms/components/obc-context-menu-input.md +191 -0
- package/llms/components/obc-converter.md +64 -0
- package/llms/components/obc-corner-line.md +29 -0
- package/llms/components/obc-current.md +79 -0
- package/llms/components/obc-damper.md +62 -0
- package/llms/components/obc-date-item.md +66 -0
- package/llms/components/obc-depth-actual.md +69 -0
- package/llms/components/obc-depth-indicator.md +31 -0
- package/llms/components/obc-depth-top-band.md +43 -0
- package/llms/components/obc-depth.md +94 -0
- package/llms/components/obc-diagnostic-button.md +71 -0
- package/llms/components/obc-diagnostic-menu.md +88 -0
- package/llms/components/obc-digital-threeway-valve.md +112 -0
- package/llms/components/obc-digital-valve.md +78 -0
- package/llms/components/obc-diodes.md +64 -0
- package/llms/components/obc-direction-line.md +28 -0
- package/llms/components/obc-divider.md +44 -0
- package/llms/components/obc-donut-chart.md +116 -0
- package/llms/components/obc-draft-trim.md +67 -0
- package/llms/components/obc-dropdown-button.md +99 -0
- package/llms/components/obc-electricity-battery.md +83 -0
- package/llms/components/obc-elevated-card-radio-group.md +103 -0
- package/llms/components/obc-elevated-card-radio.md +104 -0
- package/llms/components/obc-elevated-card.md +146 -0
- package/llms/components/obc-end-point-line.md +29 -0
- package/llms/components/obc-event-item.md +47 -0
- package/llms/components/obc-event-list.md +37 -0
- package/llms/components/obc-fan.md +68 -0
- package/llms/components/obc-filter-chip.md +91 -0
- package/llms/components/obc-filter.md +64 -0
- package/llms/components/obc-floating-item.md +125 -0
- package/llms/components/obc-form-container.md +45 -0
- package/llms/components/obc-form-footer-container.md +34 -0
- package/llms/components/obc-form-group.md +80 -0
- package/llms/components/obc-form-item.md +95 -0
- package/llms/components/obc-gauge-bar-indicator.md +46 -0
- package/llms/components/obc-gauge-generator.md +102 -0
- package/llms/components/obc-gauge-horizontal.md +169 -0
- package/llms/components/obc-gauge-motors-and-pumps.md +110 -0
- package/llms/components/obc-gauge-proportional.md +134 -0
- package/llms/components/obc-gauge-radial-indicator.md +76 -0
- package/llms/components/obc-gauge-radial.md +163 -0
- package/llms/components/obc-gauge-trend-indicator.md +53 -0
- package/llms/components/obc-gauge-trend.md +271 -0
- package/llms/components/obc-gauge-valve.md +114 -0
- package/llms/components/obc-gauge-vertical.md +169 -0
- package/llms/components/obc-gnss-skyplot.md +80 -0
- package/llms/components/obc-graph-mini.md +28 -0
- package/llms/components/obc-ground.md +64 -0
- package/llms/components/obc-heading-indicator.md +42 -0
- package/llms/components/obc-heading.md +106 -0
- package/llms/components/obc-heat-exchanger.md +80 -0
- package/llms/components/obc-heat-pump.md +79 -0
- package/llms/components/obc-heave-indicator.md +38 -0
- package/llms/components/obc-heave.md +60 -0
- package/llms/components/obc-horizontal-line.md +29 -0
- package/llms/components/obc-hydraulic-check-valve.md +36 -0
- package/llms/components/obc-hydraulic-separator.md +80 -0
- package/llms/components/obc-hydraulic-valve-4-3.md +71 -0
- package/llms/components/obc-hydraulic-valve-x-2.md +68 -0
- package/llms/components/obc-icon-button.md +117 -0
- package/llms/components/obc-icon-check-button.md +85 -0
- package/llms/components/obc-indicator-battery.md +69 -0
- package/llms/components/obc-indicator-engine.md +39 -0
- package/llms/components/obc-indicator-generator.md +59 -0
- package/llms/components/obc-indicator-graph.md +33 -0
- package/llms/components/obc-indicator-tank-atmospheric.md +69 -0
- package/llms/components/obc-input-chip.md +96 -0
- package/llms/components/obc-instrument-field.md +172 -0
- package/llms/components/obc-instrument-radial.md +77 -0
- package/llms/components/obc-integration-app-bar.md +41 -0
- package/llms/components/obc-integration-bar-dropdown.md +71 -0
- package/llms/components/obc-integration-bar.md +72 -0
- package/llms/components/obc-integration-button.md +62 -0
- package/llms/components/obc-integration-dropdown-button.md +75 -0
- package/llms/components/obc-integration-fleet-button.md +41 -0
- package/llms/components/obc-integration-tabs.md +28 -0
- package/llms/components/obc-integration-vessel-menu.md +58 -0
- package/llms/components/obc-integration-vessel-selector.md +32 -0
- package/llms/components/obc-keyboard-full.md +175 -0
- package/llms/components/obc-keyboard-numeric.md +77 -0
- package/llms/components/obc-line-cross.md +28 -0
- package/llms/components/obc-line-graph.md +164 -0
- package/llms/components/obc-line-overlap.md +28 -0
- package/llms/components/obc-logic.md +64 -0
- package/llms/components/obc-main-engine-indicator.md +55 -0
- package/llms/components/obc-main-engine.md +54 -0
- package/llms/components/obc-menu-button.md +158 -0
- package/llms/components/obc-message-menu-item.md +165 -0
- package/llms/components/obc-modal-window.md +139 -0
- package/llms/components/obc-mosfet.md +64 -0
- package/llms/components/obc-motor.md +73 -0
- package/llms/components/obc-navigation-item-group.md +82 -0
- package/llms/components/obc-navigation-item.md +138 -0
- package/llms/components/obc-navigation-menu.md +135 -0
- package/llms/components/obc-non-return-valve.md +79 -0
- package/llms/components/obc-notification-badge-button.md +87 -0
- package/llms/components/obc-notification-button.md +92 -0
- package/llms/components/obc-notification-floating-item.md +121 -0
- package/llms/components/obc-notification-menu-item.md +87 -0
- package/llms/components/obc-notification-message-item.md +127 -0
- package/llms/components/obc-number-input-field.md +97 -0
- package/llms/components/obc-pagination.md +95 -0
- package/llms/components/obc-pie-chart.md +120 -0
- package/llms/components/obc-pitch-indicator.md +39 -0
- package/llms/components/obc-pitch-roll-heave.md +86 -0
- package/llms/components/obc-pitch-roll-yaw.md +72 -0
- package/llms/components/obc-pitch-roll.md +63 -0
- package/llms/components/obc-pitch.md +81 -0
- package/llms/components/obc-pivot-item-group.md +79 -0
- package/llms/components/obc-pivot-item.md +75 -0
- package/llms/components/obc-poi-aton.md +68 -0
- package/llms/components/obc-poi-button-aton.md +54 -0
- package/llms/components/obc-poi-button-data.md +53 -0
- package/llms/components/obc-poi-button-vessel.md +55 -0
- package/llms/components/obc-poi-button.md +94 -0
- package/llms/components/obc-poi-card-header.md +90 -0
- package/llms/components/obc-poi-card.md +110 -0
- package/llms/components/obc-poi-controller.md +151 -0
- package/llms/components/obc-poi-data.md +72 -0
- package/llms/components/obc-poi-graphic-line.md +70 -0
- package/llms/components/obc-poi-group.md +85 -0
- package/llms/components/obc-poi-header.md +71 -0
- package/llms/components/obc-poi-layer-stack.md +85 -0
- package/llms/components/obc-poi-layer.md +110 -0
- package/llms/components/obc-poi-line.md +70 -0
- package/llms/components/obc-poi-object-aton.md +45 -0
- package/llms/components/obc-poi-object-data.md +48 -0
- package/llms/components/obc-poi-object-vessel.md +95 -0
- package/llms/components/obc-poi-object.md +82 -0
- package/llms/components/obc-poi-pointer.md +70 -0
- package/llms/components/obc-poi-selection-frame.md +66 -0
- package/llms/components/obc-poi-vessel.md +70 -0
- package/llms/components/obc-poi.md +140 -0
- package/llms/components/obc-polar-chart.md +126 -0
- package/llms/components/obc-position-deviation.md +84 -0
- package/llms/components/obc-pressure-reduction-valve.md +88 -0
- package/llms/components/obc-pressure-sustain-valve.md +85 -0
- package/llms/components/obc-progress-bar.md +102 -0
- package/llms/components/obc-progress-button.md +111 -0
- package/llms/components/obc-progress-indicator-dots.md +57 -0
- package/llms/components/obc-propulsion-azimuth-indicator.md +48 -0
- package/llms/components/obc-pump.md +76 -0
- package/llms/components/obc-radial-bar-chart.md +103 -0
- package/llms/components/obc-radio.md +82 -0
- package/llms/components/obc-rate-of-turn.md +95 -0
- package/llms/components/obc-readout-block.md +137 -0
- package/llms/components/obc-readout-list-item.md +142 -0
- package/llms/components/obc-readout-list.md +85 -0
- package/llms/components/obc-readout.md +169 -0
- package/llms/components/obc-resistor.md +64 -0
- package/llms/components/obc-rich-button.md +92 -0
- package/llms/components/obc-roll-indicator.md +38 -0
- package/llms/components/obc-roll.md +56 -0
- package/llms/components/obc-rot-indicator.md +32 -0
- package/llms/components/obc-rot-linear.md +68 -0
- package/llms/components/obc-rot-sector.md +125 -0
- package/llms/components/obc-router.md +64 -0
- package/llms/components/obc-rudder-indicator.md +54 -0
- package/llms/components/obc-rudder.md +112 -0
- package/llms/components/obc-ruler-pointer.md +57 -0
- package/llms/components/obc-scrollbar.md +57 -0
- package/llms/components/obc-sequence-card.md +119 -0
- package/llms/components/obc-sequence-connector.md +70 -0
- package/llms/components/obc-sequence-item.md +64 -0
- package/llms/components/obc-sequence-loading-spinner.md +70 -0
- package/llms/components/obc-sequence-modal.md +89 -0
- package/llms/components/obc-sequence-step.md +48 -0
- package/llms/components/obc-sequence-toolbar.md +108 -0
- package/llms/components/obc-slide-button.md +111 -0
- package/llms/components/obc-slider-double.md +137 -0
- package/llms/components/obc-slider.md +143 -0
- package/llms/components/obc-source.md +64 -0
- package/llms/components/obc-speed-arrows.md +39 -0
- package/llms/components/obc-speed-directions.md +66 -0
- package/llms/components/obc-speed-gauge.md +124 -0
- package/llms/components/obc-speed-indicator.md +37 -0
- package/llms/components/obc-split-button.md +144 -0
- package/llms/components/obc-start-stop-switch.md +126 -0
- package/llms/components/obc-status-indicator.md +30 -0
- package/llms/components/obc-stepper-box.md +90 -0
- package/llms/components/obc-surge-sway-yaw.md +95 -0
- package/llms/components/obc-switch.md +69 -0
- package/llms/components/obc-system-button.md +112 -0
- package/llms/components/obc-system-menu.md +67 -0
- package/llms/components/obc-tab-item.md +161 -0
- package/llms/components/obc-tab-row.md +151 -0
- package/llms/components/obc-tabbed-card.md +148 -0
- package/llms/components/obc-table-header-item.md +42 -0
- package/llms/components/obc-table.md +124 -0
- package/llms/components/obc-tag.md +41 -0
- package/llms/components/obc-text-input-field.md +94 -0
- package/llms/components/obc-textarea-field.md +186 -0
- package/llms/components/obc-textbox.md +80 -0
- package/llms/components/obc-three-way-line.md +29 -0
- package/llms/components/obc-thruster.md +64 -0
- package/llms/components/obc-title-container.md +81 -0
- package/llms/components/obc-toggle-button-group.md +184 -0
- package/llms/components/obc-toggle-button-option.md +126 -0
- package/llms/components/obc-toggle-button-three-state.md +38 -0
- package/llms/components/obc-toggle-button-vertical-group.md +142 -0
- package/llms/components/obc-toggle-button-vertical-option.md +110 -0
- package/llms/components/obc-toggle-switch.md +126 -0
- package/llms/components/obc-toggletip.md +135 -0
- package/llms/components/obc-tooltip.md +106 -0
- package/llms/components/obc-top-bar.md +194 -0
- package/llms/components/obc-top-view-propulsion.md +84 -0
- package/llms/components/obc-topbar-message-item.md +150 -0
- package/llms/components/obc-transformer.md +64 -0
- package/llms/components/obc-transmitter-button.md +101 -0
- package/llms/components/obc-transmitter-stack.md +79 -0
- package/llms/components/obc-transmitter.md +114 -0
- package/llms/components/obc-tree-navigation-group.md +69 -0
- package/llms/components/obc-tree-navigation-item.md +110 -0
- package/llms/components/obc-tree-navigation.md +73 -0
- package/llms/components/obc-tunnel-thruster.md +59 -0
- package/llms/components/obc-user-button.md +107 -0
- package/llms/components/obc-user-menu.md +154 -0
- package/llms/components/obc-valve-analog-three-way-icon.md +69 -0
- package/llms/components/obc-valve-analog-two-way-icon.md +39 -0
- package/llms/components/obc-velocity-projection-plot.md +34 -0
- package/llms/components/obc-vendor-button.md +63 -0
- package/llms/components/obc-vertical-line.md +33 -0
- package/llms/components/obc-watch-flat.md +54 -0
- package/llms/components/obc-watch.md +206 -0
- package/llms/components/obc-wind-indicator.md +52 -0
- package/llms/components/obc-wind-propulsion.md +92 -0
- package/llms/components/obc-wind.md +46 -0
- package/llms/docs/ar-poi-projection.md +36 -0
- package/llms/docs/automation-sequence-step-diagram-playground.md +13 -0
- package/llms/docs/building-blocks-advice.md +31 -0
- package/llms/docs/building-blocks-external-scale.md +138 -0
- package/llms/docs/building-blocks-setpoint.md +119 -0
- package/llms/docs/introduction-advice-system.md +161 -0
- package/llms/docs/introduction-getting-started.md +94 -0
- package/llms/docs/introduction-introduction.md +27 -0
- package/llms/docs/introduction-join-the-project.md +11 -0
- package/llms/docs/introduction-migration-guide-2-0-to-2-1.md +126 -0
- package/llms/docs/introduction-migration-guide-2-1-to-2-2.md +106 -0
- package/llms/docs/introduction-migration-guide.md +1063 -0
- package/llms/docs/palettes-categorical-colour.md +9 -0
- package/llms/llms-full.txt +28380 -0
- package/llms/llms.txt +368 -0
- package/package.json +12 -2
- package/script/cem-plugins/lifecycle.d.mts +6 -0
- package/script/cem-plugins/lifecycle.mjs +48 -0
- package/script/cem-plugins.test.ts +52 -1
- package/script/generate-llms-txt.ts +34 -0
- package/script/llms/channel.test.ts +69 -0
- package/script/llms/channel.ts +63 -0
- package/script/llms/generate.test.ts +143 -0
- package/script/llms/generate.ts +229 -0
- package/script/llms/manifest.test.ts +160 -0
- package/script/llms/manifest.ts +109 -0
- package/script/llms/markdown.test.ts +22 -0
- package/script/llms/markdown.ts +37 -0
- package/script/llms/mdx.test.ts +172 -0
- package/script/llms/mdx.ts +171 -0
- package/script/llms/render-component.test.ts +290 -0
- package/script/llms/render-component.ts +208 -0
- package/script/llms/render-guides.test.ts +105 -0
- package/script/llms/render-guides.ts +51 -0
- package/script/llms/render-llms-txt.test.ts +222 -0
- package/script/llms/render-llms-txt.ts +185 -0
- package/script/llms/sources.test.ts +118 -0
- package/script/llms/sources.ts +89 -0
- package/script/llms/stories.test.ts +193 -0
- package/script/llms/stories.ts +256 -0
- package/script/llms/types.ts +95 -0
- package/script/prepare-full-bundle.ts +1 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# `<obc-poi-line>`
|
|
2
|
+
|
|
3
|
+
Connector line wrapper that combines a POI line graphic with an optional end dot.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-building-blocks-poi-line--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/building-blocks/poi-line/poi-line.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-line>` - Connector line wrapper that combines a POI line graphic with an optional end dot.
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Use this component to render a marker stem, leader line, or tether between a target and its label/button.
|
|
11
|
+
It wraps `obc-poi-graphic-line` and can add a pointer dot at the line end.
|
|
12
|
+
|
|
13
|
+
## Features/Variants
|
|
14
|
+
- `height` (default `96`): Controls the connector length.
|
|
15
|
+
- `poiStyle` (default `normal`): Selects the visual style token used by `getPOILineConfig(...)`.
|
|
16
|
+
- `lineType` (default `regular`): Selects regular or dashed line treatment.
|
|
17
|
+
- `offset` (default `0`): Bends the line horizontally by shifting the line end.
|
|
18
|
+
- `hasPointer` (default `false`): Renders an end dot/pointer.
|
|
19
|
+
- `animatePosition` (default `false`): Uses a short transition duration for position updates.
|
|
20
|
+
|
|
21
|
+
## Usage Guidelines
|
|
22
|
+
- Use `<obc-poi-line>` when you need both the connector and optional end-dot in one primitive.
|
|
23
|
+
- Use `<obc-poi-graphic-line>` directly when you only need the raw line SVG.
|
|
24
|
+
- Keep `height` and `offset` finite for predictable geometry.
|
|
25
|
+
|
|
26
|
+
## Slots/Content
|
|
27
|
+
This component has no slots.
|
|
28
|
+
|
|
29
|
+
## Events
|
|
30
|
+
This component does not emit custom events.
|
|
31
|
+
|
|
32
|
+
## Best Practices
|
|
33
|
+
- Keep offsets minimal so the visual relationship between source and target stays clear.
|
|
34
|
+
- Drive `poiStyle` and `lineType` from state tokens instead of hardcoded CSS overrides.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
```html
|
|
38
|
+
<obc-poi-line
|
|
39
|
+
height="96"
|
|
40
|
+
.poiStyle=${POIStyle.Regular}
|
|
41
|
+
.lineType=${POILineType.Regular}
|
|
42
|
+
.hasPointer=${true}
|
|
43
|
+
></obc-poi-line>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Properties
|
|
47
|
+
|
|
48
|
+
| Property | Attribute | Type | Default | Description |
|
|
49
|
+
| --- | --- | --- | --- | --- |
|
|
50
|
+
| height | height | `number` | `96` | |
|
|
51
|
+
| poiStyle | poiStyle | `POIStyle` | | |
|
|
52
|
+
| lineType | lineType | `POILineType` | | |
|
|
53
|
+
| offset | offset | `number` | `0` | |
|
|
54
|
+
| hasPointer | hasPointer | `boolean` | `false` | |
|
|
55
|
+
| animatePosition | animatePosition | `boolean` | `false` | |
|
|
56
|
+
|
|
57
|
+
## Events
|
|
58
|
+
|
|
59
|
+
None.
|
|
60
|
+
|
|
61
|
+
## Slots
|
|
62
|
+
|
|
63
|
+
None.
|
|
64
|
+
|
|
65
|
+
## Stories
|
|
66
|
+
|
|
67
|
+
- [Normal](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-line--normal)
|
|
68
|
+
- [Offset](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-line--offset)
|
|
69
|
+
- [Enhanced](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-line--enhanced)
|
|
70
|
+
- [All Styles](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-line--all-styles)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# `<obc-poi-object-aton>`
|
|
2
|
+
|
|
3
|
+
No summary yet.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-poi-object-poi-object-aton--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/poi-object/poi-object-aton.ts)
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
| Property | Attribute | Type | Default | Description |
|
|
10
|
+
| --- | --- | --- | --- | --- |
|
|
11
|
+
| type | type | `ObcPoiObjectAtonType` | | |
|
|
12
|
+
| objectStyle | objectStyle | `ObcPoiObjectStyle` | | |
|
|
13
|
+
| baseType | | `ObcPoiObjectType` | | Maps subclass-specific type enum to base `ObcPoiObjectType`. Override in subclasses. |
|
|
14
|
+
| state | state | `ObcPoiObjectState` | | |
|
|
15
|
+
| interactive | interactive | `boolean` | `false` | |
|
|
16
|
+
| icon | | `TemplateResult` | | Icon template to render inside the POI object. Override in subclasses. |
|
|
17
|
+
|
|
18
|
+
## Events
|
|
19
|
+
|
|
20
|
+
None.
|
|
21
|
+
|
|
22
|
+
## Slots
|
|
23
|
+
|
|
24
|
+
| Slot | Description |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| (default) | Icon content rendered inside the POI object. |
|
|
27
|
+
|
|
28
|
+
## Stories
|
|
29
|
+
|
|
30
|
+
- [Default](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--default)
|
|
31
|
+
- [Indicator](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--indicator)
|
|
32
|
+
- [Regular](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--regular)
|
|
33
|
+
- [Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--large)
|
|
34
|
+
- [Ato N](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--ato-n)
|
|
35
|
+
- [N Up](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--n-up)
|
|
36
|
+
- [N Up Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--n-up-large)
|
|
37
|
+
- [All Types](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--all-types)
|
|
38
|
+
- [All Styles](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--all-styles)
|
|
39
|
+
- [All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--all-states)
|
|
40
|
+
- [Aton All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--aton-all-states)
|
|
41
|
+
- [Indicator All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-aton--indicator-all-states)
|
|
42
|
+
|
|
43
|
+
## See also
|
|
44
|
+
|
|
45
|
+
- [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# `<obc-poi-object-data>`
|
|
2
|
+
|
|
3
|
+
Data variant of the POI object marker.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-poi-object-poi-object-data--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/poi-object/poi-object-data.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-object-data>` - Data variant of the POI object marker.
|
|
8
|
+
|
|
9
|
+
Uses the standard round marker shape from the base `obc-poi-object`.
|
|
10
|
+
This component exists so that the "data" variant has an explicit
|
|
11
|
+
object-level component, matching the pattern of `obc-poi-object-aton`
|
|
12
|
+
and `obc-poi-object-vessel`.
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
| Property | Attribute | Type | Default | Description |
|
|
17
|
+
| --- | --- | --- | --- | --- |
|
|
18
|
+
| type | type | `ObcPoiObjectType` | | |
|
|
19
|
+
| baseType | | `ObcPoiObjectType` | | Maps subclass-specific type enum to base `ObcPoiObjectType`. Override in subclasses. |
|
|
20
|
+
| objectStyle | objectStyle | `ObcPoiObjectStyle` | | |
|
|
21
|
+
| state | state | `ObcPoiObjectState` | | |
|
|
22
|
+
| interactive | interactive | `boolean` | `false` | |
|
|
23
|
+
| icon | | `TemplateResult` | | Icon template to render inside the POI object. Override in subclasses. |
|
|
24
|
+
|
|
25
|
+
## Events
|
|
26
|
+
|
|
27
|
+
None.
|
|
28
|
+
|
|
29
|
+
## Slots
|
|
30
|
+
|
|
31
|
+
| Slot | Description |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| (default) | Icon content rendered inside the POI object. |
|
|
34
|
+
|
|
35
|
+
## Stories
|
|
36
|
+
|
|
37
|
+
- [Default](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--default)
|
|
38
|
+
- [Indicator](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--indicator)
|
|
39
|
+
- [Regular](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--regular)
|
|
40
|
+
- [Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--large)
|
|
41
|
+
- [N Up](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--n-up)
|
|
42
|
+
- [N Up Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--n-up-large)
|
|
43
|
+
- [All Types](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--all-types)
|
|
44
|
+
- [All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-data--all-states)
|
|
45
|
+
|
|
46
|
+
## See also
|
|
47
|
+
|
|
48
|
+
- [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# `<obc-poi-object-vessel>`
|
|
2
|
+
|
|
3
|
+
Specialized `obc-poi-object` wrapper for vessel-style icon markers.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-poi-object-poi-object-vessel--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/poi-object/poi-object-vessel.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-object-vessel>` - Specialized `obc-poi-object` wrapper for vessel-style icon markers.
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Use this component when you need vessel marker visuals with the same base behavior as `obc-poi-object`.
|
|
11
|
+
It maps vessel-specific types onto the base POI object type system.
|
|
12
|
+
|
|
13
|
+
## Features/Variants
|
|
14
|
+
- `type` (default `regular`): `indicator`, `regular`, `large`, `speed-rot`, `n-up`, `n-up-large`.
|
|
15
|
+
- Inherits `objectStyle`, `state`, and `interactive` behavior from `AbstractPoiObject`.
|
|
16
|
+
- `speed-rot` layout renders a three-part composition:
|
|
17
|
+
- `turn-indicator` slot
|
|
18
|
+
- default slot (main vessel icon)
|
|
19
|
+
- `speed-indicator` slot
|
|
20
|
+
- Non-`speed-rot` layouts render only the default slot.
|
|
21
|
+
|
|
22
|
+
## Usage Guidelines
|
|
23
|
+
- Use `speed-rot` only when turn and speed indicators are available.
|
|
24
|
+
- Use `indicator` for icon-only visuals without a background frame.
|
|
25
|
+
- Keep slot content lightweight to preserve compact marker layout.
|
|
26
|
+
|
|
27
|
+
## Slots/Content
|
|
28
|
+
- Default slot: Main vessel icon/content.
|
|
29
|
+
- `turn-indicator`: Optional turn indicator content used by `speed-rot`.
|
|
30
|
+
- `speed-indicator`: Optional speed indicator content used by `speed-rot`.
|
|
31
|
+
|
|
32
|
+
## Events
|
|
33
|
+
This component does not emit custom events.
|
|
34
|
+
|
|
35
|
+
## Best Practices
|
|
36
|
+
- Match icon style and type scale (`regular`, `large`, `n-up`) across related markers.
|
|
37
|
+
- TODO(designer): Confirm icon style guidance for `indicator` vs non-`indicator` variants.
|
|
38
|
+
|
|
39
|
+
## Example
|
|
40
|
+
```html
|
|
41
|
+
<obc-poi-object-vessel type="speed-rot" objectStyle="regular" state="checked">
|
|
42
|
+
<obi-placeholder slot="turn-indicator"></obi-placeholder>
|
|
43
|
+
<obi-placeholder></obi-placeholder>
|
|
44
|
+
<obi-placeholder slot="speed-indicator"></obi-placeholder>
|
|
45
|
+
</obc-poi-object-vessel>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Properties
|
|
49
|
+
|
|
50
|
+
| Property | Attribute | Type | Default | Description |
|
|
51
|
+
| --- | --- | --- | --- | --- |
|
|
52
|
+
| type | type | `ObcPoiObjectVesselType` | | |
|
|
53
|
+
| baseType | | `ObcPoiObjectType` | | Maps subclass-specific type enum to base `ObcPoiObjectType`. Override in subclasses. |
|
|
54
|
+
| icon | | `TemplateResult` | | Icon template to render inside the POI object. Override in subclasses. |
|
|
55
|
+
| objectStyle | objectStyle | `ObcPoiObjectStyle` | | |
|
|
56
|
+
| state | state | `ObcPoiObjectState` | | |
|
|
57
|
+
| interactive | interactive | `boolean` | `false` | |
|
|
58
|
+
|
|
59
|
+
## Events
|
|
60
|
+
|
|
61
|
+
None.
|
|
62
|
+
|
|
63
|
+
## Slots
|
|
64
|
+
|
|
65
|
+
| Slot | Description |
|
|
66
|
+
| --- | --- |
|
|
67
|
+
| (default) | Main vessel icon/content. |
|
|
68
|
+
| turn-indicator | Optional turn indicator content used by `speed-rot`. |
|
|
69
|
+
| speed-indicator | Optional speed indicator content used by `speed-rot`. |
|
|
70
|
+
|
|
71
|
+
## Stories
|
|
72
|
+
|
|
73
|
+
- [Default](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--default)
|
|
74
|
+
- [Interactive](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--interactive)
|
|
75
|
+
- [Indicator](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--indicator)
|
|
76
|
+
- [Regular](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--regular)
|
|
77
|
+
- [Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--large)
|
|
78
|
+
- [Speed Rot](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--speed-rot)
|
|
79
|
+
- [N Up](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--n-up)
|
|
80
|
+
- [N Up Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--n-up-large)
|
|
81
|
+
- [Categorical](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--categorical)
|
|
82
|
+
- [Checked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--checked)
|
|
83
|
+
- [Static Unchecked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--static-unchecked)
|
|
84
|
+
- [Static Checked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--static-checked)
|
|
85
|
+
- [Activated](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--activated)
|
|
86
|
+
- [Overlapped](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--overlapped)
|
|
87
|
+
- [All Types](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--all-types)
|
|
88
|
+
- [All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--all-states)
|
|
89
|
+
- [All Styles](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--all-styles)
|
|
90
|
+
- [Indicator All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--indicator-all-states)
|
|
91
|
+
- [Categorical All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object-vessel--categorical-all-states)
|
|
92
|
+
|
|
93
|
+
## See also
|
|
94
|
+
|
|
95
|
+
- [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# `<obc-poi-object>`
|
|
2
|
+
|
|
3
|
+
Base icon marker button used as the visual core of POI-style targets.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-poi-object-poi-object--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/poi-object/poi-object.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-object>` - Base icon marker button used as the visual core of POI-style targets.
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
This component renders slotted icon content inside a configurable frame that handles size, style, and state variants.
|
|
11
|
+
Keywords/synonyms: marker button, icon target, target chip, point marker.
|
|
12
|
+
|
|
13
|
+
## Features/Variants
|
|
14
|
+
- `type` (default `regular`): `indicator`, `regular`, `large`, `n-up`, `n-up-large`.
|
|
15
|
+
- `objectStyle` (default `regular`): `regular` or `categorical`.
|
|
16
|
+
- `state` (default `unchecked`): `unchecked`, `checked`, `static-unchecked`, `static-checked`, `activated`, `overlapped`.
|
|
17
|
+
- `interactive` (default `false`): enables keyboard activation (`Enter`/`Space`) and focus/active semantics.
|
|
18
|
+
- Placeholder icon handling: adds a CSS state when the default slot contains `obi-placeholder`.
|
|
19
|
+
|
|
20
|
+
## Usage Guidelines
|
|
21
|
+
- Use `indicator` for icon-only visuals without a background frame.
|
|
22
|
+
- Use `regular` or `large` for circular framed targets.
|
|
23
|
+
- Use `n-up` or `n-up-large` for square framed targets.
|
|
24
|
+
- Use `overlapped` when icon content should collapse to reduce visual density.
|
|
25
|
+
|
|
26
|
+
## Slots/Content
|
|
27
|
+
- Default slot: Icon/content displayed inside the marker frame.
|
|
28
|
+
|
|
29
|
+
## Events
|
|
30
|
+
This component does not emit custom events.
|
|
31
|
+
Native `click` is available when `interactive` is enabled.
|
|
32
|
+
|
|
33
|
+
## Best Practices
|
|
34
|
+
- Keep `interactive` disabled for decorative markers.
|
|
35
|
+
- Map `state` directly from application state to avoid mixed visual semantics.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
```html
|
|
39
|
+
<obc-poi-object type="regular" objectStyle="regular" state="checked" interactive>
|
|
40
|
+
<obi-placeholder></obi-placeholder>
|
|
41
|
+
</obc-poi-object>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Properties
|
|
45
|
+
|
|
46
|
+
| Property | Attribute | Type | Default | Description |
|
|
47
|
+
| --- | --- | --- | --- | --- |
|
|
48
|
+
| type | type | `ObcPoiObjectType` | | |
|
|
49
|
+
| objectStyle | objectStyle | `ObcPoiObjectStyle` | | |
|
|
50
|
+
| state | state | `ObcPoiObjectState` | | |
|
|
51
|
+
| interactive | interactive | `boolean` | `false` | Available when `state!=overlapped`. |
|
|
52
|
+
|
|
53
|
+
## Events
|
|
54
|
+
|
|
55
|
+
None.
|
|
56
|
+
|
|
57
|
+
## Slots
|
|
58
|
+
|
|
59
|
+
| Slot | Description |
|
|
60
|
+
| --- | --- |
|
|
61
|
+
| (default) | Icon/content displayed inside the marker frame. |
|
|
62
|
+
|
|
63
|
+
## Stories
|
|
64
|
+
|
|
65
|
+
- [Default](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--default)
|
|
66
|
+
- [Interactive](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--interactive)
|
|
67
|
+
- [Indicator](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--indicator)
|
|
68
|
+
- [Regular](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--regular)
|
|
69
|
+
- [Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--large)
|
|
70
|
+
- [N Up](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--n-up)
|
|
71
|
+
- [N Up Large](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--n-up-large)
|
|
72
|
+
- [Categorical](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--categorical)
|
|
73
|
+
- [Checked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--checked)
|
|
74
|
+
- [Static Unchecked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--static-unchecked)
|
|
75
|
+
- [Static Checked](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--static-checked)
|
|
76
|
+
- [Activated](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--activated)
|
|
77
|
+
- [Overlapped](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--overlapped)
|
|
78
|
+
- [All Types](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--all-types)
|
|
79
|
+
- [All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--all-states)
|
|
80
|
+
- [All Styles](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--all-styles)
|
|
81
|
+
- [Indicator All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--indicator-all-states)
|
|
82
|
+
- [Categorical All States](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-object-poi-object--categorical-all-states)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# `<obc-poi-pointer>`
|
|
2
|
+
|
|
3
|
+
Target pointer component for point, button, and camera marker shapes.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-building-blocks-poi-pointer--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/building-blocks/poi-pointer/poi-pointer.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-pointer>` - Target pointer component for point, button, and camera marker shapes.
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Use this component to render compact target indicators when only pointer visuals are needed.
|
|
11
|
+
Keywords/synonyms: target pointer, reticle marker, focus marker, target indicator.
|
|
12
|
+
|
|
13
|
+
## Features/Variants
|
|
14
|
+
- `type` (default `point`):
|
|
15
|
+
- `point`: Dot-only pointer.
|
|
16
|
+
- `button`: Circular button-sized pointer.
|
|
17
|
+
- `camera`: Rectangular camera-sized pointer.
|
|
18
|
+
- `state` (default `regular`): `regular`, `selected`, `active`, `uncertain`.
|
|
19
|
+
- Selection frame behavior:
|
|
20
|
+
- `point + selected`: Renders indicator selection frame.
|
|
21
|
+
- `button + selected`: Renders button selection frame.
|
|
22
|
+
- `camera + selected`: Renders custom camera selection frame.
|
|
23
|
+
- `boxWidth` / `boxHeight` (default `null`): Optional non-negative frame size extras when frame dimensions are used.
|
|
24
|
+
|
|
25
|
+
## Usage Guidelines
|
|
26
|
+
- Use `type="point"` for minimal targets.
|
|
27
|
+
- Use `type="button"` or `type="camera"` when a larger selection footprint is needed.
|
|
28
|
+
- Provide `boxWidth`/`boxHeight` only when size overrides are intentional.
|
|
29
|
+
|
|
30
|
+
## Slots/Content
|
|
31
|
+
This component has no slots.
|
|
32
|
+
|
|
33
|
+
## Events
|
|
34
|
+
This component does not emit custom events.
|
|
35
|
+
|
|
36
|
+
## Best Practices
|
|
37
|
+
- Drive `type` and `state` from the same state source used by surrounding marker components.
|
|
38
|
+
- Treat negative `boxWidth` and `boxHeight` as invalid input; they are ignored by design.
|
|
39
|
+
|
|
40
|
+
## Example
|
|
41
|
+
```html
|
|
42
|
+
<obc-poi-pointer
|
|
43
|
+
type="button"
|
|
44
|
+
state="selected"
|
|
45
|
+
box-width="12"
|
|
46
|
+
box-height="8"
|
|
47
|
+
></obc-poi-pointer>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Properties
|
|
51
|
+
|
|
52
|
+
| Property | Attribute | Type | Default | Description |
|
|
53
|
+
| --- | --- | --- | --- | --- |
|
|
54
|
+
| type | type | `ObcPoiPointerType` | | |
|
|
55
|
+
| state | state | `ObcPoiPointerState` | | |
|
|
56
|
+
| boxWidth | box-width | `number \| null` | `null` | |
|
|
57
|
+
| boxHeight | box-height | `number \| null` | `null` | |
|
|
58
|
+
|
|
59
|
+
## Events
|
|
60
|
+
|
|
61
|
+
None.
|
|
62
|
+
|
|
63
|
+
## Slots
|
|
64
|
+
|
|
65
|
+
None.
|
|
66
|
+
|
|
67
|
+
## Stories
|
|
68
|
+
|
|
69
|
+
- [Primary](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-pointer--primary)
|
|
70
|
+
- [Variant Matrix](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-pointer--variant-matrix)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# `<obc-poi-selection-frame>`
|
|
2
|
+
|
|
3
|
+
Corner-frame highlight component for selected marker targets.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-building-blocks-poi-selection-frame--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/building-blocks/poi-selection-frame/poi-selection-frame.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-selection-frame>` - Corner-frame highlight component for selected marker targets.
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Use this component to draw a non-interactive selection outline around a marker, button, or indicator.
|
|
11
|
+
Keywords/synonyms: selection frame, focus frame, highlight frame, corner frame.
|
|
12
|
+
|
|
13
|
+
## Features/Variants
|
|
14
|
+
- `type` (default `indicator`): `indicator`, `button`, or `enhanced`.
|
|
15
|
+
- `state` (default `regular`): `regular`, `alert`, `none`, or `flat`.
|
|
16
|
+
- `customMode` (default `false`): Enables explicit frame box sizing.
|
|
17
|
+
- `boxWidth` / `boxHeight` (default `null`): Optional non-negative offsets added to the minimum custom size.
|
|
18
|
+
|
|
19
|
+
## Usage Guidelines
|
|
20
|
+
- Use `state="none"` when no frame should be rendered.
|
|
21
|
+
- Use `customMode` with `boxWidth`/`boxHeight` for non-standard target footprints.
|
|
22
|
+
- Keep `type` aligned with the selected target visual (indicator vs. button/enhanced).
|
|
23
|
+
|
|
24
|
+
## Slots/Content
|
|
25
|
+
This component has no slots.
|
|
26
|
+
|
|
27
|
+
## Events
|
|
28
|
+
This component does not emit custom events.
|
|
29
|
+
|
|
30
|
+
## Best Practices
|
|
31
|
+
- Prefer default sizing unless an external target box requires explicit override.
|
|
32
|
+
- Pass only finite, non-negative custom dimensions for stable output.
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
```html
|
|
36
|
+
<obc-poi-selection-frame
|
|
37
|
+
type="button"
|
|
38
|
+
state="regular"
|
|
39
|
+
custom-mode
|
|
40
|
+
box-width="20"
|
|
41
|
+
box-height="12"
|
|
42
|
+
></obc-poi-selection-frame>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Properties
|
|
46
|
+
|
|
47
|
+
| Property | Attribute | Type | Default | Description |
|
|
48
|
+
| --- | --- | --- | --- | --- |
|
|
49
|
+
| type | type | `ObcPoiSelectionFrameType` | | |
|
|
50
|
+
| state | state | `ObcPoiSelectionFrameState` | | |
|
|
51
|
+
| customMode | customMode | `boolean` | `false` | |
|
|
52
|
+
| boxWidth | box-width | `number \| null` | `null` | |
|
|
53
|
+
| boxHeight | box-height | `number \| null` | `null` | |
|
|
54
|
+
|
|
55
|
+
## Events
|
|
56
|
+
|
|
57
|
+
None.
|
|
58
|
+
|
|
59
|
+
## Slots
|
|
60
|
+
|
|
61
|
+
None.
|
|
62
|
+
|
|
63
|
+
## Stories
|
|
64
|
+
|
|
65
|
+
- [Interactive](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-selection-frame--interactive)
|
|
66
|
+
- [Variant Matrix](https://openbridge-next-storybook.web.app/?path=/story/ar-building-blocks-poi-selection-frame--variant-matrix)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# `<obc-poi-vessel>`
|
|
2
|
+
|
|
3
|
+
Vessel marker variant with layout positioning and layer integration.
|
|
4
|
+
|
|
5
|
+
Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ar-poi-poi-vessel--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/ar/poi/poi-vessel.ts)
|
|
6
|
+
|
|
7
|
+
`<obc-poi-vessel>` - Vessel marker variant with layout positioning and layer integration.
|
|
8
|
+
|
|
9
|
+
Extends `PoiBase` to provide the "vessel" variant of the POI system.
|
|
10
|
+
Renders `<obc-poi>` with a slotted `<obc-poi-button-vessel>`.
|
|
11
|
+
See the "Coordinate Model" section in `PoiBase` (poi-base.ts) for how `x`, `y`, and `buttonY` position the marker.
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
| Property | Attribute | Type | Default | Description |
|
|
16
|
+
| --- | --- | --- | --- | --- |
|
|
17
|
+
| vesselType | vessel-type | `ObcPoiObjectVesselType` | | |
|
|
18
|
+
| vesselStyle | vessel-style | `ObcPoiObjectVesselStyle` | | |
|
|
19
|
+
| vesselState | vessel-state | `ObcPoiObjectVesselState \| null` | `null` | |
|
|
20
|
+
| vesselInteractive | vessel-interactive | `boolean` | `false` | |
|
|
21
|
+
| type | type | `ObcPoiType` | | |
|
|
22
|
+
| value | value | `ObcPoiValue` | | |
|
|
23
|
+
| state | state | `ObcPoiState` | | |
|
|
24
|
+
| selected | selected | `boolean` | `false` | |
|
|
25
|
+
| buttonType | button-type | | | |
|
|
26
|
+
| overlapOpaque | overlap-opaque | `boolean` | `false` | |
|
|
27
|
+
| data | | `ObcPoiButtonDataItem[]` | `[]` | |
|
|
28
|
+
| hasHeader | has-header | `boolean` | `false` | |
|
|
29
|
+
| headerContent | header-content | `string` | `''` | |
|
|
30
|
+
| hasPointer | hasPointer | `boolean` | `false` | |
|
|
31
|
+
| pointerType | pointer-type | `ObcPoiPointerType \| null` | `null` | |
|
|
32
|
+
| pointerState | pointer-state | `ObcPoiPointerState \| null` | `null` | |
|
|
33
|
+
| relativeDirection | relativeDirection | `number` | `0` | |
|
|
34
|
+
| x | x | `number` | `0` | |
|
|
35
|
+
| y | y | | `DEFAULT_LINE_LENGTH_PX` | |
|
|
36
|
+
| buttonY | button-y | `number \| null` | `0` | |
|
|
37
|
+
| xFilterCutoffHz | x-filter-cutoff-hz | `number` | `16` | Cutoff frequency (Hz) of the built-in low-pass filter applied to `x`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `x` is applied directly. |
|
|
38
|
+
| yFilterCutoffHz | y-filter-cutoff-hz | `number` | `16` | Cutoff frequency (Hz) of the built-in low-pass filter applied to `y`. Lower values smooth noisy input more aggressively; `0` or a negative value disables filtering so `y` is applied directly. |
|
|
39
|
+
| fixedTarget | fixed-target | `boolean` | `false` | |
|
|
40
|
+
| boxWidth | box-width | `number \| null` | `null` | |
|
|
41
|
+
| boxHeight | box-height | `number \| null` | `null` | |
|
|
42
|
+
| outsideAngle | outside-angle | `number` | `315` | |
|
|
43
|
+
| animatePosition | animate-position | `boolean` | `false` | |
|
|
44
|
+
| buttonOffsetX | button-offset-x | `number` | | |
|
|
45
|
+
| targetOffsetX | target-offset-x | `number` | | |
|
|
46
|
+
|
|
47
|
+
## Events
|
|
48
|
+
|
|
49
|
+
| Event | Type | Description |
|
|
50
|
+
| --- | --- | --- |
|
|
51
|
+
| obc-poi-data-layout-change | `CustomEvent<void>` | Fired when layout-driving properties change. |
|
|
52
|
+
|
|
53
|
+
## Slots
|
|
54
|
+
|
|
55
|
+
| Slot | Description |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| (default) | Icon content forwarded to the inner vessel object. |
|
|
58
|
+
| turn-indicator | Optional turn indicator content for speed-rot type. |
|
|
59
|
+
| speed-indicator | Optional speed indicator content for speed-rot type. |
|
|
60
|
+
| header | Optional header content forwarded to the poi button. |
|
|
61
|
+
|
|
62
|
+
## Stories
|
|
63
|
+
|
|
64
|
+
- [Preview](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-poi-vessel--preview)
|
|
65
|
+
- [POI Variants](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-poi-vessel--poi-variants)
|
|
66
|
+
- [POI Values And Content](https://openbridge-next-storybook.web.app/?path=/story/ar-poi-poi-vessel--poi-values-and-content)
|
|
67
|
+
|
|
68
|
+
## See also
|
|
69
|
+
|
|
70
|
+
- [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
|