@oicl/openbridge-webcomponents 2.1.0-next.8 → 2.1.0-next.9
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 +25 -16
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +8 -8
- package/dist/components/menu-button/menu-button.css.js +1 -1
- package/dist/components/menu-button/menu-button.css.js.map +1 -1
- package/dist/icons/icon-log-open-google.d.ts +16 -0
- package/dist/icons/icon-log-open-google.d.ts.map +1 -0
- package/dist/icons/icon-log-open-google.js +10 -0
- package/dist/icons/icon-log-open-google.js.map +1 -0
- package/dist/icons/icon-timer-google.d.ts +16 -0
- package/dist/icons/icon-timer-google.d.ts.map +1 -0
- package/dist/icons/icon-timer-google.js +10 -0
- package/dist/icons/icon-timer-google.js.map +1 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +2 -0
- package/dist/navigation-instruments/compass/compass.js +1 -1
- package/dist/navigation-instruments/compass/compass.js.map +1 -1
- package/dist/navigation-instruments/compass-flat/compass-flat.js +1 -1
- package/dist/navigation-instruments/compass-flat/compass-flat.js.map +1 -1
- package/dist/navigation-instruments/compass-sector/compass-sector.js +1 -1
- package/dist/navigation-instruments/compass-sector/compass-sector.js.map +1 -1
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.controller.js +2 -2
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.controller.js.map +1 -1
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.js +1 -1
- package/dist/navigation-instruments/rate-of-turn/rate-of-turn.js.map +1 -1
- package/dist/palettes/blinking.d.ts +5 -4
- package/dist/palettes/blinking.d.ts.map +1 -1
- package/dist/palettes/blinking.js +10 -9
- package/dist/palettes/blinking.js.map +1 -1
- package/package.json +1 -1
|
@@ -14765,21 +14765,22 @@ function alertCountsLabel(counts, shelvedCount = 0) {
|
|
|
14765
14765
|
}
|
|
14766
14766
|
//#endregion
|
|
14767
14767
|
//#region src/palettes/blinking.ts
|
|
14768
|
-
/** Shared on phase: every tempo lights up for the first 400 ms of its cycle. */
|
|
14769
|
-
var FLASH_ON_MS = {
|
|
14770
|
-
[FlashingSpeed.Fast]: 400,
|
|
14771
|
-
[FlashingSpeed.Slow]: 400,
|
|
14772
|
-
[FlashingSpeed.VerySlow]: 400
|
|
14773
|
-
};
|
|
14774
14768
|
/**
|
|
14775
|
-
* The
|
|
14776
|
-
*
|
|
14769
|
+
* The on phase carries the tempo, so a flashing alert stays coloured for most
|
|
14770
|
+
* of its cycle. The cycles (800/1600/3200 ms) nest, so every tempo lights up
|
|
14771
|
+
* together at the start of the longest one and goes off with it (#1367).
|
|
14777
14772
|
*/
|
|
14778
|
-
var
|
|
14773
|
+
var FLASH_ON_MS = {
|
|
14779
14774
|
[FlashingSpeed.Fast]: 400,
|
|
14780
14775
|
[FlashingSpeed.Slow]: 1200,
|
|
14781
14776
|
[FlashingSpeed.VerySlow]: 2800
|
|
14782
14777
|
};
|
|
14778
|
+
/** Shared off phase: every tempo goes off for the last 400 ms of its cycle. */
|
|
14779
|
+
var FLASH_OFF_MS = {
|
|
14780
|
+
[FlashingSpeed.Fast]: 400,
|
|
14781
|
+
[FlashingSpeed.Slow]: 400,
|
|
14782
|
+
[FlashingSpeed.VerySlow]: 400
|
|
14783
|
+
};
|
|
14783
14784
|
FlashingSpeed.Fast, FlashingSpeed.Slow, FlashingSpeed.VerySlow;
|
|
14784
14785
|
function flashPeriodMs(tempo) {
|
|
14785
14786
|
return FLASH_ON_MS[tempo] + FLASH_OFF_MS[tempo];
|
|
@@ -43421,8 +43422,8 @@ function renderLinearRotBarDots(color, trackY, dotSpacing, visibleWidth) {
|
|
|
43421
43422
|
//#endregion
|
|
43422
43423
|
//#region src/navigation-instruments/rate-of-turn/rate-of-turn.controller.ts
|
|
43423
43424
|
var RateOfTurnController = class {
|
|
43424
|
-
constructor(host, el, initialRotationsPerMinute =
|
|
43425
|
-
this._rotationsPerMinute =
|
|
43425
|
+
constructor(host, el, initialRotationsPerMinute = 0, cyclePx = 0) {
|
|
43426
|
+
this._rotationsPerMinute = 0;
|
|
43426
43427
|
this._cyclePx = 0;
|
|
43427
43428
|
this.host = host;
|
|
43428
43429
|
this.el = el;
|
|
@@ -100201,7 +100202,7 @@ var menu_button_default = i$7`* {
|
|
|
100201
100202
|
color: var(--on-normal-disabled-color);
|
|
100202
100203
|
}
|
|
100203
100204
|
|
|
100204
|
-
.wrapper.open-top .positioned-menu {
|
|
100205
|
+
.wrapper.open-top + .positioned-menu {
|
|
100205
100206
|
bottom: anchor(bottom);
|
|
100206
100207
|
top: unset;
|
|
100207
100208
|
}
|
|
@@ -159480,6 +159481,10 @@ var ObiLogEditGoogle = class ObiLogEditGoogle extends i$4 {
|
|
|
159480
159481
|
__decorate([n$4({ type: Boolean })], ObiLogEditGoogle.prototype, "useCssColor", void 0);
|
|
159481
159482
|
ObiLogEditGoogle = __decorate([customElement("obi-log-edit-google")], ObiLogEditGoogle);
|
|
159482
159483
|
//#endregion
|
|
159484
|
+
//#region src/icons/icon-log-open-google.ts
|
|
159485
|
+
var ObiLogOpenGoogle = class ObiLogOpenGoogle extends ObiLogOpen {};
|
|
159486
|
+
ObiLogOpenGoogle = __decorate([customElement("obi-log-open-google")], ObiLogOpenGoogle);
|
|
159487
|
+
//#endregion
|
|
159483
159488
|
//#region src/icons/icon-logic-01.ts
|
|
159484
159489
|
var ObiLogic01 = class ObiLogic01 extends i$4 {
|
|
159485
159490
|
constructor(..._args) {
|
|
@@ -183414,6 +183419,10 @@ var ObiTimer2 = class ObiTimer2 extends i$4 {
|
|
|
183414
183419
|
__decorate([n$4({ type: Boolean })], ObiTimer2.prototype, "useCssColor", void 0);
|
|
183415
183420
|
ObiTimer2 = __decorate([customElement("obi-timer-2")], ObiTimer2);
|
|
183416
183421
|
//#endregion
|
|
183422
|
+
//#region src/icons/icon-timer-google.ts
|
|
183423
|
+
var ObiTimerGoogle = class ObiTimerGoogle extends ObiTimer {};
|
|
183424
|
+
ObiTimerGoogle = __decorate([customElement("obi-timer-google")], ObiTimerGoogle);
|
|
183425
|
+
//#endregion
|
|
183417
183426
|
//#region src/icons/icon-touch.ts
|
|
183418
183427
|
var ObiTouch = class ObiTouch extends i$4 {
|
|
183419
183428
|
constructor(..._args) {
|
|
@@ -196982,7 +196991,7 @@ var ObcCompassFlat = class ObcCompassFlat extends i$4 {
|
|
|
196982
196991
|
this.priority = Priority.regular;
|
|
196983
196992
|
this.priorityElements = ["hdg"];
|
|
196984
196993
|
this.rotDotAnimationFactor = 18;
|
|
196985
|
-
this.rotationsPerMinute =
|
|
196994
|
+
this.rotationsPerMinute = 0;
|
|
196986
196995
|
this.rotMaxValue = 60;
|
|
196987
196996
|
this.rotArcExtent = 60;
|
|
196988
196997
|
this.rotPortStarboard = false;
|
|
@@ -197961,7 +197970,7 @@ var ObcCompassSector = class ObcCompassSector extends i$4 {
|
|
|
197961
197970
|
this.minFOV = 30;
|
|
197962
197971
|
this.rotPosition = RotPosition.innerCircle;
|
|
197963
197972
|
this.rotDotAnimationFactor = 18;
|
|
197964
|
-
this.rotationsPerMinute =
|
|
197973
|
+
this.rotationsPerMinute = 0;
|
|
197965
197974
|
this.rotMaxValue = 60;
|
|
197966
197975
|
this.rotPortStarboard = false;
|
|
197967
197976
|
this.rotAtZeroDeadband = ROT_ZERO_DEADBAND_DEG;
|
|
@@ -198333,7 +198342,7 @@ var ObcCompass = class ObcCompass extends i$4 {
|
|
|
198333
198342
|
this.hdgArrowStyle = HdgArrowStyle.arrowHead;
|
|
198334
198343
|
this.cogArrowStyle = CogArrowStyle.arrowHead;
|
|
198335
198344
|
this.rotDotAnimationFactor = 18;
|
|
198336
|
-
this.rotationsPerMinute =
|
|
198345
|
+
this.rotationsPerMinute = 0;
|
|
198337
198346
|
this.rotType = RotType.dots;
|
|
198338
198347
|
this.rotPosition = RotPosition.innerCircle;
|
|
198339
198348
|
this.rotMaxValue = 60;
|
|
@@ -206920,7 +206929,7 @@ var ObcRateOfTurn = class ObcRateOfTurn extends i$4 {
|
|
|
206920
206929
|
constructor(..._args) {
|
|
206921
206930
|
super(..._args);
|
|
206922
206931
|
this.rotDotAnimationFactor = 18;
|
|
206923
|
-
this.rotationsPerMinute =
|
|
206932
|
+
this.rotationsPerMinute = 0;
|
|
206924
206933
|
this.rotType = RotType.dots;
|
|
206925
206934
|
this.rotPosition = RotPosition.scale;
|
|
206926
206935
|
this.priority = Priority.regular;
|