@oicl/openbridge-webcomponents 2.0.0-next.63 → 2.0.0-next.64
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/bundle/openbridge-webcomponents.bundle.js +326 -323
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +12 -12
- package/dist/alert-severity.d.ts.map +1 -1
- package/dist/alert-severity.js +37 -35
- package/dist/alert-severity.js.map +1 -1
- package/dist/ar/building-blocks/poi-header/poi-header.css.js +15 -15
- package/dist/ar/building-blocks/poi-header/poi-header.d.ts +6 -6
- package/dist/ar/building-blocks/poi-header/poi-header.d.ts.map +1 -1
- package/dist/ar/building-blocks/poi-header/poi-header.js +5 -5
- package/dist/ar/building-blocks/poi-header/poi-header.js.map +1 -1
- package/dist/ar/poi-button/poi-button.css.js +31 -30
- package/dist/ar/poi-button/poi-button.css.js.map +1 -1
- package/dist/ar/poi-button/poi-button.d.ts +6 -6
- package/dist/ar/poi-button/poi-button.d.ts.map +1 -1
- package/dist/ar/poi-button/poi-button.js +15 -15
- package/dist/ar/poi-button/poi-button.js.map +1 -1
- package/dist/ar/types.d.ts +5 -5
- package/dist/ar/types.d.ts.map +1 -1
- package/dist/ar/types.js +5 -5
- package/dist/ar/types.js.map +1 -1
- package/dist/automation/automation-badge/automation-badge.d.ts +7 -7
- package/dist/automation/automation-badge/automation-badge.d.ts.map +1 -1
- package/dist/automation/automation-badge/automation-badge.js +29 -29
- package/dist/automation/automation-badge/automation-badge.js.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button.d.ts +5 -5
- package/dist/automation/automation-button/abstract-automation-button.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button.js +15 -15
- package/dist/automation/automation-button/abstract-automation-button.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js +10 -10
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.css.js +5 -5
- package/dist/components/alert-button/alert-button.css.js +128 -128
- package/dist/components/alert-frame/alert-frame.css.js +6 -6
- package/dist/components/alert-frame/alert-frame.d.ts +4 -4
- package/dist/components/alert-frame/alert-frame.js.map +1 -1
- package/dist/components/alert-icon/alert-icon.js +4 -4
- package/dist/components/alert-icon/alert-icon.js.map +1 -1
- package/dist/components/badge/badge.css.js +10 -10
- package/dist/components/badge/badge.d.ts +13 -13
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/badge.js +10 -10
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/manual-icon/icon-alerts-critical-twotone.d.ts +1 -1
- package/dist/manual-icon/icon-alerts-critical-twotone.js.map +1 -1
- package/dist/manual-icon/icon-alerts-diagnostic-twotone.d.ts +1 -1
- package/dist/manual-icon/icon-alerts-diagnostic-twotone.js.map +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +11 -11
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"declarations": [
|
|
194
194
|
{
|
|
195
195
|
"kind": "class",
|
|
196
|
-
"description": "`<obc-poi-header>` - Compact header chip for marker identifiers, labels, and optional indicator content.\n\n## Overview\nUse this component to display compact marker metadata above or near a marker button.\nKeywords/synonyms: chip, pill, badge, header chip, identifier badge.\n\n## Features/Variants\n- `type` (default `id`):\n - `id`: shows identifier content only.\n - `data`: shows identifier plus secondary label.\n- `state` (default `enabled`): `enabled`, `selected`, `caution`, `warning`, `alarm`, `
|
|
196
|
+
"description": "`<obc-poi-header>` - Compact header chip for marker identifiers, labels, and optional indicator content.\n\n## Overview\nUse this component to display compact marker metadata above or near a marker button.\nKeywords/synonyms: chip, pill, badge, header chip, identifier badge.\n\n## Features/Variants\n- `type` (default `id`):\n - `id`: shows identifier content only.\n - `data`: shows identifier plus secondary label.\n- `state` (default `enabled`): `enabled`, `selected`, `caution`, `warning`, `alarm`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`.\n- `content` (default `\"1\"`): primary identifier text.\n- `label` (default `\"Data\"`): secondary text used by `type=\"data\"`.\n- `hasIndicator` (default `false`): appends indicator area.\n- `indicator` slot fallback: renders built-in bar indicator markup when slot content is empty.\n- `size` (default `regular`): currently only `regular`.\n\n## Usage Guidelines\n- Use `type=\"id\"` for compact identifier-only labels.\n- Use `type=\"data\"` when both an ID and short label are required.\n- Keep `content` and `label` brief to prevent overflow.\n\n## Slots/Content\n- `indicator`: Optional indicator icon/content; built-in indicator is used as fallback.\n\n## Events\nThis component does not emit custom events.\n\n## Best Practices\n- Keep indicator usage consistent across similar marker states.\n- Prefer enum values for `type`, `state`, and `size`.\n\n## Example\n```html\n<obc-poi-header type=\"data\" state=\"selected\" content=\"3\" label=\"SOG\" has-indicator>\n <obi-placeholder slot=\"indicator\"></obi-placeholder>\n</obc-poi-header>\n```",
|
|
197
197
|
"name": "ObcPoiHeader",
|
|
198
198
|
"slots": [
|
|
199
199
|
{
|
|
@@ -3249,7 +3249,7 @@
|
|
|
3249
3249
|
"declarations": [
|
|
3250
3250
|
{
|
|
3251
3251
|
"kind": "class",
|
|
3252
|
-
"description": "`<obc-poi-button>` - Marker button component that renders an icon target with optional header and data rows.\n\n## Overview\nUse this component when you need a button-style marker that can show stateful framing and optional metric rows.\nKeywords/synonyms: marker button, target button, icon target, POI button.\n\n## Features/Variants\n- `type` (default `button`): `button` or `enhanced` size.\n- `layout` (default `anchored`): `anchored` or `inline`.\n- `value` (default `unchecked`): `unchecked`, `checked`, `activated`, `overlapped`.\n- `overlapOpaque` (default `false`): controls overlapped opacity mode (`false` = translucent, `true` = opaque).\n- `state` (default `enabled`): `enabled`, `caution`, `warning`, `alarm`, `
|
|
3252
|
+
"description": "`<obc-poi-button>` - Marker button component that renders an icon target with optional header and data rows.\n\n## Overview\nUse this component when you need a button-style marker that can show stateful framing and optional metric rows.\nKeywords/synonyms: marker button, target button, icon target, POI button.\n\n## Features/Variants\n- `type` (default `button`): `button` or `enhanced` size.\n- `layout` (default `anchored`): `anchored` or `inline`.\n- `value` (default `unchecked`): `unchecked`, `checked`, `activated`, `overlapped`.\n- `overlapOpaque` (default `false`): controls overlapped opacity mode (`false` = translucent, `true` = opaque).\n- `state` (default `enabled`): `enabled`, `caution`, `warning`, `alarm`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`.\n- `selected` (default `false`): shows selection frame in anchored layout.\n- `relativeDirection` (default `0`): rotates default-slot icon content in degrees.\n- `data` (default `[]`): when non-empty, renders value/label/unit rows.\n- `hasHeader` + `header` slot: renders a header area and syncs slotted `obc-poi-header` state.\n- `hasRelation` (default `false`): enables optional relation content in data mode.\n- `inExpandedGroup` (default `false`): applies `expanded` CSS class.\n- TODO(designer): Confirm intended UX semantics for `inExpandedGroup` beyond styling.\n\n## Usage Guidelines\n- Use `layout=\"anchored\"` for standalone marker buttons.\n- Use `layout=\"inline\"` when this component is embedded in a larger marker composition.\n- Provide `data` for metric display variants.\n- Enable `hasRelation` only when relation slot content is provided.\n\n## Slots/Content\n- Default slot: Icon/content rendered inside `obc-poi-object`.\n- `header`: Optional header content rendered above the marker body.\n- `relation`: Optional relation icon/content rendered when `hasRelation` is true in data mode.\n\n## Events\nThis component does not emit custom events.\nNative `click` is available from the internal `<button>`.\n\n## Best Practices\n- Keep `value`, `state`, and `selected` synchronized to avoid conflicting visual states.\n- Prefer enum values for `type`, `layout`, `state`, and `value`.\n\n## Example\n```html\n<obc-poi-button type=\"button\" layout=\"anchored\" value=\"checked\" selected>\n <obi-placeholder></obi-placeholder>\n <obc-poi-header slot=\"header\" content=\"1\"></obc-poi-header>\n</obc-poi-button>\n```",
|
|
3253
3253
|
"name": "ObcPoiButton",
|
|
3254
3254
|
"slots": [
|
|
3255
3255
|
{
|
|
@@ -12692,7 +12692,7 @@
|
|
|
12692
12692
|
},
|
|
12693
12693
|
{
|
|
12694
12694
|
"kind": "method",
|
|
12695
|
-
"name": "
|
|
12695
|
+
"name": "renderLevelCriticalIcon",
|
|
12696
12696
|
"privacy": "private",
|
|
12697
12697
|
"parameters": [
|
|
12698
12698
|
{
|
|
@@ -12705,7 +12705,7 @@
|
|
|
12705
12705
|
},
|
|
12706
12706
|
{
|
|
12707
12707
|
"kind": "method",
|
|
12708
|
-
"name": "
|
|
12708
|
+
"name": "renderLevelDiagnosticIcon",
|
|
12709
12709
|
"privacy": "private"
|
|
12710
12710
|
},
|
|
12711
12711
|
{
|
|
@@ -39306,7 +39306,7 @@
|
|
|
39306
39306
|
"declarations": [
|
|
39307
39307
|
{
|
|
39308
39308
|
"kind": "class",
|
|
39309
|
-
"description": "`<obc-alert-frame>` – A bordered frame component for visually emphasizing alert or status messages.\n\nThe alert frame provides a prominent outline and optional \"flap\" with status icon to draw attention to critical information or UI regions. It supports multiple visual variants and thicknesses, and can be configured to indicate different alert statuses (alarm, warning, caution). The component is designed to wrap content and visually distinguish it from the surrounding UI.\n\n### Features\n- **Variants (type):**\n - `regular`: Standard outlined frame with no flap or icon.\n - `small-side-flip`: Adds a small side flap with a status icon at the top right.\n - `large-side-flip`: Adds a larger, vertical side flap with a status icon and optional custom icon.\n - `bottom-flip`: Adds a bottom flap with a status icon, label, and timer slots.\n- **Thickness options:** Choose between `small` (thin border) and `large` (thick border) for visual emphasis.\n- **Status indication:** Displays different color schemes and icons for the legacy statuses (`alarm`, `warning`, `caution`) and the
|
|
39309
|
+
"description": "`<obc-alert-frame>` – A bordered frame component for visually emphasizing alert or status messages.\n\nThe alert frame provides a prominent outline and optional \"flap\" with status icon to draw attention to critical information or UI regions. It supports multiple visual variants and thicknesses, and can be configured to indicate different alert statuses (alarm, warning, caution). The component is designed to wrap content and visually distinguish it from the surrounding UI.\n\n### Features\n- **Variants (type):**\n - `regular`: Standard outlined frame with no flap or icon.\n - `small-side-flip`: Adds a small side flap with a status icon at the top right.\n - `large-side-flip`: Adds a larger, vertical side flap with a status icon and optional custom icon.\n - `bottom-flip`: Adds a bottom flap with a status icon, label, and timer slots.\n- **Thickness options:** Choose between `small` (thin border) and `large` (thick border) for visual emphasis.\n- **Status indication:** Displays different color schemes and icons for the legacy statuses (`alarm`, `warning`, `caution`) and the level statuses (`level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`).\n- **Acknowledgement mode:** The `mode` property reflects the alert lifecycle state — `acked-active` (default), `unacked-active`, and `unacked-rectified` — driving the blinking/animation treatment of the frame.\n- **Content wrapping:** When `wrapContent` is true, the frame wraps and sizes itself to its slotted content rather than overlaying a fixed region.\n- **Customizable corners:** Each corner can be set to a sharp (non-rounded) edge for integration with other UI elements.\n- **Slot-based content:** Supports custom icons, labels, and timers in flap variants via named slots.\n\n### Usage Guidelines\nUse `obc-alert-frame` to highlight important content, such as alerts, warnings, or status panels. The flap variants are ideal for drawing extra attention to urgent or time-sensitive information, while the regular type provides a subtle but clear border. Choose the status to match the severity of the message (alarm, warning, caution). Adjust thickness for visual hierarchy—use large for high-priority alerts and small for less critical notices.\n\n**TODO(designer):** Provide guidance on when to use each flap type (small-side-flip, large-side-flip, bottom-flip) and recommended scenarios for sharp edge usage.\n\n### Features/Variants\n- **Type (Visual Variant):**\n - `regular`: Simple outlined frame, no flap or icon.\n - `small-side-flip`: Small right-side flap with status icon.\n - `large-side-flip`: Large vertical right-side flap with status icon and optional custom icon.\n - `bottom-flip`: Bottom flap with status icon, label, and timer.\n- **Thickness:** `small` (default) or `large` for border width.\n- **Status:** `alarm`, `warning`, `caution`, or the level severities (`level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`)—affects color and icon.\n- **Mode:** `acked-active` (default), `unacked-active`, or `unacked-rectified`—affects blinking/animation.\n- **Corner Customization:** Each corner can be made sharp (not rounded) via boolean properties.\n\n### Slots and Content Structure\n\n| Slot Name | Renders When... | Purpose |\n|-----------|-----------------|---------|\n| (default) | Always | Main content inside the alert frame. |\n| icon | `large-side-flip` or `bottom-flip` | Custom icon displayed in the flap (in addition to status icon). |\n| label | `bottom-flip` only | Label text shown in the bottom flap. |\n| timer | `bottom-flip` only | Timer or time label in the bottom flap. |\n\n### Properties and Attributes\n- `type`: Selects the visual variant/flap style. Default is `small-side-flip`.\n- `thickness`: Controls border thickness (`small` or `large`). Default is `small`.\n- `status`: Sets the alert status and color/icon (`alarm`, `warning`, `caution`, or the `level-*` severities). Default is `alarm`.\n- `mode`: Acknowledgement lifecycle state (`acked-active`, `unacked-active`, `unacked-rectified`) controlling blinking/animation. Default is `acked-active`.\n- `wrapContent`: When true, the frame wraps and sizes to its slotted content instead of overlaying a fixed region. Default is `false`.\n- `sharpEdgeTopLeft`, `sharpEdgeTopRight`, `sharpEdgeBottomLeft`, `sharpEdgeBottomRight`: Boolean flags to make each corner sharp instead of rounded.\n\n### Best Practices and Constraints\n- Use the status property to match the severity of the alert.\n- Only use the bottom-flip variant when both label and timer are relevant.\n- For visual consistency, align sharp edge settings with adjacent UI elements.\n- The default slot is for the main content; use named slots for icons, labels, and timers as needed.\n\n### Example:\n```\n<obc-alert-frame\n type=\"bottom-flip\"\n thickness=\"large\"\n status=\"warning\"\n sharpEdgeTopLeft\n>\n <obi-placeholder slot=\"icon\"></obi-placeholder>\n <div slot=\"label\">Low Battery</div>\n <div slot=\"timer\">00:15</div>\n <div>Critical system message goes here.</div>\n</obc-alert-frame>\n```",
|
|
39310
39310
|
"name": "ObcAlertFrame",
|
|
39311
39311
|
"slots": [
|
|
39312
39312
|
{
|
|
@@ -39351,7 +39351,7 @@
|
|
|
39351
39351
|
"type": {
|
|
39352
39352
|
"text": "AlertType"
|
|
39353
39353
|
},
|
|
39354
|
-
"description": "Status of the alert, controlling color scheme and icon.\n- `alarm`: Highest severity (default).\n- `warning`: Medium severity.\n- `caution`: Lower severity.\n- `
|
|
39354
|
+
"description": "Status of the alert, controlling color scheme and icon.\n- `alarm`: Highest severity (default).\n- `warning`: Medium severity.\n- `caution`: Lower severity.\n- `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents.",
|
|
39355
39355
|
"attribute": "status"
|
|
39356
39356
|
},
|
|
39357
39357
|
{
|
|
@@ -39477,7 +39477,7 @@
|
|
|
39477
39477
|
"type": {
|
|
39478
39478
|
"text": "AlertType"
|
|
39479
39479
|
},
|
|
39480
|
-
"description": "Status of the alert, controlling color scheme and icon.\n- `alarm`: Highest severity (default).\n- `warning`: Medium severity.\n- `caution`: Lower severity.\n- `
|
|
39480
|
+
"description": "Status of the alert, controlling color scheme and icon.\n- `alarm`: Highest severity (default).\n- `warning`: Medium severity.\n- `caution`: Lower severity.\n- `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents.",
|
|
39481
39481
|
"fieldName": "status"
|
|
39482
39482
|
},
|
|
39483
39483
|
{
|
|
@@ -41497,7 +41497,7 @@
|
|
|
41497
41497
|
"declarations": [
|
|
41498
41498
|
{
|
|
41499
41499
|
"kind": "class",
|
|
41500
|
-
"description": "`<obc-badge>` – A compact visual indicator for status, alerts, or notifications, optionally displaying a number and/or icon.\n\nBadges are used to draw attention to status changes, counts, or important information in a concise format. They can represent alert states (such as alarm, warning, or running), notification counts, or other contextual statuses. The badge adapts its appearance based on type, size, and variant, and can display an icon, a number, or both.\n\n---\n\n### Features\n- **Type options:** Supports multiple visual types:\n - `regular`: Default neutral badge.\n - `alarm`: Highlights critical or urgent states.\n - `warning`: Indicates caution or warning.\n - `caution`: Used for less severe caution.\n - `
|
|
41500
|
+
"description": "`<obc-badge>` – A compact visual indicator for status, alerts, or notifications, optionally displaying a number and/or icon.\n\nBadges are used to draw attention to status changes, counts, or important information in a concise format. They can represent alert states (such as alarm, warning, or running), notification counts, or other contextual statuses. The badge adapts its appearance based on type, size, and variant, and can display an icon, a number, or both.\n\n---\n\n### Features\n- **Type options:** Supports multiple visual types:\n - `regular`: Default neutral badge.\n - `alarm`: Highlights critical or urgent states.\n - `warning`: Indicates caution or warning.\n - `caution`: Used for less severe caution.\n - `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents (critical, alarm, warning, caution, notification).\n - `running`: Represents active or running states.\n - `notification`: For general notifications.\n - `enhance`: For secondary notifications or emphasis.\n - `automation`: For automation-related status.\n - `outline`: Outline-only style (flat variant only).\n - `empty`: Minimal badge with no icon or number.\n- **Size options:** `regular` (default) and `large` for increased visibility.\n- **Variants:**\n - `default`: Filled background and border.\n - `flat`: Minimal background, outline, and lighter appearance.\n- **Icon support:** Can display a contextual icon (built-in for alarm, warning, caution, running; custom via slot for others).\n- **Number display:** Optionally shows a number (e.g., count of notifications).\n- **Hide number:** Can suppress the number for a purely symbolic badge.\n- **Custom icon slot:** For types without a built-in icon, developers can provide a custom icon using the `badge-icon` slot.\n- **Responsive layout:** Adjusts size and spacing based on the `size` property.\n\n---\n\n### Usage Guidelines\n- Use `obc-badge` to highlight status, counts, or alerts in a compact form, such as notification indicators, unread message counts, or system status.\n- Choose the `type` that matches the semantic meaning (e.g., `alarm` for critical, `warning` for caution, `running` for active).\n- Use the `number` property to show counts; set `showNumber` to false for symbolic-only badges.\n- Use the `flat` variant for less prominent or secondary contexts.\n- For custom icons, provide an icon element in the `badge-icon` slot.\n- Avoid using badges for persistent or detailed information; they are intended for brief, glanceable status.\n- **TODO(designer):** Confirm recommended use cases for `enhance`, `automation`, and `outline` types, and clarify when to use `empty` type versus hiding the badge entirely.\n\n---\n\n### Slots\n\n| Slot Name | Renders When... | Purpose |\n|---------------|-------------------------------|-----------------------------------------------------|\n| `badge-icon` | `showIcon` is true and `type` is not one of `alarm`, `warning`, `caution`, `running` | Custom icon for the badge (e.g., `<obi-placeholder>`). |\n\n---\n\n### Properties and Attributes\n- `number` (number): The numeric value to display in the badge. Defaults to 0.\n- `showNumber` (boolean): If true, the number is shown. Set to `false` for symbolic or icon-only badges.\n- `type` (string): Visual style of the badge. See **Type options** above for possible values. Defaults to `regular`.\n- `size` (string): Badge size, either `regular` (default) or `large`.\n- `variant` (string): Visual variant, either `default` (filled) or `flat` (minimal). Defaults to `default`.\n- `showIcon` (boolean): If true, displays an icon appropriate to the badge type. For custom types, supply an icon in the `badge-icon` slot.\n\n---\n\n### Best Practices and Constraints\n- Use badge types consistently to communicate status meaningfully.\n- For accessibility, ensure the badge's meaning is also conveyed via text or ARIA attributes if used as a status indicator.\n- Avoid overloading the badge with large numbers or excessive detail; keep content concise.\n- The `empty` type is intended for minimal presence—use when a placeholder badge is needed without icon or number.\n- For custom icons, use OpenBridge icon elements such as `<obi-placeholder>` in the `badge-icon` slot.\n- The badge does not emit any custom events.\n\n---\n\n### Example\n\n```html\n<obc-badge type=\"alarm\" number=\"3\" showIcon>\n <!-- For custom types, provide an icon: -->\n <obi-placeholder slot=\"badge-icon\"></obi-placeholder>\n</obc-badge>\n```\n\nIn this example, the badge displays an alarm icon and the number 3.",
|
|
41501
41501
|
"name": "ObcBadge",
|
|
41502
41502
|
"slots": [
|
|
41503
41503
|
{
|
|
@@ -41531,7 +41531,7 @@
|
|
|
41531
41531
|
"type": {
|
|
41532
41532
|
"text": "string"
|
|
41533
41533
|
},
|
|
41534
|
-
"description": "Visual style/type of the badge.\n\nPossible values: `regular`, `alarm`, `warning`, `caution`, `
|
|
41534
|
+
"description": "Visual style/type of the badge.\n\nPossible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.\n\nDefaults to `regular`.",
|
|
41535
41535
|
"attribute": "type"
|
|
41536
41536
|
},
|
|
41537
41537
|
{
|
|
@@ -41559,7 +41559,7 @@
|
|
|
41559
41559
|
"text": "boolean"
|
|
41560
41560
|
},
|
|
41561
41561
|
"default": "false",
|
|
41562
|
-
"description": "Whether to show an icon in the badge.\n\nFor built-in types (`alarm`, `warning`, `caution`, the `
|
|
41562
|
+
"description": "Whether to show an icon in the badge.\n\nFor built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.\nFor other types, provide a custom icon in the `badge-icon` slot.",
|
|
41563
41563
|
"attribute": "showIcon"
|
|
41564
41564
|
},
|
|
41565
41565
|
{
|
|
@@ -41592,7 +41592,7 @@
|
|
|
41592
41592
|
"type": {
|
|
41593
41593
|
"text": "string"
|
|
41594
41594
|
},
|
|
41595
|
-
"description": "Visual style/type of the badge.\n\nPossible values: `regular`, `alarm`, `warning`, `caution`, `
|
|
41595
|
+
"description": "Visual style/type of the badge.\n\nPossible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`.\n\nDefaults to `regular`.",
|
|
41596
41596
|
"fieldName": "type"
|
|
41597
41597
|
},
|
|
41598
41598
|
{
|
|
@@ -41617,7 +41617,7 @@
|
|
|
41617
41617
|
"text": "boolean"
|
|
41618
41618
|
},
|
|
41619
41619
|
"default": "false",
|
|
41620
|
-
"description": "Whether to show an icon in the badge.\n\nFor built-in types (`alarm`, `warning`, `caution`, the `
|
|
41620
|
+
"description": "Whether to show an icon in the badge.\n\nFor built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically.\nFor other types, provide a custom icon in the `badge-icon` slot.",
|
|
41621
41621
|
"fieldName": "showIcon"
|
|
41622
41622
|
}
|
|
41623
41623
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-severity.d.ts","sourceRoot":"","sources":["../src/alert-severity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAC,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAC,uBAAuB,EAAC,CAAC;AAEjC,oBAAY,mBAAmB;IAC7B,KAAK,oBAAoB;IACzB,OAAO,sBAAsB;IAC7B,OAAO,sBAAsB;IAC7B,QAAQ,uBAAuB;IAC/B,UAAU,yBAAyB;CACpC;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 @@ function requiresAcknowledgement(type) {
|
|
|
12
12
|
return [
|
|
13
13
|
AlertType.Alarm,
|
|
14
14
|
AlertType.Warning,
|
|
15
|
-
AlertType.
|
|
16
|
-
AlertType.
|
|
17
|
-
AlertType.
|
|
18
|
-
AlertType.
|
|
15
|
+
AlertType.LevelCritical,
|
|
16
|
+
AlertType.LevelHigh,
|
|
17
|
+
AlertType.LevelMedium,
|
|
18
|
+
AlertType.LevelLow
|
|
19
19
|
].includes(type);
|
|
20
20
|
}
|
|
21
21
|
function supportsBlinking(type) {
|
|
22
22
|
return [
|
|
23
23
|
AlertType.Alarm,
|
|
24
24
|
AlertType.Warning,
|
|
25
|
-
AlertType.
|
|
26
|
-
AlertType.
|
|
27
|
-
AlertType.
|
|
28
|
-
AlertType.
|
|
25
|
+
AlertType.LevelCritical,
|
|
26
|
+
AlertType.LevelHigh,
|
|
27
|
+
AlertType.LevelMedium,
|
|
28
|
+
AlertType.LevelLow
|
|
29
29
|
].includes(type);
|
|
30
30
|
}
|
|
31
31
|
function getAlertSeverityCssClass(type) {
|
|
@@ -33,34 +33,34 @@ function getAlertSeverityCssClass(type) {
|
|
|
33
33
|
}
|
|
34
34
|
function getAlertColorTokens(type) {
|
|
35
35
|
switch (type) {
|
|
36
|
-
case AlertType.
|
|
36
|
+
case AlertType.LevelCritical:
|
|
37
37
|
return {
|
|
38
38
|
bg: "var(--critical-enabled-background-color)",
|
|
39
39
|
border: "var(--critical-enabled-border-color)",
|
|
40
40
|
onActive: "var(--on-critical-active-color)"
|
|
41
41
|
};
|
|
42
42
|
case AlertType.Warning:
|
|
43
|
-
case AlertType.
|
|
43
|
+
case AlertType.LevelMedium:
|
|
44
44
|
return {
|
|
45
45
|
bg: "var(--alert-warning-color)",
|
|
46
46
|
border: "var(--alert-warning-outline-color)",
|
|
47
47
|
onActive: "var(--on-warning-active-color)"
|
|
48
48
|
};
|
|
49
49
|
case AlertType.Caution:
|
|
50
|
-
case AlertType.
|
|
50
|
+
case AlertType.LevelLow:
|
|
51
51
|
return {
|
|
52
52
|
bg: "var(--alert-caution-color)",
|
|
53
53
|
border: "var(--alert-caution-outline-color)",
|
|
54
54
|
onActive: "var(--on-caution-active-color)"
|
|
55
55
|
};
|
|
56
|
-
case AlertType.
|
|
56
|
+
case AlertType.LevelDiagnostic:
|
|
57
57
|
return {
|
|
58
58
|
bg: "var(--notification-enabled-background-color)",
|
|
59
59
|
border: "var(--notification-enabled-border-color)",
|
|
60
60
|
onActive: "var(--on-notification-active-color)"
|
|
61
61
|
};
|
|
62
62
|
case AlertType.Alarm:
|
|
63
|
-
case AlertType.
|
|
63
|
+
case AlertType.LevelHigh:
|
|
64
64
|
default:
|
|
65
65
|
return {
|
|
66
66
|
bg: "var(--alert-alarm-color)",
|
|
@@ -71,18 +71,18 @@ function getAlertColorTokens(type) {
|
|
|
71
71
|
}
|
|
72
72
|
function getAlertBadgeComponent(type) {
|
|
73
73
|
switch (type) {
|
|
74
|
-
case AlertType.
|
|
74
|
+
case AlertType.LevelCritical:
|
|
75
75
|
return "obi-critical-badge";
|
|
76
76
|
case AlertType.Warning:
|
|
77
|
-
case AlertType.
|
|
77
|
+
case AlertType.LevelMedium:
|
|
78
78
|
return "obi-warning-badge";
|
|
79
79
|
case AlertType.Caution:
|
|
80
|
-
case AlertType.
|
|
80
|
+
case AlertType.LevelLow:
|
|
81
81
|
return "obi-caution-badge";
|
|
82
|
-
case AlertType.
|
|
82
|
+
case AlertType.LevelDiagnostic:
|
|
83
83
|
return "obi-diagnostic-badge";
|
|
84
84
|
case AlertType.Alarm:
|
|
85
|
-
case AlertType.
|
|
85
|
+
case AlertType.LevelHigh:
|
|
86
86
|
default:
|
|
87
87
|
return "obi-alarm-badge";
|
|
88
88
|
}
|
|
@@ -97,18 +97,18 @@ var AlertTwotoneComponent = /* @__PURE__ */ ((AlertTwotoneComponent2) => {
|
|
|
97
97
|
})(AlertTwotoneComponent || {});
|
|
98
98
|
function getAlertTwotoneComponent(type) {
|
|
99
99
|
switch (type) {
|
|
100
|
-
case AlertType.
|
|
100
|
+
case AlertType.LevelCritical:
|
|
101
101
|
return "obi-alerts-critical-twotone";
|
|
102
|
-
case AlertType.
|
|
102
|
+
case AlertType.LevelDiagnostic:
|
|
103
103
|
return "obi-alerts-diagnostic-twotone";
|
|
104
104
|
case AlertType.Warning:
|
|
105
|
-
case AlertType.
|
|
105
|
+
case AlertType.LevelMedium:
|
|
106
106
|
return "obi-alerts-warning-twotone";
|
|
107
107
|
case AlertType.Caution:
|
|
108
|
-
case AlertType.
|
|
108
|
+
case AlertType.LevelLow:
|
|
109
109
|
return "obi-alerts-caution-twotone";
|
|
110
110
|
case AlertType.Alarm:
|
|
111
|
-
case AlertType.
|
|
111
|
+
case AlertType.LevelHigh:
|
|
112
112
|
default:
|
|
113
113
|
return "obi-alerts-alarm-twotone";
|
|
114
114
|
}
|
|
@@ -122,40 +122,42 @@ var AlertBlinkMode = /* @__PURE__ */ ((AlertBlinkMode2) => {
|
|
|
122
122
|
})(AlertBlinkMode || {});
|
|
123
123
|
function getAlertBlinkMode(type) {
|
|
124
124
|
switch (type) {
|
|
125
|
-
case AlertType.
|
|
125
|
+
case AlertType.LevelCritical:
|
|
126
126
|
return "critical";
|
|
127
127
|
case AlertType.Warning:
|
|
128
|
-
case AlertType.
|
|
128
|
+
case AlertType.LevelMedium:
|
|
129
129
|
return "warning";
|
|
130
130
|
case AlertType.Caution:
|
|
131
|
-
case AlertType.
|
|
131
|
+
case AlertType.LevelLow:
|
|
132
132
|
return "low";
|
|
133
133
|
case AlertType.Alarm:
|
|
134
|
-
case AlertType.
|
|
134
|
+
case AlertType.LevelHigh:
|
|
135
135
|
default:
|
|
136
136
|
return "alarm";
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
function getBamAlertTypeForBlinking(type) {
|
|
140
140
|
switch (type) {
|
|
141
|
-
case AlertType.
|
|
142
|
-
case AlertType.
|
|
141
|
+
case AlertType.LevelCritical:
|
|
142
|
+
case AlertType.LevelHigh:
|
|
143
143
|
return AlertType.Alarm;
|
|
144
|
-
case AlertType.
|
|
144
|
+
case AlertType.LevelMedium:
|
|
145
145
|
return AlertType.Warning;
|
|
146
|
-
case AlertType.
|
|
146
|
+
case AlertType.LevelLow:
|
|
147
147
|
return AlertType.Caution;
|
|
148
148
|
default:
|
|
149
149
|
return type;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
function excludedFromUnackedFilter(type) {
|
|
153
|
-
return [AlertType.Caution, AlertType.
|
|
153
|
+
return [AlertType.Caution, AlertType.LevelDiagnostic].includes(type);
|
|
154
154
|
}
|
|
155
155
|
function usesAlarmNoAckIcon(type) {
|
|
156
|
-
return [
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
return [
|
|
157
|
+
AlertType.Alarm,
|
|
158
|
+
AlertType.LevelCritical,
|
|
159
|
+
AlertType.LevelHigh
|
|
160
|
+
].includes(type);
|
|
159
161
|
}
|
|
160
162
|
export {
|
|
161
163
|
ALERT_SEVERITY_PRIORITY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-severity.js","sources":["../src/alert-severity.ts"],"sourcesContent":["/**\n * `alert-severity` – Pure helper module mapping alert severities to their\n * visual, behavioral, and acknowledgement semantics.\n *\n * Centralizes the per-`AlertType` decisions shared across alert-rendering\n * components (badges, twotone icons, frames, lists) so that severity behavior\n * stays consistent everywhere. Supports both the legacy severities\n * (`alarm`, `warning`, `caution`) and the
|
|
1
|
+
{"version":3,"file":"alert-severity.js","sources":["../src/alert-severity.ts"],"sourcesContent":["/**\n * `alert-severity` – Pure helper module mapping alert severities to their\n * visual, behavioral, and acknowledgement semantics.\n *\n * Centralizes the per-`AlertType` decisions shared across alert-rendering\n * components (badges, twotone icons, frames, lists) so that severity behavior\n * stays consistent everywhere. Supports both the legacy severities\n * (`alarm`, `warning`, `caution`) and the level severities\n * (`level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`),\n * collapsing the level set onto the legacy visual/blink treatments where they\n * share styling.\n *\n * Features:\n * - Color tokens: `getAlertColorTokens` returns background/border/on-active\n * CSS custom properties per severity.\n * - Component selectors: `getAlertBadgeComponent` and\n * `getAlertTwotoneComponent` resolve the badge/icon element tag for a\n * severity.\n * - Blinking: `supportsBlinking` reports whether a severity blinks,\n * `getAlertBlinkMode` resolves its blink mode, and\n * `getBamAlertTypeForBlinking` maps level severities onto the legacy type used\n * by the bridge alert management (BAM) blink machinery.\n * - Acknowledgement & filtering: `requiresAcknowledgement` reports whether a\n * severity needs an ACK action, `excludedFromUnackedFilter` reports whether\n * it is hidden from the \"unacked\" view, and `usesAlarmNoAckIcon` selects the\n * alarm-style no-ack icon.\n * - Priority: re-exports `ALERT_SEVERITY_PRIORITY`, the ordered severity list\n * (most → least severe) used to sort alerts.\n *\n * Usage:\n * ```ts\n * import {\n * getAlertColorTokens,\n * requiresAcknowledgement,\n * ALERT_SEVERITY_PRIORITY,\n * } from './alert-severity.js';\n * import {AlertType} from './types.js';\n *\n * const tokens = getAlertColorTokens(AlertType.LevelHigh);\n * const needsAck = requiresAcknowledgement(AlertType.LevelLow); // true\n * alerts.sort(\n * (a, b) =>\n * ALERT_SEVERITY_PRIORITY.indexOf(a.type) -\n * ALERT_SEVERITY_PRIORITY.indexOf(b.type)\n * );\n * ```\n */\nimport {AlertType, ALERT_SEVERITY_PRIORITY} from './types.js';\n\nexport {ALERT_SEVERITY_PRIORITY};\n\nexport enum AlertBadgeComponent {\n Alarm = 'obi-alarm-badge',\n Warning = 'obi-warning-badge',\n Caution = 'obi-caution-badge',\n Critical = 'obi-critical-badge',\n Diagnostic = 'obi-diagnostic-badge',\n}\n\nexport type AlertColorTokens = {\n bg: string;\n border: string;\n onActive: string;\n};\n\nexport function requiresAcknowledgement(type: AlertType): boolean {\n return [\n AlertType.Alarm,\n AlertType.Warning,\n AlertType.LevelCritical,\n AlertType.LevelHigh,\n AlertType.LevelMedium,\n AlertType.LevelLow,\n ].includes(type);\n}\n\nexport function supportsBlinking(type: AlertType): boolean {\n return [\n AlertType.Alarm,\n AlertType.Warning,\n AlertType.LevelCritical,\n AlertType.LevelHigh,\n AlertType.LevelMedium,\n AlertType.LevelLow,\n ].includes(type);\n}\n\nexport function getAlertSeverityCssClass(type: AlertType): string {\n return type;\n}\n\nexport function getAlertColorTokens(type: AlertType): AlertColorTokens {\n switch (type) {\n case AlertType.LevelCritical:\n return {\n bg: 'var(--critical-enabled-background-color)',\n border: 'var(--critical-enabled-border-color)',\n onActive: 'var(--on-critical-active-color)',\n };\n case AlertType.Warning:\n case AlertType.LevelMedium:\n return {\n bg: 'var(--alert-warning-color)',\n border: 'var(--alert-warning-outline-color)',\n onActive: 'var(--on-warning-active-color)',\n };\n case AlertType.Caution:\n case AlertType.LevelLow:\n return {\n bg: 'var(--alert-caution-color)',\n border: 'var(--alert-caution-outline-color)',\n onActive: 'var(--on-caution-active-color)',\n };\n case AlertType.LevelDiagnostic:\n return {\n bg: 'var(--notification-enabled-background-color)',\n border: 'var(--notification-enabled-border-color)',\n onActive: 'var(--on-notification-active-color)',\n };\n case AlertType.Alarm:\n case AlertType.LevelHigh:\n default:\n return {\n bg: 'var(--alert-alarm-color)',\n border: 'var(--alert-alarm-outline-color)',\n onActive: 'var(--on-alarm-active-color)',\n };\n }\n}\n\nexport function getAlertBadgeComponent(type: AlertType): AlertBadgeComponent {\n switch (type) {\n case AlertType.LevelCritical:\n return AlertBadgeComponent.Critical;\n case AlertType.Warning:\n case AlertType.LevelMedium:\n return AlertBadgeComponent.Warning;\n case AlertType.Caution:\n case AlertType.LevelLow:\n return AlertBadgeComponent.Caution;\n case AlertType.LevelDiagnostic:\n return AlertBadgeComponent.Diagnostic;\n case AlertType.Alarm:\n case AlertType.LevelHigh:\n default:\n return AlertBadgeComponent.Alarm;\n }\n}\n\nexport enum AlertTwotoneComponent {\n Alarm = 'obi-alerts-alarm-twotone',\n Warning = 'obi-alerts-warning-twotone',\n Caution = 'obi-alerts-caution-twotone',\n Critical = 'obi-alerts-critical-twotone',\n Diagnostic = 'obi-alerts-diagnostic-twotone',\n}\n\nexport function getAlertTwotoneComponent(\n type: AlertType\n): AlertTwotoneComponent {\n switch (type) {\n case AlertType.LevelCritical:\n return AlertTwotoneComponent.Critical;\n case AlertType.LevelDiagnostic:\n return AlertTwotoneComponent.Diagnostic;\n case AlertType.Warning:\n case AlertType.LevelMedium:\n return AlertTwotoneComponent.Warning;\n case AlertType.Caution:\n case AlertType.LevelLow:\n return AlertTwotoneComponent.Caution;\n case AlertType.Alarm:\n case AlertType.LevelHigh:\n default:\n return AlertTwotoneComponent.Alarm;\n }\n}\n\nexport enum AlertBlinkMode {\n Critical = 'critical',\n Alarm = 'alarm',\n Warning = 'warning',\n Low = 'low',\n}\n\nexport function getAlertBlinkMode(type: AlertType): AlertBlinkMode {\n switch (type) {\n case AlertType.LevelCritical:\n return AlertBlinkMode.Critical;\n case AlertType.Warning:\n case AlertType.LevelMedium:\n return AlertBlinkMode.Warning;\n case AlertType.Caution:\n case AlertType.LevelLow:\n return AlertBlinkMode.Low;\n case AlertType.Alarm:\n case AlertType.LevelHigh:\n default:\n return AlertBlinkMode.Alarm;\n }\n}\n\nexport function getBamAlertTypeForBlinking(type: AlertType): AlertType {\n switch (type) {\n case AlertType.LevelCritical:\n case AlertType.LevelHigh:\n return AlertType.Alarm;\n case AlertType.LevelMedium:\n return AlertType.Warning;\n case AlertType.LevelLow:\n return AlertType.Caution;\n default:\n return type;\n }\n}\n\nexport function excludedFromUnackedFilter(type: AlertType): boolean {\n return [AlertType.Caution, AlertType.LevelDiagnostic].includes(type);\n}\n\nexport function usesAlarmNoAckIcon(type: AlertType): boolean {\n return [\n AlertType.Alarm,\n AlertType.LevelCritical,\n AlertType.LevelHigh,\n ].includes(type);\n}\n"],"names":["AlertBadgeComponent","AlertTwotoneComponent","AlertBlinkMode"],"mappings":";;AAmDO,IAAK,wCAAAA,yBAAL;AACLA,uBAAA,OAAA,IAAQ;AACRA,uBAAA,SAAA,IAAU;AACVA,uBAAA,SAA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AAA,IACN,KAAK,UAAU;AAAA,IACf,KAAK,UAAU;AACb,aAAO,UAAU;AAAA,IACnB,KAAK,UAAU;AACb,aAAO,UAAU;AAAA,IACnB,KAAK,UAAU;AACb,aAAO,UAAU;AAAA,IACnB;AACE,aAAO;AAAA,EAAA;AAEb;AAEO,SAAS,0BAA0B,MAA0B;AAClE,SAAO,CAAC,UAAU,SAAS,UAAU,eAAe,EAAE,SAAS,IAAI;AACrE;AAEO,SAAS,mBAAmB,MAA0B;AAC3D,SAAO;AAAA,IACL,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,EAAA,EACV,SAAS,IAAI;AACjB;"}
|
|
@@ -38,29 +38,29 @@ const componentStyle = css`
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.wrapper.type-id.state-caution,
|
|
41
|
-
.wrapper.type-id.state-
|
|
41
|
+
.wrapper.type-id.state-level-low {
|
|
42
42
|
background: var(--alert-caution-color);
|
|
43
43
|
border: 1px solid var(--alert-caution-outline-color);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.wrapper.type-id.state-warning,
|
|
47
|
-
.wrapper.type-id.state-
|
|
47
|
+
.wrapper.type-id.state-level-medium {
|
|
48
48
|
background: var(--alert-warning-color);
|
|
49
49
|
border: 1px solid var(--alert-warning-outline-color);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.wrapper.type-id.state-alarm,
|
|
53
|
-
.wrapper.type-id.state-
|
|
53
|
+
.wrapper.type-id.state-level-high {
|
|
54
54
|
background: var(--alert-alarm-color);
|
|
55
55
|
border: 1px solid var(--alert-alarm-outline-color);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.wrapper.type-id.state-
|
|
58
|
+
.wrapper.type-id.state-level-critical {
|
|
59
59
|
background: var(--critical-enabled-background-color);
|
|
60
60
|
border: 1px solid var(--critical-enabled-border-color);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.wrapper.type-id.state-
|
|
63
|
+
.wrapper.type-id.state-level-diagnostic {
|
|
64
64
|
background: var(--notification-enabled-background-color);
|
|
65
65
|
border: 1px solid var(--notification-enabled-border-color);
|
|
66
66
|
}
|
|
@@ -70,11 +70,11 @@ const componentStyle = css`
|
|
|
70
70
|
.state-caution,
|
|
71
71
|
.state-warning,
|
|
72
72
|
.state-alarm,
|
|
73
|
-
.state-
|
|
74
|
-
.state-
|
|
75
|
-
.state-
|
|
76
|
-
.state-
|
|
77
|
-
.state-
|
|
73
|
+
.state-level-critical,
|
|
74
|
+
.state-level-high,
|
|
75
|
+
.state-level-medium,
|
|
76
|
+
.state-level-low,
|
|
77
|
+
.state-level-diagnostic
|
|
78
78
|
) {
|
|
79
79
|
background: var(--overlay-container-background-color);
|
|
80
80
|
border: 1px solid var(--overlay-border-outline-color);
|
|
@@ -136,29 +136,29 @@ const componentStyle = css`
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.wrapper.type-data.state-caution .id-pill,
|
|
139
|
-
.wrapper.type-data.state-
|
|
139
|
+
.wrapper.type-data.state-level-low .id-pill {
|
|
140
140
|
background: var(--alert-caution-color);
|
|
141
141
|
border: 1px solid var(--alert-caution-outline-color);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.wrapper.type-data.state-warning .id-pill,
|
|
145
|
-
.wrapper.type-data.state-
|
|
145
|
+
.wrapper.type-data.state-level-medium .id-pill {
|
|
146
146
|
background: var(--alert-warning-color);
|
|
147
147
|
border: 1px solid var(--alert-warning-outline-color);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.wrapper.type-data.state-alarm .id-pill,
|
|
151
|
-
.wrapper.type-data.state-
|
|
151
|
+
.wrapper.type-data.state-level-high .id-pill {
|
|
152
152
|
background: var(--alert-alarm-color);
|
|
153
153
|
border: 1px solid var(--alert-alarm-outline-color);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.wrapper.type-data.state-
|
|
156
|
+
.wrapper.type-data.state-level-critical .id-pill {
|
|
157
157
|
background: var(--critical-enabled-background-color);
|
|
158
158
|
border: 1px solid var(--critical-enabled-border-color);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.wrapper.type-data.state-
|
|
161
|
+
.wrapper.type-data.state-level-diagnostic .id-pill {
|
|
162
162
|
background: var(--notification-enabled-background-color);
|
|
163
163
|
border: 1px solid var(--notification-enabled-border-color);
|
|
164
164
|
}
|
|
@@ -8,11 +8,11 @@ export declare enum ObcPoiHeaderState {
|
|
|
8
8
|
Caution = "caution",
|
|
9
9
|
Warning = "warning",
|
|
10
10
|
Alarm = "alarm",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
LevelCritical = "level-critical",
|
|
12
|
+
LevelHigh = "level-high",
|
|
13
|
+
LevelMedium = "level-medium",
|
|
14
|
+
LevelLow = "level-low",
|
|
15
|
+
LevelDiagnostic = "level-diagnostic"
|
|
16
16
|
}
|
|
17
17
|
export declare enum ObcPoiHeaderType {
|
|
18
18
|
Data = "data",
|
|
@@ -29,7 +29,7 @@ export declare enum ObcPoiHeaderType {
|
|
|
29
29
|
* - `type` (default `id`):
|
|
30
30
|
* - `id`: shows identifier content only.
|
|
31
31
|
* - `data`: shows identifier plus secondary label.
|
|
32
|
-
* - `state` (default `enabled`): `enabled`, `selected`, `caution`, `warning`, `alarm`, `
|
|
32
|
+
* - `state` (default `enabled`): `enabled`, `selected`, `caution`, `warning`, `alarm`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`.
|
|
33
33
|
* - `content` (default `"1"`): primary identifier text.
|
|
34
34
|
* - `label` (default `"Data"`): secondary text used by `type="data"`.
|
|
35
35
|
* - `hasIndicator` (default `false`): appends indicator area.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-header.d.ts","sourceRoot":"","sources":["../../../../src/ar/building-blocks/poi-header/poi-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAMzD,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;CACpB;AAED,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,
|
|
1
|
+
{"version":3,"file":"poi-header.d.ts","sourceRoot":"","sources":["../../../../src/ar/building-blocks/poi-header/poi-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAMzD,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;CACpB;AAED,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,aAAa,mBAAmB;IAChC,SAAS,eAAe;IACxB,WAAW,iBAAiB;IAC5B,QAAQ,cAAc;IACtB,eAAe,qBAAqB;CACrC;AAED,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBACa,YAAa,SAAQ,UAAU;IAChB,OAAO,SAAO;IACd,KAAK,SAAU;IAGzC,IAAI,EAAE,gBAAgB,CAA4B;IAGlD,KAAK,EAAE,iBAAiB,CAA6B;IAGrD,IAAI,EAAE,gBAAgB,CAAuB;IAG7C,YAAY,UAAS;IAErB,OAAO,KAAK,UAAU,GAErB;IAED,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,KAAK,yBAAyB,GAEpC;IAED,OAAO,CAAC,eAAe;IAkBvB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,UAAU;IAWT,MAAM;IAmBf,OAAgB,MAAM,0BAA6B;CACpD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,YAAY,CAAC;KAChC;CACF"}
|
|
@@ -23,11 +23,11 @@ var ObcPoiHeaderState = /* @__PURE__ */ ((ObcPoiHeaderState2) => {
|
|
|
23
23
|
ObcPoiHeaderState2["Caution"] = "caution";
|
|
24
24
|
ObcPoiHeaderState2["Warning"] = "warning";
|
|
25
25
|
ObcPoiHeaderState2["Alarm"] = "alarm";
|
|
26
|
-
ObcPoiHeaderState2["
|
|
27
|
-
ObcPoiHeaderState2["
|
|
28
|
-
ObcPoiHeaderState2["
|
|
29
|
-
ObcPoiHeaderState2["
|
|
30
|
-
ObcPoiHeaderState2["
|
|
26
|
+
ObcPoiHeaderState2["LevelCritical"] = "level-critical";
|
|
27
|
+
ObcPoiHeaderState2["LevelHigh"] = "level-high";
|
|
28
|
+
ObcPoiHeaderState2["LevelMedium"] = "level-medium";
|
|
29
|
+
ObcPoiHeaderState2["LevelLow"] = "level-low";
|
|
30
|
+
ObcPoiHeaderState2["LevelDiagnostic"] = "level-diagnostic";
|
|
31
31
|
return ObcPoiHeaderState2;
|
|
32
32
|
})(ObcPoiHeaderState || {});
|
|
33
33
|
var ObcPoiHeaderType = /* @__PURE__ */ ((ObcPoiHeaderType2) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-header.js","sources":["../../../../src/ar/building-blocks/poi-header/poi-header.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {customElement} from '../../../decorator.js';\nimport componentStyle from './poi-header.css?inline';\n\nexport enum ObcPoiHeaderSize {\n Regular = 'regular',\n}\n\nexport enum ObcPoiHeaderState {\n Enabled = 'enabled',\n Selected = 'selected',\n Caution = 'caution',\n Warning = 'warning',\n Alarm = 'alarm',\n
|
|
1
|
+
{"version":3,"file":"poi-header.js","sources":["../../../../src/ar/building-blocks/poi-header/poi-header.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {customElement} from '../../../decorator.js';\nimport componentStyle from './poi-header.css?inline';\n\nexport enum ObcPoiHeaderSize {\n Regular = 'regular',\n}\n\nexport enum ObcPoiHeaderState {\n Enabled = 'enabled',\n Selected = 'selected',\n Caution = 'caution',\n Warning = 'warning',\n Alarm = 'alarm',\n LevelCritical = 'level-critical',\n LevelHigh = 'level-high',\n LevelMedium = 'level-medium',\n LevelLow = 'level-low',\n LevelDiagnostic = 'level-diagnostic',\n}\n\nexport enum ObcPoiHeaderType {\n Data = 'data',\n Id = 'id',\n}\n\n/**\n * `<obc-poi-header>` - Compact header chip for marker identifiers, labels, and optional indicator content.\n *\n * ## Overview\n * Use this component to display compact marker metadata above or near a marker button.\n * Keywords/synonyms: chip, pill, badge, header chip, identifier badge.\n *\n * ## Features/Variants\n * - `type` (default `id`):\n * - `id`: shows identifier content only.\n * - `data`: shows identifier plus secondary label.\n * - `state` (default `enabled`): `enabled`, `selected`, `caution`, `warning`, `alarm`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`.\n * - `content` (default `\"1\"`): primary identifier text.\n * - `label` (default `\"Data\"`): secondary text used by `type=\"data\"`.\n * - `hasIndicator` (default `false`): appends indicator area.\n * - `indicator` slot fallback: renders built-in bar indicator markup when slot content is empty.\n * - `size` (default `regular`): currently only `regular`.\n *\n * ## Usage Guidelines\n * - Use `type=\"id\"` for compact identifier-only labels.\n * - Use `type=\"data\"` when both an ID and short label are required.\n * - Keep `content` and `label` brief to prevent overflow.\n *\n * ## Slots/Content\n * - `indicator`: Optional indicator icon/content; built-in indicator is used as fallback.\n *\n * ## Events\n * This component does not emit custom events.\n *\n * ## Best Practices\n * - Keep indicator usage consistent across similar marker states.\n * - Prefer enum values for `type`, `state`, and `size`.\n *\n * ## Example\n * ```html\n * <obc-poi-header type=\"data\" state=\"selected\" content=\"3\" label=\"SOG\" has-indicator>\n * <obi-placeholder slot=\"indicator\"></obi-placeholder>\n * </obc-poi-header>\n * ```\n *\n * @slot indicator - Optional indicator icon/content.\n */\n@customElement('obc-poi-header')\nexport class ObcPoiHeader extends LitElement {\n @property({type: String}) content = '1';\n @property({type: String}) label = 'Data';\n\n @property({type: String})\n size: ObcPoiHeaderSize = ObcPoiHeaderSize.Regular;\n\n @property({type: String})\n state: ObcPoiHeaderState = ObcPoiHeaderState.Enabled;\n\n @property({type: String})\n type: ObcPoiHeaderType = ObcPoiHeaderType.Id;\n\n @property({type: Boolean, attribute: 'has-indicator'})\n hasIndicator = false;\n\n private get isDataType(): boolean {\n return this.type === ObcPoiHeaderType.Data;\n }\n\n private get isEnabled(): boolean {\n return this.state === ObcPoiHeaderState.Enabled;\n }\n\n private get hasSingleCharacterContent(): boolean {\n return this.content?.trim().length === 1;\n }\n\n private renderIndicator() {\n const withFrame = this.isDataType && this.isEnabled;\n const defaultIndicator = html`\n <span class=\"indicator\" aria-hidden=\"true\" data-node-id=\"10534:68353\">\n <span class=\"bar left\" data-node-id=\"10534:68366\"></span>\n <span class=\"bar middle\" data-node-id=\"10534:68365\"></span>\n <span class=\"bar right\" data-node-id=\"10534:68367\"></span>\n </span>\n `;\n const indicator = html`<slot name=\"indicator\">${defaultIndicator}</slot>`;\n\n if (!withFrame) {\n return indicator;\n }\n\n return html`<span class=\"indicator-frame\">${indicator}</span>`;\n }\n\n private renderIdOnly() {\n return html`<span class=\"id-only-text\">${this.content}</span>`;\n }\n\n private renderData() {\n return html`\n <div class=\"id-pill\">\n <span class=\"id-text\">${this.content}</span>\n </div>\n <div class=\"label-pill\">\n <span class=\"label-text\">${this.label}</span>\n </div>\n `;\n }\n\n override render() {\n return html`\n <div\n class=${classMap({\n wrapper: true,\n [`size-${this.size}`]: true,\n [`state-${this.state}`]: true,\n [`type-${this.type}`]: true,\n 'single-char-content': this.hasSingleCharacterContent,\n 'has-indicator': this.hasIndicator,\n })}\n data-node-id=\"10389:51689\"\n >\n ${this.isDataType ? this.renderData() : this.renderIdOnly()}\n ${this.hasIndicator ? this.renderIndicator() : nothing}\n </div>\n `;\n }\n\n static override styles = unsafeCSS(componentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-poi-header': ObcPoiHeader;\n }\n}\n"],"names":["ObcPoiHeaderSize","ObcPoiHeaderState","ObcPoiHeaderType"],"mappings":";;;;;;;;;;;;;;;AAMO,IAAK,qCAAAA,sBAAL;AACLA,oBAAA,SAAA,IAAU;AADA,SAAAA;AAAA,GAAA,oBAAA,CAAA,CAAA;AAIL,IAAK,sCAAAC,uBAAL;AACLA,qBAAA,SAAA,IAAU;AACVA,qBAAA,UAAA,IAAW;AACXA,qBAAA,SAAA,IAAU;AACVA,qBAAA,SAAA,IAAU;AACVA,qBAAA,OAAA,IAAQ;AACRA,qBAAA,eAAA,IAAgB;AAChBA,qBAAA,WAAA,IAAY;AACZA,qBAAA,aAAA,IAAc;AACdA,qBAAA,UAAA,IAAW;AACXA,qBAAA,iBAAA,IAAkB;AAVR,SAAAA;AAAA,GAAA,qBAAA,CAAA,CAAA;AAaL,IAAK,qCAAAC,sBAAL;AACLA,oBAAA,MAAA,IAAO;AACPA,oBAAA,IAAA,IAAK;AAFK,SAAAA;AAAA,GAAA,oBAAA,CAAA,CAAA;AAgDL,IAAM,eAAN,cAA2B,WAAW;AAAA,EAAtC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,UAAU;AACV,SAAA,QAAQ;AAGlC,SAAA,OAAyB;AAGzB,SAAA,QAA2B;AAG3B,SAAA,OAAyB;AAGzB,SAAA,eAAe;AAAA,EAAA;AAAA,EAEf,IAAY,aAAsB;AAChC,WAAO,KAAK,SAAS;AAAA,EACvB;AAAA,EAEA,IAAY,YAAqB;AAC/B,WAAO,KAAK,UAAU;AAAA,EACxB;AAAA,EAEA,IAAY,4BAAqC;AAC/C,WAAO,KAAK,SAAS,KAAA,EAAO,WAAW;AAAA,EACzC;AAAA,EAEQ,kBAAkB;AACxB,UAAM,YAAY,KAAK,cAAc,KAAK;AAC1C,UAAM,mBAAmB;AAA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