@oicl/openbridge-webcomponents 2.0.0-next.57 → 2.0.0-next.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/openbridge-webcomponents.bundle.js +592 -239
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +292 -8
- package/dist/building-blocks/instrument-radial/instrument-radial.d.ts +10 -0
- package/dist/building-blocks/instrument-radial/instrument-radial.d.ts.map +1 -1
- package/dist/building-blocks/instrument-radial/instrument-radial.js +86 -21
- package/dist/building-blocks/instrument-radial/instrument-radial.js.map +1 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js +99 -0
- package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js.map +1 -0
- package/dist/navigation-instruments/gauge-radial/gauge-radial.d.ts +42 -7
- package/dist/navigation-instruments/gauge-radial/gauge-radial.d.ts.map +1 -1
- package/dist/navigation-instruments/gauge-radial/gauge-radial.js +178 -31
- package/dist/navigation-instruments/gauge-radial/gauge-radial.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.css.js +4 -0
- package/dist/navigation-instruments/readout/readout.css.js.map +1 -1
- package/dist/navigation-instruments/watch/tickmark.d.ts +2 -1
- package/dist/navigation-instruments/watch/tickmark.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/tickmark.js +24 -4
- package/dist/navigation-instruments/watch/tickmark.js.map +1 -1
- package/dist/navigation-instruments/watch/watch.d.ts +23 -1
- package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/watch.js +48 -20
- package/dist/navigation-instruments/watch/watch.js.map +1 -1
- package/package.json +1 -1
|
@@ -696,7 +696,7 @@ function adjustRectHeightForStroke(rectY, rectHeight, viewBoxMinY, viewBoxMaxY,
|
|
|
696
696
|
}
|
|
697
697
|
return { y: adjustedY, height: shrinkedHeight };
|
|
698
698
|
}
|
|
699
|
-
const componentStyle$
|
|
699
|
+
const componentStyle$1r = i$7`
|
|
700
700
|
* {
|
|
701
701
|
-webkit-tap-highlight-color: transparent;
|
|
702
702
|
}
|
|
@@ -975,7 +975,7 @@ let ObcPoiGraphicLine = class extends i$4 {
|
|
|
975
975
|
}
|
|
976
976
|
};
|
|
977
977
|
ObcPoiGraphicLine._idCounter = 0;
|
|
978
|
-
ObcPoiGraphicLine.styles = r$7(componentStyle$
|
|
978
|
+
ObcPoiGraphicLine.styles = r$7(componentStyle$1r);
|
|
979
979
|
__decorateClass$Ag([
|
|
980
980
|
n$3({ type: Number })
|
|
981
981
|
], ObcPoiGraphicLine.prototype, "lineHeight", 2);
|
|
@@ -1179,7 +1179,7 @@ const e$1 = e$2(class extends i$3 {
|
|
|
1179
1179
|
return E;
|
|
1180
1180
|
}
|
|
1181
1181
|
});
|
|
1182
|
-
const componentStyle$
|
|
1182
|
+
const componentStyle$1q = i$7`
|
|
1183
1183
|
* {
|
|
1184
1184
|
-webkit-tap-highlight-color: transparent;
|
|
1185
1185
|
}
|
|
@@ -1555,7 +1555,7 @@ let ObcPoiHeader = class extends i$4 {
|
|
|
1555
1555
|
`;
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
|
-
ObcPoiHeader.styles = r$7(componentStyle$
|
|
1558
|
+
ObcPoiHeader.styles = r$7(componentStyle$1q);
|
|
1559
1559
|
__decorateClass$Af([
|
|
1560
1560
|
n$3({ type: String })
|
|
1561
1561
|
], ObcPoiHeader.prototype, "content", 2);
|
|
@@ -1577,7 +1577,7 @@ __decorateClass$Af([
|
|
|
1577
1577
|
ObcPoiHeader = __decorateClass$Af([
|
|
1578
1578
|
customElement("obc-poi-header")
|
|
1579
1579
|
], ObcPoiHeader);
|
|
1580
|
-
const componentStyle$
|
|
1580
|
+
const componentStyle$1p = i$7`
|
|
1581
1581
|
* {
|
|
1582
1582
|
-webkit-tap-highlight-color: transparent;
|
|
1583
1583
|
}
|
|
@@ -1805,7 +1805,7 @@ let ObcPoiLine = class extends i$4 {
|
|
|
1805
1805
|
`;
|
|
1806
1806
|
}
|
|
1807
1807
|
};
|
|
1808
|
-
ObcPoiLine.styles = r$7(componentStyle$
|
|
1808
|
+
ObcPoiLine.styles = r$7(componentStyle$1p);
|
|
1809
1809
|
__decorateClass$Ae([
|
|
1810
1810
|
n$3({ type: Number })
|
|
1811
1811
|
], ObcPoiLine.prototype, "height", 2);
|
|
@@ -1827,7 +1827,7 @@ __decorateClass$Ae([
|
|
|
1827
1827
|
ObcPoiLine = __decorateClass$Ae([
|
|
1828
1828
|
customElement("obc-poi-line")
|
|
1829
1829
|
], ObcPoiLine);
|
|
1830
|
-
const componentStyle$
|
|
1830
|
+
const componentStyle$1o = i$7`
|
|
1831
1831
|
* {
|
|
1832
1832
|
-webkit-tap-highlight-color: transparent;
|
|
1833
1833
|
}
|
|
@@ -1998,7 +1998,7 @@ const componentStyle$1n = i$7`
|
|
|
1998
1998
|
filter: drop-shadow(0 1px 3px #000);
|
|
1999
1999
|
}
|
|
2000
2000
|
`;
|
|
2001
|
-
const componentStyle$
|
|
2001
|
+
const componentStyle$1n = i$7`
|
|
2002
2002
|
* {
|
|
2003
2003
|
-webkit-tap-highlight-color: transparent;
|
|
2004
2004
|
}
|
|
@@ -2319,7 +2319,7 @@ let ObcPoiSelectionFrame = class extends i$4 {
|
|
|
2319
2319
|
>`;
|
|
2320
2320
|
}
|
|
2321
2321
|
};
|
|
2322
|
-
ObcPoiSelectionFrame.styles = r$7(componentStyle$
|
|
2322
|
+
ObcPoiSelectionFrame.styles = r$7(componentStyle$1n);
|
|
2323
2323
|
__decorateClass$Ad([
|
|
2324
2324
|
n$3({ type: String })
|
|
2325
2325
|
], ObcPoiSelectionFrame.prototype, "type", 2);
|
|
@@ -2656,7 +2656,7 @@ let ObcPoiPointer = class extends i$4 {
|
|
|
2656
2656
|
this.syncBoxFilterTargets();
|
|
2657
2657
|
}
|
|
2658
2658
|
};
|
|
2659
|
-
ObcPoiPointer.styles = r$7(componentStyle$
|
|
2659
|
+
ObcPoiPointer.styles = r$7(componentStyle$1o);
|
|
2660
2660
|
__decorateClass$Ac([
|
|
2661
2661
|
n$3({ type: String })
|
|
2662
2662
|
], ObcPoiPointer.prototype, "type", 2);
|
|
@@ -2672,7 +2672,7 @@ __decorateClass$Ac([
|
|
|
2672
2672
|
ObcPoiPointer = __decorateClass$Ac([
|
|
2673
2673
|
customElement("obc-poi-pointer")
|
|
2674
2674
|
], ObcPoiPointer);
|
|
2675
|
-
const componentStyle$
|
|
2675
|
+
const componentStyle$1m = i$7`
|
|
2676
2676
|
* {
|
|
2677
2677
|
-webkit-tap-highlight-color: transparent;
|
|
2678
2678
|
}
|
|
@@ -2774,7 +2774,7 @@ let ObcRulerPointer = class extends i$4 {
|
|
|
2774
2774
|
`;
|
|
2775
2775
|
}
|
|
2776
2776
|
};
|
|
2777
|
-
ObcRulerPointer.styles = r$7(componentStyle$
|
|
2777
|
+
ObcRulerPointer.styles = r$7(componentStyle$1m);
|
|
2778
2778
|
__decorateClass$Ab([
|
|
2779
2779
|
n$3({ type: String })
|
|
2780
2780
|
], ObcRulerPointer.prototype, "type", 2);
|
|
@@ -5026,7 +5026,7 @@ const compentStyle$1f = i$7`
|
|
|
5026
5026
|
opacity: var(--obc-poi-data-content-opacity, 1);
|
|
5027
5027
|
}
|
|
5028
5028
|
`;
|
|
5029
|
-
const componentStyle$
|
|
5029
|
+
const componentStyle$1l = i$7`
|
|
5030
5030
|
* {
|
|
5031
5031
|
-webkit-tap-highlight-color: transparent;
|
|
5032
5032
|
}
|
|
@@ -5616,7 +5616,7 @@ let ObcPoiObject = class extends i$4 {
|
|
|
5616
5616
|
`;
|
|
5617
5617
|
}
|
|
5618
5618
|
};
|
|
5619
|
-
ObcPoiObject.styles = r$7(componentStyle$
|
|
5619
|
+
ObcPoiObject.styles = r$7(componentStyle$1l);
|
|
5620
5620
|
__decorateClass$A9([
|
|
5621
5621
|
n$3({ type: String })
|
|
5622
5622
|
], ObcPoiObject.prototype, "type", 2);
|
|
@@ -6025,7 +6025,7 @@ __decorateClass$A7([
|
|
|
6025
6025
|
__decorateClass$A7([
|
|
6026
6026
|
n$3({ type: Boolean })
|
|
6027
6027
|
], AbstractPoiObject.prototype, "interactive");
|
|
6028
|
-
const componentStyle$
|
|
6028
|
+
const componentStyle$1k = i$7`
|
|
6029
6029
|
* {
|
|
6030
6030
|
-webkit-tap-highlight-color: transparent;
|
|
6031
6031
|
}
|
|
@@ -6528,7 +6528,7 @@ let ObcPoiObjectAton = class extends AbstractPoiObject {
|
|
|
6528
6528
|
};
|
|
6529
6529
|
ObcPoiObjectAton.styles = [
|
|
6530
6530
|
...AbstractPoiObject.styles,
|
|
6531
|
-
r$7(componentStyle$
|
|
6531
|
+
r$7(componentStyle$1k)
|
|
6532
6532
|
];
|
|
6533
6533
|
__decorateClass$A6([
|
|
6534
6534
|
n$3({ type: String })
|
|
@@ -6696,7 +6696,7 @@ __decorateClass$A3([
|
|
|
6696
6696
|
ObcPoiButtonData = __decorateClass$A3([
|
|
6697
6697
|
customElement("obc-poi-button-data")
|
|
6698
6698
|
], ObcPoiButtonData);
|
|
6699
|
-
const componentStyle$
|
|
6699
|
+
const componentStyle$1j = i$7`
|
|
6700
6700
|
* {
|
|
6701
6701
|
-webkit-tap-highlight-color: transparent;
|
|
6702
6702
|
}
|
|
@@ -6812,7 +6812,7 @@ let ObcPoiObjectVessel = class extends AbstractPoiObject {
|
|
|
6812
6812
|
};
|
|
6813
6813
|
ObcPoiObjectVessel.styles = [
|
|
6814
6814
|
...AbstractPoiObject.styles,
|
|
6815
|
-
r$7(componentStyle$
|
|
6815
|
+
r$7(componentStyle$1j)
|
|
6816
6816
|
];
|
|
6817
6817
|
__decorateClass$A2([
|
|
6818
6818
|
n$3({ type: String })
|
|
@@ -6891,7 +6891,7 @@ __decorateClass$A1([
|
|
|
6891
6891
|
ObcPoiButtonVessel = __decorateClass$A1([
|
|
6892
6892
|
customElement("obc-poi-button-vessel")
|
|
6893
6893
|
], ObcPoiButtonVessel);
|
|
6894
|
-
const componentStyle$
|
|
6894
|
+
const componentStyle$1i = i$7`
|
|
6895
6895
|
* {
|
|
6896
6896
|
-webkit-tap-highlight-color: transparent;
|
|
6897
6897
|
}
|
|
@@ -7906,7 +7906,7 @@ let ObcPoiCardHeader = class extends i$4 {
|
|
|
7906
7906
|
`;
|
|
7907
7907
|
}
|
|
7908
7908
|
};
|
|
7909
|
-
ObcPoiCardHeader.styles = r$7(componentStyle$
|
|
7909
|
+
ObcPoiCardHeader.styles = r$7(componentStyle$1i);
|
|
7910
7910
|
__decorateClass$z_([
|
|
7911
7911
|
n$3({ type: String })
|
|
7912
7912
|
], ObcPoiCardHeader.prototype, "variant", 2);
|
|
@@ -7934,7 +7934,7 @@ __decorateClass$z_([
|
|
|
7934
7934
|
ObcPoiCardHeader = __decorateClass$z_([
|
|
7935
7935
|
customElement("obc-poi-card-header")
|
|
7936
7936
|
], ObcPoiCardHeader);
|
|
7937
|
-
const componentStyle$
|
|
7937
|
+
const componentStyle$1h = i$7`
|
|
7938
7938
|
* {
|
|
7939
7939
|
-webkit-tap-highlight-color: transparent;
|
|
7940
7940
|
}
|
|
@@ -8256,7 +8256,7 @@ let ObcPoiCard = class extends i$4 {
|
|
|
8256
8256
|
`;
|
|
8257
8257
|
}
|
|
8258
8258
|
};
|
|
8259
|
-
ObcPoiCard.styles = r$7(componentStyle$
|
|
8259
|
+
ObcPoiCard.styles = r$7(componentStyle$1h);
|
|
8260
8260
|
__decorateClass$zZ([
|
|
8261
8261
|
n$3({ type: String })
|
|
8262
8262
|
], ObcPoiCard.prototype, "pointerDirection", 2);
|
|
@@ -8299,7 +8299,7 @@ __decorateClass$zZ([
|
|
|
8299
8299
|
ObcPoiCard = __decorateClass$zZ([
|
|
8300
8300
|
customElement("obc-poi-card")
|
|
8301
8301
|
], ObcPoiCard);
|
|
8302
|
-
const componentStyle$
|
|
8302
|
+
const componentStyle$1g = i$7`
|
|
8303
8303
|
* {
|
|
8304
8304
|
-webkit-tap-highlight-color: transparent;
|
|
8305
8305
|
}
|
|
@@ -8349,7 +8349,7 @@ const componentStyle$1f = i$7`
|
|
|
8349
8349
|
gap: var(--obc-poi-controller-stack-gap, 8px);
|
|
8350
8350
|
}
|
|
8351
8351
|
`;
|
|
8352
|
-
const componentStyle$
|
|
8352
|
+
const componentStyle$1f = i$7`
|
|
8353
8353
|
* {
|
|
8354
8354
|
-webkit-tap-highlight-color: transparent;
|
|
8355
8355
|
}
|
|
@@ -8368,7 +8368,7 @@ const componentStyle$1e = i$7`
|
|
|
8368
8368
|
display: contents;
|
|
8369
8369
|
}
|
|
8370
8370
|
`;
|
|
8371
|
-
const componentStyle$
|
|
8371
|
+
const componentStyle$1e = i$7`
|
|
8372
8372
|
* {
|
|
8373
8373
|
-webkit-tap-highlight-color: transparent;
|
|
8374
8374
|
}
|
|
@@ -8495,7 +8495,7 @@ const componentStyle$1d = i$7`
|
|
|
8495
8495
|
--obc-poi-label-opacity: var(--obc-poi-layer-inactive-opacity, 0.7);
|
|
8496
8496
|
}
|
|
8497
8497
|
`;
|
|
8498
|
-
const componentStyle$
|
|
8498
|
+
const componentStyle$1d = i$7`
|
|
8499
8499
|
* {
|
|
8500
8500
|
-webkit-tap-highlight-color: transparent;
|
|
8501
8501
|
}
|
|
@@ -8714,7 +8714,7 @@ const componentStyle$1c = i$7`
|
|
|
8714
8714
|
transition: opacity 0.1s ease-out;
|
|
8715
8715
|
}
|
|
8716
8716
|
`;
|
|
8717
|
-
const componentStyle$
|
|
8717
|
+
const componentStyle$1c = i$7`
|
|
8718
8718
|
* {
|
|
8719
8719
|
-webkit-tap-highlight-color: transparent;
|
|
8720
8720
|
}
|
|
@@ -8761,7 +8761,7 @@ const n$1 = "important", i$1 = " !" + n$1, o$2 = e$2(class extends i$3 {
|
|
|
8761
8761
|
return E;
|
|
8762
8762
|
}
|
|
8763
8763
|
});
|
|
8764
|
-
const componentStyle$
|
|
8764
|
+
const componentStyle$1b = i$7`
|
|
8765
8765
|
* {
|
|
8766
8766
|
-webkit-tap-highlight-color: transparent;
|
|
8767
8767
|
}
|
|
@@ -9413,7 +9413,7 @@ let ObcPoi = class extends i$4 {
|
|
|
9413
9413
|
this.syncAttachedHeaderState();
|
|
9414
9414
|
}
|
|
9415
9415
|
};
|
|
9416
|
-
ObcPoi.styles = r$7(componentStyle$
|
|
9416
|
+
ObcPoi.styles = r$7(componentStyle$1b);
|
|
9417
9417
|
__decorateClass$zY([
|
|
9418
9418
|
n$3({ type: String })
|
|
9419
9419
|
], ObcPoi.prototype, "type", 2);
|
|
@@ -9955,7 +9955,7 @@ const _PoiBase = class _PoiBase extends i$4 {
|
|
|
9955
9955
|
`;
|
|
9956
9956
|
}
|
|
9957
9957
|
};
|
|
9958
|
-
_PoiBase.styles = [r$7(componentStyle$
|
|
9958
|
+
_PoiBase.styles = [r$7(componentStyle$1c)];
|
|
9959
9959
|
let PoiBase = _PoiBase;
|
|
9960
9960
|
__decorateClass$zX([
|
|
9961
9961
|
n$3({ type: String })
|
|
@@ -10950,7 +10950,7 @@ let ObcPoiGroup = class extends i$4 {
|
|
|
10950
10950
|
return true;
|
|
10951
10951
|
}
|
|
10952
10952
|
};
|
|
10953
|
-
ObcPoiGroup.styles = r$7(componentStyle$
|
|
10953
|
+
ObcPoiGroup.styles = r$7(componentStyle$1d);
|
|
10954
10954
|
__decorateClass$zU([
|
|
10955
10955
|
n$3({ type: Boolean })
|
|
10956
10956
|
], ObcPoiGroup.prototype, "expand", 2);
|
|
@@ -12108,7 +12108,7 @@ let ObcPoiLayer = class extends i$4 {
|
|
|
12108
12108
|
}
|
|
12109
12109
|
};
|
|
12110
12110
|
ObcPoiLayer.GROUP_LAYER_HOOK_ATTR = "data-in-poi-layer";
|
|
12111
|
-
ObcPoiLayer.styles = r$7(componentStyle$
|
|
12111
|
+
ObcPoiLayer.styles = r$7(componentStyle$1e);
|
|
12112
12112
|
__decorateClass$zT([
|
|
12113
12113
|
n$3({ type: String })
|
|
12114
12114
|
], ObcPoiLayer.prototype, "label", 2);
|
|
@@ -12843,7 +12843,7 @@ let ObcPoiLayerStack = class extends i$4 {
|
|
|
12843
12843
|
};
|
|
12844
12844
|
ObcPoiLayerStack.STACK_JUMP_DURATION_MS = 100;
|
|
12845
12845
|
ObcPoiLayerStack.STACK_RETURNING_ATTR = "data-stack-returning";
|
|
12846
|
-
ObcPoiLayerStack.styles = r$7(componentStyle$
|
|
12846
|
+
ObcPoiLayerStack.styles = r$7(componentStyle$1f);
|
|
12847
12847
|
__decorateClass$zS([
|
|
12848
12848
|
n$3({ type: String, attribute: "selection-mode" })
|
|
12849
12849
|
], ObcPoiLayerStack.prototype, "selectionMode", 2);
|
|
@@ -13165,7 +13165,7 @@ let ObcPoiController = class extends i$4 {
|
|
|
13165
13165
|
`;
|
|
13166
13166
|
}
|
|
13167
13167
|
};
|
|
13168
|
-
ObcPoiController.styles = r$7(componentStyle$
|
|
13168
|
+
ObcPoiController.styles = r$7(componentStyle$1g);
|
|
13169
13169
|
__decorateClass$zR([
|
|
13170
13170
|
n$3({ type: String })
|
|
13171
13171
|
], ObcPoiController.prototype, "fit", 2);
|
|
@@ -16057,7 +16057,7 @@ __decorateClass$zp([
|
|
|
16057
16057
|
ObcAutomationButtonReadoutStack = __decorateClass$zp([
|
|
16058
16058
|
customElement("obc-automation-button-readout-stack")
|
|
16059
16059
|
], ObcAutomationButtonReadoutStack);
|
|
16060
|
-
const componentStyle$
|
|
16060
|
+
const componentStyle$1a = i$7`
|
|
16061
16061
|
* {
|
|
16062
16062
|
-webkit-tap-highlight-color: transparent;
|
|
16063
16063
|
}
|
|
@@ -16220,7 +16220,7 @@ let ObcCircularProgress = class extends i$4 {
|
|
|
16220
16220
|
`;
|
|
16221
16221
|
}
|
|
16222
16222
|
};
|
|
16223
|
-
ObcCircularProgress.styles = r$7(componentStyle$
|
|
16223
|
+
ObcCircularProgress.styles = r$7(componentStyle$1a);
|
|
16224
16224
|
__decorateClass$zo([
|
|
16225
16225
|
n$3({ type: String })
|
|
16226
16226
|
], ObcCircularProgress.prototype, "mode", 2);
|
|
@@ -19466,7 +19466,7 @@ __decorateClass$z4([
|
|
|
19466
19466
|
ObiEnergyBattery = __decorateClass$z4([
|
|
19467
19467
|
customElement("obi-energy-battery")
|
|
19468
19468
|
], ObiEnergyBattery);
|
|
19469
|
-
const componentStyle$
|
|
19469
|
+
const componentStyle$19 = i$7`
|
|
19470
19470
|
* {
|
|
19471
19471
|
-webkit-tap-highlight-color: transparent;
|
|
19472
19472
|
}
|
|
@@ -32408,7 +32408,8 @@ function tickmark$1(angle, {
|
|
|
32408
32408
|
rotation,
|
|
32409
32409
|
maxDigits,
|
|
32410
32410
|
color: color2,
|
|
32411
|
-
radiusOffset = 0
|
|
32411
|
+
radiusOffset = 0,
|
|
32412
|
+
endLabelsMaxMin = false
|
|
32412
32413
|
}) {
|
|
32413
32414
|
if (scale === Infinity || scale < 0) {
|
|
32414
32415
|
throw new Error("Tick scale is not valid");
|
|
@@ -32434,7 +32435,9 @@ function tickmark$1(angle, {
|
|
|
32434
32435
|
innerRadius = 328 / 2 + rOff;
|
|
32435
32436
|
outerRadius = 336 / 2 + rOff;
|
|
32436
32437
|
} else {
|
|
32437
|
-
return [
|
|
32438
|
+
return [
|
|
32439
|
+
textSvg(text ?? "", { angle, inside, scale, textRadius, endLabelsMaxMin })
|
|
32440
|
+
];
|
|
32438
32441
|
}
|
|
32439
32442
|
if (inside) {
|
|
32440
32443
|
const outerRingRadius = 368 / 2 + rOff;
|
|
@@ -32453,7 +32456,10 @@ function tickmark$1(angle, {
|
|
|
32453
32456
|
const tick = w`<line x1=${x1} y1=${y1} x2=${x2} y2=${y22} stroke=${colorName} stroke-width=${strokeWidth} vector-effect="non-scaling-stroke"/>`;
|
|
32454
32457
|
if (text) {
|
|
32455
32458
|
if (rotation === void 0) {
|
|
32456
|
-
return [
|
|
32459
|
+
return [
|
|
32460
|
+
tick,
|
|
32461
|
+
textSvg(text, { angle, inside, scale, textRadius, endLabelsMaxMin })
|
|
32462
|
+
];
|
|
32457
32463
|
} else {
|
|
32458
32464
|
const newRadius = textRadius + (4 / scale + 5) * (inside ? -1 : 1) * maxDigits / 2;
|
|
32459
32465
|
const textX = Math.sin(rad) * newRadius;
|
|
@@ -32466,7 +32472,21 @@ function tickmark$1(angle, {
|
|
|
32466
32472
|
}
|
|
32467
32473
|
return tick;
|
|
32468
32474
|
}
|
|
32469
|
-
function textSvg(text,
|
|
32475
|
+
function textSvg(text, {
|
|
32476
|
+
angle,
|
|
32477
|
+
inside,
|
|
32478
|
+
scale,
|
|
32479
|
+
textRadius,
|
|
32480
|
+
endLabelsMaxMin = false
|
|
32481
|
+
}) {
|
|
32482
|
+
const radHoriz = angle * Math.PI / 180;
|
|
32483
|
+
if (endLabelsMaxMin && Math.abs(Math.cos(radHoriz)) < 1e-6) {
|
|
32484
|
+
const sin = Math.sin(radHoriz);
|
|
32485
|
+
const inward = inside ? (6 + (text.length - 1) * 2.5) / scale : 14 / scale;
|
|
32486
|
+
const x2 = sin * (textRadius - inward);
|
|
32487
|
+
const y3 = inside ? -(6 / scale) : 12 / scale;
|
|
32488
|
+
return w`<text x=${x2} y=${y3} class="label bottom ${inside ? "inside" : ""}">${text}</text>`;
|
|
32489
|
+
}
|
|
32470
32490
|
let positionClass;
|
|
32471
32491
|
if (angle === 0) {
|
|
32472
32492
|
positionClass = "top";
|
|
@@ -35738,7 +35758,7 @@ const _ObcChartLineBase = class _ObcChartLineBase extends i$4 {
|
|
|
35738
35758
|
}
|
|
35739
35759
|
};
|
|
35740
35760
|
_ObcChartLineBase.styles = [
|
|
35741
|
-
r$7(componentStyle$
|
|
35761
|
+
r$7(componentStyle$19),
|
|
35742
35762
|
r$7(chartCommonStyle),
|
|
35743
35763
|
r$7(chartLegendStyle),
|
|
35744
35764
|
r$7(chartDebugStyle)
|
|
@@ -47044,7 +47064,7 @@ __decorateClass$wx([
|
|
|
47044
47064
|
ObcAreaGraph = __decorateClass$wx([
|
|
47045
47065
|
customElement("obc-area-graph")
|
|
47046
47066
|
], ObcAreaGraph);
|
|
47047
|
-
const componentStyle$
|
|
47067
|
+
const componentStyle$18 = i$7`
|
|
47048
47068
|
* {
|
|
47049
47069
|
-webkit-tap-highlight-color: transparent;
|
|
47050
47070
|
}
|
|
@@ -47572,7 +47592,7 @@ let ObcDonutChart = class extends i$4 {
|
|
|
47572
47592
|
}
|
|
47573
47593
|
};
|
|
47574
47594
|
ObcDonutChart.styles = [
|
|
47575
|
-
r$7(componentStyle$
|
|
47595
|
+
r$7(componentStyle$18),
|
|
47576
47596
|
r$7(chartCommonStyle),
|
|
47577
47597
|
r$7(chartLegendStyle),
|
|
47578
47598
|
r$7(chartDebugStyle)
|
|
@@ -47668,7 +47688,7 @@ let ObcLineGraph = class extends ObcChartLineBase {
|
|
|
47668
47688
|
ObcLineGraph = __decorateClass$wv([
|
|
47669
47689
|
customElement("obc-line-graph")
|
|
47670
47690
|
], ObcLineGraph);
|
|
47671
|
-
const componentStyle$
|
|
47691
|
+
const componentStyle$17 = i$7`
|
|
47672
47692
|
* {
|
|
47673
47693
|
-webkit-tap-highlight-color: transparent;
|
|
47674
47694
|
}
|
|
@@ -48196,7 +48216,7 @@ let ObcPieChart = class extends i$4 {
|
|
|
48196
48216
|
}
|
|
48197
48217
|
};
|
|
48198
48218
|
ObcPieChart.styles = [
|
|
48199
|
-
r$7(componentStyle$
|
|
48219
|
+
r$7(componentStyle$17),
|
|
48200
48220
|
r$7(chartCommonStyle),
|
|
48201
48221
|
r$7(chartLegendStyle),
|
|
48202
48222
|
r$7(chartDebugStyle)
|
|
@@ -48259,7 +48279,7 @@ __decorateClass$wu([
|
|
|
48259
48279
|
ObcPieChart = __decorateClass$wu([
|
|
48260
48280
|
customElement("obc-pie-chart")
|
|
48261
48281
|
], ObcPieChart);
|
|
48262
|
-
const componentStyle$
|
|
48282
|
+
const componentStyle$16 = i$7`
|
|
48263
48283
|
* {
|
|
48264
48284
|
-webkit-tap-highlight-color: transparent;
|
|
48265
48285
|
}
|
|
@@ -48707,7 +48727,7 @@ let ObcPolarChart = class extends i$4 {
|
|
|
48707
48727
|
}
|
|
48708
48728
|
};
|
|
48709
48729
|
ObcPolarChart.styles = [
|
|
48710
|
-
r$7(componentStyle$
|
|
48730
|
+
r$7(componentStyle$16),
|
|
48711
48731
|
r$7(chartCommonStyle),
|
|
48712
48732
|
r$7(chartLegendStyle),
|
|
48713
48733
|
r$7(chartDebugStyle)
|
|
@@ -48766,7 +48786,7 @@ __decorateClass$wt([
|
|
|
48766
48786
|
ObcPolarChart = __decorateClass$wt([
|
|
48767
48787
|
customElement("obc-polar-chart")
|
|
48768
48788
|
], ObcPolarChart);
|
|
48769
|
-
const componentStyle$
|
|
48789
|
+
const componentStyle$15 = i$7`
|
|
48770
48790
|
* {
|
|
48771
48791
|
-webkit-tap-highlight-color: transparent;
|
|
48772
48792
|
}
|
|
@@ -49117,7 +49137,7 @@ let ObcRadialBarChart = class extends i$4 {
|
|
|
49117
49137
|
}
|
|
49118
49138
|
};
|
|
49119
49139
|
ObcRadialBarChart.styles = [
|
|
49120
|
-
r$7(componentStyle$
|
|
49140
|
+
r$7(componentStyle$15),
|
|
49121
49141
|
r$7(chartCommonStyle),
|
|
49122
49142
|
r$7(chartLegendStyle),
|
|
49123
49143
|
r$7(chartDebugStyle)
|
|
@@ -53123,6 +53143,9 @@ let ObcWatch = class extends i$4 {
|
|
|
53123
53143
|
this.starboardPortIndicator = false;
|
|
53124
53144
|
this.clipTop = 0;
|
|
53125
53145
|
this.clipBottom = 0;
|
|
53146
|
+
this.clipLeft = 0;
|
|
53147
|
+
this.clipRight = 0;
|
|
53148
|
+
this.endLabelsMaxMin = false;
|
|
53126
53149
|
this.scaleWindIcon = 1;
|
|
53127
53150
|
this.zoomToFitArc = false;
|
|
53128
53151
|
this.tickFadeAngle = 0;
|
|
@@ -53196,6 +53219,17 @@ let ObcWatch = class extends i$4 {
|
|
|
53196
53219
|
get innerRingRadius() {
|
|
53197
53220
|
return innerRingRadiusFor(this.watchCircleType);
|
|
53198
53221
|
}
|
|
53222
|
+
/**
|
|
53223
|
+
* Radius for a dial-band edge under zoom: additive (`base + _rOff`), keeping
|
|
53224
|
+
* band thickness constant in SVG units. INVARIANT: every band-edge radius
|
|
53225
|
+
* (rings, value arc, bars, needles, inside-label `textRadius`) must go through
|
|
53226
|
+
* this — mixing additive and multiplicative offsets misaligns ticks, labels,
|
|
53227
|
+
* advice masks and arcs. The proportional experiments were removed for this
|
|
53228
|
+
* reason (PR #903).
|
|
53229
|
+
*/
|
|
53230
|
+
_bandRadius(base) {
|
|
53231
|
+
return base + this._rOff;
|
|
53232
|
+
}
|
|
53199
53233
|
watchCircle() {
|
|
53200
53234
|
const rings = [];
|
|
53201
53235
|
if (this.state !== InstrumentState.off) {
|
|
@@ -53203,14 +53237,16 @@ let ObcWatch = class extends i$4 {
|
|
|
53203
53237
|
<circle
|
|
53204
53238
|
cx="0"
|
|
53205
53239
|
cy="0"
|
|
53206
|
-
r="${
|
|
53240
|
+
r="${this._bandRadius(172)}"
|
|
53207
53241
|
stroke="var(--instrument-frame-primary-color)"
|
|
53208
53242
|
fill="none"
|
|
53209
53243
|
stroke-width="24"
|
|
53210
53244
|
/>`);
|
|
53211
53245
|
if (this.watchCircleType !== "single") {
|
|
53212
|
-
const r1 =
|
|
53213
|
-
const r2 =
|
|
53246
|
+
const r1 = this._bandRadius(RING2_RADIUS);
|
|
53247
|
+
const r2 = this._bandRadius(
|
|
53248
|
+
this.watchCircleType === "doubleThin" ? RING3B_RADIUS : RING3_RADIUS
|
|
53249
|
+
);
|
|
53214
53250
|
const r3 = (r1 + r2) / 2;
|
|
53215
53251
|
const strokeWidth = r1 - r2;
|
|
53216
53252
|
rings.push(
|
|
@@ -53222,8 +53258,8 @@ let ObcWatch = class extends i$4 {
|
|
|
53222
53258
|
);
|
|
53223
53259
|
}
|
|
53224
53260
|
if (this.watchCircleType === "triple") {
|
|
53225
|
-
const r1 =
|
|
53226
|
-
const r2 =
|
|
53261
|
+
const r1 = this._bandRadius(RING3_RADIUS);
|
|
53262
|
+
const r2 = this._bandRadius(RING4_RADIUS);
|
|
53227
53263
|
const r3 = (r1 + r2) / 2;
|
|
53228
53264
|
const strokeWidth = r1 - r2;
|
|
53229
53265
|
rings.push(
|
|
@@ -53238,8 +53274,8 @@ let ObcWatch = class extends i$4 {
|
|
|
53238
53274
|
const svgPath = roundedArch({
|
|
53239
53275
|
startAngle: area.startAngle,
|
|
53240
53276
|
endAngle: area.endAngle,
|
|
53241
|
-
R:
|
|
53242
|
-
r: this.
|
|
53277
|
+
R: this._bandRadius(OUTER_RING_RADIUS),
|
|
53278
|
+
r: this._bandRadius(this.innerRingRadius),
|
|
53243
53279
|
roundOutsideCut: area.roundOutsideCut,
|
|
53244
53280
|
roundInsideCut: area.roundInsideCut
|
|
53245
53281
|
});
|
|
@@ -53269,7 +53305,7 @@ let ObcWatch = class extends i$4 {
|
|
|
53269
53305
|
if (this.state !== InstrumentState.off) {
|
|
53270
53306
|
result.push(
|
|
53271
53307
|
circle("outerRing", {
|
|
53272
|
-
radius:
|
|
53308
|
+
radius: this._bandRadius(OUTER_RING_RADIUS),
|
|
53273
53309
|
strokeWidth: 1,
|
|
53274
53310
|
strokeColor: "var(--instrument-frame-tertiary-color)",
|
|
53275
53311
|
strokePosition: "center",
|
|
@@ -53278,7 +53314,7 @@ let ObcWatch = class extends i$4 {
|
|
|
53278
53314
|
);
|
|
53279
53315
|
result.push(w`
|
|
53280
53316
|
${circle("innerRing", {
|
|
53281
|
-
radius: this.
|
|
53317
|
+
radius: this._bandRadius(this.innerRingRadius),
|
|
53282
53318
|
strokeWidth: 1,
|
|
53283
53319
|
strokeColor: "var(--instrument-frame-tertiary-color)",
|
|
53284
53320
|
strokePosition: "center",
|
|
@@ -53288,7 +53324,7 @@ let ObcWatch = class extends i$4 {
|
|
|
53288
53324
|
} else {
|
|
53289
53325
|
result.push(w`
|
|
53290
53326
|
${circle("innerRing", {
|
|
53291
|
-
radius:
|
|
53327
|
+
radius: this._bandRadius(OUTER_RING_RADIUS),
|
|
53292
53328
|
strokeWidth: 1,
|
|
53293
53329
|
strokeColor: "var(--instrument-frame-tertiary-color)",
|
|
53294
53330
|
strokePosition: "center",
|
|
@@ -53316,7 +53352,7 @@ let ObcWatch = class extends i$4 {
|
|
|
53316
53352
|
const largeArc = b2 - a2 > 180 ? 1 : 0;
|
|
53317
53353
|
return `M 0 0 L ${x1} ${y1} A ${R2} ${R2} 0 ${largeArc} 1 ${x2} ${y22} Z`;
|
|
53318
53354
|
};
|
|
53319
|
-
const Rm = (OUTER_RING_RADIUS + this.innerRingRadius) / 2
|
|
53355
|
+
const Rm = (this._bandRadius(OUTER_RING_RADIUS) + this._bandRadius(this.innerRingRadius)) / 2;
|
|
53320
53356
|
const gx = (deg) => Rm * Math.sin(toRad(deg));
|
|
53321
53357
|
const gy = (deg) => -Rm * Math.cos(toRad(deg));
|
|
53322
53358
|
return w`
|
|
@@ -53410,8 +53446,8 @@ let ObcWatch = class extends i$4 {
|
|
|
53410
53446
|
const startAngle = Math.min(bar.startAngle, bar.endAngle);
|
|
53411
53447
|
const endAngle = Math.max(bar.startAngle, bar.endAngle);
|
|
53412
53448
|
const arc = roundedArch({
|
|
53413
|
-
r:
|
|
53414
|
-
R:
|
|
53449
|
+
r: this._bandRadius(RING3_RADIUS),
|
|
53450
|
+
R: this._bandRadius(RING2_RADIUS),
|
|
53415
53451
|
startAngle,
|
|
53416
53452
|
endAngle,
|
|
53417
53453
|
roundInsideCut: false,
|
|
@@ -53452,7 +53488,7 @@ let ObcWatch = class extends i$4 {
|
|
|
53452
53488
|
return w`
|
|
53453
53489
|
<rect
|
|
53454
53490
|
transform="rotate(${needle.angle})"
|
|
53455
|
-
x="-4" y="${-(RING2_RADIUS
|
|
53491
|
+
x="-4" y="${-this._bandRadius(RING2_RADIUS)}" width="8" height="48" rx="4"
|
|
53456
53492
|
fill=${needle.fillColor}
|
|
53457
53493
|
stroke=${needle.strokeColor}
|
|
53458
53494
|
stroke-width="1"
|
|
@@ -53513,15 +53549,17 @@ let ObcWatch = class extends i$4 {
|
|
|
53513
53549
|
viewBox = frame.viewBox;
|
|
53514
53550
|
} else {
|
|
53515
53551
|
this._rOff = 0;
|
|
53516
|
-
|
|
53517
|
-
|
|
53518
|
-
|
|
53519
|
-
|
|
53552
|
+
const full = (176 + this.getPadding()) * 2;
|
|
53553
|
+
width = full * (1 - this.clipLeft / 100 - this.clipRight / 100);
|
|
53554
|
+
height = full * (1 - this.clipTop / 100 - this.clipBottom / 100);
|
|
53555
|
+
const left = -full / 2 + full * this.clipLeft / 100;
|
|
53556
|
+
const top = -full / 2 + full * this.clipTop / 100;
|
|
53557
|
+
viewBox = `${left} ${top} ${width} ${height}`;
|
|
53520
53558
|
}
|
|
53521
53559
|
const rOff = this._rOff;
|
|
53522
53560
|
const scale = this.getScale({ width, height });
|
|
53523
53561
|
const angleSetpoint = this.renderSetpoint();
|
|
53524
|
-
const textRadius =
|
|
53562
|
+
const textRadius = this.tickmarksInside ? this._bandRadius(this.innerRingRadius) : this._bandRadius(OUTER_RING_RADIUS);
|
|
53525
53563
|
const maxDigits = Math.max(
|
|
53526
53564
|
...this.tickmarks.map((t2) => t2.text?.length ?? 0)
|
|
53527
53565
|
);
|
|
@@ -53536,7 +53574,8 @@ let ObcWatch = class extends i$4 {
|
|
|
53536
53574
|
rotation: this.rotation,
|
|
53537
53575
|
maxDigits,
|
|
53538
53576
|
color: t2.color,
|
|
53539
|
-
radiusOffset: rOff
|
|
53577
|
+
radiusOffset: rOff,
|
|
53578
|
+
endLabelsMaxMin: this.endLabelsMaxMin
|
|
53540
53579
|
})
|
|
53541
53580
|
);
|
|
53542
53581
|
const advices = this.advices ? this.advices.map((a2) => renderAdvice$3(a2, rOff)) : A;
|
|
@@ -53901,6 +53940,15 @@ __decorateClass$vO([
|
|
|
53901
53940
|
__decorateClass$vO([
|
|
53902
53941
|
n$3({ type: Number })
|
|
53903
53942
|
], ObcWatch.prototype, "clipBottom", 2);
|
|
53943
|
+
__decorateClass$vO([
|
|
53944
|
+
n$3({ type: Number })
|
|
53945
|
+
], ObcWatch.prototype, "clipLeft", 2);
|
|
53946
|
+
__decorateClass$vO([
|
|
53947
|
+
n$3({ type: Number })
|
|
53948
|
+
], ObcWatch.prototype, "clipRight", 2);
|
|
53949
|
+
__decorateClass$vO([
|
|
53950
|
+
n$3({ type: Boolean })
|
|
53951
|
+
], ObcWatch.prototype, "endLabelsMaxMin", 2);
|
|
53904
53952
|
__decorateClass$vO([
|
|
53905
53953
|
n$3({ type: Number })
|
|
53906
53954
|
], ObcWatch.prototype, "scaleWindIcon", 2);
|
|
@@ -53959,6 +54007,11 @@ var __decorateClass$vN = (decorators, target, key, kind) => {
|
|
|
53959
54007
|
if (kind && result) __defProp$vK(target, key, result);
|
|
53960
54008
|
return result;
|
|
53961
54009
|
};
|
|
54010
|
+
const WATCH_DEFAULT_VIEWBOX = 448;
|
|
54011
|
+
const NEEDLE_TIP_RADIUS$1 = 160;
|
|
54012
|
+
const NEEDLE_TIP_GAP = 5;
|
|
54013
|
+
const NEEDLE_WIDTH = 8;
|
|
54014
|
+
const NEEDLE_HUB_RADIUS = 16;
|
|
53962
54015
|
function rangeIncludesZero(minValue, maxValue) {
|
|
53963
54016
|
return minValue <= 0 && maxValue >= 0;
|
|
53964
54017
|
}
|
|
@@ -53974,6 +54027,31 @@ function strongerTickmarkType(existing, candidate) {
|
|
|
53974
54027
|
};
|
|
53975
54028
|
return priority[candidate] > priority[existing] ? candidate : existing;
|
|
53976
54029
|
}
|
|
54030
|
+
function clampClipPercent(n3) {
|
|
54031
|
+
return Number.isFinite(n3) ? Math.min(Math.max(n3, 0), 100) : 0;
|
|
54032
|
+
}
|
|
54033
|
+
function normalizeClips(clips) {
|
|
54034
|
+
let top = clampClipPercent(clips.top);
|
|
54035
|
+
let bottom = clampClipPercent(clips.bottom);
|
|
54036
|
+
let left = clampClipPercent(clips.left);
|
|
54037
|
+
let right = clampClipPercent(clips.right);
|
|
54038
|
+
if (top + bottom >= 100) {
|
|
54039
|
+
top = 0;
|
|
54040
|
+
bottom = 0;
|
|
54041
|
+
}
|
|
54042
|
+
if (left + right >= 100) {
|
|
54043
|
+
left = 0;
|
|
54044
|
+
right = 0;
|
|
54045
|
+
}
|
|
54046
|
+
return { top, bottom, left, right };
|
|
54047
|
+
}
|
|
54048
|
+
function defaultGaugeAngle(value, minValue, maxValue) {
|
|
54049
|
+
const span = maxValue - minValue;
|
|
54050
|
+
if (!Number.isFinite(span) || span <= 0) {
|
|
54051
|
+
return -135;
|
|
54052
|
+
}
|
|
54053
|
+
return (value - minValue) / span * 270 - 135;
|
|
54054
|
+
}
|
|
53977
54055
|
let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
53978
54056
|
constructor() {
|
|
53979
54057
|
super(...arguments);
|
|
@@ -53993,6 +54071,9 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
53993
54071
|
this.advices = [];
|
|
53994
54072
|
this.clipTop = 0;
|
|
53995
54073
|
this.clipBottom = 0;
|
|
54074
|
+
this.clipLeft = 0;
|
|
54075
|
+
this.clipRight = 0;
|
|
54076
|
+
this.endLabelsMaxMin = false;
|
|
53996
54077
|
this.zoomToFitArc = false;
|
|
53997
54078
|
this._radiusOffset = 0;
|
|
53998
54079
|
}
|
|
@@ -54002,10 +54083,27 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54002
54083
|
return Math.max(lowerBound, Math.min(this.value, upperBound));
|
|
54003
54084
|
}
|
|
54004
54085
|
get minAngle() {
|
|
54005
|
-
return this.
|
|
54086
|
+
return this.mapAngle(this.minValue);
|
|
54006
54087
|
}
|
|
54007
54088
|
get maxAngle() {
|
|
54008
|
-
return this.
|
|
54089
|
+
return this.mapAngle(this.maxValue);
|
|
54090
|
+
}
|
|
54091
|
+
// Map a value to an angle via the consumer's `getAngle`, guarding a missing
|
|
54092
|
+
// or non-finite mapping so a misconfigured consumer can't emit NaN geometry.
|
|
54093
|
+
mapAngle(value) {
|
|
54094
|
+
const fn = this.getAngle;
|
|
54095
|
+
const angle = typeof fn === "function" ? fn(value) : defaultGaugeAngle(value, this.minValue, this.maxValue);
|
|
54096
|
+
return Number.isFinite(angle) ? angle : 0;
|
|
54097
|
+
}
|
|
54098
|
+
// Clamped clips, reused for the overlay viewBox and the clips forwarded to
|
|
54099
|
+
// obc-watch.
|
|
54100
|
+
get safeClips() {
|
|
54101
|
+
return normalizeClips({
|
|
54102
|
+
top: this.clipTop,
|
|
54103
|
+
bottom: this.clipBottom,
|
|
54104
|
+
left: this.clipLeft,
|
|
54105
|
+
right: this.clipRight
|
|
54106
|
+
});
|
|
54009
54107
|
}
|
|
54010
54108
|
get _derivedNeedleColor() {
|
|
54011
54109
|
if (this.state === InstrumentState.loading || this.state === InstrumentState.off) {
|
|
@@ -54026,12 +54124,12 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54026
54124
|
const barColor = this.barColor ?? this._derivedBarColor;
|
|
54027
54125
|
const barStartValue = Math.max(this.minValue, Math.min(0, this.maxValue));
|
|
54028
54126
|
const value = this.clampedValue;
|
|
54029
|
-
const setpointAngle = this.setpoint !== void 0 ? this.
|
|
54030
|
-
const newSetpointAngle = this.newSetpoint !== void 0 ? this.
|
|
54127
|
+
const setpointAngle = this.setpoint !== void 0 ? this.mapAngle(this.setpoint) : void 0;
|
|
54128
|
+
const newSetpointAngle = this.newSetpoint !== void 0 ? this.mapAngle(this.newSetpoint) : void 0;
|
|
54031
54129
|
const barAreas = this.type === "needle" ? [] : [
|
|
54032
54130
|
{
|
|
54033
|
-
startAngle: this.
|
|
54034
|
-
endAngle: this.
|
|
54131
|
+
startAngle: this.mapAngle(barStartValue),
|
|
54132
|
+
endAngle: this.mapAngle(value),
|
|
54035
54133
|
fillColor: barColor
|
|
54036
54134
|
}
|
|
54037
54135
|
];
|
|
@@ -54044,6 +54142,7 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54044
54142
|
}
|
|
54045
54143
|
];
|
|
54046
54144
|
const watchCircleType = this.type === "needle" ? WatchCircleType.single : WatchCircleType.double;
|
|
54145
|
+
const clips = this.safeClips;
|
|
54047
54146
|
let viewBox;
|
|
54048
54147
|
if (this.zoomToFitArc) {
|
|
54049
54148
|
const ext = 48;
|
|
@@ -54055,16 +54154,18 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54055
54154
|
extension: ext,
|
|
54056
54155
|
targetSize
|
|
54057
54156
|
});
|
|
54058
|
-
viewBox = frame.viewBox;
|
|
54059
54157
|
this._radiusOffset = frame.radiusOffset;
|
|
54158
|
+
viewBox = frame.viewBox;
|
|
54060
54159
|
this._arcFrame = frame;
|
|
54061
54160
|
} else {
|
|
54062
54161
|
this._radiusOffset = 0;
|
|
54063
54162
|
this._arcFrame = void 0;
|
|
54064
|
-
const
|
|
54065
|
-
const
|
|
54066
|
-
const
|
|
54067
|
-
|
|
54163
|
+
const full = WATCH_DEFAULT_VIEWBOX;
|
|
54164
|
+
const w2 = full * (1 - clips.left / 100 - clips.right / 100);
|
|
54165
|
+
const h3 = full * (1 - clips.top / 100 - clips.bottom / 100);
|
|
54166
|
+
const left = -full / 2 + full * clips.left / 100;
|
|
54167
|
+
const top = -full / 2 + full * clips.top / 100;
|
|
54168
|
+
viewBox = `${left} ${top} ${w2} ${h3}`;
|
|
54068
54169
|
}
|
|
54069
54170
|
return b`
|
|
54070
54171
|
<div class="container">
|
|
@@ -54085,8 +54186,11 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54085
54186
|
.areas=${areas}
|
|
54086
54187
|
.watchCircleType=${watchCircleType}
|
|
54087
54188
|
.barAreas=${barAreas}
|
|
54088
|
-
.clipTop=${this.zoomToFitArc ? 0 :
|
|
54089
|
-
.clipBottom=${this.zoomToFitArc ? 0 :
|
|
54189
|
+
.clipTop=${this.zoomToFitArc ? 0 : clips.top}
|
|
54190
|
+
.clipBottom=${this.zoomToFitArc ? 0 : clips.bottom}
|
|
54191
|
+
.clipLeft=${this.zoomToFitArc ? 0 : clips.left}
|
|
54192
|
+
.clipRight=${this.zoomToFitArc ? 0 : clips.right}
|
|
54193
|
+
.endLabelsMaxMin=${this.endLabelsMaxMin}
|
|
54090
54194
|
.zoomToFitArc=${this.zoomToFitArc}
|
|
54091
54195
|
.arcFrame=${this._arcFrame}
|
|
54092
54196
|
></obc-watch>
|
|
@@ -54102,14 +54206,14 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54102
54206
|
const rOff = this._radiusOffset;
|
|
54103
54207
|
const value = this.clampedValue;
|
|
54104
54208
|
if (this.type === "needle") {
|
|
54105
|
-
|
|
54106
|
-
|
|
54107
|
-
<rect x="
|
|
54108
|
-
<
|
|
54209
|
+
const tipY = 256 - (NEEDLE_TIP_RADIUS$1 - NEEDLE_TIP_GAP) - rOff;
|
|
54210
|
+
return w`<g transform="rotate(${this.mapAngle(value)}) translate(-256, -256)">
|
|
54211
|
+
<rect x="${256 - NEEDLE_WIDTH / 2}" y="${tipY}" width="${NEEDLE_WIDTH}" height="${256 - tipY}" rx="${NEEDLE_WIDTH / 2}" fill=${needleColor} stroke=${needleColor}/>
|
|
54212
|
+
<circle cx="256" cy="256" r="${NEEDLE_HUB_RADIUS}" fill=${needleColor}/>
|
|
54109
54213
|
</g>
|
|
54110
54214
|
`;
|
|
54111
54215
|
} else {
|
|
54112
|
-
return w`<g transform="rotate(${this.
|
|
54216
|
+
return w`<g transform="rotate(${this.mapAngle(value)}) translate(-256, -256)">
|
|
54113
54217
|
<rect x="252" y="${96 - rOff}" width="8" height="48" rx="4" fill=${needleColor} stroke="var(--border-silhouette-color)"/>
|
|
54114
54218
|
</g>
|
|
54115
54219
|
`;
|
|
@@ -54132,7 +54236,7 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54132
54236
|
return;
|
|
54133
54237
|
}
|
|
54134
54238
|
tickmarksByValue.set(normalizedValue, {
|
|
54135
|
-
angle: this.
|
|
54239
|
+
angle: this.mapAngle(normalizedValue),
|
|
54136
54240
|
type,
|
|
54137
54241
|
text
|
|
54138
54242
|
});
|
|
@@ -54192,8 +54296,8 @@ let ObcInstrumentRadial = class extends SetpointMixin(i$4) {
|
|
|
54192
54296
|
get _advices() {
|
|
54193
54297
|
const value = this.clampedValue;
|
|
54194
54298
|
return this.advices.map((advice) => {
|
|
54195
|
-
const minAngle = this.
|
|
54196
|
-
const maxAngle = this.
|
|
54299
|
+
const minAngle = this.mapAngle(advice.minValue);
|
|
54300
|
+
const maxAngle = this.mapAngle(advice.maxValue);
|
|
54197
54301
|
let state = advice.hinted ? AdviceState.hinted : AdviceState.regular;
|
|
54198
54302
|
if (value >= advice.minValue && value <= advice.maxValue) {
|
|
54199
54303
|
state = AdviceState.triggered;
|
|
@@ -54302,6 +54406,15 @@ __decorateClass$vN([
|
|
|
54302
54406
|
__decorateClass$vN([
|
|
54303
54407
|
n$3({ type: Number })
|
|
54304
54408
|
], ObcInstrumentRadial.prototype, "clipBottom", 2);
|
|
54409
|
+
__decorateClass$vN([
|
|
54410
|
+
n$3({ type: Number })
|
|
54411
|
+
], ObcInstrumentRadial.prototype, "clipLeft", 2);
|
|
54412
|
+
__decorateClass$vN([
|
|
54413
|
+
n$3({ type: Number })
|
|
54414
|
+
], ObcInstrumentRadial.prototype, "clipRight", 2);
|
|
54415
|
+
__decorateClass$vN([
|
|
54416
|
+
n$3({ type: Boolean })
|
|
54417
|
+
], ObcInstrumentRadial.prototype, "endLabelsMaxMin", 2);
|
|
54305
54418
|
__decorateClass$vN([
|
|
54306
54419
|
n$3({ type: Boolean })
|
|
54307
54420
|
], ObcInstrumentRadial.prototype, "zoomToFitArc", 2);
|
|
@@ -54771,7 +54884,7 @@ __decorateClass$vM([
|
|
|
54771
54884
|
ObcAccordionCard = __decorateClass$vM([
|
|
54772
54885
|
customElement("obc-accordion-card")
|
|
54773
54886
|
], ObcAccordionCard);
|
|
54774
|
-
const componentStyle$
|
|
54887
|
+
const componentStyle$14 = i$7`
|
|
54775
54888
|
* {
|
|
54776
54889
|
-webkit-tap-highlight-color: transparent;
|
|
54777
54890
|
}
|
|
@@ -55062,7 +55175,7 @@ let ObcAccordionItem = class extends i$4 {
|
|
|
55062
55175
|
`;
|
|
55063
55176
|
}
|
|
55064
55177
|
};
|
|
55065
|
-
ObcAccordionItem.styles = r$7(componentStyle$
|
|
55178
|
+
ObcAccordionItem.styles = r$7(componentStyle$14);
|
|
55066
55179
|
__decorateClass$vL([
|
|
55067
55180
|
n$3({ type: String })
|
|
55068
55181
|
], ObcAccordionItem.prototype, "title", 2);
|
|
@@ -55078,7 +55191,7 @@ __decorateClass$vL([
|
|
|
55078
55191
|
ObcAccordionItem = __decorateClass$vL([
|
|
55079
55192
|
customElement("obc-accordion-item")
|
|
55080
55193
|
], ObcAccordionItem);
|
|
55081
|
-
const componentStyle$
|
|
55194
|
+
const componentStyle$13 = i$7`
|
|
55082
55195
|
* {
|
|
55083
55196
|
-webkit-tap-highlight-color: transparent;
|
|
55084
55197
|
}
|
|
@@ -55519,7 +55632,7 @@ let ObcAdviceButton = class extends i$4 {
|
|
|
55519
55632
|
this.dispatchEvent(event);
|
|
55520
55633
|
}
|
|
55521
55634
|
};
|
|
55522
|
-
ObcAdviceButton.styles = r$7(componentStyle$
|
|
55635
|
+
ObcAdviceButton.styles = r$7(componentStyle$13);
|
|
55523
55636
|
__decorateClass$vI([
|
|
55524
55637
|
n$3({ type: String })
|
|
55525
55638
|
], ObcAdviceButton.prototype, "buttonStyle", 2);
|
|
@@ -55538,7 +55651,7 @@ __decorateClass$vI([
|
|
|
55538
55651
|
ObcAdviceButton = __decorateClass$vI([
|
|
55539
55652
|
customElement("obc-advice-button")
|
|
55540
55653
|
], ObcAdviceButton);
|
|
55541
|
-
const componentStyle$
|
|
55654
|
+
const componentStyle$12 = i$7`
|
|
55542
55655
|
* {
|
|
55543
55656
|
-webkit-tap-highlight-color: transparent;
|
|
55544
55657
|
}
|
|
@@ -55546,7 +55659,7 @@ const componentStyle$11 = i$7`
|
|
|
55546
55659
|
display: block;
|
|
55547
55660
|
}
|
|
55548
55661
|
`;
|
|
55549
|
-
const componentStyle$
|
|
55662
|
+
const componentStyle$11 = i$7`
|
|
55550
55663
|
* {
|
|
55551
55664
|
-webkit-tap-highlight-color: transparent;
|
|
55552
55665
|
}
|
|
@@ -55978,7 +56091,7 @@ let ObcFloatingItem = class extends i$4 {
|
|
|
55978
56091
|
`;
|
|
55979
56092
|
}
|
|
55980
56093
|
};
|
|
55981
|
-
ObcFloatingItem.styles = r$7(componentStyle$
|
|
56094
|
+
ObcFloatingItem.styles = r$7(componentStyle$11);
|
|
55982
56095
|
__decorateClass$vH([
|
|
55983
56096
|
n$3({ type: String })
|
|
55984
56097
|
], ObcFloatingItem.prototype, "type", 2);
|
|
@@ -56067,7 +56180,7 @@ let ObcAdviceFloatingItem = class extends i$4 {
|
|
|
56067
56180
|
`;
|
|
56068
56181
|
}
|
|
56069
56182
|
};
|
|
56070
|
-
ObcAdviceFloatingItem.styles = r$7(componentStyle$
|
|
56183
|
+
ObcAdviceFloatingItem.styles = r$7(componentStyle$12);
|
|
56071
56184
|
__decorateClass$vG([
|
|
56072
56185
|
n$3({ type: String })
|
|
56073
56186
|
], ObcAdviceFloatingItem.prototype, "type", 2);
|
|
@@ -56792,7 +56905,7 @@ __decorateClass$vD([
|
|
|
56792
56905
|
ObcAdviceMenuItem = __decorateClass$vD([
|
|
56793
56906
|
customElement("obc-advice-menu-item")
|
|
56794
56907
|
], ObcAdviceMenuItem);
|
|
56795
|
-
const componentStyle
|
|
56908
|
+
const componentStyle$10 = i$7`
|
|
56796
56909
|
* {
|
|
56797
56910
|
-webkit-tap-highlight-color: transparent;
|
|
56798
56911
|
}
|
|
@@ -57480,7 +57593,7 @@ let ObcAdviceMessageItem = class extends i$4 {
|
|
|
57480
57593
|
`;
|
|
57481
57594
|
}
|
|
57482
57595
|
};
|
|
57483
|
-
ObcAdviceMessageItem.styles = r$7(componentStyle
|
|
57596
|
+
ObcAdviceMessageItem.styles = r$7(componentStyle$10);
|
|
57484
57597
|
__decorateClass$vB([
|
|
57485
57598
|
n$3({ type: String })
|
|
57486
57599
|
], ObcAdviceMessageItem.prototype, "title", 2);
|
|
@@ -58991,7 +59104,7 @@ __decorateClass$vs([
|
|
|
58991
59104
|
ObcAlertButton = __decorateClass$vs([
|
|
58992
59105
|
customElement("obc-alert-button")
|
|
58993
59106
|
], ObcAlertButton);
|
|
58994
|
-
const componentStyle
|
|
59107
|
+
const componentStyle$$ = i$7`
|
|
58995
59108
|
* {
|
|
58996
59109
|
-webkit-tap-highlight-color: transparent;
|
|
58997
59110
|
}
|
|
@@ -59111,7 +59224,7 @@ let ObcAlertFloatingItem = class extends i$4 {
|
|
|
59111
59224
|
`;
|
|
59112
59225
|
}
|
|
59113
59226
|
};
|
|
59114
|
-
ObcAlertFloatingItem.styles = r$7(componentStyle
|
|
59227
|
+
ObcAlertFloatingItem.styles = r$7(componentStyle$$);
|
|
59115
59228
|
__decorateClass$vq([
|
|
59116
59229
|
n$3({ type: String })
|
|
59117
59230
|
], ObcAlertFloatingItem.prototype, "type", 2);
|
|
@@ -60861,7 +60974,7 @@ __decorateClass$ve([
|
|
|
60861
60974
|
ObiCheckGoogle = __decorateClass$ve([
|
|
60862
60975
|
customElement("obi-check-google")
|
|
60863
60976
|
], ObiCheckGoogle);
|
|
60864
|
-
const componentStyle$
|
|
60977
|
+
const componentStyle$_ = i$7`
|
|
60865
60978
|
* {
|
|
60866
60979
|
-webkit-tap-highlight-color: transparent;
|
|
60867
60980
|
}
|
|
@@ -61387,7 +61500,7 @@ let ObcCheckbox = class extends i$4 {
|
|
|
61387
61500
|
`;
|
|
61388
61501
|
}
|
|
61389
61502
|
};
|
|
61390
|
-
ObcCheckbox.styles = [r$7(componentStyle$
|
|
61503
|
+
ObcCheckbox.styles = [r$7(componentStyle$_)];
|
|
61391
61504
|
__decorateClass$vd([
|
|
61392
61505
|
n$3({ type: String })
|
|
61393
61506
|
], ObcCheckbox.prototype, "status", 2);
|
|
@@ -61406,7 +61519,7 @@ __decorateClass$vd([
|
|
|
61406
61519
|
ObcCheckbox = __decorateClass$vd([
|
|
61407
61520
|
customElement("obc-checkbox")
|
|
61408
61521
|
], ObcCheckbox);
|
|
61409
|
-
const componentStyle$
|
|
61522
|
+
const componentStyle$Z = i$7`
|
|
61410
61523
|
* {
|
|
61411
61524
|
-webkit-tap-highlight-color: transparent;
|
|
61412
61525
|
}
|
|
@@ -61654,7 +61767,7 @@ let ObcTag = class extends i$4 {
|
|
|
61654
61767
|
`;
|
|
61655
61768
|
}
|
|
61656
61769
|
};
|
|
61657
|
-
ObcTag.styles = r$7(componentStyle$
|
|
61770
|
+
ObcTag.styles = r$7(componentStyle$Z);
|
|
61658
61771
|
__decorateClass$vc([
|
|
61659
61772
|
n$3({ type: String })
|
|
61660
61773
|
], ObcTag.prototype, "label", 2);
|
|
@@ -64106,7 +64219,7 @@ const compentStyle$S = i$7`
|
|
|
64106
64219
|
justify-items: center;
|
|
64107
64220
|
}
|
|
64108
64221
|
`;
|
|
64109
|
-
const componentStyle$
|
|
64222
|
+
const componentStyle$Y = i$7`
|
|
64110
64223
|
* {
|
|
64111
64224
|
-webkit-tap-highlight-color: transparent;
|
|
64112
64225
|
}
|
|
@@ -64909,7 +65022,7 @@ let ObcTextInputField = class extends i$4 {
|
|
|
64909
65022
|
`;
|
|
64910
65023
|
}
|
|
64911
65024
|
};
|
|
64912
|
-
ObcTextInputField.styles = r$7(componentStyle$
|
|
65025
|
+
ObcTextInputField.styles = r$7(componentStyle$Y);
|
|
64913
65026
|
__decorateClass$v1([
|
|
64914
65027
|
n$3({ type: String })
|
|
64915
65028
|
], ObcTextInputField.prototype, "value", 2);
|
|
@@ -65087,7 +65200,7 @@ ObcAppMenu.styles = r$7(compentStyle$S);
|
|
|
65087
65200
|
ObcAppMenu = __decorateClass$u$([
|
|
65088
65201
|
customElement("obc-app-menu")
|
|
65089
65202
|
], ObcAppMenu);
|
|
65090
|
-
const componentStyle$
|
|
65203
|
+
const componentStyle$X = i$7`
|
|
65091
65204
|
* {
|
|
65092
65205
|
-webkit-tap-highlight-color: transparent;
|
|
65093
65206
|
}
|
|
@@ -65443,7 +65556,7 @@ let ObcAttachmentListItem = class extends i$4 {
|
|
|
65443
65556
|
`;
|
|
65444
65557
|
}
|
|
65445
65558
|
};
|
|
65446
|
-
ObcAttachmentListItem.styles = r$7(componentStyle$
|
|
65559
|
+
ObcAttachmentListItem.styles = r$7(componentStyle$X);
|
|
65447
65560
|
__decorateClass$u_([
|
|
65448
65561
|
n$3({ type: String })
|
|
65449
65562
|
], ObcAttachmentListItem.prototype, "label", 2);
|
|
@@ -65559,7 +65672,7 @@ __decorateClass$uZ([
|
|
|
65559
65672
|
ObcAudioOutput = __decorateClass$uZ([
|
|
65560
65673
|
customElement("obc-audio-output")
|
|
65561
65674
|
], ObcAudioOutput);
|
|
65562
|
-
const componentStyle$
|
|
65675
|
+
const componentStyle$W = i$7`
|
|
65563
65676
|
* {
|
|
65564
65677
|
-webkit-tap-highlight-color: transparent;
|
|
65565
65678
|
}
|
|
@@ -65674,7 +65787,7 @@ const componentStyle$V = i$7`
|
|
|
65674
65787
|
min-width: 0;
|
|
65675
65788
|
}
|
|
65676
65789
|
`;
|
|
65677
|
-
const componentStyle$
|
|
65790
|
+
const componentStyle$V = i$7`
|
|
65678
65791
|
* {
|
|
65679
65792
|
-webkit-tap-highlight-color: transparent;
|
|
65680
65793
|
}
|
|
@@ -66279,7 +66392,7 @@ let ObcSlider = class extends i$4 {
|
|
|
66279
66392
|
`;
|
|
66280
66393
|
}
|
|
66281
66394
|
};
|
|
66282
|
-
ObcSlider.styles = r$7(componentStyle$
|
|
66395
|
+
ObcSlider.styles = r$7(componentStyle$V);
|
|
66283
66396
|
__decorateClass$uY([
|
|
66284
66397
|
n$3({ type: Number })
|
|
66285
66398
|
], ObcSlider.prototype, "value", 2);
|
|
@@ -66580,7 +66693,7 @@ let ObcAudioRecordingItem = class extends i$4 {
|
|
|
66580
66693
|
`;
|
|
66581
66694
|
}
|
|
66582
66695
|
};
|
|
66583
|
-
ObcAudioRecordingItem.styles = r$7(componentStyle$
|
|
66696
|
+
ObcAudioRecordingItem.styles = r$7(componentStyle$W);
|
|
66584
66697
|
__decorateClass$uV([
|
|
66585
66698
|
n$3({ type: Array })
|
|
66586
66699
|
], ObcAudioRecordingItem.prototype, "audioLevels", 2);
|
|
@@ -67409,7 +67522,7 @@ __decorateClass$uR([
|
|
|
67409
67522
|
ObcBreadcrumb = __decorateClass$uR([
|
|
67410
67523
|
customElement("obc-breadcrumb")
|
|
67411
67524
|
], ObcBreadcrumb);
|
|
67412
|
-
const componentStyle$
|
|
67525
|
+
const componentStyle$U = i$7`
|
|
67413
67526
|
* {
|
|
67414
67527
|
-webkit-tap-highlight-color: transparent;
|
|
67415
67528
|
}
|
|
@@ -67584,7 +67697,7 @@ const componentStyle$T = i$7`
|
|
|
67584
67697
|
width: auto;
|
|
67585
67698
|
}
|
|
67586
67699
|
`;
|
|
67587
|
-
const componentStyle$
|
|
67700
|
+
const componentStyle$T = i$7`
|
|
67588
67701
|
* {
|
|
67589
67702
|
-webkit-tap-highlight-color: transparent;
|
|
67590
67703
|
}
|
|
@@ -67998,7 +68111,7 @@ let ObcToggleSwitch = class extends i$4 {
|
|
|
67998
68111
|
`;
|
|
67999
68112
|
}
|
|
68000
68113
|
};
|
|
68001
|
-
ObcToggleSwitch.styles = r$7(componentStyle$
|
|
68114
|
+
ObcToggleSwitch.styles = r$7(componentStyle$T);
|
|
68002
68115
|
__decorateClass$uQ([
|
|
68003
68116
|
n$3({ type: String })
|
|
68004
68117
|
], ObcToggleSwitch.prototype, "label", 2);
|
|
@@ -68026,7 +68139,7 @@ __decorateClass$uQ([
|
|
|
68026
68139
|
ObcToggleSwitch = __decorateClass$uQ([
|
|
68027
68140
|
customElement("obc-toggle-switch")
|
|
68028
68141
|
], ObcToggleSwitch);
|
|
68029
|
-
const componentStyle$
|
|
68142
|
+
const componentStyle$S = i$7`
|
|
68030
68143
|
* {
|
|
68031
68144
|
-webkit-tap-highlight-color: transparent;
|
|
68032
68145
|
}
|
|
@@ -68616,7 +68729,7 @@ let ObcToggleButtonOption = class extends i$4 {
|
|
|
68616
68729
|
`;
|
|
68617
68730
|
}
|
|
68618
68731
|
};
|
|
68619
|
-
ObcToggleButtonOption.styles = r$7(componentStyle$
|
|
68732
|
+
ObcToggleButtonOption.styles = r$7(componentStyle$S);
|
|
68620
68733
|
__decorateClass$uP([
|
|
68621
68734
|
n$3({ type: String })
|
|
68622
68735
|
], ObcToggleButtonOption.prototype, "value", 2);
|
|
@@ -68647,7 +68760,7 @@ __decorateClass$uP([
|
|
|
68647
68760
|
ObcToggleButtonOption = __decorateClass$uP([
|
|
68648
68761
|
customElement("obc-toggle-button-option")
|
|
68649
68762
|
], ObcToggleButtonOption);
|
|
68650
|
-
const componentStyle$
|
|
68763
|
+
const componentStyle$R = i$7`
|
|
68651
68764
|
* {
|
|
68652
68765
|
-webkit-tap-highlight-color: transparent;
|
|
68653
68766
|
}
|
|
@@ -68956,7 +69069,7 @@ let ObcToggleButtonGroup = class extends i$4 {
|
|
|
68956
69069
|
`;
|
|
68957
69070
|
}
|
|
68958
69071
|
};
|
|
68959
|
-
ObcToggleButtonGroup.styles = r$7(componentStyle$
|
|
69072
|
+
ObcToggleButtonGroup.styles = r$7(componentStyle$R);
|
|
68960
69073
|
__decorateClass$uO([
|
|
68961
69074
|
n$3({ type: String })
|
|
68962
69075
|
], ObcToggleButtonGroup.prototype, "value", 2);
|
|
@@ -71546,7 +71659,7 @@ let ObcBrillianceMenu = class extends i$4 {
|
|
|
71546
71659
|
this.dispatchEvent(new CustomEvent("screen-control-link-clicked"));
|
|
71547
71660
|
}
|
|
71548
71661
|
};
|
|
71549
|
-
ObcBrillianceMenu.styles = r$7(componentStyle$
|
|
71662
|
+
ObcBrillianceMenu.styles = r$7(componentStyle$U);
|
|
71550
71663
|
__decorateClass$uw([
|
|
71551
71664
|
n$3({ type: String })
|
|
71552
71665
|
], ObcBrillianceMenu.prototype, "palette", 2);
|
|
@@ -71602,7 +71715,7 @@ ObcBrillianceMenu = __decorateClass$uw([
|
|
|
71602
71715
|
localized(),
|
|
71603
71716
|
customElement("obc-brilliance-menu")
|
|
71604
71717
|
], ObcBrillianceMenu);
|
|
71605
|
-
const componentStyle$
|
|
71718
|
+
const componentStyle$Q = i$7`
|
|
71606
71719
|
* {
|
|
71607
71720
|
-webkit-tap-highlight-color: transparent;
|
|
71608
71721
|
}
|
|
@@ -71825,7 +71938,7 @@ const componentStyle$P = i$7`
|
|
|
71825
71938
|
flex-shrink: 0;
|
|
71826
71939
|
}
|
|
71827
71940
|
`;
|
|
71828
|
-
const componentStyle$
|
|
71941
|
+
const componentStyle$P = i$7`
|
|
71829
71942
|
* {
|
|
71830
71943
|
-webkit-tap-highlight-color: transparent;
|
|
71831
71944
|
}
|
|
@@ -72178,7 +72291,7 @@ let ObcEventItem = class extends i$4 {
|
|
|
72178
72291
|
`;
|
|
72179
72292
|
}
|
|
72180
72293
|
};
|
|
72181
|
-
ObcEventItem.styles = r$7(componentStyle$
|
|
72294
|
+
ObcEventItem.styles = r$7(componentStyle$P);
|
|
72182
72295
|
__decorateClass$uv([
|
|
72183
72296
|
n$3({ type: String })
|
|
72184
72297
|
], ObcEventItem.prototype, "title", 2);
|
|
@@ -72302,7 +72415,7 @@ function getMonthGrid(year, month, firstDayOfWeek = 1, events, today) {
|
|
|
72302
72415
|
}
|
|
72303
72416
|
return grid2;
|
|
72304
72417
|
}
|
|
72305
|
-
const componentStyle$
|
|
72418
|
+
const componentStyle$O = i$7`
|
|
72306
72419
|
* {
|
|
72307
72420
|
-webkit-tap-highlight-color: transparent;
|
|
72308
72421
|
}
|
|
@@ -73118,7 +73231,7 @@ let ObcDateItem = class extends i$4 {
|
|
|
73118
73231
|
};
|
|
73119
73232
|
ObcDateItem._HEADER_HEIGHT = 48;
|
|
73120
73233
|
ObcDateItem._EVENT_HEIGHT = 48;
|
|
73121
|
-
ObcDateItem.styles = r$7(componentStyle$
|
|
73234
|
+
ObcDateItem.styles = r$7(componentStyle$O);
|
|
73122
73235
|
__decorateClass$uu([
|
|
73123
73236
|
n$3({ type: String })
|
|
73124
73237
|
], ObcDateItem.prototype, "size", 2);
|
|
@@ -73152,7 +73265,7 @@ __decorateClass$uu([
|
|
|
73152
73265
|
ObcDateItem = __decorateClass$uu([
|
|
73153
73266
|
customElement("obc-date-item")
|
|
73154
73267
|
], ObcDateItem);
|
|
73155
|
-
const componentStyle$
|
|
73268
|
+
const componentStyle$N = i$7`
|
|
73156
73269
|
* {
|
|
73157
73270
|
-webkit-tap-highlight-color: transparent;
|
|
73158
73271
|
}
|
|
@@ -73346,7 +73459,7 @@ let ObcEventList = class extends i$4 {
|
|
|
73346
73459
|
`;
|
|
73347
73460
|
}
|
|
73348
73461
|
};
|
|
73349
|
-
ObcEventList.styles = r$7(componentStyle$
|
|
73462
|
+
ObcEventList.styles = r$7(componentStyle$N);
|
|
73350
73463
|
__decorateClass$ut([
|
|
73351
73464
|
n$3({ type: Boolean, attribute: false })
|
|
73352
73465
|
], ObcEventList.prototype, "showHeader", 2);
|
|
@@ -74595,7 +74708,7 @@ let ObcCalendar = class extends i$4 {
|
|
|
74595
74708
|
`;
|
|
74596
74709
|
}
|
|
74597
74710
|
};
|
|
74598
|
-
ObcCalendar.styles = r$7(componentStyle$
|
|
74711
|
+
ObcCalendar.styles = r$7(componentStyle$Q);
|
|
74599
74712
|
__decorateClass$ul([
|
|
74600
74713
|
n$3({ type: String })
|
|
74601
74714
|
], ObcCalendar.prototype, "type", 2);
|
|
@@ -76006,7 +76119,7 @@ __decorateClass$ug([
|
|
|
76006
76119
|
ObcCheckButton = __decorateClass$ug([
|
|
76007
76120
|
customElement("obc-check-button")
|
|
76008
76121
|
], ObcCheckButton);
|
|
76009
|
-
const componentStyle$
|
|
76122
|
+
const componentStyle$M = i$7`
|
|
76010
76123
|
* {
|
|
76011
76124
|
-webkit-tap-highlight-color: transparent;
|
|
76012
76125
|
}
|
|
@@ -76303,7 +76416,7 @@ let ObcCheckboxItem = class extends i$4 {
|
|
|
76303
76416
|
`;
|
|
76304
76417
|
}
|
|
76305
76418
|
};
|
|
76306
|
-
ObcCheckboxItem.styles = r$7(componentStyle$
|
|
76419
|
+
ObcCheckboxItem.styles = r$7(componentStyle$M);
|
|
76307
76420
|
__decorateClass$uf([
|
|
76308
76421
|
n$3({ type: String })
|
|
76309
76422
|
], ObcCheckboxItem.prototype, "status", 2);
|
|
@@ -77273,7 +77386,7 @@ const compentStyle$E = i$7`
|
|
|
77273
77386
|
"ss04" on;
|
|
77274
77387
|
}
|
|
77275
77388
|
`;
|
|
77276
|
-
const componentStyle$
|
|
77389
|
+
const componentStyle$L = i$7`
|
|
77277
77390
|
* {
|
|
77278
77391
|
-webkit-tap-highlight-color: transparent;
|
|
77279
77392
|
}
|
|
@@ -77991,7 +78104,7 @@ let ObcStartStopSwitch = class extends i$4 {
|
|
|
77991
78104
|
`;
|
|
77992
78105
|
}
|
|
77993
78106
|
};
|
|
77994
|
-
ObcStartStopSwitch.styles = r$7(componentStyle$
|
|
78107
|
+
ObcStartStopSwitch.styles = r$7(componentStyle$L);
|
|
77995
78108
|
__decorateClass$ua([
|
|
77996
78109
|
n$3({ type: Boolean, reflect: true })
|
|
77997
78110
|
], ObcStartStopSwitch.prototype, "checked", 2);
|
|
@@ -81148,7 +81261,7 @@ __decorateClass$u0([
|
|
|
81148
81261
|
ObcFilterChip = __decorateClass$u0([
|
|
81149
81262
|
customElement("obc-filter-chip")
|
|
81150
81263
|
], ObcFilterChip);
|
|
81151
|
-
const componentStyle$
|
|
81264
|
+
const componentStyle$K = i$7`
|
|
81152
81265
|
* {
|
|
81153
81266
|
-webkit-tap-highlight-color: transparent;
|
|
81154
81267
|
}
|
|
@@ -81346,7 +81459,7 @@ let ObcFormContainer = class extends i$4 {
|
|
|
81346
81459
|
`;
|
|
81347
81460
|
}
|
|
81348
81461
|
};
|
|
81349
|
-
ObcFormContainer.styles = r$7(componentStyle$
|
|
81462
|
+
ObcFormContainer.styles = r$7(componentStyle$K);
|
|
81350
81463
|
__decorateClass$t$([
|
|
81351
81464
|
n$3({ type: String })
|
|
81352
81465
|
], ObcFormContainer.prototype, "type", 2);
|
|
@@ -81356,7 +81469,7 @@ __decorateClass$t$([
|
|
|
81356
81469
|
ObcFormContainer = __decorateClass$t$([
|
|
81357
81470
|
customElement("obc-form-container")
|
|
81358
81471
|
], ObcFormContainer);
|
|
81359
|
-
const componentStyle$
|
|
81472
|
+
const componentStyle$J = i$7`
|
|
81360
81473
|
* {
|
|
81361
81474
|
-webkit-tap-highlight-color: transparent;
|
|
81362
81475
|
}
|
|
@@ -81461,14 +81574,14 @@ let ObcFormFooterContainer = class extends i$4 {
|
|
|
81461
81574
|
`;
|
|
81462
81575
|
}
|
|
81463
81576
|
};
|
|
81464
|
-
ObcFormFooterContainer.styles = r$7(componentStyle$
|
|
81577
|
+
ObcFormFooterContainer.styles = r$7(componentStyle$J);
|
|
81465
81578
|
__decorateClass$t_([
|
|
81466
81579
|
n$3({ type: Boolean, attribute: "has-actions" })
|
|
81467
81580
|
], ObcFormFooterContainer.prototype, "hasActions", 2);
|
|
81468
81581
|
ObcFormFooterContainer = __decorateClass$t_([
|
|
81469
81582
|
customElement("obc-form-footer-container")
|
|
81470
81583
|
], ObcFormFooterContainer);
|
|
81471
|
-
const componentStyle$
|
|
81584
|
+
const componentStyle$I = i$7`
|
|
81472
81585
|
* {
|
|
81473
81586
|
-webkit-tap-highlight-color: transparent;
|
|
81474
81587
|
}
|
|
@@ -81689,14 +81802,14 @@ let ObcFormGroup = class extends i$4 {
|
|
|
81689
81802
|
`;
|
|
81690
81803
|
}
|
|
81691
81804
|
};
|
|
81692
|
-
ObcFormGroup.styles = r$7(componentStyle$
|
|
81805
|
+
ObcFormGroup.styles = r$7(componentStyle$I);
|
|
81693
81806
|
__decorateClass$tZ([
|
|
81694
81807
|
n$3({ type: String })
|
|
81695
81808
|
], ObcFormGroup.prototype, "type", 2);
|
|
81696
81809
|
ObcFormGroup = __decorateClass$tZ([
|
|
81697
81810
|
customElement("obc-form-group")
|
|
81698
81811
|
], ObcFormGroup);
|
|
81699
|
-
const componentStyle$
|
|
81812
|
+
const componentStyle$H = i$7`
|
|
81700
81813
|
* {
|
|
81701
81814
|
-webkit-tap-highlight-color: transparent;
|
|
81702
81815
|
}
|
|
@@ -82093,7 +82206,7 @@ let ObcFormItem = class extends i$4 {
|
|
|
82093
82206
|
`;
|
|
82094
82207
|
}
|
|
82095
82208
|
};
|
|
82096
|
-
ObcFormItem.styles = r$7(componentStyle$
|
|
82209
|
+
ObcFormItem.styles = r$7(componentStyle$H);
|
|
82097
82210
|
__decorateClass$tY([
|
|
82098
82211
|
n$3({ type: String })
|
|
82099
82212
|
], ObcFormItem.prototype, "type", 2);
|
|
@@ -82710,7 +82823,7 @@ __decorateClass$tW([
|
|
|
82710
82823
|
ObcInputChip = __decorateClass$tW([
|
|
82711
82824
|
customElement("obc-input-chip")
|
|
82712
82825
|
], ObcInputChip);
|
|
82713
|
-
const componentStyle$
|
|
82826
|
+
const componentStyle$G = i$7`
|
|
82714
82827
|
* {
|
|
82715
82828
|
-webkit-tap-highlight-color: transparent;
|
|
82716
82829
|
}
|
|
@@ -83542,7 +83655,7 @@ let ObcKeyboardFull = class extends i$4 {
|
|
|
83542
83655
|
`;
|
|
83543
83656
|
}
|
|
83544
83657
|
};
|
|
83545
|
-
ObcKeyboardFull.styles = r$7(componentStyle$
|
|
83658
|
+
ObcKeyboardFull.styles = r$7(componentStyle$G);
|
|
83546
83659
|
__decorateClass$tT([
|
|
83547
83660
|
n$3({ type: String })
|
|
83548
83661
|
], ObcKeyboardFull.prototype, "type", 2);
|
|
@@ -83576,7 +83689,7 @@ __decorateClass$tT([
|
|
|
83576
83689
|
ObcKeyboardFull = __decorateClass$tT([
|
|
83577
83690
|
customElement("obc-keyboard-full")
|
|
83578
83691
|
], ObcKeyboardFull);
|
|
83579
|
-
const componentStyle$
|
|
83692
|
+
const componentStyle$F = i$7`
|
|
83580
83693
|
* {
|
|
83581
83694
|
-webkit-tap-highlight-color: transparent;
|
|
83582
83695
|
}
|
|
@@ -83954,7 +84067,7 @@ __decorateClass$tP([
|
|
|
83954
84067
|
ObiEqual = __decorateClass$tP([
|
|
83955
84068
|
customElement("obi-equal")
|
|
83956
84069
|
], ObiEqual);
|
|
83957
|
-
const componentStyle$
|
|
84070
|
+
const componentStyle$E = i$7`
|
|
83958
84071
|
* {
|
|
83959
84072
|
-webkit-tap-highlight-color: transparent;
|
|
83960
84073
|
}
|
|
@@ -84791,7 +84904,7 @@ let ObcNumberInputField = class extends i$4 {
|
|
|
84791
84904
|
`;
|
|
84792
84905
|
}
|
|
84793
84906
|
};
|
|
84794
|
-
ObcNumberInputField.styles = r$7(componentStyle$
|
|
84907
|
+
ObcNumberInputField.styles = r$7(componentStyle$E);
|
|
84795
84908
|
__decorateClass$tO([
|
|
84796
84909
|
n$3({ type: Number })
|
|
84797
84910
|
], ObcNumberInputField.prototype, "value", 2);
|
|
@@ -85235,7 +85348,7 @@ let ObcKeyboardNumeric = class extends i$4 {
|
|
|
85235
85348
|
`;
|
|
85236
85349
|
}
|
|
85237
85350
|
};
|
|
85238
|
-
ObcKeyboardNumeric.styles = r$7(componentStyle$
|
|
85351
|
+
ObcKeyboardNumeric.styles = r$7(componentStyle$F);
|
|
85239
85352
|
__decorateClass$tN([
|
|
85240
85353
|
n$3({ type: String })
|
|
85241
85354
|
], ObcKeyboardNumeric.prototype, "type", 2);
|
|
@@ -85729,7 +85842,7 @@ __decorateClass$tM([
|
|
|
85729
85842
|
ObcMenuButton = __decorateClass$tM([
|
|
85730
85843
|
customElement("obc-menu-button")
|
|
85731
85844
|
], ObcMenuButton);
|
|
85732
|
-
const componentStyle$
|
|
85845
|
+
const componentStyle$D = i$7`
|
|
85733
85846
|
* {
|
|
85734
85847
|
-webkit-tap-highlight-color: transparent;
|
|
85735
85848
|
}
|
|
@@ -85987,7 +86100,7 @@ let ObcModalWindow = class extends i$4 {
|
|
|
85987
86100
|
`;
|
|
85988
86101
|
}
|
|
85989
86102
|
};
|
|
85990
|
-
ObcModalWindow.styles = r$7(componentStyle$
|
|
86103
|
+
ObcModalWindow.styles = r$7(componentStyle$D);
|
|
85991
86104
|
__decorateClass$tL([
|
|
85992
86105
|
n$3({ type: String })
|
|
85993
86106
|
], ObcModalWindow.prototype, "size", 2);
|
|
@@ -86006,7 +86119,7 @@ __decorateClass$tL([
|
|
|
86006
86119
|
ObcModalWindow = __decorateClass$tL([
|
|
86007
86120
|
customElement("obc-modal-window")
|
|
86008
86121
|
], ObcModalWindow);
|
|
86009
|
-
const componentStyle$
|
|
86122
|
+
const componentStyle$C = i$7`
|
|
86010
86123
|
* {
|
|
86011
86124
|
-webkit-tap-highlight-color: transparent;
|
|
86012
86125
|
}
|
|
@@ -86196,7 +86309,7 @@ let ObcNotificationBadgeButton = class extends i$4 {
|
|
|
86196
86309
|
`;
|
|
86197
86310
|
}
|
|
86198
86311
|
};
|
|
86199
|
-
ObcNotificationBadgeButton.styles = r$7(componentStyle$
|
|
86312
|
+
ObcNotificationBadgeButton.styles = r$7(componentStyle$C);
|
|
86200
86313
|
__decorateClass$tK([
|
|
86201
86314
|
n$3({ type: Boolean })
|
|
86202
86315
|
], ObcNotificationBadgeButton.prototype, "openRight", 2);
|
|
@@ -86221,7 +86334,7 @@ __decorateClass$tK([
|
|
|
86221
86334
|
ObcNotificationBadgeButton = __decorateClass$tK([
|
|
86222
86335
|
customElement("obc-notification-badge-button")
|
|
86223
86336
|
], ObcNotificationBadgeButton);
|
|
86224
|
-
const componentStyle$
|
|
86337
|
+
const componentStyle$B = i$7`
|
|
86225
86338
|
* {
|
|
86226
86339
|
-webkit-tap-highlight-color: transparent;
|
|
86227
86340
|
}
|
|
@@ -86659,7 +86772,7 @@ let ObcNotificationButton = class extends i$4 {
|
|
|
86659
86772
|
this.dispatchEvent(event);
|
|
86660
86773
|
}
|
|
86661
86774
|
};
|
|
86662
|
-
ObcNotificationButton.styles = r$7(componentStyle$
|
|
86775
|
+
ObcNotificationButton.styles = r$7(componentStyle$B);
|
|
86663
86776
|
__decorateClass$tJ([
|
|
86664
86777
|
n$3({ type: String })
|
|
86665
86778
|
], ObcNotificationButton.prototype, "buttonStyle", 2);
|
|
@@ -86678,7 +86791,7 @@ __decorateClass$tJ([
|
|
|
86678
86791
|
ObcNotificationButton = __decorateClass$tJ([
|
|
86679
86792
|
customElement("obc-notification-button")
|
|
86680
86793
|
], ObcNotificationButton);
|
|
86681
|
-
const componentStyle$
|
|
86794
|
+
const componentStyle$A = i$7`
|
|
86682
86795
|
* {
|
|
86683
86796
|
-webkit-tap-highlight-color: transparent;
|
|
86684
86797
|
}`;
|
|
@@ -86746,7 +86859,7 @@ let ObcNotificationFloatingItem = class extends i$4 {
|
|
|
86746
86859
|
`;
|
|
86747
86860
|
}
|
|
86748
86861
|
};
|
|
86749
|
-
ObcNotificationFloatingItem.styles = r$7(componentStyle$
|
|
86862
|
+
ObcNotificationFloatingItem.styles = r$7(componentStyle$A);
|
|
86750
86863
|
__decorateClass$tI([
|
|
86751
86864
|
n$3({ type: String })
|
|
86752
86865
|
], ObcNotificationFloatingItem.prototype, "type", 2);
|
|
@@ -86867,7 +86980,7 @@ __decorateClass$tH([
|
|
|
86867
86980
|
ObcNotificationMenuItem = __decorateClass$tH([
|
|
86868
86981
|
customElement("obc-notification-menu-item")
|
|
86869
86982
|
], ObcNotificationMenuItem);
|
|
86870
|
-
const componentStyle$
|
|
86983
|
+
const componentStyle$z = i$7`
|
|
86871
86984
|
* {
|
|
86872
86985
|
-webkit-tap-highlight-color: transparent;
|
|
86873
86986
|
}
|
|
@@ -86966,7 +87079,7 @@ let ObcNotificationMessageItem = class extends i$4 {
|
|
|
86966
87079
|
`;
|
|
86967
87080
|
}
|
|
86968
87081
|
};
|
|
86969
|
-
ObcNotificationMessageItem.styles = r$7(componentStyle$
|
|
87082
|
+
ObcNotificationMessageItem.styles = r$7(componentStyle$z);
|
|
86970
87083
|
__decorateClass$tG([
|
|
86971
87084
|
n$3({ type: String })
|
|
86972
87085
|
], ObcNotificationMessageItem.prototype, "title", 2);
|
|
@@ -87351,7 +87464,7 @@ __decorateClass$tD([
|
|
|
87351
87464
|
ObcPagination = __decorateClass$tD([
|
|
87352
87465
|
customElement("obc-pagination")
|
|
87353
87466
|
], ObcPagination);
|
|
87354
|
-
const componentStyle$
|
|
87467
|
+
const componentStyle$y = i$7`
|
|
87355
87468
|
* {
|
|
87356
87469
|
-webkit-tap-highlight-color: transparent;
|
|
87357
87470
|
}
|
|
@@ -87828,7 +87941,7 @@ let ObcPivotItemGroup = class extends i$4 {
|
|
|
87828
87941
|
`;
|
|
87829
87942
|
}
|
|
87830
87943
|
};
|
|
87831
|
-
ObcPivotItemGroup.styles = r$7(componentStyle$
|
|
87944
|
+
ObcPivotItemGroup.styles = r$7(componentStyle$y);
|
|
87832
87945
|
__decorateClass$tB([
|
|
87833
87946
|
n$3({ type: String })
|
|
87834
87947
|
], ObcPivotItemGroup.prototype, "direction", 2);
|
|
@@ -87841,7 +87954,7 @@ __decorateClass$tB([
|
|
|
87841
87954
|
ObcPivotItemGroup = __decorateClass$tB([
|
|
87842
87955
|
customElement("obc-pivot-item-group")
|
|
87843
87956
|
], ObcPivotItemGroup);
|
|
87844
|
-
const componentStyle$
|
|
87957
|
+
const componentStyle$x = i$7`
|
|
87845
87958
|
* {
|
|
87846
87959
|
-webkit-tap-highlight-color: transparent;
|
|
87847
87960
|
}
|
|
@@ -88209,7 +88322,7 @@ let ObcProgressBar = class extends i$4 {
|
|
|
88209
88322
|
}
|
|
88210
88323
|
}
|
|
88211
88324
|
};
|
|
88212
|
-
ObcProgressBar.styles = r$7(componentStyle$
|
|
88325
|
+
ObcProgressBar.styles = r$7(componentStyle$x);
|
|
88213
88326
|
__decorateClass$tA([
|
|
88214
88327
|
n$3({ type: String })
|
|
88215
88328
|
], ObcProgressBar.prototype, "type", 2);
|
|
@@ -88246,7 +88359,7 @@ __decorateClass$tA([
|
|
|
88246
88359
|
ObcProgressBar = __decorateClass$tA([
|
|
88247
88360
|
customElement("obc-progress-bar")
|
|
88248
88361
|
], ObcProgressBar);
|
|
88249
|
-
const componentStyle$
|
|
88362
|
+
const componentStyle$w = i$7`
|
|
88250
88363
|
* {
|
|
88251
88364
|
-webkit-tap-highlight-color: transparent;
|
|
88252
88365
|
}
|
|
@@ -88972,7 +89085,7 @@ let ObcProgressButton = class extends i$4 {
|
|
|
88972
89085
|
this.dispatchEvent(event);
|
|
88973
89086
|
}
|
|
88974
89087
|
};
|
|
88975
|
-
ObcProgressButton.styles = r$7(componentStyle$
|
|
89088
|
+
ObcProgressButton.styles = r$7(componentStyle$w);
|
|
88976
89089
|
__decorateClass$tz([
|
|
88977
89090
|
n$3({ type: String })
|
|
88978
89091
|
], ObcProgressButton.prototype, "type", 2);
|
|
@@ -89319,7 +89432,7 @@ __decorateClass$ty([
|
|
|
89319
89432
|
ObcRichButton = __decorateClass$ty([
|
|
89320
89433
|
customElement("obc-rich-button")
|
|
89321
89434
|
], ObcRichButton);
|
|
89322
|
-
const componentStyle$
|
|
89435
|
+
const componentStyle$v = i$7`
|
|
89323
89436
|
* {
|
|
89324
89437
|
-webkit-tap-highlight-color: transparent;
|
|
89325
89438
|
}
|
|
@@ -90428,7 +90541,7 @@ button {
|
|
|
90428
90541
|
border-color: var(--normal-hover-border-color, currentColor);
|
|
90429
90542
|
}
|
|
90430
90543
|
`;
|
|
90431
|
-
const componentStyle$
|
|
90544
|
+
const componentStyle$u = i$7`
|
|
90432
90545
|
* {
|
|
90433
90546
|
-webkit-tap-highlight-color: transparent;
|
|
90434
90547
|
}
|
|
@@ -90792,7 +90905,7 @@ let ObcSequenceLoadingSpinner = class extends i$4 {
|
|
|
90792
90905
|
`;
|
|
90793
90906
|
}
|
|
90794
90907
|
};
|
|
90795
|
-
ObcSequenceLoadingSpinner.styles = r$7(componentStyle$
|
|
90908
|
+
ObcSequenceLoadingSpinner.styles = r$7(componentStyle$u);
|
|
90796
90909
|
__decorateClass$tx([
|
|
90797
90910
|
n$3({ type: String })
|
|
90798
90911
|
], ObcSequenceLoadingSpinner.prototype, "type", 2);
|
|
@@ -91427,7 +91540,7 @@ let ObcSequenceCard = class extends i$4 {
|
|
|
91427
91540
|
`;
|
|
91428
91541
|
}
|
|
91429
91542
|
};
|
|
91430
|
-
ObcSequenceCard.styles = r$7(componentStyle$
|
|
91543
|
+
ObcSequenceCard.styles = r$7(componentStyle$v);
|
|
91431
91544
|
__decorateClass$tv([
|
|
91432
91545
|
n$3({ type: String })
|
|
91433
91546
|
], ObcSequenceCard.prototype, "size", 2);
|
|
@@ -91494,7 +91607,7 @@ __decorateClass$tv([
|
|
|
91494
91607
|
ObcSequenceCard = __decorateClass$tv([
|
|
91495
91608
|
customElement("obc-sequence-card")
|
|
91496
91609
|
], ObcSequenceCard);
|
|
91497
|
-
const componentStyle$
|
|
91610
|
+
const componentStyle$t = i$7`
|
|
91498
91611
|
* {
|
|
91499
91612
|
-webkit-tap-highlight-color: transparent;
|
|
91500
91613
|
}
|
|
@@ -91647,7 +91760,7 @@ let ObcSequenceConnector = class extends i$4 {
|
|
|
91647
91760
|
`;
|
|
91648
91761
|
}
|
|
91649
91762
|
};
|
|
91650
|
-
ObcSequenceConnector.styles = r$7(componentStyle$
|
|
91763
|
+
ObcSequenceConnector.styles = r$7(componentStyle$t);
|
|
91651
91764
|
__decorateClass$tu([
|
|
91652
91765
|
n$3({ type: String })
|
|
91653
91766
|
], ObcSequenceConnector.prototype, "type", 2);
|
|
@@ -92169,7 +92282,7 @@ __decorateClass$tt([
|
|
|
92169
92282
|
ObcSequenceItem = __decorateClass$tt([
|
|
92170
92283
|
customElement("obc-sequence-item")
|
|
92171
92284
|
], ObcSequenceItem);
|
|
92172
|
-
const componentStyle$
|
|
92285
|
+
const componentStyle$s = i$7`
|
|
92173
92286
|
* {
|
|
92174
92287
|
-webkit-tap-highlight-color: transparent;
|
|
92175
92288
|
}
|
|
@@ -92298,7 +92411,7 @@ let ObcSequenceModal = class extends i$4 {
|
|
|
92298
92411
|
`;
|
|
92299
92412
|
}
|
|
92300
92413
|
};
|
|
92301
|
-
ObcSequenceModal.styles = r$7(componentStyle$
|
|
92414
|
+
ObcSequenceModal.styles = r$7(componentStyle$s);
|
|
92302
92415
|
__decorateClass$ts([
|
|
92303
92416
|
n$3({ type: String })
|
|
92304
92417
|
], ObcSequenceModal.prototype, "type", 2);
|
|
@@ -92584,7 +92697,7 @@ __decorateClass$tr([
|
|
|
92584
92697
|
ObcSequenceToolbar = __decorateClass$tr([
|
|
92585
92698
|
customElement("obc-sequence-toolbar")
|
|
92586
92699
|
], ObcSequenceToolbar);
|
|
92587
|
-
const componentStyle$
|
|
92700
|
+
const componentStyle$r = i$7`
|
|
92588
92701
|
* {
|
|
92589
92702
|
-webkit-tap-highlight-color: transparent;
|
|
92590
92703
|
}
|
|
@@ -92999,7 +93112,7 @@ let ObcSlideButton = class extends i$4 {
|
|
|
92999
93112
|
`;
|
|
93000
93113
|
}
|
|
93001
93114
|
};
|
|
93002
|
-
ObcSlideButton.styles = r$7(componentStyle$
|
|
93115
|
+
ObcSlideButton.styles = r$7(componentStyle$r);
|
|
93003
93116
|
__decorateClass$tq([
|
|
93004
93117
|
n$3({ type: Boolean })
|
|
93005
93118
|
], ObcSlideButton.prototype, "disabled", 2);
|
|
@@ -93027,7 +93140,7 @@ __decorateClass$tq([
|
|
|
93027
93140
|
ObcSlideButton = __decorateClass$tq([
|
|
93028
93141
|
customElement("obc-slide-button")
|
|
93029
93142
|
], ObcSlideButton);
|
|
93030
|
-
const componentStyle$
|
|
93143
|
+
const componentStyle$q = i$7`
|
|
93031
93144
|
* {
|
|
93032
93145
|
-webkit-tap-highlight-color: transparent;
|
|
93033
93146
|
}
|
|
@@ -93704,7 +93817,7 @@ let ObcSliderDouble = class extends i$4 {
|
|
|
93704
93817
|
`;
|
|
93705
93818
|
}
|
|
93706
93819
|
};
|
|
93707
|
-
ObcSliderDouble.styles = r$7(componentStyle$
|
|
93820
|
+
ObcSliderDouble.styles = r$7(componentStyle$q);
|
|
93708
93821
|
__decorateClass$tp([
|
|
93709
93822
|
n$3({ type: Number })
|
|
93710
93823
|
], ObcSliderDouble.prototype, "low", 2);
|
|
@@ -97851,7 +97964,7 @@ __decorateClass$t4([
|
|
|
97851
97964
|
ObcTabRow = __decorateClass$t4([
|
|
97852
97965
|
customElement("obc-tab-row")
|
|
97853
97966
|
], ObcTabRow);
|
|
97854
|
-
const componentStyle$
|
|
97967
|
+
const componentStyle$p = i$7`
|
|
97855
97968
|
* {
|
|
97856
97969
|
-webkit-tap-highlight-color: transparent;
|
|
97857
97970
|
}
|
|
@@ -98948,7 +99061,7 @@ let ObcTextareaField = class extends i$4 {
|
|
|
98948
99061
|
`;
|
|
98949
99062
|
}
|
|
98950
99063
|
};
|
|
98951
|
-
ObcTextareaField.styles = r$7(componentStyle$
|
|
99064
|
+
ObcTextareaField.styles = r$7(componentStyle$p);
|
|
98952
99065
|
__decorateClass$s$([
|
|
98953
99066
|
n$3({ type: String })
|
|
98954
99067
|
], ObcTextareaField.prototype, "type", 2);
|
|
@@ -99040,7 +99153,7 @@ ObcTextareaField = __decorateClass$s$([
|
|
|
99040
99153
|
customElement("obc-textarea-field"),
|
|
99041
99154
|
localized()
|
|
99042
99155
|
], ObcTextareaField);
|
|
99043
|
-
const componentStyle$
|
|
99156
|
+
const componentStyle$o = i$7`
|
|
99044
99157
|
* {
|
|
99045
99158
|
-webkit-tap-highlight-color: transparent;
|
|
99046
99159
|
}
|
|
@@ -99247,7 +99360,7 @@ let ObcTitleContainer = class extends i$4 {
|
|
|
99247
99360
|
`;
|
|
99248
99361
|
}
|
|
99249
99362
|
};
|
|
99250
|
-
ObcTitleContainer.styles = r$7(componentStyle$
|
|
99363
|
+
ObcTitleContainer.styles = r$7(componentStyle$o);
|
|
99251
99364
|
__decorateClass$s_([
|
|
99252
99365
|
n$3({ type: String })
|
|
99253
99366
|
], ObcTitleContainer.prototype, "state", 2);
|
|
@@ -99260,7 +99373,7 @@ __decorateClass$s_([
|
|
|
99260
99373
|
ObcTitleContainer = __decorateClass$s_([
|
|
99261
99374
|
customElement("obc-title-container")
|
|
99262
99375
|
], ObcTitleContainer);
|
|
99263
|
-
const componentStyle$
|
|
99376
|
+
const componentStyle$n = i$7`
|
|
99264
99377
|
* {
|
|
99265
99378
|
-webkit-tap-highlight-color: transparent;
|
|
99266
99379
|
}
|
|
@@ -99402,7 +99515,7 @@ let ObcToggleButtonThreeState = class extends i$4 {
|
|
|
99402
99515
|
`;
|
|
99403
99516
|
}
|
|
99404
99517
|
};
|
|
99405
|
-
ObcToggleButtonThreeState.styles = r$7(componentStyle$
|
|
99518
|
+
ObcToggleButtonThreeState.styles = r$7(componentStyle$n);
|
|
99406
99519
|
__decorateClass$sZ([
|
|
99407
99520
|
n$3({ type: String })
|
|
99408
99521
|
], ObcToggleButtonThreeState.prototype, "state", 2);
|
|
@@ -100767,7 +100880,7 @@ __decorateClass$sW([
|
|
|
100767
100880
|
ObcToggletip = __decorateClass$sW([
|
|
100768
100881
|
customElement("obc-toggletip")
|
|
100769
100882
|
], ObcToggletip);
|
|
100770
|
-
const componentStyle$
|
|
100883
|
+
const componentStyle$m = i$7`
|
|
100771
100884
|
* {
|
|
100772
100885
|
-webkit-tap-highlight-color: transparent;
|
|
100773
100886
|
}
|
|
@@ -100999,7 +101112,7 @@ let ObcTooltip = class extends i$4 {
|
|
|
100999
101112
|
`;
|
|
101000
101113
|
}
|
|
101001
101114
|
};
|
|
101002
|
-
ObcTooltip.styles = r$7(componentStyle$
|
|
101115
|
+
ObcTooltip.styles = r$7(componentStyle$m);
|
|
101003
101116
|
__decorateClass$sV([
|
|
101004
101117
|
n$3({ type: String })
|
|
101005
101118
|
], ObcTooltip.prototype, "type", 2);
|
|
@@ -101654,7 +101767,7 @@ __decorateClass$sQ([
|
|
|
101654
101767
|
ObcTopBar = __decorateClass$sQ([
|
|
101655
101768
|
customElement("obc-top-bar")
|
|
101656
101769
|
], ObcTopBar);
|
|
101657
|
-
const componentStyle$
|
|
101770
|
+
const componentStyle$l = i$7`
|
|
101658
101771
|
* {
|
|
101659
101772
|
-webkit-tap-highlight-color: transparent;
|
|
101660
101773
|
}
|
|
@@ -102349,7 +102462,7 @@ let ObcUserMenu = class extends i$4 {
|
|
|
102349
102462
|
`;
|
|
102350
102463
|
}
|
|
102351
102464
|
};
|
|
102352
|
-
ObcUserMenu.styles = r$7(componentStyle$
|
|
102465
|
+
ObcUserMenu.styles = r$7(componentStyle$l);
|
|
102353
102466
|
__decorateClass$sO([
|
|
102354
102467
|
n$3({ type: String })
|
|
102355
102468
|
], ObcUserMenu.prototype, "type", 2);
|
|
@@ -199640,7 +199753,7 @@ __decorateClass$R([
|
|
|
199640
199753
|
ObcIntegrationFleetButton = __decorateClass$R([
|
|
199641
199754
|
customElement("obc-integration-fleet-button")
|
|
199642
199755
|
], ObcIntegrationFleetButton);
|
|
199643
|
-
const componentStyle$
|
|
199756
|
+
const componentStyle$k = i$7`
|
|
199644
199757
|
* {
|
|
199645
199758
|
-webkit-tap-highlight-color: transparent;
|
|
199646
199759
|
}
|
|
@@ -199762,7 +199875,7 @@ let ObcIntegrationVesselMenu = class extends i$4 {
|
|
|
199762
199875
|
`;
|
|
199763
199876
|
}
|
|
199764
199877
|
};
|
|
199765
|
-
ObcIntegrationVesselMenu.styles = r$7(componentStyle$
|
|
199878
|
+
ObcIntegrationVesselMenu.styles = r$7(componentStyle$k);
|
|
199766
199879
|
__decorateClass$Q([
|
|
199767
199880
|
n$3({ type: Number })
|
|
199768
199881
|
], ObcIntegrationVesselMenu.prototype, "numberOfButtons", 2);
|
|
@@ -201097,7 +201210,7 @@ function thrusterColors(options, state, priority) {
|
|
|
201097
201210
|
arrowColor
|
|
201098
201211
|
};
|
|
201099
201212
|
}
|
|
201100
|
-
const componentStyle$
|
|
201213
|
+
const componentStyle$j = i$7`
|
|
201101
201214
|
* {
|
|
201102
201215
|
-webkit-tap-highlight-color: transparent;
|
|
201103
201216
|
}
|
|
@@ -201345,7 +201458,7 @@ let ObcAzimuthThruster = class extends i$4 {
|
|
|
201345
201458
|
this._thrustSp.dispose();
|
|
201346
201459
|
}
|
|
201347
201460
|
};
|
|
201348
|
-
ObcAzimuthThruster.styles = r$7(componentStyle$
|
|
201461
|
+
ObcAzimuthThruster.styles = r$7(componentStyle$j);
|
|
201349
201462
|
__decorateClass$M([
|
|
201350
201463
|
n$3({ type: Number })
|
|
201351
201464
|
], ObcAzimuthThruster.prototype, "angle", 2);
|
|
@@ -201451,7 +201564,7 @@ __decorateClass$M([
|
|
|
201451
201564
|
ObcAzimuthThruster = __decorateClass$M([
|
|
201452
201565
|
customElement("obc-azimuth-thruster")
|
|
201453
201566
|
], ObcAzimuthThruster);
|
|
201454
|
-
const componentStyle$
|
|
201567
|
+
const componentStyle$i = i$7`
|
|
201455
201568
|
* {
|
|
201456
201569
|
-webkit-tap-highlight-color: transparent;
|
|
201457
201570
|
}
|
|
@@ -201845,6 +201958,10 @@ const componentStyle$h = i$7`
|
|
|
201845
201958
|
text-align: center;
|
|
201846
201959
|
}
|
|
201847
201960
|
|
|
201961
|
+
.readout.stack.vertical.alignment-center .instrument-label-unit-container {
|
|
201962
|
+
align-items: center;
|
|
201963
|
+
}
|
|
201964
|
+
|
|
201848
201965
|
.readout.stack.vertical.alignment-vertical {
|
|
201849
201966
|
justify-items: end;
|
|
201850
201967
|
}
|
|
@@ -202314,7 +202431,7 @@ const componentStyle$h = i$7`
|
|
|
202314
202431
|
z-index: 1;
|
|
202315
202432
|
}
|
|
202316
202433
|
`;
|
|
202317
|
-
const componentStyle$
|
|
202434
|
+
const componentStyle$h = i$7`
|
|
202318
202435
|
* {
|
|
202319
202436
|
-webkit-tap-highlight-color: transparent;
|
|
202320
202437
|
}
|
|
@@ -202348,7 +202465,7 @@ const componentStyle$g = i$7`
|
|
|
202348
202465
|
overflow: hidden;
|
|
202349
202466
|
}
|
|
202350
202467
|
`;
|
|
202351
|
-
const componentStyle$
|
|
202468
|
+
const componentStyle$g = i$7`
|
|
202352
202469
|
* {
|
|
202353
202470
|
-webkit-tap-highlight-color: transparent;
|
|
202354
202471
|
}
|
|
@@ -203788,7 +203905,7 @@ let ObcReadoutSetpoint = class extends i$4 {
|
|
|
203788
203905
|
`;
|
|
203789
203906
|
}
|
|
203790
203907
|
};
|
|
203791
|
-
ObcReadoutSetpoint.styles = r$7(componentStyle$
|
|
203908
|
+
ObcReadoutSetpoint.styles = r$7(componentStyle$g);
|
|
203792
203909
|
__decorateClass$L([
|
|
203793
203910
|
n$3({ type: String })
|
|
203794
203911
|
], ObcReadoutSetpoint.prototype, "variant", 2);
|
|
@@ -203951,7 +204068,7 @@ let ObcReadoutAdvice = class extends i$4 {
|
|
|
203951
204068
|
`;
|
|
203952
204069
|
}
|
|
203953
204070
|
};
|
|
203954
|
-
ObcReadoutAdvice.styles = r$7(componentStyle$
|
|
204071
|
+
ObcReadoutAdvice.styles = r$7(componentStyle$h);
|
|
203955
204072
|
__decorateClass$K([
|
|
203956
204073
|
n$3({
|
|
203957
204074
|
type: String,
|
|
@@ -204289,6 +204406,12 @@ var ReadoutDirection = /* @__PURE__ */ ((ReadoutDirection2) => {
|
|
|
204289
204406
|
ReadoutDirection2["horizontal"] = "horizontal";
|
|
204290
204407
|
return ReadoutDirection2;
|
|
204291
204408
|
})(ReadoutDirection || {});
|
|
204409
|
+
var ReadoutStackVerticalAlignment = /* @__PURE__ */ ((ReadoutStackVerticalAlignment2) => {
|
|
204410
|
+
ReadoutStackVerticalAlignment2["left"] = "left";
|
|
204411
|
+
ReadoutStackVerticalAlignment2["center"] = "center";
|
|
204412
|
+
ReadoutStackVerticalAlignment2["vertical"] = "vertical";
|
|
204413
|
+
return ReadoutStackVerticalAlignment2;
|
|
204414
|
+
})(ReadoutStackVerticalAlignment || {});
|
|
204292
204415
|
let ObcReadout = class extends i$4 {
|
|
204293
204416
|
constructor() {
|
|
204294
204417
|
super(...arguments);
|
|
@@ -204974,7 +205097,7 @@ ObcReadout.READOUT_SETPOINT_SIZE_ORDER = [
|
|
|
204974
205097
|
ReadoutSetpointSize.medium,
|
|
204975
205098
|
ReadoutSetpointSize.large
|
|
204976
205099
|
];
|
|
204977
|
-
ObcReadout.styles = r$7(componentStyle$
|
|
205100
|
+
ObcReadout.styles = r$7(componentStyle$i);
|
|
204978
205101
|
__decorateClass$J([
|
|
204979
205102
|
n$3({ type: Number })
|
|
204980
205103
|
], ObcReadout.prototype, "value", 2);
|
|
@@ -205436,7 +205559,7 @@ __decorateClass$H([
|
|
|
205436
205559
|
ObcBearingIndicator = __decorateClass$H([
|
|
205437
205560
|
customElement("obc-bearing-indicator")
|
|
205438
205561
|
], ObcBearingIndicator);
|
|
205439
|
-
const componentStyle$
|
|
205562
|
+
const componentStyle$f = i$7`
|
|
205440
205563
|
* {
|
|
205441
205564
|
-webkit-tap-highlight-color: transparent;
|
|
205442
205565
|
}
|
|
@@ -206136,7 +206259,7 @@ let ObcCompassFlat = class extends i$4 {
|
|
|
206136
206259
|
`;
|
|
206137
206260
|
}
|
|
206138
206261
|
};
|
|
206139
|
-
ObcCompassFlat.styles = r$7(componentStyle$
|
|
206262
|
+
ObcCompassFlat.styles = r$7(componentStyle$f);
|
|
206140
206263
|
__decorateClass$F([
|
|
206141
206264
|
n$3({ type: Boolean })
|
|
206142
206265
|
], ObcCompassFlat.prototype, "FOVIndicator", 2);
|
|
@@ -206197,7 +206320,7 @@ __decorateClass$F([
|
|
|
206197
206320
|
ObcCompassFlat = __decorateClass$F([
|
|
206198
206321
|
customElement("obc-compass-flat")
|
|
206199
206322
|
], ObcCompassFlat);
|
|
206200
|
-
const componentStyle$
|
|
206323
|
+
const componentStyle$e = i$7`
|
|
206201
206324
|
* {
|
|
206202
206325
|
-webkit-tap-highlight-color: transparent;
|
|
206203
206326
|
}`;
|
|
@@ -206514,7 +206637,7 @@ let ObcCompassIndicator = class extends i$4 {
|
|
|
206514
206637
|
);
|
|
206515
206638
|
}
|
|
206516
206639
|
};
|
|
206517
|
-
ObcCompassIndicator.styles = r$7(componentStyle$
|
|
206640
|
+
ObcCompassIndicator.styles = r$7(componentStyle$e);
|
|
206518
206641
|
__decorateClass$E([
|
|
206519
206642
|
n$3({ type: Number })
|
|
206520
206643
|
], ObcCompassIndicator.prototype, "angle", 2);
|
|
@@ -206530,7 +206653,7 @@ __decorateClass$E([
|
|
|
206530
206653
|
ObcCompassIndicator = __decorateClass$E([
|
|
206531
206654
|
customElement("obc-compass-indicator")
|
|
206532
206655
|
], ObcCompassIndicator);
|
|
206533
|
-
const componentStyle$
|
|
206656
|
+
const componentStyle$d = i$7`
|
|
206534
206657
|
* {
|
|
206535
206658
|
-webkit-tap-highlight-color: transparent;
|
|
206536
206659
|
}
|
|
@@ -206977,7 +207100,7 @@ let ObcCompassSector = class extends i$4 {
|
|
|
206977
207100
|
`;
|
|
206978
207101
|
}
|
|
206979
207102
|
};
|
|
206980
|
-
ObcCompassSector.styles = r$7(componentStyle$
|
|
207103
|
+
ObcCompassSector.styles = r$7(componentStyle$d);
|
|
206981
207104
|
__decorateClass$D([
|
|
206982
207105
|
n$3({ type: Number })
|
|
206983
207106
|
], ObcCompassSector.prototype, "heading", 2);
|
|
@@ -207649,7 +207772,7 @@ __decorateClass$B([
|
|
|
207649
207772
|
ObcDepthActual = __decorateClass$B([
|
|
207650
207773
|
customElement("obc-depth-actual")
|
|
207651
207774
|
], ObcDepthActual);
|
|
207652
|
-
const componentStyle$
|
|
207775
|
+
const componentStyle$c = i$7`
|
|
207653
207776
|
* {
|
|
207654
207777
|
-webkit-tap-highlight-color: transparent;
|
|
207655
207778
|
}
|
|
@@ -207817,7 +207940,7 @@ let ObcDepthIndicator = class extends i$4 {
|
|
|
207817
207940
|
`;
|
|
207818
207941
|
}
|
|
207819
207942
|
};
|
|
207820
|
-
ObcDepthIndicator.styles = r$7(componentStyle$
|
|
207943
|
+
ObcDepthIndicator.styles = r$7(componentStyle$c);
|
|
207821
207944
|
__decorateClass$A([
|
|
207822
207945
|
n$3({ type: String })
|
|
207823
207946
|
], ObcDepthIndicator.prototype, "variant", 2);
|
|
@@ -207827,7 +207950,7 @@ __decorateClass$A([
|
|
|
207827
207950
|
ObcDepthIndicator = __decorateClass$A([
|
|
207828
207951
|
customElement("obc-depth-indicator")
|
|
207829
207952
|
], ObcDepthIndicator);
|
|
207830
|
-
const componentStyle$
|
|
207953
|
+
const componentStyle$b = i$7`
|
|
207831
207954
|
* {
|
|
207832
207955
|
-webkit-tap-highlight-color: transparent;
|
|
207833
207956
|
}
|
|
@@ -208054,7 +208177,7 @@ let ObcGaugeBarIndicator = class extends i$4 {
|
|
|
208054
208177
|
`;
|
|
208055
208178
|
}
|
|
208056
208179
|
};
|
|
208057
|
-
ObcGaugeBarIndicator.styles = r$7(componentStyle$
|
|
208180
|
+
ObcGaugeBarIndicator.styles = r$7(componentStyle$b);
|
|
208058
208181
|
__decorateClass$z([
|
|
208059
208182
|
n$3({ type: Number })
|
|
208060
208183
|
], ObcGaugeBarIndicator.prototype, "value", 2);
|
|
@@ -208319,7 +208442,7 @@ __decorateClass$y([
|
|
|
208319
208442
|
ObcGaugeHorizontal = __decorateClass$y([
|
|
208320
208443
|
customElement("obc-gauge-horizontal")
|
|
208321
208444
|
], ObcGaugeHorizontal);
|
|
208322
|
-
const componentStyle$
|
|
208445
|
+
const componentStyle$a = i$7`
|
|
208323
208446
|
* {
|
|
208324
208447
|
-webkit-tap-highlight-color: transparent;
|
|
208325
208448
|
}
|
|
@@ -208999,7 +209122,7 @@ let ObcGaugeRadialIndicator = class extends i$4 {
|
|
|
208999
209122
|
`;
|
|
209000
209123
|
}
|
|
209001
209124
|
};
|
|
209002
|
-
ObcGaugeRadialIndicator.styles = r$7(componentStyle$
|
|
209125
|
+
ObcGaugeRadialIndicator.styles = r$7(componentStyle$a);
|
|
209003
209126
|
__decorateClass$x([
|
|
209004
209127
|
n$3({ type: Number })
|
|
209005
209128
|
], ObcGaugeRadialIndicator.prototype, "value", 2);
|
|
@@ -209024,6 +209147,100 @@ __decorateClass$x([
|
|
|
209024
209147
|
ObcGaugeRadialIndicator = __decorateClass$x([
|
|
209025
209148
|
customElement("obc-gauge-radial-indicator")
|
|
209026
209149
|
], ObcGaugeRadialIndicator);
|
|
209150
|
+
const componentStyle$9 = i$7`
|
|
209151
|
+
* {
|
|
209152
|
+
-webkit-tap-highlight-color: transparent;
|
|
209153
|
+
}
|
|
209154
|
+
|
|
209155
|
+
:host {
|
|
209156
|
+
display: block;
|
|
209157
|
+
width: 100%;
|
|
209158
|
+
height: 100%;
|
|
209159
|
+
}
|
|
209160
|
+
|
|
209161
|
+
/* Host takes each sector's crop aspect (see \`sectorClips\`): 270/90 square, 180
|
|
209162
|
+
wide — so the dial is the same size at any width. */
|
|
209163
|
+
|
|
209164
|
+
:host([sector="270"]),
|
|
209165
|
+
:host([sector="90-left"]),
|
|
209166
|
+
:host([sector="90-right"]) {
|
|
209167
|
+
height: auto;
|
|
209168
|
+
aspect-ratio: 1;
|
|
209169
|
+
}
|
|
209170
|
+
|
|
209171
|
+
/* 448 / 251 = the 180° crop's aspect (448 wide × 448·(1 − 44%) tall); keep in
|
|
209172
|
+
sync with \`sectorClips\` bottom=44 in gauge-radial.ts. */
|
|
209173
|
+
|
|
209174
|
+
:host([sector="180"]) {
|
|
209175
|
+
height: auto;
|
|
209176
|
+
aspect-ratio: 448 / 251;
|
|
209177
|
+
}
|
|
209178
|
+
|
|
209179
|
+
.gauge-radial-root {
|
|
209180
|
+
/* Readout vertical placement per layout (% of the cropped host), tuned to the
|
|
209181
|
+
watch geometry — re-check if the ring radii or the 448 box change. Which
|
|
209182
|
+
layout uses which is in renderReadouts(). */
|
|
209183
|
+
--readout-meta-top: 72%;
|
|
209184
|
+
--readout-meta-top-needle: 63%;
|
|
209185
|
+
--readout-meta-top-180: 60%;
|
|
209186
|
+
|
|
209187
|
+
position: relative;
|
|
209188
|
+
width: 100%;
|
|
209189
|
+
height: 100%;
|
|
209190
|
+
}
|
|
209191
|
+
|
|
209192
|
+
.gauge-radial-root .gauge-readout-value {
|
|
209193
|
+
position: absolute;
|
|
209194
|
+
left: 50%;
|
|
209195
|
+
top: 50%;
|
|
209196
|
+
transform: translate(-50%, -50%);
|
|
209197
|
+
z-index: 1;
|
|
209198
|
+
}
|
|
209199
|
+
|
|
209200
|
+
.gauge-radial-root .gauge-readout-meta {
|
|
209201
|
+
position: absolute;
|
|
209202
|
+
left: 50%;
|
|
209203
|
+
top: var(--readout-meta-top);
|
|
209204
|
+
transform: translateX(-50%);
|
|
209205
|
+
z-index: 1;
|
|
209206
|
+
}
|
|
209207
|
+
|
|
209208
|
+
.gauge-radial-root.type-needle .gauge-readout-meta {
|
|
209209
|
+
top: var(--readout-meta-top-needle);
|
|
209210
|
+
}
|
|
209211
|
+
|
|
209212
|
+
.gauge-radial-root.sector-180 .gauge-readout-meta {
|
|
209213
|
+
top: var(--readout-meta-top-180);
|
|
209214
|
+
}
|
|
209215
|
+
|
|
209216
|
+
/* Nudge the corner readout inward (up + toward center) so it sits inside the
|
|
209217
|
+
open quadrant rather than hugging the box corner. Symmetric for both
|
|
209218
|
+
orientations — only the horizontal edge differs. */
|
|
209219
|
+
|
|
209220
|
+
.gauge-radial-root.sector-90-left .gauge-readout-meta,.gauge-radial-root.sector-90-right .gauge-readout-meta {
|
|
209221
|
+
--readout-90-inset: 6%;
|
|
209222
|
+
bottom: var(--readout-90-inset);
|
|
209223
|
+
top: auto;
|
|
209224
|
+
transform: none;
|
|
209225
|
+
}
|
|
209226
|
+
|
|
209227
|
+
.gauge-radial-root.sector-90-left .gauge-readout-meta {
|
|
209228
|
+
left: auto;
|
|
209229
|
+
right: var(--readout-90-inset);
|
|
209230
|
+
}
|
|
209231
|
+
|
|
209232
|
+
.gauge-radial-root.sector-90-right .gauge-readout-meta {
|
|
209233
|
+
left: var(--readout-90-inset);
|
|
209234
|
+
right: auto;
|
|
209235
|
+
}
|
|
209236
|
+
|
|
209237
|
+
/* 90-right readout sits in the bottom-left corner, so left-align the value
|
|
209238
|
+
under the label (enhanced readouts right-align the value by default). */
|
|
209239
|
+
|
|
209240
|
+
.gauge-radial-root.sector-90-right .gauge-readout-meta::part(value-wrapper) {
|
|
209241
|
+
justify-self: start;
|
|
209242
|
+
}
|
|
209243
|
+
`;
|
|
209027
209244
|
var __defProp$w = Object.defineProperty;
|
|
209028
209245
|
var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
|
|
209029
209246
|
var __decorateClass$w = (decorators, target, key, kind) => {
|
|
@@ -209050,45 +209267,166 @@ let ObcGaugeRadial = class extends SetpointMixin(i$4) {
|
|
|
209050
209267
|
this.tickmarksInside = false;
|
|
209051
209268
|
this.tickmarkStyle = TickmarkStyle$1.regular;
|
|
209052
209269
|
this.advices = [];
|
|
209270
|
+
this.sector = "270";
|
|
209271
|
+
this.showReadout = false;
|
|
209272
|
+
this.label = "";
|
|
209273
|
+
this.unit = "";
|
|
209274
|
+
this.fractionDigits = 0;
|
|
209275
|
+
this.getAngle = (v2) => {
|
|
209276
|
+
const { sweep, start } = this.sectorAngles;
|
|
209277
|
+
const span = this.maxValue - this.minValue;
|
|
209278
|
+
if (!Number.isFinite(span) || span <= 0) {
|
|
209279
|
+
return start;
|
|
209280
|
+
}
|
|
209281
|
+
return (v2 - this.minValue) / span * sweep + start;
|
|
209282
|
+
};
|
|
209053
209283
|
}
|
|
209054
|
-
|
|
209055
|
-
|
|
209056
|
-
|
|
209057
|
-
|
|
209284
|
+
get sectorAngles() {
|
|
209285
|
+
switch (this.sector) {
|
|
209286
|
+
case "180":
|
|
209287
|
+
return { sweep: 180, start: -90 };
|
|
209288
|
+
case "90-left":
|
|
209289
|
+
return { sweep: 90, start: -90 };
|
|
209290
|
+
case "90-right":
|
|
209291
|
+
return { sweep: 90, start: 0 };
|
|
209292
|
+
case "270":
|
|
209293
|
+
default:
|
|
209294
|
+
return { sweep: 270, start: -135 };
|
|
209295
|
+
}
|
|
209296
|
+
}
|
|
209297
|
+
/**
|
|
209298
|
+
* Per-edge crop (%) of the shared, origin-centered 448 SVG box each sector
|
|
209299
|
+
* shows. All sectors render at the same natural scale, so the dial stays the
|
|
209300
|
+
* same size; the sector only windows a different part (270 whole, 180 wide,
|
|
209301
|
+
* 90 a quadrant).
|
|
209302
|
+
*/
|
|
209303
|
+
get sectorClips() {
|
|
209304
|
+
switch (this.sector) {
|
|
209305
|
+
case "180":
|
|
209306
|
+
return { top: 0, bottom: 44, left: 0, right: 0 };
|
|
209307
|
+
case "90-left":
|
|
209308
|
+
return { top: 0, bottom: 45, left: 0, right: 45 };
|
|
209309
|
+
case "90-right":
|
|
209310
|
+
return { top: 0, bottom: 45, left: 45, right: 0 };
|
|
209311
|
+
case "270":
|
|
209312
|
+
default:
|
|
209313
|
+
return { top: 0, bottom: 0, left: 0, right: 0 };
|
|
209314
|
+
}
|
|
209315
|
+
}
|
|
209316
|
+
get isSector90() {
|
|
209317
|
+
return this.sector === "90-left" || this.sector === "90-right";
|
|
209318
|
+
}
|
|
209319
|
+
/** Renders one gauge readout; `withMeta`/`labelOnly` pick parts. */
|
|
209320
|
+
renderReadout({
|
|
209321
|
+
className,
|
|
209322
|
+
variant,
|
|
209323
|
+
alignment = ReadoutStackVerticalAlignment.vertical,
|
|
209324
|
+
withMeta = true,
|
|
209325
|
+
labelOnly = false
|
|
209326
|
+
}) {
|
|
209327
|
+
const withValue = !labelOnly;
|
|
209328
|
+
return b`
|
|
209329
|
+
<obc-readout
|
|
209330
|
+
class=${className}
|
|
209331
|
+
direction="vertical"
|
|
209332
|
+
?labelOnly=${labelOnly}
|
|
209333
|
+
.variant=${variant}
|
|
209334
|
+
.alignment=${alignment}
|
|
209335
|
+
.valuePriority=${withValue ? this.priority : void 0}
|
|
209336
|
+
.value=${withValue ? this.value : void 0}
|
|
209337
|
+
.fractionDigits=${this.fractionDigits}
|
|
209338
|
+
.label=${withMeta ? this.label : ""}
|
|
209339
|
+
.unit=${withMeta ? this.unit : ""}
|
|
209340
|
+
></obc-readout>
|
|
209341
|
+
`;
|
|
209342
|
+
}
|
|
209343
|
+
renderReadouts() {
|
|
209344
|
+
if (!this.showReadout) {
|
|
209345
|
+
return A;
|
|
209346
|
+
}
|
|
209347
|
+
const isNeedle = this.type === "needle";
|
|
209348
|
+
const is90 = this.isSector90;
|
|
209349
|
+
const is180 = this.sector === "180";
|
|
209350
|
+
if (isNeedle && (is180 || is90)) {
|
|
209351
|
+
return A;
|
|
209352
|
+
}
|
|
209353
|
+
if (is90) {
|
|
209354
|
+
return this.renderReadout({
|
|
209355
|
+
className: "gauge-readout-meta",
|
|
209356
|
+
variant: ReadoutVariant.enhanced
|
|
209357
|
+
});
|
|
209058
209358
|
}
|
|
209059
|
-
|
|
209359
|
+
if (isNeedle || is180) {
|
|
209360
|
+
return this.renderReadout({
|
|
209361
|
+
className: "gauge-readout-meta",
|
|
209362
|
+
variant: ReadoutVariant.stack,
|
|
209363
|
+
alignment: ReadoutStackVerticalAlignment.center
|
|
209364
|
+
});
|
|
209365
|
+
}
|
|
209366
|
+
return b`
|
|
209367
|
+
${this.renderReadout({
|
|
209368
|
+
className: "gauge-readout-value",
|
|
209369
|
+
variant: ReadoutVariant.enhanced,
|
|
209370
|
+
withMeta: false
|
|
209371
|
+
})}
|
|
209372
|
+
${this.label || this.unit ? this.renderReadout({
|
|
209373
|
+
className: "gauge-readout-meta",
|
|
209374
|
+
variant: ReadoutVariant.stack,
|
|
209375
|
+
alignment: ReadoutStackVerticalAlignment.center,
|
|
209376
|
+
labelOnly: true
|
|
209377
|
+
}) : A}
|
|
209378
|
+
`;
|
|
209060
209379
|
}
|
|
209061
209380
|
render() {
|
|
209381
|
+
const clips = this.sectorClips;
|
|
209062
209382
|
return b`
|
|
209063
|
-
<
|
|
209064
|
-
|
|
209065
|
-
|
|
209066
|
-
|
|
209067
|
-
|
|
209068
|
-
|
|
209069
|
-
|
|
209070
|
-
|
|
209071
|
-
|
|
209072
|
-
.autoAtSetpoint=${this.autoAtSetpoint}
|
|
209073
|
-
.autoAtSetpointDeadband=${this.autoAtSetpointDeadband}
|
|
209074
|
-
.animateSetpoint=${this.animateSetpoint}
|
|
209075
|
-
.maxValue=${this.maxValue}
|
|
209076
|
-
.minValue=${this.minValue}
|
|
209077
|
-
.getAngle=${this.getAngle}
|
|
209078
|
-
.showLabels=${this.showLabels}
|
|
209079
|
-
.primaryTickmarkInterval=${this.primaryTickmarkInterval}
|
|
209080
|
-
.secondaryTickmarkInterval=${this.secondaryTickmarkInterval}
|
|
209081
|
-
.tertiaryTickmarkInterval=${this.tertiaryTickmarkInterval}
|
|
209082
|
-
.type=${this.type}
|
|
209083
|
-
.needleType=${this.type}
|
|
209084
|
-
.tickmarksInside=${this.tickmarksInside}
|
|
209085
|
-
.tickmarkStyle=${this.tickmarkStyle}
|
|
209086
|
-
.advices=${this.advices}
|
|
209383
|
+
<div
|
|
209384
|
+
class=${e$1({
|
|
209385
|
+
"gauge-radial-root": true,
|
|
209386
|
+
"type-needle": this.type === "needle",
|
|
209387
|
+
"sector-180": this.sector === "180",
|
|
209388
|
+
"sector-90-left": this.sector === "90-left",
|
|
209389
|
+
"sector-90-right": this.sector === "90-right"
|
|
209390
|
+
/* deg90Right */
|
|
209391
|
+
})}
|
|
209087
209392
|
>
|
|
209088
|
-
|
|
209393
|
+
<obc-instrument-radial
|
|
209394
|
+
.value=${this.value}
|
|
209395
|
+
.state=${this.state}
|
|
209396
|
+
.priority=${this.priority}
|
|
209397
|
+
.setpoint=${this.setpoint}
|
|
209398
|
+
.newSetpoint=${this.newSetpoint}
|
|
209399
|
+
.setpointAtZeroDeadband=${this.setpointAtZeroDeadband}
|
|
209400
|
+
.setpointOverride=${this.setpointOverride}
|
|
209401
|
+
.touching=${this.touching}
|
|
209402
|
+
.autoAtSetpoint=${this.autoAtSetpoint}
|
|
209403
|
+
.autoAtSetpointDeadband=${this.autoAtSetpointDeadband}
|
|
209404
|
+
.animateSetpoint=${this.animateSetpoint}
|
|
209405
|
+
.maxValue=${this.maxValue}
|
|
209406
|
+
.minValue=${this.minValue}
|
|
209407
|
+
.getAngle=${this.getAngle}
|
|
209408
|
+
.showLabels=${this.showLabels}
|
|
209409
|
+
.primaryTickmarkInterval=${this.primaryTickmarkInterval}
|
|
209410
|
+
.secondaryTickmarkInterval=${this.secondaryTickmarkInterval}
|
|
209411
|
+
.tertiaryTickmarkInterval=${this.tertiaryTickmarkInterval}
|
|
209412
|
+
.type=${this.type}
|
|
209413
|
+
.needleType=${this.type}
|
|
209414
|
+
.tickmarksInside=${this.tickmarksInside}
|
|
209415
|
+
.tickmarkStyle=${this.tickmarkStyle}
|
|
209416
|
+
.advices=${this.isSector90 ? [] : this.advices}
|
|
209417
|
+
.clipTop=${clips.top}
|
|
209418
|
+
.clipBottom=${clips.bottom}
|
|
209419
|
+
.clipLeft=${clips.left}
|
|
209420
|
+
.clipRight=${clips.right}
|
|
209421
|
+
.endLabelsMaxMin=${this.sector === "180"}
|
|
209422
|
+
>
|
|
209423
|
+
</obc-instrument-radial>
|
|
209424
|
+
${this.renderReadouts()}
|
|
209425
|
+
</div>
|
|
209089
209426
|
`;
|
|
209090
209427
|
}
|
|
209091
209428
|
};
|
|
209429
|
+
ObcGaugeRadial.styles = r$7(componentStyle$9);
|
|
209092
209430
|
__decorateClass$w([
|
|
209093
209431
|
n$3({ type: Number })
|
|
209094
209432
|
], ObcGaugeRadial.prototype, "value", 2);
|
|
@@ -209128,6 +209466,21 @@ __decorateClass$w([
|
|
|
209128
209466
|
__decorateClass$w([
|
|
209129
209467
|
n$3({ type: Array, attribute: false })
|
|
209130
209468
|
], ObcGaugeRadial.prototype, "advices", 2);
|
|
209469
|
+
__decorateClass$w([
|
|
209470
|
+
n$3({ type: String, reflect: true })
|
|
209471
|
+
], ObcGaugeRadial.prototype, "sector", 2);
|
|
209472
|
+
__decorateClass$w([
|
|
209473
|
+
n$3({ type: Boolean })
|
|
209474
|
+
], ObcGaugeRadial.prototype, "showReadout", 2);
|
|
209475
|
+
__decorateClass$w([
|
|
209476
|
+
n$3({ type: String })
|
|
209477
|
+
], ObcGaugeRadial.prototype, "label", 2);
|
|
209478
|
+
__decorateClass$w([
|
|
209479
|
+
n$3({ type: String })
|
|
209480
|
+
], ObcGaugeRadial.prototype, "unit", 2);
|
|
209481
|
+
__decorateClass$w([
|
|
209482
|
+
n$3({ type: Number })
|
|
209483
|
+
], ObcGaugeRadial.prototype, "fractionDigits", 2);
|
|
209131
209484
|
ObcGaugeRadial = __decorateClass$w([
|
|
209132
209485
|
customElement("obc-gauge-radial")
|
|
209133
209486
|
], ObcGaugeRadial);
|