@oicl/openbridge-webcomponents 0.0.15-dev-20240916083108 → 0.0.15-dev-20240923184809

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/.storybook/main.ts +8 -0
  2. package/.storybook/preview.ts +2 -0
  3. package/__snapshots__/building-blocks-watch--advice.png +0 -0
  4. package/__snapshots__/building-blocks-watch-flat--primary.png +0 -0
  5. package/__snapshots__/navigation-instruments-azimuth-thruster--in-command-at-setpoint-disable-auto-setpoint.png +0 -0
  6. package/__snapshots__/navigation-instruments-azimuth-thruster--in-command-at-setpoint.png +0 -0
  7. package/__snapshots__/navigation-instruments-azimuth-thruster--in-command.png +0 -0
  8. package/__snapshots__/navigation-instruments-azimuth-thruster--pod.png +0 -0
  9. package/__snapshots__/navigation-instruments-azimuth-thruster--single-direction-with-propeller.png +0 -0
  10. package/__snapshots__/navigation-instruments-azimuth-thruster--single-direction.png +0 -0
  11. package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--large.png +0 -0
  12. package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--medium.png +0 -0
  13. package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--no-command.png +0 -0
  14. package/__snapshots__/navigation-instruments-compass--primary.png +0 -0
  15. package/__snapshots__/navigation-instruments-compass-flat--primary.png +0 -0
  16. package/__snapshots__/navigation-instruments-compass-flat--with-fov-indicator.png +0 -0
  17. package/__snapshots__/navigation-instruments-main-engine--active.png +0 -0
  18. package/__snapshots__/navigation-instruments-main-engine--in-command.png +0 -0
  19. package/__snapshots__/navigation-instruments-main-engine--off.png +0 -0
  20. package/__snapshots__/navigation-instruments-thruster--tunnel.png +0 -0
  21. package/custom-elements.json +2184 -660
  22. package/dist/navigation-instruments/azimuth-thruster/azimuth-thruster.d.ts.map +1 -1
  23. package/dist/navigation-instruments/azimuth-thruster/azimuth-thruster.js +2 -1
  24. package/dist/navigation-instruments/azimuth-thruster/azimuth-thruster.js.map +1 -1
  25. package/dist/navigation-instruments/compass/arrow.d.ts +7 -0
  26. package/dist/navigation-instruments/compass/arrow.d.ts.map +1 -0
  27. package/dist/navigation-instruments/compass/arrow.js +59 -0
  28. package/dist/navigation-instruments/compass/arrow.js.map +1 -0
  29. package/dist/navigation-instruments/compass/compass.d.ts +23 -0
  30. package/dist/navigation-instruments/compass/compass.d.ts.map +1 -0
  31. package/dist/navigation-instruments/compass/compass.js +139 -0
  32. package/dist/navigation-instruments/compass/compass.js.map +1 -0
  33. package/dist/navigation-instruments/compass/radial-tickmark.d.ts +4 -0
  34. package/dist/navigation-instruments/compass/radial-tickmark.d.ts.map +1 -0
  35. package/dist/navigation-instruments/compass/radial-tickmark.js +69 -0
  36. package/dist/navigation-instruments/compass/radial-tickmark.js.map +1 -0
  37. package/dist/navigation-instruments/compass-flat/compass-flat.css.js +29 -0
  38. package/dist/navigation-instruments/compass-flat/compass-flat.css.js.map +1 -0
  39. package/dist/navigation-instruments/compass-flat/compass-flat.d.ts +45 -0
  40. package/dist/navigation-instruments/compass-flat/compass-flat.d.ts.map +1 -0
  41. package/dist/navigation-instruments/compass-flat/compass-flat.js +223 -0
  42. package/dist/navigation-instruments/compass-flat/compass-flat.js.map +1 -0
  43. package/dist/navigation-instruments/main-engine/main-engine.css.js +22 -0
  44. package/dist/navigation-instruments/main-engine/main-engine.css.js.map +1 -0
  45. package/dist/navigation-instruments/main-engine/main-engine.d.ts +29 -0
  46. package/dist/navigation-instruments/main-engine/main-engine.d.ts.map +1 -0
  47. package/dist/navigation-instruments/main-engine/main-engine.js +196 -0
  48. package/dist/navigation-instruments/main-engine/main-engine.js.map +1 -0
  49. package/dist/navigation-instruments/thruster/advice.d.ts.map +1 -1
  50. package/dist/navigation-instruments/thruster/advice.js +9 -5
  51. package/dist/navigation-instruments/thruster/advice.js.map +1 -1
  52. package/dist/navigation-instruments/thruster/thruster.d.ts +54 -1
  53. package/dist/navigation-instruments/thruster/thruster.d.ts.map +1 -1
  54. package/dist/navigation-instruments/thruster/thruster.js +163 -99
  55. package/dist/navigation-instruments/thruster/thruster.js.map +1 -1
  56. package/dist/navigation-instruments/watch/advice.js +1 -1
  57. package/dist/navigation-instruments/watch/advice.js.map +1 -1
  58. package/dist/navigation-instruments/watch/label.d.ts +3 -0
  59. package/dist/navigation-instruments/watch/label.d.ts.map +1 -0
  60. package/dist/navigation-instruments/watch/label.js +68 -0
  61. package/dist/navigation-instruments/watch/label.js.map +1 -0
  62. package/dist/navigation-instruments/watch/watch.css.js +15 -14
  63. package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
  64. package/dist/navigation-instruments/watch/watch.d.ts +3 -0
  65. package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
  66. package/dist/navigation-instruments/watch/watch.js +34 -1
  67. package/dist/navigation-instruments/watch/watch.js.map +1 -1
  68. package/dist/navigation-instruments/watch-flat/tickmark-flat.d.ts +20 -0
  69. package/dist/navigation-instruments/watch-flat/tickmark-flat.d.ts.map +1 -0
  70. package/dist/navigation-instruments/watch-flat/tickmark-flat.js +53 -0
  71. package/dist/navigation-instruments/watch-flat/tickmark-flat.js.map +1 -0
  72. package/dist/navigation-instruments/watch-flat/watch-flat.css.js +32 -0
  73. package/dist/navigation-instruments/watch-flat/watch-flat.css.js.map +1 -0
  74. package/dist/navigation-instruments/watch-flat/watch-flat.d.ts +29 -0
  75. package/dist/navigation-instruments/watch-flat/watch-flat.d.ts.map +1 -0
  76. package/dist/navigation-instruments/watch-flat/watch-flat.js +184 -0
  77. package/dist/navigation-instruments/watch-flat/watch-flat.js.map +1 -0
  78. package/dist/svghelpers/rectangular.d.ts +1 -0
  79. package/dist/svghelpers/rectangular.d.ts.map +1 -1
  80. package/dist/svghelpers/rectangular.js +3 -2
  81. package/dist/svghelpers/rectangular.js.map +1 -1
  82. package/package.json +16 -11
  83. package/src/navigation-instruments/azimuth-thruster/azimuth-thruster.ts +1 -0
  84. package/src/navigation-instruments/compass/arrow.ts +61 -0
  85. package/src/navigation-instruments/compass/compass.stories.ts +37 -0
  86. package/src/navigation-instruments/compass/compass.ts +132 -0
  87. package/src/navigation-instruments/compass/radial-tickmark.ts +77 -0
  88. package/src/navigation-instruments/compass-flat/compass-flat.css +23 -0
  89. package/src/navigation-instruments/compass-flat/compass-flat.stories.ts +35 -0
  90. package/src/navigation-instruments/compass-flat/compass-flat.ts +221 -0
  91. package/src/navigation-instruments/main-engine/main-engine.css +17 -0
  92. package/src/navigation-instruments/main-engine/main-engine.stories.ts +54 -0
  93. package/src/navigation-instruments/main-engine/main-engine.ts +160 -0
  94. package/src/navigation-instruments/thruster/advice.ts +9 -5
  95. package/src/navigation-instruments/thruster/thruster.stories.ts +1 -0
  96. package/src/navigation-instruments/thruster/thruster.ts +205 -113
  97. package/src/navigation-instruments/watch/advice.ts +1 -1
  98. package/src/navigation-instruments/watch/label.ts +69 -0
  99. package/src/navigation-instruments/watch/watch.css +7 -7
  100. package/src/navigation-instruments/watch/watch.ts +30 -1
  101. package/src/navigation-instruments/watch-flat/tickmark-flat.ts +62 -0
  102. package/src/navigation-instruments/watch-flat/watch-flat.css +19 -0
  103. package/src/navigation-instruments/watch-flat/watch-flat.stories.ts +17 -0
  104. package/src/navigation-instruments/watch-flat/watch-flat.ts +148 -0
  105. package/src/palettes/variables.css +1343 -1343
  106. package/src/svghelpers/rectangular.ts +6 -3
@@ -38322,7 +38322,7 @@
38322
38322
  {
38323
38323
  "name": "data",
38324
38324
  "type": {
38325
- "text": "{\n width: number;\n height: number;\n strokeWidth: number;\n strokeColor: string;\n fillColor: string;\n borderRadius: number;\n strokePosition: 'inside' | 'outside';\n }"
38325
+ "text": "{\n width: number;\n height: number;\n strokeWidth: number;\n strokeColor: string;\n fillColor: string;\n borderRadius: number;\n strokePosition: 'inside' | 'outside';\n y?: number;\n }"
38326
38326
  }
38327
38327
  }
38328
38328
  ]
@@ -44355,420 +44355,2016 @@
44355
44355
  },
44356
44356
  {
44357
44357
  "kind": "javascript-module",
44358
- "path": "src/navigation-instruments/instrument-field/instrument-field.ts",
44358
+ "path": "src/navigation-instruments/compass/arrow.ts",
44359
44359
  "declarations": [
44360
44360
  {
44361
- "kind": "class",
44362
- "description": "",
44363
- "name": "ObcInstrumentField",
44364
- "members": [
44361
+ "kind": "function",
44362
+ "name": "arrow",
44363
+ "return": {
44364
+ "type": {
44365
+ "text": "SVGTemplateResult | SVGTemplateResult[]"
44366
+ }
44367
+ },
44368
+ "parameters": [
44365
44369
  {
44366
- "kind": "field",
44367
- "name": "size",
44370
+ "name": "style",
44368
44371
  "type": {
44369
- "text": "InstrumentFieldSizeType"
44370
- },
44371
- "attribute": "size"
44372
+ "text": "ArrowStyle"
44373
+ }
44372
44374
  },
44373
44375
  {
44374
- "kind": "field",
44375
- "name": "setpoint",
44376
+ "name": "angle",
44376
44377
  "type": {
44377
44378
  "text": "number"
44378
- },
44379
- "default": "0",
44380
- "attribute": "setpoint"
44381
- },
44382
- {
44383
- "kind": "field",
44384
- "name": "hasSetpoint",
44385
- "type": {
44386
- "text": "boolean"
44387
- },
44388
- "default": "false",
44389
- "attribute": "hasSetpoint"
44390
- },
44379
+ }
44380
+ }
44381
+ ]
44382
+ }
44383
+ ],
44384
+ "exports": [
44385
+ {
44386
+ "kind": "js",
44387
+ "name": "arrow",
44388
+ "declaration": {
44389
+ "name": "arrow",
44390
+ "module": "src/navigation-instruments/compass/arrow.ts"
44391
+ }
44392
+ }
44393
+ ]
44394
+ },
44395
+ {
44396
+ "kind": "javascript-module",
44397
+ "path": "src/navigation-instruments/compass/compass.ts",
44398
+ "declarations": [
44399
+ {
44400
+ "kind": "class",
44401
+ "description": "",
44402
+ "name": "ObcCompass",
44403
+ "members": [
44391
44404
  {
44392
44405
  "kind": "field",
44393
- "name": "value",
44406
+ "name": "heading",
44394
44407
  "type": {
44395
44408
  "text": "number"
44396
44409
  },
44397
44410
  "default": "0",
44398
- "attribute": "value"
44399
- },
44400
- {
44401
- "kind": "field",
44402
- "name": "degree",
44403
- "type": {
44404
- "text": "boolean"
44405
- },
44406
- "default": "false",
44407
- "attribute": "degree"
44408
- },
44409
- {
44410
- "kind": "field",
44411
- "name": "maxDigits",
44412
- "type": {
44413
- "text": "number"
44414
- },
44415
- "default": "3",
44416
- "attribute": "maxDigits"
44411
+ "attribute": "heading"
44417
44412
  },
44418
44413
  {
44419
44414
  "kind": "field",
44420
- "name": "fractionDigits",
44415
+ "name": "courseOverGround",
44421
44416
  "type": {
44422
44417
  "text": "number"
44423
44418
  },
44424
44419
  "default": "0",
44425
- "attribute": "fractionDigits"
44426
- },
44427
- {
44428
- "kind": "field",
44429
- "name": "tag",
44430
- "type": {
44431
- "text": "string"
44432
- },
44433
- "default": "''",
44434
- "attribute": "tag"
44420
+ "attribute": "courseOverGround"
44435
44421
  },
44436
44422
  {
44437
44423
  "kind": "field",
44438
- "name": "unit",
44424
+ "name": "padding",
44439
44425
  "type": {
44440
- "text": "string"
44426
+ "text": "number"
44441
44427
  },
44442
- "default": "''",
44443
- "attribute": "unit"
44428
+ "default": "48",
44429
+ "attribute": "padding"
44444
44430
  },
44445
44431
  {
44446
44432
  "kind": "field",
44447
- "name": "source",
44433
+ "name": "headingAdvices",
44448
44434
  "type": {
44449
- "text": "string"
44435
+ "text": "AngleAdvice[]"
44450
44436
  },
44451
- "default": "''",
44452
- "attribute": "source"
44437
+ "default": "[]"
44453
44438
  },
44454
44439
  {
44455
44440
  "kind": "field",
44456
- "name": "hasSource",
44441
+ "name": "containerWidth",
44457
44442
  "type": {
44458
- "text": "boolean"
44443
+ "text": "number"
44459
44444
  },
44460
- "default": "false",
44461
- "attribute": "hasSource"
44445
+ "default": "0",
44446
+ "attribute": "containerWidth"
44462
44447
  },
44463
44448
  {
44464
44449
  "kind": "field",
44465
- "name": "setpointValueBlueNumbers",
44450
+ "name": "resizeObserver",
44466
44451
  "type": {
44467
- "text": "string"
44452
+ "text": "ResizeObserver"
44468
44453
  },
44469
- "readonly": true
44454
+ "privacy": "private",
44455
+ "default": "new ResizeObserver((entries) => {\n for (const entry of entries) {\n this.containerWidth = entry.contentRect.width;\n this.adjustPadding();\n }\n })"
44470
44456
  },
44471
44457
  {
44472
- "kind": "field",
44473
- "name": "valueBlueNumbers",
44474
- "type": {
44475
- "text": "string"
44476
- },
44477
- "readonly": true
44458
+ "kind": "method",
44459
+ "name": "adjustPadding",
44460
+ "privacy": "private"
44478
44461
  },
44479
44462
  {
44480
44463
  "kind": "field",
44481
- "name": "hintZeros",
44464
+ "name": "angleAdviceRaw",
44482
44465
  "type": {
44483
- "text": "string"
44466
+ "text": "AngleAdviceRaw[]"
44484
44467
  },
44468
+ "privacy": "private",
44485
44469
  "readonly": true
44486
44470
  }
44487
44471
  ],
44488
44472
  "attributes": [
44489
44473
  {
44490
- "name": "size",
44491
- "type": {
44492
- "text": "InstrumentFieldSizeType"
44493
- },
44494
- "fieldName": "size"
44495
- },
44496
- {
44497
- "name": "setpoint",
44474
+ "name": "heading",
44498
44475
  "type": {
44499
44476
  "text": "number"
44500
44477
  },
44501
44478
  "default": "0",
44502
- "fieldName": "setpoint"
44503
- },
44504
- {
44505
- "name": "hasSetpoint",
44506
- "type": {
44507
- "text": "boolean"
44508
- },
44509
- "default": "false",
44510
- "fieldName": "hasSetpoint"
44479
+ "fieldName": "heading"
44511
44480
  },
44512
44481
  {
44513
- "name": "value",
44482
+ "name": "courseOverGround",
44514
44483
  "type": {
44515
44484
  "text": "number"
44516
44485
  },
44517
44486
  "default": "0",
44518
- "fieldName": "value"
44519
- },
44520
- {
44521
- "name": "degree",
44522
- "type": {
44523
- "text": "boolean"
44524
- },
44525
- "default": "false",
44526
- "fieldName": "degree"
44487
+ "fieldName": "courseOverGround"
44527
44488
  },
44528
44489
  {
44529
- "name": "maxDigits",
44490
+ "name": "padding",
44530
44491
  "type": {
44531
44492
  "text": "number"
44532
44493
  },
44533
- "default": "3",
44534
- "fieldName": "maxDigits"
44494
+ "default": "48",
44495
+ "fieldName": "padding"
44535
44496
  },
44536
44497
  {
44537
- "name": "fractionDigits",
44498
+ "name": "containerWidth",
44538
44499
  "type": {
44539
44500
  "text": "number"
44540
44501
  },
44541
44502
  "default": "0",
44542
- "fieldName": "fractionDigits"
44543
- },
44544
- {
44545
- "name": "tag",
44546
- "type": {
44547
- "text": "string"
44548
- },
44549
- "default": "''",
44550
- "fieldName": "tag"
44551
- },
44552
- {
44553
- "name": "unit",
44554
- "type": {
44555
- "text": "string"
44556
- },
44557
- "default": "''",
44558
- "fieldName": "unit"
44559
- },
44560
- {
44561
- "name": "source",
44562
- "type": {
44563
- "text": "string"
44564
- },
44565
- "default": "''",
44566
- "fieldName": "source"
44567
- },
44568
- {
44569
- "name": "hasSource",
44570
- "type": {
44571
- "text": "boolean"
44572
- },
44573
- "default": "false",
44574
- "fieldName": "hasSource"
44503
+ "fieldName": "containerWidth"
44575
44504
  }
44576
44505
  ],
44577
44506
  "superclass": {
44578
44507
  "name": "LitElement",
44579
44508
  "package": "lit"
44580
44509
  },
44581
- "tagName": "obc-instrument-field",
44510
+ "tagName": "obc-compass",
44582
44511
  "customElement": true
44583
44512
  }
44584
44513
  ],
44585
44514
  "exports": [
44586
44515
  {
44587
44516
  "kind": "js",
44588
- "name": "ObcInstrumentField",
44517
+ "name": "ObcCompass",
44589
44518
  "declaration": {
44590
- "name": "ObcInstrumentField",
44591
- "module": "src/navigation-instruments/instrument-field/instrument-field.ts"
44519
+ "name": "ObcCompass",
44520
+ "module": "src/navigation-instruments/compass/compass.ts"
44592
44521
  }
44593
44522
  },
44594
44523
  {
44595
44524
  "kind": "custom-element-definition",
44596
- "name": "obc-instrument-field",
44525
+ "name": "obc-compass",
44597
44526
  "declaration": {
44598
- "name": "ObcInstrumentField",
44599
- "module": "src/navigation-instruments/instrument-field/instrument-field.ts"
44527
+ "name": "ObcCompass",
44528
+ "module": "src/navigation-instruments/compass/compass.ts"
44600
44529
  }
44601
44530
  }
44602
44531
  ]
44603
44532
  },
44604
44533
  {
44605
44534
  "kind": "javascript-module",
44606
- "path": "src/navigation-instruments/rudder/rudder.ts",
44535
+ "path": "src/navigation-instruments/compass/radial-tickmark.ts",
44607
44536
  "declarations": [
44608
44537
  {
44609
- "kind": "class",
44610
- "description": "",
44611
- "name": "ObcRudder",
44612
- "members": [
44538
+ "kind": "function",
44539
+ "name": "radialTickmarks",
44540
+ "return": {
44541
+ "type": {
44542
+ "text": "SVGTemplateResult[]"
44543
+ }
44544
+ },
44545
+ "parameters": [
44613
44546
  {
44614
- "kind": "field",
44615
- "name": "angle",
44547
+ "name": "minAngle",
44616
44548
  "type": {
44617
44549
  "text": "number"
44618
- },
44619
- "default": "0",
44620
- "attribute": "angle"
44550
+ }
44621
44551
  },
44622
44552
  {
44623
- "kind": "field",
44624
- "name": "setpoint",
44553
+ "name": "maxAngle",
44625
44554
  "type": {
44626
- "text": "number | undefined"
44627
- },
44628
- "attribute": "setpoint"
44555
+ "text": "number"
44556
+ }
44629
44557
  },
44630
44558
  {
44631
- "kind": "field",
44632
- "name": "atSetpoint",
44559
+ "name": "type",
44633
44560
  "type": {
44634
- "text": "boolean"
44635
- },
44636
- "default": "false",
44637
- "attribute": "atSetpoint"
44638
- },
44561
+ "text": "TickmarkType | undefined"
44562
+ }
44563
+ }
44564
+ ]
44565
+ }
44566
+ ],
44567
+ "exports": [
44568
+ {
44569
+ "kind": "js",
44570
+ "name": "radialTickmarks",
44571
+ "declaration": {
44572
+ "name": "radialTickmarks",
44573
+ "module": "src/navigation-instruments/compass/radial-tickmark.ts"
44574
+ }
44575
+ }
44576
+ ]
44577
+ },
44578
+ {
44579
+ "kind": "javascript-module",
44580
+ "path": "src/navigation-instruments/compass-flat/compass-flat.ts",
44581
+ "declarations": [
44582
+ {
44583
+ "kind": "class",
44584
+ "description": "",
44585
+ "name": "ObcCompassFlat",
44586
+ "members": [
44639
44587
  {
44640
44588
  "kind": "field",
44641
- "name": "touching",
44589
+ "name": "noPadding",
44642
44590
  "type": {
44643
44591
  "text": "boolean"
44644
44592
  },
44645
- "default": "false",
44646
- "attribute": "touching"
44593
+ "default": "true",
44594
+ "attribute": "noPadding"
44647
44595
  },
44648
44596
  {
44649
44597
  "kind": "field",
44650
- "name": "disableAutoAtSetpoint",
44598
+ "name": "FOVIndicator",
44651
44599
  "type": {
44652
44600
  "text": "boolean"
44653
44601
  },
44654
44602
  "default": "false",
44655
- "attribute": "disableAutoAtSetpoint"
44603
+ "attribute": "FOVIndicator"
44656
44604
  },
44657
44605
  {
44658
44606
  "kind": "field",
44659
- "name": "autoAtSetpointDeadband",
44607
+ "name": "padding",
44660
44608
  "type": {
44661
44609
  "text": "number"
44662
44610
  },
44663
- "default": "2",
44664
- "attribute": "autoAtSetpointDeadband"
44611
+ "default": "16",
44612
+ "attribute": "padding"
44665
44613
  },
44666
44614
  {
44667
44615
  "kind": "field",
44668
- "name": "maxAngle",
44616
+ "name": "heading",
44669
44617
  "type": {
44670
44618
  "text": "number"
44671
44619
  },
44672
- "default": "90",
44673
- "attribute": "maxAngle"
44620
+ "default": "0",
44621
+ "attribute": "heading"
44622
+ },
44623
+ {
44624
+ "kind": "field",
44625
+ "name": "courseOverGround",
44626
+ "type": {
44627
+ "text": "number"
44628
+ },
44629
+ "default": "0",
44630
+ "attribute": "courseOverGround"
44631
+ },
44632
+ {
44633
+ "kind": "field",
44634
+ "name": "tickInterval",
44635
+ "type": {
44636
+ "text": "number"
44637
+ },
44638
+ "default": "5",
44639
+ "attribute": "tickInterval"
44640
+ },
44641
+ {
44642
+ "kind": "field",
44643
+ "name": "FOV",
44644
+ "type": {
44645
+ "text": "number"
44646
+ },
44647
+ "default": "45",
44648
+ "attribute": "FOV"
44649
+ },
44650
+ {
44651
+ "kind": "field",
44652
+ "name": "minFOV",
44653
+ "type": {
44654
+ "text": "number"
44655
+ },
44656
+ "default": "45",
44657
+ "attribute": "minFOV"
44658
+ },
44659
+ {
44660
+ "kind": "field",
44661
+ "name": "maxFOV",
44662
+ "type": {
44663
+ "text": "number"
44664
+ },
44665
+ "default": "180",
44666
+ "attribute": "maxFOV"
44667
+ },
44668
+ {
44669
+ "kind": "field",
44670
+ "name": "labels",
44671
+ "type": {
44672
+ "text": "Label[]"
44673
+ },
44674
+ "default": "[]"
44675
+ },
44676
+ {
44677
+ "kind": "field",
44678
+ "name": "containerWidth",
44679
+ "type": {
44680
+ "text": "number"
44681
+ },
44682
+ "default": "0",
44683
+ "attribute": "containerWidth"
44684
+ },
44685
+ {
44686
+ "kind": "field",
44687
+ "name": "resizeObserver",
44688
+ "type": {
44689
+ "text": "ResizeObserver"
44690
+ },
44691
+ "privacy": "private",
44692
+ "default": "new ResizeObserver((entries) => {\n for (const entry of entries) {\n this.containerWidth = entry.contentRect.width;\n this.updateLabels();\n }\n })"
44674
44693
  },
44675
44694
  {
44676
44695
  "kind": "method",
44677
- "name": "atSetpointCalc",
44696
+ "name": "updateLabels",
44697
+ "privacy": "private"
44698
+ },
44699
+ {
44700
+ "kind": "method",
44701
+ "name": "generateIntervalTickmarks",
44702
+ "privacy": "private",
44678
44703
  "return": {
44679
44704
  "type": {
44680
- "text": "boolean"
44705
+ "text": "Tickmark[]"
44706
+ }
44707
+ },
44708
+ "parameters": [
44709
+ {
44710
+ "name": "scale",
44711
+ "type": {
44712
+ "text": "number"
44713
+ }
44714
+ }
44715
+ ]
44716
+ },
44717
+ {
44718
+ "kind": "method",
44719
+ "name": "generateCardinalTickmarks",
44720
+ "privacy": "private",
44721
+ "return": {
44722
+ "type": {
44723
+ "text": "Tickmark[]"
44724
+ }
44725
+ },
44726
+ "parameters": [
44727
+ {
44728
+ "name": "scale",
44729
+ "type": {
44730
+ "text": "number"
44731
+ }
44732
+ }
44733
+ ]
44734
+ },
44735
+ {
44736
+ "kind": "method",
44737
+ "name": "generateTickmarks",
44738
+ "privacy": "private",
44739
+ "return": {
44740
+ "type": {
44741
+ "text": "Tickmark[]"
44742
+ }
44743
+ },
44744
+ "parameters": [
44745
+ {
44746
+ "name": "scale",
44747
+ "type": {
44748
+ "text": "number"
44749
+ }
44750
+ }
44751
+ ]
44752
+ },
44753
+ {
44754
+ "kind": "method",
44755
+ "name": "renderFOVIndicator",
44756
+ "privacy": "private",
44757
+ "return": {
44758
+ "type": {
44759
+ "text": "SVGTemplateResult[]"
44681
44760
  }
44682
44761
  }
44762
+ },
44763
+ {
44764
+ "kind": "field",
44765
+ "name": "HDGSvg",
44766
+ "type": {
44767
+ "text": "SVGTemplateResult"
44768
+ },
44769
+ "privacy": "private",
44770
+ "readonly": true
44771
+ },
44772
+ {
44773
+ "kind": "method",
44774
+ "name": "COGSvg",
44775
+ "privacy": "private",
44776
+ "return": {
44777
+ "type": {
44778
+ "text": "SVGTemplateResult"
44779
+ }
44780
+ },
44781
+ "parameters": [
44782
+ {
44783
+ "name": "translation",
44784
+ "type": {
44785
+ "text": "number"
44786
+ }
44787
+ }
44788
+ ]
44683
44789
  }
44684
44790
  ],
44685
44791
  "attributes": [
44686
44792
  {
44687
- "name": "angle",
44793
+ "name": "noPadding",
44794
+ "type": {
44795
+ "text": "boolean"
44796
+ },
44797
+ "default": "true",
44798
+ "fieldName": "noPadding"
44799
+ },
44800
+ {
44801
+ "name": "FOVIndicator",
44802
+ "type": {
44803
+ "text": "boolean"
44804
+ },
44805
+ "default": "false",
44806
+ "fieldName": "FOVIndicator"
44807
+ },
44808
+ {
44809
+ "name": "padding",
44810
+ "type": {
44811
+ "text": "number"
44812
+ },
44813
+ "default": "16",
44814
+ "fieldName": "padding"
44815
+ },
44816
+ {
44817
+ "name": "heading",
44818
+ "type": {
44819
+ "text": "number"
44820
+ },
44821
+ "default": "0",
44822
+ "fieldName": "heading"
44823
+ },
44824
+ {
44825
+ "name": "courseOverGround",
44826
+ "type": {
44827
+ "text": "number"
44828
+ },
44829
+ "default": "0",
44830
+ "fieldName": "courseOverGround"
44831
+ },
44832
+ {
44833
+ "name": "tickInterval",
44834
+ "type": {
44835
+ "text": "number"
44836
+ },
44837
+ "default": "5",
44838
+ "fieldName": "tickInterval"
44839
+ },
44840
+ {
44841
+ "name": "FOV",
44842
+ "type": {
44843
+ "text": "number"
44844
+ },
44845
+ "default": "45",
44846
+ "fieldName": "FOV"
44847
+ },
44848
+ {
44849
+ "name": "minFOV",
44850
+ "type": {
44851
+ "text": "number"
44852
+ },
44853
+ "default": "45",
44854
+ "fieldName": "minFOV"
44855
+ },
44856
+ {
44857
+ "name": "maxFOV",
44858
+ "type": {
44859
+ "text": "number"
44860
+ },
44861
+ "default": "180",
44862
+ "fieldName": "maxFOV"
44863
+ },
44864
+ {
44865
+ "name": "containerWidth",
44866
+ "type": {
44867
+ "text": "number"
44868
+ },
44869
+ "default": "0",
44870
+ "fieldName": "containerWidth"
44871
+ }
44872
+ ],
44873
+ "superclass": {
44874
+ "name": "LitElement",
44875
+ "package": "lit"
44876
+ },
44877
+ "tagName": "obc-compass-flat",
44878
+ "customElement": true
44879
+ }
44880
+ ],
44881
+ "exports": [
44882
+ {
44883
+ "kind": "js",
44884
+ "name": "ObcCompassFlat",
44885
+ "declaration": {
44886
+ "name": "ObcCompassFlat",
44887
+ "module": "src/navigation-instruments/compass-flat/compass-flat.ts"
44888
+ }
44889
+ },
44890
+ {
44891
+ "kind": "custom-element-definition",
44892
+ "name": "obc-compass-flat",
44893
+ "declaration": {
44894
+ "name": "ObcCompassFlat",
44895
+ "module": "src/navigation-instruments/compass-flat/compass-flat.ts"
44896
+ }
44897
+ }
44898
+ ]
44899
+ },
44900
+ {
44901
+ "kind": "javascript-module",
44902
+ "path": "src/navigation-instruments/instrument-field/instrument-field.ts",
44903
+ "declarations": [
44904
+ {
44905
+ "kind": "class",
44906
+ "description": "",
44907
+ "name": "ObcInstrumentField",
44908
+ "members": [
44909
+ {
44910
+ "kind": "field",
44911
+ "name": "size",
44912
+ "type": {
44913
+ "text": "InstrumentFieldSizeType"
44914
+ },
44915
+ "attribute": "size"
44916
+ },
44917
+ {
44918
+ "kind": "field",
44919
+ "name": "setpoint",
44920
+ "type": {
44921
+ "text": "number"
44922
+ },
44923
+ "default": "0",
44924
+ "attribute": "setpoint"
44925
+ },
44926
+ {
44927
+ "kind": "field",
44928
+ "name": "hasSetpoint",
44929
+ "type": {
44930
+ "text": "boolean"
44931
+ },
44932
+ "default": "false",
44933
+ "attribute": "hasSetpoint"
44934
+ },
44935
+ {
44936
+ "kind": "field",
44937
+ "name": "value",
44938
+ "type": {
44939
+ "text": "number"
44940
+ },
44941
+ "default": "0",
44942
+ "attribute": "value"
44943
+ },
44944
+ {
44945
+ "kind": "field",
44946
+ "name": "degree",
44947
+ "type": {
44948
+ "text": "boolean"
44949
+ },
44950
+ "default": "false",
44951
+ "attribute": "degree"
44952
+ },
44953
+ {
44954
+ "kind": "field",
44955
+ "name": "maxDigits",
44956
+ "type": {
44957
+ "text": "number"
44958
+ },
44959
+ "default": "3",
44960
+ "attribute": "maxDigits"
44961
+ },
44962
+ {
44963
+ "kind": "field",
44964
+ "name": "fractionDigits",
44965
+ "type": {
44966
+ "text": "number"
44967
+ },
44968
+ "default": "0",
44969
+ "attribute": "fractionDigits"
44970
+ },
44971
+ {
44972
+ "kind": "field",
44973
+ "name": "tag",
44974
+ "type": {
44975
+ "text": "string"
44976
+ },
44977
+ "default": "''",
44978
+ "attribute": "tag"
44979
+ },
44980
+ {
44981
+ "kind": "field",
44982
+ "name": "unit",
44983
+ "type": {
44984
+ "text": "string"
44985
+ },
44986
+ "default": "''",
44987
+ "attribute": "unit"
44988
+ },
44989
+ {
44990
+ "kind": "field",
44991
+ "name": "source",
44992
+ "type": {
44993
+ "text": "string"
44994
+ },
44995
+ "default": "''",
44996
+ "attribute": "source"
44997
+ },
44998
+ {
44999
+ "kind": "field",
45000
+ "name": "hasSource",
45001
+ "type": {
45002
+ "text": "boolean"
45003
+ },
45004
+ "default": "false",
45005
+ "attribute": "hasSource"
45006
+ },
45007
+ {
45008
+ "kind": "field",
45009
+ "name": "setpointValueBlueNumbers",
45010
+ "type": {
45011
+ "text": "string"
45012
+ },
45013
+ "readonly": true
45014
+ },
45015
+ {
45016
+ "kind": "field",
45017
+ "name": "valueBlueNumbers",
45018
+ "type": {
45019
+ "text": "string"
45020
+ },
45021
+ "readonly": true
45022
+ },
45023
+ {
45024
+ "kind": "field",
45025
+ "name": "hintZeros",
45026
+ "type": {
45027
+ "text": "string"
45028
+ },
45029
+ "readonly": true
45030
+ }
45031
+ ],
45032
+ "attributes": [
45033
+ {
45034
+ "name": "size",
45035
+ "type": {
45036
+ "text": "InstrumentFieldSizeType"
45037
+ },
45038
+ "fieldName": "size"
45039
+ },
45040
+ {
45041
+ "name": "setpoint",
45042
+ "type": {
45043
+ "text": "number"
45044
+ },
45045
+ "default": "0",
45046
+ "fieldName": "setpoint"
45047
+ },
45048
+ {
45049
+ "name": "hasSetpoint",
45050
+ "type": {
45051
+ "text": "boolean"
45052
+ },
45053
+ "default": "false",
45054
+ "fieldName": "hasSetpoint"
45055
+ },
45056
+ {
45057
+ "name": "value",
45058
+ "type": {
45059
+ "text": "number"
45060
+ },
45061
+ "default": "0",
45062
+ "fieldName": "value"
45063
+ },
45064
+ {
45065
+ "name": "degree",
45066
+ "type": {
45067
+ "text": "boolean"
45068
+ },
45069
+ "default": "false",
45070
+ "fieldName": "degree"
45071
+ },
45072
+ {
45073
+ "name": "maxDigits",
45074
+ "type": {
45075
+ "text": "number"
45076
+ },
45077
+ "default": "3",
45078
+ "fieldName": "maxDigits"
45079
+ },
45080
+ {
45081
+ "name": "fractionDigits",
45082
+ "type": {
45083
+ "text": "number"
45084
+ },
45085
+ "default": "0",
45086
+ "fieldName": "fractionDigits"
45087
+ },
45088
+ {
45089
+ "name": "tag",
45090
+ "type": {
45091
+ "text": "string"
45092
+ },
45093
+ "default": "''",
45094
+ "fieldName": "tag"
45095
+ },
45096
+ {
45097
+ "name": "unit",
45098
+ "type": {
45099
+ "text": "string"
45100
+ },
45101
+ "default": "''",
45102
+ "fieldName": "unit"
45103
+ },
45104
+ {
45105
+ "name": "source",
45106
+ "type": {
45107
+ "text": "string"
45108
+ },
45109
+ "default": "''",
45110
+ "fieldName": "source"
45111
+ },
45112
+ {
45113
+ "name": "hasSource",
45114
+ "type": {
45115
+ "text": "boolean"
45116
+ },
45117
+ "default": "false",
45118
+ "fieldName": "hasSource"
45119
+ }
45120
+ ],
45121
+ "superclass": {
45122
+ "name": "LitElement",
45123
+ "package": "lit"
45124
+ },
45125
+ "tagName": "obc-instrument-field",
45126
+ "customElement": true
45127
+ }
45128
+ ],
45129
+ "exports": [
45130
+ {
45131
+ "kind": "js",
45132
+ "name": "ObcInstrumentField",
45133
+ "declaration": {
45134
+ "name": "ObcInstrumentField",
45135
+ "module": "src/navigation-instruments/instrument-field/instrument-field.ts"
45136
+ }
45137
+ },
45138
+ {
45139
+ "kind": "custom-element-definition",
45140
+ "name": "obc-instrument-field",
45141
+ "declaration": {
45142
+ "name": "ObcInstrumentField",
45143
+ "module": "src/navigation-instruments/instrument-field/instrument-field.ts"
45144
+ }
45145
+ }
45146
+ ]
45147
+ },
45148
+ {
45149
+ "kind": "javascript-module",
45150
+ "path": "src/navigation-instruments/main-engine/main-engine.ts",
45151
+ "declarations": [
45152
+ {
45153
+ "kind": "class",
45154
+ "description": "",
45155
+ "name": "ObcMainEngine",
45156
+ "members": [
45157
+ {
45158
+ "kind": "field",
45159
+ "name": "thrust",
45160
+ "type": {
45161
+ "text": "number"
45162
+ },
45163
+ "default": "0",
45164
+ "attribute": "thrust"
45165
+ },
45166
+ {
45167
+ "kind": "field",
45168
+ "name": "thrustSetpoint",
45169
+ "type": {
45170
+ "text": "number | undefined"
45171
+ },
45172
+ "attribute": "thrustSetpoint"
45173
+ },
45174
+ {
45175
+ "kind": "field",
45176
+ "name": "thrustTouching",
45177
+ "type": {
45178
+ "text": "boolean"
45179
+ },
45180
+ "default": "false",
45181
+ "attribute": "thrustTouching"
45182
+ },
45183
+ {
45184
+ "kind": "field",
45185
+ "name": "atThrustSetpoint",
45186
+ "type": {
45187
+ "text": "boolean"
45188
+ },
45189
+ "default": "false",
45190
+ "attribute": "atThrustSetpoint"
45191
+ },
45192
+ {
45193
+ "kind": "field",
45194
+ "name": "speed",
45195
+ "type": {
45196
+ "text": "number"
45197
+ },
45198
+ "default": "0",
45199
+ "attribute": "speed"
45200
+ },
45201
+ {
45202
+ "kind": "field",
45203
+ "name": "speedSetpoint",
45204
+ "type": {
45205
+ "text": "number | undefined"
45206
+ },
45207
+ "attribute": "speedSetpoint"
45208
+ },
45209
+ {
45210
+ "kind": "field",
45211
+ "name": "speedTouching",
45212
+ "type": {
45213
+ "text": "boolean"
45214
+ },
45215
+ "default": "false",
45216
+ "attribute": "speedTouching"
45217
+ },
45218
+ {
45219
+ "kind": "field",
45220
+ "name": "atSpeedSetpoint",
45221
+ "type": {
45222
+ "text": "boolean"
45223
+ },
45224
+ "default": "false",
45225
+ "attribute": "atSpeedSetpoint"
45226
+ },
45227
+ {
45228
+ "kind": "field",
45229
+ "name": "disableAutoAtThrustSetpoint",
45230
+ "type": {
45231
+ "text": "boolean"
45232
+ },
45233
+ "default": "false",
45234
+ "attribute": "disableAutoAtThrustSetpoint"
45235
+ },
45236
+ {
45237
+ "kind": "field",
45238
+ "name": "disableAutoAtSpeedSetpoint",
45239
+ "type": {
45240
+ "text": "boolean"
45241
+ },
45242
+ "default": "false",
45243
+ "attribute": "disableAutoAtSpeedSetpoint"
45244
+ },
45245
+ {
45246
+ "kind": "field",
45247
+ "name": "autoAtThrustSetpointDeadband",
45248
+ "type": {
45249
+ "text": "number"
45250
+ },
45251
+ "default": "1",
45252
+ "attribute": "autoAtThrustSetpointDeadband"
45253
+ },
45254
+ {
45255
+ "kind": "field",
45256
+ "name": "autoAtSpeedSetpointDeadband",
45257
+ "type": {
45258
+ "text": "number"
45259
+ },
45260
+ "default": "1",
45261
+ "attribute": "autoAtSpeedSetpointDeadband"
45262
+ },
45263
+ {
45264
+ "kind": "field",
45265
+ "name": "thrustSetpointAtZeroDeadband",
45266
+ "type": {
45267
+ "text": "number"
45268
+ },
45269
+ "default": "0.5",
45270
+ "attribute": "thrustSetpointAtZeroDeadband"
45271
+ },
45272
+ {
45273
+ "kind": "field",
45274
+ "name": "speedSetpointAtZeroDeadband",
45275
+ "type": {
45276
+ "text": "number"
45277
+ },
45278
+ "default": "0.5",
45279
+ "attribute": "speedSetpointAtZeroDeadband"
45280
+ },
45281
+ {
45282
+ "kind": "field",
45283
+ "name": "state",
45284
+ "type": {
45285
+ "text": "InstrumentState"
45286
+ },
45287
+ "attribute": "state"
45288
+ },
45289
+ {
45290
+ "kind": "field",
45291
+ "name": "thrustAdvices",
45292
+ "type": {
45293
+ "text": "LinearAdvice[]"
45294
+ },
45295
+ "default": "[]",
45296
+ "attribute": "thrustAdvices"
45297
+ }
45298
+ ],
45299
+ "attributes": [
45300
+ {
45301
+ "name": "thrust",
45302
+ "type": {
45303
+ "text": "number"
45304
+ },
45305
+ "default": "0",
45306
+ "fieldName": "thrust"
45307
+ },
45308
+ {
45309
+ "name": "thrustSetpoint",
45310
+ "type": {
45311
+ "text": "number | undefined"
45312
+ },
45313
+ "fieldName": "thrustSetpoint"
45314
+ },
45315
+ {
45316
+ "name": "thrustTouching",
45317
+ "type": {
45318
+ "text": "boolean"
45319
+ },
45320
+ "default": "false",
45321
+ "fieldName": "thrustTouching"
45322
+ },
45323
+ {
45324
+ "name": "atThrustSetpoint",
45325
+ "type": {
45326
+ "text": "boolean"
45327
+ },
45328
+ "default": "false",
45329
+ "fieldName": "atThrustSetpoint"
45330
+ },
45331
+ {
45332
+ "name": "speed",
45333
+ "type": {
45334
+ "text": "number"
45335
+ },
45336
+ "default": "0",
45337
+ "fieldName": "speed"
45338
+ },
45339
+ {
45340
+ "name": "speedSetpoint",
45341
+ "type": {
45342
+ "text": "number | undefined"
45343
+ },
45344
+ "fieldName": "speedSetpoint"
45345
+ },
45346
+ {
45347
+ "name": "speedTouching",
45348
+ "type": {
45349
+ "text": "boolean"
45350
+ },
45351
+ "default": "false",
45352
+ "fieldName": "speedTouching"
45353
+ },
45354
+ {
45355
+ "name": "atSpeedSetpoint",
45356
+ "type": {
45357
+ "text": "boolean"
45358
+ },
45359
+ "default": "false",
45360
+ "fieldName": "atSpeedSetpoint"
45361
+ },
45362
+ {
45363
+ "name": "disableAutoAtThrustSetpoint",
45364
+ "type": {
45365
+ "text": "boolean"
45366
+ },
45367
+ "default": "false",
45368
+ "fieldName": "disableAutoAtThrustSetpoint"
45369
+ },
45370
+ {
45371
+ "name": "disableAutoAtSpeedSetpoint",
45372
+ "type": {
45373
+ "text": "boolean"
45374
+ },
45375
+ "default": "false",
45376
+ "fieldName": "disableAutoAtSpeedSetpoint"
45377
+ },
45378
+ {
45379
+ "name": "autoAtThrustSetpointDeadband",
45380
+ "type": {
45381
+ "text": "number"
45382
+ },
45383
+ "default": "1",
45384
+ "fieldName": "autoAtThrustSetpointDeadband"
45385
+ },
45386
+ {
45387
+ "name": "autoAtSpeedSetpointDeadband",
45388
+ "type": {
45389
+ "text": "number"
45390
+ },
45391
+ "default": "1",
45392
+ "fieldName": "autoAtSpeedSetpointDeadband"
45393
+ },
45394
+ {
45395
+ "name": "thrustSetpointAtZeroDeadband",
45396
+ "type": {
45397
+ "text": "number"
45398
+ },
45399
+ "default": "0.5",
45400
+ "fieldName": "thrustSetpointAtZeroDeadband"
45401
+ },
45402
+ {
45403
+ "name": "speedSetpointAtZeroDeadband",
45404
+ "type": {
45405
+ "text": "number"
45406
+ },
45407
+ "default": "0.5",
45408
+ "fieldName": "speedSetpointAtZeroDeadband"
45409
+ },
45410
+ {
45411
+ "name": "state",
45412
+ "type": {
45413
+ "text": "InstrumentState"
45414
+ },
45415
+ "fieldName": "state"
45416
+ },
45417
+ {
45418
+ "name": "thrustAdvices",
45419
+ "type": {
45420
+ "text": "LinearAdvice[]"
45421
+ },
45422
+ "default": "[]",
45423
+ "fieldName": "thrustAdvices"
45424
+ }
45425
+ ],
45426
+ "superclass": {
45427
+ "name": "LitElement",
45428
+ "package": "lit"
45429
+ },
45430
+ "tagName": "obc-main-engine",
45431
+ "customElement": true
45432
+ }
45433
+ ],
45434
+ "exports": [
45435
+ {
45436
+ "kind": "js",
45437
+ "name": "ObcMainEngine",
45438
+ "declaration": {
45439
+ "name": "ObcMainEngine",
45440
+ "module": "src/navigation-instruments/main-engine/main-engine.ts"
45441
+ }
45442
+ },
45443
+ {
45444
+ "kind": "custom-element-definition",
45445
+ "name": "obc-main-engine",
45446
+ "declaration": {
45447
+ "name": "ObcMainEngine",
45448
+ "module": "src/navigation-instruments/main-engine/main-engine.ts"
45449
+ }
45450
+ }
45451
+ ]
45452
+ },
45453
+ {
45454
+ "kind": "javascript-module",
45455
+ "path": "src/navigation-instruments/rudder/rudder.ts",
45456
+ "declarations": [
45457
+ {
45458
+ "kind": "class",
45459
+ "description": "",
45460
+ "name": "ObcRudder",
45461
+ "members": [
45462
+ {
45463
+ "kind": "field",
45464
+ "name": "angle",
45465
+ "type": {
45466
+ "text": "number"
45467
+ },
45468
+ "default": "0",
45469
+ "attribute": "angle"
45470
+ },
45471
+ {
45472
+ "kind": "field",
45473
+ "name": "setpoint",
45474
+ "type": {
45475
+ "text": "number | undefined"
45476
+ },
45477
+ "attribute": "setpoint"
45478
+ },
45479
+ {
45480
+ "kind": "field",
45481
+ "name": "atSetpoint",
45482
+ "type": {
45483
+ "text": "boolean"
45484
+ },
45485
+ "default": "false",
45486
+ "attribute": "atSetpoint"
45487
+ },
45488
+ {
45489
+ "kind": "field",
45490
+ "name": "touching",
45491
+ "type": {
45492
+ "text": "boolean"
45493
+ },
45494
+ "default": "false",
45495
+ "attribute": "touching"
45496
+ },
45497
+ {
45498
+ "kind": "field",
45499
+ "name": "disableAutoAtSetpoint",
45500
+ "type": {
45501
+ "text": "boolean"
45502
+ },
45503
+ "default": "false",
45504
+ "attribute": "disableAutoAtSetpoint"
45505
+ },
45506
+ {
45507
+ "kind": "field",
45508
+ "name": "autoAtSetpointDeadband",
45509
+ "type": {
45510
+ "text": "number"
45511
+ },
45512
+ "default": "2",
45513
+ "attribute": "autoAtSetpointDeadband"
45514
+ },
45515
+ {
45516
+ "kind": "field",
45517
+ "name": "maxAngle",
45518
+ "type": {
45519
+ "text": "number"
45520
+ },
45521
+ "default": "90",
45522
+ "attribute": "maxAngle"
45523
+ },
45524
+ {
45525
+ "kind": "method",
45526
+ "name": "atSetpointCalc",
45527
+ "return": {
45528
+ "type": {
45529
+ "text": "boolean"
45530
+ }
45531
+ }
45532
+ }
45533
+ ],
45534
+ "attributes": [
45535
+ {
45536
+ "name": "angle",
45537
+ "type": {
45538
+ "text": "number"
45539
+ },
45540
+ "default": "0",
45541
+ "fieldName": "angle"
45542
+ },
45543
+ {
45544
+ "name": "setpoint",
45545
+ "type": {
45546
+ "text": "number | undefined"
45547
+ },
45548
+ "fieldName": "setpoint"
45549
+ },
45550
+ {
45551
+ "name": "atSetpoint",
45552
+ "type": {
45553
+ "text": "boolean"
45554
+ },
45555
+ "default": "false",
45556
+ "fieldName": "atSetpoint"
45557
+ },
45558
+ {
45559
+ "name": "touching",
45560
+ "type": {
45561
+ "text": "boolean"
45562
+ },
45563
+ "default": "false",
45564
+ "fieldName": "touching"
45565
+ },
45566
+ {
45567
+ "name": "disableAutoAtSetpoint",
45568
+ "type": {
45569
+ "text": "boolean"
45570
+ },
45571
+ "default": "false",
45572
+ "fieldName": "disableAutoAtSetpoint"
45573
+ },
45574
+ {
45575
+ "name": "autoAtSetpointDeadband",
45576
+ "type": {
45577
+ "text": "number"
45578
+ },
45579
+ "default": "2",
45580
+ "fieldName": "autoAtSetpointDeadband"
45581
+ },
45582
+ {
45583
+ "name": "maxAngle",
45584
+ "type": {
45585
+ "text": "number"
45586
+ },
45587
+ "default": "90",
45588
+ "fieldName": "maxAngle"
45589
+ }
45590
+ ],
45591
+ "superclass": {
45592
+ "name": "LitElement",
45593
+ "package": "lit"
45594
+ },
45595
+ "tagName": "obc-rudder",
45596
+ "customElement": true
45597
+ }
45598
+ ],
45599
+ "exports": [
45600
+ {
45601
+ "kind": "js",
45602
+ "name": "ObcRudder",
45603
+ "declaration": {
45604
+ "name": "ObcRudder",
45605
+ "module": "src/navigation-instruments/rudder/rudder.ts"
45606
+ }
45607
+ },
45608
+ {
45609
+ "kind": "custom-element-definition",
45610
+ "name": "obc-rudder",
45611
+ "declaration": {
45612
+ "name": "ObcRudder",
45613
+ "module": "src/navigation-instruments/rudder/rudder.ts"
45614
+ }
45615
+ }
45616
+ ]
45617
+ },
45618
+ {
45619
+ "kind": "javascript-module",
45620
+ "path": "src/navigation-instruments/thruster/advice.ts",
45621
+ "declarations": [
45622
+ {
45623
+ "kind": "function",
45624
+ "name": "renderAdvice",
45625
+ "return": {
45626
+ "type": {
45627
+ "text": "SVGTemplateResult"
45628
+ }
45629
+ },
45630
+ "parameters": [
45631
+ {
45632
+ "name": "height",
45633
+ "type": {
45634
+ "text": "number"
45635
+ }
45636
+ },
45637
+ {
45638
+ "name": "advice",
45639
+ "type": {
45640
+ "text": "LinearAdviceRaw"
45641
+ }
45642
+ },
45643
+ {
45644
+ "name": "flipDirection",
45645
+ "type": {
45646
+ "text": "boolean"
45647
+ }
45648
+ }
45649
+ ]
45650
+ }
45651
+ ],
45652
+ "exports": [
45653
+ {
45654
+ "kind": "js",
45655
+ "name": "renderAdvice",
45656
+ "declaration": {
45657
+ "name": "renderAdvice",
45658
+ "module": "src/navigation-instruments/thruster/advice.ts"
45659
+ }
45660
+ }
45661
+ ]
45662
+ },
45663
+ {
45664
+ "kind": "javascript-module",
45665
+ "path": "src/navigation-instruments/thruster/propeller.ts",
45666
+ "declarations": [
45667
+ {
45668
+ "kind": "function",
45669
+ "name": "topPropeller",
45670
+ "return": {
45671
+ "type": {
45672
+ "text": "SVGTemplateResult | null"
45673
+ }
45674
+ },
45675
+ "parameters": [
45676
+ {
45677
+ "name": "height",
45678
+ "type": {
45679
+ "text": "number"
45680
+ }
45681
+ },
45682
+ {
45683
+ "name": "arrowColor",
45684
+ "type": {
45685
+ "text": "string"
45686
+ }
45687
+ },
45688
+ {
45689
+ "name": "type",
45690
+ "type": {
45691
+ "text": "PropellerType"
45692
+ }
45693
+ }
45694
+ ]
45695
+ },
45696
+ {
45697
+ "kind": "function",
45698
+ "name": "bottomPropeller",
45699
+ "return": {
45700
+ "type": {
45701
+ "text": "SVGTemplateResult | null"
45702
+ }
45703
+ },
45704
+ "parameters": [
45705
+ {
45706
+ "name": "height",
45707
+ "type": {
45708
+ "text": "number"
45709
+ }
45710
+ },
45711
+ {
45712
+ "name": "type",
45713
+ "type": {
45714
+ "text": "PropellerType"
45715
+ }
45716
+ }
45717
+ ]
45718
+ }
45719
+ ],
45720
+ "exports": [
45721
+ {
45722
+ "kind": "js",
45723
+ "name": "topPropeller",
45724
+ "declaration": {
45725
+ "name": "topPropeller",
45726
+ "module": "src/navigation-instruments/thruster/propeller.ts"
45727
+ }
45728
+ },
45729
+ {
45730
+ "kind": "js",
45731
+ "name": "bottomPropeller",
45732
+ "declaration": {
45733
+ "name": "bottomPropeller",
45734
+ "module": "src/navigation-instruments/thruster/propeller.ts"
45735
+ }
45736
+ }
45737
+ ]
45738
+ },
45739
+ {
45740
+ "kind": "javascript-module",
45741
+ "path": "src/navigation-instruments/thruster/thruster.ts",
45742
+ "declarations": [
45743
+ {
45744
+ "kind": "class",
45745
+ "description": "",
45746
+ "name": "ObcThruster",
45747
+ "members": [
45748
+ {
45749
+ "kind": "field",
45750
+ "name": "thrust",
45751
+ "type": {
45752
+ "text": "number"
45753
+ },
45754
+ "default": "0",
45755
+ "description": "The thrust of the thruster in percent (-100 - +100)",
45756
+ "attribute": "thrust"
45757
+ },
45758
+ {
45759
+ "kind": "field",
45760
+ "name": "setpoint",
45761
+ "type": {
45762
+ "text": "number | undefined"
45763
+ },
45764
+ "attribute": "setpoint"
45765
+ },
45766
+ {
45767
+ "kind": "field",
45768
+ "name": "touching",
45769
+ "type": {
45770
+ "text": "boolean"
45771
+ },
45772
+ "default": "false",
45773
+ "description": "Highlight the thruster when the lever is being touched",
45774
+ "attribute": "touching"
45775
+ },
45776
+ {
45777
+ "kind": "field",
45778
+ "name": "atSetpoint",
45779
+ "type": {
45780
+ "text": "boolean"
45781
+ },
45782
+ "default": "false",
45783
+ "attribute": "atSetpoint"
45784
+ },
45785
+ {
45786
+ "kind": "field",
45787
+ "name": "disableAutoAtSetpoint",
45788
+ "type": {
45789
+ "text": "boolean"
45790
+ },
45791
+ "default": "false",
45792
+ "attribute": "disableAutoAtSetpoint"
45793
+ },
45794
+ {
45795
+ "kind": "field",
45796
+ "name": "autoAtSetpointDeadband",
45797
+ "type": {
45798
+ "text": "number"
45799
+ },
45800
+ "default": "1",
45801
+ "attribute": "autoAtSetpointDeadband"
45802
+ },
45803
+ {
45804
+ "kind": "field",
45805
+ "name": "setpointAtZeroDeadband",
45806
+ "type": {
45807
+ "text": "number"
45808
+ },
45809
+ "default": "0.5",
45810
+ "attribute": "setpointAtZeroDeadband"
45811
+ },
45812
+ {
45813
+ "kind": "field",
45814
+ "name": "state",
45815
+ "type": {
45816
+ "text": "InstrumentState"
45817
+ },
45818
+ "attribute": "state"
45819
+ },
45820
+ {
45821
+ "kind": "field",
45822
+ "name": "tunnel",
45823
+ "type": {
45824
+ "text": "boolean"
45825
+ },
45826
+ "default": "false",
45827
+ "attribute": "tunnel"
45828
+ },
45829
+ {
45830
+ "kind": "field",
45831
+ "name": "singleSided",
45832
+ "type": {
45833
+ "text": "boolean"
45834
+ },
45835
+ "default": "false",
45836
+ "attribute": "singleSided"
45837
+ },
45838
+ {
45839
+ "kind": "field",
45840
+ "name": "singleDirection",
45841
+ "type": {
45842
+ "text": "boolean"
45843
+ },
45844
+ "default": "false",
45845
+ "attribute": "singleDirection"
45846
+ },
45847
+ {
45848
+ "kind": "field",
45849
+ "name": "singleDirectionHalfSize",
45850
+ "type": {
45851
+ "text": "boolean"
45852
+ },
45853
+ "default": "false",
45854
+ "attribute": "singleDirectionHalfSize"
45855
+ },
45856
+ {
45857
+ "kind": "field",
45858
+ "name": "advices",
45859
+ "type": {
45860
+ "text": "LinearAdvice[]"
45861
+ },
45862
+ "default": "[]",
45863
+ "attribute": "advices"
45864
+ },
45865
+ {
45866
+ "kind": "field",
45867
+ "name": "topPropeller",
45868
+ "type": {
45869
+ "text": "PropellerType"
45870
+ },
45871
+ "attribute": "topPropeller"
45872
+ },
45873
+ {
45874
+ "kind": "field",
45875
+ "name": "bottomPropeller",
45876
+ "type": {
45877
+ "text": "PropellerType"
45878
+ },
45879
+ "attribute": "bottomPropeller"
45880
+ }
45881
+ ],
45882
+ "attributes": [
45883
+ {
45884
+ "name": "thrust",
45885
+ "type": {
45886
+ "text": "number"
45887
+ },
45888
+ "default": "0",
45889
+ "description": "The thrust of the thruster in percent (-100 - +100)",
45890
+ "fieldName": "thrust"
45891
+ },
45892
+ {
45893
+ "name": "setpoint",
45894
+ "type": {
45895
+ "text": "number | undefined"
45896
+ },
45897
+ "fieldName": "setpoint"
45898
+ },
45899
+ {
45900
+ "name": "touching",
45901
+ "type": {
45902
+ "text": "boolean"
45903
+ },
45904
+ "default": "false",
45905
+ "description": "Highlight the thruster when the lever is being touched",
45906
+ "fieldName": "touching"
45907
+ },
45908
+ {
45909
+ "name": "atSetpoint",
45910
+ "type": {
45911
+ "text": "boolean"
45912
+ },
45913
+ "default": "false",
45914
+ "fieldName": "atSetpoint"
45915
+ },
45916
+ {
45917
+ "name": "disableAutoAtSetpoint",
45918
+ "type": {
45919
+ "text": "boolean"
45920
+ },
45921
+ "default": "false",
45922
+ "fieldName": "disableAutoAtSetpoint"
45923
+ },
45924
+ {
45925
+ "name": "autoAtSetpointDeadband",
45926
+ "type": {
45927
+ "text": "number"
45928
+ },
45929
+ "default": "1",
45930
+ "fieldName": "autoAtSetpointDeadband"
45931
+ },
45932
+ {
45933
+ "name": "setpointAtZeroDeadband",
45934
+ "type": {
45935
+ "text": "number"
45936
+ },
45937
+ "default": "0.5",
45938
+ "fieldName": "setpointAtZeroDeadband"
45939
+ },
45940
+ {
45941
+ "name": "state",
45942
+ "type": {
45943
+ "text": "InstrumentState"
45944
+ },
45945
+ "fieldName": "state"
45946
+ },
45947
+ {
45948
+ "name": "tunnel",
45949
+ "type": {
45950
+ "text": "boolean"
45951
+ },
45952
+ "default": "false",
45953
+ "fieldName": "tunnel"
45954
+ },
45955
+ {
45956
+ "name": "singleSided",
45957
+ "type": {
45958
+ "text": "boolean"
45959
+ },
45960
+ "default": "false",
45961
+ "fieldName": "singleSided"
45962
+ },
45963
+ {
45964
+ "name": "singleDirection",
45965
+ "type": {
45966
+ "text": "boolean"
45967
+ },
45968
+ "default": "false",
45969
+ "fieldName": "singleDirection"
45970
+ },
45971
+ {
45972
+ "name": "singleDirectionHalfSize",
45973
+ "type": {
45974
+ "text": "boolean"
45975
+ },
45976
+ "default": "false",
45977
+ "fieldName": "singleDirectionHalfSize"
45978
+ },
45979
+ {
45980
+ "name": "advices",
45981
+ "type": {
45982
+ "text": "LinearAdvice[]"
45983
+ },
45984
+ "default": "[]",
45985
+ "fieldName": "advices"
45986
+ },
45987
+ {
45988
+ "name": "topPropeller",
45989
+ "type": {
45990
+ "text": "PropellerType"
45991
+ },
45992
+ "fieldName": "topPropeller"
45993
+ },
45994
+ {
45995
+ "name": "bottomPropeller",
45996
+ "type": {
45997
+ "text": "PropellerType"
45998
+ },
45999
+ "fieldName": "bottomPropeller"
46000
+ }
46001
+ ],
46002
+ "superclass": {
46003
+ "name": "LitElement",
46004
+ "package": "lit"
46005
+ },
46006
+ "tagName": "obc-thruster",
46007
+ "customElement": true
46008
+ },
46009
+ {
46010
+ "kind": "function",
46011
+ "name": "thrusterTop",
46012
+ "parameters": [
46013
+ {
46014
+ "name": "height",
46015
+ "type": {
46016
+ "text": "number"
46017
+ }
46018
+ },
46019
+ {
46020
+ "name": "value",
46021
+ "type": {
46022
+ "text": "number"
46023
+ }
46024
+ },
46025
+ {
46026
+ "name": "colors",
46027
+ "type": {
46028
+ "text": "{box: string; container: string}"
46029
+ }
46030
+ },
46031
+ {
46032
+ "name": "options",
46033
+ "type": {
46034
+ "text": "{hideTicks: boolean; hideContainer: boolean}"
46035
+ }
46036
+ }
46037
+ ]
46038
+ },
46039
+ {
46040
+ "kind": "function",
46041
+ "name": "thrusterTopSingleSided",
46042
+ "parameters": [
46043
+ {
46044
+ "name": "height",
46045
+ "type": {
46046
+ "text": "number"
46047
+ }
46048
+ },
46049
+ {
46050
+ "name": "value",
46051
+ "type": {
46052
+ "text": "number"
46053
+ }
46054
+ },
46055
+ {
46056
+ "name": "colors",
46057
+ "type": {
46058
+ "text": "{box: string; container: string}"
46059
+ }
46060
+ },
46061
+ {
46062
+ "name": "options",
46063
+ "type": {
46064
+ "text": "{\n hideTicks: boolean;\n flipAdicePattern: boolean;\n hideContainer: boolean;\n narrow: boolean;\n }"
46065
+ }
46066
+ },
46067
+ {
46068
+ "name": "advice",
46069
+ "type": {
46070
+ "text": "LinearAdviceRaw[]"
46071
+ }
46072
+ }
46073
+ ]
46074
+ },
46075
+ {
46076
+ "kind": "function",
46077
+ "name": "thrusterBottom",
46078
+ "parameters": [
46079
+ {
46080
+ "name": "height",
46081
+ "type": {
46082
+ "text": "number"
46083
+ }
46084
+ },
46085
+ {
46086
+ "name": "value",
46087
+ "type": {
46088
+ "text": "number"
46089
+ }
46090
+ },
46091
+ {
46092
+ "name": "colors",
46093
+ "type": {
46094
+ "text": "{box: string; container: string}"
46095
+ }
46096
+ },
46097
+ {
46098
+ "name": "options",
46099
+ "type": {
46100
+ "text": "{hideTicks: boolean; hideContainer: boolean}"
46101
+ }
46102
+ }
46103
+ ]
46104
+ },
46105
+ {
46106
+ "kind": "function",
46107
+ "name": "setpointSvg",
46108
+ "parameters": [
46109
+ {
46110
+ "name": "height",
46111
+ "type": {
46112
+ "text": "number"
46113
+ }
46114
+ },
46115
+ {
46116
+ "name": "value",
46117
+ "type": {
46118
+ "text": "number"
46119
+ }
46120
+ },
46121
+ {
46122
+ "name": "setpointAtZero",
46123
+ "type": {
46124
+ "text": "boolean"
46125
+ }
46126
+ },
46127
+ {
46128
+ "name": "colors",
46129
+ "type": {
46130
+ "text": "{fill: string; stroke: string}"
46131
+ }
46132
+ },
46133
+ {
46134
+ "name": "options",
46135
+ "type": {
46136
+ "text": "{\n inCommand: boolean;\n singleSided: boolean;\n narrow: boolean;\n }"
46137
+ }
46138
+ }
46139
+ ]
46140
+ },
46141
+ {
46142
+ "kind": "function",
46143
+ "name": "atSetpoint",
46144
+ "return": {
46145
+ "type": {
46146
+ "text": "boolean"
46147
+ }
46148
+ },
46149
+ "parameters": [
46150
+ {
46151
+ "name": "thrust",
46152
+ "type": {
46153
+ "text": "number"
46154
+ }
46155
+ },
46156
+ {
46157
+ "name": "setpoint",
46158
+ "type": {
46159
+ "text": "number | undefined"
46160
+ }
46161
+ },
46162
+ {
46163
+ "name": "options",
46164
+ "type": {
46165
+ "text": "{\n autoAtSetpoint: boolean;\n autoSetpointDeadband: number;\n touching: boolean;\n atSetpoint: boolean;\n }"
46166
+ }
46167
+ }
46168
+ ]
46169
+ },
46170
+ {
46171
+ "kind": "function",
46172
+ "name": "thruster",
46173
+ "parameters": [
46174
+ {
46175
+ "name": "thrust",
46176
+ "type": {
46177
+ "text": "number"
46178
+ }
46179
+ },
46180
+ {
46181
+ "name": "setpoint",
46182
+ "type": {
46183
+ "text": "number | undefined"
46184
+ }
46185
+ },
46186
+ {
46187
+ "name": "state",
46188
+ "type": {
46189
+ "text": "InstrumentState"
46190
+ }
46191
+ },
46192
+ {
46193
+ "name": "options",
46194
+ "type": {
46195
+ "text": "{\n atSetpoint: boolean;\n tunnel: boolean;\n singleSided: boolean;\n singleDirection: boolean;\n singleDirectionHalfSize: boolean;\n setpointAtZeroDeadband: number;\n autoAtSetpoint: boolean;\n autoSetpointDeadband: number;\n touching: boolean;\n advices: LinearAdvice[];\n topPropeller: PropellerType;\n bottomPropeller: PropellerType;\n narrow: boolean;\n }"
46196
+ }
46197
+ }
46198
+ ]
46199
+ },
46200
+ {
46201
+ "kind": "function",
46202
+ "name": "convertThrustAdvices",
46203
+ "return": {
46204
+ "type": {
46205
+ "text": "{topAdvices: LinearAdviceRaw[]; bottomAdvices: LinearAdviceRaw[]}"
46206
+ }
46207
+ },
46208
+ "parameters": [
46209
+ {
46210
+ "name": "advices",
46211
+ "type": {
46212
+ "text": "LinearAdvice[]"
46213
+ }
46214
+ },
46215
+ {
46216
+ "name": "thrust",
46217
+ "type": {
46218
+ "text": "number"
46219
+ }
46220
+ }
46221
+ ]
46222
+ },
46223
+ {
46224
+ "kind": "function",
46225
+ "name": "thrusterColors",
46226
+ "parameters": [
46227
+ {
46228
+ "name": "options",
46229
+ "type": {
46230
+ "text": "{atSetpoint: boolean; touching: boolean}"
46231
+ }
46232
+ },
46233
+ {
46234
+ "name": "state",
46235
+ "type": {
46236
+ "text": "InstrumentState"
46237
+ }
46238
+ }
46239
+ ]
46240
+ }
46241
+ ],
46242
+ "exports": [
46243
+ {
46244
+ "kind": "js",
46245
+ "name": "ObcThruster",
46246
+ "declaration": {
46247
+ "name": "ObcThruster",
46248
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46249
+ }
46250
+ },
46251
+ {
46252
+ "kind": "custom-element-definition",
46253
+ "name": "obc-thruster",
46254
+ "declaration": {
46255
+ "name": "ObcThruster",
46256
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46257
+ }
46258
+ },
46259
+ {
46260
+ "kind": "js",
46261
+ "name": "thrusterTop",
46262
+ "declaration": {
46263
+ "name": "thrusterTop",
46264
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46265
+ }
46266
+ },
46267
+ {
46268
+ "kind": "js",
46269
+ "name": "thrusterTopSingleSided",
46270
+ "declaration": {
46271
+ "name": "thrusterTopSingleSided",
46272
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46273
+ }
46274
+ },
46275
+ {
46276
+ "kind": "js",
46277
+ "name": "thrusterBottom",
46278
+ "declaration": {
46279
+ "name": "thrusterBottom",
46280
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46281
+ }
46282
+ },
46283
+ {
46284
+ "kind": "js",
46285
+ "name": "setpointSvg",
46286
+ "declaration": {
46287
+ "name": "setpointSvg",
46288
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46289
+ }
46290
+ },
46291
+ {
46292
+ "kind": "js",
46293
+ "name": "atSetpoint",
46294
+ "declaration": {
46295
+ "name": "atSetpoint",
46296
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46297
+ }
46298
+ },
46299
+ {
46300
+ "kind": "js",
46301
+ "name": "thruster",
46302
+ "declaration": {
46303
+ "name": "thruster",
46304
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46305
+ }
46306
+ },
46307
+ {
46308
+ "kind": "js",
46309
+ "name": "convertThrustAdvices",
46310
+ "declaration": {
46311
+ "name": "convertThrustAdvices",
46312
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46313
+ }
46314
+ },
46315
+ {
46316
+ "kind": "js",
46317
+ "name": "thrusterColors",
46318
+ "declaration": {
46319
+ "name": "thrusterColors",
46320
+ "module": "src/navigation-instruments/thruster/thruster.ts"
46321
+ }
46322
+ }
46323
+ ]
46324
+ },
46325
+ {
46326
+ "kind": "javascript-module",
46327
+ "path": "src/navigation-instruments/thruster/tickmark.ts",
46328
+ "declarations": [
46329
+ {
46330
+ "kind": "function",
46331
+ "name": "singleSidedTickmark",
46332
+ "parameters": [
46333
+ {
46334
+ "name": "height",
44688
46335
  "type": {
44689
46336
  "text": "number"
44690
- },
44691
- "default": "0",
44692
- "fieldName": "angle"
44693
- },
44694
- {
44695
- "name": "setpoint",
44696
- "type": {
44697
- "text": "number | undefined"
44698
- },
44699
- "fieldName": "setpoint"
44700
- },
44701
- {
44702
- "name": "atSetpoint",
44703
- "type": {
44704
- "text": "boolean"
44705
- },
44706
- "default": "false",
44707
- "fieldName": "atSetpoint"
44708
- },
44709
- {
44710
- "name": "touching",
44711
- "type": {
44712
- "text": "boolean"
44713
- },
44714
- "default": "false",
44715
- "fieldName": "touching"
44716
- },
44717
- {
44718
- "name": "disableAutoAtSetpoint",
44719
- "type": {
44720
- "text": "boolean"
44721
- },
44722
- "default": "false",
44723
- "fieldName": "disableAutoAtSetpoint"
46337
+ }
44724
46338
  },
44725
46339
  {
44726
- "name": "autoAtSetpointDeadband",
46340
+ "name": "value",
44727
46341
  "type": {
44728
46342
  "text": "number"
44729
- },
44730
- "default": "2",
44731
- "fieldName": "autoAtSetpointDeadband"
46343
+ }
44732
46344
  },
44733
46345
  {
44734
- "name": "maxAngle",
46346
+ "name": "style",
44735
46347
  "type": {
44736
- "text": "number"
44737
- },
44738
- "default": "90",
44739
- "fieldName": "maxAngle"
46348
+ "text": "TickmarkStyle"
46349
+ }
44740
46350
  }
44741
- ],
44742
- "superclass": {
44743
- "name": "LitElement",
44744
- "package": "lit"
44745
- },
44746
- "tagName": "obc-rudder",
44747
- "customElement": true
46351
+ ]
44748
46352
  }
44749
46353
  ],
44750
46354
  "exports": [
44751
46355
  {
44752
46356
  "kind": "js",
44753
- "name": "ObcRudder",
44754
- "declaration": {
44755
- "name": "ObcRudder",
44756
- "module": "src/navigation-instruments/rudder/rudder.ts"
44757
- }
44758
- },
44759
- {
44760
- "kind": "custom-element-definition",
44761
- "name": "obc-rudder",
46357
+ "name": "singleSidedTickmark",
44762
46358
  "declaration": {
44763
- "name": "ObcRudder",
44764
- "module": "src/navigation-instruments/rudder/rudder.ts"
46359
+ "name": "singleSidedTickmark",
46360
+ "module": "src/navigation-instruments/thruster/tickmark.ts"
44765
46361
  }
44766
46362
  }
44767
46363
  ]
44768
46364
  },
44769
46365
  {
44770
46366
  "kind": "javascript-module",
44771
- "path": "src/navigation-instruments/thruster/advice.ts",
46367
+ "path": "src/navigation-instruments/watch/advice.ts",
44772
46368
  "declarations": [
44773
46369
  {
44774
46370
  "kind": "function",
@@ -44779,22 +46375,10 @@
44779
46375
  }
44780
46376
  },
44781
46377
  "parameters": [
44782
- {
44783
- "name": "height",
44784
- "type": {
44785
- "text": "number"
44786
- }
44787
- },
44788
46378
  {
44789
46379
  "name": "advice",
44790
46380
  "type": {
44791
- "text": "LinearAdviceRaw"
44792
- }
44793
- },
44794
- {
44795
- "name": "flipDirection",
44796
- "type": {
44797
- "text": "boolean"
46381
+ "text": "AngleAdviceRaw"
44798
46382
  }
44799
46383
  }
44800
46384
  ]
@@ -44806,63 +46390,103 @@
44806
46390
  "name": "renderAdvice",
44807
46391
  "declaration": {
44808
46392
  "name": "renderAdvice",
44809
- "module": "src/navigation-instruments/thruster/advice.ts"
46393
+ "module": "src/navigation-instruments/watch/advice.ts"
44810
46394
  }
44811
46395
  }
44812
46396
  ]
44813
46397
  },
44814
46398
  {
44815
46399
  "kind": "javascript-module",
44816
- "path": "src/navigation-instruments/thruster/propeller.ts",
46400
+ "path": "src/navigation-instruments/watch/label.ts",
44817
46401
  "declarations": [
44818
46402
  {
44819
46403
  "kind": "function",
44820
- "name": "topPropeller",
46404
+ "name": "renderLabels",
44821
46405
  "return": {
44822
46406
  "type": {
44823
- "text": "SVGTemplateResult | null"
46407
+ "text": "SVGTemplateResult"
44824
46408
  }
44825
46409
  },
44826
46410
  "parameters": [
44827
46411
  {
44828
- "name": "height",
46412
+ "name": "scale",
44829
46413
  "type": {
44830
46414
  "text": "number"
44831
46415
  }
44832
- },
44833
- {
44834
- "name": "arrowColor",
44835
- "type": {
44836
- "text": "string"
44837
- }
44838
- },
46416
+ }
46417
+ ]
46418
+ }
46419
+ ],
46420
+ "exports": [
46421
+ {
46422
+ "kind": "js",
46423
+ "name": "renderLabels",
46424
+ "declaration": {
46425
+ "name": "renderLabels",
46426
+ "module": "src/navigation-instruments/watch/label.ts"
46427
+ }
46428
+ }
46429
+ ]
46430
+ },
46431
+ {
46432
+ "kind": "javascript-module",
46433
+ "path": "src/navigation-instruments/watch/tickmark.ts",
46434
+ "declarations": [
46435
+ {
46436
+ "kind": "function",
46437
+ "name": "tickmarkColor",
46438
+ "return": {
46439
+ "type": {
46440
+ "text": "string"
46441
+ }
46442
+ },
46443
+ "parameters": [
44839
46444
  {
44840
- "name": "type",
46445
+ "name": "style",
44841
46446
  "type": {
44842
- "text": "PropellerType"
46447
+ "text": "TickmarkStyle"
44843
46448
  }
44844
46449
  }
44845
46450
  ]
44846
46451
  },
44847
46452
  {
44848
46453
  "kind": "function",
44849
- "name": "bottomPropeller",
46454
+ "name": "tickmark",
44850
46455
  "return": {
44851
46456
  "type": {
44852
- "text": "SVGTemplateResult | null"
46457
+ "text": "SVGTemplateResult | SVGTemplateResult[]"
44853
46458
  }
44854
46459
  },
44855
46460
  "parameters": [
44856
46461
  {
44857
- "name": "height",
46462
+ "name": "angle",
44858
46463
  "type": {
44859
46464
  "text": "number"
44860
46465
  }
44861
46466
  },
44862
46467
  {
44863
- "name": "type",
46468
+ "name": "tickmarkSize",
44864
46469
  "type": {
44865
- "text": "PropellerType"
46470
+ "text": "TickmarkType"
46471
+ }
46472
+ },
46473
+ {
46474
+ "name": "style",
46475
+ "type": {
46476
+ "text": "TickmarkStyle"
46477
+ }
46478
+ },
46479
+ {
46480
+ "name": "scale",
46481
+ "type": {
46482
+ "text": "number"
46483
+ }
46484
+ },
46485
+ {
46486
+ "name": "text",
46487
+ "optional": true,
46488
+ "type": {
46489
+ "text": "string"
44866
46490
  }
44867
46491
  }
44868
46492
  ]
@@ -44871,95 +46495,31 @@
44871
46495
  "exports": [
44872
46496
  {
44873
46497
  "kind": "js",
44874
- "name": "topPropeller",
46498
+ "name": "tickmarkColor",
44875
46499
  "declaration": {
44876
- "name": "topPropeller",
44877
- "module": "src/navigation-instruments/thruster/propeller.ts"
46500
+ "name": "tickmarkColor",
46501
+ "module": "src/navigation-instruments/watch/tickmark.ts"
44878
46502
  }
44879
46503
  },
44880
46504
  {
44881
46505
  "kind": "js",
44882
- "name": "bottomPropeller",
46506
+ "name": "tickmark",
44883
46507
  "declaration": {
44884
- "name": "bottomPropeller",
44885
- "module": "src/navigation-instruments/thruster/propeller.ts"
46508
+ "name": "tickmark",
46509
+ "module": "src/navigation-instruments/watch/tickmark.ts"
44886
46510
  }
44887
46511
  }
44888
46512
  ]
44889
46513
  },
44890
46514
  {
44891
46515
  "kind": "javascript-module",
44892
- "path": "src/navigation-instruments/thruster/thruster.ts",
46516
+ "path": "src/navigation-instruments/watch/watch.ts",
44893
46517
  "declarations": [
44894
46518
  {
44895
46519
  "kind": "class",
44896
46520
  "description": "",
44897
- "name": "ObcThruster",
44898
- "members": [
44899
- {
44900
- "kind": "field",
44901
- "name": "thrust",
44902
- "type": {
44903
- "text": "number"
44904
- },
44905
- "default": "0",
44906
- "description": "The thrust of the thruster in percent (-100 - +100)",
44907
- "attribute": "thrust"
44908
- },
44909
- {
44910
- "kind": "field",
44911
- "name": "setpoint",
44912
- "type": {
44913
- "text": "number | undefined"
44914
- },
44915
- "attribute": "setpoint"
44916
- },
44917
- {
44918
- "kind": "field",
44919
- "name": "touching",
44920
- "type": {
44921
- "text": "boolean"
44922
- },
44923
- "default": "false",
44924
- "description": "Highlight the thruster when the lever is being touched",
44925
- "attribute": "touching"
44926
- },
44927
- {
44928
- "kind": "field",
44929
- "name": "atSetpoint",
44930
- "type": {
44931
- "text": "boolean"
44932
- },
44933
- "default": "false",
44934
- "attribute": "atSetpoint"
44935
- },
44936
- {
44937
- "kind": "field",
44938
- "name": "disableAutoAtSetpoint",
44939
- "type": {
44940
- "text": "boolean"
44941
- },
44942
- "default": "false",
44943
- "attribute": "disableAutoAtSetpoint"
44944
- },
44945
- {
44946
- "kind": "field",
44947
- "name": "autoAtSetpointDeadband",
44948
- "type": {
44949
- "text": "number"
44950
- },
44951
- "default": "1",
44952
- "attribute": "autoAtSetpointDeadband"
44953
- },
44954
- {
44955
- "kind": "field",
44956
- "name": "setpointAtZeroDeadband",
44957
- "type": {
44958
- "text": "number"
44959
- },
44960
- "default": "0.5",
44961
- "attribute": "setpointAtZeroDeadband"
44962
- },
46521
+ "name": "ObcWatch",
46522
+ "members": [
44963
46523
  {
44964
46524
  "kind": "field",
44965
46525
  "name": "state",
@@ -44970,327 +46530,255 @@
44970
46530
  },
44971
46531
  {
44972
46532
  "kind": "field",
44973
- "name": "tunnel",
44974
- "type": {
44975
- "text": "boolean"
44976
- },
44977
- "default": "false",
44978
- "attribute": "tunnel"
44979
- },
44980
- {
44981
- "kind": "field",
44982
- "name": "singleSided",
46533
+ "name": "angleSetpoint",
44983
46534
  "type": {
44984
- "text": "boolean"
46535
+ "text": "number | undefined"
44985
46536
  },
44986
- "default": "false",
44987
- "attribute": "singleSided"
46537
+ "attribute": "angleSetpoint"
44988
46538
  },
44989
46539
  {
44990
46540
  "kind": "field",
44991
- "name": "singleDirection",
46541
+ "name": "atAngleSetpoint",
44992
46542
  "type": {
44993
46543
  "text": "boolean"
44994
46544
  },
44995
46545
  "default": "false",
44996
- "attribute": "singleDirection"
46546
+ "attribute": "atAngleSetpoint"
44997
46547
  },
44998
46548
  {
44999
46549
  "kind": "field",
45000
- "name": "singleDirectionHalfSize",
46550
+ "name": "padding",
45001
46551
  "type": {
45002
- "text": "boolean"
46552
+ "text": "number"
45003
46553
  },
45004
- "default": "false",
45005
- "attribute": "singleDirectionHalfSize"
46554
+ "default": "24",
46555
+ "attribute": "padding"
45006
46556
  },
45007
46557
  {
45008
46558
  "kind": "field",
45009
- "name": "advices",
46559
+ "name": "cutAngleStart",
45010
46560
  "type": {
45011
- "text": "LinearAdvice[]"
46561
+ "text": "number | null"
45012
46562
  },
45013
- "default": "[]",
45014
- "attribute": "advices"
46563
+ "default": "null",
46564
+ "attribute": "cutAngleStart"
45015
46565
  },
45016
46566
  {
45017
46567
  "kind": "field",
45018
- "name": "topPropeller",
46568
+ "name": "cutAngleEnd",
45019
46569
  "type": {
45020
- "text": "PropellerType"
46570
+ "text": "number | null"
45021
46571
  },
45022
- "attribute": "topPropeller"
46572
+ "default": "null",
46573
+ "attribute": "cutAngleEnd"
45023
46574
  },
45024
46575
  {
45025
46576
  "kind": "field",
45026
- "name": "bottomPropeller",
45027
- "type": {
45028
- "text": "PropellerType"
45029
- },
45030
- "attribute": "bottomPropeller"
45031
- }
45032
- ],
45033
- "attributes": [
45034
- {
45035
- "name": "thrust",
45036
- "type": {
45037
- "text": "number"
45038
- },
45039
- "default": "0",
45040
- "description": "The thrust of the thruster in percent (-100 - +100)",
45041
- "fieldName": "thrust"
45042
- },
45043
- {
45044
- "name": "setpoint",
45045
- "type": {
45046
- "text": "number | undefined"
45047
- },
45048
- "fieldName": "setpoint"
45049
- },
45050
- {
45051
- "name": "touching",
45052
- "type": {
45053
- "text": "boolean"
45054
- },
45055
- "default": "false",
45056
- "description": "Highlight the thruster when the lever is being touched",
45057
- "fieldName": "touching"
45058
- },
45059
- {
45060
- "name": "atSetpoint",
46577
+ "name": "roundOutsideCut",
45061
46578
  "type": {
45062
46579
  "text": "boolean"
45063
46580
  },
45064
46581
  "default": "false",
45065
- "fieldName": "atSetpoint"
46582
+ "attribute": "roundOutsideCut"
45066
46583
  },
45067
46584
  {
45068
- "name": "disableAutoAtSetpoint",
46585
+ "kind": "field",
46586
+ "name": "roundInsideCut",
45069
46587
  "type": {
45070
46588
  "text": "boolean"
45071
46589
  },
45072
46590
  "default": "false",
45073
- "fieldName": "disableAutoAtSetpoint"
45074
- },
45075
- {
45076
- "name": "autoAtSetpointDeadband",
45077
- "type": {
45078
- "text": "number"
45079
- },
45080
- "default": "1",
45081
- "fieldName": "autoAtSetpointDeadband"
45082
- },
45083
- {
45084
- "name": "setpointAtZeroDeadband",
45085
- "type": {
45086
- "text": "number"
45087
- },
45088
- "default": "0.5",
45089
- "fieldName": "setpointAtZeroDeadband"
46591
+ "attribute": "roundInsideCut"
45090
46592
  },
45091
46593
  {
45092
- "name": "state",
46594
+ "kind": "field",
46595
+ "name": "tickmarks",
45093
46596
  "type": {
45094
- "text": "InstrumentState"
46597
+ "text": "Tickmark[]"
45095
46598
  },
45096
- "fieldName": "state"
46599
+ "default": "[]"
45097
46600
  },
45098
46601
  {
45099
- "name": "tunnel",
46602
+ "kind": "field",
46603
+ "name": "advices",
45100
46604
  "type": {
45101
- "text": "boolean"
46605
+ "text": "AngleAdviceRaw[]"
45102
46606
  },
45103
- "default": "false",
45104
- "fieldName": "tunnel"
46607
+ "default": "[]"
45105
46608
  },
45106
46609
  {
45107
- "name": "singleSided",
46610
+ "kind": "field",
46611
+ "name": "crosshairEnabled",
45108
46612
  "type": {
45109
46613
  "text": "boolean"
45110
46614
  },
45111
46615
  "default": "false",
45112
- "fieldName": "singleSided"
46616
+ "attribute": "crosshairEnabled"
45113
46617
  },
45114
46618
  {
45115
- "name": "singleDirection",
46619
+ "kind": "field",
46620
+ "name": "labelFrameEnabled",
45116
46621
  "type": {
45117
46622
  "text": "boolean"
45118
46623
  },
45119
46624
  "default": "false",
45120
- "fieldName": "singleDirection"
46625
+ "attribute": "labelFrameEnabled"
45121
46626
  },
45122
46627
  {
45123
- "name": "singleDirectionHalfSize",
45124
- "type": {
45125
- "text": "boolean"
45126
- },
45127
- "default": "false",
45128
- "fieldName": "singleDirectionHalfSize"
46628
+ "kind": "field",
46629
+ "name": "_resizeController",
46630
+ "privacy": "private",
46631
+ "default": "new ResizeController(this, {})"
45129
46632
  },
45130
46633
  {
45131
- "name": "advices",
45132
- "type": {
45133
- "text": "LinearAdvice[]"
45134
- },
45135
- "default": "[]",
45136
- "fieldName": "advices"
46634
+ "kind": "method",
46635
+ "name": "watchCircle",
46636
+ "privacy": "private",
46637
+ "return": {
46638
+ "type": {
46639
+ "text": "SVGTemplateResult"
46640
+ }
46641
+ }
45137
46642
  },
45138
46643
  {
45139
- "name": "topPropeller",
45140
- "type": {
45141
- "text": "PropellerType"
46644
+ "kind": "method",
46645
+ "name": "renderCrosshair",
46646
+ "privacy": "private",
46647
+ "return": {
46648
+ "type": {
46649
+ "text": "SVGTemplateResult"
46650
+ }
45142
46651
  },
45143
- "fieldName": "topPropeller"
46652
+ "parameters": [
46653
+ {
46654
+ "name": "radius",
46655
+ "type": {
46656
+ "text": "number"
46657
+ }
46658
+ }
46659
+ ]
45144
46660
  },
45145
46661
  {
45146
- "name": "bottomPropeller",
45147
- "type": {
45148
- "text": "PropellerType"
45149
- },
45150
- "fieldName": "bottomPropeller"
46662
+ "kind": "method",
46663
+ "name": "renderSetpoint",
46664
+ "privacy": "private",
46665
+ "return": {
46666
+ "type": {
46667
+ "text": "SVGTemplateResult | typeof nothing"
46668
+ }
46669
+ }
45151
46670
  }
45152
46671
  ],
45153
- "superclass": {
45154
- "name": "LitElement",
45155
- "package": "lit"
45156
- },
45157
- "tagName": "obc-thruster",
45158
- "customElement": true
45159
- },
45160
- {
45161
- "kind": "function",
45162
- "name": "thruster",
45163
- "parameters": [
46672
+ "attributes": [
45164
46673
  {
45165
- "name": "thrust",
46674
+ "name": "state",
45166
46675
  "type": {
45167
- "text": "number"
45168
- }
46676
+ "text": "InstrumentState"
46677
+ },
46678
+ "fieldName": "state"
45169
46679
  },
45170
46680
  {
45171
- "name": "setpoint",
46681
+ "name": "angleSetpoint",
45172
46682
  "type": {
45173
46683
  "text": "number | undefined"
45174
- }
46684
+ },
46685
+ "fieldName": "angleSetpoint"
45175
46686
  },
45176
46687
  {
45177
- "name": "state",
46688
+ "name": "atAngleSetpoint",
45178
46689
  "type": {
45179
- "text": "InstrumentState"
45180
- }
46690
+ "text": "boolean"
46691
+ },
46692
+ "default": "false",
46693
+ "fieldName": "atAngleSetpoint"
45181
46694
  },
45182
46695
  {
45183
- "name": "options",
45184
- "type": {
45185
- "text": "{\n atSetpoint: boolean;\n tunnel: boolean;\n singleSided: boolean;\n singleDirection: boolean;\n singleDirectionHalfSize: boolean;\n setpointAtZeroDeadband: number;\n autoAtSetpoint: boolean;\n autoSetpointDeadband: number;\n touching: boolean;\n advices: LinearAdvice[];\n topPropeller: PropellerType;\n bottomPropeller: PropellerType;\n }"
45186
- }
45187
- }
45188
- ]
45189
- }
45190
- ],
45191
- "exports": [
45192
- {
45193
- "kind": "js",
45194
- "name": "ObcThruster",
45195
- "declaration": {
45196
- "name": "ObcThruster",
45197
- "module": "src/navigation-instruments/thruster/thruster.ts"
45198
- }
45199
- },
45200
- {
45201
- "kind": "custom-element-definition",
45202
- "name": "obc-thruster",
45203
- "declaration": {
45204
- "name": "ObcThruster",
45205
- "module": "src/navigation-instruments/thruster/thruster.ts"
45206
- }
45207
- },
45208
- {
45209
- "kind": "js",
45210
- "name": "thruster",
45211
- "declaration": {
45212
- "name": "thruster",
45213
- "module": "src/navigation-instruments/thruster/thruster.ts"
45214
- }
45215
- }
45216
- ]
45217
- },
45218
- {
45219
- "kind": "javascript-module",
45220
- "path": "src/navigation-instruments/thruster/tickmark.ts",
45221
- "declarations": [
45222
- {
45223
- "kind": "function",
45224
- "name": "singleSidedTickmark",
45225
- "parameters": [
45226
- {
45227
- "name": "height",
46696
+ "name": "padding",
45228
46697
  "type": {
45229
46698
  "text": "number"
45230
- }
46699
+ },
46700
+ "default": "24",
46701
+ "fieldName": "padding"
45231
46702
  },
45232
46703
  {
45233
- "name": "value",
46704
+ "name": "cutAngleStart",
45234
46705
  "type": {
45235
- "text": "number"
45236
- }
46706
+ "text": "number | null"
46707
+ },
46708
+ "default": "null",
46709
+ "fieldName": "cutAngleStart"
45237
46710
  },
45238
46711
  {
45239
- "name": "style",
46712
+ "name": "cutAngleEnd",
45240
46713
  "type": {
45241
- "text": "TickmarkStyle"
45242
- }
46714
+ "text": "number | null"
46715
+ },
46716
+ "default": "null",
46717
+ "fieldName": "cutAngleEnd"
46718
+ },
46719
+ {
46720
+ "name": "roundOutsideCut",
46721
+ "type": {
46722
+ "text": "boolean"
46723
+ },
46724
+ "default": "false",
46725
+ "fieldName": "roundOutsideCut"
46726
+ },
46727
+ {
46728
+ "name": "roundInsideCut",
46729
+ "type": {
46730
+ "text": "boolean"
46731
+ },
46732
+ "default": "false",
46733
+ "fieldName": "roundInsideCut"
46734
+ },
46735
+ {
46736
+ "name": "crosshairEnabled",
46737
+ "type": {
46738
+ "text": "boolean"
46739
+ },
46740
+ "default": "false",
46741
+ "fieldName": "crosshairEnabled"
46742
+ },
46743
+ {
46744
+ "name": "labelFrameEnabled",
46745
+ "type": {
46746
+ "text": "boolean"
46747
+ },
46748
+ "default": "false",
46749
+ "fieldName": "labelFrameEnabled"
45243
46750
  }
45244
- ]
46751
+ ],
46752
+ "superclass": {
46753
+ "name": "LitElement",
46754
+ "package": "lit"
46755
+ },
46756
+ "tagName": "obc-watch",
46757
+ "customElement": true
45245
46758
  }
45246
46759
  ],
45247
46760
  "exports": [
45248
46761
  {
45249
46762
  "kind": "js",
45250
- "name": "singleSidedTickmark",
46763
+ "name": "ObcWatch",
45251
46764
  "declaration": {
45252
- "name": "singleSidedTickmark",
45253
- "module": "src/navigation-instruments/thruster/tickmark.ts"
46765
+ "name": "ObcWatch",
46766
+ "module": "src/navigation-instruments/watch/watch.ts"
45254
46767
  }
45255
- }
45256
- ]
45257
- },
45258
- {
45259
- "kind": "javascript-module",
45260
- "path": "src/navigation-instruments/watch/advice.ts",
45261
- "declarations": [
45262
- {
45263
- "kind": "function",
45264
- "name": "renderAdvice",
45265
- "return": {
45266
- "type": {
45267
- "text": "SVGTemplateResult"
45268
- }
45269
- },
45270
- "parameters": [
45271
- {
45272
- "name": "advice",
45273
- "type": {
45274
- "text": "AngleAdviceRaw"
45275
- }
45276
- }
45277
- ]
45278
- }
45279
- ],
45280
- "exports": [
46768
+ },
45281
46769
  {
45282
- "kind": "js",
45283
- "name": "renderAdvice",
46770
+ "kind": "custom-element-definition",
46771
+ "name": "obc-watch",
45284
46772
  "declaration": {
45285
- "name": "renderAdvice",
45286
- "module": "src/navigation-instruments/watch/advice.ts"
46773
+ "name": "ObcWatch",
46774
+ "module": "src/navigation-instruments/watch/watch.ts"
45287
46775
  }
45288
46776
  }
45289
46777
  ]
45290
46778
  },
45291
46779
  {
45292
46780
  "kind": "javascript-module",
45293
- "path": "src/navigation-instruments/watch/tickmark.ts",
46781
+ "path": "src/navigation-instruments/watch-flat/tickmark-flat.ts",
45294
46782
  "declarations": [
45295
46783
  {
45296
46784
  "kind": "function",
@@ -45336,12 +46824,6 @@
45336
46824
  "text": "TickmarkStyle"
45337
46825
  }
45338
46826
  },
45339
- {
45340
- "name": "scale",
45341
- "type": {
45342
- "text": "number"
45343
- }
45344
- },
45345
46827
  {
45346
46828
  "name": "text",
45347
46829
  "optional": true,
@@ -45358,7 +46840,7 @@
45358
46840
  "name": "tickmarkColor",
45359
46841
  "declaration": {
45360
46842
  "name": "tickmarkColor",
45361
- "module": "src/navigation-instruments/watch/tickmark.ts"
46843
+ "module": "src/navigation-instruments/watch-flat/tickmark-flat.ts"
45362
46844
  }
45363
46845
  },
45364
46846
  {
@@ -45366,115 +46848,138 @@
45366
46848
  "name": "tickmark",
45367
46849
  "declaration": {
45368
46850
  "name": "tickmark",
45369
- "module": "src/navigation-instruments/watch/tickmark.ts"
46851
+ "module": "src/navigation-instruments/watch-flat/tickmark-flat.ts"
45370
46852
  }
45371
46853
  }
45372
46854
  ]
45373
46855
  },
45374
46856
  {
45375
46857
  "kind": "javascript-module",
45376
- "path": "src/navigation-instruments/watch/watch.ts",
46858
+ "path": "src/navigation-instruments/watch-flat/watch-flat.ts",
45377
46859
  "declarations": [
45378
46860
  {
45379
46861
  "kind": "class",
45380
46862
  "description": "",
45381
- "name": "ObcWatch",
46863
+ "name": "ObcWatchFlat",
45382
46864
  "members": [
45383
46865
  {
45384
46866
  "kind": "field",
45385
- "name": "state",
46867
+ "name": "width",
45386
46868
  "type": {
45387
- "text": "InstrumentState"
46869
+ "text": "number"
45388
46870
  },
45389
- "attribute": "state"
46871
+ "default": "352",
46872
+ "attribute": "width"
45390
46873
  },
45391
46874
  {
45392
46875
  "kind": "field",
45393
- "name": "angleSetpoint",
46876
+ "name": "height",
45394
46877
  "type": {
45395
- "text": "number | undefined"
46878
+ "text": "number"
45396
46879
  },
45397
- "attribute": "angleSetpoint"
46880
+ "default": "72",
46881
+ "attribute": "height"
45398
46882
  },
45399
46883
  {
45400
46884
  "kind": "field",
45401
- "name": "atAngleSetpoint",
46885
+ "name": "padding",
45402
46886
  "type": {
45403
- "text": "boolean"
46887
+ "text": "number"
45404
46888
  },
45405
- "default": "false",
45406
- "attribute": "atAngleSetpoint"
46889
+ "default": "0",
46890
+ "attribute": "padding"
45407
46891
  },
45408
46892
  {
45409
46893
  "kind": "field",
45410
- "name": "padding",
46894
+ "name": "rotation",
45411
46895
  "type": {
45412
46896
  "text": "number"
45413
46897
  },
45414
- "default": "24",
45415
- "attribute": "padding"
46898
+ "default": "0",
46899
+ "attribute": "rotation"
45416
46900
  },
45417
46901
  {
45418
46902
  "kind": "field",
45419
- "name": "cutAngleStart",
46903
+ "name": "tickmarkSpacing",
45420
46904
  "type": {
45421
- "text": "number | null"
46905
+ "text": "number"
45422
46906
  },
45423
- "default": "null",
45424
- "attribute": "cutAngleStart"
46907
+ "default": "0",
46908
+ "attribute": "tickmarkSpacing"
45425
46909
  },
45426
46910
  {
45427
46911
  "kind": "field",
45428
- "name": "cutAngleEnd",
46912
+ "name": "angleSetpoint",
45429
46913
  "type": {
45430
- "text": "number | null"
46914
+ "text": "number | undefined"
45431
46915
  },
45432
- "default": "null",
45433
- "attribute": "cutAngleEnd"
46916
+ "attribute": "angleSetpoint"
45434
46917
  },
45435
46918
  {
45436
46919
  "kind": "field",
45437
- "name": "roundOutsideCut",
46920
+ "name": "tickmarks",
45438
46921
  "type": {
45439
- "text": "boolean"
46922
+ "text": "Tickmark[]"
45440
46923
  },
45441
- "default": "false",
45442
- "attribute": "roundOutsideCut"
46924
+ "default": "[]"
45443
46925
  },
45444
46926
  {
45445
46927
  "kind": "field",
45446
- "name": "roundInsideCut",
46928
+ "name": "labels",
45447
46929
  "type": {
45448
- "text": "boolean"
46930
+ "text": "Label[]"
45449
46931
  },
45450
- "default": "false",
45451
- "attribute": "roundInsideCut"
46932
+ "default": "[]"
45452
46933
  },
45453
46934
  {
45454
46935
  "kind": "field",
45455
- "name": "tickmarks",
46936
+ "name": "FOVIndicator",
45456
46937
  "type": {
45457
- "text": "Tickmark[]"
46938
+ "text": "SVGTemplateResult[]"
45458
46939
  },
45459
46940
  "default": "[]"
45460
46941
  },
45461
46942
  {
45462
46943
  "kind": "field",
45463
- "name": "advices",
46944
+ "name": "trackHeight",
46945
+ "attribute": "trackHeight"
46946
+ },
46947
+ {
46948
+ "kind": "field",
46949
+ "name": "ticksHeight",
46950
+ "attribute": "ticksHeight"
46951
+ },
46952
+ {
46953
+ "kind": "field",
46954
+ "name": "borderRadius",
45464
46955
  "type": {
45465
- "text": "AngleAdviceRaw[]"
46956
+ "text": "number"
45466
46957
  },
45467
- "default": "[]"
46958
+ "default": "8",
46959
+ "attribute": "borderRadius"
45468
46960
  },
45469
46961
  {
45470
- "kind": "field",
45471
- "name": "_resizeController",
46962
+ "kind": "method",
46963
+ "name": "renderClipPath",
45472
46964
  "privacy": "private",
45473
- "default": "new ResizeController(this, {})"
46965
+ "return": {
46966
+ "type": {
46967
+ "text": "SVGTemplateResult"
46968
+ }
46969
+ },
46970
+ "parameters": [
46971
+ {
46972
+ "name": "offsetY",
46973
+ "default": "0",
46974
+ "type": {
46975
+ "text": "number"
46976
+ }
46977
+ }
46978
+ ]
45474
46979
  },
45475
46980
  {
45476
46981
  "kind": "method",
45477
- "name": "watchCircle",
46982
+ "name": "renderLabelMask",
45478
46983
  "privacy": "private",
45479
46984
  "return": {
45480
46985
  "type": {
@@ -45484,102 +46989,121 @@
45484
46989
  },
45485
46990
  {
45486
46991
  "kind": "method",
45487
- "name": "renderSetpoint",
46992
+ "name": "renderLabels",
45488
46993
  "privacy": "private",
45489
46994
  "return": {
45490
46995
  "type": {
45491
- "text": "SVGTemplateResult | typeof nothing"
46996
+ "text": "SVGTemplateResult[]"
46997
+ }
46998
+ },
46999
+ "parameters": [
47000
+ {
47001
+ "name": "scale",
47002
+ "type": {
47003
+ "text": "number"
47004
+ }
47005
+ }
47006
+ ]
47007
+ },
47008
+ {
47009
+ "kind": "method",
47010
+ "name": "watchFace",
47011
+ "privacy": "private",
47012
+ "return": {
47013
+ "type": {
47014
+ "text": "SVGTemplateResult"
45492
47015
  }
45493
47016
  }
45494
47017
  }
45495
47018
  ],
45496
47019
  "attributes": [
45497
47020
  {
45498
- "name": "state",
45499
- "type": {
45500
- "text": "InstrumentState"
45501
- },
45502
- "fieldName": "state"
45503
- },
45504
- {
45505
- "name": "angleSetpoint",
47021
+ "name": "width",
45506
47022
  "type": {
45507
- "text": "number | undefined"
47023
+ "text": "number"
45508
47024
  },
45509
- "fieldName": "angleSetpoint"
47025
+ "default": "352",
47026
+ "fieldName": "width"
45510
47027
  },
45511
47028
  {
45512
- "name": "atAngleSetpoint",
47029
+ "name": "height",
45513
47030
  "type": {
45514
- "text": "boolean"
47031
+ "text": "number"
45515
47032
  },
45516
- "default": "false",
45517
- "fieldName": "atAngleSetpoint"
47033
+ "default": "72",
47034
+ "fieldName": "height"
45518
47035
  },
45519
47036
  {
45520
47037
  "name": "padding",
45521
47038
  "type": {
45522
47039
  "text": "number"
45523
47040
  },
45524
- "default": "24",
47041
+ "default": "0",
45525
47042
  "fieldName": "padding"
45526
47043
  },
45527
47044
  {
45528
- "name": "cutAngleStart",
47045
+ "name": "rotation",
45529
47046
  "type": {
45530
- "text": "number | null"
47047
+ "text": "number"
45531
47048
  },
45532
- "default": "null",
45533
- "fieldName": "cutAngleStart"
47049
+ "default": "0",
47050
+ "fieldName": "rotation"
45534
47051
  },
45535
47052
  {
45536
- "name": "cutAngleEnd",
47053
+ "name": "tickmarkSpacing",
45537
47054
  "type": {
45538
- "text": "number | null"
47055
+ "text": "number"
45539
47056
  },
45540
- "default": "null",
45541
- "fieldName": "cutAngleEnd"
47057
+ "default": "0",
47058
+ "fieldName": "tickmarkSpacing"
45542
47059
  },
45543
47060
  {
45544
- "name": "roundOutsideCut",
47061
+ "name": "angleSetpoint",
45545
47062
  "type": {
45546
- "text": "boolean"
47063
+ "text": "number | undefined"
45547
47064
  },
45548
- "default": "false",
45549
- "fieldName": "roundOutsideCut"
47065
+ "fieldName": "angleSetpoint"
45550
47066
  },
45551
47067
  {
45552
- "name": "roundInsideCut",
47068
+ "name": "trackHeight",
47069
+ "fieldName": "trackHeight"
47070
+ },
47071
+ {
47072
+ "name": "ticksHeight",
47073
+ "fieldName": "ticksHeight"
47074
+ },
47075
+ {
47076
+ "name": "borderRadius",
45553
47077
  "type": {
45554
- "text": "boolean"
47078
+ "text": "number"
45555
47079
  },
45556
- "default": "false",
45557
- "fieldName": "roundInsideCut"
47080
+ "default": "8",
47081
+ "fieldName": "borderRadius"
45558
47082
  }
45559
47083
  ],
45560
47084
  "superclass": {
45561
47085
  "name": "LitElement",
45562
47086
  "package": "lit"
45563
47087
  },
45564
- "tagName": "obc-watch",
47088
+ "tagName": "obc-watch-flat",
45565
47089
  "customElement": true
45566
47090
  }
45567
47091
  ],
45568
47092
  "exports": [
45569
47093
  {
45570
47094
  "kind": "js",
45571
- "name": "ObcWatch",
47095
+ "name": "ObcWatchFlat",
45572
47096
  "declaration": {
45573
- "name": "ObcWatch",
45574
- "module": "src/navigation-instruments/watch/watch.ts"
47097
+ "name": "ObcWatchFlat",
47098
+ "module": "src/navigation-instruments/watch-flat/watch-flat.ts"
45575
47099
  }
45576
47100
  },
45577
47101
  {
45578
47102
  "kind": "custom-element-definition",
45579
- "name": "obc-watch",
47103
+ "name": "obc-watch-flat",
45580
47104
  "declaration": {
45581
- "name": "ObcWatch",
45582
- "module": "src/navigation-instruments/watch/watch.ts"
47105
+ "name": "ObcWatchFlat",
47106
+ "module": "src/navigation-instruments/watch-flat/watch-flat.ts"
45583
47107
  }
45584
47108
  }
45585
47109
  ]