@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.110 → 2.0.0-next.112
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/bundle/openbridge-webcomponents.bundle.js +2370 -1522
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +641 -7
- package/dist/automation/indicator-battery/indicator-battery.css.js +52 -0
- package/dist/automation/indicator-battery/indicator-battery.css.js.map +1 -0
- package/dist/automation/indicator-battery/indicator-battery.d.ts +65 -0
- package/dist/automation/indicator-battery/indicator-battery.d.ts.map +1 -0
- package/dist/automation/indicator-battery/indicator-battery.js +119 -0
- package/dist/automation/indicator-battery/indicator-battery.js.map +1 -0
- package/dist/automation/indicator-engine/indicator-engine.css.js +45 -0
- package/dist/automation/indicator-engine/indicator-engine.css.js.map +1 -0
- package/dist/automation/indicator-engine/indicator-engine.d.ts +34 -0
- package/dist/automation/indicator-engine/indicator-engine.d.ts.map +1 -0
- package/dist/automation/indicator-engine/indicator-engine.js +73 -0
- package/dist/automation/indicator-engine/indicator-engine.js.map +1 -0
- package/dist/automation/indicator-generator/indicator-generator-geometry.d.ts +30 -0
- package/dist/automation/indicator-generator/indicator-generator-geometry.d.ts.map +1 -0
- package/dist/automation/indicator-generator/indicator-generator-geometry.js +61 -0
- package/dist/automation/indicator-generator/indicator-generator-geometry.js.map +1 -0
- package/dist/automation/indicator-generator/indicator-generator.css.js +121 -0
- package/dist/automation/indicator-generator/indicator-generator.css.js.map +1 -0
- package/dist/automation/indicator-generator/indicator-generator.d.ts +57 -0
- package/dist/automation/indicator-generator/indicator-generator.d.ts.map +1 -0
- package/dist/automation/indicator-generator/indicator-generator.js +136 -0
- package/dist/automation/indicator-generator/indicator-generator.js.map +1 -0
- package/dist/automation/indicator-shared/linear-indicator.d.ts +46 -0
- package/dist/automation/indicator-shared/linear-indicator.d.ts.map +1 -0
- package/dist/automation/indicator-shared/linear-indicator.js +175 -0
- package/dist/automation/indicator-shared/linear-indicator.js.map +1 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.css.js +48 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.css.js.map +1 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.d.ts +65 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.d.ts.map +1 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js +105 -0
- package/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js.map +1 -0
- package/dist/navigation-instruments/compass/compass.d.ts +1 -1
- package/dist/navigation-instruments/compass/compass.d.ts.map +1 -1
- package/dist/navigation-instruments/compass/compass.js +1 -1
- package/dist/navigation-instruments/compass/compass.js.map +1 -1
- package/dist/navigation-instruments/current/current.d.ts +25 -0
- package/dist/navigation-instruments/current/current.d.ts.map +1 -1
- package/dist/navigation-instruments/current/current.js +25 -4
- package/dist/navigation-instruments/current/current.js.map +1 -1
- package/dist/navigation-instruments/heading/heading.js +1 -1
- package/dist/navigation-instruments/heading/heading.js.map +1 -1
- package/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.d.ts +6 -0
- package/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.d.ts.map +1 -1
- package/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js +8 -1
- package/dist/navigation-instruments/pitch-roll-heave/pitch-roll-heave.js.map +1 -1
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.d.ts +5 -2
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.d.ts.map +1 -1
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.js.map +1 -1
- package/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.d.ts +6 -0
- package/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.d.ts.map +1 -1
- package/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js +19 -4
- package/dist/navigation-instruments/top-view-propulsion/top-view-propulsion.js.map +1 -1
- package/dist/navigation-instruments/watch/environment.d.ts +8 -0
- package/dist/navigation-instruments/watch/environment.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/environment.js +3 -0
- package/dist/navigation-instruments/watch/environment.js.map +1 -1
- package/dist/navigation-instruments/watch/force-pattern.d.ts +20 -2
- package/dist/navigation-instruments/watch/force-pattern.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/force-pattern.js +12 -5
- package/dist/navigation-instruments/watch/force-pattern.js.map +1 -1
- package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/watch.js +6 -4
- package/dist/navigation-instruments/watch/watch.js.map +1 -1
- package/dist/navigation-instruments/wind/wind.d.ts +5 -2
- package/dist/navigation-instruments/wind/wind.d.ts.map +1 -1
- package/dist/navigation-instruments/wind/wind.js +5 -1
- package/dist/navigation-instruments/wind/wind.js.map +1 -1
- package/package.json +1 -1
- package/src/automation/indicator-battery/indicator-battery.css +42 -0
- package/src/automation/indicator-battery/indicator-battery.stories.ts +94 -0
- package/src/automation/indicator-battery/indicator-battery.ts +149 -0
- package/src/automation/indicator-engine/indicator-engine.css +35 -0
- package/src/automation/indicator-engine/indicator-engine.stories.ts +48 -0
- package/src/automation/indicator-engine/indicator-engine.ts +78 -0
- package/src/automation/indicator-generator/indicator-generator-geometry.spec.ts +62 -0
- package/src/automation/indicator-generator/indicator-generator-geometry.ts +63 -0
- package/src/automation/indicator-generator/indicator-generator.css +111 -0
- package/src/automation/indicator-generator/indicator-generator.stories.ts +103 -0
- package/src/automation/indicator-generator/indicator-generator.ts +184 -0
- package/src/automation/indicator-shared/linear-indicator.spec.ts +90 -0
- package/src/automation/indicator-shared/linear-indicator.ts +230 -0
- package/src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.css +38 -0
- package/src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.stories.ts +94 -0
- package/src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.ts +138 -0
- package/src/navigation-instruments/compass/compass.ts +2 -2
- package/src/navigation-instruments/current/current.stories.ts +33 -0
- package/src/navigation-instruments/current/current.ts +37 -3
- package/src/navigation-instruments/heading/heading.stories.ts +6 -4
- package/src/navigation-instruments/heading/heading.ts +1 -1
- package/src/navigation-instruments/pitch-roll-heave/pitch-roll-heave.ts +8 -1
- package/src/navigation-instruments/rate-of-turn/rate-of-turn.stories.ts +3 -3
- package/src/navigation-instruments/rate-of-turn/rate-of-turn.ts +5 -2
- package/src/navigation-instruments/top-view-propulsion/top-view-propulsion.ts +20 -2
- package/src/navigation-instruments/watch/environment.ts +10 -0
- package/src/navigation-instruments/watch/force-pattern.spec.ts +42 -0
- package/src/navigation-instruments/watch/force-pattern.ts +44 -7
- package/src/navigation-instruments/watch/watch.ts +20 -5
- package/src/navigation-instruments/wind/wind.spec.ts +3 -1
- package/src/navigation-instruments/wind/wind.ts +12 -3
package/custom-elements.json
CHANGED
|
@@ -24041,6 +24041,568 @@
|
|
|
24041
24041
|
}
|
|
24042
24042
|
]
|
|
24043
24043
|
},
|
|
24044
|
+
{
|
|
24045
|
+
"kind": "javascript-module",
|
|
24046
|
+
"path": "src/automation/indicator-battery/indicator-battery.ts",
|
|
24047
|
+
"declarations": [
|
|
24048
|
+
{
|
|
24049
|
+
"kind": "class",
|
|
24050
|
+
"description": "Compact 48×48 battery charge indicator.\n\n## Features / Variants\n- `variant`: `bar` (bottom-up percentage fill) or `trend` (history graph\n with a current-value micro-bar)\n- `direction`: `vertical` or `horizontal` battery shell\n- `value`: color scheme — `regular`, `enhanced` or `categorical`\n- `level`: current charge 0–100 (%), drives the fill and micro-bar\n- `data`: history samples 0–100 (%) drawn as the trend graph\n- `hasIcon`: centered icon overlay (bar variant only)\n\n## Usage Guidelines\nUse as an at-a-glance charge indicator in dashboards and lists. For a\nfull-featured tank/battery cell with readouts, badges and setpoints, use\n`obc-automation-tank` (type `battery`) instead.\n\n## Best Practices / Constraints\n- `level` and `data` values are clamped to 0–100; values outside that\n range are pinned to the nearest bound.\n- The `trend` variant needs at least two `data` samples to draw a line;\n with fewer it shows only the current-value micro-bar.\n- The `icon` slot renders only in the `bar` variant; it is ignored in\n `trend`.\n- Display-only: the root SVG is `aria-hidden`; convey battery state to\n assistive tech through adjacent text if it is not otherwise available.\n\n## Slots\n| Slot | Condition | Purpose |\n| ------ | ----------------------------- | ------------------------------ |\n| `icon` | `hasIcon` and `variant='bar'` | Icon overlay (`obi-*` element) |",
|
|
24051
|
+
"name": "ObcIndicatorBattery",
|
|
24052
|
+
"slots": [
|
|
24053
|
+
{
|
|
24054
|
+
"description": "Centered icon overlay, defaults to `obi-energy-battery`",
|
|
24055
|
+
"name": "icon"
|
|
24056
|
+
}
|
|
24057
|
+
],
|
|
24058
|
+
"members": [
|
|
24059
|
+
{
|
|
24060
|
+
"kind": "field",
|
|
24061
|
+
"name": "direction",
|
|
24062
|
+
"type": {
|
|
24063
|
+
"text": "IndicatorDirection"
|
|
24064
|
+
},
|
|
24065
|
+
"attribute": "direction",
|
|
24066
|
+
"reflects": true
|
|
24067
|
+
},
|
|
24068
|
+
{
|
|
24069
|
+
"kind": "field",
|
|
24070
|
+
"name": "variant",
|
|
24071
|
+
"type": {
|
|
24072
|
+
"text": "IndicatorBatteryVariant"
|
|
24073
|
+
},
|
|
24074
|
+
"attribute": "variant",
|
|
24075
|
+
"reflects": true
|
|
24076
|
+
},
|
|
24077
|
+
{
|
|
24078
|
+
"kind": "field",
|
|
24079
|
+
"name": "value",
|
|
24080
|
+
"type": {
|
|
24081
|
+
"text": "IndicatorBatteryValue"
|
|
24082
|
+
},
|
|
24083
|
+
"attribute": "value",
|
|
24084
|
+
"reflects": true
|
|
24085
|
+
},
|
|
24086
|
+
{
|
|
24087
|
+
"kind": "field",
|
|
24088
|
+
"name": "level",
|
|
24089
|
+
"type": {
|
|
24090
|
+
"text": "number"
|
|
24091
|
+
},
|
|
24092
|
+
"default": "0",
|
|
24093
|
+
"description": "Current charge, 0-100 (%)",
|
|
24094
|
+
"attribute": "level"
|
|
24095
|
+
},
|
|
24096
|
+
{
|
|
24097
|
+
"kind": "field",
|
|
24098
|
+
"name": "data",
|
|
24099
|
+
"type": {
|
|
24100
|
+
"text": "number[]"
|
|
24101
|
+
},
|
|
24102
|
+
"default": "[]",
|
|
24103
|
+
"description": "History samples, 0-100 (%) each, oldest first",
|
|
24104
|
+
"attribute": "data"
|
|
24105
|
+
},
|
|
24106
|
+
{
|
|
24107
|
+
"kind": "field",
|
|
24108
|
+
"name": "hasIcon",
|
|
24109
|
+
"type": {
|
|
24110
|
+
"text": "boolean"
|
|
24111
|
+
},
|
|
24112
|
+
"default": "false",
|
|
24113
|
+
"attribute": "hasIcon"
|
|
24114
|
+
},
|
|
24115
|
+
{
|
|
24116
|
+
"kind": "field",
|
|
24117
|
+
"name": "scheme",
|
|
24118
|
+
"type": {
|
|
24119
|
+
"text": "LinearIndicatorScheme"
|
|
24120
|
+
},
|
|
24121
|
+
"privacy": "private",
|
|
24122
|
+
"readonly": true
|
|
24123
|
+
}
|
|
24124
|
+
],
|
|
24125
|
+
"attributes": [
|
|
24126
|
+
{
|
|
24127
|
+
"name": "direction",
|
|
24128
|
+
"type": {
|
|
24129
|
+
"text": "IndicatorDirection"
|
|
24130
|
+
},
|
|
24131
|
+
"fieldName": "direction"
|
|
24132
|
+
},
|
|
24133
|
+
{
|
|
24134
|
+
"name": "variant",
|
|
24135
|
+
"type": {
|
|
24136
|
+
"text": "IndicatorBatteryVariant"
|
|
24137
|
+
},
|
|
24138
|
+
"fieldName": "variant"
|
|
24139
|
+
},
|
|
24140
|
+
{
|
|
24141
|
+
"name": "value",
|
|
24142
|
+
"type": {
|
|
24143
|
+
"text": "IndicatorBatteryValue"
|
|
24144
|
+
},
|
|
24145
|
+
"fieldName": "value"
|
|
24146
|
+
},
|
|
24147
|
+
{
|
|
24148
|
+
"name": "level",
|
|
24149
|
+
"type": {
|
|
24150
|
+
"text": "number"
|
|
24151
|
+
},
|
|
24152
|
+
"default": "0",
|
|
24153
|
+
"description": "Current charge, 0-100 (%)",
|
|
24154
|
+
"fieldName": "level"
|
|
24155
|
+
},
|
|
24156
|
+
{
|
|
24157
|
+
"name": "data",
|
|
24158
|
+
"type": {
|
|
24159
|
+
"text": "number[]"
|
|
24160
|
+
},
|
|
24161
|
+
"default": "[]",
|
|
24162
|
+
"description": "History samples, 0-100 (%) each, oldest first",
|
|
24163
|
+
"fieldName": "data"
|
|
24164
|
+
},
|
|
24165
|
+
{
|
|
24166
|
+
"name": "hasIcon",
|
|
24167
|
+
"type": {
|
|
24168
|
+
"text": "boolean"
|
|
24169
|
+
},
|
|
24170
|
+
"default": "false",
|
|
24171
|
+
"fieldName": "hasIcon"
|
|
24172
|
+
}
|
|
24173
|
+
],
|
|
24174
|
+
"superclass": {
|
|
24175
|
+
"name": "LitElement",
|
|
24176
|
+
"package": "lit"
|
|
24177
|
+
},
|
|
24178
|
+
"tagName": "obc-indicator-battery",
|
|
24179
|
+
"customElement": true
|
|
24180
|
+
}
|
|
24181
|
+
],
|
|
24182
|
+
"exports": [
|
|
24183
|
+
{
|
|
24184
|
+
"kind": "js",
|
|
24185
|
+
"name": "ObcIndicatorBattery",
|
|
24186
|
+
"declaration": {
|
|
24187
|
+
"name": "ObcIndicatorBattery",
|
|
24188
|
+
"module": "src/automation/indicator-battery/indicator-battery.ts"
|
|
24189
|
+
}
|
|
24190
|
+
},
|
|
24191
|
+
{
|
|
24192
|
+
"kind": "custom-element-definition",
|
|
24193
|
+
"name": "obc-indicator-battery",
|
|
24194
|
+
"declaration": {
|
|
24195
|
+
"name": "ObcIndicatorBattery",
|
|
24196
|
+
"module": "src/automation/indicator-battery/indicator-battery.ts"
|
|
24197
|
+
}
|
|
24198
|
+
}
|
|
24199
|
+
]
|
|
24200
|
+
},
|
|
24201
|
+
{
|
|
24202
|
+
"kind": "javascript-module",
|
|
24203
|
+
"path": "src/automation/indicator-engine/indicator-engine.ts",
|
|
24204
|
+
"declarations": [
|
|
24205
|
+
{
|
|
24206
|
+
"kind": "class",
|
|
24207
|
+
"description": "Compact 48×48 engine indicator glyph.\n\n## Features / Variants\n- `direction`: `vertical` (upright block with side rails) or `horizontal`\n (lying block on a base rail)\n- `value`: cylinder color — `static`, `regular` or `enhanced`\n\n## Usage Guidelines\nUse as a static engine presence/state glyph in dashboards and lists.\nIt carries no numeric value; pair it with readouts or other indicators\nwhen quantities must be shown.",
|
|
24208
|
+
"name": "ObcIndicatorEngine",
|
|
24209
|
+
"members": [
|
|
24210
|
+
{
|
|
24211
|
+
"kind": "field",
|
|
24212
|
+
"name": "value",
|
|
24213
|
+
"type": {
|
|
24214
|
+
"text": "IndicatorEngineValue"
|
|
24215
|
+
},
|
|
24216
|
+
"attribute": "value",
|
|
24217
|
+
"reflects": true
|
|
24218
|
+
},
|
|
24219
|
+
{
|
|
24220
|
+
"kind": "field",
|
|
24221
|
+
"name": "direction",
|
|
24222
|
+
"type": {
|
|
24223
|
+
"text": "IndicatorDirection"
|
|
24224
|
+
},
|
|
24225
|
+
"attribute": "direction",
|
|
24226
|
+
"reflects": true
|
|
24227
|
+
},
|
|
24228
|
+
{
|
|
24229
|
+
"kind": "method",
|
|
24230
|
+
"name": "renderHorizontal",
|
|
24231
|
+
"privacy": "private"
|
|
24232
|
+
},
|
|
24233
|
+
{
|
|
24234
|
+
"kind": "method",
|
|
24235
|
+
"name": "renderVertical",
|
|
24236
|
+
"privacy": "private"
|
|
24237
|
+
}
|
|
24238
|
+
],
|
|
24239
|
+
"attributes": [
|
|
24240
|
+
{
|
|
24241
|
+
"name": "value",
|
|
24242
|
+
"type": {
|
|
24243
|
+
"text": "IndicatorEngineValue"
|
|
24244
|
+
},
|
|
24245
|
+
"fieldName": "value"
|
|
24246
|
+
},
|
|
24247
|
+
{
|
|
24248
|
+
"name": "direction",
|
|
24249
|
+
"type": {
|
|
24250
|
+
"text": "IndicatorDirection"
|
|
24251
|
+
},
|
|
24252
|
+
"fieldName": "direction"
|
|
24253
|
+
}
|
|
24254
|
+
],
|
|
24255
|
+
"superclass": {
|
|
24256
|
+
"name": "LitElement",
|
|
24257
|
+
"package": "lit"
|
|
24258
|
+
},
|
|
24259
|
+
"tagName": "obc-indicator-engine",
|
|
24260
|
+
"customElement": true
|
|
24261
|
+
}
|
|
24262
|
+
],
|
|
24263
|
+
"exports": [
|
|
24264
|
+
{
|
|
24265
|
+
"kind": "js",
|
|
24266
|
+
"name": "ObcIndicatorEngine",
|
|
24267
|
+
"declaration": {
|
|
24268
|
+
"name": "ObcIndicatorEngine",
|
|
24269
|
+
"module": "src/automation/indicator-engine/indicator-engine.ts"
|
|
24270
|
+
}
|
|
24271
|
+
},
|
|
24272
|
+
{
|
|
24273
|
+
"kind": "custom-element-definition",
|
|
24274
|
+
"name": "obc-indicator-engine",
|
|
24275
|
+
"declaration": {
|
|
24276
|
+
"name": "ObcIndicatorEngine",
|
|
24277
|
+
"module": "src/automation/indicator-engine/indicator-engine.ts"
|
|
24278
|
+
}
|
|
24279
|
+
}
|
|
24280
|
+
]
|
|
24281
|
+
},
|
|
24282
|
+
{
|
|
24283
|
+
"kind": "javascript-module",
|
|
24284
|
+
"path": "src/automation/indicator-generator/indicator-generator.ts",
|
|
24285
|
+
"declarations": [
|
|
24286
|
+
{
|
|
24287
|
+
"kind": "class",
|
|
24288
|
+
"description": "Compact generator status indicator (48×48; 56×56 as double-bar).\n\n## Features / Variants\n- `variant`: `button` (plain disc), `bar` (disc with a circular progress\n ring) or `double-bar` (disc with two concentric progress rings)\n- `value`: visual scheme — `off`, `regular`, `filled`, `enhanced` or\n `categorical`; `off` hides the progress rings\n- `level`: 0–100 (%), sweep of the (outer) progress ring, clockwise from\n 12 o'clock\n- `secondaryLevel`: 0–100 (%), sweep of the inner ring (double-bar only)\n\n## Usage Guidelines\nUse as an at-a-glance generator load indicator in dashboards and lists.\nFor schematic (P&ID) placement with button behavior, use the electric\ngenerator automation devices instead.\n\n## Slots\n| Slot | Condition | Purpose |\n| ------ | --------- | ------------------------------------------------ |\n| `icon` | always | Center icon, defaults to the generator G~ glyph |",
|
|
24289
|
+
"name": "ObcIndicatorGenerator",
|
|
24290
|
+
"slots": [
|
|
24291
|
+
{
|
|
24292
|
+
"description": "Center icon, defaults to the generator G~ glyph",
|
|
24293
|
+
"name": "icon"
|
|
24294
|
+
}
|
|
24295
|
+
],
|
|
24296
|
+
"members": [
|
|
24297
|
+
{
|
|
24298
|
+
"kind": "field",
|
|
24299
|
+
"name": "variant",
|
|
24300
|
+
"type": {
|
|
24301
|
+
"text": "IndicatorGeneratorVariant"
|
|
24302
|
+
},
|
|
24303
|
+
"attribute": "variant",
|
|
24304
|
+
"reflects": true
|
|
24305
|
+
},
|
|
24306
|
+
{
|
|
24307
|
+
"kind": "field",
|
|
24308
|
+
"name": "value",
|
|
24309
|
+
"type": {
|
|
24310
|
+
"text": "IndicatorGeneratorValue"
|
|
24311
|
+
},
|
|
24312
|
+
"attribute": "value",
|
|
24313
|
+
"reflects": true
|
|
24314
|
+
},
|
|
24315
|
+
{
|
|
24316
|
+
"kind": "field",
|
|
24317
|
+
"name": "level",
|
|
24318
|
+
"type": {
|
|
24319
|
+
"text": "number"
|
|
24320
|
+
},
|
|
24321
|
+
"default": "0",
|
|
24322
|
+
"description": "Outer progress ring sweep, 0-100 (%)",
|
|
24323
|
+
"attribute": "level"
|
|
24324
|
+
},
|
|
24325
|
+
{
|
|
24326
|
+
"kind": "field",
|
|
24327
|
+
"name": "secondaryLevel",
|
|
24328
|
+
"type": {
|
|
24329
|
+
"text": "number"
|
|
24330
|
+
},
|
|
24331
|
+
"default": "0",
|
|
24332
|
+
"description": "Inner progress ring sweep, 0-100 (%), double-bar only",
|
|
24333
|
+
"attribute": "secondaryLevel"
|
|
24334
|
+
},
|
|
24335
|
+
{
|
|
24336
|
+
"kind": "field",
|
|
24337
|
+
"name": "center",
|
|
24338
|
+
"type": {
|
|
24339
|
+
"text": "number"
|
|
24340
|
+
},
|
|
24341
|
+
"privacy": "private",
|
|
24342
|
+
"readonly": true
|
|
24343
|
+
},
|
|
24344
|
+
{
|
|
24345
|
+
"kind": "field",
|
|
24346
|
+
"name": "discRadius",
|
|
24347
|
+
"type": {
|
|
24348
|
+
"text": "number"
|
|
24349
|
+
},
|
|
24350
|
+
"privacy": "private",
|
|
24351
|
+
"readonly": true
|
|
24352
|
+
},
|
|
24353
|
+
{
|
|
24354
|
+
"kind": "field",
|
|
24355
|
+
"name": "showOutline",
|
|
24356
|
+
"type": {
|
|
24357
|
+
"text": "boolean"
|
|
24358
|
+
},
|
|
24359
|
+
"privacy": "private",
|
|
24360
|
+
"readonly": true
|
|
24361
|
+
},
|
|
24362
|
+
{
|
|
24363
|
+
"kind": "method",
|
|
24364
|
+
"name": "renderRing",
|
|
24365
|
+
"privacy": "private",
|
|
24366
|
+
"parameters": [
|
|
24367
|
+
{
|
|
24368
|
+
"name": "radius",
|
|
24369
|
+
"type": {
|
|
24370
|
+
"text": "number"
|
|
24371
|
+
}
|
|
24372
|
+
},
|
|
24373
|
+
{
|
|
24374
|
+
"name": "strokeWidth",
|
|
24375
|
+
"type": {
|
|
24376
|
+
"text": "number"
|
|
24377
|
+
}
|
|
24378
|
+
},
|
|
24379
|
+
{
|
|
24380
|
+
"name": "level",
|
|
24381
|
+
"type": {
|
|
24382
|
+
"text": "number"
|
|
24383
|
+
}
|
|
24384
|
+
}
|
|
24385
|
+
]
|
|
24386
|
+
}
|
|
24387
|
+
],
|
|
24388
|
+
"attributes": [
|
|
24389
|
+
{
|
|
24390
|
+
"name": "variant",
|
|
24391
|
+
"type": {
|
|
24392
|
+
"text": "IndicatorGeneratorVariant"
|
|
24393
|
+
},
|
|
24394
|
+
"fieldName": "variant"
|
|
24395
|
+
},
|
|
24396
|
+
{
|
|
24397
|
+
"name": "value",
|
|
24398
|
+
"type": {
|
|
24399
|
+
"text": "IndicatorGeneratorValue"
|
|
24400
|
+
},
|
|
24401
|
+
"fieldName": "value"
|
|
24402
|
+
},
|
|
24403
|
+
{
|
|
24404
|
+
"name": "level",
|
|
24405
|
+
"type": {
|
|
24406
|
+
"text": "number"
|
|
24407
|
+
},
|
|
24408
|
+
"default": "0",
|
|
24409
|
+
"description": "Outer progress ring sweep, 0-100 (%)",
|
|
24410
|
+
"fieldName": "level"
|
|
24411
|
+
},
|
|
24412
|
+
{
|
|
24413
|
+
"name": "secondaryLevel",
|
|
24414
|
+
"type": {
|
|
24415
|
+
"text": "number"
|
|
24416
|
+
},
|
|
24417
|
+
"default": "0",
|
|
24418
|
+
"description": "Inner progress ring sweep, 0-100 (%), double-bar only",
|
|
24419
|
+
"fieldName": "secondaryLevel"
|
|
24420
|
+
}
|
|
24421
|
+
],
|
|
24422
|
+
"superclass": {
|
|
24423
|
+
"name": "LitElement",
|
|
24424
|
+
"package": "lit"
|
|
24425
|
+
},
|
|
24426
|
+
"tagName": "obc-indicator-generator",
|
|
24427
|
+
"customElement": true
|
|
24428
|
+
}
|
|
24429
|
+
],
|
|
24430
|
+
"exports": [
|
|
24431
|
+
{
|
|
24432
|
+
"kind": "js",
|
|
24433
|
+
"name": "ObcIndicatorGenerator",
|
|
24434
|
+
"declaration": {
|
|
24435
|
+
"name": "ObcIndicatorGenerator",
|
|
24436
|
+
"module": "src/automation/indicator-generator/indicator-generator.ts"
|
|
24437
|
+
}
|
|
24438
|
+
},
|
|
24439
|
+
{
|
|
24440
|
+
"kind": "custom-element-definition",
|
|
24441
|
+
"name": "obc-indicator-generator",
|
|
24442
|
+
"declaration": {
|
|
24443
|
+
"name": "ObcIndicatorGenerator",
|
|
24444
|
+
"module": "src/automation/indicator-generator/indicator-generator.ts"
|
|
24445
|
+
}
|
|
24446
|
+
}
|
|
24447
|
+
]
|
|
24448
|
+
},
|
|
24449
|
+
{
|
|
24450
|
+
"kind": "javascript-module",
|
|
24451
|
+
"path": "src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.ts",
|
|
24452
|
+
"declarations": [
|
|
24453
|
+
{
|
|
24454
|
+
"kind": "class",
|
|
24455
|
+
"description": "Compact 48×48 atmospheric tank level indicator.\n\n## Features / Variants\n- `variant`: `bar` (bottom-up percentage fill) or `trend` (history graph\n with a current-value micro-bar)\n- `direction`: `vertical` or `horizontal` tank outline\n- `value`: color scheme — `regular`, `enhanced` or `medium`\n- `level`: current tank level 0–100 (%), drives the fill and micro-bar\n- `data`: history samples 0–100 (%) drawn as the trend graph\n- `hasIcon`: centered icon overlay (bar variant only)\n\n## Usage Guidelines\nUse as an at-a-glance level indicator in dashboards and lists. For a\nfull-featured tank cell with readouts, badges and setpoints, use\n`obc-automation-tank` instead.\n\n## Best Practices / Constraints\n- `level` and `data` values are clamped to 0–100; values outside that\n range are pinned to the nearest bound.\n- The `trend` variant needs at least two `data` samples to draw a line;\n with fewer it shows only the current-value micro-bar.\n- The `icon` slot renders only in the `bar` variant; it is ignored in\n `trend`.\n- Display-only: the root SVG is `aria-hidden`; convey tank level to\n assistive tech through adjacent text if it is not otherwise available.\n\n## Slots\n| Slot | Condition | Purpose |\n| ------ | ----------------------------- | ------------------------------ |\n| `icon` | `hasIcon` and `variant='bar'` | Icon overlay (`obi-*` element) |",
|
|
24456
|
+
"name": "ObcIndicatorTankAtmospheric",
|
|
24457
|
+
"slots": [
|
|
24458
|
+
{
|
|
24459
|
+
"description": "Centered icon overlay, defaults to `obi-tank`",
|
|
24460
|
+
"name": "icon"
|
|
24461
|
+
}
|
|
24462
|
+
],
|
|
24463
|
+
"members": [
|
|
24464
|
+
{
|
|
24465
|
+
"kind": "field",
|
|
24466
|
+
"name": "direction",
|
|
24467
|
+
"type": {
|
|
24468
|
+
"text": "IndicatorDirection"
|
|
24469
|
+
},
|
|
24470
|
+
"attribute": "direction",
|
|
24471
|
+
"reflects": true
|
|
24472
|
+
},
|
|
24473
|
+
{
|
|
24474
|
+
"kind": "field",
|
|
24475
|
+
"name": "variant",
|
|
24476
|
+
"type": {
|
|
24477
|
+
"text": "IndicatorTankAtmosphericVariant"
|
|
24478
|
+
},
|
|
24479
|
+
"attribute": "variant",
|
|
24480
|
+
"reflects": true
|
|
24481
|
+
},
|
|
24482
|
+
{
|
|
24483
|
+
"kind": "field",
|
|
24484
|
+
"name": "value",
|
|
24485
|
+
"type": {
|
|
24486
|
+
"text": "IndicatorTankAtmosphericValue"
|
|
24487
|
+
},
|
|
24488
|
+
"attribute": "value",
|
|
24489
|
+
"reflects": true
|
|
24490
|
+
},
|
|
24491
|
+
{
|
|
24492
|
+
"kind": "field",
|
|
24493
|
+
"name": "level",
|
|
24494
|
+
"type": {
|
|
24495
|
+
"text": "number"
|
|
24496
|
+
},
|
|
24497
|
+
"default": "0",
|
|
24498
|
+
"description": "Current level, 0-100 (%)",
|
|
24499
|
+
"attribute": "level"
|
|
24500
|
+
},
|
|
24501
|
+
{
|
|
24502
|
+
"kind": "field",
|
|
24503
|
+
"name": "data",
|
|
24504
|
+
"type": {
|
|
24505
|
+
"text": "number[]"
|
|
24506
|
+
},
|
|
24507
|
+
"default": "[]",
|
|
24508
|
+
"description": "History samples, 0-100 (%) each, oldest first",
|
|
24509
|
+
"attribute": "data"
|
|
24510
|
+
},
|
|
24511
|
+
{
|
|
24512
|
+
"kind": "field",
|
|
24513
|
+
"name": "hasIcon",
|
|
24514
|
+
"type": {
|
|
24515
|
+
"text": "boolean"
|
|
24516
|
+
},
|
|
24517
|
+
"default": "false",
|
|
24518
|
+
"attribute": "hasIcon"
|
|
24519
|
+
},
|
|
24520
|
+
{
|
|
24521
|
+
"kind": "field",
|
|
24522
|
+
"name": "scheme",
|
|
24523
|
+
"type": {
|
|
24524
|
+
"text": "LinearIndicatorScheme"
|
|
24525
|
+
},
|
|
24526
|
+
"privacy": "private",
|
|
24527
|
+
"readonly": true
|
|
24528
|
+
}
|
|
24529
|
+
],
|
|
24530
|
+
"attributes": [
|
|
24531
|
+
{
|
|
24532
|
+
"name": "direction",
|
|
24533
|
+
"type": {
|
|
24534
|
+
"text": "IndicatorDirection"
|
|
24535
|
+
},
|
|
24536
|
+
"fieldName": "direction"
|
|
24537
|
+
},
|
|
24538
|
+
{
|
|
24539
|
+
"name": "variant",
|
|
24540
|
+
"type": {
|
|
24541
|
+
"text": "IndicatorTankAtmosphericVariant"
|
|
24542
|
+
},
|
|
24543
|
+
"fieldName": "variant"
|
|
24544
|
+
},
|
|
24545
|
+
{
|
|
24546
|
+
"name": "value",
|
|
24547
|
+
"type": {
|
|
24548
|
+
"text": "IndicatorTankAtmosphericValue"
|
|
24549
|
+
},
|
|
24550
|
+
"fieldName": "value"
|
|
24551
|
+
},
|
|
24552
|
+
{
|
|
24553
|
+
"name": "level",
|
|
24554
|
+
"type": {
|
|
24555
|
+
"text": "number"
|
|
24556
|
+
},
|
|
24557
|
+
"default": "0",
|
|
24558
|
+
"description": "Current level, 0-100 (%)",
|
|
24559
|
+
"fieldName": "level"
|
|
24560
|
+
},
|
|
24561
|
+
{
|
|
24562
|
+
"name": "data",
|
|
24563
|
+
"type": {
|
|
24564
|
+
"text": "number[]"
|
|
24565
|
+
},
|
|
24566
|
+
"default": "[]",
|
|
24567
|
+
"description": "History samples, 0-100 (%) each, oldest first",
|
|
24568
|
+
"fieldName": "data"
|
|
24569
|
+
},
|
|
24570
|
+
{
|
|
24571
|
+
"name": "hasIcon",
|
|
24572
|
+
"type": {
|
|
24573
|
+
"text": "boolean"
|
|
24574
|
+
},
|
|
24575
|
+
"default": "false",
|
|
24576
|
+
"fieldName": "hasIcon"
|
|
24577
|
+
}
|
|
24578
|
+
],
|
|
24579
|
+
"superclass": {
|
|
24580
|
+
"name": "LitElement",
|
|
24581
|
+
"package": "lit"
|
|
24582
|
+
},
|
|
24583
|
+
"tagName": "obc-indicator-tank-atmospheric",
|
|
24584
|
+
"customElement": true
|
|
24585
|
+
}
|
|
24586
|
+
],
|
|
24587
|
+
"exports": [
|
|
24588
|
+
{
|
|
24589
|
+
"kind": "js",
|
|
24590
|
+
"name": "ObcIndicatorTankAtmospheric",
|
|
24591
|
+
"declaration": {
|
|
24592
|
+
"name": "ObcIndicatorTankAtmospheric",
|
|
24593
|
+
"module": "src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.ts"
|
|
24594
|
+
}
|
|
24595
|
+
},
|
|
24596
|
+
{
|
|
24597
|
+
"kind": "custom-element-definition",
|
|
24598
|
+
"name": "obc-indicator-tank-atmospheric",
|
|
24599
|
+
"declaration": {
|
|
24600
|
+
"name": "ObcIndicatorTankAtmospheric",
|
|
24601
|
+
"module": "src/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.ts"
|
|
24602
|
+
}
|
|
24603
|
+
}
|
|
24604
|
+
]
|
|
24605
|
+
},
|
|
24044
24606
|
{
|
|
24045
24607
|
"kind": "javascript-module",
|
|
24046
24608
|
"path": "src/automation/line-cross/line-cross.ts",
|
|
@@ -76459,7 +77021,7 @@
|
|
|
76459
77021
|
"text": "boolean"
|
|
76460
77022
|
},
|
|
76461
77023
|
"default": "false",
|
|
76462
|
-
"description": "Show compass NSEW labels
|
|
77024
|
+
"description": "Show compass NSEW labels. The north arrow is always shown, independent of this flag.",
|
|
76463
77025
|
"attribute": "showLabels"
|
|
76464
77026
|
},
|
|
76465
77027
|
{
|
|
@@ -76865,7 +77427,7 @@
|
|
|
76865
77427
|
"text": "boolean"
|
|
76866
77428
|
},
|
|
76867
77429
|
"default": "false",
|
|
76868
|
-
"description": "Show compass NSEW labels
|
|
77430
|
+
"description": "Show compass NSEW labels. The north arrow is always shown, independent of this flag.",
|
|
76869
77431
|
"fieldName": "showLabels"
|
|
76870
77432
|
},
|
|
76871
77433
|
{
|
|
@@ -76959,7 +77521,7 @@
|
|
|
76959
77521
|
"declarations": [
|
|
76960
77522
|
{
|
|
76961
77523
|
"kind": "class",
|
|
76962
|
-
"description": "`<obc-current>` – Water-current instrument with direction chevrons and a\nforce-graphics band pattern.\n\nRenders the current's from-direction and strength on a circular watch\nface. Two layouts are available via `type`: `vessel` (default) shows a\nvessel silhouette on a double-ring track face with a chevron icon at the\nperiphery pointing with the flow; `direction` shows a single-ring face\nwith a large centered chevron icon. In both, a soft band pattern fills the\nface, rotated perpendicular to the flow.\n\n## Features\n\n- **Types**: `vessel` (track face + vessel + peripheral icon) or\n `direction` (single ring + large centered icon) via `type`.\n- **Strength buckets**: `currentSpeed` selects the chevron icon\n (`0`–`4` = number of chevrons); values are rounded and clamped.\n- **Color priority**: `priority=enhanced` switches the pattern and icon to\n the enhanced (blue) palette.\n- **Vessel image**: configurable silhouette rotating with\n `vesselHeadingDeg` (vessel type).\n\n## Usage Guidelines\n\nSet `currentSpeed` and `currentFromDirection` to the sensor values. Use\n`obc-wind` for the analogous wind instrument; use `obc-compass` when the\ncurrent indicator should overlay a full compass.\n\n## Example\n\n```html\n<obc-current\n currentSpeed=\"3\"\n currentFromDirection=\"330\"\n vesselHeadingDeg=\"15\"\n></obc-current>\n```",
|
|
77524
|
+
"description": "`<obc-current>` – Water-current instrument with direction chevrons and a\nforce-graphics band pattern.\n\nRenders the current's from-direction and strength on a circular watch\nface. Two layouts are available via `type`: `vessel` (default) shows a\nvessel silhouette on a double-ring track face with a chevron icon at the\nperiphery pointing with the flow; `direction` shows a single-ring face\nwith a large centered chevron icon. In both, a soft band pattern fills the\nface, rotated perpendicular to the flow.\n\n## Features\n\n- **Types**: `vessel` (track face + vessel + peripheral icon) or\n `direction` (single ring + large centered icon) via `type`.\n- **Strength buckets**: `currentSpeed` selects the chevron icon\n (`0`–`4` = number of chevrons); values are rounded and clamped.\n- **Color priority**: `priority=enhanced` switches the pattern and icon to\n the enhanced (blue) palette.\n- **Vessel image**: configurable silhouette rotating with\n `vesselHeadingDeg` (vessel type).\n- **Pattern toggle & wave tuning**: `hasPattern` switches the band pattern\n off; `waveLength`, `waveHeight` and `waveSpeed` tune the band spacing,\n intensity and drift motion.\n\n## Usage Guidelines\n\nSet `currentSpeed` and `currentFromDirection` to the sensor values. Use\n`obc-wind` for the analogous wind instrument; use `obc-compass` when the\ncurrent indicator should overlay a full compass.\n\n## Example\n\n```html\n<obc-current\n currentSpeed=\"3\"\n currentFromDirection=\"330\"\n vesselHeadingDeg=\"15\"\n></obc-current>\n```",
|
|
76963
77525
|
"name": "ObcCurrent",
|
|
76964
77526
|
"members": [
|
|
76965
77527
|
{
|
|
@@ -77000,6 +77562,45 @@
|
|
|
77000
77562
|
"description": "Color priority: `Priority.enhanced` uses the blue/enhanced palette (default: `Priority.regular`).",
|
|
77001
77563
|
"attribute": "priority"
|
|
77002
77564
|
},
|
|
77565
|
+
{
|
|
77566
|
+
"kind": "field",
|
|
77567
|
+
"name": "hasPattern",
|
|
77568
|
+
"type": {
|
|
77569
|
+
"text": "boolean"
|
|
77570
|
+
},
|
|
77571
|
+
"default": "true",
|
|
77572
|
+
"description": "Show the force-graphics band pattern behind the watch face."
|
|
77573
|
+
},
|
|
77574
|
+
{
|
|
77575
|
+
"kind": "field",
|
|
77576
|
+
"name": "waveLength",
|
|
77577
|
+
"type": {
|
|
77578
|
+
"text": "number"
|
|
77579
|
+
},
|
|
77580
|
+
"default": "1",
|
|
77581
|
+
"description": "Wavelength of the pattern bands as a multiplier on the design spacing\n(1 = design, 0.5 = twice as dense).",
|
|
77582
|
+
"attribute": "waveLength"
|
|
77583
|
+
},
|
|
77584
|
+
{
|
|
77585
|
+
"kind": "field",
|
|
77586
|
+
"name": "waveHeight",
|
|
77587
|
+
"type": {
|
|
77588
|
+
"text": "number"
|
|
77589
|
+
},
|
|
77590
|
+
"default": "1",
|
|
77591
|
+
"description": "Wave intensity: the peak opacity the pattern bands fade up to (0–1).",
|
|
77592
|
+
"attribute": "waveHeight"
|
|
77593
|
+
},
|
|
77594
|
+
{
|
|
77595
|
+
"kind": "field",
|
|
77596
|
+
"name": "waveSpeed",
|
|
77597
|
+
"type": {
|
|
77598
|
+
"text": "number"
|
|
77599
|
+
},
|
|
77600
|
+
"default": "0",
|
|
77601
|
+
"description": "Drift speed of the pattern in wavelengths per second, moving with the\nflow (negative drifts against it); 0 keeps the pattern static.",
|
|
77602
|
+
"attribute": "waveSpeed"
|
|
77603
|
+
},
|
|
77003
77604
|
{
|
|
77004
77605
|
"kind": "field",
|
|
77005
77606
|
"name": "vesselImage",
|
|
@@ -77086,6 +77687,33 @@
|
|
|
77086
77687
|
"description": "Color priority: `Priority.enhanced` uses the blue/enhanced palette (default: `Priority.regular`).",
|
|
77087
77688
|
"fieldName": "priority"
|
|
77088
77689
|
},
|
|
77690
|
+
{
|
|
77691
|
+
"name": "waveLength",
|
|
77692
|
+
"type": {
|
|
77693
|
+
"text": "number"
|
|
77694
|
+
},
|
|
77695
|
+
"default": "1",
|
|
77696
|
+
"description": "Wavelength of the pattern bands as a multiplier on the design spacing\n(1 = design, 0.5 = twice as dense).",
|
|
77697
|
+
"fieldName": "waveLength"
|
|
77698
|
+
},
|
|
77699
|
+
{
|
|
77700
|
+
"name": "waveHeight",
|
|
77701
|
+
"type": {
|
|
77702
|
+
"text": "number"
|
|
77703
|
+
},
|
|
77704
|
+
"default": "1",
|
|
77705
|
+
"description": "Wave intensity: the peak opacity the pattern bands fade up to (0–1).",
|
|
77706
|
+
"fieldName": "waveHeight"
|
|
77707
|
+
},
|
|
77708
|
+
{
|
|
77709
|
+
"name": "waveSpeed",
|
|
77710
|
+
"type": {
|
|
77711
|
+
"text": "number"
|
|
77712
|
+
},
|
|
77713
|
+
"default": "0",
|
|
77714
|
+
"description": "Drift speed of the pattern in wavelengths per second, moving with the\nflow (negative drifts against it); 0 keeps the pattern static.",
|
|
77715
|
+
"fieldName": "waveSpeed"
|
|
77716
|
+
},
|
|
77089
77717
|
{
|
|
77090
77718
|
"name": "vesselImage",
|
|
77091
77719
|
"type": {
|
|
@@ -87405,7 +88033,7 @@
|
|
|
87405
88033
|
"text": "SVGTemplateResult"
|
|
87406
88034
|
}
|
|
87407
88035
|
},
|
|
87408
|
-
"description": "Crosshair drawn on the overlay rather than through `obc-watch`'s own\n`crosshairEnabled`: the design has the arc bands covering the arms, but\n`obc-watch` renders its crosshair after the bands, i.e. on top of them.\nDrawing it here puts it under the watch layer, so the bands and the heave\ncolumn mask it naturally."
|
|
88036
|
+
"description": "Crosshair drawn on the overlay rather than through `obc-watch`'s own\n`crosshairEnabled`: the design has the arc bands covering the arms, but\n`obc-watch` renders its crosshair after the bands, i.e. on top of them.\nDrawing it here puts it under the watch layer, so the bands and the heave\ncolumn mask it naturally.\n\nIn `single-scale` nothing frames the segment above the vessel (the other\nthree arms end under the pitch band, roll band and heave column), so the\nvertical arm stops at the centre instead of continuing upward. In\n`dual-scale` the top roll band gives it a natural endpoint, so the full\narm is kept."
|
|
87409
88037
|
},
|
|
87410
88038
|
{
|
|
87411
88039
|
"kind": "method",
|
|
@@ -90099,7 +90727,7 @@
|
|
|
90099
90727
|
"declarations": [
|
|
90100
90728
|
{
|
|
90101
90729
|
"kind": "class",
|
|
90102
|
-
"description": "`<obc-rate-of-turn>` — Standalone rate-of-turn indicator rendered on a circular watch face.\n\nWraps `<obc-watch>` to display a spinning-dot or arc-bar ROT visualization\nwithout any additional instrument overlays. Useful for isolating the ROT\nindicator in layouts where heading/compass elements are handled separately.\n\n## Features\n\n- **Dot mode** (`rotType=\"dots\"`): Five evenly-spaced dots spin at the\n resolved rotations-per-minute (derived from\n `rateOfTurnDegreesPerMinute × rotDotAnimationFactor / 360`).\n- **Bar mode** (`rotType=\"bar\"`): A banana-shaped arc from `barStartAngle`\n to `barEndAngle` with clipped spinning dots inside.\n- **Track position**: Place the indicator on the outer scale ring\n (`rotPosition=\"scale\"`) or the inner circle\n (`rotPosition=\"innerCircle\"`).\n- **Track bar** (`hasTrackBar`): A bar in the ring band growing from the\n twelve o'clock position to the measured rate of turn, with a needle\n marker at its end and sector tickmarks (pairs with\n `watchCircleType=\"double\"` for the banded face).\n- **Center readout** (`hasReadout`): A centered readout showing the\n measured rate of turn (label `ROT`, unit `DEG/min` by default).\n- **Color priority**: Uses `priority` to select regular or enhanced color\n palette; `rotPortStarboard` colors the track bar and needle by turn\n direction.\n\n## Usage Guidelines\n\n- Set `rateOfTurnDegreesPerMinute` to the current sensor value in degrees\n per minute (the maritime/AIS convention). Sign controls direction\n (positive = starboard / clockwise).\n- Tune `rotDotAnimationFactor` to amplify the dot animation independently\n of the physical value (default `18` ≈ 1 rpm at 20°/min).\n- In bar mode, `barStartAngle` and `barEndAngle` define the static arc\n span (0° = 12 o'clock, clockwise).\n- Change `watchCircleType` to match the surrounding instrument ring style\n (e.g. `triple` for compass contexts).",
|
|
90730
|
+
"description": "`<obc-rate-of-turn>` — Standalone rate-of-turn indicator rendered on a circular watch face.\n\nWraps `<obc-watch>` to display a spinning-dot or arc-bar ROT visualization\nwithout any additional instrument overlays. Useful for isolating the ROT\nindicator in layouts where heading/compass elements are handled separately.\n\n## Features\n\n- **Dot mode** (`rotType=\"dots\"`): Five evenly-spaced dots spin at the\n resolved rotations-per-minute (derived from\n `rateOfTurnDegreesPerMinute × rotDotAnimationFactor / 360`).\n- **Bar mode** (`rotType=\"bar\"`): A banana-shaped arc from `barStartAngle`\n to `barEndAngle` with clipped spinning dots inside.\n- **Track position**: Place the indicator on the outer scale ring\n (`rotPosition=\"scale\"`) or the inner circle\n (`rotPosition=\"innerCircle\"`).\n- **Track bar** (`hasTrackBar`): A bar in the ring band growing from the\n twelve o'clock position to the measured rate of turn, with a needle\n marker at its end and sector tickmarks (pairs with\n `watchCircleType=\"double\"` for the banded face, or `\"triple\"` when the\n ROT dots sit on the inner circle).\n- **Center readout** (`hasReadout`): A centered readout showing the\n measured rate of turn (label `ROT`, unit `DEG/min` by default).\n- **Color priority**: Uses `priority` to select regular or enhanced color\n palette; `rotPortStarboard` colors the track bar and needle by turn\n direction.\n\n## Usage Guidelines\n\n- Set `rateOfTurnDegreesPerMinute` to the current sensor value in degrees\n per minute (the maritime/AIS convention). Sign controls direction\n (positive = starboard / clockwise).\n- Tune `rotDotAnimationFactor` to amplify the dot animation independently\n of the physical value (default `18` ≈ 1 rpm at 20°/min).\n- In bar mode, `barStartAngle` and `barEndAngle` define the static arc\n span (0° = 12 o'clock, clockwise).\n- Change `watchCircleType` to match the surrounding instrument ring style\n (e.g. `triple` for compass contexts).",
|
|
90103
90731
|
"name": "ObcRateOfTurn",
|
|
90104
90732
|
"members": [
|
|
90105
90733
|
{
|
|
@@ -90206,7 +90834,7 @@
|
|
|
90206
90834
|
"text": "boolean"
|
|
90207
90835
|
},
|
|
90208
90836
|
"default": "false",
|
|
90209
|
-
"description": "When `true`, shows a bar in the ring band from the twelve o'clock\nposition to the measured rate of turn, with a needle marker at its end\nand sector tickmarks. Pairs with `watchCircleType=\"double\"` for the\nbanded face. Driven by `rateOfTurnDegreesPerMinute
|
|
90837
|
+
"description": "When `true`, shows a bar in the ring band from the twelve o'clock\nposition to the measured rate of turn, with a needle marker at its end\nand sector tickmarks. Pairs with `watchCircleType=\"double\"` for the\nbanded face — or `\"triple\"` when `rotPosition` is `innerCircle`, so the\ndots get their inner track too. Driven by `rateOfTurnDegreesPerMinute`\nonly.",
|
|
90210
90838
|
"attribute": "hasTrackBar"
|
|
90211
90839
|
},
|
|
90212
90840
|
{
|
|
@@ -90399,7 +91027,7 @@
|
|
|
90399
91027
|
"text": "boolean"
|
|
90400
91028
|
},
|
|
90401
91029
|
"default": "false",
|
|
90402
|
-
"description": "When `true`, shows a bar in the ring band from the twelve o'clock\nposition to the measured rate of turn, with a needle marker at its end\nand sector tickmarks. Pairs with `watchCircleType=\"double\"` for the\nbanded face. Driven by `rateOfTurnDegreesPerMinute
|
|
91030
|
+
"description": "When `true`, shows a bar in the ring band from the twelve o'clock\nposition to the measured rate of turn, with a needle marker at its end\nand sector tickmarks. Pairs with `watchCircleType=\"double\"` for the\nbanded face — or `\"triple\"` when `rotPosition` is `innerCircle`, so the\ndots get their inner track too. Driven by `rateOfTurnDegreesPerMinute`\nonly.",
|
|
90403
91031
|
"fieldName": "hasTrackBar"
|
|
90404
91032
|
},
|
|
90405
91033
|
{
|
|
@@ -98099,6 +98727,12 @@
|
|
|
98099
98727
|
"name": "renderLoadingArc",
|
|
98100
98728
|
"privacy": "private"
|
|
98101
98729
|
},
|
|
98730
|
+
{
|
|
98731
|
+
"kind": "method",
|
|
98732
|
+
"name": "renderInnerRingLine",
|
|
98733
|
+
"privacy": "private",
|
|
98734
|
+
"description": "Thin outline on the track band's inner edge, always shown per the\ndesign's track face. Drawn on the overlay because the watch paints its\nband bars over the ring circles, which would swallow a watch-side line."
|
|
98735
|
+
},
|
|
98102
98736
|
{
|
|
98103
98737
|
"kind": "method",
|
|
98104
98738
|
"name": "renderPropeller",
|