@oicl/openbridge-webcomponents-svelte 2.2.0-next.17 → 2.2.0-next.19

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.
Files changed (73) hide show
  1. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +4 -0
  2. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +1 -0
  3. package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -0
  4. package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +1 -0
  5. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +5 -1
  6. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +1 -0
  7. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -0
  8. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +1 -0
  9. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -0
  10. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +1 -0
  11. package/dist/automation/automation-tank/ObcAutomationTank.svelte +5 -1
  12. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +1 -0
  13. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -0
  14. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +1 -0
  15. package/dist/automation/capacitor/ObcCapacitor.svelte +4 -0
  16. package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +1 -0
  17. package/dist/automation/converter/ObcConverter.svelte +4 -0
  18. package/dist/automation/converter/ObcConverter.svelte.d.ts +1 -0
  19. package/dist/automation/damper/ObcDamper.svelte +5 -1
  20. package/dist/automation/damper/ObcDamper.svelte.d.ts +1 -0
  21. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +4 -0
  22. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +1 -0
  23. package/dist/automation/digital-valve/ObcDigitalValve.svelte +4 -0
  24. package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +1 -0
  25. package/dist/automation/diodes/ObcDiodes.svelte +4 -0
  26. package/dist/automation/diodes/ObcDiodes.svelte.d.ts +1 -0
  27. package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte +4 -0
  28. package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte.d.ts +1 -0
  29. package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte +4 -0
  30. package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte.d.ts +1 -0
  31. package/dist/automation/electricity-battery/ObcElectricityBattery.svelte +5 -1
  32. package/dist/automation/electricity-battery/ObcElectricityBattery.svelte.d.ts +1 -0
  33. package/dist/automation/fan/ObcFan.svelte +5 -1
  34. package/dist/automation/fan/ObcFan.svelte.d.ts +1 -0
  35. package/dist/automation/filter/ObcFilter.svelte +4 -0
  36. package/dist/automation/filter/ObcFilter.svelte.d.ts +1 -0
  37. package/dist/automation/ground/ObcGround.svelte +4 -0
  38. package/dist/automation/ground/ObcGround.svelte.d.ts +1 -0
  39. package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +4 -0
  40. package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte.d.ts +1 -0
  41. package/dist/automation/heat-pump/ObcHeatPump.svelte +4 -0
  42. package/dist/automation/heat-pump/ObcHeatPump.svelte.d.ts +1 -0
  43. package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +4 -0
  44. package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte.d.ts +1 -0
  45. package/dist/automation/logic/ObcLogic.svelte +4 -0
  46. package/dist/automation/logic/ObcLogic.svelte.d.ts +1 -0
  47. package/dist/automation/mosfet/ObcMosfet.svelte +4 -0
  48. package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +1 -0
  49. package/dist/automation/motor/ObcMotor.svelte +4 -0
  50. package/dist/automation/motor/ObcMotor.svelte.d.ts +1 -0
  51. package/dist/automation/non-return-valve/ObcNonReturnValve.svelte +5 -1
  52. package/dist/automation/non-return-valve/ObcNonReturnValve.svelte.d.ts +1 -0
  53. package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte +5 -1
  54. package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte.d.ts +1 -0
  55. package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte +5 -1
  56. package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte.d.ts +1 -0
  57. package/dist/automation/pump/ObcPump.svelte +4 -0
  58. package/dist/automation/pump/ObcPump.svelte.d.ts +1 -0
  59. package/dist/automation/resistor/ObcResistor.svelte +4 -0
  60. package/dist/automation/resistor/ObcResistor.svelte.d.ts +1 -0
  61. package/dist/automation/router/ObcRouter.svelte +4 -0
  62. package/dist/automation/router/ObcRouter.svelte.d.ts +1 -0
  63. package/dist/automation/source/ObcSource.svelte +4 -0
  64. package/dist/automation/source/ObcSource.svelte.d.ts +1 -0
  65. package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte +4 -0
  66. package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte.d.ts +1 -0
  67. package/dist/automation/switch/ObcSwitch.svelte +4 -0
  68. package/dist/automation/switch/ObcSwitch.svelte.d.ts +1 -0
  69. package/dist/automation/transformer/ObcTransformer.svelte +4 -0
  70. package/dist/automation/transformer/ObcTransformer.svelte.d.ts +1 -0
  71. package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +8 -0
  72. package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +8 -0
  73. package/package.json +2 -2
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
11
12
  export type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
23
25
  import type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-threeway-valve/analog-threeway-valve.js';
24
26
  import type { Snippet } from 'svelte';
@@ -66,6 +68,8 @@ import type {AnalogThreewayValveVariant} from '@oicl/openbridge-webcomponents/di
66
68
  badgeAlert?: AutomationButtonBadgeAlert;
67
69
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
68
70
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
71
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
72
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
69
73
  /** Opening of port 1 in percent (0–100). */
70
74
  open1?: number;
71
75
  /** Opening of port 2, the stem, in percent (0–100). */
@@ -29,6 +29,7 @@ declare const ObcAnalogThreewayValve: import("svelte").Component<{
29
29
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
30
30
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
31
31
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
32
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
32
33
  ThreewayValveOrientation: typeof ThreewayValveOrientation;
33
34
  ThreewayValveFlow: typeof ThreewayValveFlow;
34
35
  AnalogThreewayValveVariant: typeof AnalogThreewayValveVariant;
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';
11
12
  export type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';
@@ -18,6 +19,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
18
19
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
19
20
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
20
21
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
22
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
21
23
  import type {AnalogValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/analog-valve/analog-valve.js';
22
24
  import type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
23
25
  import type { Snippet } from 'svelte';
@@ -65,6 +67,8 @@ import type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automatio
65
67
  badgeAlert?: AutomationButtonBadgeAlert;
66
68
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
67
69
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
70
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
71
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
68
72
  open?: boolean;
69
73
  value?: number;
70
74
  vertical?: boolean;
@@ -27,6 +27,7 @@ declare const ObcAnalogValve: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  AnalogValveVariant: typeof AnalogValveVariant;
31
32
  ObcValveHandle: typeof ObcValveHandle;
32
33
  }, "">;
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
11
12
  import { setProperties } from "../../util.js";
12
13
  import type {AutomationButtonReadoutPosition, AutomationButtonPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
@@ -16,6 +17,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
16
17
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
17
18
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
18
19
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
20
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
19
21
  import type { Snippet } from 'svelte';
20
22
 
21
23
  export interface Props {
@@ -60,7 +62,9 @@ import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/d
60
62
  badgeInterlock?: AutomationButtonBadgeInterlock;
61
63
  badgeAlert?: AutomationButtonBadgeAlert;
62
64
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
63
- badgeLayout?: AutomationButtonBadgeLayout | undefined
65
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
66
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
67
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined
64
68
  }
65
69
  export interface Events {
66
70
 
@@ -23,6 +23,7 @@ declare const ObcAbstractAutomationButton: import("svelte").Component<{
23
23
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
24
24
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
25
25
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
26
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
26
27
  }, "">;
27
28
  type ObcAbstractAutomationButton = ReturnType<typeof ObcAbstractAutomationButton>;
28
29
  export default ObcAbstractAutomationButton;
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
12
13
  import { setProperties } from "../../util.js";
@@ -17,6 +18,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
17
18
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
18
19
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
19
20
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
21
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
20
22
  import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-motorized.js';
21
23
  import type { Snippet } from 'svelte';
22
24
 
@@ -63,6 +65,8 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
63
65
  badgeAlert?: AutomationButtonBadgeAlert;
64
66
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
65
67
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
68
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
69
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
66
70
  /** Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
67
71
  turnedOn?: boolean;
68
72
  /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
@@ -26,6 +26,7 @@ declare const ObcAbstractAutomationButtonMotorized: import("svelte").Component<{
26
26
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
27
27
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
28
28
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
29
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
29
30
  MotorizedVariant: typeof MotorizedVariant;
30
31
  }, "">;
31
32
  type ObcAbstractAutomationButtonMotorized = ReturnType<typeof ObcAbstractAutomationButtonMotorized>;
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
12
13
  import { setProperties } from "../../util.js";
@@ -17,6 +18,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
17
18
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
18
19
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
19
20
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
21
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
20
22
  import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
21
23
  import type { Snippet } from 'svelte';
22
24
 
@@ -63,6 +65,8 @@ import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automatio
63
65
  badgeAlert?: AutomationButtonBadgeAlert;
64
66
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
65
67
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
68
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
69
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
66
70
  /** Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). */
67
71
  turnedOn?: boolean;
68
72
  /** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
@@ -25,6 +25,7 @@ declare const ObcAbstractAutomationButtonSquared: import("svelte").Component<{
25
25
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
26
26
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
27
27
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
28
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
28
29
  SquaredVariant: typeof SquaredVariant;
29
30
  }, "">;
30
31
  type ObcAbstractAutomationButtonSquared = ReturnType<typeof ObcAbstractAutomationButtonSquared>;
@@ -9,6 +9,7 @@ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
9
9
  export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
10
10
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
11
11
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
12
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
13
14
  import { setProperties, forwardEvents } from "../../util.js";
14
15
  import NamedSlot from "../../NamedSlot.svelte";
@@ -21,6 +22,7 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
21
22
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
22
23
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
23
24
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
25
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
24
26
  import type { Snippet } from 'svelte';
25
27
 
26
28
  export interface Props {
@@ -131,7 +133,9 @@ animateSetpoint?: boolean;
131
133
  badgeControl?: AutomationButtonBadgeControl;
132
134
  badgeAlert?: AutomationButtonBadgeAlert;
133
135
  badgeInterlock?: AutomationButtonBadgeInterlock;
134
- badgeCommandLocked?: AutomationButtonBadgeCommandLocked
136
+ badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
137
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
138
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined
135
139
  }
136
140
  export interface Events {
137
141
  onClick?: (event: CustomEvent<unknown>) => void
@@ -40,6 +40,7 @@ declare const ObcAutomationTank: import("svelte").Component<{
40
40
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
41
41
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
42
42
  AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
43
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
43
44
  }, "">;
44
45
  type ObcAutomationTank = ReturnType<typeof ObcAutomationTank>;
45
46
  export default ObcAutomationTank;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  export type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';
13
14
  import { setProperties } from "../../util.js";
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/bipolar-transistor/bipolar-transistor.js';
23
25
  import type { Snippet } from 'svelte';
24
26
 
@@ -71,6 +73,8 @@ import type {BipolarTransistorAlternativeIcon} from '@oicl/openbridge-webcompone
71
73
  badgeAlert?: AutomationButtonBadgeAlert;
72
74
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
73
75
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
76
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
77
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
74
78
  alternativeIcon?: BipolarTransistorAlternativeIcon
75
79
  }
76
80
  export interface Events {
@@ -27,6 +27,7 @@ declare const ObcBipolarTransistor: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  BipolarTransistorAlternativeIcon: typeof BipolarTransistorAlternativeIcon;
31
32
  }, "">;
32
33
  type ObcBipolarTransistor = ReturnType<typeof ObcBipolarTransistor>;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  export type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';
13
14
  import { setProperties } from "../../util.js";
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/capacitor/capacitor.js';
23
25
  import type { Snippet } from 'svelte';
24
26
 
@@ -71,6 +73,8 @@ import type {CapacitorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
71
73
  badgeAlert?: AutomationButtonBadgeAlert;
72
74
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
73
75
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
76
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
77
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
74
78
  alternativeIcon?: CapacitorAlternativeIcon
75
79
  }
76
80
  export interface Events {
@@ -27,6 +27,7 @@ declare const ObcCapacitor: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  CapacitorAlternativeIcon: typeof CapacitorAlternativeIcon;
31
32
  }, "">;
32
33
  type ObcCapacitor = ReturnType<typeof ObcCapacitor>;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  export type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';
13
14
  import { setProperties } from "../../util.js";
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/converter/converter.js';
23
25
  import type { Snippet } from 'svelte';
24
26
 
@@ -71,6 +73,8 @@ import type {ConverterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist
71
73
  badgeAlert?: AutomationButtonBadgeAlert;
72
74
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
73
75
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
76
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
77
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
74
78
  alternativeIcon?: ConverterAlternativeIcon
75
79
  }
76
80
  export interface Events {
@@ -27,6 +27,7 @@ declare const ObcConverter: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  ConverterAlternativeIcon: typeof ConverterAlternativeIcon;
31
32
  }, "">;
32
33
  type ObcConverter = ReturnType<typeof ObcConverter>;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/damper/damper.js';
12
13
  import { setProperties } from "../../util.js";
13
14
  import type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
@@ -18,6 +19,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
18
19
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
19
20
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
20
21
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
22
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
21
23
  import type { Snippet } from 'svelte';
22
24
 
23
25
  export interface Props {
@@ -68,7 +70,9 @@ import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/d
68
70
  badgeInterlock?: AutomationButtonBadgeInterlock;
69
71
  badgeAlert?: AutomationButtonBadgeAlert;
70
72
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
71
- badgeLayout?: AutomationButtonBadgeLayout | undefined
73
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
74
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
75
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined
72
76
  }
73
77
  export interface Events {
74
78
 
@@ -26,6 +26,7 @@ declare const ObcDamper: import("svelte").Component<{
26
26
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
27
27
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
28
28
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
29
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
29
30
  }, "">;
30
31
  type ObcDamper = ReturnType<typeof ObcDamper>;
31
32
  export default ObcDamper;
@@ -7,6 +7,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
11
12
  export type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {ThreewayValveOrientation, ThreewayValveFlow} from '@oicl/openbridge-webcomponents/dist/automation/threeway-valve-shared/threeway-valve-shared.js';
23
25
  import type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-threeway-valve/digital-threeway-valve.js';
24
26
  import type { Snippet } from 'svelte';
@@ -66,6 +68,8 @@ import type {DigitalThreewayValveVariant} from '@oicl/openbridge-webcomponents/d
66
68
  badgeAlert?: AutomationButtonBadgeAlert;
67
69
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
68
70
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
71
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
72
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
69
73
  /** Opens port 1. */
70
74
  open1?: boolean;
71
75
  /** Opens port 2, the stem. */
@@ -29,6 +29,7 @@ declare const ObcDigitalThreewayValve: import("svelte").Component<{
29
29
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
30
30
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
31
31
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
32
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
32
33
  ThreewayValveOrientation: typeof ThreewayValveOrientation;
33
34
  ThreewayValveFlow: typeof ThreewayValveFlow;
34
35
  DigitalThreewayValveVariant: typeof DigitalThreewayValveVariant;
@@ -7,6 +7,7 @@ export type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/typ
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
11
12
  export type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
@@ -18,6 +19,7 @@ import type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/typ
18
19
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
19
20
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
20
21
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
22
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
21
23
  import type {ObcValveHandle} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/valve-handle.js';
22
24
  import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/digital-valve/digital-valve.js';
23
25
  import type { Snippet } from 'svelte';
@@ -65,6 +67,8 @@ import type {DigitalValveVariant} from '@oicl/openbridge-webcomponents/dist/auto
65
67
  badgeAlert?: AutomationButtonBadgeAlert;
66
68
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
67
69
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
70
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
71
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
68
72
  open?: boolean;
69
73
  /** Draw the valve for a vertical pipe; used only while `flowDirection` is unset. */
70
74
  vertical?: boolean;
@@ -27,6 +27,7 @@ declare const ObcDigitalValve: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  ObcValveHandle: typeof ObcValveHandle;
31
32
  DigitalValveVariant: typeof DigitalValveVariant;
32
33
  }, "">;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  export type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';
12
13
  import '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';
13
14
  import { setProperties } from "../../util.js";
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/diodes/diodes.js';
23
25
  import type { Snippet } from 'svelte';
24
26
 
@@ -71,6 +73,8 @@ import type {DiodesAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
71
73
  badgeAlert?: AutomationButtonBadgeAlert;
72
74
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
73
75
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
76
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
77
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
74
78
  alternativeIcon?: DiodesAlternativeIcon
75
79
  }
76
80
  export interface Events {
@@ -27,6 +27,7 @@ declare const ObcDiodes: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  DiodesAlternativeIcon: typeof DiodesAlternativeIcon;
31
32
  }, "">;
32
33
  type ObcDiodes = ReturnType<typeof ObcDiodes>;
@@ -7,6 +7,7 @@ export type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/typ
7
7
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
8
8
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
9
9
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
10
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
10
11
  export type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
12
13
  import { setProperties } from "../../util.js";
@@ -17,6 +18,7 @@ import type {AlertType, Direction} from '@oicl/openbridge-webcomponents/dist/typ
17
18
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
18
19
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
19
20
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
21
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
20
22
  import type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
21
23
  import type { Snippet } from 'svelte';
22
24
 
@@ -63,6 +65,8 @@ import type {DirectionValveVariant} from '@oicl/openbridge-webcomponents/dist/au
63
65
  badgeAlert?: AutomationButtonBadgeAlert;
64
66
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
65
67
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
68
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
69
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
66
70
  /** The direction the medium flows through the valve; the symbol turns with it. */
67
71
  flowDirection?: Direction;
68
72
  /** `regular` draws the round button, `flat` only the symbol. */
@@ -25,6 +25,7 @@ declare const ObcDirectionValveBase: import("svelte").Component<{
25
25
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
26
26
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
27
27
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
28
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
28
29
  DirectionValveVariant: typeof DirectionValveVariant;
29
30
  }, "">;
30
31
  type ObcDirectionValveBase = ReturnType<typeof ObcDirectionValveBase>;
@@ -8,6 +8,7 @@ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/direction-valve-shared/direction-valve-shared.js';
12
13
  import { setProperties } from "../../util.js";
13
14
  import type {Direction, AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -18,6 +19,7 @@ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from
18
19
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
19
20
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
20
21
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
22
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
21
23
  import type { Snippet } from 'svelte';
22
24
 
23
25
  export interface Props {
@@ -67,6 +69,8 @@ import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/d
67
69
  badgeAlert?: AutomationButtonBadgeAlert;
68
70
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
69
71
  badgeLayout?: AutomationButtonBadgeLayout | undefined;
72
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
73
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
70
74
  /** Puts the actuator on the opposite side of the pipe. */
71
75
  invertHandlePosition?: boolean;
72
76
  /** Size of the handle: `small` draws it from the symbol's centre, for symbols without a button around them. */
@@ -27,6 +27,7 @@ declare const ObcPressureValveBase: import("svelte").Component<{
27
27
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
28
28
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
29
29
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
30
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
30
31
  }, "">;
31
32
  type ObcPressureValveBase = ReturnType<typeof ObcPressureValveBase>;
32
33
  export default ObcPressureValveBase;
@@ -8,6 +8,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
9
9
  export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
10
10
  export type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
11
+ export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
11
12
  import '@oicl/openbridge-webcomponents/dist/automation/electricity-battery/electricity-battery.js';
12
13
  import { setProperties, forwardEvents } from "../../util.js";
13
14
  import NamedSlot from "../../NamedSlot.svelte";
@@ -19,6 +20,7 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
19
20
  import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
20
21
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
21
22
  import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-layout.js';
23
+ import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
22
24
  import type { Snippet } from 'svelte';
23
25
 
24
26
  export interface Props {
@@ -69,7 +71,9 @@ import type {AutomationButtonBadgeLayout} from '@oicl/openbridge-webcomponents/d
69
71
  badgeInterlock?: AutomationButtonBadgeInterlock;
70
72
  badgeAlert?: AutomationButtonBadgeAlert;
71
73
  /** Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. */
72
- badgeLayout?: AutomationButtonBadgeLayout | undefined
74
+ badgeLayout?: AutomationButtonBadgeLayout | undefined;
75
+ /** Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. */
76
+ badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined
73
77
  }
74
78
  export interface Events {
75
79
  onClick?: (event: CustomEvent<unknown>) => void
@@ -30,6 +30,7 @@ declare const ObcElectricityBattery: import("svelte").Component<{
30
30
  AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
31
31
  AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
32
32
  AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
33
+ AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
33
34
  }, "">;
34
35
  type ObcElectricityBattery = ReturnType<typeof ObcElectricityBattery>;
35
36
  export default ObcElectricityBattery;