@oicl/openbridge-webcomponents 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 (50) 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 +856 -195
  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 +105 -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 +111 -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
@@ -0,0 +1,90 @@
1
+ import { customElement } from "../../decorator.js";
2
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.150.0/helpers/esm/decorate.js";
3
+ import "../../icons/icon-chevron-right-google.js";
4
+ import { PopoverController } from "../../internal/popover-controller.js";
5
+ import "../alert-frame/diagnostic-badge.js";
6
+ import "../button/button.js";
7
+ import "../../building-blocks/alert-list/alert-list.js";
8
+ import diagnostic_menu_default from "./diagnostic-menu.css.js";
9
+ import { localized, msg } from "@lit/localize";
10
+ import { LitElement, html, nothing, unsafeCSS } from "lit";
11
+ import { property, query } from "lit/decorators.js";
12
+ //#region src/components/diagnostic-menu/diagnostic-menu.ts
13
+ var ObcDiagnosticMenu = class ObcDiagnosticMenu extends LitElement {
14
+ constructor(..._args) {
15
+ super(..._args);
16
+ this.softDismiss = false;
17
+ this.open = false;
18
+ this.softDismissController = new PopoverController(this);
19
+ this.menuTitle = "";
20
+ this.canAckAll = false;
21
+ this.showAckAllButton = true;
22
+ this.showDiagnosticListButton = true;
23
+ }
24
+ handleAckAllVisibleClick() {
25
+ this.dispatchEvent(new CustomEvent("ack-all-visible-click", { detail: { visibleElements: this.list.getVisibleElements() } }));
26
+ }
27
+ render() {
28
+ return html`
29
+ <div class="wrapper" part="wrapper">
30
+ <div class="title-container">
31
+ <h3 class="title">${this.menuTitle || msg("Diagnostics")}</h3>
32
+ </div>
33
+ <obc-alert-list class="list">
34
+ <slot></slot>
35
+ <slot name="empty-title" slot="empty-title"
36
+ >${msg("No diagnostics")}</slot
37
+ >
38
+ <slot name="empty-description" slot="empty-description"
39
+ >${msg("Go to the 'Diagnostics list' for more details.")}</slot
40
+ >
41
+ <slot name="empty-icon" slot="empty-icon"
42
+ ><obi-diagnostic-badge class="empty-badge"></obi-diagnostic-badge
43
+ ></slot>
44
+ </obc-alert-list>
45
+ <div class="action">
46
+ ${this.showAckAllButton ? html`<obc-button
47
+ variant="normal"
48
+ .disabled=${!this.canAckAll}
49
+ data-testid="ack-all-visible-button"
50
+ @click=${this.handleAckAllVisibleClick}
51
+ >
52
+ ${msg("ACK all visible")}
53
+ </obc-button>` : nothing}
54
+ ${this.showDiagnosticListButton ? html`<obc-button
55
+ variant="normal"
56
+ showTrailingIcon
57
+ data-testid="diagnostic-list-button"
58
+ @click=${() => this.dispatchEvent(new CustomEvent("go-to-diagnostic-list-click"))}
59
+ >
60
+ ${msg("Diagnostics list")}
61
+ <obi-chevron-right-google
62
+ slot="trailing-icon"
63
+ ></obi-chevron-right-google>
64
+ </obc-button>` : nothing}
65
+ </div>
66
+ </div>
67
+ `;
68
+ }
69
+ static {
70
+ this.styles = unsafeCSS(diagnostic_menu_default);
71
+ }
72
+ };
73
+ __decorate([property({ type: Boolean })], ObcDiagnosticMenu.prototype, "softDismiss", void 0);
74
+ __decorate([property({ type: Boolean })], ObcDiagnosticMenu.prototype, "open", void 0);
75
+ __decorate([property({ type: String })], ObcDiagnosticMenu.prototype, "menuTitle", void 0);
76
+ __decorate([property({ type: Boolean })], ObcDiagnosticMenu.prototype, "canAckAll", void 0);
77
+ __decorate([property({
78
+ type: Boolean,
79
+ attribute: false
80
+ })], ObcDiagnosticMenu.prototype, "showAckAllButton", void 0);
81
+ __decorate([property({
82
+ type: Boolean,
83
+ attribute: false
84
+ })], ObcDiagnosticMenu.prototype, "showDiagnosticListButton", void 0);
85
+ __decorate([query(".list")], ObcDiagnosticMenu.prototype, "list", void 0);
86
+ ObcDiagnosticMenu = __decorate([customElement("obc-diagnostic-menu"), localized()], ObcDiagnosticMenu);
87
+ //#endregion
88
+ export { ObcDiagnosticMenu };
89
+
90
+ //# sourceMappingURL=diagnostic-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagnostic-menu.js","names":[],"sources":["../../../src/components/diagnostic-menu/diagnostic-menu.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property, query} from 'lit/decorators.js';\nimport {localized, msg} from '@lit/localize';\nimport componentStyle from './diagnostic-menu.css?inline';\nimport {customElement} from '../../decorator.js';\nimport '../button/button.js';\nimport '../../icons/icon-chevron-right-google.js';\nimport '../alert-frame/diagnostic-badge.js';\nimport '../../building-blocks/alert-list/alert-list.js';\nimport type {ObcAlertList} from '../../building-blocks/alert-list/alert-list.js';\nimport {PopoverController} from '../../internal/popover-controller.js';\n\nexport type ObcDiagnosticMenuAckAllVisibleClickEvent = CustomEvent<{\n visibleElements: {element: HTMLElement; index: number}[];\n}>;\n\n/**\n * `<obc-diagnostic-menu>` – The panel the diagnostic button opens: a titled\n * list of diagnostics with an acknowledge-all and a list button.\n *\n * The diagnostic counterpart of `obc-alert-menu`, without its tabs and its\n * silence button: a title row, the slotted `obc-message-menu-item` rows in a\n * scrolling list with an empty state, and a footer with \"ACK all visible\" and\n * \"Diagnostics list\".\n *\n * ---\n *\n * ### Features\n * - **Title row:** `menuTitle`, \"Diagnostics\" when left empty.\n * - **Rows:** any number of `obc-message-menu-item` children; the list\n * scrolls, slides new rows into place and shows an empty state the\n * `empty-*` slots replace.\n * - **ACK all visible:** enabled by `canAckAll`; fires\n * `ack-all-visible-click` with the rows in view, as the alert menu does.\n * - **Diagnostics list:** `showDiagnosticListButton` shows the button that\n * fires `go-to-diagnostic-list-click` for the full list page.\n * - **Soft dismiss:** `softDismiss` and `open` close the menu on a click\n * outside or `Escape`, as every menu does.\n *\n * ---\n *\n * ### Usage Guidelines\n * - Open it from `obc-diagnostic-button`'s `click` with a flag of your own,\n * bound to `open` and to the button's `activated`, and reset on `close`.\n * - A row is acknowledged through its own `primary-action-click`; the footer\n * button reports every row in view at once.\n * - Position it yourself, under the top bar's diagnostic button.\n * - **TODO(designer):** the design draws an open-in-new glyph after\n * \"Diagnostics list\" and a 696 px card that hugs its rows; neither the\n * glyph nor a width token is in the library, so the button draws the\n * chevron of the alert menu's \"Alerts\" button and the card keeps the alert\n * menu's width and height (#1396).\n *\n * ---\n *\n * ### Example\n *\n * ```html\n * <obc-diagnostic-menu canAckAll>\n * <obc-message-menu-item title=\"Simulate\" description=\"Value is simulated\" day=\"Yesterday\" time=\"09:12:34\" primaryActionLabel=\"Action\" hasPrimaryIcon>\n * <obi-placeholder slot=\"primary-icon\"></obi-placeholder>\n * </obc-message-menu-item>\n * </obc-diagnostic-menu>\n * ```\n *\n * @property menuTitle - Title of the menu; \"Diagnostics\" when left empty.\n * @property canAckAll - Enables the \"ACK all visible\" button; set it while a row in view can be acknowledged.\n * @availableWhen canAckAll showAckAllButton==true\n * @property showAckAllButton - Shows the \"ACK all visible\" button in the footer.\n * @property showDiagnosticListButton - Shows the \"Diagnostics list\" button in the footer.\n * @property softDismiss - Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click. Leave it off to show and hide the menu yourself.\n * @property open - Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.\n * @availableWhen open softDismiss==true\n * @slot - The diagnostics as `obc-message-menu-item` rows.\n * @slot empty-title - Title of the empty state, \"No diagnostics\" when left unfilled.\n * @slot empty-description - Description of the empty state.\n * @slot empty-icon - Icon of the empty state, the diagnostic asterisk when left unfilled.\n * @fires {ObcDiagnosticMenuAckAllVisibleClickEvent} ack-all-visible-click - Fired when the \"ACK all visible\" button is clicked, with the rows in view.\n * @fires {CustomEvent<void>} go-to-diagnostic-list-click - Fired when the \"Diagnostics list\" button is clicked.\n * @fires {CustomEvent<void>} close - Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives; reset the flag you bind to `open` here, or the next click on the button finds it still set and asks a closed menu to close.\n * @experimental\n */\n@customElement('obc-diagnostic-menu')\n@localized()\nexport class ObcDiagnosticMenu extends LitElement {\n @property({type: Boolean}) softDismiss = false;\n\n @property({type: Boolean}) open = false;\n\n protected readonly softDismissController = new PopoverController(this);\n\n @property({type: String}) menuTitle = '';\n\n @property({type: Boolean}) canAckAll = false;\n\n @property({type: Boolean, attribute: false}) showAckAllButton = true;\n\n @property({type: Boolean, attribute: false}) showDiagnosticListButton = true;\n\n @query('.list') private list!: ObcAlertList;\n\n private handleAckAllVisibleClick() {\n this.dispatchEvent(\n new CustomEvent('ack-all-visible-click', {\n detail: {visibleElements: this.list.getVisibleElements()},\n })\n );\n }\n\n override render() {\n return html`\n <div class=\"wrapper\" part=\"wrapper\">\n <div class=\"title-container\">\n <h3 class=\"title\">${this.menuTitle || msg('Diagnostics')}</h3>\n </div>\n <obc-alert-list class=\"list\">\n <slot></slot>\n <slot name=\"empty-title\" slot=\"empty-title\"\n >${msg('No diagnostics')}</slot\n >\n <slot name=\"empty-description\" slot=\"empty-description\"\n >${msg(\"Go to the 'Diagnostics list' for more details.\")}</slot\n >\n <slot name=\"empty-icon\" slot=\"empty-icon\"\n ><obi-diagnostic-badge class=\"empty-badge\"></obi-diagnostic-badge\n ></slot>\n </obc-alert-list>\n <div class=\"action\">\n ${\n this.showAckAllButton\n ? html`<obc-button\n variant=\"normal\"\n .disabled=${!this.canAckAll}\n data-testid=\"ack-all-visible-button\"\n @click=${this.handleAckAllVisibleClick}\n >\n ${msg('ACK all visible')}\n </obc-button>`\n : nothing\n }\n ${\n this.showDiagnosticListButton\n ? html`<obc-button\n variant=\"normal\"\n showTrailingIcon\n data-testid=\"diagnostic-list-button\"\n @click=${() =>\n this.dispatchEvent(\n new CustomEvent('go-to-diagnostic-list-click')\n )}\n >\n ${msg('Diagnostics list')}\n <obi-chevron-right-google\n slot=\"trailing-icon\"\n ></obi-chevron-right-google>\n </obc-button>`\n : nothing\n }\n </div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(componentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-diagnostic-menu': ObcDiagnosticMenu;\n }\n}\n"],"mappings":";;;;;;;;;;;;AAoFO,IAAM,oBAAN,MAAM,0BAA0B,WAAW;;;EACP,KAAA,cAAA;EAEP,KAAA,OAAA;EAES,KAAA,wBAAA,IAAI,kBAAkB,IAAI;EAE/B,KAAA,YAAA;EAEC,KAAA,YAAA;EAEyB,KAAA,mBAAA;EAEQ,KAAA,2BAAA;;CAIxE,2BAAmC;EACjC,KAAK,cACH,IAAI,YAAY,yBAAyB,EACvC,QA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@@ -55,7 +55,7 @@ var ObcIconButton = class ObcIconButton extends LitElement {
55
55
  cx="20"
56
56
  cy="20"
57
57
  r="18"
58
- stroke="#325B9A"
58
+ stroke="var(--instrument-enhanced-secondary-color)"
59
59
  stroke-width="4"
60
60
  fill="none"
61
61
  />
@@ -81,7 +81,7 @@ var ObcIconButton = class ObcIconButton extends LitElement {
81
81
  fill="none"
82
82
  />
83
83
  <path
84
- d="M18 2 A18 18 0 ${angleRad > Math.PI ? 1 : 0} 1 ${x} ${y}"
84
+ d="M20 2 A18 18 0 ${angleRad > Math.PI ? 1 : 0} 1 ${x} ${y}"
85
85
  stroke="var(--instrument-enhanced-secondary-color)"
86
86
  stroke-width="4"
87
87
  stroke-linecap="round"
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.js","names":[],"sources":["../../../src/components/icon-button/icon-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport iconStyle from './icon-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport {customElement} from '../../decorator.js';\nimport {degToRad} from '../../svghelpers/math.js';\n\n/**\n * The available visual variants for `<obc-icon-button>`.\n * - `normal`: Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n */\nexport enum IconButtonVariant {\n normal = 'normal',\n raised = 'raised',\n flat = 'flat',\n integration = 'integration',\n}\n\n/**\n * `<obc-icon-button>` – An icon-only or icon-with-label button for quick actions.\n *\n * Provides a compact, visually prominent button that displays an icon (and optionally a label) for triggering actions. Commonly used for toolbars, navigation, or contextual actions where space is limited and a recognizable icon can represent the function.\n *\n * Appears as a circular or rounded button with configurable visual styles, supporting progress indication and various layout adaptations.\n *\n * ## Features\n * - **Variants:**\n * - `normal` (default): Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n * - **Progress Indicator:**\n * - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.\n * - **Label Support:**\n * - Optionally displays a text label below the icon when `hasLabel` is true and content is provided in the `label` slot.\n * - **Corner Alignment:**\n * - `cornerLeft` and `cornerRight` adjust the button's border radius and alignment for flush placement at the start or end of a container.\n * - **Active State:**\n * - `activated` visually highlights the button as selected or toggled.\n * - `activeColor` applies an accent color for emphasis.\n * - **Wide Mode:**\n * - `wide` increases the button's width for easier touch targets or visual balance.\n * - **Disabled State:**\n * - `disabled` prevents interaction and visually dims the button.\n *\n * ## Usage Guidelines\n * - Use `obc-icon-button` for actions represented by icons, such as toolbars, navigation, or quick-access commands.\n * - Add a label (with `hasLabel` and the `label` slot) when clarity is needed or when icons alone may not be universally understood.\n * - Use the progress indicator for actions that take time, such as uploads or background processes.\n * - Prefer the `normal` variant for most cases; use `raised` to draw attention, and `flat` for less prominent or inline actions.\n * - For grouped or edge-aligned layouts, use `cornerLeft` or `cornerRight` to visually merge with container edges.\n * - Avoid using icon buttons for destructive or critical actions unless paired with clear feedback.\n * - **TODO(designer):** Clarify recommended icon sizes and when to use label vs. icon-only.\n *\n * ## Slots\n * | Slot Name | Renders When... | Purpose |\n * |-----------|---------------------|----------------------------------------------|\n * | (default) | Always | The icon to display (e.g., `<obi-search>`) |\n * | label | If `hasLabel` is set | Optional label text below the icon |\n *\n * ## Events\n * - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.\n *\n * ## Best Practices\n * - Ensure icons are clear and universally recognizable.\n * - For accessibility, provide an `aria-label` or descriptive label for the button's action.\n * - When using the progress indicator, avoid showing it for very short actions to prevent visual flicker.\n *\n * ## Example:\n * ```\n * <obc-icon-button variant=\"normal\">\n * <obi-search></obi-search>\n * </obc-icon-button>\n *\n * <obc-icon-button variant=\"normal\" hasLabel>\n * <obi-arrow></obi-arrow>\n * <span slot=\"label\">Next</span>\n * </obc-icon-button>\n * ```\n *\n * @property activated - Whether the button is in an activated (selected/toggled) state.\n * Visually highlights the button to indicate selection.\n * @property cornerLeft - If true, aligns the button to the left edge and removes left border radius.\n * Useful for grouping or edge-aligned layouts.\n * @property cornerRight - If true, aligns the button to the right edge and removes right border radius.\n * Useful for grouping or edge-aligned layouts.\n * @property activeColor - Applies an accent color to the button for emphasis.\n * Used to visually distinguish active or important actions.\n * @property wide - Increases the button's width for larger touch targets or visual balance.\n * @property disabled - Disables the button, preventing user interaction and dimming its appearance.\n * @property progress - Shows a circular progress indicator overlay when set (0–100).\n * Use to indicate ongoing actions or loading states.\n * If undefined, no progress indicator is shown.\n * @property hasLabel - If true, displays a label below the icon using the `label` slot.\n * @property showDivider - If false, and cornerLeft or cornerRight is true, the divider is not shown.\n * @property ariaLabel - Accessible name forwarded to the inner `<button>`, mapped to the `aria-label` attribute. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary.\n * @property focusable - Whether the button is in the tab sequence. Turn it off for a button inside a\n * composite widget that owns the tab stop, and give the widget a key for the action.\n * @property variant - Visual style: `normal` (default) is the standard appearance, `raised` adds\n * a shadow, `flat` drops the background.\n * @slot - Icon slot (default): Place an icon such as <obi-search> here.\n * @slot label - Optional label shown below the icon when `hasLabel` is true.\n * @fires click - Fired when the button is clicked (if not disabled).\n * @stable\n */\n@customElement('obc-icon-button')\nexport class ObcIconButton extends LitElement {\n @property({type: String}) variant: IconButtonVariant =\n IconButtonVariant.normal;\n\n @property({type: Boolean}) activated = false;\n\n @property({type: Boolean}) cornerLeft = false;\n\n @property({type: Boolean}) cornerRight = false;\n\n @property({type: Boolean}) activeColor = false;\n\n @property({type: Boolean}) wide = false;\n\n @property({type: Boolean}) disabled = false;\n\n @property({type: Number}) progress: undefined | number = undefined;\n\n @property({type: Boolean}) hasLabel: boolean = false;\n\n @property({type: Boolean, attribute: false}) showDivider = true;\n\n @property({type: Boolean, attribute: false}) focusable = true;\n\n // Reactive so a consumer swapping the name (Play → Pause) re-renders the shadow button.\n @property({type: String, attribute: 'aria-label'})\n override ariaLabel: string | null = null;\n\n /** Focus lands on the button inside, not on the host. */\n public override focus(options?: FocusOptions): void {\n this.shadowRoot?.querySelector('button')?.focus(options);\n }\n\n get progressSpinner() {\n if (this.progress === undefined) {\n return nothing;\n }\n if (this.progress === 100) {\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"#325B9A\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n </svg>\n </div>`;\n }\n const angleRad = degToRad(this.progress * 0.95 * 3.6);\n const x = 20 + 18 * Math.sin(angleRad);\n const y = 20 - 18 * Math.cos(angleRad);\n const largeArcFlag = angleRad > Math.PI ? 1 : 0;\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"var(--container-backdrop-color)\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n <path\n d=\"M18 2 A18 18 0 ${largeArcFlag} 1 ${x} ${y}\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>`;\n }\n\n override render() {\n return html`\n <button\n class=${classMap({\n wrapper: true,\n ['variant-' + this.variant]: true,\n activated: this.activated,\n 'corner-left': this.cornerLeft,\n 'corner-right': this.cornerRight,\n 'active-color': this.activeColor,\n 'has-label': this.hasLabel,\n wide: this.wide,\n progress: this.progress !== undefined,\n 'hide-divider': !this.showDivider,\n })}\n ?disabled=${this.disabled}\n aria-label=${ifDefined(this.ariaLabel ?? undefined)}\n tabindex=${ifDefined(this.focusable ? undefined : -1)}\n part=\"wrapper\"\n >\n ${this.progress !== undefined ? this.progressSpinner : nothing}\n <div class=\"visible-wrapper\" part=\"visible-wrapper\">\n <div class=\"icon\" part=\"icon\">\n <slot></slot>\n </div>\n </div>\n ${\n this.hasLabel\n ? html`<div class=\"label\" part=\"label\">\n <slot name=\"label\"></slot>\n </div>`\n : nothing\n }\n </button>\n `;\n }\n\n static override styles = unsafeCSS(iconStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-icon-button': ObcIconButton;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAY,oBAAL,yBAAA,mBAAA;CACL,kBAAA,YAAA;CACA,kBAAA,YAAA;CACA,kBAAA,UAAA;CACA,kBAAA,iBAAA;;AACF,EAAA,CAAA,CAAA;AA0FO,IAAM,gBAAN,MAAM,sBAAsB,WAAW;;;;EAIL,KAAA,YAAA;EAEC,KAAA,aAAA;EAEC,KAAA,cAAA;EAEA,KAAA,cAAA;EAEP,KAAA,OAAA;EAEI,KAAA,WAAA;EAEmB,KAAA,WAAA,KAAA;EAEV,KAAA,WAAA;EAEY,KAAA,cAAA;EAEF,KAAA,YAAA;EAIrB,KAAA,YAAA;;;CAGpC,MAAsB,SAA8B;EAClD,KAAK,YAAY,cAAc,QAAQ,CAAC,EAAE,MAAM,OAAO;CACzD;CAEA,IAAI,kBAAkB;EACpB,IAAI,KAAK,aAAa,KAAA,GACpB,OAAO;EAET,IAAI,KAAK,aAAa,KACpB,OAAO,IAAI;;;;;;;;;;;;;;;;;;EAmBb,MAAM,WAAW,SAAS,KAAK,WAAW,MAAO,GAAG;EACpD,MAAM,IAAI,KAAK,KAAK,KAAK,IAAI,QAAQ;EACrC,MAAM,IAAI,KAAK,KAAK,KAAK,IAAI,QAAQ;EAErC,OAAO,IAAI;;;;;;;;;;;;;;;;;8BADU,WAAW,KAAK,KAAK,IAAI,EAkBP,KAAK,EAAE,GAAG,EAAE;;;;;;;CAOrD;CAEA,SAAkB;EAChB,OAAO,IAAI;;g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CAAA,SAAS,EAAC,MAAM,QAAO,CAAC,CAAA,GAAA,cAAA,WAAA,YAAA,KAAA,CAAA;AAExB,WAAA,CAAA,SAAS;CAAC,MAAM;CAAS,WAAW;AAAK,CAAC,CAAA,GAAA,cAAA,WAAA,eAAA,KAAA,CAAA;AAE1C,WAAA,CAAA,SAAS;CAAC,MAAM;CAAS,WAAW;AAAK,CAAC,CAAA,GAAA,cAAA,WAAA,aAAA,KAAA,CAAA;AAG1C,WAAA,CAAA,SAAS;CAAC,MAAM;CAAQ,WAAW;AAAY,CAAC,CAAA,GAAA,cAAA,WAAA,aAAA,KAAA,CAAA;AA1BlD,gBAAA,WAAA,CAAA,cAAc,iBAAiB,CAAA,GAAA,aAAA"}
1
+ {"version":3,"file":"icon-button.js","names":[],"sources":["../../../src/components/icon-button/icon-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport iconStyle from './icon-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport {customElement} from '../../decorator.js';\nimport {degToRad} from '../../svghelpers/math.js';\n\n/**\n * The available visual variants for `<obc-icon-button>`.\n * - `normal`: Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n */\nexport enum IconButtonVariant {\n normal = 'normal',\n raised = 'raised',\n flat = 'flat',\n integration = 'integration',\n}\n\n/**\n * `<obc-icon-button>` – An icon-only or icon-with-label button for quick actions.\n *\n * Provides a compact, visually prominent button that displays an icon (and optionally a label) for triggering actions. Commonly used for toolbars, navigation, or contextual actions where space is limited and a recognizable icon can represent the function.\n *\n * Appears as a circular or rounded button with configurable visual styles, supporting progress indication and various layout adaptations.\n *\n * ## Features\n * - **Variants:**\n * - `normal` (default): Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n * - **Progress Indicator:**\n * - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.\n * - **Label Support:**\n * - Optionally displays a text label below the icon when `hasLabel` is true and content is provided in the `label` slot.\n * - **Corner Alignment:**\n * - `cornerLeft` and `cornerRight` adjust the button's border radius and alignment for flush placement at the start or end of a container.\n * - **Active State:**\n * - `activated` visually highlights the button as selected or toggled.\n * - `activeColor` applies an accent color for emphasis.\n * - **Wide Mode:**\n * - `wide` increases the button's width for easier touch targets or visual balance.\n * - **Disabled State:**\n * - `disabled` prevents interaction and visually dims the button.\n *\n * ## Usage Guidelines\n * - Use `obc-icon-button` for actions represented by icons, such as toolbars, navigation, or quick-access commands.\n * - Add a label (with `hasLabel` and the `label` slot) when clarity is needed or when icons alone may not be universally understood.\n * - Use the progress indicator for actions that take time, such as uploads or background processes.\n * - Prefer the `normal` variant for most cases; use `raised` to draw attention, and `flat` for less prominent or inline actions.\n * - For grouped or edge-aligned layouts, use `cornerLeft` or `cornerRight` to visually merge with container edges.\n * - Avoid using icon buttons for destructive or critical actions unless paired with clear feedback.\n * - **TODO(designer):** Clarify recommended icon sizes and when to use label vs. icon-only.\n *\n * ## Slots\n * | Slot Name | Renders When... | Purpose |\n * |-----------|---------------------|----------------------------------------------|\n * | (default) | Always | The icon to display (e.g., `<obi-search>`) |\n * | label | If `hasLabel` is set | Optional label text below the icon |\n *\n * ## Events\n * - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.\n *\n * ## Best Practices\n * - Ensure icons are clear and universally recognizable.\n * - For accessibility, provide an `aria-label` or descriptive label for the button's action.\n * - When using the progress indicator, avoid showing it for very short actions to prevent visual flicker.\n *\n * ## Example:\n * ```\n * <obc-icon-button variant=\"normal\">\n * <obi-search></obi-search>\n * </obc-icon-button>\n *\n * <obc-icon-button variant=\"normal\" hasLabel>\n * <obi-arrow></obi-arrow>\n * <span slot=\"label\">Next</span>\n * </obc-icon-button>\n * ```\n *\n * @property activated - Whether the button is in an activated (selected/toggled) state.\n * Visually highlights the button to indicate selection.\n * @property cornerLeft - If true, aligns the button to the left edge and removes left border radius.\n * Useful for grouping or edge-aligned layouts.\n * @property cornerRight - If true, aligns the button to the right edge and removes right border radius.\n * Useful for grouping or edge-aligned layouts.\n * @property activeColor - Applies an accent color to the button for emphasis.\n * Used to visually distinguish active or important actions.\n * @property wide - Increases the button's width for larger touch targets or visual balance.\n * @property disabled - Disables the button, preventing user interaction and dimming its appearance.\n * @property progress - Shows a circular progress indicator overlay when set (0–100).\n * Use to indicate ongoing actions or loading states.\n * If undefined, no progress indicator is shown.\n * @property hasLabel - If true, displays a label below the icon using the `label` slot.\n * @property showDivider - If false, and cornerLeft or cornerRight is true, the divider is not shown.\n * @property ariaLabel - Accessible name forwarded to the inner `<button>`, mapped to the `aria-label` attribute. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary.\n * @property focusable - Whether the button is in the tab sequence. Turn it off for a button inside a\n * composite widget that owns the tab stop, and give the widget a key for the action.\n * @property variant - Visual style: `normal` (default) is the standard appearance, `raised` adds\n * a shadow, `flat` drops the background.\n * @slot - Icon slot (default): Place an icon such as <obi-search> here.\n * @slot label - Optional label shown below the icon when `hasLabel` is true.\n * @fires click - Fired when the button is clicked (if not disabled).\n * @stable\n */\n@customElement('obc-icon-button')\nexport class ObcIconButton extends LitElement {\n @property({type: String}) variant: IconButtonVariant =\n IconButtonVariant.normal;\n\n @property({type: Boolean}) activated = false;\n\n @property({type: Boolean}) cornerLeft = false;\n\n @property({type: Boolean}) cornerRight = false;\n\n @property({type: Boolean}) activeColor = false;\n\n @property({type: Boolean}) wide = false;\n\n @property({type: Boolean}) disabled = false;\n\n @property({type: Number}) progress: undefined | number = undefined;\n\n @property({type: Boolean}) hasLabel: boolean = false;\n\n @property({type: Boolean, attribute: false}) showDivider = true;\n\n @property({type: Boolean, attribute: false}) focusable = true;\n\n // Reactive so a consumer swapping the name (Play → Pause) re-renders the shadow button.\n @property({type: String, attribute: 'aria-label'})\n override ariaLabel: string | null = null;\n\n /** Focus lands on the button inside, not on the host. */\n public override focus(options?: FocusOptions): void {\n this.shadowRoot?.querySelector('button')?.focus(options);\n }\n\n get progressSpinner() {\n if (this.progress === undefined) {\n return nothing;\n }\n if (this.progress === 100) {\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n </svg>\n </div>`;\n }\n const angleRad = degToRad(this.progress * 0.95 * 3.6);\n const x = 20 + 18 * Math.sin(angleRad);\n const y = 20 - 18 * Math.cos(angleRad);\n const largeArcFlag = angleRad > Math.PI ? 1 : 0;\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"var(--container-backdrop-color)\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n <path\n d=\"M20 2 A18 18 0 ${largeArcFlag} 1 ${x} ${y}\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>`;\n }\n\n override render() {\n return html`\n <button\n class=${classMap({\n wrapper: true,\n ['variant-' + this.variant]: true,\n activated: this.activated,\n 'corner-left': this.cornerLeft,\n 'corner-right': this.cornerRight,\n 'active-color': this.activeColor,\n 'has-label': this.hasLabel,\n wide: this.wide,\n progress: this.progress !== undefined,\n 'hide-divider': !this.showDivider,\n })}\n ?disabled=${this.disabled}\n aria-label=${ifDefined(this.ariaLabel ?? undefined)}\n tabindex=${ifDefined(this.focusable ? undefined : -1)}\n part=\"wrapper\"\n >\n ${this.progress !== undefined ? this.progressSpinner : nothing}\n <div class=\"visible-wrapper\" part=\"visible-wrapper\">\n <div class=\"icon\" part=\"icon\">\n <slot></slot>\n </div>\n </div>\n ${\n this.hasLabel\n ? html`<div class=\"label\" part=\"label\">\n <slot name=\"label\"></slot>\n </div>`\n : nothing\n }\n </button>\n `;\n }\n\n static override styles = unsafeCSS(iconStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-icon-button': ObcIconButton;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAY,oBAAL,yBAAA,mBAAA;CACL,kBAAA,YAAA;CACA,kBAAA,YAAA;CACA,kBAAA,UAAA;CACA,kBAAA,iBAAA;;AACF,EAAA,CAAA,CAAA;AA0FO,IAAM,gBAAN,MAAM,sBAAsB,WAAW;;;;EAIL,KAAA,YAAA;EAEC,KAAA,aAAA;EAEC,KAAA,cAAA;EAEA,KAAA,cAAA;EAEP,KAAA,OAAA;EAEI,KAAA,WAAA;EAEmB,KAAA,WAAA,KAAA;EAEV,KAAA,WAAA;EAEY,KAAA,cAAA;EAEF,KAAA,YAAA;EAIrB,KAAA,YAAA;;;CAGpC,MAAsB,SAA8B;EAClD,KAAK,YAAY,cAAc,QAAQ,CAAC,EAAE,MAAM,OAAO;CACzD;CAEA,IAAI,kBAAkB;EACpB,IAAI,KAAK,aAAa,KAAA,GACpB,OAAO;EAET,IAAI,KAAK,aAAa,KACpB,OAAO,IAAI;;;;;;;;;;;;;;;;;;EAmBb,MAAM,WAAW,SAAS,KAAK,WAAW,MAAO,GAAG;EACpD,MAAM,IAAI,KAAK,KAAK,KAAK,IAAI,QAAQ;EACrC,MAAM,IAAI,KAAK,KAAK,KAAK,IAAI,QAAQ;EAErC,OAAO,IAAI;;;;;;;;;;;;;;;;;8BADU,WAAW,KAAK,KAAK,IAAI,EAkBP,KAAK,EAAE,GAAG,EAAE;;;;;;;CAOrD;CAEA,SAAkB;EAChB,OAAO,IAAI;;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,CAAA,SAAS,EAAC,MAAM,QAAO,CAAC,CAAA,GAAA,cAAA,WAAA,YAAA,KAAA,CAAA;AAExB,WAAA,CAAA,SAAS;CAAC,MAAM;CAAS,WAAW;AAAK,CAAC,CAAA,GAAA,cAAA,WAAA,eAAA,KAAA,CAAA;AAE1C,WAAA,CAAA,SAAS;CAAC,MAAM;CAAS,WAAW;AAAK,CAAC,CAAA,GAAA,cAAA,WAAA,aAAA,KAAA,CAAA;AAG1C,WAAA,CAAA,SAAS;CAAC,MAAM;CAAQ,WAAW;AAAY,CAAC,CAAA,GAAA,cAAA,WAAA,aAAA,KAAA,CAAA;AA1BlD,gBAAA,WAAA,CAAA,cAAc,iBAAiB,CAAA,GAAA,aAAA"}
@@ -77,11 +77,17 @@ var top_bar_default = css`* {
77
77
  .dimming-button,
78
78
  .user-button,
79
79
  .apps-button,
80
+ ::slotted([slot="asset-picker"]),
80
81
  ::slotted([slot="command-button"]),
82
+ ::slotted([slot="diagnostics"]),
81
83
  ::slotted([slot="clock"]) {
82
84
  flex-shrink: 0;
83
85
  }
84
86
 
87
+ ::slotted([slot="asset-picker"]) {
88
+ margin: 0 var(--app-components-topbar-label-spacing); /* Figma pads the picker 8 px each side; a dropdown button brings no gutter of its own */
89
+ }
90
+
85
91
  .alert-container {
86
92
  display: flex;
87
93
  flex: 1 1 0; /* zero basis: fills what the texts leave, holds its min-content in a squeeze */
@@ -1 +1 @@
1
- {"version":3,"file":"top-bar.css.js","names":[],"sources":["../../../src/components/top-bar/top-bar.css?inline"],"sourcesContent":["* {\n box-sizing: border-box;\n}\n\n.wrapper {\n height: var(--app-components-topbar-touch-target-size);\n padding: 0px var(--app-components-topbar-margin-global);\n user-select: none;\n\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n &:not(.inactive) {\n background: var(--container-global-color, #fcfcfc);\n box-shadow: var(--shadow-flat);\n }\n\n &.tall {\n height: var(--app-components-topbar-touch-target-tall);\n }\n\n &.inactive {\n padding-left: calc(\n var(--app-components-topbar-margin-global) +\n var(--app-components-topbar-padding-left-small)\n ); /* no menu button: inset the title instead */\n }\n}\n\n/* ---- One flex line ----\n Flattened because a squeeze must reach the texts, not a group: a shrinkable\n left group collapses under an unshrinkable alert and covers the menu button. */\n\n.group {\n display: contents;\n\n .settings &.left > * {\n margin-right: 0;\n margin-left: 0;\n }\n\n &.left .title {\n padding-right: var(--app-components-topbar-label-spacing);\n }\n\n &.left .menu-button {\n margin-right: 0;\n margin-left: 0;\n\n &.wide {\n margin-left: 8px;\n margin-right: 8px;\n }\n }\n\n .app-icon {\n padding-right: var(--app-components-topbar-label-spacing);\n width: var(--app-components-topbar-icon-size);\n height: var(--app-components-topbar-icon-size);\n box-sizing: content-box;\n color: var(--element-neutral-color);\n }\n}\n\n/* Controls never shrink: a squeeze reaches the texts, then overflows the end */\n.menu-button,\n.app-icon,\n.more-button,\n.dimming-button,\n.user-button,\n.apps-button,\n::slotted([slot=\"command-button\"]),\n::slotted([slot=\"clock\"]) {\n flex-shrink: 0;\n}\n\n.alert-container {\n display: flex;\n flex: 1 1 0; /* zero basis: fills what the texts leave, holds its min-content in a squeeze */\n gap: var(--app-components-topbar-label-spacing);\n align-items: center;\n justify-content: right;\n}\n\n/* ---- Text gives way first ---- */\n\n.title,\n.page-name {\n overflow: hidden;\n color: var(--element-active-color, #1a1a1a);\n}\n\n.title {\n flex-shrink: 3; /* the app title gives way before the page name */\n min-width: 2em; /* room for \"A…\": narrower boxes paint a clipped glyph instead */\n white-space: nowrap;\n text-overflow: ellipsis;\n @mixin font-body;\n}\n\n.page-name {\n min-width: 0; /* shrink below the longest word instead of pushing buttons out */\n display: -webkit-box; /* two lines, then an ellipsis */\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n @mixin font-body-active;\n}\n\n.more-button {\n display: none;\n}\n\n.divider {\n width: 1px;\n height: var(--ui-components-divider-height-small);\n background: var(--border-divider-color);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"top-bar.css.js","names":[],"sources":["../../../src/components/top-bar/top-bar.css?inline"],"sourcesContent":["* {\n box-sizing: border-box;\n}\n\n.wrapper {\n height: var(--app-components-topbar-touch-target-size);\n padding: 0px var(--app-components-topbar-margin-global);\n user-select: none;\n\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n &:not(.inactive) {\n background: var(--container-global-color, #fcfcfc);\n box-shadow: var(--shadow-flat);\n }\n\n &.tall {\n height: var(--app-components-topbar-touch-target-tall);\n }\n\n &.inactive {\n padding-left: calc(\n var(--app-components-topbar-margin-global) +\n var(--app-components-topbar-padding-left-small)\n ); /* no menu button: inset the title instead */\n }\n}\n\n/* ---- One flex line ----\n Flattened because a squeeze must reach the texts, not a group: a shrinkable\n left group collapses under an unshrinkable alert and covers the menu button. */\n\n.group {\n display: contents;\n\n .settings &.left > * {\n margin-right: 0;\n margin-left: 0;\n }\n\n &.left .title {\n padding-right: var(--app-components-topbar-label-spacing);\n }\n\n &.left .menu-button {\n margin-right: 0;\n margin-left: 0;\n\n &.wide {\n margin-left: 8px;\n margin-right: 8px;\n }\n }\n\n .app-icon {\n padding-right: var(--app-components-topbar-label-spacing);\n width: var(--app-components-topbar-icon-size);\n height: var(--app-components-topbar-icon-size);\n box-sizing: content-box;\n color: var(--element-neutral-color);\n }\n}\n\n/* Controls never shrink: a squeeze reaches the texts, then overflows the end */\n.menu-button,\n.app-icon,\n.more-button,\n.dimming-button,\n.user-button,\n.apps-button,\n::slotted([slot=\"asset-picker\"]),\n::slotted([slot=\"command-button\"]),\n::slotted([slot=\"diagnostics\"]),\n::slotted([slot=\"clock\"]) {\n flex-shrink: 0;\n}\n\n::slotted([slot=\"asset-picker\"]) {\n margin: 0 var(--app-components-topbar-label-spacing); /* Figma pads the picker 8 px each side; a dropdown button brings no gutter of its own */\n}\n\n.alert-container {\n display: flex;\n flex: 1 1 0; /* zero basis: fills what the texts leave, holds its min-content in a squeeze */\n gap: var(--app-components-topbar-label-spacing);\n align-items: center;\n justify-content: right;\n}\n\n/* ---- Text gives way first ---- */\n\n.title,\n.page-name {\n overflow: hidden;\n color: var(--element-active-color, #1a1a1a);\n}\n\n.title {\n flex-shrink: 3; /* the app title gives way before the page name */\n min-width: 2em; /* room for \"A…\": narrower boxes paint a clipped glyph instead */\n white-space: nowrap;\n text-overflow: ellipsis;\n @mixin font-body;\n}\n\n.page-name {\n min-width: 0; /* shrink below the longest word instead of pushing buttons out */\n display: -webkit-box; /* two lines, then an ellipsis */\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n @mixin font-body-active;\n}\n\n.more-button {\n display: none;\n}\n\n.divider {\n width: 1px;\n height: var(--ui-components-divider-height-small);\n background: var(--border-divider-color);\n}\n"],"mappings":""}
@@ -31,7 +31,9 @@ export declare enum ObcTopBarMenuButtonIcon {
31
31
  * - **App Title & Page Name:** Displays the current application and page context.
32
32
  * - **Breadcrumbs:** Optional breadcrumb navigation for hierarchical context (in settings mode).
33
33
  * - **Command Button Slot:** Slot for inserting a primary command/action button.
34
+ * - **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.
34
35
  * - **Alert/Notification Area:** Slot for alert indicators, notification badges, or custom alert components.
36
+ * - **Diagnostics Slot:** Slot for the diagnostic button, after the alert area.
35
37
  * - **Dimming Button:** Optional button for toggling display modes (e.g., day/night).
36
38
  * - **User/Profile Button:** Optional user icon for profile/account actions.
37
39
  * - **Apps Button:** Optional button for accessing additional applications or modules.
@@ -54,7 +56,9 @@ export declare enum ObcTopBarMenuButtonIcon {
54
56
  * - Use the `settings` property for configuration or setup screens to enable close/back/forward navigation and breadcrumbs.
55
57
  * - Use the `inactive` property to visually disable the bar and its actions when the app is not interactive.
56
58
  * - Insert custom icons or buttons using the `app-icon` and `command-button` slots.
59
+ * - 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`.
57
60
  * - Use the `alerts` slot to display alert indicators, notification badges, or custom alert components.
61
+ * - 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.
58
62
  *
59
63
  * **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).
60
64
  *
@@ -63,8 +67,10 @@ export declare enum ObcTopBarMenuButtonIcon {
63
67
  * | Slot Name | Renders When... | Purpose |
64
68
  * |------------------|---------------------------------|----------------------------------------------------------------|
65
69
  * | `app-icon` | `showAppIcon` is true | Custom icon representing the application or brand. |
66
- * | `command-button` | Always (if provided) | Primary command or action button for the current context. |
70
+ * | `command-button` | `settings` is false (if provided) | Primary command or action button for the current context. |
71
+ * | `asset-picker` | `settings` is false (if provided) | Control that switches the asset the page shows; its label is the current asset. |
67
72
  * | `alerts` | Always (if provided) | Area for alert indicators, notification badges, or alert items.|
73
+ * | `diagnostics` | Always (if provided) | The diagnostic button (`obc-diagnostic-button`), after the alert area and before the dimming button. |
68
74
  * | `clock` | Always (if provided) | Clock component for displaying the current time. |
69
75
  *
70
76
  * ## Events
@@ -149,7 +155,9 @@ export declare enum ObcTopBarMenuButtonIcon {
149
155
  * @availableWhen breadcrumbItems settings==true
150
156
  * @slot app-icon - Custom icon representing the application or brand (shown when `showAppIcon` is true)
151
157
  * @slot command-button - Primary command/action button for the current context
158
+ * @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)
152
159
  * @slot alerts - Area for alert indicators, notification badges, or alert items
160
+ * @slot diagnostics - The diagnostic button, after the alert area and before the dimming button
153
161
  * @slot clock - Clock component for displaying the current time (shown when `showClock` is true)
154
162
  * @fires menu-button-clicked - Fired when the menu button is clicked
155
163
  * @fires dimming-button-clicked - Fired when the dimming (day/night) button is clicked
@@ -1 +1 @@
1
- {"version":3,"file":"top-bar.d.ts","sourceRoot":"","sources":["../../../src/components/top-bar/top-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,U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,OAAO,CAAC,YAAY;IAYpB;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,eAAe;IAad,MAAM;IA6Mf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,SAAS,CAAC;KAC1B;CACF"}
@@ -200,6 +200,7 @@ var ObcTopBar = class ObcTopBar extends LitElement {
200
200
  if (this.showAppIcon) leftGroup.push(html`<div class="app-icon"><slot name="app-icon"></slot></div>`);
201
201
  leftGroup.push(html`<div class="title">${this.appTitle}</div>`);
202
202
  leftGroup.push(html`<div class="page-name">${this.pageName}</div>`);
203
+ leftGroup.push(html`<slot name="asset-picker"></slot>`);
203
204
  leftGroup.push(html`<slot name="command-button"></slot>`);
204
205
  }
205
206
  const breakpointMoreButton = Math.max(this.appButtonBreakpointPx, this.dimmingButtonBreakpointPx, this.userButtonBreakpointPx, this.appIconBreakpointPx);
@@ -259,6 +260,7 @@ var ObcTopBar = class ObcTopBar extends LitElement {
259
260
  <div class="alert-container">
260
261
  <slot name="alerts"></slot>
261
262
  </div>
263
+ <slot name="diagnostics"></slot>
262
264
  ${this.showDimmingButton && !this.inactive ? html`<obc-icon-button
263
265
  class="dimming-button"
264
266
  part="dimming-button"
@@ -1 +1 @@
1
- {"version":3,"file":"top-bar.js","names":[],"sources":["../../../src/components/top-bar/top-bar.ts"],"sourcesContent":["import {LitElement, PropertyValues, html, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {msg} from '@lit/localize';\nimport compentStyle from './top-bar.css?inline';\nimport '../icon-button/icon-button.js';\nimport '../clock/clock.js';\nimport '../divider/divider.js';\nimport '../breadcrumb/breadcrumb.js';\nimport '../../icons/icon-menu-iec.js';\nimport '../../icons/icon-home.js';\nimport '../../icons/icon-close-google.js';\nimport '../../icons/icon-arrow-left-google.js';\nimport '../../icons/icon-arrow-right-google.js';\nimport '../../icons/icon-palette-day-night-iec.js';\nimport '../../icons/icon-applications.js';\nimport '../../icons/icon-more-vertical-google.js';\nimport '../../icons/icon-user.js';\nimport {\n BreadcrumbClickEvent,\n BreadcrumbItem,\n} from '../breadcrumb/breadcrumb.js';\nimport {customElement} from '../../decorator.js';\n\nexport enum ObcTopBarMenuButtonIcon {\n Menu = 'menu',\n Home = 'home',\n}\n\n/**\n * `<obc-top-bar>` – A responsive top navigation bar component for application layouts.\n *\n * Provides a flexible, highly configurable top bar for application interfaces, supporting navigation, context display, quick actions, and status indicators. The top bar adapts to screen size and can show or hide elements such as menu, app icon, breadcrumbs, user/profile, clock, and alert notifications.\n *\n * Appears at the top of the UI, organizing primary navigation and contextual actions in a single, persistent region. Designed for use as the main app bar or header in multi-pane or dashboard-style layouts.\n *\n * ## Features\n * - **Configurable Sections:** Supports left and right-aligned groups for navigation, context, and actions.\n * - **Menu Button:** Optional menu button for opening navigation drawers or sidebars; can be styled as wide or regular.\n * - **App Icon Slot:** Customizable slot for displaying an application or brand icon.\n * - **App Title & Page Name:** Displays the current application and page context.\n * - **Breadcrumbs:** Optional breadcrumb navigation for hierarchical context (in settings mode).\n * - **Command Button Slot:** Slot for inserting a primary command/action button.\n * - **Alert/Notification Area:** Slot for alert indicators, notification badges, or custom alert components.\n * - **Dimming Button:** Optional button for toggling display modes (e.g., day/night).\n * - **User/Profile Button:** Optional user icon for profile/account actions.\n * - **Apps Button:** Optional button for accessing additional applications or modules.\n * - **Clock & Date:** Optional digital clock and date display, responsive to screen size.\n * - **Responsive Layout:** Multiple breakpoint properties to control visibility and layout of elements based on viewport width.\n * - **Settings Mode:** Special mode with close, back, and forward navigation, breadcrumbs, and app title.\n * - **Tall Variant:** Optional increased height for touch or accessibility needs.\n * - **Inactive State:** Disables interactive elements and visually de-emphasizes the bar.\n *\n * ## Variants\n * - **Regular:** Standard top bar with menu, app icon, title, page name, and action slots.\n * - **Settings:** Shows close, back, forward buttons, breadcrumbs, and app title for configuration or settings screens.\n * - **Inactive:** Visually muted and disables interaction (e.g., when the app is locked or in a modal state).\n * - **Tall:** Increases the height of the bar for improved touch targets.\n *\n * ## Usage Guidelines\n * Use `<obc-top-bar>` as the persistent header for your application, providing navigation, context, and quick access to key actions or status. Configure which elements appear via boolean properties and slots. Adjust breakpoint properties to control responsive behavior for each section.\n *\n * - Place navigation, branding, and context (title, breadcrumbs) on the left; actions, alerts, and status (clock, user, apps) on the right.\n * - Use the `settings` property for configuration or setup screens to enable close/back/forward navigation and breadcrumbs.\n * - Use the `inactive` property to visually disable the bar and its actions when the app is not interactive.\n * - Insert custom icons or buttons using the `app-icon` and `command-button` slots.\n * - Use the `alerts` slot to display alert indicators, notification badges, or custom alert components.\n *\n * **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).\n *\n * ## Slots\n *\n * | Slot Name | Renders When... | Purpose |\n * |------------------|---------------------------------|----------------------------------------------------------------|\n * | `app-icon` | `showAppIcon` is true | Custom icon representing the application or brand. |\n * | `command-button` | Always (if provided) | Primary command or action button for the current context. |\n * | `alerts` | Always (if provided) | Area for alert indicators, notification badges, or alert items.|\n * | `clock` | Always (if provided) | Clock component for displaying the current time. |\n *\n * ## Events\n * - `menu-button-clicked` – Fired when the menu button is clicked.\n * - `dimming-button-clicked` – Fired when the dimming (day/night) button is clicked.\n * - `apps-button-clicked` – Fired when the apps button is clicked.\n * - `more-button-clicked` – Fired when the more button is clicked.\n * - `left-more-button-clicked` – Deprecated alias of `more-button-clicked`, fired with it; removed in 4.0.0.\n * - `user-button-clicked` – Fired when the user/profile button is clicked.\n * - `close` – Fired in settings mode when the close button is clicked.\n * - `back` – Fired in settings mode when the back button is clicked.\n * - `forward` – Fired in settings mode when the forward button is clicked.\n * - `emergency-brightness-start` – Fired when the menu button is held for 500ms. This should increase the brightness of the screen slowly. Used when the screen is too dark.\n * - `emergency-brightness-stop` – Fired when the menu button is released.\n *\n * ## Keyboard\n * Every control in the bar is its own tab stop and activates on `Enter` and\n * `Space`. The bar is a navigation landmark, not an APG toolbar: its controls\n * are separate components and slotted consumer content, so a roving tabindex\n * across them is deliberately not implemented. The emergency-brightness hold\n * is a pointer gesture only; from the keyboard the menu button opens the menu.\n *\n * ## Best Practices and Constraints\n * - Only show interactive elements relevant to the current context to avoid clutter.\n * - Use the `alerts` slot for transient or critical notifications; persistent alerts may require a different component.\n * - For accessibility, give all interactive elements labels and focus handling.\n * - Adjust breakpoint properties to optimize the layout for different device sizes.\n * - In settings mode, use breadcrumbs to provide clear navigation context.\n *\n * ## Example\n *\n * ```html\n * <obc-top-bar\n * appTitle=\"My App\"\n * pageName=\"Dashboard\"\n * showAppsButton\n * showDimmingButton\n * showClock\n * showUserButton\n * showAppIcon\n * >\n * <obi-placeholder slot=\"app-icon\"></obi-placeholder>\n * <obc-command-button slot=\"command-button\"></obc-command-button>\n * <obc-topbar-message-item slot=\"alerts\"></obc-topbar-message-item>\n * <obc-clock slot=\"clock\"></obc-clock>\n * </obc-top-bar>\n * ```\n *\n * @availableWhen menuButtonIcon settings==false && inactive==false\n * @property appTitle - Sets the main application title displayed in the top bar.\n * @property pageName - Sets the current page or section name displayed in the top bar.\n * @availableWhen pageName settings==false\n * @property menuButtonActivated - Highlights the menu button as active.\n * @availableWhen menuButtonActivated settings==false && inactive==false\n * @property dimmingButtonActivated - Highlights the dimming (day/night) button as active.\n * @availableWhen dimmingButtonActivated showDimmingButton==true && inactive==false\n * @property appsButtonActivated - Highlights the apps button as active.\n * @availableWhen appsButtonActivated showAppsButton==true && inactive==false\n * @property moreButtonActivated - Highlights the more button as active.\n * @availableWhen moreButtonActivated inactive==false\n * @property userButtonActivated - Highlights the user/profile button as active.\n * @availableWhen userButtonActivated showUserButton==true && inactive==false\n * @property userButtonDisabled - Disables the user/profile button.\n * @availableWhen userButtonDisabled showUserButton==true && inactive==false\n * @property tall - Increases the height of the top bar for larger touch targets.\n * @property wideMenuButton - Expands the menu button for wide-rail layouts.\n * @availableWhen wideMenuButton settings==false && inactive==false\n * @property showAppsButton - Shows or hides the apps button.\n * @property showDimmingButton - Shows or hides the dimming (day/night) button.\n * @property showUserButton - Shows or hides the user/profile button.\n * @property showClock - Shows or hides the clock.\n * @property showDate - Shows or hides the date in the clock display.\n * @property showAppIcon - Shows or hides the app icon slot.\n * @property inactive - Disables interaction and visually de-emphasizes the bar.\n * @property appButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the apps button.\n * @property dimmingButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the dimming button.\n * @property appTitleBreakpointPx - Controls the breakpoint (in px) for showing/hiding the app title.\n * @property userButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the user button.\n * @property appIconBreakpointPx - Controls the breakpoint (in px) for showing/hiding the app icon.\n * @property settings - Enables settings mode, displaying close, back buttons, breadcrumbs, and app title.\n * @property breadcrumbItems - Array of breadcrumb items for navigation (used in settings mode).\n * @availableWhen breadcrumbItems settings==true\n * @slot app-icon - Custom icon representing the application or brand (shown when `showAppIcon` is true)\n * @slot command-button - Primary command/action button for the current context\n * @slot alerts - Area for alert indicators, notification badges, or alert items\n * @slot clock - Clock component for displaying the current time (shown when `showClock` is true)\n * @fires menu-button-clicked - Fired when the menu button is clicked\n * @fires dimming-button-clicked - Fired when the dimming (day/night) button is clicked\n * @fires apps-button-clicked - Fired when the apps button is clicked\n * @fires more-button-clicked - Fired when the more button is clicked\n * @fires left-more-button-clicked - Deprecated: listen to `more-button-clicked` instead. Fired together with it; removed in 4.0.0.\n * @fires user-button-clicked - Fired when the user/profile button is clicked\n * @fires close - Fired in settings mode when the close button is clicked\n * @fires back - Fired in settings mode when the back button is clicked\n * @fires emergency-brightness-start - Fired when the menu button is held for 500ms. This should increase the brightness of the screen slowly. Used when the screen is too dark.\n * @fires emergency-brightness-stop - Fired when the menu button is released.\n * @fires {BreadcrumbClickEvent} breadcrumb-click - Fired when a breadcrumb item is clicked.\n * @csspart more-button - The more button shown below the breakpoints.\n * @csspart left-more-button - Deprecated alias of the `more-button` part; removed in 4.0.0.\n * @stable\n */\n@customElement('obc-top-bar')\nexport class ObcTopBar extends LitElement {\n @property({type: String}) appTitle = 'App';\n\n @property({type: String}) pageName = 'Page';\n\n @property({type: String}) menuButtonIcon = ObcTopBarMenuButtonIcon.Menu;\n\n @property({type: Boolean})\n menuButtonActivated = false;\n\n @property({type: Boolean})\n dimmingButtonActivated = false;\n\n @property({type: Boolean})\n appsButtonActivated = false;\n\n @property({type: Boolean})\n moreButtonActivated = false;\n\n /**\n * @deprecated Use `moreButtonActivated`. Removed in 4.0.0.\n */\n @property({type: Boolean})\n leftMoreButtonActivated?: boolean;\n\n @property({type: Boolean})\n userButtonActivated = false;\n\n @property({type: Boolean})\n userButtonDisabled = false;\n\n @property({type: Boolean}) tall = false;\n\n @property({type: Boolean}) wideMenuButton = false;\n\n @property({type: Boolean}) showAppsButton = false;\n\n @property({type: Boolean})\n showDimmingButton = false;\n\n @property({type: Boolean}) showUserButton = false;\n\n @property({type: Boolean}) showClock = false;\n\n @property({type: Boolean}) showDate = false;\n\n @property({type: Boolean}) showAppIcon = false;\n\n @property({type: Boolean}) inactive = false;\n\n @property({type: Number})\n appButtonBreakpointPx = 500;\n\n @property({type: Number})\n dimmingButtonBreakpointPx = 500;\n\n @property({type: Number})\n appTitleBreakpointPx = 500;\n\n @property({type: Number})\n userButtonBreakpointPx = 500;\n\n @property({type: Number})\n appIconBreakpointPx = 500;\n\n @property({type: Boolean}) settings = false;\n\n @property({type: Array})\n breadcrumbItems: BreadcrumbItem[] = [];\n\n private dimmingButtonClicked() {\n /**\n * Fired when the dimming (day/night) button is clicked.\n * @event dimming-button-clicked\n */\n this.dispatchEvent(new CustomEvent('dimming-button-clicked'));\n }\n\n private appsButtonClicked() {\n /**\n * Fired when the apps button is clicked.\n * @event apps-button-clicked\n */\n this.dispatchEvent(new CustomEvent('apps-button-clicked'));\n }\n\n /**\n * Copies the deprecated `leftMoreButtonActivated` into\n * `moreButtonActivated`. A plain field rather than a getter/setter alias:\n * the Vue wrapper writes every prop back on its second render, and a getter\n * would then write `false` over the new property.\n */\n override willUpdate(changed: PropertyValues<this>): void {\n super.willUpdate(changed);\n if (\n changed.has('leftMoreButtonActivated') &&\n this.leftMoreButtonActivated !== undefined\n ) {\n this.moreButtonActivated = this.leftMoreButtonActivated;\n }\n }\n\n private moreButtonClicked() {\n /**\n * Fired when the more button is clicked.\n * @event more-button-clicked\n */\n this.dispatchEvent(new CustomEvent('more-button-clicked'));\n /**\n * Deprecated alias of `more-button-clicked`; removed in 4.0.0.\n * @event left-more-button-clicked\n */\n this.dispatchEvent(new CustomEvent('left-more-button-clicked'));\n }\n\n private userButtonClicked() {\n /**\n * Fired when the user/profile button is clicked.\n * @event user-button-clicked\n */\n this.dispatchEvent(new CustomEvent('user-button-clicked'));\n }\n\n private leftButtonEvent: null | CustomEvent = null;\n private leftButtonTimeout: null | NodeJS.Timeout = null;\n private isLeftButtonDown = false;\n private isEmergencyBrightness = false;\n\n private leftButtonDown(event: CustomEvent) {\n this.leftButtonEvent = event;\n this.isLeftButtonDown = true;\n this.leftButtonTimeout = setTimeout(() => {\n this.leftButtonEvent = null;\n this.dispatchEvent(new CustomEvent('emergency-brightness-start'));\n this.isEmergencyBrightness = true;\n }, 500);\n }\n\n /**\n * Ends a hold. The event a short press stands for is dispatched from the\n * `click` that follows, not here: a menu opened while the pointer is still\n * going up gets closed again by that same click in current browsers, which\n * see it as a click outside a popover that has just opened.\n */\n private leftButtonUp() {\n if (this.leftButtonTimeout) {\n clearTimeout(this.leftButtonTimeout);\n this.leftButtonTimeout = null;\n }\n if (this.isEmergencyBrightness) {\n this.dispatchEvent(new CustomEvent('emergency-brightness-stop'));\n this.isEmergencyBrightness = false;\n }\n this.isLeftButtonDown = false;\n }\n\n /**\n * Sends the event a press of the hold button stands for.\n *\n * Enter, Space and a screen reader's activate command arrive as a `click`\n * with `detail` 0 and no pointer press before it, so they get the event\n * directly. A pointer click arrives with `detail` 1 after the press: the\n * event stored on the way down is sent now, unless the press ran long\n * enough to start emergency brightness, which used it up.\n */\n private leftButtonActivate(event: MouseEvent, type: string) {\n if (event.detail === 0) {\n this.dispatchEvent(new CustomEvent(type));\n return;\n }\n if (!this.leftButtonEvent) return;\n this.dispatchEvent(this.leftButtonEvent);\n this.leftButtonEvent = null;\n }\n\n private leftButtonLeave() {\n if (!this.isLeftButtonDown) return;\n if (this.leftButtonTimeout) {\n clearInterval(this.leftButtonTimeout);\n this.leftButtonTimeout = null;\n }\n if (this.isEmergencyBrightness) {\n this.dispatchEvent(new CustomEvent('emergency-brightness-stop'));\n this.isEmergencyBrightness = false;\n }\n this.isLeftButtonDown = false;\n }\n\n override render() {\n const leftGroup = [];\n if (this.settings) {\n leftGroup.push(\n html`<div class=\"menu-button\">\n <obc-icon-button\n variant=\"flat\"\n aria-label=${msg('Close')}\n @pointerdown=${() => this.leftButtonDown(new CustomEvent('close'))}\n @pointerup=${() => this.leftButtonUp()}\n @pointerleave=${() => this.leftButtonLeave()}\n @click=${(event: MouseEvent) =>\n this.leftButtonActivate(event, 'close')}\n >\n <obi-close-google></obi-close-google>\n </obc-icon-button>\n </div>`\n );\n leftGroup.push(\n html`<obc-icon-button\n variant=\"flat\"\n aria-label=${msg('Back')}\n @click=${() => this.dispatchEvent(new CustomEvent('back'))}\n >\n <obi-arrow-left-google></obi-arrow-left-google>\n </obc-icon-button>`\n );\n leftGroup.push(html`<div class=\"title\">${this.appTitle}</div>`);\n leftGroup.push(\n html`<obc-breadcrumb\n .items=${this.breadcrumbItems}\n @breadcrumb-click=${(e: BreadcrumbClickEvent) =>\n this.dispatchEvent(\n new CustomEvent('breadcrumb-click', {\n detail: e.detail,\n }) as BreadcrumbClickEvent\n )}\n ></obc-breadcrumb>`\n );\n } else {\n if (!this.inactive) {\n leftGroup.push(\n html`<div class=\"menu-button ${this.wideMenuButton ? 'wide' : null}\">\n <obc-icon-button\n variant=\"flat\"\n aria-label=${\n this.menuButtonIcon === ObcTopBarMenuButtonIcon.Menu\n ? msg('Menu')\n : msg('Home')\n }\n @pointerdown=${() =>\n this.leftButtonDown(new CustomEvent('menu-button-clicked'))}\n @pointerup=${() => this.leftButtonUp()}\n @pointerleave=${() => this.leftButtonLeave()}\n @click=${(event: MouseEvent) =>\n this.leftButtonActivate(event, 'menu-button-clicked')}\n ?activated=${this.menuButtonActivated}\n >\n ${\n this.menuButtonIcon === ObcTopBarMenuButtonIcon.Menu\n ? html`<obi-menu-iec></obi-menu-iec>`\n : html`<obi-home></obi-home>`\n }\n </obc-icon-button>\n </div>`\n );\n }\n if (this.showAppIcon) {\n leftGroup.push(\n html`<div class=\"app-icon\"><slot name=\"app-icon\"></slot></div>`\n );\n }\n leftGroup.push(html`<div class=\"title\">${this.appTitle}</div>`);\n leftGroup.push(html`<div class=\"page-name\">${this.pageName}</div>`);\n leftGroup.push(html`<slot name=\"command-button\"></slot>`);\n }\n\n const breakpointMoreButton = Math.max(\n this.appButtonBreakpointPx,\n this.dimmingButtonBreakpointPx,\n this.userButtonBreakpointPx,\n this.appIconBreakpointPx\n );\n\n return html`\n <style>\n @media (max-width: ${breakpointMoreButton}px) {\n .more-button {\n display: revert !important;\n }\n\n .group.left > * {\n margin-right: 4px;\n margin-left: 4px;\n }\n }\n\n @media (max-width: ${this.appButtonBreakpointPx}px) {\n .apps-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.dimmingButtonBreakpointPx}px) {\n .dimming-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.appTitleBreakpointPx}px) {\n .title {\n display: none !important; /* the stylesheet's display wins over this inline rule otherwise */\n }\n }\n\n @media (max-width: ${this.userButtonBreakpointPx}px) {\n .user-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.appIconBreakpointPx}px) {\n .app-icon {\n display: none;\n }\n }\n </style>\n <nav\n class=${classMap({\n wrapper: true,\n inactive: this.inactive,\n settings: this.settings,\n tall: this.tall,\n })}\n >\n <div class=\"left group\">${leftGroup}</div>\n <div class=\"right group\">\n <div class=\"alert-container\">\n <slot name=\"alerts\"></slot>\n </div>\n ${\n this.showDimmingButton && !this.inactive\n ? html`<obc-icon-button\n class=\"dimming-button\"\n part=\"dimming-button\"\n variant=\"flat\"\n aria-label=${msg('Dimming')}\n @click=${this.dimmingButtonClicked}\n ?activated=${this.dimmingButtonActivated}\n >\n <obi-palette-day-night-iec></obi-palette-day-night-iec>\n </obc-icon-button>`\n : null\n }\n ${\n this.showUserButton && !this.inactive\n ? html`<obc-icon-button\n class=\"user-button\"\n variant=\"flat\"\n part=\"user-button\"\n aria-label=${msg('User')}\n @click=${this.userButtonClicked}\n ?activated=${this.userButtonActivated}\n ?disabled=${this.userButtonDisabled}\n >\n <obi-user></obi-user>\n </obc-icon-button>`\n : null\n }\n ${\n this.showAppsButton && !this.inactive\n ? html`<obc-icon-button\n class=\"apps-button\"\n variant=\"flat\"\n part=\"apps-button\"\n aria-label=${msg('Apps')}\n @click=${this.appsButtonClicked}\n ?activated=${this.appsButtonActivated}\n >\n <obi-applications></obi-applications>\n </obc-icon-button>`\n : null\n }\n ${this.showClock ? html`<slot name=\"clock\"></slot>` : null}\n ${\n !this.inactive\n ? html`<obc-icon-button\n class=\"more-button\"\n part=\"more-button left-more-button\"\n variant=\"flat\"\n aria-label=${msg('More')}\n @click=${this.moreButtonClicked}\n ?activated=${this.moreButtonActivated}\n >\n <obi-more-vertical-google></obi-more-vertical-google>\n </obc-icon-button>`\n : null\n }\n </div>\n </nav>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-top-bar': ObcTopBar;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,IAAY,0BAAL,yBAAA,yBAAA;CACL,wBAAA,UAAA;CACA,wBAAA,UAAA;;AACF,EAAA,CAAA,CAAA;AAwJO,IAAM,YAAN,MAAM,kBAAkB,WAAW;;;EACH,KAAA,WAAA;EAEA,KAAA,WAAA;;EAKf,KAAA,sBA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,MAAM,OAAM,CAAC,CAAA,GAAA,UAAA,WAAA,uBAAA,KAAA,CAAA;AAGvB,WAAA,CAAA,SAAS,EAAC,MAAM,QAAO,CAAC,CAAA,GAAA,UAAA,WAAA,YAAA,KAAA,CAAA;AAExB,WAAA,CAAA,SAAS,EAAC,MAAM,MAAK,CAAC,CAAA,GAAA,UAAA,WAAA,mBAAA,KAAA,CAAA;AApExB,YAAA,WAAA,CAAA,cAAc,aAAa,CAAA,GAAA,SAAA"}
1
+ {"version":3,"file":"top-bar.js","names":[],"sources":["../../../src/components/top-bar/top-bar.ts"],"sourcesContent":["import {LitElement, PropertyValues, html, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {msg} from '@lit/localize';\nimport compentStyle from './top-bar.css?inline';\nimport '../icon-button/icon-button.js';\nimport '../clock/clock.js';\nimport '../divider/divider.js';\nimport '../breadcrumb/breadcrumb.js';\nimport '../../icons/icon-menu-iec.js';\nimport '../../icons/icon-home.js';\nimport '../../icons/icon-close-google.js';\nimport '../../icons/icon-arrow-left-google.js';\nimport '../../icons/icon-arrow-right-google.js';\nimport '../../icons/icon-palette-day-night-iec.js';\nimport '../../icons/icon-applications.js';\nimport '../../icons/icon-more-vertical-google.js';\nimport '../../icons/icon-user.js';\nimport {\n BreadcrumbClickEvent,\n BreadcrumbItem,\n} from '../breadcrumb/breadcrumb.js';\nimport {customElement} from '../../decorator.js';\n\nexport enum ObcTopBarMenuButtonIcon {\n Menu = 'menu',\n Home = 'home',\n}\n\n/**\n * `<obc-top-bar>` – A responsive top navigation bar component for application layouts.\n *\n * Provides a flexible, highly configurable top bar for application interfaces, supporting navigation, context display, quick actions, and status indicators. The top bar adapts to screen size and can show or hide elements such as menu, app icon, breadcrumbs, user/profile, clock, and alert notifications.\n *\n * Appears at the top of the UI, organizing primary navigation and contextual actions in a single, persistent region. Designed for use as the main app bar or header in multi-pane or dashboard-style layouts.\n *\n * ## Features\n * - **Configurable Sections:** Supports left and right-aligned groups for navigation, context, and actions.\n * - **Menu Button:** Optional menu button for opening navigation drawers or sidebars; can be styled as wide or regular.\n * - **App Icon Slot:** Customizable slot for displaying an application or brand icon.\n * - **App Title & Page Name:** Displays the current application and page context.\n * - **Breadcrumbs:** Optional breadcrumb navigation for hierarchical context (in settings mode).\n * - **Command Button Slot:** Slot for inserting a primary command/action button.\n * - **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.\n * - **Alert/Notification Area:** Slot for alert indicators, notification badges, or custom alert components.\n * - **Diagnostics Slot:** Slot for the diagnostic button, after the alert area.\n * - **Dimming Button:** Optional button for toggling display modes (e.g., day/night).\n * - **User/Profile Button:** Optional user icon for profile/account actions.\n * - **Apps Button:** Optional button for accessing additional applications or modules.\n * - **Clock & Date:** Optional digital clock and date display, responsive to screen size.\n * - **Responsive Layout:** Multiple breakpoint properties to control visibility and layout of elements based on viewport width.\n * - **Settings Mode:** Special mode with close, back, and forward navigation, breadcrumbs, and app title.\n * - **Tall Variant:** Optional increased height for touch or accessibility needs.\n * - **Inactive State:** Disables interactive elements and visually de-emphasizes the bar.\n *\n * ## Variants\n * - **Regular:** Standard top bar with menu, app icon, title, page name, and action slots.\n * - **Settings:** Shows close, back, forward buttons, breadcrumbs, and app title for configuration or settings screens.\n * - **Inactive:** Visually muted and disables interaction (e.g., when the app is locked or in a modal state).\n * - **Tall:** Increases the height of the bar for improved touch targets.\n *\n * ## Usage Guidelines\n * Use `<obc-top-bar>` as the persistent header for your application, providing navigation, context, and quick access to key actions or status. Configure which elements appear via boolean properties and slots. Adjust breakpoint properties to control responsive behavior for each section.\n *\n * - Place navigation, branding, and context (title, breadcrumbs) on the left; actions, alerts, and status (clock, user, apps) on the right.\n * - Use the `settings` property for configuration or setup screens to enable close/back/forward navigation and breadcrumbs.\n * - Use the `inactive` property to visually disable the bar and its actions when the app is not interactive.\n * - Insert custom icons or buttons using the `app-icon` and `command-button` slots.\n * - 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`.\n * - Use the `alerts` slot to display alert indicators, notification badges, or custom alert components.\n * - 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.\n *\n * **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).\n *\n * ## Slots\n *\n * | Slot Name | Renders When... | Purpose |\n * |------------------|---------------------------------|----------------------------------------------------------------|\n * | `app-icon` | `showAppIcon` is true | Custom icon representing the application or brand. |\n * | `command-button` | `settings` is false (if provided) | Primary command or action button for the current context. |\n * | `asset-picker` | `settings` is false (if provided) | Control that switches the asset the page shows; its label is the current asset. |\n * | `alerts` | Always (if provided) | Area for alert indicators, notification badges, or alert items.|\n * | `diagnostics` | Always (if provided) | The diagnostic button (`obc-diagnostic-button`), after the alert area and before the dimming button. |\n * | `clock` | Always (if provided) | Clock component for displaying the current time. |\n *\n * ## Events\n * - `menu-button-clicked` – Fired when the menu button is clicked.\n * - `dimming-button-clicked` – Fired when the dimming (day/night) button is clicked.\n * - `apps-button-clicked` – Fired when the apps button is clicked.\n * - `more-button-clicked` – Fired when the more button is clicked.\n * - `left-more-button-clicked` – Deprecated alias of `more-button-clicked`, fired with it; removed in 4.0.0.\n * - `user-button-clicked` – Fired when the user/profile button is clicked.\n * - `close` – Fired in settings mode when the close button is clicked.\n * - `back` – Fired in settings mode when the back button is clicked.\n * - `forward` – Fired in settings mode when the forward button is clicked.\n * - `emergency-brightness-start` – Fired when the menu button is held for 500ms. This should increase the brightness of the screen slowly. Used when the screen is too dark.\n * - `emergency-brightness-stop` – Fired when the menu button is released.\n *\n * ## Keyboard\n * Every control in the bar is its own tab stop and activates on `Enter` and\n * `Space`. The bar is a navigation landmark, not an APG toolbar: its controls\n * are separate components and slotted consumer content, so a roving tabindex\n * across them is deliberately not implemented. The emergency-brightness hold\n * is a pointer gesture only; from the keyboard the menu button opens the menu.\n *\n * ## Best Practices and Constraints\n * - Only show interactive elements relevant to the current context to avoid clutter.\n * - Use the `alerts` slot for transient or critical notifications; persistent alerts may require a different component.\n * - For accessibility, give all interactive elements labels and focus handling.\n * - Adjust breakpoint properties to optimize the layout for different device sizes.\n * - In settings mode, use breadcrumbs to provide clear navigation context.\n *\n * ## Example\n *\n * ```html\n * <obc-top-bar\n * appTitle=\"My App\"\n * pageName=\"Dashboard\"\n * showAppsButton\n * showDimmingButton\n * showClock\n * showUserButton\n * showAppIcon\n * >\n * <obi-placeholder slot=\"app-icon\"></obi-placeholder>\n * <obc-command-button slot=\"command-button\"></obc-command-button>\n * <obc-topbar-message-item slot=\"alerts\"></obc-topbar-message-item>\n * <obc-clock slot=\"clock\"></obc-clock>\n * </obc-top-bar>\n * ```\n *\n * @availableWhen menuButtonIcon settings==false && inactive==false\n * @property appTitle - Sets the main application title displayed in the top bar.\n * @property pageName - Sets the current page or section name displayed in the top bar.\n * @availableWhen pageName settings==false\n * @property menuButtonActivated - Highlights the menu button as active.\n * @availableWhen menuButtonActivated settings==false && inactive==false\n * @property dimmingButtonActivated - Highlights the dimming (day/night) button as active.\n * @availableWhen dimmingButtonActivated showDimmingButton==true && inactive==false\n * @property appsButtonActivated - Highlights the apps button as active.\n * @availableWhen appsButtonActivated showAppsButton==true && inactive==false\n * @property moreButtonActivated - Highlights the more button as active.\n * @availableWhen moreButtonActivated inactive==false\n * @property userButtonActivated - Highlights the user/profile button as active.\n * @availableWhen userButtonActivated showUserButton==true && inactive==false\n * @property userButtonDisabled - Disables the user/profile button.\n * @availableWhen userButtonDisabled showUserButton==true && inactive==false\n * @property tall - Increases the height of the top bar for larger touch targets.\n * @property wideMenuButton - Expands the menu button for wide-rail layouts.\n * @availableWhen wideMenuButton settings==false && inactive==false\n * @property showAppsButton - Shows or hides the apps button.\n * @property showDimmingButton - Shows or hides the dimming (day/night) button.\n * @property showUserButton - Shows or hides the user/profile button.\n * @property showClock - Shows or hides the clock.\n * @property showDate - Shows or hides the date in the clock display.\n * @property showAppIcon - Shows or hides the app icon slot.\n * @property inactive - Disables interaction and visually de-emphasizes the bar.\n * @property appButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the apps button.\n * @property dimmingButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the dimming button.\n * @property appTitleBreakpointPx - Controls the breakpoint (in px) for showing/hiding the app title.\n * @property userButtonBreakpointPx - Controls the breakpoint (in px) for showing/hiding the user button.\n * @property appIconBreakpointPx - Controls the breakpoint (in px) for showing/hiding the app icon.\n * @property settings - Enables settings mode, displaying close, back buttons, breadcrumbs, and app title.\n * @property breadcrumbItems - Array of breadcrumb items for navigation (used in settings mode).\n * @availableWhen breadcrumbItems settings==true\n * @slot app-icon - Custom icon representing the application or brand (shown when `showAppIcon` is true)\n * @slot command-button - Primary command/action button for the current context\n * @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)\n * @slot alerts - Area for alert indicators, notification badges, or alert items\n * @slot diagnostics - The diagnostic button, after the alert area and before the dimming button\n * @slot clock - Clock component for displaying the current time (shown when `showClock` is true)\n * @fires menu-button-clicked - Fired when the menu button is clicked\n * @fires dimming-button-clicked - Fired when the dimming (day/night) button is clicked\n * @fires apps-button-clicked - Fired when the apps button is clicked\n * @fires more-button-clicked - Fired when the more button is clicked\n * @fires left-more-button-clicked - Deprecated: listen to `more-button-clicked` instead. Fired together with it; removed in 4.0.0.\n * @fires user-button-clicked - Fired when the user/profile button is clicked\n * @fires close - Fired in settings mode when the close button is clicked\n * @fires back - Fired in settings mode when the back button is clicked\n * @fires emergency-brightness-start - Fired when the menu button is held for 500ms. This should increase the brightness of the screen slowly. Used when the screen is too dark.\n * @fires emergency-brightness-stop - Fired when the menu button is released.\n * @fires {BreadcrumbClickEvent} breadcrumb-click - Fired when a breadcrumb item is clicked.\n * @csspart more-button - The more button shown below the breakpoints.\n * @csspart left-more-button - Deprecated alias of the `more-button` part; removed in 4.0.0.\n * @stable\n */\n@customElement('obc-top-bar')\nexport class ObcTopBar extends LitElement {\n @property({type: String}) appTitle = 'App';\n\n @property({type: String}) pageName = 'Page';\n\n @property({type: String}) menuButtonIcon = ObcTopBarMenuButtonIcon.Menu;\n\n @property({type: Boolean})\n menuButtonActivated = false;\n\n @property({type: Boolean})\n dimmingButtonActivated = false;\n\n @property({type: Boolean})\n appsButtonActivated = false;\n\n @property({type: Boolean})\n moreButtonActivated = false;\n\n /**\n * @deprecated Use `moreButtonActivated`. Removed in 4.0.0.\n */\n @property({type: Boolean})\n leftMoreButtonActivated?: boolean;\n\n @property({type: Boolean})\n userButtonActivated = false;\n\n @property({type: Boolean})\n userButtonDisabled = false;\n\n @property({type: Boolean}) tall = false;\n\n @property({type: Boolean}) wideMenuButton = false;\n\n @property({type: Boolean}) showAppsButton = false;\n\n @property({type: Boolean})\n showDimmingButton = false;\n\n @property({type: Boolean}) showUserButton = false;\n\n @property({type: Boolean}) showClock = false;\n\n @property({type: Boolean}) showDate = false;\n\n @property({type: Boolean}) showAppIcon = false;\n\n @property({type: Boolean}) inactive = false;\n\n @property({type: Number})\n appButtonBreakpointPx = 500;\n\n @property({type: Number})\n dimmingButtonBreakpointPx = 500;\n\n @property({type: Number})\n appTitleBreakpointPx = 500;\n\n @property({type: Number})\n userButtonBreakpointPx = 500;\n\n @property({type: Number})\n appIconBreakpointPx = 500;\n\n @property({type: Boolean}) settings = false;\n\n @property({type: Array})\n breadcrumbItems: BreadcrumbItem[] = [];\n\n private dimmingButtonClicked() {\n /**\n * Fired when the dimming (day/night) button is clicked.\n * @event dimming-button-clicked\n */\n this.dispatchEvent(new CustomEvent('dimming-button-clicked'));\n }\n\n private appsButtonClicked() {\n /**\n * Fired when the apps button is clicked.\n * @event apps-button-clicked\n */\n this.dispatchEvent(new CustomEvent('apps-button-clicked'));\n }\n\n /**\n * Copies the deprecated `leftMoreButtonActivated` into\n * `moreButtonActivated`. A plain field rather than a getter/setter alias:\n * the Vue wrapper writes every prop back on its second render, and a getter\n * would then write `false` over the new property.\n */\n override willUpdate(changed: PropertyValues<this>): void {\n super.willUpdate(changed);\n if (\n changed.has('leftMoreButtonActivated') &&\n this.leftMoreButtonActivated !== undefined\n ) {\n this.moreButtonActivated = this.leftMoreButtonActivated;\n }\n }\n\n private moreButtonClicked() {\n /**\n * Fired when the more button is clicked.\n * @event more-button-clicked\n */\n this.dispatchEvent(new CustomEvent('more-button-clicked'));\n /**\n * Deprecated alias of `more-button-clicked`; removed in 4.0.0.\n * @event left-more-button-clicked\n */\n this.dispatchEvent(new CustomEvent('left-more-button-clicked'));\n }\n\n private userButtonClicked() {\n /**\n * Fired when the user/profile button is clicked.\n * @event user-button-clicked\n */\n this.dispatchEvent(new CustomEvent('user-button-clicked'));\n }\n\n private leftButtonEvent: null | CustomEvent = null;\n private leftButtonTimeout: null | NodeJS.Timeout = null;\n private isLeftButtonDown = false;\n private isEmergencyBrightness = false;\n\n private leftButtonDown(event: CustomEvent) {\n this.leftButtonEvent = event;\n this.isLeftButtonDown = true;\n this.leftButtonTimeout = setTimeout(() => {\n this.leftButtonEvent = null;\n this.dispatchEvent(new CustomEvent('emergency-brightness-start'));\n this.isEmergencyBrightness = true;\n }, 500);\n }\n\n /**\n * Ends a hold. The event a short press stands for is dispatched from the\n * `click` that follows, not here: a menu opened while the pointer is still\n * going up gets closed again by that same click in current browsers, which\n * see it as a click outside a popover that has just opened.\n */\n private leftButtonUp() {\n if (this.leftButtonTimeout) {\n clearTimeout(this.leftButtonTimeout);\n this.leftButtonTimeout = null;\n }\n if (this.isEmergencyBrightness) {\n this.dispatchEvent(new CustomEvent('emergency-brightness-stop'));\n this.isEmergencyBrightness = false;\n }\n this.isLeftButtonDown = false;\n }\n\n /**\n * Sends the event a press of the hold button stands for.\n *\n * Enter, Space and a screen reader's activate command arrive as a `click`\n * with `detail` 0 and no pointer press before it, so they get the event\n * directly. A pointer click arrives with `detail` 1 after the press: the\n * event stored on the way down is sent now, unless the press ran long\n * enough to start emergency brightness, which used it up.\n */\n private leftButtonActivate(event: MouseEvent, type: string) {\n if (event.detail === 0) {\n this.dispatchEvent(new CustomEvent(type));\n return;\n }\n if (!this.leftButtonEvent) return;\n this.dispatchEvent(this.leftButtonEvent);\n this.leftButtonEvent = null;\n }\n\n private leftButtonLeave() {\n if (!this.isLeftButtonDown) return;\n if (this.leftButtonTimeout) {\n clearInterval(this.leftButtonTimeout);\n this.leftButtonTimeout = null;\n }\n if (this.isEmergencyBrightness) {\n this.dispatchEvent(new CustomEvent('emergency-brightness-stop'));\n this.isEmergencyBrightness = false;\n }\n this.isLeftButtonDown = false;\n }\n\n override render() {\n const leftGroup = [];\n if (this.settings) {\n leftGroup.push(\n html`<div class=\"menu-button\">\n <obc-icon-button\n variant=\"flat\"\n aria-label=${msg('Close')}\n @pointerdown=${() => this.leftButtonDown(new CustomEvent('close'))}\n @pointerup=${() => this.leftButtonUp()}\n @pointerleave=${() => this.leftButtonLeave()}\n @click=${(event: MouseEvent) =>\n this.leftButtonActivate(event, 'close')}\n >\n <obi-close-google></obi-close-google>\n </obc-icon-button>\n </div>`\n );\n leftGroup.push(\n html`<obc-icon-button\n variant=\"flat\"\n aria-label=${msg('Back')}\n @click=${() => this.dispatchEvent(new CustomEvent('back'))}\n >\n <obi-arrow-left-google></obi-arrow-left-google>\n </obc-icon-button>`\n );\n leftGroup.push(html`<div class=\"title\">${this.appTitle}</div>`);\n leftGroup.push(\n html`<obc-breadcrumb\n .items=${this.breadcrumbItems}\n @breadcrumb-click=${(e: BreadcrumbClickEvent) =>\n this.dispatchEvent(\n new CustomEvent('breadcrumb-click', {\n detail: e.detail,\n }) as BreadcrumbClickEvent\n )}\n ></obc-breadcrumb>`\n );\n } else {\n if (!this.inactive) {\n leftGroup.push(\n html`<div class=\"menu-button ${this.wideMenuButton ? 'wide' : null}\">\n <obc-icon-button\n variant=\"flat\"\n aria-label=${\n this.menuButtonIcon === ObcTopBarMenuButtonIcon.Menu\n ? msg('Menu')\n : msg('Home')\n }\n @pointerdown=${() =>\n this.leftButtonDown(new CustomEvent('menu-button-clicked'))}\n @pointerup=${() => this.leftButtonUp()}\n @pointerleave=${() => this.leftButtonLeave()}\n @click=${(event: MouseEvent) =>\n this.leftButtonActivate(event, 'menu-button-clicked')}\n ?activated=${this.menuButtonActivated}\n >\n ${\n this.menuButtonIcon === ObcTopBarMenuButtonIcon.Menu\n ? html`<obi-menu-iec></obi-menu-iec>`\n : html`<obi-home></obi-home>`\n }\n </obc-icon-button>\n </div>`\n );\n }\n if (this.showAppIcon) {\n leftGroup.push(\n html`<div class=\"app-icon\"><slot name=\"app-icon\"></slot></div>`\n );\n }\n leftGroup.push(html`<div class=\"title\">${this.appTitle}</div>`);\n leftGroup.push(html`<div class=\"page-name\">${this.pageName}</div>`);\n leftGroup.push(html`<slot name=\"asset-picker\"></slot>`);\n leftGroup.push(html`<slot name=\"command-button\"></slot>`);\n }\n\n const breakpointMoreButton = Math.max(\n this.appButtonBreakpointPx,\n this.dimmingButtonBreakpointPx,\n this.userButtonBreakpointPx,\n this.appIconBreakpointPx\n );\n\n return html`\n <style>\n @media (max-width: ${breakpointMoreButton}px) {\n .more-button {\n display: revert !important;\n }\n\n .group.left > * {\n margin-right: 4px;\n margin-left: 4px;\n }\n }\n\n @media (max-width: ${this.appButtonBreakpointPx}px) {\n .apps-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.dimmingButtonBreakpointPx}px) {\n .dimming-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.appTitleBreakpointPx}px) {\n .title {\n display: none !important; /* the stylesheet's display wins over this inline rule otherwise */\n }\n }\n\n @media (max-width: ${this.userButtonBreakpointPx}px) {\n .user-button {\n display: none;\n }\n }\n\n @media (max-width: ${this.appIconBreakpointPx}px) {\n .app-icon {\n display: none;\n }\n }\n </style>\n <nav\n class=${classMap({\n wrapper: true,\n inactive: this.inactive,\n settings: this.settings,\n tall: this.tall,\n })}\n >\n <div class=\"left group\">${leftGroup}</div>\n <div class=\"right group\">\n <div class=\"alert-container\">\n <slot name=\"alerts\"></slot>\n </div>\n <slot name=\"diagnostics\"></slot>\n ${\n this.showDimmingButton && !this.inactive\n ? html`<obc-icon-button\n class=\"dimming-button\"\n part=\"dimming-button\"\n variant=\"flat\"\n aria-label=${msg('Dimming')}\n @click=${this.dimmingButtonClicked}\n ?activated=${this.dimmingButtonActivated}\n >\n <obi-palette-day-night-iec></obi-palette-day-night-iec>\n </obc-icon-button>`\n : null\n }\n ${\n this.showUserButton && !this.inactive\n ? html`<obc-icon-button\n class=\"user-button\"\n variant=\"flat\"\n part=\"user-button\"\n aria-label=${msg('User')}\n @click=${this.userButtonClicked}\n ?activated=${this.userButtonActivated}\n ?disabled=${this.userButtonDisabled}\n >\n <obi-user></obi-user>\n </obc-icon-button>`\n : null\n }\n ${\n this.showAppsButton && !this.inactive\n ? html`<obc-icon-button\n class=\"apps-button\"\n variant=\"flat\"\n part=\"apps-button\"\n aria-label=${msg('Apps')}\n @click=${this.appsButtonClicked}\n ?activated=${this.appsButtonActivated}\n >\n <obi-applications></obi-applications>\n </obc-icon-button>`\n : null\n }\n ${this.showClock ? html`<slot name=\"clock\"></slot>` : null}\n ${\n !this.inactive\n ? html`<obc-icon-button\n class=\"more-button\"\n part=\"more-button left-more-button\"\n variant=\"flat\"\n aria-label=${msg('More')}\n @click=${this.moreButtonClicked}\n ?activated=${this.moreButtonActivated}\n >\n <obi-more-vertical-google></obi-more-vertical-google>\n </obc-icon-button>`\n : null\n }\n </div>\n </nav>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-top-bar': ObcTopBar;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,IAAY,0BAAL,yBAAA,yBAAA;CACL,wBAAA,UAAA;CACA,wBAAA,UAAA;;AACF,EAAA,CAAA,CAAA;AAgKO,IAAM,YAAN,MAAM,kBAAkB,WAAW;;;EACH,KAAA,WAAA;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,GAAA,UAAA,WAAA,0BAAA,KAAA,CAAA;AAGvB,WAAA,CAAA,SAAS,EAAC,MAAM,OAAM,CAAC,CAAA,GAAA,UAAA,WAAA,uBAAA,KAAA,CAAA;AAGvB,WAAA,CAAA,SAAS,EAAC,MAAM,QAAO,CAAC,CAAA,GAAA,UAAA,WAAA,YAAA,KAAA,CAAA;AAExB,WAAA,CAAA,SAAS,EAAC,MAAM,MAAK,CAAC,CAAA,GAAA,UAAA,WAAA,mBAAA,KAAA,CAAA;AApExB,YAAA,WAAA,CAAA,cAAc,aAAa,CAAA,GAAA,SAAA"}
@@ -27,10 +27,16 @@ export declare const templates: {
27
27
  sa45a194b58837e4f: string;
28
28
  s5ba9818f6a39054c: string;
29
29
  sa6ef04345891fb38: string;
30
+ s5de3f4978aaa2443: string;
30
31
  s3cf89cb47fdde7e9: string;
31
32
  s47278872f6826da8: string;
32
33
  s9e34794bcfdc6665: string;
33
34
  s33e301ba1f4a6864: string;
35
+ s56df31a121d65bd7: string;
36
+ se1fef04fe8351166: string;
37
+ sdd913f2a088ffec7: string;
38
+ s1d82ea8c2e81ba83: string;
39
+ sfd88a513640b6911: string;
34
40
  sc5a5b268010fc312: string;
35
41
  s740deeebbea89396: string;
36
42
  sb1772b5e873910c2: string;
@@ -1 +1 @@
1
- {"version":3,"file":"es-419.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/es-419.ts"],"names":[],"mappings":"AAUI,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FrB,CAAC"}
1
+ {"version":3,"file":"es-419.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/es-419.ts"],"names":[],"mappings":"AAUI,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGrB,CAAC"}
@@ -30,10 +30,16 @@ var templates = {
30
30
  "sa45a194b58837e4f": `Active`,
31
31
  "s5ba9818f6a39054c": `Go to the 'Alert list' for more details or to manage existing alerts.`,
32
32
  "sa6ef04345891fb38": `ACK visible`,
33
+ "s5de3f4978aaa2443": `Alert list`,
33
34
  "s3cf89cb47fdde7e9": `Link`,
34
35
  "s47278872f6826da8": `Dusk`,
35
36
  "s9e34794bcfdc6665": `Bright`,
36
37
  "s33e301ba1f4a6864": `Screen Control`,
38
+ "s56df31a121d65bd7": `Diagnostics`,
39
+ "se1fef04fe8351166": `No diagnostics`,
40
+ "sdd913f2a088ffec7": `Go to the 'Diagnostics list' for more details.`,
41
+ "s1d82ea8c2e81ba83": `ACK all visible`,
42
+ "sfd88a513640b6911": `Diagnostics list`,
37
43
  "sc5a5b268010fc312": `Audio muted`,
38
44
  "s740deeebbea89396": `Audio on`,
39
45
  "sb1772b5e873910c2": `Microphone muted`,
@@ -1 +1 @@
1
- {"version":3,"file":"es-419.js","names":[],"sources":["../../../src/generated/locales/es-419.ts"],"sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's0f3699a7bd401f61': `Noche`,\n's1125d159f7e64df5': `Pantalla`,\n's8119af112f965c78': `Brillantez`,\n'sa7f8e003ff63ef9f': `No alertas activas`,\n'se0955919920ee87d': `Día`,\n'scd93bdcb7863611a': `Alarm`,\n's34be76c6b1eadbef': `Warning`,\n'sf11564cc75a8d5a6': `Caution`,\n'sa45f3300b97dabe8': `Critical`,\n's9deeefd89ca8a81d': `High`,\n'sac6bdc71f750ac96': `Medium`,\n's24f3a319b88552c1': `Low`,\n'sca9e13f23f0c433e': `Diagnostic`,\n'sf268637d594dacb2': `Shelved`,\n's88d1c1e15ca1aade': `Alerts`,\n's68395a4c26a9e8ac': `Silence`,\n'sf993bb199fefbe04': `All`,\n's01b603dddbaba7b6': `Unacked`,\n'se92d11374fcdf768': `No unacknowledged alerts`,\n's2a2488656f97b746': `No shelved alerts`,\n'sf59d9197d2e50c93': `Blocked`,\n's61a9ee872da3a0cd': `No blocked alerts`,\n's16fccc311f4779f6': `Rectified`,\n'seb27af82aef6a03e': `No rectified alerts`,\n'sfa32c219a0764262': `ACK`,\n'sa45a194b58837e4f': `Active`,\n's5ba9818f6a39054c': `Go to the 'Alert list' for more details or to manage existing alerts.`,\n'sa6ef04345891fb38': `ACK visible`,\n's3cf89cb47fdde7e9': `Link`,\n's47278872f6826da8': `Dusk`,\n's9e34794bcfdc6665': `Bright`,\n's33e301ba1f4a6864': `Screen Control`,\n'sc5a5b268010fc312': `Audio muted`,\n's740deeebbea89396': `Audio on`,\n'sb1772b5e873910c2': `Microphone muted`,\n'sae9a175972fdc8a6': `Microphone on`,\n'scdec9ef5c73b26a1': `Wi-Fi`,\n's08e6bd98452e6bb9': `Audio`,\n's232f88877550dfa9': `Microphone`,\n's2eda024d0ca3dbae': `Battery`,\n's7c876ab46924ee3e': `Wi-Fi settings`,\n'scbad6893328e2b26': `Audio settings`,\n'se80af7d953b783b6': `Microphone settings`,\n's77a0727520efc502': `Charging`,\n'sfa0a009c85861b5b': `Powered &amp; not charging`,\n's2d91daeb457fbd1d': `On battery`,\n's67e59d6159bcaa4f': `Battery settings`,\n's9d8b8aa2b404c2c8': `Settings`,\n'sc16e00a7a8b2fde2': `Back`,\n's463b8c4e92751ba5': `Options`,\n'sd2208cd1a767644b': `Disconnect`,\n's40bbf4a98d873400': `Push to talk`,\n's345be9d2d7ce0228': `Usage`,\n's0200a1a60221ccd3': `Battery saving mode`,\n's186609156d69afdc': `Other networks`,\n'sfd77270c3f54f664': `Output`,\n'sdb1595f5c742dfbb': `Input`,\n's37cbecaec58e2192': `Mode`,\n's065289e6cba017c6': `Transcribe`,\n's5e8250fb85d64c23': `Close`,\n's6d8c02aee480af7a': `Menu`,\n's6abb1cd87fe0114e': `Home`,\n's18c92783d4042bbc': `Dimming`,\n'sa48f81f001b893d2': `User`,\n'sf7eeef8b4d6e602d': `Apps`,\n's37a9e8aec5713460': `More`,\n's76b886a513fca0d8': `Username is required`,\n'seb1d48da15e775c9': `Password is required`,\n's5e27738a2e8eb763': `Sign in`,\n's03f42eea72154959': `Username`,\n'sf6e1665c7022a1f8': `Password`,\n's981f6febad4df84a': `Recently signed in`,\n'sbce70cbdb856635e': `Recent`,\n's8506875a9d95f22c': `Use another account`,\n's7cfe12cd14df9950': `Sign out`,\n's5be3c6d61cd9182f': `Notifications`,\n's744d993d03f29851': `Screen`,\n'sa81e2cdaf6921adc': `System`,\n's3374200692e9843d': `No alerts`,\n's6686fcc6d2c8f0bd': `Note`,\n'sfbc33dd48f23752c': `Tag ID`,\n's079a052719914d71': `Category`,\n'sa2b9faa7ad068cfc': `Activated`,\n's35aab6bf5dda3be0': `Alert timer`,\n'sdc7335a13d9e03f5': `Acknowledged`,\n's93c7817bb872836a': `Acknowledged by`,\n'sf2de3605b3655264': `Shelfing timer`,\n's097d821eb8e9069f': `Shelved by`,\n'sa711a6fcc9552dbf': `Readout`,\n };\n "],"mappings":";;;AAUI,IAAa,YAAY;CACvB,qBAAqB;CAC3B,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;AACjB"}
1
+ {"version":3,"file":"es-419.js","names":[],"sources":["../../../src/generated/locales/es-419.ts"],"sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's0f3699a7bd401f61': `Noche`,\n's1125d159f7e64df5': `Pantalla`,\n's8119af112f965c78': `Brillantez`,\n'sa7f8e003ff63ef9f': `No alertas activas`,\n'se0955919920ee87d': `Día`,\n'scd93bdcb7863611a': `Alarm`,\n's34be76c6b1eadbef': `Warning`,\n'sf11564cc75a8d5a6': `Caution`,\n'sa45f3300b97dabe8': `Critical`,\n's9deeefd89ca8a81d': `High`,\n'sac6bdc71f750ac96': `Medium`,\n's24f3a319b88552c1': `Low`,\n'sca9e13f23f0c433e': `Diagnostic`,\n'sf268637d594dacb2': `Shelved`,\n's88d1c1e15ca1aade': `Alerts`,\n's68395a4c26a9e8ac': `Silence`,\n'sf993bb199fefbe04': `All`,\n's01b603dddbaba7b6': `Unacked`,\n'se92d11374fcdf768': `No unacknowledged alerts`,\n's2a2488656f97b746': `No shelved alerts`,\n'sf59d9197d2e50c93': `Blocked`,\n's61a9ee872da3a0cd': `No blocked alerts`,\n's16fccc311f4779f6': `Rectified`,\n'seb27af82aef6a03e': `No rectified alerts`,\n'sfa32c219a0764262': `ACK`,\n'sa45a194b58837e4f': `Active`,\n's5ba9818f6a39054c': `Go to the 'Alert list' for more details or to manage existing alerts.`,\n'sa6ef04345891fb38': `ACK visible`,\n's5de3f4978aaa2443': `Alert list`,\n's3cf89cb47fdde7e9': `Link`,\n's47278872f6826da8': `Dusk`,\n's9e34794bcfdc6665': `Bright`,\n's33e301ba1f4a6864': `Screen Control`,\n's56df31a121d65bd7': `Diagnostics`,\n'se1fef04fe8351166': `No diagnostics`,\n'sdd913f2a088ffec7': `Go to the 'Diagnostics list' for more details.`,\n's1d82ea8c2e81ba83': `ACK all visible`,\n'sfd88a513640b6911': `Diagnostics list`,\n'sc5a5b268010fc312': `Audio muted`,\n's740deeebbea89396': `Audio on`,\n'sb1772b5e873910c2': `Microphone muted`,\n'sae9a175972fdc8a6': `Microphone on`,\n'scdec9ef5c73b26a1': `Wi-Fi`,\n's08e6bd98452e6bb9': `Audio`,\n's232f88877550dfa9': `Microphone`,\n's2eda024d0ca3dbae': `Battery`,\n's7c876ab46924ee3e': `Wi-Fi settings`,\n'scbad6893328e2b26': `Audio settings`,\n'se80af7d953b783b6': `Microphone settings`,\n's77a0727520efc502': `Charging`,\n'sfa0a009c85861b5b': `Powered &amp; not charging`,\n's2d91daeb457fbd1d': `On battery`,\n's67e59d6159bcaa4f': `Battery settings`,\n's9d8b8aa2b404c2c8': `Settings`,\n'sc16e00a7a8b2fde2': `Back`,\n's463b8c4e92751ba5': `Options`,\n'sd2208cd1a767644b': `Disconnect`,\n's40bbf4a98d873400': `Push to talk`,\n's345be9d2d7ce0228': `Usage`,\n's0200a1a60221ccd3': `Battery saving mode`,\n's186609156d69afdc': `Other networks`,\n'sfd77270c3f54f664': `Output`,\n'sdb1595f5c742dfbb': `Input`,\n's37cbecaec58e2192': `Mode`,\n's065289e6cba017c6': `Transcribe`,\n's5e8250fb85d64c23': `Close`,\n's6d8c02aee480af7a': `Menu`,\n's6abb1cd87fe0114e': `Home`,\n's18c92783d4042bbc': `Dimming`,\n'sa48f81f001b893d2': `User`,\n'sf7eeef8b4d6e602d': `Apps`,\n's37a9e8aec5713460': `More`,\n's76b886a513fca0d8': `Username is required`,\n'seb1d48da15e775c9': `Password is required`,\n's5e27738a2e8eb763': `Sign in`,\n's03f42eea72154959': `Username`,\n'sf6e1665c7022a1f8': `Password`,\n's981f6febad4df84a': `Recently signed in`,\n'sbce70cbdb856635e': `Recent`,\n's8506875a9d95f22c': `Use another account`,\n's7cfe12cd14df9950': `Sign out`,\n's5be3c6d61cd9182f': `Notifications`,\n's744d993d03f29851': `Screen`,\n'sa81e2cdaf6921adc': `System`,\n's3374200692e9843d': `No alerts`,\n's6686fcc6d2c8f0bd': `Note`,\n'sfbc33dd48f23752c': `Tag ID`,\n's079a052719914d71': `Category`,\n'sa2b9faa7ad068cfc': `Activated`,\n's35aab6bf5dda3be0': `Alert timer`,\n'sdc7335a13d9e03f5': `Acknowledged`,\n's93c7817bb872836a': `Acknowledged by`,\n'sf2de3605b3655264': `Shelfing timer`,\n's097d821eb8e9069f': `Shelved by`,\n'sa711a6fcc9552dbf': `Readout`,\n };\n "],"mappings":";;;AAUI,IAAa,YAAY;CACvB,qBAAqB;CAC3B,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBA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CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;AACjB"}
@@ -41,6 +41,12 @@ export declare const templates: {
41
41
  s24f3a319b88552c1: string;
42
42
  sca9e13f23f0c433e: string;
43
43
  sa45a194b58837e4f: string;
44
+ s5de3f4978aaa2443: string;
45
+ s56df31a121d65bd7: string;
46
+ se1fef04fe8351166: string;
47
+ sdd913f2a088ffec7: string;
48
+ s1d82ea8c2e81ba83: string;
49
+ sfd88a513640b6911: string;
44
50
  sc5a5b268010fc312: string;
45
51
  s740deeebbea89396: string;
46
52
  sb1772b5e873910c2: string;
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/fi-FI.ts"],"names":[],"mappings":"AAUI,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FrB,CAAC"}
1
+ {"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/fi-FI.ts"],"names":[],"mappings":"AAUI,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGrB,CAAC"}
@@ -44,6 +44,12 @@ var templates = {
44
44
  "s24f3a319b88552c1": `Low`,
45
45
  "sca9e13f23f0c433e": `Diagnostic`,
46
46
  "sa45a194b58837e4f": `Active`,
47
+ "s5de3f4978aaa2443": `Alert list`,
48
+ "s56df31a121d65bd7": `Diagnostics`,
49
+ "se1fef04fe8351166": `No diagnostics`,
50
+ "sdd913f2a088ffec7": `Go to the 'Diagnostics list' for more details.`,
51
+ "s1d82ea8c2e81ba83": `ACK all visible`,
52
+ "sfd88a513640b6911": `Diagnostics list`,
47
53
  "sc5a5b268010fc312": `Audio muted`,
48
54
  "s740deeebbea89396": `Audio on`,
49
55
  "sb1772b5e873910c2": `Microphone muted`,
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.js","names":[],"sources":["../../../src/generated/locales/fi-FI.ts"],"sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's01b603dddbaba7b6': `Vahvistamaton`,\n's079a052719914d71': `Kategoria`,\n's097d821eb8e9069f': `Hyllyttänyt`,\n's0f3699a7bd401f61': `Yö`,\n's1125d159f7e64df5': `Näyttö`,\n's16fccc311f4779f6': `Korjattu`,\n's2a2488656f97b746': `Ei hyllytettyjä hälytyksiä`,\n's33e301ba1f4a6864': `Näytön hallinta`,\n's35aab6bf5dda3be0': `Hälytysajastin`,\n's3cf89cb47fdde7e9': `Linkki`,\n's47278872f6826da8': `Hämärä`,\n's5ba9818f6a39054c': `Siirry 'Hälytyslistaan' saadaksesi lisätietoja tai hallitaksesi olemassa olevia hälytyksiä.`,\n's61a9ee872da3a0cd': `Ei estettyjä hälytyksiä`,\n's6686fcc6d2c8f0bd': `Huomautus`,\n's68395a4c26a9e8ac': `Hiljennä`,\n's8119af112f965c78': `Kirkkaus`,\n's88d1c1e15ca1aade': `Hälytykset`,\n's93c7817bb872836a': `Vahvistanut`,\n's9e34794bcfdc6665': `Kirkas`,\n'sa2b9faa7ad068cfc': `Aktivoitu`,\n'sa6ef04345891fb38': `Vahvistus näkyvissä`,\n'sa711a6fcc9552dbf': `Lukeminen`,\n'sa7f8e003ff63ef9f': `Ei aktiivisia hälytyksiä`,\n'sdc7335a13d9e03f5': `Vahvistettu`,\n'se0955919920ee87d': `Päivä`,\n'se92d11374fcdf768': `Ei vahvistamattomia hälytyksiä`,\n'seb27af82aef6a03e': `Ei korjattuja hälytyksiä`,\n'sf268637d594dacb2': `Hyllytetty`,\n'sf2de3605b3655264': `Hyllytysajastin`,\n'sf59d9197d2e50c93': `Estetty`,\n'sf993bb199fefbe04': `Kaikki`,\n'sfa32c219a0764262': `VAHVISTA`,\n'sfbc33dd48f23752c': `Tunnistetunnus`,\n'scd93bdcb7863611a': `Alarm`,\n's34be76c6b1eadbef': `Warning`,\n'sf11564cc75a8d5a6': `Caution`,\n'sa45f3300b97dabe8': `Critical`,\n's9deeefd89ca8a81d': `High`,\n'sac6bdc71f750ac96': `Medium`,\n's24f3a319b88552c1': `Low`,\n'sca9e13f23f0c433e': `Diagnostic`,\n'sa45a194b58837e4f': `Active`,\n'sc5a5b268010fc312': `Audio muted`,\n's740deeebbea89396': `Audio on`,\n'sb1772b5e873910c2': `Microphone muted`,\n'sae9a175972fdc8a6': `Microphone on`,\n'scdec9ef5c73b26a1': `Wi-Fi`,\n's08e6bd98452e6bb9': `Audio`,\n's232f88877550dfa9': `Microphone`,\n's2eda024d0ca3dbae': `Battery`,\n's7c876ab46924ee3e': `Wi-Fi settings`,\n'scbad6893328e2b26': `Audio settings`,\n'se80af7d953b783b6': `Microphone settings`,\n's77a0727520efc502': `Charging`,\n'sfa0a009c85861b5b': `Powered &amp; not charging`,\n's2d91daeb457fbd1d': `On battery`,\n's67e59d6159bcaa4f': `Battery settings`,\n's9d8b8aa2b404c2c8': `Settings`,\n'sc16e00a7a8b2fde2': `Back`,\n's463b8c4e92751ba5': `Options`,\n'sd2208cd1a767644b': `Disconnect`,\n's40bbf4a98d873400': `Push to talk`,\n's345be9d2d7ce0228': `Usage`,\n's0200a1a60221ccd3': `Battery saving mode`,\n's186609156d69afdc': `Other networks`,\n'sfd77270c3f54f664': `Output`,\n'sdb1595f5c742dfbb': `Input`,\n's37cbecaec58e2192': `Mode`,\n's065289e6cba017c6': `Transcribe`,\n's5e8250fb85d64c23': `Close`,\n's6d8c02aee480af7a': `Menu`,\n's6abb1cd87fe0114e': `Home`,\n's18c92783d4042bbc': `Dimming`,\n'sa48f81f001b893d2': `User`,\n'sf7eeef8b4d6e602d': `Apps`,\n's37a9e8aec5713460': `More`,\n's76b886a513fca0d8': `Username is required`,\n'seb1d48da15e775c9': `Password is required`,\n's5e27738a2e8eb763': `Sign in`,\n's03f42eea72154959': `Username`,\n'sf6e1665c7022a1f8': `Password`,\n's981f6febad4df84a': `Recently signed in`,\n'sbce70cbdb856635e': `Recent`,\n's8506875a9d95f22c': `Use another account`,\n's7cfe12cd14df9950': `Sign out`,\n's5be3c6d61cd9182f': `Notifications`,\n's744d993d03f29851': `Screen`,\n'sa81e2cdaf6921adc': `System`,\n's3374200692e9843d': `No alerts`,\n };\n "],"mappings":";;;AAUI,IAAa,YAAY;CACvB,qBAAqB;CAC3B,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;AACjB"}
1
+ {"version":3,"file":"fi-FI.js","names":[],"sources":["../../../src/generated/locales/fi-FI.ts"],"sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's01b603dddbaba7b6': `Vahvistamaton`,\n's079a052719914d71': `Kategoria`,\n's097d821eb8e9069f': `Hyllyttänyt`,\n's0f3699a7bd401f61': `Yö`,\n's1125d159f7e64df5': `Näyttö`,\n's16fccc311f4779f6': `Korjattu`,\n's2a2488656f97b746': `Ei hyllytettyjä hälytyksiä`,\n's33e301ba1f4a6864': `Näytön hallinta`,\n's35aab6bf5dda3be0': `Hälytysajastin`,\n's3cf89cb47fdde7e9': `Linkki`,\n's47278872f6826da8': `Hämärä`,\n's5ba9818f6a39054c': `Siirry 'Hälytyslistaan' saadaksesi lisätietoja tai hallitaksesi olemassa olevia hälytyksiä.`,\n's61a9ee872da3a0cd': `Ei estettyjä hälytyksiä`,\n's6686fcc6d2c8f0bd': `Huomautus`,\n's68395a4c26a9e8ac': `Hiljennä`,\n's8119af112f965c78': `Kirkkaus`,\n's88d1c1e15ca1aade': `Hälytykset`,\n's93c7817bb872836a': `Vahvistanut`,\n's9e34794bcfdc6665': `Kirkas`,\n'sa2b9faa7ad068cfc': `Aktivoitu`,\n'sa6ef04345891fb38': `Vahvistus näkyvissä`,\n'sa711a6fcc9552dbf': `Lukeminen`,\n'sa7f8e003ff63ef9f': `Ei aktiivisia hälytyksiä`,\n'sdc7335a13d9e03f5': `Vahvistettu`,\n'se0955919920ee87d': `Päivä`,\n'se92d11374fcdf768': `Ei vahvistamattomia hälytyksiä`,\n'seb27af82aef6a03e': `Ei korjattuja hälytyksiä`,\n'sf268637d594dacb2': `Hyllytetty`,\n'sf2de3605b3655264': `Hyllytysajastin`,\n'sf59d9197d2e50c93': `Estetty`,\n'sf993bb199fefbe04': `Kaikki`,\n'sfa32c219a0764262': `VAHVISTA`,\n'sfbc33dd48f23752c': `Tunnistetunnus`,\n'scd93bdcb7863611a': `Alarm`,\n's34be76c6b1eadbef': `Warning`,\n'sf11564cc75a8d5a6': `Caution`,\n'sa45f3300b97dabe8': `Critical`,\n's9deeefd89ca8a81d': `High`,\n'sac6bdc71f750ac96': `Medium`,\n's24f3a319b88552c1': `Low`,\n'sca9e13f23f0c433e': `Diagnostic`,\n'sa45a194b58837e4f': `Active`,\n's5de3f4978aaa2443': `Alert list`,\n's56df31a121d65bd7': `Diagnostics`,\n'se1fef04fe8351166': `No diagnostics`,\n'sdd913f2a088ffec7': `Go to the 'Diagnostics list' for more details.`,\n's1d82ea8c2e81ba83': `ACK all visible`,\n'sfd88a513640b6911': `Diagnostics list`,\n'sc5a5b268010fc312': `Audio muted`,\n's740deeebbea89396': `Audio on`,\n'sb1772b5e873910c2': `Microphone muted`,\n'sae9a175972fdc8a6': `Microphone on`,\n'scdec9ef5c73b26a1': `Wi-Fi`,\n's08e6bd98452e6bb9': `Audio`,\n's232f88877550dfa9': `Microphone`,\n's2eda024d0ca3dbae': `Battery`,\n's7c876ab46924ee3e': `Wi-Fi settings`,\n'scbad6893328e2b26': `Audio settings`,\n'se80af7d953b783b6': `Microphone settings`,\n's77a0727520efc502': `Charging`,\n'sfa0a009c85861b5b': `Powered &amp; not charging`,\n's2d91daeb457fbd1d': `On battery`,\n's67e59d6159bcaa4f': `Battery settings`,\n's9d8b8aa2b404c2c8': `Settings`,\n'sc16e00a7a8b2fde2': `Back`,\n's463b8c4e92751ba5': `Options`,\n'sd2208cd1a767644b': `Disconnect`,\n's40bbf4a98d873400': `Push to talk`,\n's345be9d2d7ce0228': `Usage`,\n's0200a1a60221ccd3': `Battery saving mode`,\n's186609156d69afdc': `Other networks`,\n'sfd77270c3f54f664': `Output`,\n'sdb1595f5c742dfbb': `Input`,\n's37cbecaec58e2192': `Mode`,\n's065289e6cba017c6': `Transcribe`,\n's5e8250fb85d64c23': `Close`,\n's6d8c02aee480af7a': `Menu`,\n's6abb1cd87fe0114e': `Home`,\n's18c92783d4042bbc': `Dimming`,\n'sa48f81f001b893d2': `User`,\n'sf7eeef8b4d6e602d': `Apps`,\n's37a9e8aec5713460': `More`,\n's76b886a513fca0d8': `Username is required`,\n'seb1d48da15e775c9': `Password is required`,\n's5e27738a2e8eb763': `Sign in`,\n's03f42eea72154959': `Username`,\n'sf6e1665c7022a1f8': `Password`,\n's981f6febad4df84a': `Recently signed in`,\n'sbce70cbdb856635e': `Recent`,\n's8506875a9d95f22c': `Use another account`,\n's7cfe12cd14df9950': `Sign out`,\n's5be3c6d61cd9182f': `Notifications`,\n's744d993d03f29851': `Screen`,\n'sa81e2cdaf6921adc': `System`,\n's3374200692e9843d': `No alerts`,\n };\n "],"mappings":";;;AAUI,IAAa,YAAY;CACvB,qBAAqB;CAC3B,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,q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