@oicl/openbridge-webcomponents-svelte 2.0.0-next.17 → 2.0.0-next.18

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.
@@ -14,7 +14,18 @@
14
14
  maxAvgPitch?: number;
15
15
  vesselImageSide?: VesselImage;
16
16
  maxPitchAdvice?: number | undefined;
17
- triggerPitchAdvice?: boolean
17
+ triggerPitchAdvice?: boolean;
18
+ zoomToFitArc?: boolean;
19
+ /** Half-extent of the watch arc in degrees. The arc spans `90° ± arcAngle`
20
+ and pitch values are placed at their true position within it. Default
21
+ `45` reproduces the historical 90°-wide arc.
22
+
23
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
24
+ narrower arc is enlarged (its radius grows) on its own layer, while the
25
+ vessel image and the rotating indicator line stay at their natural size
26
+ and position on a separate central layer. The two layers are
27
+ intentionally visually disconnected. */
28
+ arcAngle?: number
18
29
  }
19
30
  export interface Events {
20
31
 
@@ -10,6 +10,17 @@ export interface Props {
10
10
  vesselImageSide?: VesselImage;
11
11
  maxPitchAdvice?: number | undefined;
12
12
  triggerPitchAdvice?: boolean;
13
+ zoomToFitArc?: boolean;
14
+ /** Half-extent of the watch arc in degrees. The arc spans `90° ± arcAngle`
15
+ and pitch values are placed at their true position within it. Default
16
+ `45` reproduces the historical 90°-wide arc.
17
+
18
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
19
+ narrower arc is enlarged (its radius grows) on its own layer, while the
20
+ vessel image and the rotating indicator line stay at their natural size
21
+ and position on a separate central layer. The two layers are
22
+ intentionally visually disconnected. */
23
+ arcAngle?: number;
13
24
  }
14
25
  export interface Events {
15
26
  }
@@ -27,7 +27,18 @@ import type {PitchRollPriorityElement} from '@oicl/openbridge-webcomponents/dist
27
27
  triggerPitchAdvice?: boolean;
28
28
  triggerRollAdvice?: boolean;
29
29
  priority?: Priority;
30
- priorityElements?: PitchRollPriorityElement[]
30
+ priorityElements?: PitchRollPriorityElement[];
31
+ zoomToFitArc?: boolean;
32
+ /** Half-extent of each of the four watch arcs in degrees, measured from the
33
+ arc's natural center (0°/90°/180°/270°). Each arc spans
34
+ `center ± arcAngle`. Default `30` reproduces the historical 60°-wide
35
+ arcs; smaller values produce narrower arcs that, combined with
36
+ `zoomToFitArc`, reveal more detail in the relevant motion range. */
37
+ arcAngle?: number;
38
+ /** [object Object],[object Object],[object Object] */
39
+ pitchArcAngle?: number | undefined;
40
+ /** [object Object],[object Object],[object Object] */
41
+ rollArcAngle?: number | undefined
31
42
  }
32
43
  export interface Events {
33
44
 
@@ -21,6 +21,17 @@ export interface Props {
21
21
  triggerRollAdvice?: boolean;
22
22
  priority?: Priority;
23
23
  priorityElements?: PitchRollPriorityElement[];
24
+ zoomToFitArc?: boolean;
25
+ /** Half-extent of each of the four watch arcs in degrees, measured from the
26
+ arc's natural center (0°/90°/180°/270°). Each arc spans
27
+ `center ± arcAngle`. Default `30` reproduces the historical 60°-wide
28
+ arcs; smaller values produce narrower arcs that, combined with
29
+ `zoomToFitArc`, reveal more detail in the relevant motion range. */
30
+ arcAngle?: number;
31
+ /** [object Object],[object Object],[object Object] */
32
+ pitchArcAngle?: number | undefined;
33
+ /** [object Object],[object Object],[object Object] */
34
+ rollArcAngle?: number | undefined;
24
35
  }
25
36
  export interface Events {
26
37
  }
@@ -15,7 +15,18 @@
15
15
  vesselImageFore?: VesselImage;
16
16
  scaleForeImage?: number;
17
17
  maxRollAdvice?: number | undefined;
18
- triggerRollAdvice?: boolean
18
+ triggerRollAdvice?: boolean;
19
+ zoomToFitArc?: boolean;
20
+ /** Half-extent of the watch arc in degrees. The arc spans `180° ± arcAngle`
21
+ and roll values are placed at their true position within it. Default
22
+ `45` reproduces the historical 90°-wide arc.
23
+
24
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
25
+ narrower arc is enlarged (its radius grows) on its own layer, while the
26
+ vessel image and the rotating indicator line stay at their natural size
27
+ and position on a separate central layer. The two layers are
28
+ intentionally visually disconnected. */
29
+ arcAngle?: number
19
30
  }
20
31
  export interface Events {
21
32
 
@@ -11,6 +11,17 @@ export interface Props {
11
11
  scaleForeImage?: number;
12
12
  maxRollAdvice?: number | undefined;
13
13
  triggerRollAdvice?: boolean;
14
+ zoomToFitArc?: boolean;
15
+ /** Half-extent of the watch arc in degrees. The arc spans `180° ± arcAngle`
16
+ and roll values are placed at their true position within it. Default
17
+ `45` reproduces the historical 90°-wide arc.
18
+
19
+ Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
20
+ narrower arc is enlarged (its radius grows) on its own layer, while the
21
+ vessel image and the rotating indicator line stay at their natural size
22
+ and position on a separate central layer. The two layers are
23
+ intentionally visually disconnected. */
24
+ arcAngle?: number;
14
25
  }
15
26
  export interface Events {
16
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.17",
3
+ "version": "2.0.0-next.18",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@oicl/openbridge-webcomponents": "^2.0.0-next.16"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.17"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"