@oicl/openbridge-webcomponents 0.0.15-dev-20241104120701 → 0.0.15-dev-20241106185316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__snapshots__/building-blocks-poi-graphic-line--primary.png +0 -0
- package/__snapshots__/building-blocks-poi-line--primary.png +0 -0
- package/__snapshots__/button-poi-target-button--primary.png +0 -0
- package/__snapshots__/navigation-instruments-poi-target--primary.png +0 -0
- package/custom-elements.json +459 -6
- package/dist/components/brilliance-menu/brilliance-menu.d.ts +2 -0
- package/dist/components/brilliance-menu/brilliance-menu.d.ts.map +1 -1
- package/dist/components/brilliance-menu/brilliance-menu.js +25 -17
- package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
- package/dist/components/poi-target-button/poi-target-button.css.js +119 -0
- package/dist/components/poi-target-button/poi-target-button.css.js.map +1 -0
- package/dist/components/poi-target-button/poi-target-button.d.ts +19 -0
- package/dist/components/poi-target-button/poi-target-button.d.ts.map +1 -0
- package/dist/components/poi-target-button/poi-target-button.js +67 -0
- package/dist/components/poi-target-button/poi-target-button.js.map +1 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-config.d.ts +18 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-config.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-config.js +64 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-config.js.map +1 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.css.js +8 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.css.js.map +1 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.d.ts +15 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.js +134 -0
- package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.js.map +1 -0
- package/dist/navigation-instruments/poi-line/poi-line.css.js +14 -0
- package/dist/navigation-instruments/poi-line/poi-line.css.js.map +1 -0
- package/dist/navigation-instruments/poi-line/poi-line.d.ts +15 -0
- package/dist/navigation-instruments/poi-line/poi-line.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-line/poi-line.js +49 -0
- package/dist/navigation-instruments/poi-line/poi-line.js.map +1 -0
- package/dist/navigation-instruments/poi-line/pointerDot.d.ts +5 -0
- package/dist/navigation-instruments/poi-line/pointerDot.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-line/pointerDot.js +105 -0
- package/dist/navigation-instruments/poi-line/pointerDot.js.map +1 -0
- package/dist/navigation-instruments/poi-target/arrow.d.ts +3 -0
- package/dist/navigation-instruments/poi-target/arrow.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-target/arrow.js +60 -0
- package/dist/navigation-instruments/poi-target/arrow.js.map +1 -0
- package/dist/navigation-instruments/poi-target/poi-target.css.js +26 -0
- package/dist/navigation-instruments/poi-target/poi-target.css.js.map +1 -0
- package/dist/navigation-instruments/poi-target/poi-target.d.ts +27 -0
- package/dist/navigation-instruments/poi-target/poi-target.d.ts.map +1 -0
- package/dist/navigation-instruments/poi-target/poi-target.js +126 -0
- package/dist/navigation-instruments/poi-target/poi-target.js.map +1 -0
- package/package.json +1 -1
- package/src/components/brilliance-menu/brilliance-menu.ts +27 -19
- package/src/components/poi-target-button/poi-target-button.css +57 -0
- package/src/components/poi-target-button/poi-target-button.stories.ts +30 -0
- package/src/components/poi-target-button/poi-target-button.ts +47 -0
- package/src/navigation-instruments/poi-graphic-line/poi-config.ts +45 -0
- package/src/navigation-instruments/poi-graphic-line/poi-graphic-line.css +3 -0
- package/src/navigation-instruments/poi-graphic-line/poi-graphic-line.stories.ts +33 -0
- package/src/navigation-instruments/poi-graphic-line/poi-graphic-line.ts +116 -0
- package/src/navigation-instruments/poi-line/poi-line.css +8 -0
- package/src/navigation-instruments/poi-line/poi-line.stories.ts +31 -0
- package/src/navigation-instruments/poi-line/poi-line.ts +32 -0
- package/src/navigation-instruments/poi-line/pointerDot.ts +102 -0
- package/src/navigation-instruments/poi-target/arrow.ts +62 -0
- package/src/navigation-instruments/poi-target/poi-target.css +22 -0
- package/src/navigation-instruments/poi-target/poi-target.stories.ts +43 -0
- package/src/navigation-instruments/poi-target/poi-target.ts +105 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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",
|
@@ -40734,6 +40734,16 @@
|
|
40734
40734
|
"description": "Show the auto palette toggle",
|
40735
40735
|
"attribute": "showAutoPalette"
|
40736
40736
|
},
|
40737
|
+
{
|
40738
|
+
"kind": "field",
|
40739
|
+
"name": "hideBrightness",
|
40740
|
+
"type": {
|
40741
|
+
"text": "Boolean"
|
40742
|
+
},
|
40743
|
+
"default": "false",
|
40744
|
+
"description": "Show the auto brightness toggle",
|
40745
|
+
"attribute": "hideBrightness"
|
40746
|
+
},
|
40737
40747
|
{
|
40738
40748
|
"kind": "method",
|
40739
40749
|
"name": "onPaletteChanged",
|
@@ -40811,6 +40821,15 @@
|
|
40811
40821
|
"default": "false",
|
40812
40822
|
"description": "Show the auto palette toggle",
|
40813
40823
|
"fieldName": "showAutoPalette"
|
40824
|
+
},
|
40825
|
+
{
|
40826
|
+
"name": "hideBrightness",
|
40827
|
+
"type": {
|
40828
|
+
"text": "Boolean"
|
40829
|
+
},
|
40830
|
+
"default": "false",
|
40831
|
+
"description": "Show the auto brightness toggle",
|
40832
|
+
"fieldName": "hideBrightness"
|
40814
40833
|
}
|
40815
40834
|
],
|
40816
40835
|
"superclass": {
|
@@ -42035,6 +42054,94 @@
|
|
42035
42054
|
}
|
42036
42055
|
]
|
42037
42056
|
},
|
42057
|
+
{
|
42058
|
+
"kind": "javascript-module",
|
42059
|
+
"path": "src/components/poi-target-button/poi-target-button.ts",
|
42060
|
+
"declarations": [
|
42061
|
+
{
|
42062
|
+
"kind": "class",
|
42063
|
+
"description": "",
|
42064
|
+
"name": "ObcPoiTargetButton",
|
42065
|
+
"members": [
|
42066
|
+
{
|
42067
|
+
"kind": "field",
|
42068
|
+
"name": "value",
|
42069
|
+
"type": {
|
42070
|
+
"text": "PoiTargetButtonValue"
|
42071
|
+
},
|
42072
|
+
"attribute": "value"
|
42073
|
+
},
|
42074
|
+
{
|
42075
|
+
"kind": "field",
|
42076
|
+
"name": "hasPointer",
|
42077
|
+
"type": {
|
42078
|
+
"text": "boolean"
|
42079
|
+
},
|
42080
|
+
"default": "false",
|
42081
|
+
"attribute": "hasPointer"
|
42082
|
+
},
|
42083
|
+
{
|
42084
|
+
"kind": "field",
|
42085
|
+
"name": "relativeDirection",
|
42086
|
+
"type": {
|
42087
|
+
"text": "number"
|
42088
|
+
},
|
42089
|
+
"default": "0",
|
42090
|
+
"attribute": "relativeDirection"
|
42091
|
+
}
|
42092
|
+
],
|
42093
|
+
"attributes": [
|
42094
|
+
{
|
42095
|
+
"name": "value",
|
42096
|
+
"type": {
|
42097
|
+
"text": "PoiTargetButtonValue"
|
42098
|
+
},
|
42099
|
+
"fieldName": "value"
|
42100
|
+
},
|
42101
|
+
{
|
42102
|
+
"name": "hasPointer",
|
42103
|
+
"type": {
|
42104
|
+
"text": "boolean"
|
42105
|
+
},
|
42106
|
+
"default": "false",
|
42107
|
+
"fieldName": "hasPointer"
|
42108
|
+
},
|
42109
|
+
{
|
42110
|
+
"name": "relativeDirection",
|
42111
|
+
"type": {
|
42112
|
+
"text": "number"
|
42113
|
+
},
|
42114
|
+
"default": "0",
|
42115
|
+
"fieldName": "relativeDirection"
|
42116
|
+
}
|
42117
|
+
],
|
42118
|
+
"superclass": {
|
42119
|
+
"name": "LitElement",
|
42120
|
+
"package": "lit"
|
42121
|
+
},
|
42122
|
+
"tagName": "obc-poi-target-button",
|
42123
|
+
"customElement": true
|
42124
|
+
}
|
42125
|
+
],
|
42126
|
+
"exports": [
|
42127
|
+
{
|
42128
|
+
"kind": "js",
|
42129
|
+
"name": "ObcPoiTargetButton",
|
42130
|
+
"declaration": {
|
42131
|
+
"name": "ObcPoiTargetButton",
|
42132
|
+
"module": "src/components/poi-target-button/poi-target-button.ts"
|
42133
|
+
}
|
42134
|
+
},
|
42135
|
+
{
|
42136
|
+
"kind": "custom-element-definition",
|
42137
|
+
"name": "obc-poi-target-button",
|
42138
|
+
"declaration": {
|
42139
|
+
"name": "ObcPoiTargetButton",
|
42140
|
+
"module": "src/components/poi-target-button/poi-target-button.ts"
|
42141
|
+
}
|
42142
|
+
}
|
42143
|
+
]
|
42144
|
+
},
|
42038
42145
|
{
|
42039
42146
|
"kind": "javascript-module",
|
42040
42147
|
"path": "src/components/rich-button/rich-button.ts",
|
@@ -45444,6 +45551,352 @@
|
|
45444
45551
|
}
|
45445
45552
|
]
|
45446
45553
|
},
|
45554
|
+
{
|
45555
|
+
"kind": "javascript-module",
|
45556
|
+
"path": "src/navigation-instruments/poi-graphic-line/poi-config.ts",
|
45557
|
+
"declarations": [
|
45558
|
+
{
|
45559
|
+
"kind": "variable",
|
45560
|
+
"name": "POI_STYLES",
|
45561
|
+
"type": {
|
45562
|
+
"text": "Record<POIStyle, POIStyleConfig>"
|
45563
|
+
},
|
45564
|
+
"default": "{\n [POIStyle.Normal]: {\n lineColor: 'var(--element-active-inverted-color)',\n outlineColor: 'var(--element-disabled-color)',\n },\n [POIStyle.Raised]: {\n lineColor: 'var(--element-active-inverted-color)',\n outlineColor: 'var(--border-outline-color)',\n },\n [POIStyle.Enhanced]: {\n lineColor: 'var(--instrument-enhanced-secondary-color)',\n outlineColor: 'var(--element-active-inverted-color)',\n },\n [POIStyle.Input]: {\n lineColor: 'var(--instrument-enhanced-primary-color)',\n outlineColor: 'var(--element-active-inverted-color)',\n },\n [POIStyle.Light]: {\n lineColor: 'var(--instrument-port-color)',\n outlineColor: 'var(--element-active-color)',\n },\n [POIStyle.Track]: {\n lineColor: 'var(--instrument-enhanced-primary-color)',\n outlineColor: 'var(--element-active-inverted-color)',\n },\n}"
|
45565
|
+
}
|
45566
|
+
],
|
45567
|
+
"exports": [
|
45568
|
+
{
|
45569
|
+
"kind": "js",
|
45570
|
+
"name": "POI_STYLES",
|
45571
|
+
"declaration": {
|
45572
|
+
"name": "POI_STYLES",
|
45573
|
+
"module": "src/navigation-instruments/poi-graphic-line/poi-config.ts"
|
45574
|
+
}
|
45575
|
+
}
|
45576
|
+
]
|
45577
|
+
},
|
45578
|
+
{
|
45579
|
+
"kind": "javascript-module",
|
45580
|
+
"path": "src/navigation-instruments/poi-graphic-line/poi-graphic-line.ts",
|
45581
|
+
"declarations": [
|
45582
|
+
{
|
45583
|
+
"kind": "class",
|
45584
|
+
"description": "",
|
45585
|
+
"name": "ObcPoiGraphicLine",
|
45586
|
+
"members": [
|
45587
|
+
{
|
45588
|
+
"kind": "field",
|
45589
|
+
"name": "height",
|
45590
|
+
"type": {
|
45591
|
+
"text": "number"
|
45592
|
+
},
|
45593
|
+
"default": "100",
|
45594
|
+
"attribute": "height"
|
45595
|
+
},
|
45596
|
+
{
|
45597
|
+
"kind": "field",
|
45598
|
+
"name": "lineStyle",
|
45599
|
+
"type": {
|
45600
|
+
"text": "POIStyle"
|
45601
|
+
},
|
45602
|
+
"attribute": "lineStyle"
|
45603
|
+
},
|
45604
|
+
{
|
45605
|
+
"kind": "field",
|
45606
|
+
"name": "lineState",
|
45607
|
+
"type": {
|
45608
|
+
"text": "POIState"
|
45609
|
+
},
|
45610
|
+
"attribute": "lineState"
|
45611
|
+
}
|
45612
|
+
],
|
45613
|
+
"attributes": [
|
45614
|
+
{
|
45615
|
+
"name": "height",
|
45616
|
+
"type": {
|
45617
|
+
"text": "number"
|
45618
|
+
},
|
45619
|
+
"default": "100",
|
45620
|
+
"fieldName": "height"
|
45621
|
+
},
|
45622
|
+
{
|
45623
|
+
"name": "lineStyle",
|
45624
|
+
"type": {
|
45625
|
+
"text": "POIStyle"
|
45626
|
+
},
|
45627
|
+
"fieldName": "lineStyle"
|
45628
|
+
},
|
45629
|
+
{
|
45630
|
+
"name": "lineState",
|
45631
|
+
"type": {
|
45632
|
+
"text": "POIState"
|
45633
|
+
},
|
45634
|
+
"fieldName": "lineState"
|
45635
|
+
}
|
45636
|
+
],
|
45637
|
+
"superclass": {
|
45638
|
+
"name": "LitElement",
|
45639
|
+
"package": "lit"
|
45640
|
+
},
|
45641
|
+
"tagName": "obc-poi-graphic-line",
|
45642
|
+
"customElement": true
|
45643
|
+
}
|
45644
|
+
],
|
45645
|
+
"exports": [
|
45646
|
+
{
|
45647
|
+
"kind": "js",
|
45648
|
+
"name": "ObcPoiGraphicLine",
|
45649
|
+
"declaration": {
|
45650
|
+
"name": "ObcPoiGraphicLine",
|
45651
|
+
"module": "src/navigation-instruments/poi-graphic-line/poi-graphic-line.ts"
|
45652
|
+
}
|
45653
|
+
},
|
45654
|
+
{
|
45655
|
+
"kind": "custom-element-definition",
|
45656
|
+
"name": "obc-poi-graphic-line",
|
45657
|
+
"declaration": {
|
45658
|
+
"name": "ObcPoiGraphicLine",
|
45659
|
+
"module": "src/navigation-instruments/poi-graphic-line/poi-graphic-line.ts"
|
45660
|
+
}
|
45661
|
+
}
|
45662
|
+
]
|
45663
|
+
},
|
45664
|
+
{
|
45665
|
+
"kind": "javascript-module",
|
45666
|
+
"path": "src/navigation-instruments/poi-line/poi-line.ts",
|
45667
|
+
"declarations": [
|
45668
|
+
{
|
45669
|
+
"kind": "class",
|
45670
|
+
"description": "",
|
45671
|
+
"name": "ObcPoiLine",
|
45672
|
+
"members": [
|
45673
|
+
{
|
45674
|
+
"kind": "field",
|
45675
|
+
"name": "height",
|
45676
|
+
"type": {
|
45677
|
+
"text": "number"
|
45678
|
+
},
|
45679
|
+
"default": "96",
|
45680
|
+
"attribute": "height"
|
45681
|
+
},
|
45682
|
+
{
|
45683
|
+
"kind": "field",
|
45684
|
+
"name": "lineStyle",
|
45685
|
+
"type": {
|
45686
|
+
"text": "POIStyle"
|
45687
|
+
},
|
45688
|
+
"attribute": "lineStyle"
|
45689
|
+
}
|
45690
|
+
],
|
45691
|
+
"attributes": [
|
45692
|
+
{
|
45693
|
+
"name": "height",
|
45694
|
+
"type": {
|
45695
|
+
"text": "number"
|
45696
|
+
},
|
45697
|
+
"default": "96",
|
45698
|
+
"fieldName": "height"
|
45699
|
+
},
|
45700
|
+
{
|
45701
|
+
"name": "lineStyle",
|
45702
|
+
"type": {
|
45703
|
+
"text": "POIStyle"
|
45704
|
+
},
|
45705
|
+
"fieldName": "lineStyle"
|
45706
|
+
}
|
45707
|
+
],
|
45708
|
+
"superclass": {
|
45709
|
+
"name": "LitElement",
|
45710
|
+
"package": "lit"
|
45711
|
+
},
|
45712
|
+
"tagName": "obc-poi-line",
|
45713
|
+
"customElement": true
|
45714
|
+
}
|
45715
|
+
],
|
45716
|
+
"exports": [
|
45717
|
+
{
|
45718
|
+
"kind": "js",
|
45719
|
+
"name": "ObcPoiLine",
|
45720
|
+
"declaration": {
|
45721
|
+
"name": "ObcPoiLine",
|
45722
|
+
"module": "src/navigation-instruments/poi-line/poi-line.ts"
|
45723
|
+
}
|
45724
|
+
},
|
45725
|
+
{
|
45726
|
+
"kind": "custom-element-definition",
|
45727
|
+
"name": "obc-poi-line",
|
45728
|
+
"declaration": {
|
45729
|
+
"name": "ObcPoiLine",
|
45730
|
+
"module": "src/navigation-instruments/poi-line/poi-line.ts"
|
45731
|
+
}
|
45732
|
+
}
|
45733
|
+
]
|
45734
|
+
},
|
45735
|
+
{
|
45736
|
+
"kind": "javascript-module",
|
45737
|
+
"path": "src/navigation-instruments/poi-line/pointerDot.ts",
|
45738
|
+
"declarations": [
|
45739
|
+
{
|
45740
|
+
"kind": "function",
|
45741
|
+
"name": "renderPointerDot",
|
45742
|
+
"parameters": [
|
45743
|
+
{
|
45744
|
+
"name": "{lineStyle}",
|
45745
|
+
"type": {
|
45746
|
+
"text": "{lineStyle: POIStyle}"
|
45747
|
+
}
|
45748
|
+
}
|
45749
|
+
]
|
45750
|
+
}
|
45751
|
+
],
|
45752
|
+
"exports": [
|
45753
|
+
{
|
45754
|
+
"kind": "js",
|
45755
|
+
"name": "renderPointerDot",
|
45756
|
+
"declaration": {
|
45757
|
+
"name": "renderPointerDot",
|
45758
|
+
"module": "src/navigation-instruments/poi-line/pointerDot.ts"
|
45759
|
+
}
|
45760
|
+
}
|
45761
|
+
]
|
45762
|
+
},
|
45763
|
+
{
|
45764
|
+
"kind": "javascript-module",
|
45765
|
+
"path": "src/navigation-instruments/poi-target/arrow.ts",
|
45766
|
+
"declarations": [
|
45767
|
+
{
|
45768
|
+
"kind": "function",
|
45769
|
+
"name": "pointerArrow",
|
45770
|
+
"parameters": [
|
45771
|
+
{
|
45772
|
+
"name": "pointerType",
|
45773
|
+
"type": {
|
45774
|
+
"text": "Pointer"
|
45775
|
+
}
|
45776
|
+
},
|
45777
|
+
{
|
45778
|
+
"name": "value",
|
45779
|
+
"type": {
|
45780
|
+
"text": "string"
|
45781
|
+
}
|
45782
|
+
}
|
45783
|
+
]
|
45784
|
+
}
|
45785
|
+
],
|
45786
|
+
"exports": [
|
45787
|
+
{
|
45788
|
+
"kind": "js",
|
45789
|
+
"name": "pointerArrow",
|
45790
|
+
"declaration": {
|
45791
|
+
"name": "pointerArrow",
|
45792
|
+
"module": "src/navigation-instruments/poi-target/arrow.ts"
|
45793
|
+
}
|
45794
|
+
}
|
45795
|
+
]
|
45796
|
+
},
|
45797
|
+
{
|
45798
|
+
"kind": "javascript-module",
|
45799
|
+
"path": "src/navigation-instruments/poi-target/poi-target.ts",
|
45800
|
+
"declarations": [
|
45801
|
+
{
|
45802
|
+
"kind": "class",
|
45803
|
+
"description": "",
|
45804
|
+
"name": "ObcPoiTarget",
|
45805
|
+
"members": [
|
45806
|
+
{
|
45807
|
+
"kind": "field",
|
45808
|
+
"name": "height",
|
45809
|
+
"type": {
|
45810
|
+
"text": "number"
|
45811
|
+
},
|
45812
|
+
"default": "188",
|
45813
|
+
"attribute": "height"
|
45814
|
+
},
|
45815
|
+
{
|
45816
|
+
"kind": "field",
|
45817
|
+
"name": "value",
|
45818
|
+
"type": {
|
45819
|
+
"text": "TargetValue"
|
45820
|
+
},
|
45821
|
+
"attribute": "value"
|
45822
|
+
},
|
45823
|
+
{
|
45824
|
+
"kind": "field",
|
45825
|
+
"name": "pointerType",
|
45826
|
+
"type": {
|
45827
|
+
"text": "Pointer"
|
45828
|
+
},
|
45829
|
+
"attribute": "pointerType"
|
45830
|
+
},
|
45831
|
+
{
|
45832
|
+
"kind": "field",
|
45833
|
+
"name": "relativeDirection",
|
45834
|
+
"type": {
|
45835
|
+
"text": "number"
|
45836
|
+
},
|
45837
|
+
"default": "0",
|
45838
|
+
"attribute": "relativeDirection"
|
45839
|
+
}
|
45840
|
+
],
|
45841
|
+
"attributes": [
|
45842
|
+
{
|
45843
|
+
"name": "height",
|
45844
|
+
"type": {
|
45845
|
+
"text": "number"
|
45846
|
+
},
|
45847
|
+
"default": "188",
|
45848
|
+
"fieldName": "height"
|
45849
|
+
},
|
45850
|
+
{
|
45851
|
+
"name": "value",
|
45852
|
+
"type": {
|
45853
|
+
"text": "TargetValue"
|
45854
|
+
},
|
45855
|
+
"fieldName": "value"
|
45856
|
+
},
|
45857
|
+
{
|
45858
|
+
"name": "pointerType",
|
45859
|
+
"type": {
|
45860
|
+
"text": "Pointer"
|
45861
|
+
},
|
45862
|
+
"fieldName": "pointerType"
|
45863
|
+
},
|
45864
|
+
{
|
45865
|
+
"name": "relativeDirection",
|
45866
|
+
"type": {
|
45867
|
+
"text": "number"
|
45868
|
+
},
|
45869
|
+
"default": "0",
|
45870
|
+
"fieldName": "relativeDirection"
|
45871
|
+
}
|
45872
|
+
],
|
45873
|
+
"superclass": {
|
45874
|
+
"name": "LitElement",
|
45875
|
+
"package": "lit"
|
45876
|
+
},
|
45877
|
+
"tagName": "obc-poi-target",
|
45878
|
+
"customElement": true
|
45879
|
+
}
|
45880
|
+
],
|
45881
|
+
"exports": [
|
45882
|
+
{
|
45883
|
+
"kind": "js",
|
45884
|
+
"name": "ObcPoiTarget",
|
45885
|
+
"declaration": {
|
45886
|
+
"name": "ObcPoiTarget",
|
45887
|
+
"module": "src/navigation-instruments/poi-target/poi-target.ts"
|
45888
|
+
}
|
45889
|
+
},
|
45890
|
+
{
|
45891
|
+
"kind": "custom-element-definition",
|
45892
|
+
"name": "obc-poi-target",
|
45893
|
+
"declaration": {
|
45894
|
+
"name": "ObcPoiTarget",
|
45895
|
+
"module": "src/navigation-instruments/poi-target/poi-target.ts"
|
45896
|
+
}
|
45897
|
+
}
|
45898
|
+
]
|
45899
|
+
},
|
45447
45900
|
{
|
45448
45901
|
"kind": "javascript-module",
|
45449
45902
|
"path": "src/navigation-instruments/rudder/rudder.ts",
|
@@ -17,6 +17,7 @@ import '../../icons/icon-04-day-bright';
|
|
17
17
|
* @prop {Number} brightness - The brightness value
|
18
18
|
* @prop {Boolean} showAutoBrightness - Show the auto brightness toggle
|
19
19
|
* @prop {Boolean} showAutoPalette - Show the auto palette toggle
|
20
|
+
* @prop {Boolean} hideBrightness - Show the auto brightness toggle
|
20
21
|
*
|
21
22
|
* @fires palette-changed - Fires when the palette is changed
|
22
23
|
* @fires brightness-changed - Fires when the brightness is changed
|
@@ -26,6 +27,7 @@ export declare class ObcBrillianceMenu extends LitElement {
|
|
26
27
|
brightness: number;
|
27
28
|
showAutoBrightness: boolean;
|
28
29
|
showAutoPalette: boolean;
|
30
|
+
hideBrightness: boolean;
|
29
31
|
onPaletteChanged(event: CustomEvent): void;
|
30
32
|
onBrightnessChanged(event: CustomEvent): void;
|
31
33
|
render(): import("lit-html").TemplateResult<1>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"brilliance-menu.d.ts","sourceRoot":"","sources":["../../../src/components/brilliance-menu/brilliance-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAkB,MAAM,KAAK,CAAC;AAGhD,OAAO,4BAA4B,CAAC;AACpC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gCAAgC,CAAC;AACxC,OAAO,4CAA4C,CAAC;AACpD,OAAO,8CAA8C,CAAC;AACtD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,2BAA2B,CAAC;AACnC,OAAO,0BAA0B,CAAC;AAClC,OAAO,yBAAyB,CAAC;AACjC,OAAO,gCAAgC,CAAC;AAExC
|
1
|
+
{"version":3,"file":"brilliance-menu.d.ts","sourceRoot":"","sources":["../../../src/components/brilliance-menu/brilliance-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAkB,MAAM,KAAK,CAAC;AAGhD,OAAO,4BAA4B,CAAC;AACpC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gCAAgC,CAAC;AACxC,OAAO,4CAA4C,CAAC;AACpD,OAAO,8CAA8C,CAAC;AACtD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,2BAA2B,CAAC;AACnC,OAAO,0BAA0B,CAAC;AAClC,OAAO,yBAAyB,CAAC;AACjC,OAAO,gCAAgC,CAAC;AAExC;;;;;;;;;;;GAWG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IACrB,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAC9D;IACkB,UAAU,SAAM;IAE1C,kBAAkB,UAAS;IACA,eAAe,UAAS;IACxB,cAAc,UAAS;IAElD,gBAAgB,CAAC,KAAK,EAAE,WAAW;IASnC,mBAAmB,CAAC,KAAK,EAAE,WAAW;IAS7B,MAAM;IAwDf,OAAgB,MAAM,0BAA6B;CACpD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,iBAAiB,CAAC;KAC1C;CACF"}
|
@@ -30,6 +30,7 @@ let ObcBrillianceMenu = class extends LitElement {
|
|
30
30
|
this.brightness = 50;
|
31
31
|
this.showAutoBrightness = false;
|
32
32
|
this.showAutoPalette = false;
|
33
|
+
this.hideBrightness = false;
|
33
34
|
}
|
34
35
|
onPaletteChanged(event) {
|
35
36
|
this.palette = event.detail.value;
|
@@ -50,23 +51,27 @@ let ObcBrillianceMenu = class extends LitElement {
|
|
50
51
|
render() {
|
51
52
|
return html`
|
52
53
|
<div class="card">
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
54
|
+
${this.hideBrightness ? "" : html`
|
55
|
+
<h3>Brilliance</h3>
|
56
|
+
<obc-slider
|
57
|
+
value=${this.brightness}
|
58
|
+
@value=${this.onBrightnessChanged}
|
59
|
+
min="0"
|
60
|
+
max="100"
|
61
|
+
hugcontainer
|
62
|
+
haslefticon
|
63
|
+
hasrighticon
|
64
|
+
>
|
65
|
+
<obi-04-brilliance-low slot="icon-left"></obi-04-brilliance-low>
|
66
|
+
<obi-04-brilliance-high
|
67
|
+
slot="icon-right"
|
68
|
+
></obi-04-brilliance-high>
|
69
|
+
</obc-slider>
|
70
|
+
${this.showAutoBrightness ? html`<obc-toggle-switch
|
71
|
+
label="Auto brilliance"
|
72
|
+
></obc-toggle-switch>` : ""}
|
73
|
+
<div class="divider"></div>
|
74
|
+
`}
|
70
75
|
<h3>Day - Night</h3>
|
71
76
|
<obc-toggle-button-group
|
72
77
|
value=${this.palette}
|
@@ -106,6 +111,9 @@ __decorateClass([
|
|
106
111
|
__decorateClass([
|
107
112
|
property({ type: Boolean })
|
108
113
|
], ObcBrillianceMenu.prototype, "showAutoPalette", 2);
|
114
|
+
__decorateClass([
|
115
|
+
property({ type: Boolean })
|
116
|
+
], ObcBrillianceMenu.prototype, "hideBrightness", 2);
|
109
117
|
ObcBrillianceMenu = __decorateClass([
|
110
118
|
customElement("obc-brilliance-menu")
|
111
119
|
], ObcBrillianceMenu);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"brilliance-menu.js","sources":["../../../src/components/brilliance-menu/brilliance-menu.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport componentStyle from './brilliance-menu.css?inline';\nimport '../icon-button/icon-button';\nimport '../slider/slider';\nimport '../toggle-switch/toggle-switch';\nimport '../toggle-button-group/toggle-button-group';\nimport '../toggle-button-option/toggle-button-option';\nimport '../../icons/icon-04-brilliance-low';\nimport '../../icons/icon-04-brilliance-high';\nimport '../../icons/icon-04-night';\nimport '../../icons/icon-04-dusk';\nimport '../../icons/icon-04-day';\nimport '../../icons/icon-04-day-bright';\n\n/**\n * @element obc-brilliance-menu\n *\n * @prop {String} palette - The palette to use. Possible values are 'night', 'dusk', 'day', 'bright'\n * @prop {Number} brightness - The brightness value\n * @prop {Boolean} showAutoBrightness - Show the auto brightness toggle\n * @prop {Boolean} showAutoPalette - Show the auto palette toggle\n *\n * @fires palette-changed - Fires when the palette is changed\n * @fires brightness-changed - Fires when the brightness is changed\n */\n@customElement('obc-brilliance-menu')\nexport class ObcBrillianceMenu extends LitElement {\n @property({type: String}) palette: 'night' | 'dusk' | 'day' | 'bright' =\n 'day';\n @property({type: Number}) brightness = 50;\n @property({type: Boolean})\n showAutoBrightness = false;\n @property({type: Boolean}) showAutoPalette = false;\n\n onPaletteChanged(event: CustomEvent) {\n this.palette = event.detail.value;\n this.dispatchEvent(\n new CustomEvent('palette-changed', {\n detail: {value: event.detail.value},\n })\n );\n }\n\n onBrightnessChanged(event: CustomEvent) {\n this.brightness = event.detail;\n this.dispatchEvent(\n new CustomEvent('brightness-changed', {\n detail: {value: event.detail},\n })\n );\n }\n\n override render() {\n return html`\n <div class=\"card\">\n <h3>Brilliance</h3>\n
|
1
|
+
{"version":3,"file":"brilliance-menu.js","sources":["../../../src/components/brilliance-menu/brilliance-menu.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport componentStyle from './brilliance-menu.css?inline';\nimport '../icon-button/icon-button';\nimport '../slider/slider';\nimport '../toggle-switch/toggle-switch';\nimport '../toggle-button-group/toggle-button-group';\nimport '../toggle-button-option/toggle-button-option';\nimport '../../icons/icon-04-brilliance-low';\nimport '../../icons/icon-04-brilliance-high';\nimport '../../icons/icon-04-night';\nimport '../../icons/icon-04-dusk';\nimport '../../icons/icon-04-day';\nimport '../../icons/icon-04-day-bright';\n\n/**\n * @element obc-brilliance-menu\n *\n * @prop {String} palette - The palette to use. Possible values are 'night', 'dusk', 'day', 'bright'\n * @prop {Number} brightness - The brightness value\n * @prop {Boolean} showAutoBrightness - Show the auto brightness toggle\n * @prop {Boolean} showAutoPalette - Show the auto palette toggle\n * @prop {Boolean} hideBrightness - Show the auto brightness toggle\n *\n * @fires palette-changed - Fires when the palette is changed\n * @fires brightness-changed - Fires when the brightness is changed\n */\n@customElement('obc-brilliance-menu')\nexport class ObcBrillianceMenu extends LitElement {\n @property({type: String}) palette: 'night' | 'dusk' | 'day' | 'bright' =\n 'day';\n @property({type: Number}) brightness = 50;\n @property({type: Boolean})\n showAutoBrightness = false;\n @property({type: Boolean}) showAutoPalette = false;\n @property({type: Boolean}) hideBrightness = false;\n\n onPaletteChanged(event: CustomEvent) {\n this.palette = event.detail.value;\n this.dispatchEvent(\n new CustomEvent('palette-changed', {\n detail: {value: event.detail.value},\n })\n );\n }\n\n onBrightnessChanged(event: CustomEvent) {\n this.brightness = event.detail;\n this.dispatchEvent(\n new CustomEvent('brightness-changed', {\n detail: {value: event.detail},\n })\n );\n }\n\n override render() {\n return html`\n <div class=\"card\">\n ${this.hideBrightness\n ? ''\n : html`\n <h3>Brilliance</h3>\n <obc-slider\n value=${this.brightness}\n @value=${this.onBrightnessChanged}\n min=\"0\"\n max=\"100\"\n hugcontainer\n haslefticon\n hasrighticon\n >\n <obi-04-brilliance-low slot=\"icon-left\"></obi-04-brilliance-low>\n <obi-04-brilliance-high\n slot=\"icon-right\"\n ></obi-04-brilliance-high>\n </obc-slider>\n ${this.showAutoBrightness\n ? html`<obc-toggle-switch\n label=\"Auto brilliance\"\n ></obc-toggle-switch>`\n : ''}\n <div class=\"divider\"></div>\n `}\n <h3>Day - Night</h3>\n <obc-toggle-button-group\n value=${this.palette}\n @value=${this.onPaletteChanged}\n >\n <obc-toggle-button-option value=\"night\">\n <obi-04-night slot=\"icon\"></obi-04-night>\n </obc-toggle-button-option>\n <obc-toggle-button-option value=\"dusk\">\n <obi-04-dusk slot=\"icon\"></obi-04-dusk>\n </obc-toggle-button-option>\n <obc-toggle-button-option value=\"day\">\n <obi-04-day slot=\"icon\"></obi-04-day>\n </obc-toggle-button-option>\n <obc-toggle-button-option value=\"bright\">\n <obi-04-day-bright slot=\"icon\"></obi-04-day-bright>\n </obc-toggle-button-option>\n </obc-toggle-button-group>\n ${this.showAutoPalette\n ? html`<obc-toggle-switch\n label=\"Auto day - night\"\n checked\n ></obc-toggle-switch>`\n : ''}\n </div>\n `;\n }\n\n static override styles = unsafeCSS(componentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-brilliance-menu': ObcBrillianceMenu;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4Ba,IAAA,oBAAN,cAAgC,WAAW;AAAA,EAA3C,cAAA;AAAA,UAAA,GAAA,SAAA;AAEH,SAAA,UAAA;AACqC,SAAA,aAAA;AAElB,SAAA,qBAAA;AACwB,SAAA,kBAAA;AACD,SAAA,iBAAA;AAAA,EAAA;AAAA,EAE5C,iBAAiB,OAAoB;AAC9B,SAAA,UAAU,MAAM,OAAO;AACvB,SAAA;AAAA,MACH,IAAI,YAAY,mBAAmB;AAAA,QACjC,QAAQ,EAAC,OAAO,MAAM,OAAO,MAAK;AAAA,MAAA,CACnC;AAAA,IAAA;AAAA,EAEL;AAAA,EAEA,oBAAoB,OAAoB;AACtC,SAAK,aAAa,MAAM;AACnB,SAAA;AAAA,MACH,IAAI,YAAY,sBAAsB;AAAA,QACpC,QAAQ,EAAC,OAAO,MAAM,OAAM;AAAA,MAAA,CAC7B;AAAA,IAAA;AAAA,EAEL;AAAA,EAES,SAAS;AACT,WAAA;AAAA;AAAA,UAED,KAAK,iBACH,KACA;AAAA;AAAA;AAAA,wBAGY,KAAK,UAAU;AAAA,yBACd,KAAK,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAYjC,KAAK,qBACH;AAAA;AAAA,2CAGA,EAAE;AAAA;AAAA,aAEP;AAAA;AAAA;AAAA,kBAGK,KAAK,OAAO;AAAA,mBACX,KAAK,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAe9B,KAAK,kBACH;AAAA;AAAA;AAAA,qCAIA,EAAE;AAAA;AAAA;AAAA,EAGZ;AAGF;AApFa,kBAmFK,SAAS,UAAU,cAAc;AAlFvB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,kBACe,WAAA,WAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAHb,kBAGe,WAAA,cAAA,CAAA;AAE1B,gBAAA;AAAA,EADC,SAAS,EAAC,MAAM,SAAQ;AAAA,GAJd,kBAKX,WAAA,sBAAA,CAAA;AAC2B,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,SAAQ;AAAA,GANd,kBAMgB,WAAA,mBAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,SAAQ;AAAA,GAPd,kBAOgB,WAAA,kBAAA,CAAA;AAPhB,oBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,iBAAA;"}
|