ooxml-ui 1.32.0 → 1.34.0

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 (45) hide show
  1. package/custom-elements.json +10 -0
  2. package/dist/building-block-styles.d.ts +1 -0
  3. package/dist/chart/format-pane-3d.d.ts +1 -0
  4. package/dist/chart/format-pane-analysis.d.ts +1 -0
  5. package/dist/chart/format-pane-fill-line.d.ts +1 -0
  6. package/dist/chart/format-pane-text.d.ts +1 -0
  7. package/dist/{chunk-OKEFAQJT.js → chunk-3AOIYE3R.js} +87 -20
  8. package/dist/{chunk-WYKMVMX4.js → chunk-BOTLS2PR.js} +45 -0
  9. package/dist/{chunk-32P252JS.js → chunk-SWDVBUBW.js} +1 -1
  10. package/dist/docx/editor-attributes.d.ts +7 -0
  11. package/dist/docx/format-dialogs.d.ts +1 -1
  12. package/dist/docx/locales/en.d.ts +4 -0
  13. package/dist/docx/locales/split-cells.d.ts +10 -0
  14. package/dist/docx/localization-strings.d.ts +4 -0
  15. package/dist/docx/ribbon-icons.d.ts +2 -0
  16. package/dist/docx/split-cells-dialog.d.ts +4 -0
  17. package/dist/docx/table-commands.d.ts +9 -3
  18. package/dist/docx/table-model-adapter.d.ts +5 -0
  19. package/dist/docx/table-restructure-commands.d.ts +36 -0
  20. package/dist/docx/table-restructure-convert.d.ts +10 -0
  21. package/dist/docx/table-restructure.d.ts +22 -0
  22. package/dist/docx.js +652 -46
  23. package/dist/index.js +3 -3
  24. package/dist/{presentation-preview-XGJMARKI.js → presentation-preview-ZVJNGOJO.js} +1 -1
  25. package/dist/teams/app/chat-people-dialog.d.ts +5 -0
  26. package/dist/teams/app/teams-app.d.ts +3 -0
  27. package/dist/teams/chat-list.d.ts +5 -0
  28. package/dist/teams/i18n/locales/de.d.ts +9 -0
  29. package/dist/teams/i18n/locales/en/chat.d.ts +2 -0
  30. package/dist/teams/i18n/locales/en/shell.d.ts +7 -0
  31. package/dist/teams/i18n/locales/en.d.ts +9 -0
  32. package/dist/teams/i18n/locales/es.d.ts +9 -0
  33. package/dist/teams/i18n/locales/fr.d.ts +9 -0
  34. package/dist/teams/i18n/locales/zh-CN.d.ts +9 -0
  35. package/dist/teams.js +2 -2
  36. package/dist/theme-bridge.d.ts +1 -0
  37. package/dist/theme.d.ts +1 -0
  38. package/dist/xlsx/dialogs/custom-views.d.ts +2 -0
  39. package/dist/xlsx/dialogs/forecast-sheet.d.ts +2 -0
  40. package/dist/xlsx/dialogs/scenario-extras.d.ts +8 -0
  41. package/dist/xlsx/grid/shapes.d.ts +21 -0
  42. package/dist/xlsx/grid/styles.d.ts +1 -1
  43. package/dist/xlsx/header-image.d.ts +8 -0
  44. package/dist/xlsx.js +656 -126
  45. package/package.json +2 -2
@@ -1174,6 +1174,9 @@
1174
1174
  {
1175
1175
  "name": "locale"
1176
1176
  },
1177
+ {
1178
+ "name": "moderator"
1179
+ },
1177
1180
  {
1178
1181
  "name": "self-id"
1179
1182
  }
@@ -1202,6 +1205,13 @@
1202
1205
  "kind": "field",
1203
1206
  "name": "messages"
1204
1207
  },
1208
+ {
1209
+ "kind": "field",
1210
+ "name": "moderator",
1211
+ "type": {
1212
+ "text": "boolean"
1213
+ }
1214
+ },
1205
1215
  {
1206
1216
  "kind": "field",
1207
1217
  "name": "pinnedIds"
@@ -2,3 +2,4 @@ export type OfficeUiBlockKind = 'toolbar' | 'formula-bar' | 'tabs' | 'inspector'
2
2
  export type OfficeUiProduct = 'docx' | 'xlsx' | 'visio' | 'pptx';
3
3
  /** Opt-in styles for native framework controls. They never target host-owned controls implicitly. */
4
4
  export declare const BUILDING_BLOCKS_CSS: string;
5
+ //# sourceMappingURL=building-block-styles.d.ts.map
@@ -4,3 +4,4 @@ import type { ChartFormatThreeDView } from './format-pane-view.js';
4
4
  export declare const CHART_BEVEL_TYPES: readonly ['circle', 'relaxedInset', 'cross', 'coolSlant', 'angle', 'softRound', 'convex', 'slope', 'divot', 'riblet', 'hardEdge', 'artDeco'];
5
5
  /** The 3-D Format section for an element with `threeD` as its current 3-D settings. */
6
6
  export declare function threeDSection(threeD: ChartFormatThreeDView): ChartFormatSection;
7
+ //# sourceMappingURL=format-pane-3d.d.ts.map
@@ -4,3 +4,4 @@ import type { ChartFormatSeriesOptionsView } from './format-pane-view.js';
4
4
  export declare function chartAnalysisSections(series: ChartFormatSeriesOptionsView): ChartFormatSection[];
5
5
  /** Converts only the selected analysis property, retaining other trendlines, bars and styles. */
6
6
  export declare function chartAnalysisFieldIntent(series: ChartFormatSeriesOptionsView | undefined, target: ChartFormatTarget, field: string, value: ChartFormatFieldValue): ChartEditIntent | null | undefined;
7
+ //# sourceMappingURL=format-pane-analysis.d.ts.map
@@ -10,3 +10,4 @@ import type { ChartFormatElementView, ChartFormatSource } from './format-pane-vi
10
10
  export declare const ARROWS: Array<[string, string]>;
11
11
  /** The Fill & Line tab's sections. */
12
12
  export declare function fillLineSections(view: ChartFormatElementView, target: ChartFormatTarget, source?: Pick<ChartFormatSource, 'patternPresets' | 'slots'>): ChartFormatSection[];
13
+ //# sourceMappingURL=format-pane-fill-line.d.ts.map
@@ -4,3 +4,4 @@ import type { ChartFormatTextView } from './format-pane-view.js';
4
4
  export declare function chartTextTabs(): ChartFormatTab[];
5
5
  /** The sections of Text Options tab `tab`. */
6
6
  export declare function textOptionsSections(text: ChartFormatTextView, tab: 'textFill' | 'textEffects' | 'textBox'): ChartFormatSection[];
7
+ //# sourceMappingURL=format-pane-text.d.ts.map
@@ -1,4 +1,4 @@
1
- import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } from './chunk-WYKMVMX4.js';
1
+ import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } from './chunk-BOTLS2PR.js';
2
2
  import { listenEvents, bindElement, syncClassName } from './chunk-CDAXY5KC.js';
3
3
  import { eventArgs, pickProps } from './chunk-NDUD5JJB.js';
4
4
  import { THEME_CSS, installOfficeUiTheme } from './chunk-T5ARELU2.js';
@@ -1407,7 +1407,8 @@ var OfficeUiChatList = class extends TeamsElement {
1407
1407
  replyCounts: { attribute: false },
1408
1408
  pinnedIds: { attribute: false },
1409
1409
  highlightId: { type: String, attribute: "highlight-id" },
1410
- meetings: { attribute: false }
1410
+ meetings: { attribute: false },
1411
+ moderator: { type: Boolean }
1411
1412
  };
1412
1413
  stickToBottom = true;
1413
1414
  constructor() {
@@ -1418,6 +1419,7 @@ var OfficeUiChatList = class extends TeamsElement {
1418
1419
  this.pinnedIds = [];
1419
1420
  this.highlightId = "";
1420
1421
  this.meetings = {};
1422
+ this.moderator = false;
1421
1423
  }
1422
1424
  connectedCallback() {
1423
1425
  super.connectedCallback();
@@ -1584,6 +1586,14 @@ var OfficeUiChatList = class extends TeamsElement {
1584
1586
  @click=${() => this.fire("office-chat-delete", { messageId: m.id })}
1585
1587
  >
1586
1588
  ${icon("trash")}
1589
+ </button>` : this.moderator && !m.system ? html`<button
1590
+ type="button"
1591
+ data-action="hide"
1592
+ title=${this.t("chat.hide")}
1593
+ aria-label=${this.t("chat.hide")}
1594
+ @click=${() => this.fire("office-chat-delete", { messageId: m.id, moderation: true })}
1595
+ >
1596
+ ${icon("trash")}
1587
1597
  </button>` : nothing}
1588
1598
  </div>
1589
1599
  `;
@@ -2257,7 +2267,7 @@ var TeamsContentPreview = class extends TeamsLitElement {
2257
2267
  if (kind === "xlsx") (await import('./xlsx.js')).defineXlsxEditor();
2258
2268
  if (kind === "vsdx") (await import('./visio.js')).registerVisioViewer();
2259
2269
  if (kind === "pptx")
2260
- (await import('./presentation-preview-XGJMARKI.js')).defineTeamsPresentationPreview();
2270
+ (await import('./presentation-preview-ZVJNGOJO.js')).defineTeamsPresentationPreview();
2261
2271
  if (request.signal.aborted) return;
2262
2272
  this.native = kind;
2263
2273
  await this.updateComplete;
@@ -3546,6 +3556,20 @@ var safeStorage = {
3546
3556
  globalThis.localStorage?.setItem(key, value);
3547
3557
  } catch {
3548
3558
  }
3559
+ },
3560
+ // `storage` events fire in the other tabs of this origin, which is what shares a chosen status.
3561
+ subscribe(listener) {
3562
+ const target = globalThis;
3563
+ const onStorage = (event) => {
3564
+ try {
3565
+ if (event.storageArea && event.storageArea !== globalThis.localStorage) return;
3566
+ } catch {
3567
+ return;
3568
+ }
3569
+ listener(event.key);
3570
+ };
3571
+ target.addEventListener?.("storage", onStorage);
3572
+ return () => target.removeEventListener?.("storage", onStorage);
3549
3573
  }
3550
3574
  };
3551
3575
  function loadIdentity() {
@@ -3572,7 +3596,7 @@ function loadConfig() {
3572
3596
  var saveConfig = (config) => safeStorage.setItem("teams:config", JSON.stringify(config));
3573
3597
 
3574
3598
  // raw-css:/home/runner/work/ooxml/ooxml/src/ui/src/teams/app/teams-app.css?raw
3575
- var teams_app_default = "/* <teams-app>: the shell. Colours, spacing and radii come from the ooxml-ui tokens, so a host\n retheme or dark mode reaches the whole app. The elements inside bring their own styles. */\n:host {\n display: block;\n height: 100%;\n min-height: 28em;\n font: var(--office-font-size) var(--office-font);\n color: var(--office-foreground);\n background: var(--office-background);\n}\n:host([data-office-theme='dark']) {\n --office-background: var(--office-teams-panel);\n --office-surface: var(--office-teams-bubble);\n --office-popover: var(--office-teams-panel);\n}\n:host([data-chat-density='compact']) {\n --office-teams-message-gap: var(--office-space-1);\n --office-teams-message-padding: var(--office-space-1) var(--office-space-2);\n}\n@media (prefers-color-scheme: dark) {\n :host(:not([data-office-theme='light'])) {\n --office-background: var(--office-teams-panel);\n --office-surface: var(--office-teams-bubble);\n --office-popover: var(--office-teams-panel);\n }\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nbutton {\n font: inherit;\n color: inherit;\n cursor: pointer;\n}\n:focus-visible {\n outline: var(--office-focus-width) solid var(--office-ring);\n outline-offset: var(--office-focus-offset);\n}\n\n.shell {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr);\n height: 100%;\n}\n\n/* ---- top bar ---------------------------------------------------------------------------- */\n.topbar {\n display: grid;\n grid-template-columns: 16em minmax(0, 1fr) auto;\n align-items: center;\n gap: var(--office-space-4);\n padding: var(--office-space-2) var(--office-space-4);\n background: var(--office-teams-rail);\n border-bottom: var(--office-border-width) solid var(--office-teams-divider);\n}\n.brand {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n font-size: var(--office-font-size-lg);\n font-weight: var(--office-font-weight-bold);\n}\n.logo {\n display: inline-grid;\n place-items: center;\n width: 1.8em;\n height: 1.8em;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-size: 0.85em;\n}\n.search {\n position: relative;\n justify-self: center;\n width: min(34em, 100%);\n}\n.search input {\n width: 100%;\n padding: var(--office-space-2) var(--office-space-4);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-full);\n background: var(--office-background);\n color: inherit;\n font: inherit;\n}\n.results {\n position: absolute;\n inset-inline: 0;\n inset-block-start: calc(100% + var(--office-space-1));\n z-index: 5;\n max-height: 22em;\n margin: 0;\n padding: var(--office-space-1);\n overflow: auto;\n list-style: none;\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-popover);\n box-shadow: var(--office-shadow-teams);\n}\n.results button {\n display: grid;\n width: 100%;\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius);\n background: transparent;\n text-align: start;\n}\n.results button:hover {\n background: var(--office-selected);\n}\n.results .in,\n.results .none {\n color: var(--office-teams-text-subtle);\n font-size: var(--office-font-size-sm);\n}\n.results .none {\n padding: var(--office-space-3);\n}\n.snippet {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.me {\n display: flex;\n align-items: center;\n gap: var(--office-space-3);\n}\n.me office-ui-menu-button::part(caret) {\n display: none;\n}\n.channel-head office-ui-menu-button::part(caret) {\n display: none;\n}\n.channel-head svg {\n width: 1em;\n height: 1em;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n/* ---- body ------------------------------------------------------------------------------- */\n.body {\n display: grid;\n grid-template-columns: auto 19em minmax(0, 1fr);\n min-height: 0;\n grid-template-rows: minmax(0, 1fr);\n}\n.body > office-ui-app-rail {\n grid-column: 1;\n grid-row: 1;\n}\n.body > .side {\n grid-column: 2;\n grid-row: 1;\n}\n.body > .main {\n grid-column: 3;\n grid-row: 1;\n}\n.body > teams-settings {\n grid-column: 2 / -1;\n grid-row: 1;\n min-width: 0;\n min-height: 0;\n z-index: 1;\n}\n.body > teams-settings:not([open]) {\n display: none;\n}\n.body > [inert] {\n visibility: hidden;\n}\n.side {\n min-height: 0;\n overflow: auto;\n background: var(--office-teams-panel);\n border-inline-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.side h2 {\n margin: 0;\n padding: var(--office-space-3) var(--office-space-4);\n font-size: var(--office-font-size-lg);\n}\n.main {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n}\n.popout-view {\n display: flex;\n height: 100%;\n min-height: 0;\n}\n.popout-view teams-content-preview {\n flex: 1;\n}\n.main office-ui-chat-list,\n.main office-ui-prejoin {\n flex: 1;\n}\n\nul.plain {\n margin: 0;\n padding: 0 var(--office-space-3);\n list-style: none;\n}\nul.plain li {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n padding: var(--office-space-2) var(--office-space-2);\n}\nul.plain li > :first-child:not(office-ui-avatar) {\n flex: 1;\n}\n.hint {\n padding: 0 var(--office-space-4);\n color: var(--office-teams-text-subtle);\n}\n.join {\n padding: var(--office-space-1) var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n}\n.join.live {\n border-color: transparent;\n background: var(--office-call-live);\n color: var(--office-call-foreground);\n}\n\n/* ---- conversation ----------------------------------------------------------------------- */\n.channel-head {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-4);\n padding: var(--office-space-2) var(--office-space-5);\n border-bottom: var(--office-border-width) solid var(--office-teams-divider);\n}\n.channel-head > button:not(.meet),\n.thread-head button {\n padding: var(--office-space-2) var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n}\n.channel-head > button:hover:not(:disabled),\n.thread-head button:hover {\n background: var(--office-selected);\n}\n.channel-head > button:disabled {\n opacity: 0.5;\n cursor: default;\n}\n.channel-head h1 {\n margin: 0;\n font-size: var(--office-font-size-lg);\n white-space: nowrap;\n}\n.hash {\n color: var(--office-teams-text-subtle);\n}\n.tabs {\n display: flex;\n gap: var(--office-space-1);\n}\n.tabs button {\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-bottom: var(--office-border-width-thick) solid transparent;\n background: transparent;\n}\n.tabs button[aria-selected='true'] {\n border-bottom-color: var(--office-teams-brand);\n font-weight: var(--office-font-weight-bold);\n}\n.topic {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--office-teams-text-subtle);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.people {\n display: flex;\n align-items: center;\n gap: var(--office-space-0);\n}\n.more {\n margin-inline-start: var(--office-space-1);\n color: var(--office-teams-text-subtle);\n font-size: var(--office-font-size-sm);\n}\n.meet {\n padding: var(--office-space-2) var(--office-space-4);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-weight: var(--office-font-weight-bold);\n}\n.meet:hover:not(:disabled) {\n background: var(--office-teams-brand-hover);\n}\n.meet:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.callbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: var(--office-space-2) var(--office-space-5);\n background: var(--office-call-live);\n color: var(--office-call-foreground);\n}\n.callbar button {\n padding: 0 var(--office-space-3);\n border: var(--office-border-width) solid currentColor;\n border-radius: var(--office-radius);\n background: transparent;\n}\n\n/* ---- files ------------------------------------------------------------------------------ */\n/* ---- meeting ---------------------------------------------------------------------------- */\n.meeting {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr);\n height: 100%;\n background: var(--office-call-background);\n}\n.stage {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n min-height: 0;\n}\n.panel {\n display: flex;\n flex-direction: column;\n width: 22em;\n min-height: 0;\n background: var(--office-background);\n border-inline-start: var(--office-border-width) solid var(--office-teams-divider);\n}\n.panel office-ui-chat-list {\n flex: 1;\n padding-inline: var(--office-space-3);\n}\n.panel office-ui-chat-composer {\n padding-inline: var(--office-space-3);\n}\n.people-panel h2 {\n margin: 0;\n padding: var(--office-space-3) var(--office-space-4);\n font-size: var(--office-font-size-lg);\n}\n\n/* ---- welcome and toast ------------------------------------------------------------------ */\n.welcome {\n display: grid;\n place-items: center;\n height: 100%;\n background: var(--office-teams-panel);\n}\n.welcome form {\n display: grid;\n justify-items: center;\n gap: var(--office-space-3);\n width: min(24em, 90%);\n padding: var(--office-space-6);\n border-radius: var(--office-radius-lg);\n background: var(--office-background);\n box-shadow: var(--office-shadow-teams);\n}\n.welcome h1 {\n margin: 0;\n font-size: var(--office-font-size-xl);\n}\n.welcome p {\n margin: 0;\n color: var(--office-teams-text-subtle);\n}\n.welcome input {\n width: 100%;\n padding: var(--office-space-3);\n border: var(--office-border-width) solid var(--office-field-border);\n border-radius: var(--office-radius);\n background: var(--office-field-background);\n color: inherit;\n font: inherit;\n}\n.welcome button {\n width: 100%;\n padding: var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-weight: var(--office-font-weight-bold);\n}\n.toast {\n position: fixed;\n inset-block-end: var(--office-space-4);\n inset-inline-start: 50%;\n z-index: 10;\n transform: translateX(-50%);\n padding: var(--office-space-2) var(--office-space-4);\n border-radius: var(--office-radius-md);\n background: var(--office-call-background);\n color: var(--office-call-foreground);\n}\n\n.conversation-grid {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n flex: 1;\n min-height: 0;\n}\n.conversation-grid[data-thread='true'] {\n grid-template-columns: minmax(0, 1fr) minmax(18em, 0.8fr);\n}\n.conversation-main,\n.thread-pane {\n display: flex;\n flex-direction: column;\n min-height: 0;\n min-width: 0;\n}\n.tab-conversation teams-channel-tab {\n flex: 1;\n min-height: 0;\n}\n.thread-pane {\n border-inline-start: var(--office-border-width) solid var(--office-teams-divider);\n}\n.thread-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--office-space-3);\n padding: var(--office-space-3);\n}\n.thread-head h2 {\n margin: 0;\n font-size: 1em;\n}\n.followed-threads {\n overflow: auto;\n padding: var(--office-space-4);\n}\n.message-transfer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-3);\n background: var(--office-teams-panel);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.message-transfer span {\n flex: 1;\n overflow-wrap: anywhere;\n}\n.message-transfer button {\n font: inherit;\n color: inherit;\n background: var(--office-background);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n padding: var(--office-space-2) var(--office-space-3);\n cursor: pointer;\n}\n.followed-threads ul {\n list-style: none;\n padding: 0;\n}\n.followed-threads fieldset {\n display: flex;\n flex-wrap: wrap;\n gap: var(--office-space-4);\n padding: var(--office-space-3);\n margin-block: var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n}\n.followed-threads li {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-3);\n padding-block: var(--office-space-3);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.followed-threads button {\n font: inherit;\n color: inherit;\n background: var(--office-background);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n padding: var(--office-space-2) var(--office-space-3);\n cursor: pointer;\n}\n.followed-threads button:hover {\n background: var(--office-selected);\n}\n.followed-threads li button:first-child {\n display: grid;\n gap: var(--office-space-2);\n flex: 1;\n text-align: start;\n min-width: 0;\n overflow-wrap: anywhere;\n border-color: transparent;\n}\n.followed-threads li[data-unread='true'] button:first-child span {\n font-weight: var(--office-font-weight-bold);\n}\n@media (max-width: 56em) {\n .conversation-grid[data-thread='true'] {\n grid-template-columns: minmax(0, 1fr);\n }\n .conversation-grid[data-thread='true'] .conversation-main {\n display: none;\n }\n}\n.tabs {\n overflow-x: auto;\n min-width: 0;\n flex: 1 1 16em;\n}\n\n.channel-head > .back {\n display: none;\n}\n\n/* ---- compact shell ---------------------------------------------------------------------- */\n/* Below 56em the app rail is a bottom bar, the channel list is its own full-screen view and the\n conversation (or any other content) fills the width with a back button to the list. */\n@media (max-width: 56em) {\n .brand {\n display: none;\n }\n .topbar {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: var(--office-space-2);\n }\n .search {\n width: 100%;\n }\n .channel-head {\n gap: var(--office-space-2);\n padding-inline: var(--office-space-3);\n }\n .channel-head > .back {\n display: inline-flex;\n border-color: transparent;\n }\n .channel-head .topic,\n .channel-head .people {\n display: none;\n }\n .channel-head .tabs {\n flex-basis: 100%;\n order: 1;\n }\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: minmax(0, 1fr) auto;\n }\n .body > office-ui-app-rail {\n grid-column: 1;\n grid-row: 2;\n }\n .body > .side,\n .body > .main,\n .body > teams-settings {\n grid-column: 1;\n grid-row: 1;\n }\n .side {\n border-inline-end: 0;\n }\n .shell[data-mobile-view='list'] .main,\n .shell[data-mobile-view='content'] .side {\n display: none;\n }\n}\n/* Phone landscape has little height: keep the chrome to one thin row each. */\n@media (max-width: 56em) and (max-height: 30em) {\n .topbar {\n padding-block: var(--office-space-1);\n }\n .channel-head {\n flex-wrap: nowrap;\n padding-block: var(--office-space-1);\n }\n .channel-head .tabs {\n flex: 1 1 0;\n order: 0;\n }\n .channel-head h1 {\n font-size: var(--office-font-size);\n }\n}\n/* Touch: every control in the shell reaches the minimum hit target. */\n@media (pointer: coarse) {\n .channel-head > button,\n .meet,\n .tabs button,\n .join,\n .thread-head button,\n .callbar button {\n min-width: var(--office-touch-target, 44px);\n min-height: var(--office-touch-target, 44px);\n }\n}\n\n/* An application host can own the single suite-level account control. */\n:host([host-profile]) teams-profile-menu {\n display: none;\n}\n\n/* ---- activity ---------------------------------------------------------------------------- */\n.side > office-ui-activity-feed {\n height: 100%;\n}\n/* Toasts for new activity stack at the top right, under the header, so they never cover the\n compose box; on phones they are full-width banners below the header. */\n.activity-toasts {\n position: fixed;\n inset-block-start: 8em;\n inset-inline-end: var(--office-space-4);\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: var(--office-space-2);\n width: min(28em, calc(100% - var(--office-space-5)));\n pointer-events: none;\n}\n.activity-toast {\n display: flex;\n align-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-2) var(--office-space-3) var(--office-space-2) var(--office-space-4);\n border-radius: var(--office-radius-md);\n background: var(--office-call-background);\n color: var(--office-call-foreground);\n box-shadow: var(--office-shadow-teams);\n pointer-events: auto;\n}\n@media (max-width: 40em) {\n .activity-toasts {\n inset-block-start: 4.6em;\n inset-inline: var(--office-space-2);\n width: auto;\n }\n}\n.activity-toast .toast-text {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-width: 0;\n}\n.activity-toast .toast-text > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.activity-toast .toast-preview {\n opacity: 0.8;\n font-size: var(--office-font-size-sm);\n}\n.activity-toast button {\n flex: none;\n padding: var(--office-space-1) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius);\n background: transparent;\n color: inherit;\n font-weight: var(--office-font-weight-bold);\n}\n.activity-toast button:hover {\n background: var(--office-selected);\n}\n.activity-toast button svg {\n width: 1em;\n height: 1em;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n@media (pointer: coarse) {\n .activity-toast button {\n min-width: var(--office-touch-target, 44px);\n min-height: var(--office-touch-target, 44px);\n }\n}\n\n/* ---- chat and calendar ------------------------------------------------------------------ */\n.calendar-back svg,\n.show-calendar svg,\n.group-mark svg,\n.chat-head .chat-people svg {\n width: 1.25em;\n height: 1.25em;\n flex: none;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n.chat-head office-ui-avatar {\n flex: none;\n}\n.group-mark {\n display: grid;\n flex: none;\n place-items: center;\n width: 2.3em;\n height: 2.3em;\n border-radius: var(--office-radius-full);\n background: var(--office-teams-bubble);\n color: var(--office-teams-brand);\n}\n.chat-head .chat-people {\n display: inline-flex;\n align-items: center;\n gap: var(--office-space-2);\n}\n.empty-main {\n display: grid;\n flex: 1;\n place-content: center;\n justify-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-6);\n color: var(--office-teams-text-subtle);\n text-align: center;\n}\n.empty-main button {\n padding: var(--office-space-2) var(--office-space-4);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font: inherit;\n}\n.main > office-ui-calendar-view {\n flex: 1;\n min-height: 0;\n}\n.calendar-back {\n display: none;\n}\n@media (max-width: 56em) {\n .calendar-back {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n padding: var(--office-space-2) var(--office-space-3);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n }\n .calendar-back button {\n display: inline-flex;\n align-items: center;\n gap: var(--office-space-2);\n min-height: var(--office-touch-target, 44px);\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius-md);\n background: transparent;\n }\n .chat-head .chat-people {\n min-width: var(--office-touch-target, 44px);\n }\n}\n.show-calendar {\n display: none;\n}\n@media (max-width: 56em) {\n .show-calendar {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--office-space-2);\n width: calc(100% - 2 * var(--office-space-4));\n min-height: var(--office-touch-target, 44px);\n margin: var(--office-space-3) var(--office-space-4);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n }\n}\n";
3599
+ var teams_app_default = "/* <teams-app>: the shell. Colours, spacing and radii come from the ooxml-ui tokens, so a host\n retheme or dark mode reaches the whole app. The elements inside bring their own styles. */\n:host {\n display: block;\n height: 100%;\n min-height: 28em;\n font: var(--office-font-size) var(--office-font);\n color: var(--office-foreground);\n background: var(--office-background);\n}\n:host([data-office-theme='dark']) {\n --office-background: var(--office-teams-panel);\n --office-surface: var(--office-teams-bubble);\n --office-popover: var(--office-teams-panel);\n}\n:host([data-chat-density='compact']) {\n --office-teams-message-gap: var(--office-space-1);\n --office-teams-message-padding: var(--office-space-1) var(--office-space-2);\n}\n@media (prefers-color-scheme: dark) {\n :host(:not([data-office-theme='light'])) {\n --office-background: var(--office-teams-panel);\n --office-surface: var(--office-teams-bubble);\n --office-popover: var(--office-teams-panel);\n }\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nbutton {\n font: inherit;\n color: inherit;\n cursor: pointer;\n}\n:focus-visible {\n outline: var(--office-focus-width) solid var(--office-ring);\n outline-offset: var(--office-focus-offset);\n}\n\n.shell {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr);\n height: 100%;\n}\n\n/* ---- top bar ---------------------------------------------------------------------------- */\n.topbar {\n display: grid;\n grid-template-columns: 16em minmax(0, 1fr) auto;\n align-items: center;\n gap: var(--office-space-4);\n padding: var(--office-space-2) var(--office-space-4);\n background: var(--office-teams-rail);\n border-bottom: var(--office-border-width) solid var(--office-teams-divider);\n}\n.brand {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n font-size: var(--office-font-size-lg);\n font-weight: var(--office-font-weight-bold);\n}\n.logo {\n display: inline-grid;\n place-items: center;\n width: 1.8em;\n height: 1.8em;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-size: 0.85em;\n}\n.search {\n position: relative;\n justify-self: center;\n width: min(34em, 100%);\n}\n.search input {\n width: 100%;\n padding: var(--office-space-2) var(--office-space-4);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-full);\n background: var(--office-background);\n color: inherit;\n font: inherit;\n}\n.results {\n position: absolute;\n inset-inline: 0;\n inset-block-start: calc(100% + var(--office-space-1));\n z-index: 5;\n max-height: 22em;\n margin: 0;\n padding: var(--office-space-1);\n overflow: auto;\n list-style: none;\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-popover);\n box-shadow: var(--office-shadow-teams);\n}\n.results button {\n display: grid;\n width: 100%;\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius);\n background: transparent;\n text-align: start;\n}\n.results button:hover {\n background: var(--office-selected);\n}\n.results .in,\n.results .none {\n color: var(--office-teams-text-subtle);\n font-size: var(--office-font-size-sm);\n}\n.results .none {\n padding: var(--office-space-3);\n}\n.snippet {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.me {\n display: flex;\n align-items: center;\n gap: var(--office-space-3);\n}\n.me office-ui-menu-button::part(caret) {\n display: none;\n}\n.channel-head office-ui-menu-button::part(caret) {\n display: none;\n}\n.channel-head svg {\n width: 1em;\n height: 1em;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n/* ---- body ------------------------------------------------------------------------------- */\n.body {\n display: grid;\n grid-template-columns: auto 19em minmax(0, 1fr);\n min-height: 0;\n grid-template-rows: minmax(0, 1fr);\n}\n.body > office-ui-app-rail {\n grid-column: 1;\n grid-row: 1;\n}\n.body > .side {\n grid-column: 2;\n grid-row: 1;\n}\n.body > .main {\n grid-column: 3;\n grid-row: 1;\n}\n.body > teams-settings {\n grid-column: 2 / -1;\n grid-row: 1;\n min-width: 0;\n min-height: 0;\n z-index: 1;\n}\n.body > teams-settings:not([open]) {\n display: none;\n}\n.body > [inert] {\n visibility: hidden;\n}\n.side {\n min-height: 0;\n overflow: auto;\n background: var(--office-teams-panel);\n border-inline-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.side h2 {\n margin: 0;\n padding: var(--office-space-3) var(--office-space-4);\n font-size: var(--office-font-size-lg);\n}\n.main {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n}\n.popout-view {\n display: flex;\n height: 100%;\n min-height: 0;\n}\n.popout-view teams-content-preview {\n flex: 1;\n}\n.main office-ui-chat-list,\n.main office-ui-prejoin {\n flex: 1;\n}\n\nul.plain {\n margin: 0;\n padding: 0 var(--office-space-3);\n list-style: none;\n}\nul.plain li {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n padding: var(--office-space-2) var(--office-space-2);\n}\nul.plain li > :first-child:not(office-ui-avatar) {\n flex: 1;\n}\n.hint {\n padding: 0 var(--office-space-4);\n color: var(--office-teams-text-subtle);\n}\n.join {\n padding: var(--office-space-1) var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n}\n.join.live {\n border-color: transparent;\n background: var(--office-call-live);\n color: var(--office-call-foreground);\n}\n\n/* ---- conversation ----------------------------------------------------------------------- */\n.channel-head {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-4);\n padding: var(--office-space-2) var(--office-space-5);\n border-bottom: var(--office-border-width) solid var(--office-teams-divider);\n}\n.channel-head > button:not(.meet),\n.thread-head button {\n padding: var(--office-space-2) var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n}\n.channel-head > button:hover:not(:disabled),\n.thread-head button:hover {\n background: var(--office-selected);\n}\n.channel-head > button:disabled {\n opacity: 0.5;\n cursor: default;\n}\n.channel-head h1 {\n margin: 0;\n font-size: var(--office-font-size-lg);\n white-space: nowrap;\n}\n.hash {\n color: var(--office-teams-text-subtle);\n}\n.tabs {\n display: flex;\n gap: var(--office-space-1);\n}\n.tabs button {\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-bottom: var(--office-border-width-thick) solid transparent;\n background: transparent;\n}\n.tabs button[aria-selected='true'] {\n border-bottom-color: var(--office-teams-brand);\n font-weight: var(--office-font-weight-bold);\n}\n.topic {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--office-teams-text-subtle);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.people {\n display: flex;\n align-items: center;\n gap: var(--office-space-0);\n}\n.more {\n margin-inline-start: var(--office-space-1);\n color: var(--office-teams-text-subtle);\n font-size: var(--office-font-size-sm);\n}\n.meet {\n padding: var(--office-space-2) var(--office-space-4);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-weight: var(--office-font-weight-bold);\n}\n.meet:hover:not(:disabled) {\n background: var(--office-teams-brand-hover);\n}\n.meet:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.callbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: var(--office-space-2) var(--office-space-5);\n background: var(--office-call-live);\n color: var(--office-call-foreground);\n}\n.callbar button {\n padding: 0 var(--office-space-3);\n border: var(--office-border-width) solid currentColor;\n border-radius: var(--office-radius);\n background: transparent;\n}\n\n/* ---- files ------------------------------------------------------------------------------ */\n/* ---- meeting ---------------------------------------------------------------------------- */\n.meeting {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr);\n height: 100%;\n background: var(--office-call-background);\n}\n.stage {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n min-height: 0;\n}\n.panel {\n display: flex;\n flex-direction: column;\n width: 22em;\n min-height: 0;\n background: var(--office-background);\n border-inline-start: var(--office-border-width) solid var(--office-teams-divider);\n}\n.panel office-ui-chat-list {\n flex: 1;\n padding-inline: var(--office-space-3);\n}\n.panel office-ui-chat-composer {\n padding-inline: var(--office-space-3);\n}\n.people-panel h2 {\n margin: 0;\n padding: var(--office-space-3) var(--office-space-4);\n font-size: var(--office-font-size-lg);\n}\n\n/* ---- welcome and toast ------------------------------------------------------------------ */\n.welcome {\n display: grid;\n place-items: center;\n height: 100%;\n background: var(--office-teams-panel);\n}\n.welcome form {\n display: grid;\n justify-items: center;\n gap: var(--office-space-3);\n width: min(24em, 90%);\n padding: var(--office-space-6);\n border-radius: var(--office-radius-lg);\n background: var(--office-background);\n box-shadow: var(--office-shadow-teams);\n}\n.welcome h1 {\n margin: 0;\n font-size: var(--office-font-size-xl);\n}\n.welcome p {\n margin: 0;\n color: var(--office-teams-text-subtle);\n}\n.welcome input {\n width: 100%;\n padding: var(--office-space-3);\n border: var(--office-border-width) solid var(--office-field-border);\n border-radius: var(--office-radius);\n background: var(--office-field-background);\n color: inherit;\n font: inherit;\n}\n.welcome button {\n width: 100%;\n padding: var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font-weight: var(--office-font-weight-bold);\n}\n.toast {\n position: fixed;\n inset-block-end: var(--office-space-4);\n inset-inline-start: 50%;\n z-index: 10;\n transform: translateX(-50%);\n padding: var(--office-space-2) var(--office-space-4);\n border-radius: var(--office-radius-md);\n background: var(--office-call-background);\n color: var(--office-call-foreground);\n}\n\n.conversation-grid {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n flex: 1;\n min-height: 0;\n}\n.conversation-grid[data-thread='true'] {\n grid-template-columns: minmax(0, 1fr) minmax(18em, 0.8fr);\n}\n.conversation-main,\n.thread-pane {\n display: flex;\n flex-direction: column;\n min-height: 0;\n min-width: 0;\n}\n.tab-conversation teams-channel-tab {\n flex: 1;\n min-height: 0;\n}\n.thread-pane {\n border-inline-start: var(--office-border-width) solid var(--office-teams-divider);\n}\n.thread-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--office-space-3);\n padding: var(--office-space-3);\n}\n.thread-head h2 {\n margin: 0;\n font-size: 1em;\n}\n.followed-threads {\n overflow: auto;\n padding: var(--office-space-4);\n}\n.message-transfer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-3);\n background: var(--office-teams-panel);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.message-transfer span {\n flex: 1;\n overflow-wrap: anywhere;\n}\n.message-transfer button {\n font: inherit;\n color: inherit;\n background: var(--office-background);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n padding: var(--office-space-2) var(--office-space-3);\n cursor: pointer;\n}\n.followed-threads ul {\n list-style: none;\n padding: 0;\n}\n.followed-threads fieldset {\n display: flex;\n flex-wrap: wrap;\n gap: var(--office-space-4);\n padding: var(--office-space-3);\n margin-block: var(--office-space-3);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n}\n.followed-threads li {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--office-space-3);\n padding-block: var(--office-space-3);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n}\n.followed-threads button {\n font: inherit;\n color: inherit;\n background: var(--office-background);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n padding: var(--office-space-2) var(--office-space-3);\n cursor: pointer;\n}\n.followed-threads button:hover {\n background: var(--office-selected);\n}\n.followed-threads li button:first-child {\n display: grid;\n gap: var(--office-space-2);\n flex: 1;\n text-align: start;\n min-width: 0;\n overflow-wrap: anywhere;\n border-color: transparent;\n}\n.followed-threads li[data-unread='true'] button:first-child span {\n font-weight: var(--office-font-weight-bold);\n}\n@media (max-width: 56em) {\n .conversation-grid[data-thread='true'] {\n grid-template-columns: minmax(0, 1fr);\n }\n .conversation-grid[data-thread='true'] .conversation-main {\n display: none;\n }\n}\n.tabs {\n overflow-x: auto;\n min-width: 0;\n flex: 1 1 16em;\n}\n\n.channel-head > .back {\n display: none;\n}\n\n/* ---- compact shell ---------------------------------------------------------------------- */\n/* Below 56em the app rail is a bottom bar, the channel list is its own full-screen view and the\n conversation (or any other content) fills the width with a back button to the list. */\n@media (max-width: 56em) {\n .brand {\n display: none;\n }\n .topbar {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: var(--office-space-2);\n }\n .search {\n width: 100%;\n }\n .channel-head {\n gap: var(--office-space-2);\n padding-inline: var(--office-space-3);\n }\n .channel-head > .back {\n display: inline-flex;\n border-color: transparent;\n }\n .channel-head .topic,\n .channel-head .people {\n display: none;\n }\n .channel-head .tabs {\n flex-basis: 100%;\n order: 1;\n }\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: minmax(0, 1fr) auto;\n }\n .body > office-ui-app-rail {\n grid-column: 1;\n grid-row: 2;\n }\n .body > .side,\n .body > .main,\n .body > teams-settings {\n grid-column: 1;\n grid-row: 1;\n }\n .side {\n border-inline-end: 0;\n }\n .shell[data-mobile-view='list'] .main,\n .shell[data-mobile-view='content'] .side {\n display: none;\n }\n}\n/* Phone landscape has little height: keep the chrome to one thin row each. */\n@media (max-width: 56em) and (max-height: 30em) {\n .topbar {\n padding-block: var(--office-space-1);\n }\n .channel-head {\n flex-wrap: nowrap;\n padding-block: var(--office-space-1);\n }\n .channel-head .tabs {\n flex: 1 1 0;\n order: 0;\n }\n .channel-head h1 {\n font-size: var(--office-font-size);\n }\n}\n/* Touch: every control in the shell reaches the minimum hit target. */\n@media (pointer: coarse) {\n .channel-head > button,\n .meet,\n .tabs button,\n .join,\n .thread-head button,\n .callbar button {\n min-width: var(--office-touch-target, 44px);\n min-height: var(--office-touch-target, 44px);\n }\n}\n\n/* An application host can own the single suite-level account control. */\n:host([host-profile]) teams-profile-menu {\n display: none;\n}\n\n/* ---- activity ---------------------------------------------------------------------------- */\n.side > office-ui-activity-feed {\n height: 100%;\n}\n/* Toasts for new activity stack at the top right, under the header, so they never cover the\n compose box; on phones they are full-width banners below the header. */\n.activity-toasts {\n position: fixed;\n inset-block-start: 8em;\n inset-inline-end: var(--office-space-4);\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: var(--office-space-2);\n width: min(28em, calc(100% - var(--office-space-5)));\n pointer-events: none;\n}\n.activity-toast {\n display: flex;\n align-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-2) var(--office-space-3) var(--office-space-2) var(--office-space-4);\n border-radius: var(--office-radius-md);\n background: var(--office-call-background);\n color: var(--office-call-foreground);\n box-shadow: var(--office-shadow-teams);\n pointer-events: auto;\n}\n@media (max-width: 40em) {\n .activity-toasts {\n inset-block-start: 4.6em;\n inset-inline: var(--office-space-2);\n width: auto;\n }\n}\n.activity-toast .toast-text {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-width: 0;\n}\n.activity-toast .toast-text > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.activity-toast .toast-preview {\n opacity: 0.8;\n font-size: var(--office-font-size-sm);\n}\n.activity-toast button {\n flex: none;\n padding: var(--office-space-1) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius);\n background: transparent;\n color: inherit;\n font-weight: var(--office-font-weight-bold);\n}\n.activity-toast button:hover {\n background: var(--office-selected);\n}\n.activity-toast button svg {\n width: 1em;\n height: 1em;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n@media (pointer: coarse) {\n .activity-toast button {\n min-width: var(--office-touch-target, 44px);\n min-height: var(--office-touch-target, 44px);\n }\n}\n\n/* ---- chat and calendar ------------------------------------------------------------------ */\n.calendar-back svg,\n.show-calendar svg,\n.group-mark svg,\n.chat-head .chat-people svg {\n width: 1.25em;\n height: 1.25em;\n flex: none;\n fill: none;\n stroke: currentColor;\n stroke-width: var(--office-icon-stroke);\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n.chat-head office-ui-avatar {\n flex: none;\n}\n.group-mark {\n display: grid;\n flex: none;\n place-items: center;\n width: 2.3em;\n height: 2.3em;\n border-radius: var(--office-radius-full);\n background: var(--office-teams-bubble);\n color: var(--office-teams-brand);\n}\n.chat-head .chat-people {\n display: inline-flex;\n align-items: center;\n gap: var(--office-space-2);\n}\n.empty-main {\n display: grid;\n flex: 1;\n place-content: center;\n justify-items: center;\n gap: var(--office-space-3);\n padding: var(--office-space-6);\n color: var(--office-teams-text-subtle);\n text-align: center;\n}\n.empty-main button {\n padding: var(--office-space-2) var(--office-space-4);\n border: 0;\n border-radius: var(--office-radius-md);\n background: var(--office-teams-brand);\n color: var(--office-teams-brand-foreground);\n font: inherit;\n}\n.main > office-ui-calendar-view {\n flex: 1;\n min-height: 0;\n}\n.calendar-back {\n display: none;\n}\n@media (max-width: 56em) {\n .calendar-back {\n display: flex;\n align-items: center;\n gap: var(--office-space-2);\n padding: var(--office-space-2) var(--office-space-3);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n }\n .calendar-back button {\n display: inline-flex;\n align-items: center;\n gap: var(--office-space-2);\n min-height: var(--office-touch-target, 44px);\n padding: var(--office-space-2) var(--office-space-3);\n border: 0;\n border-radius: var(--office-radius-md);\n background: transparent;\n }\n .chat-head .chat-people {\n min-width: var(--office-touch-target, 44px);\n }\n}\n.show-calendar {\n display: none;\n}\n@media (max-width: 56em) {\n .show-calendar {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--office-space-2);\n width: calc(100% - 2 * var(--office-space-4));\n min-height: var(--office-touch-target, 44px);\n margin: var(--office-space-3) var(--office-space-4);\n border: var(--office-border-width) solid var(--office-teams-divider);\n border-radius: var(--office-radius-md);\n background: var(--office-background);\n }\n}\n\n.shell:has(> .schema-banner) {\n grid-template-rows: auto auto minmax(0, 1fr);\n}\n/* The workspace was written by a newer release: read-only, with the reason always visible. */\n.schema-banner {\n padding: var(--office-space-2) var(--office-space-4);\n border-block-end: var(--office-border-width) solid var(--office-teams-divider);\n background: var(--office-teams-panel);\n color: var(--office-foreground);\n font-size: var(--office-font-size-sm);\n}\n";
3576
3600
  function threadPane(state, client, openFile, close, highlightId = "", i18n = teamsI18n()) {
3577
3601
  const thread = state.thread;
3578
3602
  if (!thread) return nothing;
@@ -3592,13 +3616,14 @@ function threadPane(state, client, openFile, close, highlightId = "", i18n = tea
3592
3616
  .messages=${[thread.root, ...thread.replies]}
3593
3617
  .pinnedIds=${state.pinned.map((p) => p.message.id)}
3594
3618
  self-id=${state.user.id}
3619
+ ?moderator=${state.moderator}
3595
3620
  .highlightId=${highlightId}
3596
3621
  @office-chat-pin=${(e) => client.pinMessage(e.detail.messageId)}
3597
3622
  @office-chat-unpin=${(e) => client.unpinMessage(e.detail.messageId)}
3598
3623
  @office-chat-react=${(e) => client.toggleReaction(e.detail.messageId, e.detail.emoji)}
3599
3624
  @office-chat-reply=${(e) => client.startReply(e.detail.messageId)}
3600
3625
  @office-chat-edit=${(e) => client.startEdit(e.detail.messageId)}
3601
- @office-chat-delete=${(e) => globalThis.confirm?.(t("chat.confirmDelete")) !== false && client.deleteMessage(e.detail.messageId)}
3626
+ @office-chat-delete=${(e) => globalThis.confirm?.(t(e.detail.moderation ? "chat.confirmHide" : "chat.confirmDelete")) !== false && client.deleteMessage(e.detail.messageId)}
3602
3627
  @office-chat-open-file=${(e) => openFile(e.detail.attachment)}
3603
3628
  ></office-ui-chat-list>
3604
3629
  <office-ui-chat-composer
@@ -3913,7 +3938,7 @@ var TeamsProfileMenu = class extends TeamsLitElement {
3913
3938
  <div class="who">
3914
3939
  <strong>${state.user.name}</strong>
3915
3940
  <span class="status-line"
3916
- >${this.t(STATUS_KEY[state.availability])}${state.presence.idle && state.presence.status === "available" ? ` ${this.t("profile.idle")}` : ""}</span
3941
+ >${state.presence.activity === "meeting" ? this.t("presence.inMeeting") : this.t(STATUS_KEY[state.availability])}${state.presence.idle && state.presence.status === "available" && !state.presence.activity ? ` ${this.t("profile.idle")}` : ""}</span
3917
3942
  >
3918
3943
  ${presence.message ? html`<span class="message">${presence.message}</span>` : nothing}
3919
3944
  </div>
@@ -4941,6 +4966,7 @@ var TeamsChatPeopleDialog = class extends TeamsDialog {
4941
4966
  ...TeamsDialog.properties,
4942
4967
  chat: { attribute: false },
4943
4968
  contacts: { attribute: false },
4969
+ moderator: { type: Boolean },
4944
4970
  name: { state: true },
4945
4971
  adding: { state: true }
4946
4972
  };
@@ -4948,6 +4974,7 @@ var TeamsChatPeopleDialog = class extends TeamsDialog {
4948
4974
  super();
4949
4975
  this.chat = null;
4950
4976
  this.contacts = [];
4977
+ this.moderator = false;
4951
4978
  this.name = "";
4952
4979
  this.adding = [];
4953
4980
  }
@@ -4993,7 +5020,7 @@ var TeamsChatPeopleDialog = class extends TeamsDialog {
4993
5020
  <span class="name"
4994
5021
  >${m.self ? this.t("common.nameYou", { name: m.name }) : m.name}</span
4995
5022
  >
4996
- ${group && !m.self && chat.members.length > 1 ? html`<button
5023
+ ${group && !m.self && this.moderator && chat.members.length > 1 ? html`<button
4997
5024
  type="button"
4998
5025
  aria-label=${this.t("people.remove", { name: m.name })}
4999
5026
  @click=${() => this.fire("teams-chat-remove", { id: chat.id, userId: m.id })}
@@ -5527,7 +5554,7 @@ function chatHeader(chat, on, i18n = teamsI18n()) {
5527
5554
  const { t } = i18n;
5528
5555
  const other = chat.kind === "direct" ? chat.members.find((m) => !m.self) : void 0;
5529
5556
  const online = chat.members.filter((m) => !m.self && m.availability !== "offline").length;
5530
- const topic = chat.kind === "direct" ? other ? t(PRESENCE_KEY2[other.availability]) : "" : online ? t("chat.peopleOnline", { count: chat.members.length, online }) : i18n.tn("chat.peopleCount", chat.members.length);
5557
+ const topic = chat.kind === "direct" ? other ? t(other.activity === "meeting" ? "presence.inMeeting" : PRESENCE_KEY2[other.availability]) : "" : online ? t("chat.peopleOnline", { count: chat.members.length, online }) : i18n.tn("chat.peopleCount", chat.members.length);
5531
5558
  return html`<header class="channel-head chat-head">
5532
5559
  <button
5533
5560
  type="button"
@@ -5792,6 +5819,7 @@ var TeamsApp = class extends TeamsLitElement {
5792
5819
  workspaceId,
5793
5820
  user: named,
5794
5821
  config: this.signIn.apply(base),
5822
+ moderator: account?.role === "moderator",
5795
5823
  storage: safeStorage,
5796
5824
  ...this.uploadFile ? { uploadFile: this.uploadFile } : {}
5797
5825
  });
@@ -5912,6 +5940,7 @@ var TeamsApp = class extends TeamsLitElement {
5912
5940
  super.disconnectedCallback();
5913
5941
  }
5914
5942
  createChannel() {
5943
+ if (this.teams.state && this.isLocked(this.teams.state)) return;
5915
5944
  this.creatingChannel = true;
5916
5945
  }
5917
5946
  commitChannel(name, description, client) {
@@ -6009,7 +6038,7 @@ var TeamsApp = class extends TeamsLitElement {
6009
6038
  else this.notify(this.t("app.tabGone"));
6010
6039
  }}
6011
6040
  >
6012
- ${this.topbar(s)}
6041
+ ${this.topbar(s)} ${this.schemaBanner(s)}
6013
6042
  <div class="body">
6014
6043
  <office-ui-app-rail
6015
6044
  .hideLabels=${!this.showAppNames}
@@ -6158,6 +6187,15 @@ var TeamsApp = class extends TeamsLitElement {
6158
6187
  </div>
6159
6188
  `;
6160
6189
  }
6190
+ /** A workspace written by a newer release is read-only here: say why instead of failing quietly. */
6191
+ isLocked(s) {
6192
+ return s.schema.state === "unsupported-schema";
6193
+ }
6194
+ schemaBanner(s) {
6195
+ return this.isLocked(s) ? html`<div class="schema-banner" role="alert" data-schema-banner>
6196
+ ${this.t("app.schemaTooNew")}
6197
+ </div>` : nothing;
6198
+ }
6161
6199
  topbar(s) {
6162
6200
  return html`
6163
6201
  <header class="topbar">
@@ -6265,7 +6303,7 @@ var TeamsApp = class extends TeamsLitElement {
6265
6303
  .chats=${s.chats}
6266
6304
  selected-id=${s.selectedChannelId}
6267
6305
  @office-chat-select=${(e) => this.selectChannel(e.detail.id)}
6268
- @office-chat-new=${() => this.newChat = true}
6306
+ @office-chat-new=${() => this.newChat = !this.isLocked(s)}
6269
6307
  ></office-ui-chat-sidebar>`;
6270
6308
  if (this.rail === "calendar")
6271
6309
  return html`<office-ui-calendar-agenda
@@ -6375,6 +6413,7 @@ var TeamsApp = class extends TeamsLitElement {
6375
6413
  const channel = s.channel;
6376
6414
  const chat = s.chats.find((x) => x.id === s.selectedChannelId);
6377
6415
  const c = this.teams.client;
6416
+ const w = this.isLocked(s) ? null : c;
6378
6417
  const compose = s.editing ?? s.replyingTo;
6379
6418
  const sharedTab = s.tabs.find((t) => t.id === this.tab);
6380
6419
  if (sharedTab) this.retainedTab = sharedTab;
@@ -6417,7 +6456,7 @@ var TeamsApp = class extends TeamsLitElement {
6417
6456
  aria-label=${this.t("app.addTab")}
6418
6457
  title=${this.t("app.addTab")}
6419
6458
  ?disabled=${!channel}
6420
- @click=${() => this.addingTab = !this.addingTab}
6459
+ @click=${() => this.addingTab = !this.addingTab && !this.isLocked(s)}
6421
6460
  >
6422
6461
  +
6423
6462
  </button>
@@ -6443,7 +6482,7 @@ var TeamsApp = class extends TeamsLitElement {
6443
6482
  >
6444
6483
  ${icon("chat")}
6445
6484
  </button>` : nothing}
6446
- ${sharedTab?.createdBy === s.user.id ? html`<office-ui-menu-button
6485
+ ${sharedTab && (sharedTab.createdBy === s.user.id || s.moderator) ? html`<office-ui-menu-button
6447
6486
  label=${this.t("app.tabOptions")}
6448
6487
  icon="more"
6449
6488
  icon-only
@@ -6471,6 +6510,32 @@ var TeamsApp = class extends TeamsLitElement {
6471
6510
  command="remove-tab"
6472
6511
  ></office-ui-menu-item
6473
6512
  ></office-ui-menu-button>` : nothing}
6513
+ ${channel && channel.kind === "channel" && (channel.createdBy === s.user.id || s.moderator) ? html`<office-ui-menu-button
6514
+ data-channel-options
6515
+ label=${this.t("app.channelOptions")}
6516
+ icon="more"
6517
+ icon-only
6518
+ @office-command=${(event) => {
6519
+ if (event.detail.command === "rename-channel") {
6520
+ const name = globalThis.prompt?.(this.t("app.channelNamePrompt"), channel.name)?.trim();
6521
+ if (name) c?.renameChannel(channel.id, name);
6522
+ } else if (event.detail.command === "archive-channel") {
6523
+ if (!this.canLeaveContent()) return;
6524
+ if (globalThis.confirm?.(
6525
+ this.t("app.confirmArchiveChannel", { name: channel.name })
6526
+ ) === true)
6527
+ c?.archiveChannel(channel.id);
6528
+ }
6529
+ }}
6530
+ ><office-ui-menu-item
6531
+ label=${this.t("app.renameChannel")}
6532
+ command="rename-channel"
6533
+ ></office-ui-menu-item
6534
+ ><office-ui-menu-item
6535
+ label=${this.t("app.archiveChannel")}
6536
+ command="archive-channel"
6537
+ ></office-ui-menu-item
6538
+ ></office-ui-menu-button>` : nothing}
6474
6539
  <span class="topic">${channel?.topic ?? ""}</span>
6475
6540
  <div class="people" aria-label=${this.t("app.peopleOnline")}>
6476
6541
  ${s.people.slice(0, 5).map((p) => html`<office-ui-avatar size="sm" name=${p.name} seed=${p.id} color=${p.color} presence=${p.availability}></office-ui-avatar>`)}
@@ -6513,23 +6578,24 @@ var TeamsApp = class extends TeamsLitElement {
6513
6578
  ${compact || s.pinned.length === 0 ? nothing : html`<teams-pinned-bar
6514
6579
  .pinned=${s.pinned}
6515
6580
  @teams-pinned-open=${(e) => void this.revealMessage(e.detail.messageId)}
6516
- @teams-pinned-unpin=${(e) => c?.unpinMessage(e.detail.messageId)}
6581
+ @teams-pinned-unpin=${(e) => w?.unpinMessage(e.detail.messageId)}
6517
6582
  ></teams-pinned-bar>`}
6518
6583
  <office-ui-chat-list
6519
6584
  .messages=${compact ? s.messages : s.posts}
6520
6585
  .replyCounts=${compact ? {} : s.replyCounts}
6521
6586
  .pinnedIds=${s.pinned.map((p) => p.message.id)}
6522
6587
  self-id=${s.user.id}
6588
+ ?moderator=${s.moderator}
6523
6589
  .highlightId=${this.highlightId}
6524
6590
  .meetings=${meetingCards(s.meetings, Date.now())}
6525
6591
  @office-chat-meeting=${(e) => e.detail.action === "join" ? void this.joinMeeting(e.detail.meetingId) : this.openMeeting(e.detail.meetingId)}
6526
- @office-chat-pin=${(e) => c?.pinMessage(e.detail.messageId)}
6527
- @office-chat-unpin=${(e) => c?.unpinMessage(e.detail.messageId)}
6528
- @office-chat-react=${(e) => c?.toggleReaction(e.detail.messageId, e.detail.emoji)}
6592
+ @office-chat-pin=${(e) => w?.pinMessage(e.detail.messageId)}
6593
+ @office-chat-unpin=${(e) => w?.unpinMessage(e.detail.messageId)}
6594
+ @office-chat-react=${(e) => w?.toggleReaction(e.detail.messageId, e.detail.emoji)}
6529
6595
  @office-chat-thread=${(e) => void this.openThread(e.detail.messageId)}
6530
- @office-chat-reply=${(e) => compact ? c?.startReply(e.detail.messageId) : void this.openThread(e.detail.messageId, "reply")}
6531
- @office-chat-edit=${(e) => compact ? c?.startEdit(e.detail.messageId) : void this.openThread(e.detail.messageId, "edit")}
6532
- @office-chat-delete=${(e) => globalThis.confirm?.(this.t("chat.confirmDelete")) !== false && c?.deleteMessage(e.detail.messageId)}
6596
+ @office-chat-reply=${(e) => compact ? w?.startReply(e.detail.messageId) : w ? void this.openThread(e.detail.messageId, "reply") : void 0}
6597
+ @office-chat-edit=${(e) => compact ? w?.startEdit(e.detail.messageId) : w ? void this.openThread(e.detail.messageId, "edit") : void 0}
6598
+ @office-chat-delete=${(e) => globalThis.confirm?.(this.t(e.detail.moderation ? "chat.confirmHide" : "chat.confirmDelete")) !== false && w?.deleteMessage(e.detail.messageId)}
6533
6599
  @office-chat-open-file=${(e) => this.openFile(e.detail.attachment)}
6534
6600
  ></office-ui-chat-list>
6535
6601
  ${s.thread && !compact ? nothing : html`<office-ui-chat-composer
@@ -6541,7 +6607,7 @@ var TeamsApp = class extends TeamsLitElement {
6541
6607
  .missingFiles=${s.draft.missingFiles}
6542
6608
  .mentionTargets=${s.mentionTargets}
6543
6609
  @office-chat-draft=${(e) => c?.setDraft(e.detail)}
6544
- ?disabled=${!channel}
6610
+ ?disabled=${!channel || !w}
6545
6611
  placeholder=${chat ? this.t("app.messageTo", { name: chat.title }) : channel ? this.t("app.messageTo", { name: `# ${channel.name}` }) : this.t("app.createChannelFirst")}
6546
6612
  @office-chat-typing=${() => c?.notifyTyping()}
6547
6613
  @office-chat-cancel=${() => c?.cancelCompose()}
@@ -6656,6 +6722,7 @@ var TeamsApp = class extends TeamsLitElement {
6656
6722
  ?open=${this.chatPeople && chat !== null}
6657
6723
  .chat=${chat}
6658
6724
  .contacts=${s.contacts}
6725
+ ?moderator=${s.moderator}
6659
6726
  @teams-chat-rename=${(e) => c?.renameChat(e.detail.id, e.detail.name)}
6660
6727
  @teams-chat-add=${(e) => c?.addToChat(e.detail.id, e.detail.userIds)}
6661
6728
  @teams-chat-remove=${(e) => c?.removeFromChat(e.detail.id, e.detail.userId)}
@@ -89,6 +89,8 @@ var deChat = {
89
89
  "chat.backToChats": "Zur\xFCck zu den Chats",
90
90
  "chat.call": "Anrufen",
91
91
  "chat.confirmDelete": "Diese Nachricht l\xF6schen?",
92
+ "chat.confirmHide": "Diese Nachricht f\xFCr alle ausblenden?",
93
+ "chat.hide": "Nachricht ausblenden",
92
94
  "chat.delete": "L\xF6schen",
93
95
  "chat.deleted": "Diese Nachricht wurde gel\xF6scht",
94
96
  "chat.edited": "(bearbeitet)",
@@ -513,6 +515,7 @@ var deShell = {
513
515
  "presence.available": "Verf\xFCgbar",
514
516
  "presence.busy": "Besch\xE4ftigt",
515
517
  "presence.dnd": "Nicht st\xF6ren",
518
+ "presence.inMeeting": "Besch\xE4ftigt \xB7 In einer Besprechung",
516
519
  "presence.brb": "Bin gleich zur\xFCck",
517
520
  "presence.away": "Abwesend",
518
521
  "presence.offline": "Offline",
@@ -612,6 +615,7 @@ var deShell = {
612
615
  "app.backToChannels": "Zur\xFCck zu den Kan\xE4len",
613
616
  "app.confirmRemoveTab": "{name} aus diesem Kanal entfernen?",
614
617
  "app.createChannelFirst": "Erstellen Sie zuerst einen Kanal",
618
+ "app.schemaTooNew": "Dieser Arbeitsbereich wurde mit einer neueren Version von OpenTeams erstellt und ist hier daher schreibgesch\xFCtzt. Aktualisieren Sie die App, um zu schreiben oder \xC4nderungen vorzunehmen.",
615
619
  "app.dismiss": "Schlie\xDFen",
616
620
  "app.downloadFailed": "Der Download konnte nicht gestartet werden",
617
621
  "app.inCall": "Sie sind in einem Anruf in {where}",
@@ -627,6 +631,11 @@ var deShell = {
627
631
  "app.pinNeedsUrl": "Diese Datei ben\xF6tigt eine hochgeladene URL, bevor sie angeheftet werden kann",
628
632
  "app.posts": "Beitr\xE4ge",
629
633
  "app.removeTab": "Registerkarte entfernen",
634
+ "app.archiveChannel": "Kanal archivieren",
635
+ "app.channelNamePrompt": "Kanalname",
636
+ "app.channelOptions": "Kanaloptionen",
637
+ "app.confirmArchiveChannel": "{name} archivieren? Der Kanal verschwindet f\xFCr alle.",
638
+ "app.renameChannel": "Kanal umbenennen",
630
639
  "app.renameTab": "Registerkarte umbenennen",
631
640
  "app.returnToCall": "Zur\xFCck zum Anruf",
632
641
  "app.settingsAndMore": "Einstellungen und mehr",
@@ -730,6 +739,8 @@ var enChat = {
730
739
  "chat.backToChats": "Back to chats",
731
740
  "chat.call": "Call",
732
741
  "chat.confirmDelete": "Delete this message?",
742
+ "chat.confirmHide": "Hide this message for everyone?",
743
+ "chat.hide": "Hide message",
733
744
  "chat.delete": "Delete",
734
745
  "chat.deleted": "This message was deleted",
735
746
  "chat.edited": "(edited)",
@@ -1154,6 +1165,7 @@ var enShell = {
1154
1165
  "presence.available": "Available",
1155
1166
  "presence.busy": "Busy",
1156
1167
  "presence.dnd": "Do not disturb",
1168
+ "presence.inMeeting": "Busy \xB7 In a meeting",
1157
1169
  "presence.brb": "Be right back",
1158
1170
  "presence.away": "Away",
1159
1171
  "presence.offline": "Offline",
@@ -1253,6 +1265,7 @@ var enShell = {
1253
1265
  "app.backToChannels": "Back to channels",
1254
1266
  "app.confirmRemoveTab": "Remove {name} from this channel?",
1255
1267
  "app.createChannelFirst": "Create a channel first",
1268
+ "app.schemaTooNew": "This workspace was created by a newer version of OpenTeams, so it is read-only here. Update the app to post or make changes.",
1256
1269
  "app.dismiss": "Dismiss",
1257
1270
  "app.downloadFailed": "Could not start the download",
1258
1271
  "app.inCall": "You are in a call in {where}",
@@ -1268,6 +1281,11 @@ var enShell = {
1268
1281
  "app.pinNeedsUrl": "This file needs an uploaded URL before it can be pinned",
1269
1282
  "app.posts": "Posts",
1270
1283
  "app.removeTab": "Remove tab",
1284
+ "app.archiveChannel": "Archive channel",
1285
+ "app.channelNamePrompt": "Channel name",
1286
+ "app.channelOptions": "Channel options",
1287
+ "app.confirmArchiveChannel": "Archive {name}? It disappears for everyone.",
1288
+ "app.renameChannel": "Rename channel",
1271
1289
  "app.renameTab": "Rename tab",
1272
1290
  "app.returnToCall": "Return to call",
1273
1291
  "app.settingsAndMore": "Settings and more",
@@ -1371,6 +1389,8 @@ var esChat = {
1371
1389
  "chat.backToChats": "Volver a los chats",
1372
1390
  "chat.call": "Llamar",
1373
1391
  "chat.confirmDelete": "\xBFEliminar este mensaje?",
1392
+ "chat.confirmHide": "\xBFOcultar este mensaje para todos?",
1393
+ "chat.hide": "Ocultar mensaje",
1374
1394
  "chat.delete": "Eliminar",
1375
1395
  "chat.deleted": "Este mensaje se elimin\xF3",
1376
1396
  "chat.edited": "(editado)",
@@ -1795,6 +1815,7 @@ var esShell = {
1795
1815
  "presence.available": "Disponible",
1796
1816
  "presence.busy": "Ocupado",
1797
1817
  "presence.dnd": "No molestar",
1818
+ "presence.inMeeting": "Ocupado \xB7 En una reuni\xF3n",
1798
1819
  "presence.brb": "Vuelvo enseguida",
1799
1820
  "presence.away": "Ausente",
1800
1821
  "presence.offline": "Sin conexi\xF3n",
@@ -1894,6 +1915,7 @@ var esShell = {
1894
1915
  "app.backToChannels": "Volver a los canales",
1895
1916
  "app.confirmRemoveTab": "\xBFQuitar {name} de este canal?",
1896
1917
  "app.createChannelFirst": "Crea primero un canal",
1918
+ "app.schemaTooNew": "Este espacio de trabajo se cre\xF3 con una versi\xF3n m\xE1s reciente de OpenTeams, por lo que aqu\xED es de solo lectura. Actualiza la aplicaci\xF3n para publicar o hacer cambios.",
1897
1919
  "app.dismiss": "Descartar",
1898
1920
  "app.downloadFailed": "No se pudo iniciar la descarga",
1899
1921
  "app.inCall": "Est\xE1s en una llamada en {where}",
@@ -1909,6 +1931,11 @@ var esShell = {
1909
1931
  "app.pinNeedsUrl": "Este archivo necesita una direcci\xF3n URL cargada antes de poder anclarse",
1910
1932
  "app.posts": "Publicaciones",
1911
1933
  "app.removeTab": "Quitar pesta\xF1a",
1934
+ "app.archiveChannel": "Archivar canal",
1935
+ "app.channelNamePrompt": "Nombre del canal",
1936
+ "app.channelOptions": "Opciones del canal",
1937
+ "app.confirmArchiveChannel": "\xBFArchivar {name}? Desaparece para todos.",
1938
+ "app.renameChannel": "Cambiar nombre del canal",
1912
1939
  "app.renameTab": "Cambiar nombre de la pesta\xF1a",
1913
1940
  "app.returnToCall": "Volver a la llamada",
1914
1941
  "app.settingsAndMore": "Configuraci\xF3n y m\xE1s",
@@ -2012,6 +2039,8 @@ var frChat = {
2012
2039
  "chat.backToChats": "Retour aux conversations",
2013
2040
  "chat.call": "Appeler",
2014
2041
  "chat.confirmDelete": "Supprimer ce message ?",
2042
+ "chat.confirmHide": "Masquer ce message pour tout le monde ?",
2043
+ "chat.hide": "Masquer le message",
2015
2044
  "chat.delete": "Supprimer",
2016
2045
  "chat.deleted": "Ce message a \xE9t\xE9 supprim\xE9",
2017
2046
  "chat.edited": "(modifi\xE9)",
@@ -2436,6 +2465,7 @@ var frShell = {
2436
2465
  "presence.available": "Disponible",
2437
2466
  "presence.busy": "Occup\xE9",
2438
2467
  "presence.dnd": "Ne pas d\xE9ranger",
2468
+ "presence.inMeeting": "Occup\xE9 \xB7 En r\xE9union",
2439
2469
  "presence.brb": "Je reviens tout de suite",
2440
2470
  "presence.away": "Absent",
2441
2471
  "presence.offline": "Hors connexion",
@@ -2535,6 +2565,7 @@ var frShell = {
2535
2565
  "app.backToChannels": "Retour aux canaux",
2536
2566
  "app.confirmRemoveTab": "Supprimer {name} de ce canal ?",
2537
2567
  "app.createChannelFirst": "Cr\xE9ez d'abord un canal",
2568
+ "app.schemaTooNew": "Cet espace de travail a \xE9t\xE9 cr\xE9\xE9 avec une version plus r\xE9cente d\u2019OpenTeams ; il est donc en lecture seule ici. Mettez l\u2019application \xE0 jour pour publier ou modifier.",
2538
2569
  "app.dismiss": "Ignorer",
2539
2570
  "app.downloadFailed": "Impossible de d\xE9marrer le t\xE9l\xE9chargement",
2540
2571
  "app.inCall": "Vous participez \xE0 un appel dans {where}",
@@ -2550,6 +2581,11 @@ var frShell = {
2550
2581
  "app.pinNeedsUrl": "Ce fichier n\xE9cessite une URL charg\xE9e avant de pouvoir \xEAtre \xE9pingl\xE9",
2551
2582
  "app.posts": "Publications",
2552
2583
  "app.removeTab": "Supprimer l'onglet",
2584
+ "app.archiveChannel": "Archiver le canal",
2585
+ "app.channelNamePrompt": "Nom du canal",
2586
+ "app.channelOptions": "Options du canal",
2587
+ "app.confirmArchiveChannel": "Archiver {name} ? Il dispara\xEEt pour tout le monde.",
2588
+ "app.renameChannel": "Renommer le canal",
2553
2589
  "app.renameTab": "Renommer l'onglet",
2554
2590
  "app.returnToCall": "Retourner \xE0 l'appel",
2555
2591
  "app.settingsAndMore": "Param\xE8tres et plus",
@@ -2653,6 +2689,8 @@ var zhCNChat = {
2653
2689
  "chat.backToChats": "\u8FD4\u56DE\u804A\u5929",
2654
2690
  "chat.call": "\u547C\u53EB",
2655
2691
  "chat.confirmDelete": "\u8981\u5220\u9664\u6B64\u6D88\u606F\u5417\uFF1F",
2692
+ "chat.confirmHide": "\u8981\u5BF9\u6240\u6709\u4EBA\u9690\u85CF\u6B64\u6D88\u606F\u5417\uFF1F",
2693
+ "chat.hide": "\u9690\u85CF\u6D88\u606F",
2656
2694
  "chat.delete": "\u5220\u9664",
2657
2695
  "chat.deleted": "\u6B64\u6D88\u606F\u5DF2\u5220\u9664",
2658
2696
  "chat.edited": "\uFF08\u5DF2\u7F16\u8F91\uFF09",
@@ -3077,6 +3115,7 @@ var zhCNShell = {
3077
3115
  "presence.available": "\u53EF\u7528",
3078
3116
  "presence.busy": "\u5FD9\u788C",
3079
3117
  "presence.dnd": "\u8BF7\u52FF\u6253\u6270",
3118
+ "presence.inMeeting": "\u5FD9\u788C \xB7 \u4F1A\u8BAE\u4E2D",
3080
3119
  "presence.brb": "\u9A6C\u4E0A\u56DE\u6765",
3081
3120
  "presence.away": "\u79BB\u5F00",
3082
3121
  "presence.offline": "\u8131\u673A",
@@ -3176,6 +3215,7 @@ var zhCNShell = {
3176
3215
  "app.backToChannels": "\u8FD4\u56DE\u9891\u9053",
3177
3216
  "app.confirmRemoveTab": "\u8981\u4ECE\u6B64\u9891\u9053\u4E2D\u5220\u9664 {name} \u5417\uFF1F",
3178
3217
  "app.createChannelFirst": "\u8BF7\u5148\u521B\u5EFA\u9891\u9053",
3218
+ "app.schemaTooNew": "\u6B64\u5DE5\u4F5C\u533A\u7531\u8F83\u65B0\u7248\u672C\u7684 OpenTeams \u521B\u5EFA\uFF0C\u56E0\u6B64\u5728\u8FD9\u91CC\u662F\u53EA\u8BFB\u7684\u3002\u8BF7\u66F4\u65B0\u5E94\u7528\u4EE5\u53D1\u5E03\u6D88\u606F\u6216\u8FDB\u884C\u66F4\u6539\u3002",
3179
3219
  "app.dismiss": "\u5173\u95ED",
3180
3220
  "app.downloadFailed": "\u65E0\u6CD5\u5F00\u59CB\u4E0B\u8F7D",
3181
3221
  "app.inCall": "\u4F60\u6B63\u5728 {where} \u4E2D\u901A\u8BDD",
@@ -3191,6 +3231,11 @@ var zhCNShell = {
3191
3231
  "app.pinNeedsUrl": "\u6B64\u6587\u4EF6\u9700\u8981\u5148\u6709\u5DF2\u4E0A\u4F20\u7684 URL \u624D\u80FD\u56FA\u5B9A",
3192
3232
  "app.posts": "\u5E16\u5B50",
3193
3233
  "app.removeTab": "\u5220\u9664\u9009\u9879\u5361",
3234
+ "app.archiveChannel": "\u5F52\u6863\u9891\u9053",
3235
+ "app.channelNamePrompt": "\u9891\u9053\u540D\u79F0",
3236
+ "app.channelOptions": "\u9891\u9053\u9009\u9879",
3237
+ "app.confirmArchiveChannel": "\u8981\u5F52\u6863 {name} \u5417\uFF1F\u5B83\u5C06\u5BF9\u6240\u6709\u4EBA\u6D88\u5931\u3002",
3238
+ "app.renameChannel": "\u91CD\u547D\u540D\u9891\u9053",
3194
3239
  "app.renameTab": "\u91CD\u547D\u540D\u9009\u9879\u5361",
3195
3240
  "app.returnToCall": "\u8FD4\u56DE\u901A\u8BDD",
3196
3241
  "app.settingsAndMore": "\u8BBE\u7F6E\u53CA\u66F4\u591A",
@@ -1,5 +1,5 @@
1
1
  import { defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane } from './chunk-CALEXPBD.js';
2
- import { TEAMS_TAGS, registerTeams } from './chunk-OKEFAQJT.js';
2
+ import { TEAMS_TAGS, registerTeams } from './chunk-3AOIYE3R.js';
3
3
  import { installOfficeUiTheme } from './chunk-T5ARELU2.js';
4
4
  import { registerControls } from './chunk-KYXSQFDB.js';
5
5
  import { definePresence } from './chunk-YZH2QS7J.js';
@@ -9,6 +9,13 @@ export declare const DOCX_EDITOR_ATTRIBUTES: readonly ['locale', 'read-only', 'f
9
9
  export type DocxEditorAttribute = (typeof DOCX_EDITOR_ATTRIBUTES)[number];
10
10
  export declare const DEFAULT_FILE_NAME = "Document1.docx";
11
11
  export declare const DEFAULT_REVIEW_AUTHOR = "Author";
12
+ /**
13
+ * The last-modified stamp a save records: the host's `reviewAuthor` becomes `cp:lastModifiedBy`.
14
+ * The default name is a placeholder, not a person, so it never overwrites the package's own value.
15
+ */
16
+ export declare function modifiedStamp(reviewAuthor: string): {
17
+ author?: string;
18
+ };
12
19
  /** The element properties the attributes drive. */
13
20
  export interface AttributeProperties {
14
21
  locale: string;