@oicl/openbridge-webcomponents-svelte 2.2.0-next.10 → 2.2.0-next.12
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/automation-button/ObcAbstractAutomationButtonMotorized.svelte +1 -0
- package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +1 -0
- package/dist/automation/fan/ObcFan.svelte +1 -0
- package/dist/automation/fan/ObcFan.svelte.d.ts +1 -0
- package/dist/automation/motor/ObcMotor.svelte +1 -0
- package/dist/automation/motor/ObcMotor.svelte.d.ts +1 -0
- package/dist/automation/pump/ObcPump.svelte +1 -0
- package/dist/automation/pump/ObcPump.svelte.d.ts +1 -0
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte +1 -0
- package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte.d.ts +1 -0
- package/dist/components/tab-item/ObcTabItem.svelte +26 -5
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +26 -5
- package/dist/components/top-bar/ObcTopBar.svelte +1 -0
- package/dist/components/top-bar/ObcTopBar.svelte.d.ts +1 -0
- package/dist/icons/ObiPropulsionBackup.svelte +34 -0
- package/dist/icons/ObiPropulsionBackup.svelte.d.ts +16 -0
- package/dist/icons/ObiTwowayAnalog0.svelte +34 -0
- package/dist/icons/ObiTwowayAnalog0.svelte.d.ts +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +5 -1
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +5 -1
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +1 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +1 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +1 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +1 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +1 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +1 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +1 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +1 -0
- package/package.json +2 -2
|
@@ -63,6 +63,7 @@ import type {MotorizedVariant} from '@oicl/openbridge-webcomponents/dist/automat
|
|
|
63
63
|
turnedOn?: boolean;
|
|
64
64
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
65
65
|
on?: boolean | undefined;
|
|
66
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
66
67
|
speedInPercent?: number;
|
|
67
68
|
speed?: number | undefined;
|
|
68
69
|
speedUnit?: string;
|
|
@@ -52,6 +52,7 @@ export interface Props {
|
|
|
52
52
|
turnedOn?: boolean;
|
|
53
53
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
54
54
|
on?: boolean | undefined;
|
|
55
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
55
56
|
speedInPercent?: number;
|
|
56
57
|
speed?: number | undefined;
|
|
57
58
|
speedUnit?: string;
|
|
@@ -25,6 +25,7 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
25
25
|
turnedOn?: boolean;
|
|
26
26
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
27
|
on?: boolean | undefined;
|
|
28
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
28
29
|
speedInPercent?: number;
|
|
29
30
|
speed?: number | undefined;
|
|
30
31
|
speedUnit?: string;
|
|
@@ -14,6 +14,7 @@ export interface Props {
|
|
|
14
14
|
turnedOn?: boolean;
|
|
15
15
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
16
|
on?: boolean | undefined;
|
|
17
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
17
18
|
speedInPercent?: number;
|
|
18
19
|
speed?: number | undefined;
|
|
19
20
|
speedUnit?: string;
|
|
@@ -25,6 +25,7 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
25
25
|
turnedOn?: boolean;
|
|
26
26
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
27
|
on?: boolean | undefined;
|
|
28
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
28
29
|
speedInPercent?: number;
|
|
29
30
|
speed?: number | undefined;
|
|
30
31
|
speedUnit?: string;
|
|
@@ -14,6 +14,7 @@ export interface Props {
|
|
|
14
14
|
turnedOn?: boolean;
|
|
15
15
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
16
|
on?: boolean | undefined;
|
|
17
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
17
18
|
speedInPercent?: number;
|
|
18
19
|
speed?: number | undefined;
|
|
19
20
|
speedUnit?: string;
|
|
@@ -25,6 +25,7 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
|
|
|
25
25
|
turnedOn?: boolean;
|
|
26
26
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
27
27
|
on?: boolean | undefined;
|
|
28
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
28
29
|
speedInPercent?: number;
|
|
29
30
|
speed?: number | undefined;
|
|
30
31
|
speedUnit?: string;
|
|
@@ -14,6 +14,7 @@ export interface Props {
|
|
|
14
14
|
turnedOn?: boolean;
|
|
15
15
|
/** Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. */
|
|
16
16
|
on?: boolean | undefined;
|
|
17
|
+
/** Speed in percent, read only while `speed` is unset. */
|
|
17
18
|
speedInPercent?: number;
|
|
18
19
|
speed?: number | undefined;
|
|
19
20
|
speedUnit?: string;
|
|
@@ -23,6 +23,7 @@ left port fully open, and ignores `open1`–`open3` and `orientation`. */
|
|
|
23
23
|
value?: number | undefined;
|
|
24
24
|
/** Opening of the top port (the stem). */
|
|
25
25
|
value2?: number | undefined;
|
|
26
|
+
/** Closes every port. Like `value`, `value2` and `horisontal`, setting it at all, `false` included, switches to the legacy drawing: stem up, `open1`–`open3` and `orientation` ignored. */
|
|
26
27
|
closed?: boolean | undefined;
|
|
27
28
|
/** Makes the stem the fully open port; `value` then opens the left port and
|
|
28
29
|
`value2` the right one. */
|
|
@@ -18,6 +18,7 @@ left port fully open, and ignores `open1`–`open3` and `orientation`. */
|
|
|
18
18
|
value?: number | undefined;
|
|
19
19
|
/** Opening of the top port (the stem). */
|
|
20
20
|
value2?: number | undefined;
|
|
21
|
+
/** Closes every port. Like `value`, `value2` and `horisontal`, setting it at all, `false` included, switches to the legacy drawing: stem up, `open1`–`open3` and `orientation` ignored. */
|
|
21
22
|
closed?: boolean | undefined;
|
|
22
23
|
/** Makes the stem the fully open port; `value` then opens the left port and
|
|
23
24
|
`value2` the right one. */
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
hasDivider?: boolean;
|
|
31
31
|
/** Badges shown on the tab. A non-empty array takes precedence over the deprecated single-badge properties (`hasBadge`, `badgeType`, `badgeSize`, `badgeCount`, `badgeShowNumber`, `showLeadingBadgeIcon`); an empty one falls back to them, gated by `hasBadge`. */
|
|
32
32
|
badges?: TabItemBadge[];
|
|
33
|
+
/** Shows a badge (a count or a status) on the tab; `badgeCount`, `badgeType` and `badgeSize` configure it. The `badges` array replaces it, and a non-empty `badges` wins over all six. */
|
|
33
34
|
hasBadge?: boolean;
|
|
34
35
|
/** (Deprecated/Unused) Icon name for the tab. Icon content should be provided via the `leading-icon` slot. */
|
|
35
36
|
icon?: string;
|
|
@@ -45,15 +46,35 @@
|
|
|
45
46
|
focusable?: boolean;
|
|
46
47
|
/** The panel this tab shows, announced as the tab's `aria-controls`. `obc-tab-row` sets it when it renders panels; the panel has to live in this tab's tree or one it sits inside. */
|
|
47
48
|
panel?: Element | null;
|
|
48
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* The badge's type, a `BadgeType` member such as `regular`, `alarm` or `warning`.
|
|
51
|
+
*
|
|
52
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
53
|
+
*/
|
|
49
54
|
badgeType?: string;
|
|
50
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* The badge's size, a `BadgeSize` member: `regular` or `large`.
|
|
57
|
+
*
|
|
58
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
59
|
+
*/
|
|
51
60
|
badgeSize?: string;
|
|
52
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Shows the badge's number; off, only the badge background shows, for a status badge.
|
|
63
|
+
*
|
|
64
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
65
|
+
*/
|
|
53
66
|
badgeShowNumber?: boolean;
|
|
54
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* The number shown in the badge.
|
|
69
|
+
*
|
|
70
|
+
* Available when `hasBadge==true && badges==[] && badgeShowNumber==true`.
|
|
71
|
+
*/
|
|
55
72
|
badgeCount?: number;
|
|
56
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Shows an icon inside the badge, from the `badge-icon` slot.
|
|
75
|
+
*
|
|
76
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
77
|
+
*/
|
|
57
78
|
showLeadingBadgeIcon?: boolean
|
|
58
79
|
}
|
|
59
80
|
export interface Events {
|
|
@@ -24,6 +24,7 @@ export interface Props {
|
|
|
24
24
|
hasDivider?: boolean;
|
|
25
25
|
/** Badges shown on the tab. A non-empty array takes precedence over the deprecated single-badge properties (`hasBadge`, `badgeType`, `badgeSize`, `badgeCount`, `badgeShowNumber`, `showLeadingBadgeIcon`); an empty one falls back to them, gated by `hasBadge`. */
|
|
26
26
|
badges?: TabItemBadge[];
|
|
27
|
+
/** Shows a badge (a count or a status) on the tab; `badgeCount`, `badgeType` and `badgeSize` configure it. The `badges` array replaces it, and a non-empty `badges` wins over all six. */
|
|
27
28
|
hasBadge?: boolean;
|
|
28
29
|
/** (Deprecated/Unused) Icon name for the tab. Icon content should be provided via the `leading-icon` slot. */
|
|
29
30
|
icon?: string;
|
|
@@ -39,15 +40,35 @@ export interface Props {
|
|
|
39
40
|
focusable?: boolean;
|
|
40
41
|
/** The panel this tab shows, announced as the tab's `aria-controls`. `obc-tab-row` sets it when it renders panels; the panel has to live in this tab's tree or one it sits inside. */
|
|
41
42
|
panel?: Element | null;
|
|
42
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The badge's type, a `BadgeType` member such as `regular`, `alarm` or `warning`.
|
|
45
|
+
*
|
|
46
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
47
|
+
*/
|
|
43
48
|
badgeType?: string;
|
|
44
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* The badge's size, a `BadgeSize` member: `regular` or `large`.
|
|
51
|
+
*
|
|
52
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
53
|
+
*/
|
|
45
54
|
badgeSize?: string;
|
|
46
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Shows the badge's number; off, only the badge background shows, for a status badge.
|
|
57
|
+
*
|
|
58
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
59
|
+
*/
|
|
47
60
|
badgeShowNumber?: boolean;
|
|
48
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* The number shown in the badge.
|
|
63
|
+
*
|
|
64
|
+
* Available when `hasBadge==true && badges==[] && badgeShowNumber==true`.
|
|
65
|
+
*/
|
|
49
66
|
badgeCount?: number;
|
|
50
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Shows an icon inside the badge, from the `badge-icon` slot.
|
|
69
|
+
*
|
|
70
|
+
* Available when `hasBadge==true && badges==[]`.
|
|
71
|
+
*/
|
|
51
72
|
showLeadingBadgeIcon?: boolean;
|
|
52
73
|
}
|
|
53
74
|
export interface Events {
|
|
@@ -46,6 +46,7 @@ import type {ObcTopBarMenuButtonIcon} from '@oicl/openbridge-webcomponents/dist/
|
|
|
46
46
|
* Available when `inactive==false`.
|
|
47
47
|
*/
|
|
48
48
|
moreButtonActivated?: boolean;
|
|
49
|
+
/** Alias of `moreButtonActivated`, which it sets. */
|
|
49
50
|
leftMoreButtonActivated?: boolean | undefined;
|
|
50
51
|
/**
|
|
51
52
|
* Highlights the user/profile button as active.
|
|
@@ -39,6 +39,7 @@ export interface Props {
|
|
|
39
39
|
* Available when `inactive==false`.
|
|
40
40
|
*/
|
|
41
41
|
moreButtonActivated?: boolean;
|
|
42
|
+
/** Alias of `moreButtonActivated`, which it sets. */
|
|
42
43
|
leftMoreButtonActivated?: boolean | undefined;
|
|
43
44
|
/**
|
|
44
45
|
* Highlights the user/profile button as active.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-propulsion-backup.js';
|
|
5
|
+
import { setProperties } from "../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
useCssColor?: boolean
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
children?: Snippet
|
|
19
|
+
}
|
|
20
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obi-propulsion-backup
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
|
|
27
|
+
class={className}
|
|
28
|
+
style={style}
|
|
29
|
+
>
|
|
30
|
+
|
|
31
|
+
{#if children}
|
|
32
|
+
{@render children()}
|
|
33
|
+
{/if}
|
|
34
|
+
</obi-propulsion-backup>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-propulsion-backup.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
useCssColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface Events {
|
|
9
|
+
}
|
|
10
|
+
export interface Slots {
|
|
11
|
+
children?: Snippet;
|
|
12
|
+
}
|
|
13
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
14
|
+
declare const ObiPropulsionBackup: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
15
|
+
type ObiPropulsionBackup = ReturnType<typeof ObiPropulsionBackup>;
|
|
16
|
+
export default ObiPropulsionBackup;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-twoway-analog-0.js';
|
|
5
|
+
import { setProperties } from "../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
useCssColor?: boolean
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
children?: Snippet
|
|
19
|
+
}
|
|
20
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
<obi-twoway-analog-0
|
|
25
|
+
use:setProperties={props}
|
|
26
|
+
|
|
27
|
+
class={className}
|
|
28
|
+
style={style}
|
|
29
|
+
>
|
|
30
|
+
|
|
31
|
+
{#if children}
|
|
32
|
+
{@render children()}
|
|
33
|
+
{/if}
|
|
34
|
+
</obi-twoway-analog-0>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-twoway-analog-0.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
useCssColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface Events {
|
|
9
|
+
}
|
|
10
|
+
export interface Slots {
|
|
11
|
+
children?: Snippet;
|
|
12
|
+
}
|
|
13
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
14
|
+
declare const ObiTwowayAnalog0: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
15
|
+
type ObiTwowayAnalog0 = ReturnType<typeof ObiTwowayAnalog0>;
|
|
16
|
+
export default ObiTwowayAnalog0;
|
package/dist/index.d.ts
CHANGED
|
@@ -1724,6 +1724,7 @@ export { default as ObiPrintScreenIec } from './icons/ObiPrintScreenIec.svelte';
|
|
|
1724
1724
|
export { default as ObiPrintScreenProposal } from './icons/ObiPrintScreenProposal.svelte';
|
|
1725
1725
|
export { default as ObiPrint } from './icons/ObiPrint.svelte';
|
|
1726
1726
|
export { default as ObiPropulsionAzimuthThruster } from './icons/ObiPropulsionAzimuthThruster.svelte';
|
|
1727
|
+
export { default as ObiPropulsionBackup } from './icons/ObiPropulsionBackup.svelte';
|
|
1727
1728
|
export { default as ObiPropulsionMainEngine } from './icons/ObiPropulsionMainEngine.svelte';
|
|
1728
1729
|
export { default as ObiPropulsionRudder } from './icons/ObiPropulsionRudder.svelte';
|
|
1729
1730
|
export { default as ObiPropulsionStatic } from './icons/ObiPropulsionStatic.svelte';
|
|
@@ -2255,6 +2256,7 @@ export { default as ObiTwowayAcuatorPistonClosedLeft } from './icons/ObiTwowayAc
|
|
|
2255
2256
|
export { default as ObiTwowayAcuatorPistonClosedRight } from './icons/ObiTwowayAcuatorPistonClosedRight.svelte';
|
|
2256
2257
|
export { default as ObiTwowayAcuatorPistonClosed } from './icons/ObiTwowayAcuatorPistonClosed.svelte';
|
|
2257
2258
|
export { default as ObiTwowayAcuatorPistonOpen } from './icons/ObiTwowayAcuatorPistonOpen.svelte';
|
|
2259
|
+
export { default as ObiTwowayAnalog0 } from './icons/ObiTwowayAnalog0.svelte';
|
|
2258
2260
|
export { default as ObiTwowayAnalog10 } from './icons/ObiTwowayAnalog10.svelte';
|
|
2259
2261
|
export { default as ObiTwowayAnalog25 } from './icons/ObiTwowayAnalog25.svelte';
|
|
2260
2262
|
export { default as ObiTwowayAnalog50 } from './icons/ObiTwowayAnalog50.svelte';
|
package/dist/index.js
CHANGED
|
@@ -1724,6 +1724,7 @@ export { default as ObiPrintScreenIec } from './icons/ObiPrintScreenIec.svelte';
|
|
|
1724
1724
|
export { default as ObiPrintScreenProposal } from './icons/ObiPrintScreenProposal.svelte';
|
|
1725
1725
|
export { default as ObiPrint } from './icons/ObiPrint.svelte';
|
|
1726
1726
|
export { default as ObiPropulsionAzimuthThruster } from './icons/ObiPropulsionAzimuthThruster.svelte';
|
|
1727
|
+
export { default as ObiPropulsionBackup } from './icons/ObiPropulsionBackup.svelte';
|
|
1727
1728
|
export { default as ObiPropulsionMainEngine } from './icons/ObiPropulsionMainEngine.svelte';
|
|
1728
1729
|
export { default as ObiPropulsionRudder } from './icons/ObiPropulsionRudder.svelte';
|
|
1729
1730
|
export { default as ObiPropulsionStatic } from './icons/ObiPropulsionStatic.svelte';
|
|
@@ -2255,6 +2256,7 @@ export { default as ObiTwowayAcuatorPistonClosedLeft } from './icons/ObiTwowayAc
|
|
|
2255
2256
|
export { default as ObiTwowayAcuatorPistonClosedRight } from './icons/ObiTwowayAcuatorPistonClosedRight.svelte';
|
|
2256
2257
|
export { default as ObiTwowayAcuatorPistonClosed } from './icons/ObiTwowayAcuatorPistonClosed.svelte';
|
|
2257
2258
|
export { default as ObiTwowayAcuatorPistonOpen } from './icons/ObiTwowayAcuatorPistonOpen.svelte';
|
|
2259
|
+
export { default as ObiTwowayAnalog0 } from './icons/ObiTwowayAnalog0.svelte';
|
|
2258
2260
|
export { default as ObiTwowayAnalog10 } from './icons/ObiTwowayAnalog10.svelte';
|
|
2259
2261
|
export { default as ObiTwowayAnalog25 } from './icons/ObiTwowayAnalog25.svelte';
|
|
2260
2262
|
export { default as ObiTwowayAnalog50 } from './icons/ObiTwowayAnalog50.svelte';
|
|
@@ -58,7 +58,11 @@ adviceEmphasis?: boolean;
|
|
|
58
58
|
* Available when `rotType!=undefined`.
|
|
59
59
|
*/
|
|
60
60
|
rotDotAnimationFactor?: number;
|
|
61
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute, and the bar's extent read unconverted against `rotMaxValue`. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`.
|
|
63
|
+
*
|
|
64
|
+
* Available when `rotType!=undefined && rateOfTurnDegreesPerMinute==undefined`.
|
|
65
|
+
*/
|
|
62
66
|
rotationsPerMinute?: number;
|
|
63
67
|
/**
|
|
64
68
|
* Bar-extent reference value in degrees per minute: the bar fills the full ±`ARC_HALF_EXTENT` arc when the measured rate of turn reaches ±`rotMaxValue`. The default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
|
|
@@ -50,7 +50,11 @@ export interface Props {
|
|
|
50
50
|
* Available when `rotType!=undefined`.
|
|
51
51
|
*/
|
|
52
52
|
rotDotAnimationFactor?: number;
|
|
53
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute, and the bar's extent read unconverted against `rotMaxValue`. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`.
|
|
55
|
+
*
|
|
56
|
+
* Available when `rotType!=undefined && rateOfTurnDegreesPerMinute==undefined`.
|
|
57
|
+
*/
|
|
54
58
|
rotationsPerMinute?: number;
|
|
55
59
|
/**
|
|
56
60
|
* Bar-extent reference value in degrees per minute: the bar fills the full ±`ARC_HALF_EXTENT` arc when the measured rate of turn reaches ±`rotMaxValue`. The default `60` aligns with ES-TRIN 2025/1 Art. 3.02.
|
|
@@ -72,6 +72,7 @@ animateSetpoint?: boolean;
|
|
|
72
72
|
value?: number | undefined;
|
|
73
73
|
/** Instrument state: active, loading, or off */
|
|
74
74
|
state?: InstrumentState;
|
|
75
|
+
/** Earlier name for `touching`: a change to it sets `touching`, unless `touching` changes in the same update, which then wins. It is not updated from `touching`, so it does not read back the current value. */
|
|
75
76
|
focused?: boolean;
|
|
76
77
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
77
78
|
highlightCurrentValue?: boolean
|
|
@@ -65,6 +65,7 @@ regardless of instrument state. */
|
|
|
65
65
|
value?: number | undefined;
|
|
66
66
|
/** Instrument state: active, loading, or off */
|
|
67
67
|
state?: InstrumentState;
|
|
68
|
+
/** Earlier name for `touching`: a change to it sets `touching`, unless `touching` changes in the same update, which then wins. It is not updated from `touching`, so it does not read back the current value. */
|
|
68
69
|
focused?: boolean;
|
|
69
70
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
70
71
|
highlightCurrentValue?: boolean;
|
|
@@ -72,6 +72,7 @@ animateSetpoint?: boolean;
|
|
|
72
72
|
value?: number | undefined;
|
|
73
73
|
/** Instrument state: active, loading, or off */
|
|
74
74
|
state?: InstrumentState;
|
|
75
|
+
/** Earlier name for `touching`: a change to it sets `touching`, unless `touching` changes in the same update, which then wins. It is not updated from `touching`, so it does not read back the current value. */
|
|
75
76
|
focused?: boolean;
|
|
76
77
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
77
78
|
highlightCurrentValue?: boolean
|
|
@@ -65,6 +65,7 @@ regardless of instrument state. */
|
|
|
65
65
|
value?: number | undefined;
|
|
66
66
|
/** Instrument state: active, loading, or off */
|
|
67
67
|
state?: InstrumentState;
|
|
68
|
+
/** Earlier name for `touching`: a change to it sets `touching`, unless `touching` changes in the same update, which then wins. It is not updated from `touching`, so it does not read back the current value. */
|
|
68
69
|
focused?: boolean;
|
|
69
70
|
/** When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. */
|
|
70
71
|
highlightCurrentValue?: boolean;
|
|
@@ -15,6 +15,7 @@ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-inst
|
|
|
15
15
|
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
16
16
|
/** Visual amplification applied to the spinning dot animation. Default `18` keeps the legacy visual feel (≈1 rpm at 20°/min). */
|
|
17
17
|
rotDotAnimationFactor?: number;
|
|
18
|
+
/** Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute; the track bar ignores it. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`. */
|
|
18
19
|
rotationsPerMinute?: number;
|
|
19
20
|
rotType?: RotType;
|
|
20
21
|
rotPosition?: RotPosition;
|
|
@@ -9,6 +9,7 @@ export interface Props {
|
|
|
9
9
|
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
10
10
|
/** Visual amplification applied to the spinning dot animation. Default `18` keeps the legacy visual feel (≈1 rpm at 20°/min). */
|
|
11
11
|
rotDotAnimationFactor?: number;
|
|
12
|
+
/** Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute; the track bar ignores it. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`. */
|
|
12
13
|
rotationsPerMinute?: number;
|
|
13
14
|
rotType?: RotType;
|
|
14
15
|
rotPosition?: RotPosition;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
15
15
|
/** Visual amplification applied to the spinning dot animation. Default `18` keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when the legacy `rotationsPerMinute` API is used. */
|
|
16
16
|
rotDotAnimationFactor?: number;
|
|
17
|
+
/** Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute, and the linear dot's offset, full scale at ±3. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`. */
|
|
17
18
|
rotationsPerMinute?: number
|
|
18
19
|
}
|
|
19
20
|
export interface Events {
|
|
@@ -9,6 +9,7 @@ export interface Props {
|
|
|
9
9
|
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
10
10
|
/** Visual amplification applied to the spinning dot animation. Default `18` keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when the legacy `rotationsPerMinute` API is used. */
|
|
11
11
|
rotDotAnimationFactor?: number;
|
|
12
|
+
/** Legacy visual input, read only while `rateOfTurnDegreesPerMinute` is unset: the dot ring's spin in rotations per minute, and the linear dot's offset, full scale at ±3. A measured rate of turn goes in `rateOfTurnDegreesPerMinute`. */
|
|
12
13
|
rotationsPerMinute?: number;
|
|
13
14
|
}
|
|
14
15
|
export interface Events {
|
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.12",
|
|
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.12"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"svelte": "^5.0.0"
|