@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.4 → 2.2.0-next.6

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 (77) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +548 -6
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +543 -7
  4. package/dist/components/alert-button-item/alert-button-item.css.js +65 -1
  5. package/dist/components/alert-button-item/alert-button-item.css.js.map +1 -1
  6. package/dist/components/alert-button-item/alert-button-item.d.ts +14 -1
  7. package/dist/components/alert-button-item/alert-button-item.d.ts.map +1 -1
  8. package/dist/components/alert-button-item/alert-button-item.js +19 -2
  9. package/dist/components/alert-button-item/alert-button-item.js.map +1 -1
  10. package/dist/components/alert-subsystem-button/alert-subsystem-button.css.js +120 -0
  11. package/dist/components/alert-subsystem-button/alert-subsystem-button.css.js.map +1 -0
  12. package/dist/components/alert-subsystem-button/alert-subsystem-button.d.ts +101 -0
  13. package/dist/components/alert-subsystem-button/alert-subsystem-button.d.ts.map +1 -0
  14. package/dist/components/alert-subsystem-button/alert-subsystem-button.js +107 -0
  15. package/dist/components/alert-subsystem-button/alert-subsystem-button.js.map +1 -0
  16. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.css.js +4 -0
  17. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.css.js.map +1 -1
  18. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.d.ts +3 -1
  19. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.d.ts.map +1 -1
  20. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.js +7 -1
  21. package/dist/components/alert-subsystem-counter/alert-subsystem-counter.js.map +1 -1
  22. package/dist/components/diagnostic-button/diagnostic-button.css.js +18 -0
  23. package/dist/components/diagnostic-button/diagnostic-button.css.js.map +1 -0
  24. package/dist/components/diagnostic-button/diagnostic-button.d.ts +71 -0
  25. package/dist/components/diagnostic-button/diagnostic-button.d.ts.map +1 -0
  26. package/dist/components/diagnostic-button/diagnostic-button.js +52 -0
  27. package/dist/components/diagnostic-button/diagnostic-button.js.map +1 -0
  28. package/dist/components/diagnostic-menu/diagnostic-menu.css.js +109 -0
  29. package/dist/components/diagnostic-menu/diagnostic-menu.css.js.map +1 -0
  30. package/dist/components/diagnostic-menu/diagnostic-menu.d.ts +103 -0
  31. package/dist/components/diagnostic-menu/diagnostic-menu.d.ts.map +1 -0
  32. package/dist/components/diagnostic-menu/diagnostic-menu.js +90 -0
  33. package/dist/components/diagnostic-menu/diagnostic-menu.js.map +1 -0
  34. package/dist/components/icon-button/icon-button.js +2 -2
  35. package/dist/components/icon-button/icon-button.js.map +1 -1
  36. package/dist/components/top-bar/top-bar.css.js +6 -0
  37. package/dist/components/top-bar/top-bar.css.js.map +1 -1
  38. package/dist/components/top-bar/top-bar.d.ts +9 -1
  39. package/dist/components/top-bar/top-bar.d.ts.map +1 -1
  40. package/dist/components/top-bar/top-bar.js +2 -0
  41. package/dist/components/top-bar/top-bar.js.map +1 -1
  42. package/dist/generated/locales/es-419.d.ts +6 -0
  43. package/dist/generated/locales/es-419.d.ts.map +1 -1
  44. package/dist/generated/locales/es-419.js +6 -0
  45. package/dist/generated/locales/es-419.js.map +1 -1
  46. package/dist/generated/locales/fi-FI.d.ts +6 -0
  47. package/dist/generated/locales/fi-FI.d.ts.map +1 -1
  48. package/dist/generated/locales/fi-FI.js +6 -0
  49. package/dist/generated/locales/fi-FI.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/components/alert-button-item/alert-button-item.css +13 -1
  52. package/src/components/alert-button-item/alert-button-item.spec.ts +69 -0
  53. package/src/components/alert-button-item/alert-button-item.stories.ts +13 -0
  54. package/src/components/alert-button-item/alert-button-item.ts +32 -2
  55. package/src/components/alert-subsystem-button/alert-subsystem-button.css +42 -0
  56. package/src/components/alert-subsystem-button/alert-subsystem-button.spec.ts +142 -0
  57. package/src/components/alert-subsystem-button/alert-subsystem-button.stories.ts +69 -0
  58. package/src/components/alert-subsystem-button/alert-subsystem-button.ts +168 -0
  59. package/src/components/alert-subsystem-counter/alert-subsystem-counter.css +4 -0
  60. package/src/components/alert-subsystem-counter/alert-subsystem-counter.ts +10 -2
  61. package/src/components/diagnostic-button/diagnostic-button.css +7 -0
  62. package/src/components/diagnostic-button/diagnostic-button.spec.ts +80 -0
  63. package/src/components/diagnostic-button/diagnostic-button.stories.ts +30 -0
  64. package/src/components/diagnostic-button/diagnostic-button.ts +100 -0
  65. package/src/components/diagnostic-menu/diagnostic-menu.css +69 -0
  66. package/src/components/diagnostic-menu/diagnostic-menu.spec.ts +114 -0
  67. package/src/components/diagnostic-menu/diagnostic-menu.stories.ts +135 -0
  68. package/src/components/diagnostic-menu/diagnostic-menu.ts +171 -0
  69. package/src/components/icon-button/icon-button.stories.ts +51 -1
  70. package/src/components/icon-button/icon-button.ts +2 -2
  71. package/src/components/top-bar/top-bar-asset-picker.spec.ts +54 -0
  72. package/src/components/top-bar/top-bar-diagnostics.spec.ts +59 -0
  73. package/src/components/top-bar/top-bar.css +6 -0
  74. package/src/components/top-bar/top-bar.stories.ts +188 -78
  75. package/src/components/top-bar/top-bar.ts +11 -1
  76. package/src/generated/locales/es-419.ts +6 -0
  77. package/src/generated/locales/fi-FI.ts +6 -0
@@ -1,4 +1,5 @@
1
1
  import type {Meta, StoryObj} from '@storybook/web-components-vite';
2
+ import {useArgs} from 'storybook/preview-api';
2
3
  import {ObcTopBar, ObcTopBarMenuButtonIcon} from './top-bar.js';
3
4
  import './top-bar.js';
4
5
  import '../topbar-message-item/topbar-message-item.js';
@@ -8,13 +9,21 @@ import '../../icons/icon-alarm-unacknowledged-iec.js';
8
9
  import '../../icons/icon-ship.js';
9
10
  import '../alert-icon/alert-icon.js';
10
11
  import '../command-button/command-button.js';
11
- import {html} from 'lit';
12
+ import '../dropdown-button/dropdown-button.js';
13
+ import '../diagnostic-button/diagnostic-button.js';
14
+ import '../diagnostic-menu/diagnostic-menu.js';
15
+ import '../message-menu-item/message-menu-item.js';
16
+ import type {ObcDropdownButtonChangeEvent} from '../dropdown-button/dropdown-button.js';
17
+ import {html, nothing} from 'lit';
12
18
  import {
13
19
  ObcTopbarMessageItemSize,
14
20
  ObcTopbarMessageItemType,
15
21
  } from '../topbar-message-item/topbar-message-item.js';
16
22
  import {ObcAlertButtonType} from '../alert-button/alert-button.js';
17
23
 
24
+ /** An entry of the story's asset list, in the shape an app would hold it. */
25
+ type TopBarStoryAsset = {label: string; key: string};
26
+
18
27
  const meta: Meta<typeof ObcTopBar> = {
19
28
  title: 'Application Components/Top Elements/TopBar',
20
29
  tags: ['autodocs', '6.0'],
@@ -40,6 +49,11 @@ const meta: Meta<typeof ObcTopBar> = {
40
49
  appIconBreakpointPx: 0,
41
50
  menuButtonIcon: ObcTopBarMenuButtonIcon.Menu,
42
51
  date: '2024-12-12T11:11:12.111Z',
52
+ assets: [],
53
+ selectedAssetKey: '',
54
+ showDiagnosticButton: false,
55
+ nDiagnostics: 3,
56
+ diagnosticMenuOpen: false,
43
57
  },
44
58
  argTypes: {
45
59
  showDate: {
@@ -50,90 +64,151 @@ const meta: Meta<typeof ObcTopBar> = {
50
64
  options: Object.values(ObcTopBarMenuButtonIcon),
51
65
  },
52
66
  },
53
- render: (args) => html`
54
- <style>
55
- .alert-notifications {
56
- display: none;
57
- }
58
-
59
- @media (min-width: ${args.alertBreakpoint + 'px'}) {
67
+ render: (args) => {
68
+ // The app owns the picked asset: the story writes the pick back into its
69
+ // arg the way an app writes it to its state, so a re-render keeps it.
70
+ const [, updateArgs] = useArgs();
71
+ return html`
72
+ <style>
60
73
  .alert-notifications {
61
- display: revert !important;
74
+ display: none;
62
75
  }
63
- }
64
- </style>
65
- <obc-top-bar
66
- ?showappsbutton=${args.showAppsButton}
67
- ?showdimmingbutton=${args.showDimmingButton}
68
- ?showclock=${args.showClock}
69
- ?widemenubutton=${args.wideMenuButton}
70
- ?inactive=${args.inactive}
71
- ?settings=${args.settings}
72
- ?showappicon=${args.showAppIcon}
73
- ?showdate=${args.showDate}
74
- ?showuserbutton=${args.showUserButton}
75
- ?userbuttondisabled=${args.userButtonDisabled}
76
- ?menuButtonActivated=${args.menuButtonActivated}
77
- ?tall=${args.tall}
78
- .appButtonBreakpointPx=${args.appButtonBreakpointPx}
79
- .appTitleBreakpointPx=${args.appTitleBreakpointPx}
80
- .dimmingButtonBreakpointPx=${args.dimmingButtonBreakpointPx}
81
- .userButtonBreakpointPx=${args.userButtonBreakpointPx}
82
- .appIconBreakpointPx=${args.appIconBreakpointPx}
83
- .breadcrumbItems=${args.breadcrumbItems}
84
- .menuButtonIcon=${args.menuButtonIcon}
85
- >
86
- <obi-ship slot="app-icon"></obi-ship>
87
- <obc-command-button slot="command-button"></obc-command-button>
88
- <obc-topbar-message-item
89
- .type=${ObcTopbarMessageItemType.WithButton}
90
- .size=${
91
- args.tall
92
- ? ObcTopbarMessageItemSize.Tall
93
- : ObcTopbarMessageItemSize.Regular
76
+
77
+ @media (min-width: ${args.alertBreakpoint + 'px'}) {
78
+ .alert-notifications {
79
+ display: revert !important;
80
+ }
94
81
  }
95
- slot="alerts"
96
- class="alert-notifications"
82
+ </style>
83
+ <obc-top-bar
84
+ ?showappsbutton=${args.showAppsButton}
85
+ ?showdimmingbutton=${args.showDimmingButton}
86
+ ?showclock=${args.showClock}
87
+ ?widemenubutton=${args.wideMenuButton}
88
+ ?inactive=${args.inactive}
89
+ ?settings=${args.settings}
90
+ ?showappicon=${args.showAppIcon}
91
+ ?showdate=${args.showDate}
92
+ ?showuserbutton=${args.showUserButton}
93
+ ?userbuttondisabled=${args.userButtonDisabled}
94
+ ?menuButtonActivated=${args.menuButtonActivated}
95
+ ?tall=${args.tall}
96
+ .appButtonBreakpointPx=${args.appButtonBreakpointPx}
97
+ .appTitleBreakpointPx=${args.appTitleBreakpointPx}
98
+ .dimmingButtonBreakpointPx=${args.dimmingButtonBreakpointPx}
99
+ .userButtonBreakpointPx=${args.userButtonBreakpointPx}
100
+ .appIconBreakpointPx=${args.appIconBreakpointPx}
101
+ .breadcrumbItems=${args.breadcrumbItems}
102
+ .menuButtonIcon=${args.menuButtonIcon}
97
103
  >
98
- <obc-alert-icon
99
- slot="primary-icon"
100
- type="alarm"
101
- active
102
- ></obc-alert-icon>
103
- <obi-placeholder slot="secondary-icon"></obi-placeholder>
104
- <div slot="title">Alert title</div>
105
- <div slot="description">
106
- Description here. This alert has been triggered due to a detected
107
- </div>
108
- <div slot="time">09:12:46</div>
109
- <div slot="action-text">ACK</div>
110
- </obc-topbar-message-item>
111
- <obc-alert-button
112
- class="alert-button ${args.inactive ? 'inactive' : ''}"
113
- nAlerts="1"
114
- alertType="alarm"
115
- counter
116
- blinking
117
- showSilenceButton
118
- silenceButtonDisabled
119
- .type=${
120
- args.inactive ? ObcAlertButtonType.Flat : ObcAlertButtonType.Normal
104
+ <obi-ship slot="app-icon"></obi-ship>
105
+ ${
106
+ args.assets.length
107
+ ? html`<obc-dropdown-button
108
+ slot="asset-picker"
109
+ .options=${args.assets.map(
110
+ ({key, label}: TopBarStoryAsset) => ({
111
+ value: key,
112
+ label,
113
+ })
114
+ )}
115
+ .value=${args.selectedAssetKey}
116
+ @dropdown-change=${(event: ObcDropdownButtonChangeEvent) =>
117
+ updateArgs({selectedAssetKey: event.detail.value})}
118
+ ></obc-dropdown-button>`
119
+ : nothing
121
120
  }
122
- ?large=${args.tall}
123
- .flatMaxBreakpointPx=${args.flatMaxBreakpointPx}
124
- .silenceButtonMinBreakpointPx=${args.silenceButtonMinBreakpointPx}
125
- slot="alerts"
126
- >
127
- </obc-alert-button>
128
- <obc-clock
129
- slot="clock"
130
- .date=${args.date}
131
- .blinkOnlyBreakpointPx=${args.clockMinimizeBreakpointPx}
132
- ></obc-clock>
133
- </obc-top-bar>
134
- `,
121
+ <obc-command-button slot="command-button"></obc-command-button>
122
+ <obc-topbar-message-item
123
+ .type=${ObcTopbarMessageItemType.WithButton}
124
+ .size=${
125
+ args.tall
126
+ ? ObcTopbarMessageItemSize.Tall
127
+ : ObcTopbarMessageItemSize.Regular
128
+ }
129
+ slot="alerts"
130
+ class="alert-notifications"
131
+ >
132
+ <obc-alert-icon
133
+ slot="primary-icon"
134
+ type="alarm"
135
+ active
136
+ ></obc-alert-icon>
137
+ <obi-placeholder slot="secondary-icon"></obi-placeholder>
138
+ <div slot="title">Alert title</div>
139
+ <div slot="description">
140
+ Description here. This alert has been triggered due to a detected
141
+ </div>
142
+ <div slot="time">09:12:46</div>
143
+ <div slot="action-text">ACK</div>
144
+ </obc-topbar-message-item>
145
+ <obc-alert-button
146
+ class="alert-button ${args.inactive ? 'inactive' : ''}"
147
+ nAlerts="1"
148
+ alertType="alarm"
149
+ counter
150
+ blinking
151
+ showSilenceButton
152
+ silenceButtonDisabled
153
+ .type=${
154
+ args.inactive ? ObcAlertButtonType.Flat : ObcAlertButtonType.Normal
155
+ }
156
+ ?large=${args.tall}
157
+ .flatMaxBreakpointPx=${args.flatMaxBreakpointPx}
158
+ .silenceButtonMinBreakpointPx=${args.silenceButtonMinBreakpointPx}
159
+ slot="alerts"
160
+ >
161
+ </obc-alert-button>
162
+ ${
163
+ args.showDiagnosticButton
164
+ ? html`<obc-diagnostic-button
165
+ slot="diagnostics"
166
+ .nAlerts=${args.nDiagnostics}
167
+ ?activated=${args.diagnosticMenuOpen}
168
+ aria-expanded=${args.diagnosticMenuOpen ? 'true' : 'false'}
169
+ ></obc-diagnostic-button>`
170
+ : nothing
171
+ }
172
+ <obc-clock
173
+ slot="clock"
174
+ .date=${args.date}
175
+ .blinkOnlyBreakpointPx=${args.clockMinimizeBreakpointPx}
176
+ ></obc-clock>
177
+ </obc-top-bar>
178
+ ${
179
+ args.diagnosticMenuOpen
180
+ ? html`<obc-diagnostic-menu
181
+ canAckAll
182
+ style="position: fixed; right: 4px; top: calc(var(--app-components-topbar-touch-target-size) + 4px);"
183
+ >${diagnosticRows()}</obc-diagnostic-menu
184
+ >`
185
+ : nothing
186
+ }
187
+ `;
188
+ },
135
189
  } satisfies Meta<ObcTopBar>;
136
190
 
191
+ const DIAGNOSTIC_DESCRIPTION =
192
+ 'A long notification message of more than one line of text and meaningful content. Sometimes it might be quite long and that is ok.';
193
+
194
+ const diagnosticRow = (title: string, open = false) =>
195
+ html`<obc-message-menu-item
196
+ title=${title}
197
+ description=${DIAGNOSTIC_DESCRIPTION}
198
+ day="Yesterday"
199
+ time="09:12:34"
200
+ primaryActionLabel="Action"
201
+ hasPrimaryIcon
202
+ ?open=${open}
203
+ ><obi-placeholder slot="primary-icon"></obi-placeholder
204
+ ></obc-message-menu-item>`;
205
+
206
+ /** The five rows of the design, the third expanded. */
207
+ const diagnosticRows = () =>
208
+ html`${diagnosticRow('Simulate')} ${diagnosticRow('Title')}
209
+ ${diagnosticRow('Title', true)} ${diagnosticRow('Title')}
210
+ ${diagnosticRow('Title')}`;
211
+
137
212
  export default meta;
138
213
  type Story = StoryObj<ObcTopBar>;
139
214
 
@@ -204,3 +279,38 @@ export const HomeButtonIcon: Story = {
204
279
  menuButtonIcon: ObcTopBarMenuButtonIcon.Home,
205
280
  },
206
281
  };
282
+
283
+ /**
284
+ * The `asset-picker` slot takes the control that switches the asset the page
285
+ * shows. An `obc-dropdown-button` fits: its label is the selected asset, a
286
+ * click opens the list, and its `dropdown-change` carries the key of the pick.
287
+ * The app owns the list and the selection: it binds them in and writes the pick
288
+ * back, as the story does with its args `assets` and `selectedAssetKey`.
289
+ *
290
+ * TODO(designer): Figma OpenBridge-ALPHA 703-29119 draws the picker as a plain
291
+ * button without a chevron; the dropdown-button rows of the same exploration
292
+ * (699-90973) draw one, and so does `obc-dropdown-button`.
293
+ */
294
+ export const AssetPicker: Story = {
295
+ args: {
296
+ alertBreakpoint: 1_000_000, // the long message item would squeeze the texts out at 1280 px
297
+ assets: [
298
+ {label: 'Merd A', key: 'merd-a'},
299
+ {label: 'Merd B', key: 'merd-b'},
300
+ {label: 'Merd C', key: 'merd-c'},
301
+ ],
302
+ selectedAssetKey: 'merd-b',
303
+ },
304
+ };
305
+
306
+ /**
307
+ * The diagnostic button after the alert area, with its menu showing, as the
308
+ * design places them (Figma scratch file `Qit0iy9CQO8bvNqbcUgzXc`, 213-31927).
309
+ */
310
+ export const Diagnostics: Story = {
311
+ args: {
312
+ showDiagnosticButton: true,
313
+ diagnosticMenuOpen: true,
314
+ alertBreakpoint: 1_000_000, // the long message item would squeeze the texts out at 1280 px
315
+ },
316
+ };
@@ -41,7 +41,9 @@ export enum ObcTopBarMenuButtonIcon {
41
41
  * - **App Title & Page Name:** Displays the current application and page context.
42
42
  * - **Breadcrumbs:** Optional breadcrumb navigation for hierarchical context (in settings mode).
43
43
  * - **Command Button Slot:** Slot for inserting a primary command/action button.
44
+ * - **Asset Picker Slot:** Slot for a control that switches between the assets the page can show, such as an `obc-dropdown-button` whose label is the current asset.
44
45
  * - **Alert/Notification Area:** Slot for alert indicators, notification badges, or custom alert components.
46
+ * - **Diagnostics Slot:** Slot for the diagnostic button, after the alert area.
45
47
  * - **Dimming Button:** Optional button for toggling display modes (e.g., day/night).
46
48
  * - **User/Profile Button:** Optional user icon for profile/account actions.
47
49
  * - **Apps Button:** Optional button for accessing additional applications or modules.
@@ -64,7 +66,9 @@ export enum ObcTopBarMenuButtonIcon {
64
66
  * - Use the `settings` property for configuration or setup screens to enable close/back/forward navigation and breadcrumbs.
65
67
  * - Use the `inactive` property to visually disable the bar and its actions when the app is not interactive.
66
68
  * - Insert custom icons or buttons using the `app-icon` and `command-button` slots.
69
+ * - Slot an `obc-dropdown-button` into `asset-picker` when the page shows one of several assets; the app owns the list and the selection and listens for the button's `change`.
67
70
  * - Use the `alerts` slot to display alert indicators, notification badges, or custom alert components.
71
+ * - Slot an `obc-diagnostic-button` into `diagnostics`; open its `obc-diagnostic-menu` from the button's `click` the way the user menu is opened from the user button.
68
72
  *
69
73
  * **TODO(designer):** Clarify recommended combinations of visible elements for different app contexts (e.g., when to show both user and apps buttons, or best practices for alert placement).
70
74
  *
@@ -73,8 +77,10 @@ export enum ObcTopBarMenuButtonIcon {
73
77
  * | Slot Name | Renders When... | Purpose |
74
78
  * |------------------|---------------------------------|----------------------------------------------------------------|
75
79
  * | `app-icon` | `showAppIcon` is true | Custom icon representing the application or brand. |
76
- * | `command-button` | Always (if provided) | Primary command or action button for the current context. |
80
+ * | `command-button` | `settings` is false (if provided) | Primary command or action button for the current context. |
81
+ * | `asset-picker` | `settings` is false (if provided) | Control that switches the asset the page shows; its label is the current asset. |
77
82
  * | `alerts` | Always (if provided) | Area for alert indicators, notification badges, or alert items.|
83
+ * | `diagnostics` | Always (if provided) | The diagnostic button (`obc-diagnostic-button`), after the alert area and before the dimming button. |
78
84
  * | `clock` | Always (if provided) | Clock component for displaying the current time. |
79
85
  *
80
86
  * ## Events
@@ -159,7 +165,9 @@ export enum ObcTopBarMenuButtonIcon {
159
165
  * @availableWhen breadcrumbItems settings==true
160
166
  * @slot app-icon - Custom icon representing the application or brand (shown when `showAppIcon` is true)
161
167
  * @slot command-button - Primary command/action button for the current context
168
+ * @slot asset-picker - Control that switches the asset the page shows, with the current asset as its label; an `obc-dropdown-button` fits (regular layout only, not in settings mode)
162
169
  * @slot alerts - Area for alert indicators, notification badges, or alert items
170
+ * @slot diagnostics - The diagnostic button, after the alert area and before the dimming button
163
171
  * @slot clock - Clock component for displaying the current time (shown when `showClock` is true)
164
172
  * @fires menu-button-clicked - Fired when the menu button is clicked
165
173
  * @fires dimming-button-clicked - Fired when the dimming (day/night) button is clicked
@@ -439,6 +447,7 @@ export class ObcTopBar extends LitElement {
439
447
  }
440
448
  leftGroup.push(html`<div class="title">${this.appTitle}</div>`);
441
449
  leftGroup.push(html`<div class="page-name">${this.pageName}</div>`);
450
+ leftGroup.push(html`<slot name="asset-picker"></slot>`);
442
451
  leftGroup.push(html`<slot name="command-button"></slot>`);
443
452
  }
444
453
 
@@ -505,6 +514,7 @@ export class ObcTopBar extends LitElement {
505
514
  <div class="alert-container">
506
515
  <slot name="alerts"></slot>
507
516
  </div>
517
+ <slot name="diagnostics"></slot>
508
518
  ${
509
519
  this.showDimmingButton && !this.inactive
510
520
  ? html`<obc-icon-button
@@ -37,10 +37,16 @@
37
37
  'sa45a194b58837e4f': `Active`,
38
38
  's5ba9818f6a39054c': `Go to the 'Alert list' for more details or to manage existing alerts.`,
39
39
  'sa6ef04345891fb38': `ACK visible`,
40
+ 's5de3f4978aaa2443': `Alert list`,
40
41
  's3cf89cb47fdde7e9': `Link`,
41
42
  's47278872f6826da8': `Dusk`,
42
43
  's9e34794bcfdc6665': `Bright`,
43
44
  's33e301ba1f4a6864': `Screen Control`,
45
+ 's56df31a121d65bd7': `Diagnostics`,
46
+ 'se1fef04fe8351166': `No diagnostics`,
47
+ 'sdd913f2a088ffec7': `Go to the 'Diagnostics list' for more details.`,
48
+ 's1d82ea8c2e81ba83': `ACK all visible`,
49
+ 'sfd88a513640b6911': `Diagnostics list`,
44
50
  'sc5a5b268010fc312': `Audio muted`,
45
51
  's740deeebbea89396': `Audio on`,
46
52
  'sb1772b5e873910c2': `Microphone muted`,
@@ -51,6 +51,12 @@
51
51
  's24f3a319b88552c1': `Low`,
52
52
  'sca9e13f23f0c433e': `Diagnostic`,
53
53
  'sa45a194b58837e4f': `Active`,
54
+ 's5de3f4978aaa2443': `Alert list`,
55
+ 's56df31a121d65bd7': `Diagnostics`,
56
+ 'se1fef04fe8351166': `No diagnostics`,
57
+ 'sdd913f2a088ffec7': `Go to the 'Diagnostics list' for more details.`,
58
+ 's1d82ea8c2e81ba83': `ACK all visible`,
59
+ 'sfd88a513640b6911': `Diagnostics list`,
54
60
  'sc5a5b268010fc312': `Audio muted`,
55
61
  's740deeebbea89396': `Audio on`,
56
62
  'sb1772b5e873910c2': `Microphone muted`,