@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.15 → 2.2.0-next.16

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.
Files changed (29) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +147 -44
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +39 -1
  4. package/dist/automation/automation-badge/automation-badge.css_inline.js +6 -0
  5. package/dist/automation/automation-badge/automation-badge.d.ts +61 -1
  6. package/dist/automation/automation-badge/automation-badge.d.ts.map +1 -1
  7. package/dist/automation/automation-badge/automation-badge.js +83 -1
  8. package/dist/automation/automation-badge/automation-badge.js.map +1 -1
  9. package/dist/automation/automation-button/abstract-automation-button.d.ts +5 -2
  10. package/dist/automation/automation-button/abstract-automation-button.d.ts.map +1 -1
  11. package/dist/automation/automation-button/abstract-automation-button.js +6 -0
  12. package/dist/automation/automation-button/abstract-automation-button.js.map +1 -1
  13. package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
  14. package/dist/automation/automation-tank/automation-tank.js +7 -2
  15. package/dist/automation/automation-tank/automation-tank.js.map +1 -1
  16. package/dist/automation/specialty-tank/abstract-specialty-tank.d.ts.map +1 -1
  17. package/dist/automation/specialty-tank/abstract-specialty-tank.js +7 -2
  18. package/dist/automation/specialty-tank/abstract-specialty-tank.js.map +1 -1
  19. package/package.json +3 -2
  20. package/script/check-typography-ramp.ts +144 -0
  21. package/script/typography/ramp.ts +237 -0
  22. package/script/typography-ramp.test.ts +267 -0
  23. package/src/automation/analog-valve/analog-valve.stories.ts +8 -0
  24. package/src/automation/automation-badge/automation-badge.css +6 -0
  25. package/src/automation/automation-badge/automation-badge.stories.ts +47 -3
  26. package/src/automation/automation-badge/automation-badge.ts +124 -1
  27. package/src/automation/automation-button/abstract-automation-button.ts +13 -0
  28. package/src/automation/automation-tank/automation-tank.ts +11 -6
  29. package/src/automation/specialty-tank/abstract-specialty-tank.ts +11 -6
@@ -19363,6 +19363,12 @@ var automation_badge_default = i$7`* {
19363
19363
  height: 100%;
19364
19364
  }
19365
19365
 
19366
+ .wrapper .letter {
19367
+ font-family: var(--global-typography-font-family);
19368
+ /* the design outlines the letters at the bold weight */
19369
+ font-weight: var(--font-weight-bold);
19370
+ }
19371
+
19366
19372
  .wrapper.flat .badge {
19367
19373
  width: var(--automation-components-badge-new-icon-size-flat);
19368
19374
  height: var(--automation-components-badge-new-icon-size-flat);
@@ -19438,6 +19444,45 @@ var ObiAlertOffFilled = class ObiAlertOffFilled extends i$4 {
19438
19444
  };
19439
19445
  __decorate([n$4({ type: Boolean })], ObiAlertOffFilled.prototype, "useCssColor", void 0);
19440
19446
  ObiAlertOffFilled = __decorate([customElement("obi-alert-off-filled")], ObiAlertOffFilled);
19447
+ // src/icons/icon-alerts-shelf.ts
19448
+ var ObiAlertsShelf = class ObiAlertsShelf extends i$4 {
19449
+ constructor(..._args) {
19450
+ super(..._args);
19451
+ this.useCssColor = false;
19452
+ this.icon = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
19453
+ <path d="M18 23C16.6167 23 15.4375 22.5125 14.4625 21.5375C13.4875 20.5625 13 19.3833 13 18C13 16.6167 13.4875 15.4375 14.4625 14.4625C15.4375 13.4875 16.6167 13 18 13C19.3833 13 20.5625 13.4875 21.5375 14.4625C22.5125 15.4375 23 16.6167 23 18C23 19.3833 22.5125 20.5625 21.5375 21.5375C20.5625 22.5125 19.3833 23 18 23ZM20.35 19.65L19.65 20.35L17.5 18.2V15H18.5V17.8L20.35 19.65Z" fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"/>
19454
+ <path d="M4 17V19H11.5764C11.5261 18.674 11.5 18.3401 11.5 18C11.5 17.6599 11.5261 17.326 11.5764 17H8V10C8 8.9 8.39167 7.95833 9.175 7.175C9.95833 6.39167 10.9 6 12 6C13.1 6 14.0417 6.39167 14.825 7.175C15.6083 7.95833 16 8.9 16 10V11.8135C16.6301 11.61 17.3022 11.5 18 11.5V10C18 8.61667 17.5833 7.3875 16.75 6.3125C15.9167 5.2375 14.8333 4.53333 13.5 4.2V3.5C13.5 3.08333 13.3542 2.72917 13.0625 2.4375C12.7708 2.14583 12.4167 2 12 2C11.5833 2 11.2292 2.14583 10.9375 2.4375C10.6458 2.72917 10.5 3.08333 10.5 3.5V4.2C9.16667 4.53333 8.08333 5.2375 7.25 6.3125C6.41667 7.3875 6 8.61667 6 10V17H4Z" fill="currentColor"/>
19455
+ <path d="M11.8135 20C12.0307 20.6723 12.3545 21.2968 12.7649 21.8534C12.5297 21.9511 12.2747 22 12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H11.8135Z" fill="currentColor"/>
19456
+ </svg>
19457
+ `;
19458
+ this.iconCss = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
19459
+ <path d="M18 23C16.6167 23 15.4375 22.5125 14.4625 21.5375C13.4875 20.5625 13 19.3833 13 18C13 16.6167 13.4875 15.4375 14.4625 14.4625C15.4375 13.4875 16.6167 13 18 13C19.3833 13 20.5625 13.4875 21.5375 14.4625C22.5125 15.4375 23 16.6167 23 18C23 19.3833 22.5125 20.5625 21.5375 21.5375C20.5625 22.5125 19.3833 23 18 23ZM20.35 19.65L19.65 20.35L17.5 18.2V15H18.5V17.8L20.35 19.65Z" fill-rule="evenodd" clip-rule="evenodd" style="fill: var(--element-active-color)"/>
19460
+ <path d="M4 17V19H11.5764C11.5261 18.674 11.5 18.3401 11.5 18C11.5 17.6599 11.5261 17.326 11.5764 17H8V10C8 8.9 8.39167 7.95833 9.175 7.175C9.95833 6.39167 10.9 6 12 6C13.1 6 14.0417 6.39167 14.825 7.175C15.6083 7.95833 16 8.9 16 10V11.8135C16.6301 11.61 17.3022 11.5 18 11.5V10C18 8.61667 17.5833 7.3875 16.75 6.3125C15.9167 5.2375 14.8333 4.53333 13.5 4.2V3.5C13.5 3.08333 13.3542 2.72917 13.0625 2.4375C12.7708 2.14583 12.4167 2 12 2C11.5833 2 11.2292 2.14583 10.9375 2.4375C10.6458 2.72917 10.5 3.08333 10.5 3.5V4.2C9.16667 4.53333 8.08333 5.2375 7.25 6.3125C6.41667 7.3875 6 8.61667 6 10V17H4Z" style="fill: var(--element-active-color)"/>
19461
+ <path d="M11.8135 20C12.0307 20.6723 12.3545 21.2968 12.7649 21.8534C12.5297 21.9511 12.2747 22 12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H11.8135Z" style="fill: var(--element-active-color)"/>
19462
+ </svg>
19463
+ `;
19464
+ }
19465
+ render() {
19466
+ return b`
19467
+ <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
19468
+ `;
19469
+ }
19470
+ static {
19471
+ this.styles = i$7`
19472
+ .wrapper {
19473
+ height: 100%;
19474
+ width: 100%;
19475
+ line-height: 0;
19476
+ }
19477
+ .wrapper > * {
19478
+ height: 100%;
19479
+ width: 100%;
19480
+ }
19481
+ `;
19482
+ }
19483
+ };
19484
+ __decorate([n$4({ type: Boolean })], ObiAlertsShelf.prototype, "useCssColor", void 0);
19485
+ ObiAlertsShelf = __decorate([customElement("obi-alerts-shelf")], ObiAlertsShelf);
19441
19486
  // src/icons/icon-auto.ts
19442
19487
  var ObiAuto = class ObiAuto extends i$4 {
19443
19488
  constructor(..._args) {
@@ -19698,6 +19743,8 @@ var ObcAutomationBadgeType = /* @__PURE__ */ function(ObcAutomationBadgeType) {
19698
19743
  ObcAutomationBadgeType["Interlock"] = "interlock";
19699
19744
  ObcAutomationBadgeType["InterlockInhibit"] = "interlock-inhibit";
19700
19745
  ObcAutomationBadgeType["AlertSilenced"] = "alert-silenced";
19746
+ ObcAutomationBadgeType["AlertShelved"] = "alert-shelved";
19747
+ ObcAutomationBadgeType["Simulation"] = "simulation";
19701
19748
  ObcAutomationBadgeType["Caution"] = "caution";
19702
19749
  ObcAutomationBadgeType["Warning"] = "warning";
19703
19750
  ObcAutomationBadgeType["Alarm"] = "alarm";
@@ -19706,6 +19753,32 @@ var ObcAutomationBadgeType = /* @__PURE__ */ function(ObcAutomationBadgeType) {
19706
19753
  ObcAutomationBadgeType["LevelMedium"] = "level-medium";
19707
19754
  ObcAutomationBadgeType["LevelLow"] = "level-low";
19708
19755
  ObcAutomationBadgeType["LevelDiagnostic"] = "level-diagnostic";
19756
+ ObcAutomationBadgeType["LetterA"] = "letter-a";
19757
+ ObcAutomationBadgeType["LetterB"] = "letter-b";
19758
+ ObcAutomationBadgeType["LetterC"] = "letter-c";
19759
+ ObcAutomationBadgeType["LetterD"] = "letter-d";
19760
+ ObcAutomationBadgeType["LetterE"] = "letter-e";
19761
+ ObcAutomationBadgeType["LetterF"] = "letter-f";
19762
+ ObcAutomationBadgeType["LetterG"] = "letter-g";
19763
+ ObcAutomationBadgeType["LetterH"] = "letter-h";
19764
+ ObcAutomationBadgeType["LetterI"] = "letter-i";
19765
+ ObcAutomationBadgeType["LetterJ"] = "letter-j";
19766
+ ObcAutomationBadgeType["LetterK"] = "letter-k";
19767
+ ObcAutomationBadgeType["LetterL"] = "letter-l";
19768
+ ObcAutomationBadgeType["LetterM"] = "letter-m";
19769
+ ObcAutomationBadgeType["LetterN"] = "letter-n";
19770
+ ObcAutomationBadgeType["LetterO"] = "letter-o";
19771
+ ObcAutomationBadgeType["LetterP"] = "letter-p";
19772
+ ObcAutomationBadgeType["LetterQ"] = "letter-q";
19773
+ ObcAutomationBadgeType["LetterR"] = "letter-r";
19774
+ ObcAutomationBadgeType["LetterS"] = "letter-s";
19775
+ ObcAutomationBadgeType["LetterT"] = "letter-t";
19776
+ ObcAutomationBadgeType["LetterU"] = "letter-u";
19777
+ ObcAutomationBadgeType["LetterV"] = "letter-v";
19778
+ ObcAutomationBadgeType["LetterW"] = "letter-w";
19779
+ ObcAutomationBadgeType["LetterX"] = "letter-x";
19780
+ ObcAutomationBadgeType["LetterY"] = "letter-y";
19781
+ ObcAutomationBadgeType["LetterZ"] = "letter-z";
19709
19782
  return ObcAutomationBadgeType;
19710
19783
  }({});
19711
19784
  var ALERT_BADGE_TYPES = [
@@ -19718,6 +19791,18 @@ var ALERT_BADGE_TYPES = [
19718
19791
  "level-low",
19719
19792
  "level-diagnostic"
19720
19793
  ];
19794
+ /**
19795
+ * Letter badge geometry in the 16-unit badge box.
19796
+ *
19797
+ * The design outlines a 15.33 px capital on a 13.33 baseline, so the glyph
19798
+ * fills the box the way the icon badges do (Figma 1188:55068).
19799
+ */
19800
+ var LETTER_FONT_SIZE = 15.33;
19801
+ var LETTER_BASELINE = 13.33;
19802
+ /** The capital a `letter-<x>` type draws, `undefined` for every other type. */
19803
+ function badgeLetter(type) {
19804
+ return type?.match(/^letter-([a-z])$/)?.[1].toUpperCase();
19805
+ }
19721
19806
  var ObcAutomationBadge = class ObcAutomationBadge extends i$4 {
19722
19807
  constructor(..._args) {
19723
19808
  super(..._args);
@@ -19789,10 +19874,48 @@ var ObcAutomationBadge = class ObcAutomationBadge extends i$4 {
19789
19874
  d="M7 1.33301H9V7.53301L13.2147 5.13301L14.2147 6.86634L10 9.33301L14.2147 11.7997L13.2147 13.533L9 11.133V15.667H7V11.133L2.78534 13.533L1.78534 11.7997L6 9.33301L1.78534 6.86634L2.78534 5.13301L7 7.53301V1.33301Z"
19790
19875
  fill="var(--notification-enabled-background-color)"
19791
19876
  />
19877
+ </svg>`;
19878
+ }
19879
+ /** The cube of the simulated badge, as the design draws it (Figma 1188:54997). */
19880
+ renderSimulationIcon(className) {
19881
+ return b`<svg
19882
+ class=${className}
19883
+ viewBox="0 0 16 16"
19884
+ fill="currentColor"
19885
+ xmlns="http://www.w3.org/2000/svg"
19886
+ >
19887
+ <path
19888
+ d="M7.33333 14.4833V8.38333L2 5.3V10.65C2 10.8944 2.05833 11.1167 2.175 11.3167C2.29167 11.5167 2.45555 11.6778 2.66667 11.8L7.33333 14.4833ZM8.66667 14.4833L13.3333 11.8C13.5444 11.6778 13.7083 11.5167 13.825 11.3167C13.9417 11.1167 14 10.8944 14 10.65V5.3L8.66667 8.38333V14.4833Z"
19889
+ />
19890
+ <path
19891
+ d="M13.2833 4.16667L8.66667 1.51667C8.45556 1.39444 8.23333 1.33333 8 1.33333C7.76667 1.33333 7.54444 1.39444 7.33333 1.51667L2.7 4.18333L8 7.23333L13.2833 4.16667Z"
19892
+ />
19893
+ </svg>`;
19894
+ }
19895
+ /** A letter badge: one capital of the body font, hidden from assistive technology because the badge draws it twice. */
19896
+ renderLetterIcon(letter, className) {
19897
+ return b`<svg
19898
+ class=${className}
19899
+ viewBox="0 0 16 16"
19900
+ fill="currentColor"
19901
+ aria-hidden="true"
19902
+ xmlns="http://www.w3.org/2000/svg"
19903
+ >
19904
+ <text
19905
+ class="letter"
19906
+ x="8"
19907
+ y=${LETTER_BASELINE}
19908
+ font-size=${LETTER_FONT_SIZE}
19909
+ text-anchor="middle"
19910
+ >
19911
+ ${letter}
19912
+ </text>
19792
19913
  </svg>`;
19793
19914
  }
19794
19915
  getIcon() {
19795
- if (this.type === "auto") return b`<obi-auto class="icon siluette"></obi-auto
19916
+ const letter = badgeLetter(this.type);
19917
+ if (letter) return b`${this.renderLetterIcon(letter, "icon siluette")}${this.renderLetterIcon(letter, "icon")}`;
19918
+ else if (this.type === "auto") return b`<obi-auto class="icon siluette"></obi-auto
19796
19919
  ><obi-auto class="icon"></obi-auto>`;
19797
19920
  else if (this.type === "manual") return b`<obi-manual class="icon siluette"></obi-manual
19798
19921
  ><obi-manual class="icon"></obi-manual>`;
@@ -19814,6 +19937,9 @@ var ObcAutomationBadge = class ObcAutomationBadge extends i$4 {
19814
19937
  class="icon siluette"
19815
19938
  ></obi-alert-off-filled
19816
19939
  ><obi-alert-off-filled class="icon"></obi-alert-off-filled>`;
19940
+ else if (this.type === "alert-shelved") return b`<obi-alerts-shelf class="icon siluette"></obi-alerts-shelf
19941
+ ><obi-alerts-shelf class="icon"></obi-alerts-shelf>`;
19942
+ else if (this.type === "simulation") return b`${this.renderSimulationIcon("icon siluette")}${this.renderSimulationIcon("icon")}`;
19817
19943
  else if (this.type === "level-critical") return this.renderLevelCriticalIcon(this.effectiveMode === "flat");
19818
19944
  else if (this.type === "level-diagnostic") return this.renderLevelDiagnosticIcon();
19819
19945
  else if (this.isAlertType("caution", "level-low") && this.effectiveMode === "flat") return b`<svg
@@ -20043,6 +20169,7 @@ ObcAutomationBadge = __decorate([customElement("obc-automation-badge")], ObcAuto
20043
20169
  var AutomationButtonBadgeAlert = /* @__PURE__ */ function(AutomationButtonBadgeAlert) {
20044
20170
  AutomationButtonBadgeAlert["None"] = "none";
20045
20171
  AutomationButtonBadgeAlert["Silence"] = "silence";
20172
+ AutomationButtonBadgeAlert["Shelved"] = "shelved";
20046
20173
  AutomationButtonBadgeAlert["Caution"] = "caution";
20047
20174
  AutomationButtonBadgeAlert["Warning"] = "warning";
20048
20175
  AutomationButtonBadgeAlert["Alarm"] = "alarm";
@@ -20057,6 +20184,7 @@ var AutomationButtonBadgeInterlock = /* @__PURE__ */ function(AutomationButtonBa
20057
20184
  AutomationButtonBadgeInterlock["None"] = "none";
20058
20185
  AutomationButtonBadgeInterlock["Interlock"] = "interlock";
20059
20186
  AutomationButtonBadgeInterlock["InterlockInhibit"] = "interlock-inhibit";
20187
+ AutomationButtonBadgeInterlock["Simulation"] = "simulation";
20060
20188
  return AutomationButtonBadgeInterlock;
20061
20189
  }({});
20062
20190
  var AutomationButtonBadgeControl = /* @__PURE__ */ function(AutomationButtonBadgeControl) {
@@ -20071,6 +20199,7 @@ var AutomationButtonBadgeControl = /* @__PURE__ */ function(AutomationButtonBadg
20071
20199
  var AutomationButtonBadgeCommandLocked = /* @__PURE__ */ function(AutomationButtonBadgeCommandLocked) {
20072
20200
  AutomationButtonBadgeCommandLocked["None"] = "none";
20073
20201
  AutomationButtonBadgeCommandLocked["CommandLocked"] = "command-locked";
20202
+ AutomationButtonBadgeCommandLocked["Simulation"] = "simulation";
20074
20203
  return AutomationButtonBadgeCommandLocked;
20075
20204
  }({});
20076
20205
  /**
@@ -20198,6 +20327,7 @@ var ObcAbstractAutomationButton = class extends i$4 {
20198
20327
  }
20199
20328
  getBadgeAlertType() {
20200
20329
  if (this.badgeAlert === "silence") return ObcAutomationBadgeType.AlertSilenced;
20330
+ else if (this.badgeAlert === "shelved") return ObcAutomationBadgeType.AlertShelved;
20201
20331
  else if (this.badgeAlert === "caution") return ObcAutomationBadgeType.Caution;
20202
20332
  else if (this.badgeAlert === "warning") return ObcAutomationBadgeType.Warning;
20203
20333
  else if (this.badgeAlert === "alarm") return ObcAutomationBadgeType.Alarm;
@@ -20219,10 +20349,12 @@ var ObcAbstractAutomationButton = class extends i$4 {
20219
20349
  getBadgeInterlockType() {
20220
20350
  if (this.badgeInterlock === "interlock") return ObcAutomationBadgeType.Interlock;
20221
20351
  else if (this.badgeInterlock === "interlock-inhibit") return ObcAutomationBadgeType.InterlockInhibit;
20352
+ else if (this.badgeInterlock === "simulation") return ObcAutomationBadgeType.Simulation;
20222
20353
  return null;
20223
20354
  }
20224
20355
  getBadgeCommandLockedType() {
20225
20356
  if (this.badgeCommandLocked === "command-locked") return ObcAutomationBadgeType.CommandLocked;
20357
+ else if (this.badgeCommandLocked === "simulation") return ObcAutomationBadgeType.Simulation;
20226
20358
  return null;
20227
20359
  }
20228
20360
  render() {
@@ -40020,6 +40152,7 @@ var ObcAutomationTank = class ObcAutomationTank extends AdviceMixin(SetpointMixi
40020
40152
  _badgeAlertType() {
40021
40153
  switch (this.badgeAlert) {
40022
40154
  case AutomationButtonBadgeAlert.Silence: return ObcAutomationBadgeType.AlertSilenced;
40155
+ case AutomationButtonBadgeAlert.Shelved: return ObcAutomationBadgeType.AlertShelved;
40023
40156
  case AutomationButtonBadgeAlert.Caution: return ObcAutomationBadgeType.Caution;
40024
40157
  case AutomationButtonBadgeAlert.Warning: return ObcAutomationBadgeType.Warning;
40025
40158
  case AutomationButtonBadgeAlert.Alarm: return ObcAutomationBadgeType.Alarm;
@@ -40045,12 +40178,16 @@ var ObcAutomationTank = class ObcAutomationTank extends AdviceMixin(SetpointMixi
40045
40178
  switch (this.badgeInterlock) {
40046
40179
  case AutomationButtonBadgeInterlock.Interlock: return ObcAutomationBadgeType.Interlock;
40047
40180
  case AutomationButtonBadgeInterlock.InterlockInhibit: return ObcAutomationBadgeType.InterlockInhibit;
40181
+ case AutomationButtonBadgeInterlock.Simulation: return ObcAutomationBadgeType.Simulation;
40048
40182
  default: return null;
40049
40183
  }
40050
40184
  }
40051
40185
  _badgeCommandLockedType() {
40052
- if (this.badgeCommandLocked === AutomationButtonBadgeCommandLocked.CommandLocked) return ObcAutomationBadgeType.CommandLocked;
40053
- return null;
40186
+ switch (this.badgeCommandLocked) {
40187
+ case AutomationButtonBadgeCommandLocked.CommandLocked: return ObcAutomationBadgeType.CommandLocked;
40188
+ case AutomationButtonBadgeCommandLocked.Simulation: return ObcAutomationBadgeType.Simulation;
40189
+ default: return null;
40190
+ }
40054
40191
  }
40055
40192
  get _usesGaugeTrend() {
40056
40193
  return this.chartMode === "graph" || this.chartMode === "graph-and-bar";
@@ -59454,6 +59591,7 @@ var ObcAbstractSpecialtyTank = class extends i$4 {
59454
59591
  _badgeAlertType() {
59455
59592
  switch (this.badgeAlert) {
59456
59593
  case AutomationButtonBadgeAlert.Silence: return ObcAutomationBadgeType.AlertSilenced;
59594
+ case AutomationButtonBadgeAlert.Shelved: return ObcAutomationBadgeType.AlertShelved;
59457
59595
  case AutomationButtonBadgeAlert.Caution: return ObcAutomationBadgeType.Caution;
59458
59596
  case AutomationButtonBadgeAlert.Warning: return ObcAutomationBadgeType.Warning;
59459
59597
  case AutomationButtonBadgeAlert.Alarm: return ObcAutomationBadgeType.Alarm;
@@ -59469,12 +59607,16 @@ var ObcAbstractSpecialtyTank = class extends i$4 {
59469
59607
  switch (this.badgeInterlock) {
59470
59608
  case AutomationButtonBadgeInterlock.Interlock: return ObcAutomationBadgeType.Interlock;
59471
59609
  case AutomationButtonBadgeInterlock.InterlockInhibit: return ObcAutomationBadgeType.InterlockInhibit;
59610
+ case AutomationButtonBadgeInterlock.Simulation: return ObcAutomationBadgeType.Simulation;
59472
59611
  default: return null;
59473
59612
  }
59474
59613
  }
59475
59614
  _badgeCommandLockedType() {
59476
- if (this.badgeCommandLocked === AutomationButtonBadgeCommandLocked.CommandLocked) return ObcAutomationBadgeType.CommandLocked;
59477
- return null;
59615
+ switch (this.badgeCommandLocked) {
59616
+ case AutomationButtonBadgeCommandLocked.CommandLocked: return ObcAutomationBadgeType.CommandLocked;
59617
+ case AutomationButtonBadgeCommandLocked.Simulation: return ObcAutomationBadgeType.Simulation;
59618
+ default: return null;
59619
+ }
59478
59620
  }
59479
59621
  _slotHasContent(e) {
59480
59622
  return e.target.assignedNodes({ flatten: true }).some((n) => n.nodeType === Node.ELEMENT_NODE || n.nodeType === Node.TEXT_NODE && !!n.textContent?.trim());
@@ -76864,45 +77006,6 @@ var message_menu_item_default = i$7`* {
76864
77006
  will-change: clip-path, transform;
76865
77007
  }
76866
77008
  `;
76867
- // src/icons/icon-alerts-shelf.ts
76868
- var ObiAlertsShelf = class ObiAlertsShelf extends i$4 {
76869
- constructor(..._args) {
76870
- super(..._args);
76871
- this.useCssColor = false;
76872
- this.icon = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
76873
- <path d="M18 23C16.6167 23 15.4375 22.5125 14.4625 21.5375C13.4875 20.5625 13 19.3833 13 18C13 16.6167 13.4875 15.4375 14.4625 14.4625C15.4375 13.4875 16.6167 13 18 13C19.3833 13 20.5625 13.4875 21.5375 14.4625C22.5125 15.4375 23 16.6167 23 18C23 19.3833 22.5125 20.5625 21.5375 21.5375C20.5625 22.5125 19.3833 23 18 23ZM20.35 19.65L19.65 20.35L17.5 18.2V15H18.5V17.8L20.35 19.65Z" fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"/>
76874
- <path d="M4 17V19H11.5764C11.5261 18.674 11.5 18.3401 11.5 18C11.5 17.6599 11.5261 17.326 11.5764 17H8V10C8 8.9 8.39167 7.95833 9.175 7.175C9.95833 6.39167 10.9 6 12 6C13.1 6 14.0417 6.39167 14.825 7.175C15.6083 7.95833 16 8.9 16 10V11.8135C16.6301 11.61 17.3022 11.5 18 11.5V10C18 8.61667 17.5833 7.3875 16.75 6.3125C15.9167 5.2375 14.8333 4.53333 13.5 4.2V3.5C13.5 3.08333 13.3542 2.72917 13.0625 2.4375C12.7708 2.14583 12.4167 2 12 2C11.5833 2 11.2292 2.14583 10.9375 2.4375C10.6458 2.72917 10.5 3.08333 10.5 3.5V4.2C9.16667 4.53333 8.08333 5.2375 7.25 6.3125C6.41667 7.3875 6 8.61667 6 10V17H4Z" fill="currentColor"/>
76875
- <path d="M11.8135 20C12.0307 20.6723 12.3545 21.2968 12.7649 21.8534C12.5297 21.9511 12.2747 22 12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H11.8135Z" fill="currentColor"/>
76876
- </svg>
76877
- `;
76878
- this.iconCss = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
76879
- <path d="M18 23C16.6167 23 15.4375 22.5125 14.4625 21.5375C13.4875 20.5625 13 19.3833 13 18C13 16.6167 13.4875 15.4375 14.4625 14.4625C15.4375 13.4875 16.6167 13 18 13C19.3833 13 20.5625 13.4875 21.5375 14.4625C22.5125 15.4375 23 16.6167 23 18C23 19.3833 22.5125 20.5625 21.5375 21.5375C20.5625 22.5125 19.3833 23 18 23ZM20.35 19.65L19.65 20.35L17.5 18.2V15H18.5V17.8L20.35 19.65Z" fill-rule="evenodd" clip-rule="evenodd" style="fill: var(--element-active-color)"/>
76880
- <path d="M4 17V19H11.5764C11.5261 18.674 11.5 18.3401 11.5 18C11.5 17.6599 11.5261 17.326 11.5764 17H8V10C8 8.9 8.39167 7.95833 9.175 7.175C9.95833 6.39167 10.9 6 12 6C13.1 6 14.0417 6.39167 14.825 7.175C15.6083 7.95833 16 8.9 16 10V11.8135C16.6301 11.61 17.3022 11.5 18 11.5V10C18 8.61667 17.5833 7.3875 16.75 6.3125C15.9167 5.2375 14.8333 4.53333 13.5 4.2V3.5C13.5 3.08333 13.3542 2.72917 13.0625 2.4375C12.7708 2.14583 12.4167 2 12 2C11.5833 2 11.2292 2.14583 10.9375 2.4375C10.6458 2.72917 10.5 3.08333 10.5 3.5V4.2C9.16667 4.53333 8.08333 5.2375 7.25 6.3125C6.41667 7.3875 6 8.61667 6 10V17H4Z" style="fill: var(--element-active-color)"/>
76881
- <path d="M11.8135 20C12.0307 20.6723 12.3545 21.2968 12.7649 21.8534C12.5297 21.9511 12.2747 22 12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H11.8135Z" style="fill: var(--element-active-color)"/>
76882
- </svg>
76883
- `;
76884
- }
76885
- render() {
76886
- return b`
76887
- <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
76888
- `;
76889
- }
76890
- static {
76891
- this.styles = i$7`
76892
- .wrapper {
76893
- height: 100%;
76894
- width: 100%;
76895
- line-height: 0;
76896
- }
76897
- .wrapper > * {
76898
- height: 100%;
76899
- width: 100%;
76900
- }
76901
- `;
76902
- }
76903
- };
76904
- __decorate([n$4({ type: Boolean })], ObiAlertsShelf.prototype, "useCssColor", void 0);
76905
- ObiAlertsShelf = __decorate([customElement("obi-alerts-shelf")], ObiAlertsShelf);
76906
77009
  // src/components/message-menu-item/message-menu-item.ts
76907
77010
  var ObcMessageMenuItemSize = /* @__PURE__ */ function(ObcMessageMenuItemSize) {
76908
77011
  ObcMessageMenuItemSize["SingleLine"] = "single-line";