@oicl/openbridge-webcomponents 0.0.15-dev-20240916185711 → 0.0.15-dev-20240923190011
Sign up to get free protection for your applications and to get access to all the features.
- package/.storybook/main.ts +8 -0
- package/.storybook/preview.ts +2 -0
- package/__snapshots__/building-blocks-watch--advice.png +0 -0
- package/__snapshots__/building-blocks-watch-flat--primary.png +0 -0
- package/__snapshots__/navigation-instruments-azimuth-thruster--in-command.png +0 -0
- package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--large.png +0 -0
- package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--medium.png +0 -0
- package/__snapshots__/navigation-instruments-azimuth-thruster-labeled--no-command.png +0 -0
- package/__snapshots__/navigation-instruments-compass--primary.png +0 -0
- package/__snapshots__/navigation-instruments-compass-flat--primary.png +0 -0
- package/__snapshots__/navigation-instruments-compass-flat--with-fov-indicator.png +0 -0
- package/custom-elements.json +968 -7
- package/dist/navigation-instruments/compass/arrow.d.ts +7 -0
- package/dist/navigation-instruments/compass/arrow.d.ts.map +1 -0
- package/dist/navigation-instruments/compass/arrow.js +59 -0
- package/dist/navigation-instruments/compass/arrow.js.map +1 -0
- package/dist/navigation-instruments/compass/compass.d.ts +23 -0
- package/dist/navigation-instruments/compass/compass.d.ts.map +1 -0
- package/dist/navigation-instruments/compass/compass.js +139 -0
- package/dist/navigation-instruments/compass/compass.js.map +1 -0
- package/dist/navigation-instruments/compass/radial-tickmark.d.ts +4 -0
- package/dist/navigation-instruments/compass/radial-tickmark.d.ts.map +1 -0
- package/dist/navigation-instruments/compass/radial-tickmark.js +69 -0
- package/dist/navigation-instruments/compass/radial-tickmark.js.map +1 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.css.js +29 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.css.js.map +1 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.d.ts +45 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.d.ts.map +1 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.js +223 -0
- package/dist/navigation-instruments/compass-flat/compass-flat.js.map +1 -0
- package/dist/navigation-instruments/thruster/advice.d.ts.map +1 -1
- package/dist/navigation-instruments/thruster/advice.js +9 -5
- package/dist/navigation-instruments/thruster/advice.js.map +1 -1
- package/dist/navigation-instruments/watch/advice.js +1 -1
- package/dist/navigation-instruments/watch/advice.js.map +1 -1
- package/dist/navigation-instruments/watch/label.d.ts +3 -0
- package/dist/navigation-instruments/watch/label.d.ts.map +1 -0
- package/dist/navigation-instruments/watch/label.js +68 -0
- package/dist/navigation-instruments/watch/label.js.map +1 -0
- package/dist/navigation-instruments/watch/watch.css.js +15 -14
- package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
- package/dist/navigation-instruments/watch/watch.d.ts +3 -0
- package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/watch.js +34 -1
- package/dist/navigation-instruments/watch/watch.js.map +1 -1
- package/dist/navigation-instruments/watch-flat/tickmark-flat.d.ts +20 -0
- package/dist/navigation-instruments/watch-flat/tickmark-flat.d.ts.map +1 -0
- package/dist/navigation-instruments/watch-flat/tickmark-flat.js +53 -0
- package/dist/navigation-instruments/watch-flat/tickmark-flat.js.map +1 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js +32 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js.map +1 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.d.ts +29 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.d.ts.map +1 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.js +184 -0
- package/dist/navigation-instruments/watch-flat/watch-flat.js.map +1 -0
- package/dist/svghelpers/rectangular.d.ts +1 -0
- package/dist/svghelpers/rectangular.d.ts.map +1 -1
- package/dist/svghelpers/rectangular.js +3 -2
- package/dist/svghelpers/rectangular.js.map +1 -1
- package/package.json +16 -11
- package/src/navigation-instruments/compass/arrow.ts +61 -0
- package/src/navigation-instruments/compass/compass.stories.ts +37 -0
- package/src/navigation-instruments/compass/compass.ts +132 -0
- package/src/navigation-instruments/compass/radial-tickmark.ts +77 -0
- package/src/navigation-instruments/compass-flat/compass-flat.css +23 -0
- package/src/navigation-instruments/compass-flat/compass-flat.stories.ts +35 -0
- package/src/navigation-instruments/compass-flat/compass-flat.ts +221 -0
- package/src/navigation-instruments/thruster/advice.ts +9 -5
- package/src/navigation-instruments/watch/advice.ts +1 -1
- package/src/navigation-instruments/watch/label.ts +69 -0
- package/src/navigation-instruments/watch/watch.css +7 -7
- package/src/navigation-instruments/watch/watch.ts +30 -1
- package/src/navigation-instruments/watch-flat/tickmark-flat.ts +62 -0
- package/src/navigation-instruments/watch-flat/watch-flat.css +19 -0
- package/src/navigation-instruments/watch-flat/watch-flat.stories.ts +17 -0
- package/src/navigation-instruments/watch-flat/watch-flat.ts +148 -0
- package/src/svghelpers/rectangular.ts +6 -3
package/custom-elements.json
CHANGED
@@ -242,12 +242,6 @@
|
|
242
242
|
}
|
243
243
|
]
|
244
244
|
},
|
245
|
-
{
|
246
|
-
"kind": "javascript-module",
|
247
|
-
"path": "src/navigation-instruments/types.ts",
|
248
|
-
"declarations": [],
|
249
|
-
"exports": []
|
250
|
-
},
|
251
245
|
{
|
252
246
|
"kind": "javascript-module",
|
253
247
|
"path": "src/icons/icon-01-add.ts",
|
@@ -38222,6 +38216,12 @@
|
|
38222
38216
|
}
|
38223
38217
|
]
|
38224
38218
|
},
|
38219
|
+
{
|
38220
|
+
"kind": "javascript-module",
|
38221
|
+
"path": "src/navigation-instruments/types.ts",
|
38222
|
+
"declarations": [],
|
38223
|
+
"exports": []
|
38224
|
+
},
|
38225
38225
|
{
|
38226
38226
|
"kind": "javascript-module",
|
38227
38227
|
"path": "src/svghelpers/circle.ts",
|
@@ -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
|
]
|
@@ -44353,6 +44353,550 @@
|
|
44353
44353
|
}
|
44354
44354
|
]
|
44355
44355
|
},
|
44356
|
+
{
|
44357
|
+
"kind": "javascript-module",
|
44358
|
+
"path": "src/navigation-instruments/compass/arrow.ts",
|
44359
|
+
"declarations": [
|
44360
|
+
{
|
44361
|
+
"kind": "function",
|
44362
|
+
"name": "arrow",
|
44363
|
+
"return": {
|
44364
|
+
"type": {
|
44365
|
+
"text": "SVGTemplateResult | SVGTemplateResult[]"
|
44366
|
+
}
|
44367
|
+
},
|
44368
|
+
"parameters": [
|
44369
|
+
{
|
44370
|
+
"name": "style",
|
44371
|
+
"type": {
|
44372
|
+
"text": "ArrowStyle"
|
44373
|
+
}
|
44374
|
+
},
|
44375
|
+
{
|
44376
|
+
"name": "angle",
|
44377
|
+
"type": {
|
44378
|
+
"text": "number"
|
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": [
|
44404
|
+
{
|
44405
|
+
"kind": "field",
|
44406
|
+
"name": "heading",
|
44407
|
+
"type": {
|
44408
|
+
"text": "number"
|
44409
|
+
},
|
44410
|
+
"default": "0",
|
44411
|
+
"attribute": "heading"
|
44412
|
+
},
|
44413
|
+
{
|
44414
|
+
"kind": "field",
|
44415
|
+
"name": "courseOverGround",
|
44416
|
+
"type": {
|
44417
|
+
"text": "number"
|
44418
|
+
},
|
44419
|
+
"default": "0",
|
44420
|
+
"attribute": "courseOverGround"
|
44421
|
+
},
|
44422
|
+
{
|
44423
|
+
"kind": "field",
|
44424
|
+
"name": "padding",
|
44425
|
+
"type": {
|
44426
|
+
"text": "number"
|
44427
|
+
},
|
44428
|
+
"default": "48",
|
44429
|
+
"attribute": "padding"
|
44430
|
+
},
|
44431
|
+
{
|
44432
|
+
"kind": "field",
|
44433
|
+
"name": "headingAdvices",
|
44434
|
+
"type": {
|
44435
|
+
"text": "AngleAdvice[]"
|
44436
|
+
},
|
44437
|
+
"default": "[]"
|
44438
|
+
},
|
44439
|
+
{
|
44440
|
+
"kind": "field",
|
44441
|
+
"name": "containerWidth",
|
44442
|
+
"type": {
|
44443
|
+
"text": "number"
|
44444
|
+
},
|
44445
|
+
"default": "0",
|
44446
|
+
"attribute": "containerWidth"
|
44447
|
+
},
|
44448
|
+
{
|
44449
|
+
"kind": "field",
|
44450
|
+
"name": "resizeObserver",
|
44451
|
+
"type": {
|
44452
|
+
"text": "ResizeObserver"
|
44453
|
+
},
|
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 })"
|
44456
|
+
},
|
44457
|
+
{
|
44458
|
+
"kind": "method",
|
44459
|
+
"name": "adjustPadding",
|
44460
|
+
"privacy": "private"
|
44461
|
+
},
|
44462
|
+
{
|
44463
|
+
"kind": "field",
|
44464
|
+
"name": "angleAdviceRaw",
|
44465
|
+
"type": {
|
44466
|
+
"text": "AngleAdviceRaw[]"
|
44467
|
+
},
|
44468
|
+
"privacy": "private",
|
44469
|
+
"readonly": true
|
44470
|
+
}
|
44471
|
+
],
|
44472
|
+
"attributes": [
|
44473
|
+
{
|
44474
|
+
"name": "heading",
|
44475
|
+
"type": {
|
44476
|
+
"text": "number"
|
44477
|
+
},
|
44478
|
+
"default": "0",
|
44479
|
+
"fieldName": "heading"
|
44480
|
+
},
|
44481
|
+
{
|
44482
|
+
"name": "courseOverGround",
|
44483
|
+
"type": {
|
44484
|
+
"text": "number"
|
44485
|
+
},
|
44486
|
+
"default": "0",
|
44487
|
+
"fieldName": "courseOverGround"
|
44488
|
+
},
|
44489
|
+
{
|
44490
|
+
"name": "padding",
|
44491
|
+
"type": {
|
44492
|
+
"text": "number"
|
44493
|
+
},
|
44494
|
+
"default": "48",
|
44495
|
+
"fieldName": "padding"
|
44496
|
+
},
|
44497
|
+
{
|
44498
|
+
"name": "containerWidth",
|
44499
|
+
"type": {
|
44500
|
+
"text": "number"
|
44501
|
+
},
|
44502
|
+
"default": "0",
|
44503
|
+
"fieldName": "containerWidth"
|
44504
|
+
}
|
44505
|
+
],
|
44506
|
+
"superclass": {
|
44507
|
+
"name": "LitElement",
|
44508
|
+
"package": "lit"
|
44509
|
+
},
|
44510
|
+
"tagName": "obc-compass",
|
44511
|
+
"customElement": true
|
44512
|
+
}
|
44513
|
+
],
|
44514
|
+
"exports": [
|
44515
|
+
{
|
44516
|
+
"kind": "js",
|
44517
|
+
"name": "ObcCompass",
|
44518
|
+
"declaration": {
|
44519
|
+
"name": "ObcCompass",
|
44520
|
+
"module": "src/navigation-instruments/compass/compass.ts"
|
44521
|
+
}
|
44522
|
+
},
|
44523
|
+
{
|
44524
|
+
"kind": "custom-element-definition",
|
44525
|
+
"name": "obc-compass",
|
44526
|
+
"declaration": {
|
44527
|
+
"name": "ObcCompass",
|
44528
|
+
"module": "src/navigation-instruments/compass/compass.ts"
|
44529
|
+
}
|
44530
|
+
}
|
44531
|
+
]
|
44532
|
+
},
|
44533
|
+
{
|
44534
|
+
"kind": "javascript-module",
|
44535
|
+
"path": "src/navigation-instruments/compass/radial-tickmark.ts",
|
44536
|
+
"declarations": [
|
44537
|
+
{
|
44538
|
+
"kind": "function",
|
44539
|
+
"name": "radialTickmarks",
|
44540
|
+
"return": {
|
44541
|
+
"type": {
|
44542
|
+
"text": "SVGTemplateResult[]"
|
44543
|
+
}
|
44544
|
+
},
|
44545
|
+
"parameters": [
|
44546
|
+
{
|
44547
|
+
"name": "minAngle",
|
44548
|
+
"type": {
|
44549
|
+
"text": "number"
|
44550
|
+
}
|
44551
|
+
},
|
44552
|
+
{
|
44553
|
+
"name": "maxAngle",
|
44554
|
+
"type": {
|
44555
|
+
"text": "number"
|
44556
|
+
}
|
44557
|
+
},
|
44558
|
+
{
|
44559
|
+
"name": "type",
|
44560
|
+
"type": {
|
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": [
|
44587
|
+
{
|
44588
|
+
"kind": "field",
|
44589
|
+
"name": "noPadding",
|
44590
|
+
"type": {
|
44591
|
+
"text": "boolean"
|
44592
|
+
},
|
44593
|
+
"default": "true",
|
44594
|
+
"attribute": "noPadding"
|
44595
|
+
},
|
44596
|
+
{
|
44597
|
+
"kind": "field",
|
44598
|
+
"name": "FOVIndicator",
|
44599
|
+
"type": {
|
44600
|
+
"text": "boolean"
|
44601
|
+
},
|
44602
|
+
"default": "false",
|
44603
|
+
"attribute": "FOVIndicator"
|
44604
|
+
},
|
44605
|
+
{
|
44606
|
+
"kind": "field",
|
44607
|
+
"name": "padding",
|
44608
|
+
"type": {
|
44609
|
+
"text": "number"
|
44610
|
+
},
|
44611
|
+
"default": "16",
|
44612
|
+
"attribute": "padding"
|
44613
|
+
},
|
44614
|
+
{
|
44615
|
+
"kind": "field",
|
44616
|
+
"name": "heading",
|
44617
|
+
"type": {
|
44618
|
+
"text": "number"
|
44619
|
+
},
|
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 })"
|
44693
|
+
},
|
44694
|
+
{
|
44695
|
+
"kind": "method",
|
44696
|
+
"name": "updateLabels",
|
44697
|
+
"privacy": "private"
|
44698
|
+
},
|
44699
|
+
{
|
44700
|
+
"kind": "method",
|
44701
|
+
"name": "generateIntervalTickmarks",
|
44702
|
+
"privacy": "private",
|
44703
|
+
"return": {
|
44704
|
+
"type": {
|
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[]"
|
44760
|
+
}
|
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
|
+
]
|
44789
|
+
}
|
44790
|
+
],
|
44791
|
+
"attributes": [
|
44792
|
+
{
|
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
|
+
},
|
44356
44900
|
{
|
44357
44901
|
"kind": "javascript-module",
|
44358
44902
|
"path": "src/navigation-instruments/instrument-field/instrument-field.ts",
|
@@ -45851,6 +46395,39 @@
|
|
45851
46395
|
}
|
45852
46396
|
]
|
45853
46397
|
},
|
46398
|
+
{
|
46399
|
+
"kind": "javascript-module",
|
46400
|
+
"path": "src/navigation-instruments/watch/label.ts",
|
46401
|
+
"declarations": [
|
46402
|
+
{
|
46403
|
+
"kind": "function",
|
46404
|
+
"name": "renderLabels",
|
46405
|
+
"return": {
|
46406
|
+
"type": {
|
46407
|
+
"text": "SVGTemplateResult"
|
46408
|
+
}
|
46409
|
+
},
|
46410
|
+
"parameters": [
|
46411
|
+
{
|
46412
|
+
"name": "scale",
|
46413
|
+
"type": {
|
46414
|
+
"text": "number"
|
46415
|
+
}
|
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
|
+
},
|
45854
46431
|
{
|
45855
46432
|
"kind": "javascript-module",
|
45856
46433
|
"path": "src/navigation-instruments/watch/tickmark.ts",
|
@@ -46029,6 +46606,24 @@
|
|
46029
46606
|
},
|
46030
46607
|
"default": "[]"
|
46031
46608
|
},
|
46609
|
+
{
|
46610
|
+
"kind": "field",
|
46611
|
+
"name": "crosshairEnabled",
|
46612
|
+
"type": {
|
46613
|
+
"text": "boolean"
|
46614
|
+
},
|
46615
|
+
"default": "false",
|
46616
|
+
"attribute": "crosshairEnabled"
|
46617
|
+
},
|
46618
|
+
{
|
46619
|
+
"kind": "field",
|
46620
|
+
"name": "labelFrameEnabled",
|
46621
|
+
"type": {
|
46622
|
+
"text": "boolean"
|
46623
|
+
},
|
46624
|
+
"default": "false",
|
46625
|
+
"attribute": "labelFrameEnabled"
|
46626
|
+
},
|
46032
46627
|
{
|
46033
46628
|
"kind": "field",
|
46034
46629
|
"name": "_resizeController",
|
@@ -46045,6 +46640,24 @@
|
|
46045
46640
|
}
|
46046
46641
|
}
|
46047
46642
|
},
|
46643
|
+
{
|
46644
|
+
"kind": "method",
|
46645
|
+
"name": "renderCrosshair",
|
46646
|
+
"privacy": "private",
|
46647
|
+
"return": {
|
46648
|
+
"type": {
|
46649
|
+
"text": "SVGTemplateResult"
|
46650
|
+
}
|
46651
|
+
},
|
46652
|
+
"parameters": [
|
46653
|
+
{
|
46654
|
+
"name": "radius",
|
46655
|
+
"type": {
|
46656
|
+
"text": "number"
|
46657
|
+
}
|
46658
|
+
}
|
46659
|
+
]
|
46660
|
+
},
|
46048
46661
|
{
|
46049
46662
|
"kind": "method",
|
46050
46663
|
"name": "renderSetpoint",
|
@@ -46118,6 +46731,22 @@
|
|
46118
46731
|
},
|
46119
46732
|
"default": "false",
|
46120
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"
|
46121
46750
|
}
|
46122
46751
|
],
|
46123
46752
|
"superclass": {
|
@@ -46147,6 +46776,338 @@
|
|
46147
46776
|
}
|
46148
46777
|
]
|
46149
46778
|
},
|
46779
|
+
{
|
46780
|
+
"kind": "javascript-module",
|
46781
|
+
"path": "src/navigation-instruments/watch-flat/tickmark-flat.ts",
|
46782
|
+
"declarations": [
|
46783
|
+
{
|
46784
|
+
"kind": "function",
|
46785
|
+
"name": "tickmarkColor",
|
46786
|
+
"return": {
|
46787
|
+
"type": {
|
46788
|
+
"text": "string"
|
46789
|
+
}
|
46790
|
+
},
|
46791
|
+
"parameters": [
|
46792
|
+
{
|
46793
|
+
"name": "style",
|
46794
|
+
"type": {
|
46795
|
+
"text": "TickmarkStyle"
|
46796
|
+
}
|
46797
|
+
}
|
46798
|
+
]
|
46799
|
+
},
|
46800
|
+
{
|
46801
|
+
"kind": "function",
|
46802
|
+
"name": "tickmark",
|
46803
|
+
"return": {
|
46804
|
+
"type": {
|
46805
|
+
"text": "SVGTemplateResult | SVGTemplateResult[]"
|
46806
|
+
}
|
46807
|
+
},
|
46808
|
+
"parameters": [
|
46809
|
+
{
|
46810
|
+
"name": "angle",
|
46811
|
+
"type": {
|
46812
|
+
"text": "number"
|
46813
|
+
}
|
46814
|
+
},
|
46815
|
+
{
|
46816
|
+
"name": "tickmarkSize",
|
46817
|
+
"type": {
|
46818
|
+
"text": "TickmarkType"
|
46819
|
+
}
|
46820
|
+
},
|
46821
|
+
{
|
46822
|
+
"name": "style",
|
46823
|
+
"type": {
|
46824
|
+
"text": "TickmarkStyle"
|
46825
|
+
}
|
46826
|
+
},
|
46827
|
+
{
|
46828
|
+
"name": "text",
|
46829
|
+
"optional": true,
|
46830
|
+
"type": {
|
46831
|
+
"text": "string"
|
46832
|
+
}
|
46833
|
+
}
|
46834
|
+
]
|
46835
|
+
}
|
46836
|
+
],
|
46837
|
+
"exports": [
|
46838
|
+
{
|
46839
|
+
"kind": "js",
|
46840
|
+
"name": "tickmarkColor",
|
46841
|
+
"declaration": {
|
46842
|
+
"name": "tickmarkColor",
|
46843
|
+
"module": "src/navigation-instruments/watch-flat/tickmark-flat.ts"
|
46844
|
+
}
|
46845
|
+
},
|
46846
|
+
{
|
46847
|
+
"kind": "js",
|
46848
|
+
"name": "tickmark",
|
46849
|
+
"declaration": {
|
46850
|
+
"name": "tickmark",
|
46851
|
+
"module": "src/navigation-instruments/watch-flat/tickmark-flat.ts"
|
46852
|
+
}
|
46853
|
+
}
|
46854
|
+
]
|
46855
|
+
},
|
46856
|
+
{
|
46857
|
+
"kind": "javascript-module",
|
46858
|
+
"path": "src/navigation-instruments/watch-flat/watch-flat.ts",
|
46859
|
+
"declarations": [
|
46860
|
+
{
|
46861
|
+
"kind": "class",
|
46862
|
+
"description": "",
|
46863
|
+
"name": "ObcWatchFlat",
|
46864
|
+
"members": [
|
46865
|
+
{
|
46866
|
+
"kind": "field",
|
46867
|
+
"name": "width",
|
46868
|
+
"type": {
|
46869
|
+
"text": "number"
|
46870
|
+
},
|
46871
|
+
"default": "352",
|
46872
|
+
"attribute": "width"
|
46873
|
+
},
|
46874
|
+
{
|
46875
|
+
"kind": "field",
|
46876
|
+
"name": "height",
|
46877
|
+
"type": {
|
46878
|
+
"text": "number"
|
46879
|
+
},
|
46880
|
+
"default": "72",
|
46881
|
+
"attribute": "height"
|
46882
|
+
},
|
46883
|
+
{
|
46884
|
+
"kind": "field",
|
46885
|
+
"name": "padding",
|
46886
|
+
"type": {
|
46887
|
+
"text": "number"
|
46888
|
+
},
|
46889
|
+
"default": "0",
|
46890
|
+
"attribute": "padding"
|
46891
|
+
},
|
46892
|
+
{
|
46893
|
+
"kind": "field",
|
46894
|
+
"name": "rotation",
|
46895
|
+
"type": {
|
46896
|
+
"text": "number"
|
46897
|
+
},
|
46898
|
+
"default": "0",
|
46899
|
+
"attribute": "rotation"
|
46900
|
+
},
|
46901
|
+
{
|
46902
|
+
"kind": "field",
|
46903
|
+
"name": "tickmarkSpacing",
|
46904
|
+
"type": {
|
46905
|
+
"text": "number"
|
46906
|
+
},
|
46907
|
+
"default": "0",
|
46908
|
+
"attribute": "tickmarkSpacing"
|
46909
|
+
},
|
46910
|
+
{
|
46911
|
+
"kind": "field",
|
46912
|
+
"name": "angleSetpoint",
|
46913
|
+
"type": {
|
46914
|
+
"text": "number | undefined"
|
46915
|
+
},
|
46916
|
+
"attribute": "angleSetpoint"
|
46917
|
+
},
|
46918
|
+
{
|
46919
|
+
"kind": "field",
|
46920
|
+
"name": "tickmarks",
|
46921
|
+
"type": {
|
46922
|
+
"text": "Tickmark[]"
|
46923
|
+
},
|
46924
|
+
"default": "[]"
|
46925
|
+
},
|
46926
|
+
{
|
46927
|
+
"kind": "field",
|
46928
|
+
"name": "labels",
|
46929
|
+
"type": {
|
46930
|
+
"text": "Label[]"
|
46931
|
+
},
|
46932
|
+
"default": "[]"
|
46933
|
+
},
|
46934
|
+
{
|
46935
|
+
"kind": "field",
|
46936
|
+
"name": "FOVIndicator",
|
46937
|
+
"type": {
|
46938
|
+
"text": "SVGTemplateResult[]"
|
46939
|
+
},
|
46940
|
+
"default": "[]"
|
46941
|
+
},
|
46942
|
+
{
|
46943
|
+
"kind": "field",
|
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",
|
46955
|
+
"type": {
|
46956
|
+
"text": "number"
|
46957
|
+
},
|
46958
|
+
"default": "8",
|
46959
|
+
"attribute": "borderRadius"
|
46960
|
+
},
|
46961
|
+
{
|
46962
|
+
"kind": "method",
|
46963
|
+
"name": "renderClipPath",
|
46964
|
+
"privacy": "private",
|
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
|
+
]
|
46979
|
+
},
|
46980
|
+
{
|
46981
|
+
"kind": "method",
|
46982
|
+
"name": "renderLabelMask",
|
46983
|
+
"privacy": "private",
|
46984
|
+
"return": {
|
46985
|
+
"type": {
|
46986
|
+
"text": "SVGTemplateResult"
|
46987
|
+
}
|
46988
|
+
}
|
46989
|
+
},
|
46990
|
+
{
|
46991
|
+
"kind": "method",
|
46992
|
+
"name": "renderLabels",
|
46993
|
+
"privacy": "private",
|
46994
|
+
"return": {
|
46995
|
+
"type": {
|
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"
|
47015
|
+
}
|
47016
|
+
}
|
47017
|
+
}
|
47018
|
+
],
|
47019
|
+
"attributes": [
|
47020
|
+
{
|
47021
|
+
"name": "width",
|
47022
|
+
"type": {
|
47023
|
+
"text": "number"
|
47024
|
+
},
|
47025
|
+
"default": "352",
|
47026
|
+
"fieldName": "width"
|
47027
|
+
},
|
47028
|
+
{
|
47029
|
+
"name": "height",
|
47030
|
+
"type": {
|
47031
|
+
"text": "number"
|
47032
|
+
},
|
47033
|
+
"default": "72",
|
47034
|
+
"fieldName": "height"
|
47035
|
+
},
|
47036
|
+
{
|
47037
|
+
"name": "padding",
|
47038
|
+
"type": {
|
47039
|
+
"text": "number"
|
47040
|
+
},
|
47041
|
+
"default": "0",
|
47042
|
+
"fieldName": "padding"
|
47043
|
+
},
|
47044
|
+
{
|
47045
|
+
"name": "rotation",
|
47046
|
+
"type": {
|
47047
|
+
"text": "number"
|
47048
|
+
},
|
47049
|
+
"default": "0",
|
47050
|
+
"fieldName": "rotation"
|
47051
|
+
},
|
47052
|
+
{
|
47053
|
+
"name": "tickmarkSpacing",
|
47054
|
+
"type": {
|
47055
|
+
"text": "number"
|
47056
|
+
},
|
47057
|
+
"default": "0",
|
47058
|
+
"fieldName": "tickmarkSpacing"
|
47059
|
+
},
|
47060
|
+
{
|
47061
|
+
"name": "angleSetpoint",
|
47062
|
+
"type": {
|
47063
|
+
"text": "number | undefined"
|
47064
|
+
},
|
47065
|
+
"fieldName": "angleSetpoint"
|
47066
|
+
},
|
47067
|
+
{
|
47068
|
+
"name": "trackHeight",
|
47069
|
+
"fieldName": "trackHeight"
|
47070
|
+
},
|
47071
|
+
{
|
47072
|
+
"name": "ticksHeight",
|
47073
|
+
"fieldName": "ticksHeight"
|
47074
|
+
},
|
47075
|
+
{
|
47076
|
+
"name": "borderRadius",
|
47077
|
+
"type": {
|
47078
|
+
"text": "number"
|
47079
|
+
},
|
47080
|
+
"default": "8",
|
47081
|
+
"fieldName": "borderRadius"
|
47082
|
+
}
|
47083
|
+
],
|
47084
|
+
"superclass": {
|
47085
|
+
"name": "LitElement",
|
47086
|
+
"package": "lit"
|
47087
|
+
},
|
47088
|
+
"tagName": "obc-watch-flat",
|
47089
|
+
"customElement": true
|
47090
|
+
}
|
47091
|
+
],
|
47092
|
+
"exports": [
|
47093
|
+
{
|
47094
|
+
"kind": "js",
|
47095
|
+
"name": "ObcWatchFlat",
|
47096
|
+
"declaration": {
|
47097
|
+
"name": "ObcWatchFlat",
|
47098
|
+
"module": "src/navigation-instruments/watch-flat/watch-flat.ts"
|
47099
|
+
}
|
47100
|
+
},
|
47101
|
+
{
|
47102
|
+
"kind": "custom-element-definition",
|
47103
|
+
"name": "obc-watch-flat",
|
47104
|
+
"declaration": {
|
47105
|
+
"name": "ObcWatchFlat",
|
47106
|
+
"module": "src/navigation-instruments/watch-flat/watch-flat.ts"
|
47107
|
+
}
|
47108
|
+
}
|
47109
|
+
]
|
47110
|
+
},
|
46150
47111
|
{
|
46151
47112
|
"kind": "javascript-module",
|
46152
47113
|
"path": "src/components/alert-icon/icons/icon-14-alarm-silenced-a.ts",
|