@oicl/openbridge-webcomponents-svelte 2.0.0-next.159 → 2.0.0-next.160
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/README.md +1 -1
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -4
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +4 -4
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -4
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -4
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +10 -65
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +5 -60
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -4
- package/dist/automation/capacitor/ObcCapacitor.svelte +4 -4
- package/dist/automation/converter/ObcConverter.svelte +4 -4
- package/dist/automation/damper/ObcDamper.svelte +4 -4
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +4 -4
- package/dist/automation/diodes/ObcDiodes.svelte +4 -4
- package/dist/automation/fan/ObcFan.svelte +4 -4
- package/dist/automation/filter/ObcFilter.svelte +4 -4
- package/dist/automation/ground/ObcGround.svelte +4 -4
- package/dist/automation/logic/ObcLogic.svelte +4 -4
- package/dist/automation/mosfet/ObcMosfet.svelte +4 -4
- package/dist/automation/motor/ObcMotor.svelte +4 -4
- package/dist/automation/pump/ObcPump.svelte +4 -4
- package/dist/automation/resistor/ObcResistor.svelte +4 -4
- package/dist/automation/router/ObcRouter.svelte +4 -4
- package/dist/automation/source/ObcSource.svelte +4 -4
- package/dist/automation/switch/ObcSwitch.svelte +4 -4
- package/dist/automation/transformer/ObcTransformer.svelte +4 -4
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +4 -21
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +2 -19
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +2 -16
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +1 -15
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +2 -16
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +1 -15
- package/dist/building-blocks/circular-progress/ObcCircularProgress.svelte +9 -0
- package/dist/building-blocks/circular-progress/ObcCircularProgress.svelte.d.ts +9 -0
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte +1 -10
- package/dist/building-blocks/single-axis-inclinometer/SingleAxisInclinometer.svelte.d.ts +0 -9
- package/dist/components/accordion-card/ObcAccordionCard.svelte +4 -10
- package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +2 -8
- package/dist/components/advice-button/ObcAdviceButton.svelte +6 -6
- package/dist/components/advice-button/ObcAdviceButton.svelte.d.ts +5 -5
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +6 -15
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +3 -12
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +4 -14
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +2 -12
- package/dist/components/alert-frame/ObcAlertFrame.svelte +8 -23
- package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +4 -19
- package/dist/components/alert-menu/ObcAlertMenu.svelte +8 -20
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +4 -16
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +4 -4
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +2 -2
- package/dist/components/app-button/ObcAppButton.svelte +6 -2
- package/dist/components/app-button/ObcAppButton.svelte.d.ts +5 -1
- package/dist/components/badge/ObcBadge.svelte +16 -28
- package/dist/components/badge/ObcBadge.svelte.d.ts +10 -22
- package/dist/components/breadcrumb/ObcBreadcrumb.svelte +2 -6
- package/dist/components/breadcrumb/ObcBreadcrumb.svelte.d.ts +1 -5
- package/dist/components/button/ObcButton.svelte +4 -11
- package/dist/components/button/ObcButton.svelte.d.ts +2 -9
- package/dist/components/card/ObcCard.svelte +14 -12
- package/dist/components/card/ObcCard.svelte.d.ts +11 -9
- package/dist/components/check-button/ObcCheckButton.svelte +4 -8
- package/dist/components/check-button/ObcCheckButton.svelte.d.ts +2 -6
- package/dist/components/checkbox/ObcCheckbox.svelte +6 -13
- package/dist/components/checkbox/ObcCheckbox.svelte.d.ts +3 -10
- package/dist/components/command-button/ObcCommandButton.svelte +2 -7
- package/dist/components/command-button/ObcCommandButton.svelte.d.ts +1 -6
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +24 -42
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +16 -34
- package/dist/components/date-item/ObcDateItem.svelte +2 -4
- package/dist/components/date-item/ObcDateItem.svelte.d.ts +1 -3
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +4 -13
- package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +2 -11
- package/dist/components/elevated-card/ObcElevatedCard.svelte +6 -19
- package/dist/components/elevated-card/ObcElevatedCard.svelte.d.ts +3 -16
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +4 -8
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +2 -6
- package/dist/components/event-list/ObcEventList.svelte +2 -2
- package/dist/components/event-list/ObcEventList.svelte.d.ts +1 -1
- package/dist/components/floating-item/ObcFloatingItem.svelte +6 -18
- package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +3 -15
- package/dist/components/icon-button/ObcIconButton.svelte +2 -5
- package/dist/components/icon-button/ObcIconButton.svelte.d.ts +1 -4
- package/dist/components/icon-check-button/ObcIconCheckButton.svelte +16 -24
- package/dist/components/icon-check-button/ObcIconCheckButton.svelte.d.ts +10 -18
- package/dist/components/menu-button/ObcMenuButton.svelte +4 -17
- package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +2 -15
- package/dist/components/navigation-item/ObcNavigationItem.svelte +2 -2
- package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +1 -1
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +2 -2
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +1 -1
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -8
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +1 -7
- package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte +2 -2
- package/dist/components/notification-badge-button/ObcNotificationBadgeButton.svelte.d.ts +2 -2
- package/dist/components/notification-button/ObcNotificationButton.svelte +22 -35
- package/dist/components/notification-button/ObcNotificationButton.svelte.d.ts +17 -30
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +6 -15
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +3 -12
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +4 -10
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte.d.ts +2 -8
- package/dist/components/pagination/ObcPagination.svelte +8 -26
- package/dist/components/pagination/ObcPagination.svelte.d.ts +4 -22
- package/dist/components/pivot-item/ObcPivotItem.svelte +14 -29
- package/dist/components/pivot-item/ObcPivotItem.svelte.d.ts +7 -22
- package/dist/components/progress-bar/ObcProgressBar.svelte +6 -5
- package/dist/components/progress-bar/ObcProgressBar.svelte.d.ts +5 -4
- package/dist/components/rich-button/ObcRichButton.svelte +2 -4
- package/dist/components/rich-button/ObcRichButton.svelte.d.ts +1 -3
- package/dist/components/slider/ObcSlider.svelte +32 -46
- package/dist/components/slider/ObcSlider.svelte.d.ts +22 -36
- package/dist/components/slider-double/ObcSliderDouble.svelte +7 -21
- package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +4 -18
- package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte +18 -48
- package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte.d.ts +11 -41
- package/dist/components/stepper-box/ObcStepperBox.svelte +2 -7
- package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +1 -6
- package/dist/components/system-button/ObcSystemButton.svelte +4 -14
- package/dist/components/system-button/ObcSystemButton.svelte.d.ts +2 -12
- package/dist/components/tab-item/ObcTabItem.svelte +30 -66
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +17 -53
- package/dist/components/tab-row/ObcTabRow.svelte +12 -36
- package/dist/components/tab-row/ObcTabRow.svelte.d.ts +6 -30
- package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte +18 -54
- package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte.d.ts +9 -45
- package/dist/components/toggle-button-vertical-group/ObcToggleButtonVerticalGroup.svelte +10 -26
- package/dist/components/toggle-button-vertical-group/ObcToggleButtonVerticalGroup.svelte.d.ts +5 -21
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +2 -4
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte.d.ts +1 -3
- package/dist/components/toggletip/ObcToggletip.svelte +2 -10
- package/dist/components/toggletip/ObcToggletip.svelte.d.ts +1 -9
- package/dist/components/tooltip/ObcTooltip.svelte +16 -28
- package/dist/components/tooltip/ObcTooltip.svelte.d.ts +12 -24
- package/dist/components/top-bar/ObcTopBar.svelte +84 -48
- package/dist/components/top-bar/ObcTopBar.svelte.d.ts +45 -9
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +4 -16
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte.d.ts +2 -14
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +2 -2
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +1 -1
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +2 -2
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +1 -1
- package/dist/components/user-button/ObcUserButton.svelte +6 -13
- package/dist/components/user-button/ObcUserButton.svelte.d.ts +3 -10
- package/dist/components/vendor-button/ObcVendorButton.svelte +4 -8
- package/dist/components/vendor-button/ObcVendorButton.svelte.d.ts +2 -6
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +2 -8
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +1 -7
- package/dist/navigation-instruments/compass/ObcCompass.svelte +6 -8
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +5 -7
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +2 -7
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +1 -6
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +6 -7
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +5 -6
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte +12 -23
- package/dist/navigation-instruments/gauge-radial/ObcGaugeRadial.svelte.d.ts +5 -16
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +28 -51
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +22 -45
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +2 -10
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +1 -9
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +4 -4
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +2 -2
- package/dist/navigation-instruments/roll/ObcRoll.svelte +2 -10
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +1 -9
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +2 -6
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +1 -5
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte +16 -20
- package/dist/navigation-instruments/rot-sector/ObcRotSector.svelte.d.ts +4 -8
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte +14 -20
- package/dist/navigation-instruments/speed-gauge/ObcSpeedGauge.svelte.d.ts +3 -9
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +6 -22
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +3 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ We invite industry partners to join our Joint Industry Project. By becoming a do
|
|
|
32
32
|
By becoming a donor, you aren’t just supporting code—you’re joining a collaborative movement. To show our appreciation, donors receive a specialized benefits package valid for 12 months upon receipt of payment:
|
|
33
33
|
|
|
34
34
|
- **Proudly Show Your Support:** You are authorized to use the official "OpenBridge Member" logo in your marketing materials and corporate communications.
|
|
35
|
-
- **
|
|
35
|
+
- **Commercial License:** You can use every new release under a commercial license before its Apache 2.0 change date, without the AGPL obligations (see [LICENSE.txt](https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/blob/develop/LICENSE.txt)).
|
|
36
36
|
|
|
37
37
|
### How to Support
|
|
38
38
|
|
|
@@ -31,8 +31,8 @@ import type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/autom
|
|
|
31
31
|
/** Available when `showReadoutStack==true`. */
|
|
32
32
|
tag?: string | null;
|
|
33
33
|
positioning?: AutomationButtonPositioning;
|
|
34
|
-
|
|
35
|
-
activated?: boolean;
|
|
34
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
35
|
+
activated?: boolean;
|
|
36
36
|
alert?: boolean;
|
|
37
37
|
/** Available when `alert==true`. */
|
|
38
38
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -46,8 +46,8 @@ activated?: boolean;
|
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
47
|
/** Available when `alert==true`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
|
-
|
|
50
|
-
progress?: boolean;
|
|
49
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
|
+
progress?: boolean;
|
|
51
51
|
/** Available when `progress==true`. */
|
|
52
52
|
progressMode?: CircularProgressMode;
|
|
53
53
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -29,8 +29,8 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
29
29
|
/** Available when `showReadoutStack==true`. */
|
|
30
30
|
tag?: string | null;
|
|
31
31
|
positioning?: AutomationButtonPositioning;
|
|
32
|
-
|
|
33
|
-
activated?: boolean;
|
|
32
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
33
|
+
activated?: boolean;
|
|
34
34
|
alert?: boolean;
|
|
35
35
|
/** Available when `alert==true`. */
|
|
36
36
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -44,8 +44,8 @@ activated?: boolean;
|
|
|
44
44
|
showAlertCategoryIcon?: boolean;
|
|
45
45
|
/** Available when `alert==true`. */
|
|
46
46
|
showAlertIcon?: boolean;
|
|
47
|
-
|
|
48
|
-
progress?: boolean;
|
|
47
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
48
|
+
progress?: boolean;
|
|
49
49
|
/** Available when `progress==true`. */
|
|
50
50
|
progressMode?: CircularProgressMode;
|
|
51
51
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -31,8 +31,8 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
31
31
|
/** Available when `showReadoutStack==true`. */
|
|
32
32
|
tag?: string | null;
|
|
33
33
|
positioning?: AutomationButtonPositioning;
|
|
34
|
-
|
|
35
|
-
activated?: boolean;
|
|
34
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
35
|
+
activated?: boolean;
|
|
36
36
|
alert?: boolean;
|
|
37
37
|
/** Available when `alert==true`. */
|
|
38
38
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -46,8 +46,8 @@ activated?: boolean;
|
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
47
|
/** Available when `alert==true`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
|
-
|
|
50
|
-
progress?: boolean;
|
|
49
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
|
+
progress?: boolean;
|
|
51
51
|
/** Available when `progress==true`. */
|
|
52
52
|
progressMode?: CircularProgressMode;
|
|
53
53
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -31,8 +31,8 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
|
|
|
31
31
|
/** Available when `showReadoutStack==true`. */
|
|
32
32
|
tag?: string | null;
|
|
33
33
|
positioning?: AutomationButtonPositioning;
|
|
34
|
-
|
|
35
|
-
activated?: boolean;
|
|
34
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
35
|
+
activated?: boolean;
|
|
36
36
|
alert?: boolean;
|
|
37
37
|
/** Available when `alert==true`. */
|
|
38
38
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -46,8 +46,8 @@ activated?: boolean;
|
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
47
|
/** Available when `alert==true`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
|
-
|
|
50
|
-
progress?: boolean;
|
|
49
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
|
+
progress?: boolean;
|
|
51
51
|
/** Available when `progress==true`. */
|
|
52
52
|
progressMode?: CircularProgressMode;
|
|
53
53
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -56,40 +56,10 @@ animateSetpoint?: boolean;
|
|
|
56
56
|
compact?: boolean;
|
|
57
57
|
/** Host positioning model — see `TankPositioning` for details. Defaults to `button` (host fills parent container, 100% × 100%, falling back to the design aspect ratio on any axis the parent leaves indefinite, no anchor offset). Set to `point` for the legacy P&ID canvas mode (fixed default dimensions + top-center anchor offset). */
|
|
58
58
|
positioning?: TankPositioning;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
the frame inside the halo and shrink the frame just like in compact mode.
|
|
64
|
-
Overrides `compact` (a static tank is always compact-sized).
|
|
65
|
-
|
|
66
|
-
Static tanks render as a non-interactive `<div role="img">` (not a
|
|
67
|
-
`<button>`), so they are not in the tab order and do not announce as
|
|
68
|
-
activatable controls. */
|
|
69
|
-
static?: boolean;
|
|
70
|
-
/** Whether the tank is interactive. `true` (default) renders the root as a
|
|
71
|
-
`<button>` with the full flat-mixin interaction surface. `false` renders a
|
|
72
|
-
non-interactive `<div>` — the resting appearance is unchanged (same
|
|
73
|
-
enabled-state colors and the same 1px border box, via the mixin's
|
|
74
|
-
`noClick` variant), but the hover / pressed / focus-visible states are
|
|
75
|
-
gone and the tank leaves the tab order.
|
|
76
|
-
|
|
77
|
-
Everything else keeps rendering: the chart / bar, badges, readout, tag and
|
|
78
|
-
the `alert` frame all behave exactly as they do on a clickable tank. Use
|
|
79
|
-
this for a display-only tank that still shows live data — e.g. a row total
|
|
80
|
-
aggregating the tanks beside it. For "device present, current state
|
|
81
|
-
unknown" use `static` instead, which also hides the chart and shrinks to
|
|
82
|
-
the compact footprint.
|
|
83
|
-
|
|
84
|
-
`static` is already non-interactive, so this has no effect there.
|
|
85
|
-
|
|
86
|
-
Property-only (`attribute: false`, per the repo's positive-default-true
|
|
87
|
-
boolean convention — a `true` default cannot round-trip through an HTML
|
|
88
|
-
boolean attribute). Set it as a property: `el.clickable = false`,
|
|
89
|
-
`.clickable=${false}` in a Lit template, or the equivalent binding in the
|
|
90
|
-
React / Vue / Angular / Svelte wrappers. A `clickable="false"` attribute in
|
|
91
|
-
plain HTML is **not** observed and leaves the tank interactive. */
|
|
92
|
-
clickable?: boolean;
|
|
59
|
+
/** Display-only variant for a device whose current state is unknown: the chart cell is hidden, the bordered area is filled with `--container-section-color` and the readout is centred inside it. Always compact-sized, so it overrides `compact`, and it renders as a `<div role="img">` — outside the tab order and not announced as a control. */
|
|
60
|
+
static?: boolean;
|
|
61
|
+
/** Whether the tank is interactive. `true` renders the root as a `<button>` with the flat-mixin interaction surface; `false` renders a `<div>` that keeps the resting appearance (the mixin's `noClick` variant) but loses hover, pressed and focus-visible and leaves the tab order. Everything else — chart, badges, readout, tag and the alert frame — still renders, so use it for a display-only tank that shows live data. No effect on a `static` tank, which is already non-interactive. */
|
|
62
|
+
clickable?: boolean;
|
|
93
63
|
/**
|
|
94
64
|
* Enables the activated background color, used to indicate that the tank is activated/selected. Requires an interactive tank — the `noClick` mixin variant used when `clickable` is `false` only paints the enabled state, so a non-clickable tank ignores this (matching `obc-elevated-card`).
|
|
95
65
|
*
|
|
@@ -97,11 +67,8 @@ clickable?: boolean;
|
|
|
97
67
|
*/
|
|
98
68
|
activated?: boolean;
|
|
99
69
|
tag?: string;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
- `graph`: embedded `obc-gauge-trend` line/area chart.
|
|
103
|
-
- `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
|
|
104
|
-
chartMode?: TankChartMode;
|
|
70
|
+
/** Chart cell rendering mode: `bar` (default) is a static fill bar driven by `value` and `max`, `graph` embeds an `obc-gauge-trend` line/area chart, and `graphAndBar` embeds one with an integrated side bar. */
|
|
71
|
+
chartMode?: TankChartMode;
|
|
105
72
|
/** Time-series data points for the embedded gauge-trend (graph modes only). */
|
|
106
73
|
chartData?: ChartLineDataItem[];
|
|
107
74
|
/** Priority hint forwarded to child charts (regular | enhanced). */
|
|
@@ -110,21 +77,8 @@ chartMode?: TankChartMode;
|
|
|
110
77
|
advice?: LinearAdvice[];
|
|
111
78
|
/** Show advice overlays (works in all `chartMode` variants). */
|
|
112
79
|
hasAdvice?: boolean;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
graph-and-bar) and in both orientations. The icon is rendered above the
|
|
116
|
-
bar/graph in a fixed CSS layer (does not scale with the SVG meet
|
|
117
|
-
transform) and is silhouetted with a `--border-silhouette-color` halo so
|
|
118
|
-
it stays legible on any underlying fill. The icon size scales with the
|
|
119
|
-
ambient `obc-component-size-*` class on an ancestor via the design token
|
|
120
|
-
`--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
|
|
121
|
-
for regular → medium → large → xl).
|
|
122
|
-
|
|
123
|
-
TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
|
|
124
|
-
so consumers can pass any `<obi-*>` icon. The current API ships the
|
|
125
|
-
smallest viable surface; the slot can be added without breaking the
|
|
126
|
-
boolean property. */
|
|
127
|
-
hasGraphIcon?: boolean;
|
|
80
|
+
/** Overlays a decorative icon centred on the chart cell — the energy-battery icon for a battery tank, the generic tank icon otherwise. Works in every `chartMode` and both orientations; the icon sits in a fixed CSS layer above the bar or graph and is silhouetted so it stays legible on any fill, and its size follows the ambient `obc-component-size-*` class. */
|
|
81
|
+
hasGraphIcon?: boolean;
|
|
128
82
|
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same six properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`). The ring overlays `.halo` only, so the tag and readout that sit outside the halo in compact / static layouts remain unaffected. */
|
|
129
83
|
alert?: boolean;
|
|
130
84
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -136,17 +90,8 @@ hasGraphIcon?: boolean;
|
|
|
136
90
|
showTrendSymbol?: boolean;
|
|
137
91
|
/** Number of fraction digits used to format the percent readout in the non-compact (regular) layout. Defaults to `0` (integer percent). The compact layout always renders integer percent to keep its fixed-width footprint stable. The static layout renders capacity (`max` + `unit`) rather than percent, so this property has no effect there — pass a pre-formatted value through the `max-value` slot if fractional precision is needed (see the `WithFractionDigits` story). */
|
|
138
92
|
percentFractionDigits?: number;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
to a non-`None` value, an `<obc-automation-badge>` of the corresponding
|
|
142
|
-
type is rendered as fallback content for the `badges` slot. Any content
|
|
143
|
-
the consumer slots into `badges` overrides these defaults, preserving
|
|
144
|
-
backward compatibility with the existing slot-based API.
|
|
145
|
-
|
|
146
|
-
Render order (left → right): control, alert, interlock, commandLocked —
|
|
147
|
-
matching the positional convention used by `ObcAbstractAutomationButton`
|
|
148
|
-
(top-left, top-right, bottom-left, bottom-right) read row-by-row. */
|
|
149
|
-
badgeControl?: AutomationButtonBadgeControl;
|
|
93
|
+
/** Control badge rendered in the `badges` cell. A non-`None` value renders an `<obc-automation-badge>` as fallback content for the `badges` slot, so any slotted content wins. The cell orders the four badges control, alert, interlock, commandLocked, left to right. */
|
|
94
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
150
95
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
151
96
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
152
97
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked
|
|
@@ -42,39 +42,9 @@ regardless of instrument state. */
|
|
|
42
42
|
compact?: boolean;
|
|
43
43
|
/** Host positioning model — see `TankPositioning` for details. Defaults to `button` (host fills parent container, 100% × 100%, falling back to the design aspect ratio on any axis the parent leaves indefinite, no anchor offset). Set to `point` for the legacy P&ID canvas mode (fixed default dimensions + top-center anchor offset). */
|
|
44
44
|
positioning?: TankPositioning;
|
|
45
|
-
/**
|
|
46
|
-
inner chart/bar is hidden, the bordered area is filled with
|
|
47
|
-
`--container-section-color`, and the readout is centered inside the frame.
|
|
48
|
-
Tag is rendered below the bordered area; badges (when slotted) sit above
|
|
49
|
-
the frame inside the halo and shrink the frame just like in compact mode.
|
|
50
|
-
Overrides `compact` (a static tank is always compact-sized).
|
|
51
|
-
|
|
52
|
-
Static tanks render as a non-interactive `<div role="img">` (not a
|
|
53
|
-
`<button>`), so they are not in the tab order and do not announce as
|
|
54
|
-
activatable controls. */
|
|
45
|
+
/** Display-only variant for a device whose current state is unknown: the chart cell is hidden, the bordered area is filled with `--container-section-color` and the readout is centred inside it. Always compact-sized, so it overrides `compact`, and it renders as a `<div role="img">` — outside the tab order and not announced as a control. */
|
|
55
46
|
static?: boolean;
|
|
56
|
-
/** Whether the tank is interactive. `true`
|
|
57
|
-
`<button>` with the full flat-mixin interaction surface. `false` renders a
|
|
58
|
-
non-interactive `<div>` — the resting appearance is unchanged (same
|
|
59
|
-
enabled-state colors and the same 1px border box, via the mixin's
|
|
60
|
-
`noClick` variant), but the hover / pressed / focus-visible states are
|
|
61
|
-
gone and the tank leaves the tab order.
|
|
62
|
-
|
|
63
|
-
Everything else keeps rendering: the chart / bar, badges, readout, tag and
|
|
64
|
-
the `alert` frame all behave exactly as they do on a clickable tank. Use
|
|
65
|
-
this for a display-only tank that still shows live data — e.g. a row total
|
|
66
|
-
aggregating the tanks beside it. For "device present, current state
|
|
67
|
-
unknown" use `static` instead, which also hides the chart and shrinks to
|
|
68
|
-
the compact footprint.
|
|
69
|
-
|
|
70
|
-
`static` is already non-interactive, so this has no effect there.
|
|
71
|
-
|
|
72
|
-
Property-only (`attribute: false`, per the repo's positive-default-true
|
|
73
|
-
boolean convention — a `true` default cannot round-trip through an HTML
|
|
74
|
-
boolean attribute). Set it as a property: `el.clickable = false`,
|
|
75
|
-
`.clickable=${false}` in a Lit template, or the equivalent binding in the
|
|
76
|
-
React / Vue / Angular / Svelte wrappers. A `clickable="false"` attribute in
|
|
77
|
-
plain HTML is **not** observed and leaves the tank interactive. */
|
|
47
|
+
/** Whether the tank is interactive. `true` renders the root as a `<button>` with the flat-mixin interaction surface; `false` renders a `<div>` that keeps the resting appearance (the mixin's `noClick` variant) but loses hover, pressed and focus-visible and leaves the tab order. Everything else — chart, badges, readout, tag and the alert frame — still renders, so use it for a display-only tank that shows live data. No effect on a `static` tank, which is already non-interactive. */
|
|
78
48
|
clickable?: boolean;
|
|
79
49
|
/**
|
|
80
50
|
* Enables the activated background color, used to indicate that the tank is activated/selected. Requires an interactive tank — the `noClick` mixin variant used when `clickable` is `false` only paints the enabled state, so a non-clickable tank ignores this (matching `obc-elevated-card`).
|
|
@@ -83,10 +53,7 @@ plain HTML is **not** observed and leaves the tank interactive. */
|
|
|
83
53
|
*/
|
|
84
54
|
activated?: boolean;
|
|
85
55
|
tag?: string;
|
|
86
|
-
/** Chart cell rendering mode.
|
|
87
|
-
- `bar`: static fill bar driven by `value`/`max` (default).
|
|
88
|
-
- `graph`: embedded `obc-gauge-trend` line/area chart.
|
|
89
|
-
- `graphAndBar`: embedded `obc-gauge-trend` with an integrated side bar. */
|
|
56
|
+
/** Chart cell rendering mode: `bar` (default) is a static fill bar driven by `value` and `max`, `graph` embeds an `obc-gauge-trend` line/area chart, and `graphAndBar` embeds one with an integrated side bar. */
|
|
90
57
|
chartMode?: TankChartMode;
|
|
91
58
|
/** Time-series data points for the embedded gauge-trend (graph modes only). */
|
|
92
59
|
chartData?: ChartLineDataItem[];
|
|
@@ -96,20 +63,7 @@ plain HTML is **not** observed and leaves the tank interactive. */
|
|
|
96
63
|
advice?: LinearAdvice[];
|
|
97
64
|
/** Show advice overlays (works in all `chartMode` variants). */
|
|
98
65
|
hasAdvice?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
chart cell. Works in all three `chartMode` variants (bar, graph,
|
|
101
|
-
graph-and-bar) and in both orientations. The icon is rendered above the
|
|
102
|
-
bar/graph in a fixed CSS layer (does not scale with the SVG meet
|
|
103
|
-
transform) and is silhouetted with a `--border-silhouette-color` halo so
|
|
104
|
-
it stays legible on any underlying fill. The icon size scales with the
|
|
105
|
-
ambient `obc-component-size-*` class on an ancestor via the design token
|
|
106
|
-
`--automation-components-tanks-graphs-graph-icon-size` (32 → 48 → 64 → 64
|
|
107
|
-
for regular → medium → large → xl).
|
|
108
|
-
|
|
109
|
-
TODO(future): replace the hard-coded `<obi-tank>` with a `slot="graph-icon"`
|
|
110
|
-
so consumers can pass any `<obi-*>` icon. The current API ships the
|
|
111
|
-
smallest viable surface; the slot can be added without breaking the
|
|
112
|
-
boolean property. */
|
|
66
|
+
/** Overlays a decorative icon centred on the chart cell — the energy-battery icon for a battery tank, the generic tank icon otherwise. Works in every `chartMode` and both orientations; the icon sits in a fixed CSS layer above the bar or graph and is silhouetted so it stays legible on any fill, and its size follows the ambient `obc-component-size-*` class. */
|
|
113
67
|
hasGraphIcon?: boolean;
|
|
114
68
|
/** Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same six properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`). The ring overlays `.halo` only, so the tag and readout that sit outside the halo in compact / static layouts remain unaffected. */
|
|
115
69
|
alert?: boolean;
|
|
@@ -122,16 +76,7 @@ boolean property. */
|
|
|
122
76
|
showTrendSymbol?: boolean;
|
|
123
77
|
/** Number of fraction digits used to format the percent readout in the non-compact (regular) layout. Defaults to `0` (integer percent). The compact layout always renders integer percent to keep its fixed-width footprint stable. The static layout renders capacity (`max` + `unit`) rather than percent, so this property has no effect there — pass a pre-formatted value through the `max-value` slot if fractional precision is needed (see the `WithFractionDigits` story). */
|
|
124
78
|
percentFractionDigits?: number;
|
|
125
|
-
/**
|
|
126
|
-
introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
|
|
127
|
-
to a non-`None` value, an `<obc-automation-badge>` of the corresponding
|
|
128
|
-
type is rendered as fallback content for the `badges` slot. Any content
|
|
129
|
-
the consumer slots into `badges` overrides these defaults, preserving
|
|
130
|
-
backward compatibility with the existing slot-based API.
|
|
131
|
-
|
|
132
|
-
Render order (left → right): control, alert, interlock, commandLocked —
|
|
133
|
-
matching the positional convention used by `ObcAbstractAutomationButton`
|
|
134
|
-
(top-left, top-right, bottom-left, bottom-right) read row-by-row. */
|
|
79
|
+
/** Control badge rendered in the `badges` cell. A non-`None` value renders an `<obc-automation-badge>` as fallback content for the `badges` slot, so any slotted content wins. The cell orders the four badges control, alert, interlock, commandLocked, left to right. */
|
|
135
80
|
badgeControl?: AutomationButtonBadgeControl;
|
|
136
81
|
badgeAlert?: AutomationButtonBadgeAlert;
|
|
137
82
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
@@ -36,8 +36,8 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -34,8 +34,8 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
34
34
|
/** Available when `showReadoutStack==true`. */
|
|
35
35
|
tag?: string | null;
|
|
36
36
|
positioning?: AutomationButtonPositioning;
|
|
37
|
-
|
|
38
|
-
activated?: boolean;
|
|
37
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
38
|
+
activated?: boolean;
|
|
39
39
|
alert?: boolean;
|
|
40
40
|
/** Available when `alert==true`. */
|
|
41
41
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -49,8 +49,8 @@ activated?: boolean;
|
|
|
49
49
|
showAlertCategoryIcon?: boolean;
|
|
50
50
|
/** Available when `alert==true`. */
|
|
51
51
|
showAlertIcon?: boolean;
|
|
52
|
-
|
|
53
|
-
progress?: boolean;
|
|
52
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
53
|
+
progress?: boolean;
|
|
54
54
|
/** Available when `progress==true`. */
|
|
55
55
|
progressMode?: CircularProgressMode;
|
|
56
56
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -31,8 +31,8 @@ import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/auto
|
|
|
31
31
|
/** Available when `showReadoutStack==true`. */
|
|
32
32
|
tag?: string | null;
|
|
33
33
|
positioning?: AutomationButtonPositioning;
|
|
34
|
-
|
|
35
|
-
activated?: boolean;
|
|
34
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
35
|
+
activated?: boolean;
|
|
36
36
|
alert?: boolean;
|
|
37
37
|
/** Available when `alert==true`. */
|
|
38
38
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -46,8 +46,8 @@ activated?: boolean;
|
|
|
46
46
|
showAlertCategoryIcon?: boolean;
|
|
47
47
|
/** Available when `alert==true`. */
|
|
48
48
|
showAlertIcon?: boolean;
|
|
49
|
-
|
|
50
|
-
progress?: boolean;
|
|
49
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
50
|
+
progress?: boolean;
|
|
51
51
|
/** Available when `progress==true`. */
|
|
52
52
|
progressMode?: CircularProgressMode;
|
|
53
53
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -40,8 +40,8 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
40
40
|
/** Available when `showReadoutStack==true`. */
|
|
41
41
|
tag?: string | null;
|
|
42
42
|
positioning?: AutomationButtonPositioning;
|
|
43
|
-
|
|
44
|
-
activated?: boolean;
|
|
43
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
44
|
+
activated?: boolean;
|
|
45
45
|
alert?: boolean;
|
|
46
46
|
/** Available when `alert==true`. */
|
|
47
47
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -55,8 +55,8 @@ activated?: boolean;
|
|
|
55
55
|
showAlertCategoryIcon?: boolean;
|
|
56
56
|
/** Available when `alert==true`. */
|
|
57
57
|
showAlertIcon?: boolean;
|
|
58
|
-
|
|
59
|
-
progress?: boolean;
|
|
58
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
59
|
+
progress?: boolean;
|
|
60
60
|
/** Available when `progress==true`. */
|
|
61
61
|
progressMode?: CircularProgressMode;
|
|
62
62
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {FilterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {GroundAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/aut
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -40,8 +40,8 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
40
40
|
/** Available when `showReadoutStack==true`. */
|
|
41
41
|
tag?: string | null;
|
|
42
42
|
positioning?: AutomationButtonPositioning;
|
|
43
|
-
|
|
44
|
-
activated?: boolean;
|
|
43
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
44
|
+
activated?: boolean;
|
|
45
45
|
alert?: boolean;
|
|
46
46
|
/** Available when `alert==true`. */
|
|
47
47
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -55,8 +55,8 @@ activated?: boolean;
|
|
|
55
55
|
showAlertCategoryIcon?: boolean;
|
|
56
56
|
/** Available when `alert==true`. */
|
|
57
57
|
showAlertIcon?: boolean;
|
|
58
|
-
|
|
59
|
-
progress?: boolean;
|
|
58
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
59
|
+
progress?: boolean;
|
|
60
60
|
/** Available when `progress==true`. */
|
|
61
61
|
progressMode?: CircularProgressMode;
|
|
62
62
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -40,8 +40,8 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
40
40
|
/** Available when `showReadoutStack==true`. */
|
|
41
41
|
tag?: string | null;
|
|
42
42
|
positioning?: AutomationButtonPositioning;
|
|
43
|
-
|
|
44
|
-
activated?: boolean;
|
|
43
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
44
|
+
activated?: boolean;
|
|
45
45
|
alert?: boolean;
|
|
46
46
|
/** Available when `alert==true`. */
|
|
47
47
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -55,8 +55,8 @@ activated?: boolean;
|
|
|
55
55
|
showAlertCategoryIcon?: boolean;
|
|
56
56
|
/** Available when `alert==true`. */
|
|
57
57
|
showAlertIcon?: boolean;
|
|
58
|
-
|
|
59
|
-
progress?: boolean;
|
|
58
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
59
|
+
progress?: boolean;
|
|
60
60
|
/** Available when `progress==true`. */
|
|
61
61
|
progressMode?: CircularProgressMode;
|
|
62
62
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|
|
@@ -36,8 +36,8 @@ import type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/
|
|
|
36
36
|
/** Available when `showReadoutStack==true`. */
|
|
37
37
|
tag?: string | null;
|
|
38
38
|
positioning?: AutomationButtonPositioning;
|
|
39
|
-
|
|
40
|
-
activated?: boolean;
|
|
39
|
+
/** Enables the activated background color, used to indicate that the button is activated/selected. */
|
|
40
|
+
activated?: boolean;
|
|
41
41
|
alert?: boolean;
|
|
42
42
|
/** Available when `alert==true`. */
|
|
43
43
|
alertFrameType?: ObcAlertFrameType;
|
|
@@ -51,8 +51,8 @@ activated?: boolean;
|
|
|
51
51
|
showAlertCategoryIcon?: boolean;
|
|
52
52
|
/** Available when `alert==true`. */
|
|
53
53
|
showAlertIcon?: boolean;
|
|
54
|
-
|
|
55
|
-
progress?: boolean;
|
|
54
|
+
/** Shows a progress indicator, used to indicate that an user action is in progress */
|
|
55
|
+
progress?: boolean;
|
|
56
56
|
/** Available when `progress==true`. */
|
|
57
57
|
progressMode?: CircularProgressMode;
|
|
58
58
|
/** Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. */
|