ooxml-ui 1.33.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.
- package/dist/{chunk-XPUXFZNB.js → chunk-3AOIYE3R.js} +18 -4
- package/dist/{chunk-VSHQNHDG.js → chunk-BOTLS2PR.js} +5 -0
- package/dist/{chunk-QK5DQR6L.js → chunk-SWDVBUBW.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{presentation-preview-DKJC6TUJ.js → presentation-preview-ZVJNGOJO.js} +1 -1
- package/dist/teams/i18n/locales/de.d.ts +1 -0
- package/dist/teams/i18n/locales/en/shell.d.ts +1 -0
- package/dist/teams/i18n/locales/en.d.ts +1 -0
- package/dist/teams/i18n/locales/es.d.ts +1 -0
- package/dist/teams/i18n/locales/fr.d.ts +1 -0
- package/dist/teams/i18n/locales/zh-CN.d.ts +1 -0
- package/dist/teams.js +2 -2
- package/dist/xlsx.js +4 -4
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } from './chunk-
|
|
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';
|
|
@@ -2267,7 +2267,7 @@ var TeamsContentPreview = class extends TeamsLitElement {
|
|
|
2267
2267
|
if (kind === "xlsx") (await import('./xlsx.js')).defineXlsxEditor();
|
|
2268
2268
|
if (kind === "vsdx") (await import('./visio.js')).registerVisioViewer();
|
|
2269
2269
|
if (kind === "pptx")
|
|
2270
|
-
(await import('./presentation-preview-
|
|
2270
|
+
(await import('./presentation-preview-ZVJNGOJO.js')).defineTeamsPresentationPreview();
|
|
2271
2271
|
if (request.signal.aborted) return;
|
|
2272
2272
|
this.native = kind;
|
|
2273
2273
|
await this.updateComplete;
|
|
@@ -3556,6 +3556,20 @@ var safeStorage = {
|
|
|
3556
3556
|
globalThis.localStorage?.setItem(key, value);
|
|
3557
3557
|
} catch {
|
|
3558
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);
|
|
3559
3573
|
}
|
|
3560
3574
|
};
|
|
3561
3575
|
function loadIdentity() {
|
|
@@ -3924,7 +3938,7 @@ var TeamsProfileMenu = class extends TeamsLitElement {
|
|
|
3924
3938
|
<div class="who">
|
|
3925
3939
|
<strong>${state.user.name}</strong>
|
|
3926
3940
|
<span class="status-line"
|
|
3927
|
-
>${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
|
|
3928
3942
|
>
|
|
3929
3943
|
${presence.message ? html`<span class="message">${presence.message}</span>` : nothing}
|
|
3930
3944
|
</div>
|
|
@@ -5540,7 +5554,7 @@ function chatHeader(chat, on, i18n = teamsI18n()) {
|
|
|
5540
5554
|
const { t } = i18n;
|
|
5541
5555
|
const other = chat.kind === "direct" ? chat.members.find((m) => !m.self) : void 0;
|
|
5542
5556
|
const online = chat.members.filter((m) => !m.self && m.availability !== "offline").length;
|
|
5543
|
-
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);
|
|
5544
5558
|
return html`<header class="channel-head chat-head">
|
|
5545
5559
|
<button
|
|
5546
5560
|
type="button"
|
|
@@ -515,6 +515,7 @@ var deShell = {
|
|
|
515
515
|
"presence.available": "Verf\xFCgbar",
|
|
516
516
|
"presence.busy": "Besch\xE4ftigt",
|
|
517
517
|
"presence.dnd": "Nicht st\xF6ren",
|
|
518
|
+
"presence.inMeeting": "Besch\xE4ftigt \xB7 In einer Besprechung",
|
|
518
519
|
"presence.brb": "Bin gleich zur\xFCck",
|
|
519
520
|
"presence.away": "Abwesend",
|
|
520
521
|
"presence.offline": "Offline",
|
|
@@ -1164,6 +1165,7 @@ var enShell = {
|
|
|
1164
1165
|
"presence.available": "Available",
|
|
1165
1166
|
"presence.busy": "Busy",
|
|
1166
1167
|
"presence.dnd": "Do not disturb",
|
|
1168
|
+
"presence.inMeeting": "Busy \xB7 In a meeting",
|
|
1167
1169
|
"presence.brb": "Be right back",
|
|
1168
1170
|
"presence.away": "Away",
|
|
1169
1171
|
"presence.offline": "Offline",
|
|
@@ -1813,6 +1815,7 @@ var esShell = {
|
|
|
1813
1815
|
"presence.available": "Disponible",
|
|
1814
1816
|
"presence.busy": "Ocupado",
|
|
1815
1817
|
"presence.dnd": "No molestar",
|
|
1818
|
+
"presence.inMeeting": "Ocupado \xB7 En una reuni\xF3n",
|
|
1816
1819
|
"presence.brb": "Vuelvo enseguida",
|
|
1817
1820
|
"presence.away": "Ausente",
|
|
1818
1821
|
"presence.offline": "Sin conexi\xF3n",
|
|
@@ -2462,6 +2465,7 @@ var frShell = {
|
|
|
2462
2465
|
"presence.available": "Disponible",
|
|
2463
2466
|
"presence.busy": "Occup\xE9",
|
|
2464
2467
|
"presence.dnd": "Ne pas d\xE9ranger",
|
|
2468
|
+
"presence.inMeeting": "Occup\xE9 \xB7 En r\xE9union",
|
|
2465
2469
|
"presence.brb": "Je reviens tout de suite",
|
|
2466
2470
|
"presence.away": "Absent",
|
|
2467
2471
|
"presence.offline": "Hors connexion",
|
|
@@ -3111,6 +3115,7 @@ var zhCNShell = {
|
|
|
3111
3115
|
"presence.available": "\u53EF\u7528",
|
|
3112
3116
|
"presence.busy": "\u5FD9\u788C",
|
|
3113
3117
|
"presence.dnd": "\u8BF7\u52FF\u6253\u6270",
|
|
3118
|
+
"presence.inMeeting": "\u5FD9\u788C \xB7 \u4F1A\u8BAE\u4E2D",
|
|
3114
3119
|
"presence.brb": "\u9A6C\u4E0A\u56DE\u6765",
|
|
3115
3120
|
"presence.away": "\u79BB\u5F00",
|
|
3116
3121
|
"presence.offline": "\u8131\u673A",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane } from './chunk-CALEXPBD.js';
|
|
2
|
-
import { TEAMS_TAGS, registerTeams } from './chunk-
|
|
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';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-
|
|
1
|
+
export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-SWDVBUBW.js';
|
|
2
2
|
export { createRecoveryScheduler } from './chunk-DA57FPSN.js';
|
|
3
3
|
export { HOST_REGION_ATTRIBUTE, HostRegionHost, RIBBON_ADD_IN_EVENT, createHostBackstagePages, defineRibbonAddInElements, syncHostMenuChildren, syncRibbonAddIns, tidyMenuSeparators, withHostMenuItems } from './chunk-CDC5MAZS.js';
|
|
4
4
|
export { OfficeUiSmartArt, OfficeUiSmartArtPicker, OfficeUiSmartArtTextPane, SmartArtTextPaneController, defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane, renderDiagramDrawing, smartArtColorsGalleryState, smartArtLayoutTileSvg, smartArtStylesGalleryState, smartArtTileSvg } from './chunk-CALEXPBD.js';
|
|
5
|
-
export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-
|
|
6
|
-
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-
|
|
5
|
+
export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-3AOIYE3R.js';
|
|
6
|
+
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-BOTLS2PR.js';
|
|
7
7
|
import './chunk-CDAXY5KC.js';
|
|
8
8
|
import './chunk-NDUD5JJB.js';
|
|
9
9
|
import './chunk-KJMAVPQB.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-
|
|
1
|
+
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-BOTLS2PR.js';
|
|
@@ -16,6 +16,7 @@ export declare const enShell: {
|
|
|
16
16
|
readonly 'presence.available': 'Available';
|
|
17
17
|
readonly 'presence.busy': 'Busy';
|
|
18
18
|
readonly 'presence.dnd': 'Do not disturb';
|
|
19
|
+
readonly 'presence.inMeeting': 'Busy · In a meeting';
|
|
19
20
|
readonly 'presence.brb': 'Be right back';
|
|
20
21
|
readonly 'presence.away': 'Away';
|
|
21
22
|
readonly 'presence.offline': 'Offline';
|
|
@@ -489,6 +489,7 @@ export declare const en: {
|
|
|
489
489
|
'presence.available': 'Available';
|
|
490
490
|
'presence.busy': 'Busy';
|
|
491
491
|
'presence.dnd': 'Do not disturb';
|
|
492
|
+
'presence.inMeeting': 'Busy · In a meeting';
|
|
492
493
|
'presence.brb': 'Be right back';
|
|
493
494
|
'presence.away': 'Away';
|
|
494
495
|
'presence.offline': 'Offline';
|
package/dist/teams.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-
|
|
2
|
-
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-
|
|
1
|
+
export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-3AOIYE3R.js';
|
|
2
|
+
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-BOTLS2PR.js';
|
|
3
3
|
import './chunk-CDAXY5KC.js';
|
|
4
4
|
import './chunk-NDUD5JJB.js';
|
|
5
5
|
import './chunk-KJMAVPQB.js';
|
package/dist/xlsx.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { statusLayout, watchStatusWidth, defineChartExOptions, chartExSpaceFormatSource } from './chunk-6TS7ASDJ.js';
|
|
2
2
|
import { trackPointerGesture } from './chunk-GSXOZCAN.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-SWDVBUBW.js';
|
|
4
4
|
import './chunk-DA57FPSN.js';
|
|
5
5
|
import { createHostBackstagePages, syncRibbonAddIns, withHostMenuItems } from './chunk-CDC5MAZS.js';
|
|
6
6
|
export { RIBBON_ADD_IN_EVENT } from './chunk-CDC5MAZS.js';
|
|
7
7
|
import { pictureEffectFilter, SmartArtTextPaneController, defineSmartArt, defineSmartArtPicker, smartArtStylesGalleryState, smartArtColorsGalleryState, safeColor, svgTile } from './chunk-CALEXPBD.js';
|
|
8
|
-
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-
|
|
9
|
-
export { XLSX_EDITOR_EVENTS } from './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-3AOIYE3R.js';
|
|
9
|
+
export { XLSX_EDITOR_EVENTS } from './chunk-3AOIYE3R.js';
|
|
10
|
+
import './chunk-BOTLS2PR.js';
|
|
11
11
|
import './chunk-CDAXY5KC.js';
|
|
12
12
|
import './chunk-NDUD5JJB.js';
|
|
13
13
|
import './chunk-KJMAVPQB.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.0",
|
|
4
4
|
"description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"dompurify": "^3.4.17",
|
|
172
172
|
"emf-converter": "4.23.1",
|
|
173
173
|
"lit": "^3.3.3",
|
|
174
|
-
"ooxml-core": "^1.
|
|
174
|
+
"ooxml-core": "^1.32.0",
|
|
175
175
|
"opentype.js": "^2.0.0",
|
|
176
176
|
"prosemirror-collab": "^1.3.1",
|
|
177
177
|
"prosemirror-commands": "^1.7.2",
|