@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.
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +4 -0
- package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +1 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte +4 -0
- package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +1 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +5 -1
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +1 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +4 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +1 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +4 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +1 -0
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +5 -1
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +1 -0
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +4 -0
- package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +1 -0
- package/dist/automation/capacitor/ObcCapacitor.svelte +4 -0
- package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +1 -0
- package/dist/automation/converter/ObcConverter.svelte +4 -0
- package/dist/automation/converter/ObcConverter.svelte.d.ts +1 -0
- package/dist/automation/damper/ObcDamper.svelte +5 -1
- package/dist/automation/damper/ObcDamper.svelte.d.ts +1 -0
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +4 -0
- package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +1 -0
- package/dist/automation/digital-valve/ObcDigitalValve.svelte +4 -0
- package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +1 -0
- package/dist/automation/diodes/ObcDiodes.svelte +4 -0
- package/dist/automation/diodes/ObcDiodes.svelte.d.ts +1 -0
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte +4 -0
- package/dist/automation/direction-valve-shared/ObcDirectionValveBase.svelte.d.ts +1 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte +4 -0
- package/dist/automation/direction-valve-shared/ObcPressureValveBase.svelte.d.ts +1 -0
- package/dist/automation/electricity-battery/ObcElectricityBattery.svelte +5 -1
- package/dist/automation/electricity-battery/ObcElectricityBattery.svelte.d.ts +1 -0
- package/dist/automation/fan/ObcFan.svelte +5 -1
- package/dist/automation/fan/ObcFan.svelte.d.ts +1 -0
- package/dist/automation/filter/ObcFilter.svelte +4 -0
- package/dist/automation/filter/ObcFilter.svelte.d.ts +1 -0
- package/dist/automation/ground/ObcGround.svelte +4 -0
- package/dist/automation/ground/ObcGround.svelte.d.ts +1 -0
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +4 -0
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte.d.ts +1 -0
- package/dist/automation/heat-pump/ObcHeatPump.svelte +4 -0
- package/dist/automation/heat-pump/ObcHeatPump.svelte.d.ts +1 -0
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +4 -0
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte.d.ts +1 -0
- package/dist/automation/logic/ObcLogic.svelte +4 -0
- package/dist/automation/logic/ObcLogic.svelte.d.ts +1 -0
- package/dist/automation/mosfet/ObcMosfet.svelte +4 -0
- package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +1 -0
- package/dist/automation/motor/ObcMotor.svelte +4 -0
- package/dist/automation/motor/ObcMotor.svelte.d.ts +1 -0
- package/dist/automation/non-return-valve/ObcNonReturnValve.svelte +5 -1
- package/dist/automation/non-return-valve/ObcNonReturnValve.svelte.d.ts +1 -0
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte +5 -1
- package/dist/automation/pressure-reduction-valve/ObcPressureReductionValve.svelte.d.ts +1 -0
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte +5 -1
- package/dist/automation/pressure-sustain-valve/ObcPressureSustainValve.svelte.d.ts +1 -0
- package/dist/automation/pump/ObcPump.svelte +4 -0
- package/dist/automation/pump/ObcPump.svelte.d.ts +1 -0
- package/dist/automation/resistor/ObcResistor.svelte +4 -0
- package/dist/automation/resistor/ObcResistor.svelte.d.ts +1 -0
- package/dist/automation/router/ObcRouter.svelte +4 -0
- package/dist/automation/router/ObcRouter.svelte.d.ts +1 -0
- package/dist/automation/source/ObcSource.svelte +4 -0
- package/dist/automation/source/ObcSource.svelte.d.ts +1 -0
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte +4 -0
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte.d.ts +1 -0
- package/dist/automation/switch/ObcSwitch.svelte +4 -0
- package/dist/automation/switch/ObcSwitch.svelte.d.ts +1 -0
- package/dist/automation/transformer/ObcTransformer.svelte +4 -0
- package/dist/automation/transformer/ObcTransformer.svelte.d.ts +1 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +8 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +8 -0
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
4
|
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
5
|
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
+
export type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
6
7
|
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
8
|
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
9
|
import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
@@ -10,6 +11,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
10
11
|
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
12
|
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
13
|
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
14
|
+
import type {AutomationBadgeSymbolOverride} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/badge-symbols.js';
|
|
13
15
|
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
16
|
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
15
17
|
import type { Snippet } from 'svelte';
|
|
@@ -43,6 +45,8 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
43
45
|
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
44
46
|
/** Command-locked badge, last in the badge row. */
|
|
45
47
|
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
48
|
+
/** 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. */
|
|
49
|
+
badgeSymbolOverride?: AutomationBadgeSymbolOverride | undefined;
|
|
46
50
|
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
47
51
|
alert?: boolean;
|
|
48
52
|
/**
|
|
@@ -15,6 +15,7 @@ declare const ObcAbstractSpecialtyTank: import("svelte").Component<{
|
|
|
15
15
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
16
16
|
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
17
17
|
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
18
|
+
AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
|
|
18
19
|
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
19
20
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
20
21
|
ObcAlertFrameMode: typeof ObcAlertFrameMode;
|
|
@@ -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 {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
|
|
12
13
|
import '@oicl/openbridge-webcomponents/dist/automation/switch/switch.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 {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';
|
|
23
25
|
import type { Snippet } from 'svelte';
|
|
24
26
|
|
|
@@ -71,6 +73,8 @@ import type {SwitchAlternativeIcon} 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?: SwitchAlternativeIcon
|
|
75
79
|
}
|
|
76
80
|
export interface Events {
|
|
@@ -27,6 +27,7 @@ declare const ObcSwitch: import("svelte").Component<{
|
|
|
27
27
|
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
28
28
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
29
29
|
AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
|
|
30
|
+
AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
|
|
30
31
|
SwitchAlternativeIcon: typeof SwitchAlternativeIcon;
|
|
31
32
|
}, "">;
|
|
32
33
|
type ObcSwitch = ReturnType<typeof ObcSwitch>;
|
|
@@ -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 {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';
|
|
12
13
|
import '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.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 {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';
|
|
23
25
|
import type { Snippet } from 'svelte';
|
|
24
26
|
|
|
@@ -71,6 +73,8 @@ import type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/di
|
|
|
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?: TransformerAlternativeIcon
|
|
75
79
|
}
|
|
76
80
|
export interface Events {
|
|
@@ -27,6 +27,7 @@ declare const ObcTransformer: import("svelte").Component<{
|
|
|
27
27
|
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
28
28
|
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
29
29
|
AutomationButtonBadgeLayout: typeof AutomationButtonBadgeLayout;
|
|
30
|
+
AutomationBadgeSymbolOverride: typeof AutomationBadgeSymbolOverride;
|
|
30
31
|
TransformerAlternativeIcon: typeof TransformerAlternativeIcon;
|
|
31
32
|
}, "">;
|
|
32
33
|
type ObcTransformer = ReturnType<typeof ObcTransformer>;
|
|
@@ -48,6 +48,14 @@ animateSetpoint?: boolean;
|
|
|
48
48
|
reverse?: boolean;
|
|
49
49
|
/** Which side of the chart area this scale lives on (top or bottom) */
|
|
50
50
|
side?: ExternalScaleSide;
|
|
51
|
+
/** Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference width. */
|
|
52
|
+
fixedAspectRatio?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Container width at which a `fixedAspectRatio` gauge draws 1:1 with the design. A wider container enlarges the drawing proportionally, a narrower one shrinks it.
|
|
55
|
+
*
|
|
56
|
+
* Available when `fixedAspectRatio==true`.
|
|
57
|
+
*/
|
|
58
|
+
scaleReferenceSize?: number;
|
|
51
59
|
/** Show numerical value labels at primary tickmarks */
|
|
52
60
|
showLabels?: boolean;
|
|
53
61
|
/** Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. */
|
|
@@ -48,6 +48,14 @@ animateSetpoint?: boolean;
|
|
|
48
48
|
reverse?: boolean;
|
|
49
49
|
/** Which side of the chart area this scale lives on (left or right) */
|
|
50
50
|
side?: ExternalScaleSide;
|
|
51
|
+
/** Scale the whole gauge to its container like a vector image, keeping the label font size: the SVG fills the host, so size the host. Off, the gauge draws at its 384 px reference height. */
|
|
52
|
+
fixedAspectRatio?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Container height at which a `fixedAspectRatio` gauge draws 1:1 with the design. A taller container enlarges the drawing proportionally, a shorter one shrinks it.
|
|
55
|
+
*
|
|
56
|
+
* Available when `fixedAspectRatio==true`.
|
|
57
|
+
*/
|
|
58
|
+
scaleReferenceSize?: number;
|
|
51
59
|
/** Show numerical value labels at primary tickmarks */
|
|
52
60
|
showLabels?: boolean;
|
|
53
61
|
/** Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.19",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@oicl/openbridge-webcomponents": "^2.2.0-next.
|
|
37
|
+
"@oicl/openbridge-webcomponents": "^2.2.0-next.19"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"svelte": "^5.0.0"
|