ooxml-ui 1.40.0 → 1.41.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/README.md +1 -1
- package/custom-elements.json +480 -0
- package/dist/base.d.ts +0 -1
- package/dist/building-block-styles.d.ts +0 -1
- package/dist/chart/data-sheet-keys.d.ts +0 -1
- package/dist/chart/data-sheet.d.ts +1 -2
- package/dist/chart/format-pane-advanced-space.d.ts +0 -1
- package/dist/chart/format-pane-analysis.d.ts +0 -1
- package/dist/chart/format-pane-fields.d.ts +0 -1
- package/dist/chart/format-pane-fill-line.d.ts +0 -1
- package/dist/chart/format-pane-intent.d.ts +0 -1
- package/dist/chart/format-pane-locales/de.d.ts +0 -1
- package/dist/chart/format-pane-locales/en.d.ts +0 -1
- package/dist/chart/format-pane-text.d.ts +0 -1
- package/dist/chart/format-pane-translate.d.ts +0 -1
- package/dist/chrome/account.d.ts +1 -2
- package/dist/chrome/print-preview.d.ts +1 -2
- package/dist/chrome/ruler.d.ts +1 -2
- package/dist/chrome/status-bar.d.ts +1 -2
- package/dist/chrome/tab-drag.d.ts +0 -1
- package/dist/chrome/task-pane.d.ts +1 -2
- package/dist/chunk-4RFFOPBU.js +90 -0
- package/dist/{chunk-BOTLS2PR.js → chunk-4ZSZPUE5.js} +20 -0
- package/dist/{chunk-XL77FR4B.js → chunk-6EOS74O4.js} +6 -0
- package/dist/{chunk-GZNBWWJ5.js → chunk-6FFZFH73.js} +43 -27
- package/dist/{chunk-FYBLAPAJ.js → chunk-7L4NP4HN.js} +149 -76
- package/dist/{chunk-QLHCGV4C.js → chunk-FE5KE5TR.js} +1 -1
- package/dist/{chunk-C4KI635Q.js → chunk-II43ALTT.js} +1 -1
- package/dist/{chunk-6VF4FEMY.js → chunk-LBIABP4I.js} +1 -1
- package/dist/{chunk-T5ARELU2.js → chunk-N6AKS4ED.js} +1 -1
- package/dist/{chunk-YZH2QS7J.js → chunk-Q6WZEGAM.js} +1 -1
- package/dist/{chunk-IZ7XMMMJ.js → chunk-TTT5IQBU.js} +10 -5
- package/dist/{chunk-QAX4FAB7.js → chunk-Y6KY34VD.js} +1632 -202
- package/dist/comments/mentions.d.ts +0 -1
- package/dist/comments/types.d.ts +0 -1
- package/dist/controls.d.ts +16 -3
- package/dist/controls.d.ts.map +1 -1
- package/dist/controls.js +4 -4
- package/dist/dialog/chart-picker.d.ts +1 -2
- package/dist/dialog/dialog-footer.d.ts +1 -2
- package/dist/dialog/dialog-session.d.ts +0 -1
- package/dist/dialog/dialog.d.ts +1 -2
- package/dist/dialog/focus.d.ts +0 -1
- package/dist/dialog/message-dialog.d.ts +84 -0
- package/dist/dialog/message-dialog.d.ts.map +1 -0
- package/dist/dialog/message-dialogs.d.ts +38 -0
- package/dist/dialog/message-dialogs.d.ts.map +1 -0
- package/dist/dialog/options-categories.d.ts +0 -1
- package/dist/dialog/options-controls.d.ts +0 -1
- package/dist/dialog/progress-dialog.d.ts +1 -2
- package/dist/dialog/share-controller.d.ts +38 -0
- package/dist/dialog/share-dialog-locales.d.ts +47 -0
- package/dist/dialog/share-dialog-locales.d.ts.map +1 -0
- package/dist/dialog/share-dialog.d.ts +121 -0
- package/dist/dialog/share-dialog.d.ts.map +1 -0
- package/dist/docx/backstage-account.d.ts +3 -0
- package/dist/docx/backstage-open.d.ts +4 -0
- package/dist/docx/backstage-pages.d.ts +8 -1
- package/dist/docx/backstage.d.ts +1 -1
- package/dist/docx/cloud-labels.d.ts +4 -0
- package/dist/docx/editor-chrome.d.ts +16 -1
- package/dist/docx/editor-core.d.ts +13 -1
- package/dist/docx/element-api.d.ts +17 -1
- package/dist/docx/file-commands.d.ts +2 -2
- package/dist/docx/locales/en-app.d.ts +36 -0
- package/dist/docx/locales/en.d.ts +36 -0
- package/dist/docx/localization-strings.d.ts +36 -0
- package/dist/docx.js +402 -54
- package/dist/files/cloud-files-labels.d.ts +44 -0
- package/dist/files/cloud-files-labels.d.ts.map +1 -0
- package/dist/files/cloud-files-view.d.ts +42 -0
- package/dist/files/cloud-files-view.d.ts.map +1 -0
- package/dist/files/cloud-files.d.ts +130 -0
- package/dist/files/cloud-files.d.ts.map +1 -0
- package/dist/files/connected-services-labels.d.ts +6 -0
- package/dist/files/connected-services.d.ts +70 -0
- package/dist/files/connected-services.d.ts.map +1 -0
- package/dist/files/open-places.d.ts +58 -0
- package/dist/files/open-places.d.ts.map +1 -0
- package/dist/fonts/availability.d.ts +0 -1
- package/dist/fonts/catalog.d.ts +0 -1
- package/dist/fonts/custom-fonts.d.ts +0 -1
- package/dist/form/checkbox.d.ts +1 -2
- package/dist/form/color-custom.d.ts +1 -2
- package/dist/form/color-grid.d.ts +1 -2
- package/dist/form/color-input/live-color-leaves.d.ts +0 -1
- package/dist/form/radio.d.ts +1 -2
- package/dist/form/search-field.d.ts +1 -2
- package/dist/form/symbol-picker.d.ts +1 -2
- package/dist/form/zoom-slider.d.ts +1 -2
- package/dist/image-native-size.d.ts +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/menu/command-search.d.ts +1 -2
- package/dist/menu/context-menu.d.ts +1 -2
- package/dist/menu/menu-item.d.ts +1 -2
- package/dist/notices/paste-options.d.ts +1 -2
- package/dist/notices/read-only-banner.d.ts.map +1 -1
- package/dist/notices/toasts.d.ts +1 -2
- package/dist/picture-effects.d.ts +0 -1
- package/dist/picture-pixels.d.ts.map +1 -1
- package/dist/picture-standard-filter.d.ts +0 -1
- package/dist/picture-view.d.ts +0 -1
- package/dist/pptx/{chart-3d-view-scene-V55XPBBF.cjs → chart-3d-view-scene-C7QUQTXD.cjs} +37 -37
- package/dist/pptx/{chart-3d-view-scene-BKNMGRGO.mjs → chart-3d-view-scene-CGLU6ISD.mjs} +2 -2
- package/dist/pptx/{chunk-ZLK243QC.cjs → chunk-4SZSTDER.cjs} +49 -49
- package/dist/pptx/{chunk-S5VKG3XJ.cjs → chunk-7XXOLM7H.cjs} +1 -1
- package/dist/pptx/{chunk-WZHYA2B3.mjs → chunk-DH6EKOVI.mjs} +1 -1
- package/dist/pptx/{chunk-MK2ASJSY.mjs → chunk-G4VNRJUX.mjs} +6 -0
- package/dist/pptx/{chunk-BLONL4S7.mjs → chunk-IN46QNJE.mjs} +1 -1
- package/dist/pptx/{chunk-NUB6VP7R.mjs → chunk-J6PRXB72.mjs} +6986 -2851
- package/dist/pptx/{chunk-HIRBPTML.cjs → chunk-JP26TA3Q.cjs} +12 -12
- package/dist/pptx/{chunk-XTC6MQYM.mjs → chunk-JU3ZV73R.mjs} +3 -3
- package/dist/pptx/{chunk-XWAX3PZO.cjs → chunk-RN3JVXVN.cjs} +7198 -3021
- package/dist/pptx/{chunk-WQI3NLMY.mjs → chunk-SF3MYUTD.mjs} +41 -0
- package/dist/pptx/{chunk-QK6LJT3K.mjs → chunk-TW5UQCZS.mjs} +7 -17
- package/dist/pptx/{chunk-CRV7G4GC.cjs → chunk-WNDGU3GQ.cjs} +41 -0
- package/dist/pptx/{chunk-3ESFHUZI.cjs → chunk-XZSGVMRN.cjs} +6 -0
- package/dist/pptx/{chunk-KJICUZXM.cjs → chunk-YZWKNFPU.cjs} +6 -16
- package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
- package/dist/pptx/dom/elements/text-shape.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +434 -428
- package/dist/pptx/dom/index.mjs +17 -11
- package/dist/pptx/dom/slide-stage.d.ts.map +1 -1
- package/dist/pptx/dom/types.d.ts +8 -1
- package/dist/pptx/dom/types.d.ts.map +1 -1
- package/dist/pptx/export/html2canvas-clone.cjs +6 -6
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/export/presentation-save.d.ts +15 -0
- package/dist/pptx/export/presentation-save.d.ts.map +1 -1
- package/dist/pptx/i18n/index.cjs +6 -6
- package/dist/pptx/i18n/index.mjs +1 -1
- package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
- package/dist/pptx/index.cjs +3541 -3373
- package/dist/pptx/index.mjs +6 -6
- package/dist/pptx/render/abutting-edge-bleed-style.d.ts +24 -0
- package/dist/pptx/render/abutting-edge-bleed-style.d.ts.map +1 -0
- package/dist/pptx/render/abutting-edge-bleed.d.ts +56 -0
- package/dist/pptx/render/abutting-edge-bleed.d.ts.map +1 -0
- package/dist/pptx/render/chart-combo-stock.cjs +3 -3
- package/dist/pptx/render/chart-combo-stock.mjs +1 -1
- package/dist/pptx/render/chart-overlays.cjs +7 -7
- package/dist/pptx/render/chart-overlays.mjs +1 -1
- package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
- package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
- package/dist/pptx/render/chart-view-model.cjs +44 -44
- package/dist/pptx/render/chart-view-model.mjs +1 -1
- package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
- package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
- package/dist/pptx/render/cloud-open.d.ts +56 -0
- package/dist/pptx/render/cloud-open.d.ts.map +1 -0
- package/dist/pptx/render/connector-style.d.ts +2 -2
- package/dist/pptx/render/connector-style.d.ts.map +1 -1
- package/dist/pptx/render/element-style-transform.d.ts +11 -3
- package/dist/pptx/render/element-style-transform.d.ts.map +1 -1
- package/dist/pptx/render/fill-style.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +11 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/inline-list-presentation.d.ts.map +1 -1
- package/dist/pptx/render/morph-animation.d.ts +23 -11
- package/dist/pptx/render/morph-animation.d.ts.map +1 -1
- package/dist/pptx/render/morph-body-carry.d.ts +8 -0
- package/dist/pptx/render/morph-body-carry.d.ts.map +1 -0
- package/dist/pptx/render/morph-carry.d.ts +60 -0
- package/dist/pptx/render/morph-carry.d.ts.map +1 -0
- package/dist/pptx/render/morph-easing.d.ts +37 -0
- package/dist/pptx/render/morph-easing.d.ts.map +1 -0
- package/dist/pptx/render/morph-effect-carry.d.ts +75 -0
- package/dist/pptx/render/morph-effect-carry.d.ts.map +1 -0
- package/dist/pptx/render/morph-effect-glow.d.ts +42 -0
- package/dist/pptx/render/morph-effect-glow.d.ts.map +1 -0
- package/dist/pptx/render/morph-effect-parse.d.ts +10 -0
- package/dist/pptx/render/morph-effect-parse.d.ts.map +1 -0
- package/dist/pptx/render/morph-effect-shadow.d.ts +71 -0
- package/dist/pptx/render/morph-effect-shadow.d.ts.map +1 -0
- package/dist/pptx/render/morph-flatten.d.ts +2 -2
- package/dist/pptx/render/morph-flip-turn.d.ts +55 -0
- package/dist/pptx/render/morph-flip-turn.d.ts.map +1 -0
- package/dist/pptx/render/morph-geometry-key.d.ts +30 -0
- package/dist/pptx/render/morph-geometry-key.d.ts.map +1 -0
- package/dist/pptx/render/morph-image-crop.d.ts.map +1 -1
- package/dist/pptx/render/morph-matching.d.ts.map +1 -1
- package/dist/pptx/render/morph-outline-blend.d.ts +7 -0
- package/dist/pptx/render/morph-outline-blend.d.ts.map +1 -0
- package/dist/pptx/render/morph-overlay-order.d.ts +1 -1
- package/dist/pptx/render/morph-overlay-stack.d.ts +85 -0
- package/dist/pptx/render/morph-overlay-stack.d.ts.map +1 -0
- package/dist/pptx/render/morph-plan.d.ts +73 -1
- package/dist/pptx/render/morph-plan.d.ts.map +1 -1
- package/dist/pptx/render/morph-predicates.d.ts.map +1 -1
- package/dist/pptx/render/morph-shape-carry-path.d.ts +40 -0
- package/dist/pptx/render/morph-shape-carry-path.d.ts.map +1 -0
- package/dist/pptx/render/morph-shape-carry.d.ts +73 -0
- package/dist/pptx/render/morph-shape-carry.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-bands.d.ts +44 -0
- package/dist/pptx/render/morph-text-bands.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-baseline.d.ts +47 -0
- package/dist/pptx/render/morph-text-baseline.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-blend.d.ts +71 -0
- package/dist/pptx/render/morph-text-blend.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-body-copies.d.ts +51 -0
- package/dist/pptx/render/morph-text-body-copies.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-body.d.ts +31 -0
- package/dist/pptx/render/morph-text-body.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-flip.d.ts +49 -0
- package/dist/pptx/render/morph-text-flip.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-frame-read.d.ts +97 -0
- package/dist/pptx/render/morph-text-frame-read.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-frame.d.ts +66 -0
- package/dist/pptx/render/morph-text-frame.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-ink.d.ts +43 -0
- package/dist/pptx/render/morph-text-ink.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-lines.d.ts +73 -0
- package/dist/pptx/render/morph-text-lines.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-piece-plan.d.ts +37 -0
- package/dist/pptx/render/morph-text-piece-plan.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-pieces.d.ts +87 -0
- package/dist/pptx/render/morph-text-pieces.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-slot.d.ts +19 -4
- package/dist/pptx/render/morph-text-slot.d.ts.map +1 -1
- package/dist/pptx/render/morph-text-spans.d.ts +27 -0
- package/dist/pptx/render/morph-text-spans.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-transform.d.ts +108 -0
- package/dist/pptx/render/morph-text-transform.d.ts.map +1 -0
- package/dist/pptx/render/morph-types.d.ts +79 -38
- package/dist/pptx/render/morph-types.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-baseline.d.ts +87 -0
- package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -0
- package/dist/pptx/render/paragraph-spacing.d.ts +29 -66
- package/dist/pptx/render/paragraph-spacing.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-types.d.ts +7 -0
- package/dist/pptx/render/paragraph-types.d.ts.map +1 -1
- package/dist/pptx/render/presentation-action.d.ts +3 -2
- package/dist/pptx/render/presentation-action.d.ts.map +1 -1
- package/dist/pptx/render/read-only-badge.d.ts +23 -0
- package/dist/pptx/render/read-only-badge.d.ts.map +1 -0
- package/dist/pptx/render/share-session.d.ts +4 -7
- package/dist/pptx/render/share-session.d.ts.map +1 -1
- package/dist/pptx/render/stroke-clip-edge.d.ts +6 -1
- package/dist/pptx/render/stroke-clip-edge.d.ts.map +1 -1
- package/dist/pptx/render/stroke-compound-strands.d.ts +30 -0
- package/dist/pptx/render/stroke-compound-strands.d.ts.map +1 -0
- package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/text-block-style.d.ts.map +1 -1
- package/dist/pptx/render/text-flip-compensation.d.ts +51 -0
- package/dist/pptx/render/text-flip-compensation.d.ts.map +1 -0
- package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/transition-template-elements.d.ts +33 -0
- package/dist/pptx/render/transition-template-elements.d.ts.map +1 -0
- package/dist/pptx/render/viewer-api-guard.d.ts +36 -0
- package/dist/pptx/render/viewer-api-guard.d.ts.map +1 -0
- package/dist/pptx/render/viewer-dialogs.d.ts +31 -0
- package/dist/pptx/render/viewer-dialogs.d.ts.map +1 -0
- package/dist/pptx/render/viewer-hyperlinks.d.ts +2 -1
- package/dist/pptx/render/viewer-hyperlinks.d.ts.map +1 -1
- package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
- package/dist/pptx/{smartart-insert-preview-BP4WAD5U.mjs → smartart-insert-preview-GA6ELFRB.mjs} +7 -7
- package/dist/pptx/{smartart-insert-preview-USGRDZHJ.cjs → smartart-insert-preview-PQTEVG7C.cjs} +8 -8
- package/dist/pptx/theme/index.cjs +18 -18
- package/dist/pptx/theme/index.mjs +1 -1
- package/dist/pptx/web-components/index.d.ts.map +1 -1
- package/dist/pptx/web-components/office-aliases.d.ts +4 -0
- package/dist/pptx/web-components/office-aliases.d.ts.map +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
- package/dist/presence.js +3 -3
- package/dist/{presentation-preview-ZVJNGOJO.js → presentation-preview-KGBTDTNM.js} +1 -1
- package/dist/render-cache.d.ts +0 -1
- package/dist/ribbon/auto-collapse.d.ts +0 -1
- package/dist/ribbon/button.d.ts +1 -2
- package/dist/ribbon/gallery-styles.d.ts +0 -1
- package/dist/ribbon/keytip-run.d.ts +0 -1
- package/dist/ribbon/overflow.d.ts +0 -1
- package/dist/ribbon/ribbon-section.d.ts +1 -2
- package/dist/ribbon/ribbon-stack.d.ts +1 -2
- package/dist/ribbon/safe-svg.d.ts +0 -1
- package/dist/ribbon/scroll-more.d.ts +0 -1
- package/dist/smartart/smartart-picker.d.ts +1 -2
- package/dist/smartart/smartart-text-pane-tools.d.ts +0 -1
- package/dist/smartart.js +3 -3
- package/dist/suite/document-store.d.ts +10 -0
- package/dist/suite.js +45 -6
- package/dist/teams/app/content-preview.d.ts +1 -1
- package/dist/teams/app/dialogs.d.ts +18 -0
- package/dist/teams/app/teams-app.d.ts +8 -0
- package/dist/teams/i18n/locales/de.d.ts +4 -0
- package/dist/teams/i18n/locales/en/shell.d.ts +4 -0
- package/dist/teams/i18n/locales/en.d.ts +4 -0
- package/dist/teams/i18n/locales/es.d.ts +4 -0
- package/dist/teams/i18n/locales/fr.d.ts +4 -0
- package/dist/teams/i18n/locales/zh-CN.d.ts +4 -0
- package/dist/teams.js +7 -7
- package/dist/theme-bridge.d.ts +0 -1
- package/dist/theme.js +2 -2
- package/dist/tokens.d.ts +5 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/visio/binding.d.ts +3 -0
- package/dist/visio/controller.d.ts +2 -0
- package/dist/visio/locales/cloud-files.d.ts +4 -0
- package/dist/visio/viewer-backstage.d.ts +5 -1
- package/dist/visio/viewer-cloud-places.d.ts +16 -0
- package/dist/visio/viewer-connected-services.d.ts +13 -0
- package/dist/visio/viewer-element.d.ts +16 -1
- package/dist/visio/viewer-share-ui.d.ts +27 -0
- package/dist/visio/viewer-share.d.ts +7 -2
- package/dist/visio.js +476 -69
- package/dist/xlsx/backstage/cloud-labels.d.ts +4 -0
- package/dist/xlsx/backstage/index.d.ts +1 -1
- package/dist/xlsx/backstage/pages-account.d.ts +2 -0
- package/dist/xlsx/backstage/pages-file.d.ts +0 -1
- package/dist/xlsx/backstage/pages-open.d.ts +2 -0
- package/dist/xlsx/backstage/pages-share.d.ts +5 -6
- package/dist/xlsx/backstage/parts.d.ts +5 -0
- package/dist/xlsx/component.d.ts +8 -0
- package/dist/xlsx/editor-core.d.ts +10 -1
- package/dist/xlsx/editor-files.d.ts +14 -1
- package/dist/xlsx/editor-shell.d.ts +3 -0
- package/dist/xlsx/element-api.d.ts +14 -5
- package/dist/xlsx.js +247 -89
- package/package.json +3 -3
- package/dist/chunk-7RRN2GPO.js +0 -19
package/dist/visio.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { trackPointerPan, ownsCaptureLoss } from './chunk-GSXOZCAN.js';
|
|
2
|
-
import { chartExSpaceFormatSource } from './chunk-
|
|
2
|
+
import { attachShareDialog, connectedServicesLabels, chartExSpaceFormatSource } from './chunk-4RFFOPBU.js';
|
|
3
3
|
import { createRecoveryScheduler } from './chunk-DA57FPSN.js';
|
|
4
|
-
import { syncRibbonAddIns, createHostBackstagePages, syncHostMenuChildren, tidyMenuSeparators } from './chunk-
|
|
5
|
-
export { RIBBON_ADD_IN_EVENT } from './chunk-
|
|
6
|
-
import { themeBridge, installOfficeUiThemeFor, prepareOfficeUiBlock } from './chunk-
|
|
7
|
-
import { personalizeSection, unavailableCategory, userInterfaceSection, attachKeyTips, registerControls, readOfficeProfile, sanitizeOfficeProfile, writeOfficeProfile, attachRibbonGroupOverflow, defineChartPicker, defineChartDataSheet, defineChartFormatPane, commentInitials } from './chunk-
|
|
4
|
+
import { syncRibbonAddIns, createHostBackstagePages, syncHostMenuChildren, tidyMenuSeparators } from './chunk-LBIABP4I.js';
|
|
5
|
+
export { RIBBON_ADD_IN_EVENT } from './chunk-LBIABP4I.js';
|
|
6
|
+
import { themeBridge, installOfficeUiThemeFor, prepareOfficeUiBlock } from './chunk-N6AKS4ED.js';
|
|
7
|
+
import { personalizeSection, unavailableCategory, userInterfaceSection, attachKeyTips, registerControls, readOfficeProfile, sanitizeOfficeProfile, writeOfficeProfile, defineRibbonActions, attachRibbonGroupOverflow, defineConnectedServices, defineOpenPlaces, defineChartPicker, defineChartDataSheet, defineChartFormatPane, commentInitials } from './chunk-Y6KY34VD.js';
|
|
8
8
|
import { getIcon, registerIcon } from './chunk-M6GF5ED2.js';
|
|
9
9
|
import './chunk-4OBMFPGF.js';
|
|
10
|
-
import { definePresence } from './chunk-
|
|
10
|
+
import { definePresence } from './chunk-Q6WZEGAM.js';
|
|
11
11
|
import { parseSvgPreview } from './chunk-FN7IF6M6.js';
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
12
|
+
import './chunk-FE5KE5TR.js';
|
|
13
|
+
import './chunk-6EOS74O4.js';
|
|
14
14
|
import { VISIO_CAPABILITY_COMMANDS, VISIO_TEXT_LANGUAGES, VISIO_BULLET_STYLES, FOREIGN_VECTOR_SCENE_LIMITS, EMPTY_TEXT_SEARCH, EMPTY_SELECTION, EMPTY_EDIT_STATE, assertViewableDocument, snapshotSelection, selectionKey, indexDocumentText, searchDocumentText, sameSelection, validateSearchQuery, MAX_INPUT_BYTES, createTemplateVsdx, DocumentHistory, snapshotEdits, visioWithContainerMembers, snapshotVisioGeometryExpectation, visioSelectionIsOnPage, visioContainerUpkeep, assertVisioGeometryExpectation, visioDuplicateCommand, visioGroupCommand, visioUngroupCommand, visioContainerCommand, visioCalloutCommand, visioPasteCommand, visioTextOccurrenceSelection, ForeignVectorBudget, VISIO_IDENTITY_TRANSFORM, hasVisibleShapeContent, composeVisioTransform, compatibilityNotes, compatibilityText, visioGradientInstances, visioRenderedGradientStopCount, inspectForeignVectorResource, VISIO_CAPABILITY_BACKSTAGE_PAGES, copySnapshotScene, editErrorMessage, eventKeys, isEditCancellation, propertyKeys, VISIO_TEXT_REPLACE_LIMITS, visioTextReplaceOccurrences, visioTextReplacePlan, visioTextReplaceCommands, visioClipboardShape, TEXT_SEARCH_LIMITS, VISIO_TEMPLATES, visioSizePositionCommand, visioSizePositionState, visioPageInsertCommand, visioQuarterTurnCommand, visioRotationShape, VISIO_INITIAL_PRESENCE, sanitizeVisioPresence, isVisioTemplateId, textSearchStatus, visioSvgStrokeStyle, visioLineDashLengths, visioStencilDropCommand, visioMovementShape, visioMoveCommands, visioMoveTargets, visioMarqueeBox, visioPageDragDelta, visioSnapResizeDrag, visioResizeSelectionFrame, visioResizeSelectionDrag, visioTextShape, visioTextDraftEdit, isVisioPathTool, visioPathDrawPlan, visioDrawPlan, visioDrawBounds, visioDrawIsLargeEnough, visioConnectorCreationCommand, visioConnectorRouteOf, visioPageEditToDrawing, visioNudgeCommands, VISIO_DIAGRAM_RULE_SETS, visioArrangeCommands, visioChangeMasterTargets, visioChangeMasterCommand, visioChangeShapeRefusal, visioChangeShapeCommand, visioChangeCaseShape, visioChangeCaseCommand, visioTextBlockShape, visioTextBlockFrame, visioTextBlockEdit, visioOrderingShape, visioFormatTargetShape, visioFormattingShape, visioTextFormattingState, visioTextIndentCommand, visioTextFontStepCommand, visioFontFamilies, visioChartObjectInsertCommand, visioPictureInsertCommand, normalizeVisioHyperlinkAddress, visioFitToDrawingEdits, VISIO_PAPER_SIZES, visioPageSizePresetEdits, visioOrientationEdits, visioPageDecorationState, visioNewPageId, visioMatchingPaperSize, visioPageBreaks, visioSwimlaneOptions, visioInsertSeparator, visioDeleteSwimlane, visioInsertSwimlane, visioOrgHierarchy, visioOrgPeople, visioOrgImportEdits, visioOrgReLayout, visioOrgAddPosition, VISIO_DATA_GRAPHIC_POSITIONS, visioDataGraphicFields, visioRemoveDataGraphicEdits, visioDataGraphicConfigs, visioAutoSpaceDataGraphicEdits, visioPositionDataGraphicEdits, visioDataGraphicEdits, visioSetDataGraphicItemEdits, visioShapeDataRow, VISIO_DATA_GRAPHIC_FILL_ROW, visioColorRules, visioLegendEdits, visioDataGraphicOwners, visioTextDialogValues, visioTextDialogPatch, visioFormatPainterSnapshot, visioFormatPainterEdits, VISIO_FORMAT_PAINTER_LIMITS, visioConnectableShape, visioAddConnectionPointCommand, visioSwimlaneInfo, visioWithCalloutLeaders, visioWithDataGraphics, visioOrgPosition, visioFillPatternTransform, visioRenderedGradientStops, visioStrokeGradient, visioMasterDropRefusal, visioMasterDropSize, visioFileMasterDropCommand, visioMasterDropCommand, visioDrawingPoint, visioMovePreviewTransform, visioMarqueeSelection, VISIO_RESIZE_HANDLES, visioResizeSwimlane, visioPathPreview, visioNearestConnectionPoint, visioRotationPreviewTransform, visioStraightLineHandles, visioConnectorEndHandles, VISIO_LAYOUT_STYLES, visioShapeFormattingState, visioGlowKey, visioShapeEffectValues, visioReflectionKey, visioFollowTarget, visioPaperSize, visioKeepAutoSize, VISIO_RULER_DENSITY_CHOICES, VISIO_GRID_DENSITY_CHOICES, visioGridSteps, visioRulerGridValues, visioRulerDensityFactor, visioRulerGridEdits, checkVisioDiagram, visioShapeReport, visioShapeReportTable, visioShapeReportCsv, visioShapeReportText, visioSubprocessCommand, visioParseRange, visioDataTable, visioWorkbookGrid, visioOrgDeletePosition, visioShapeDataText, visioOrgFollowData, visioDeleteDataGraphicItemEdits, visioDataGraphicItems, visioVisualizerShapes, visioParseVisualizerTable, visioDataVisualizerEdits, VISIO_VISUALIZER_COLUMNS, VISIO_LAYOUT_LABELS, visioAutoAlignCommands, visioReLayoutCommands, visioLayerAssignState, visioNewLayerNames, visioLayerAssignCommands, VISIO_SELECT_TYPES, VISIO_SELECT_TYPE_LABELS, visioPageMasters, visioSelectByType, visioPasteTextCommand, visioSnapMoveDelta, visioPageGuides, visioAutoConnectShape, visioAutoConnectArrows, visioAutoConnectNeighbor, visioAutoConnectPlan, visioShapePageBox, VISIO_FIELD_CATEGORIES, visioTextAppendEdit, visioTextSource, visioTextBlockMatrix, VISIO_TEXT_BLOCK_HANDLES, visioShapeLocalPoint, visioTextBlockDrag, visioShapeFrame, visioMasterPreviewBox, visioConnectorMovePreviews, visioConnectorPreviewPath, visioGlueableShape, visioDataGraphicMarker, visioGuideCreateCommand, visioGuideMoveCommand } from 'ooxml-core/visio/ui';
|
|
15
15
|
export { TEXT_SEARCH_LIMITS, VISIO_CAPABILITY_IDS, compatibilityNotes, compatibilityText, demoDocument, eventKeys, propertyKeys } from 'ooxml-core/visio/ui';
|
|
16
16
|
import { VISIO_VISIBILITY_LIMITS, VISIO_BASIC_STENCIL, VISIO_STENCILS, visioOutlineShape, VISIO_SNAP, VISIO_GLUE, VISIO_SHADOW_PRESETS, loadVisio, createVsdx, deserializeVisioClipboard, mergeVisioPages, getVisioPageLayers, resolveVisioPageVisibility, visioLineJumpPaths, VISIO_CLIPBOARD_MAX_CHARS, projectPathData, createProjection, projectionMatrix, visioSnapGlue, VISIO_SWIMLANE_STYLES, VISIO_GLOW_TRANSPARENCY, VISIO_METADATA_TEXT_LIMIT, VISIO_PICTURE_MAX_BYTES, inspectVisioRasterImage, visioPageLayout, VISIO_BUILT_IN_THEMES, VISIO_CONNECTOR_ROUTES, visioRotation3dMatrix, visioFilledArrow, layoutVisioFilledArrowLine, visioOpenArrowPath, bevelMaterial, bevelLight, bevelHeightTable, extrudePaths, extrusionPathData, visioBuiltInStencil, visioBuiltInMaster, isVisioChangeShapeTarget, VISIO_CONTAINER_STYLES, VISIO_CALLOUT_STYLES, visioFallbackQuickStyle, VISIO_GLOW_SIZES, VISIO_BEVEL_PRESETS, VISIO_ROTATION_PRESETS, VISIO_SOFT_EDGE_SIZES, VISIO_REFLECTION_PRESETS, encodeBitmapEmf, VISIO_BACKGROUND_STYLES, visioBackgroundShapes, VISIO_BORDER_STYLES, visioBorderShapes, checkVisioAlternativeText, visioRefreshReport, VISIO_SHAPE_DATA_TYPES, visioShapeDataRowName, VISIO_CLIPBOARD_MAGIC, visioThemeVariantColors, visioPageThemeColors, parseVsdx, parsePath, visioTabStarts, readVisioStencil, isVisioBuiltInThemeId, VISIO_QUICK_STYLE_COLORS, VISIO_SCALE_UNITS, BEVEL_BLUR_WIDTHS } from 'ooxml-core/visio';
|
|
17
17
|
import { renderChartSvg, readEmbeddedChartSpace, readEmbeddedChartExSpace, writeEmbeddedChartSpace, writeEmbeddedChartExSpace } from 'ooxml-core/xlsx';
|
|
18
18
|
import { resolveRotateHandlePlacement, createRotationDrag, snapAngle } from 'ooxml-core/geometry';
|
|
19
|
-
import {
|
|
19
|
+
import { interpolate, normalizeLocale } from 'ooxml-core/i18n';
|
|
20
20
|
import { isCapabilityEnabled, capabilityHiddenActions, recoveryStoreOf, FILE_COMMAND_EVENT, fileCommandDetail, saveToStorage, documentSaveMeta } from 'ooxml-core/embedding';
|
|
21
21
|
import { createWriteBackScheduler, DEFAULT_WRITE_BACK_DEBOUNCE_MS, flushWriteBackOnPageClose, writeBackStateOf } from 'ooxml-core/collab';
|
|
22
22
|
import { INSERT_CHART_TYPES, GROUPED_CHART_TYPES, gridChartSvg, gridChart, parseChartGrid, readEmbeddedChart, chartGridText, gridChartWorkbook } from 'ooxml-core/xlsx/ui';
|
|
@@ -630,13 +630,19 @@ var ViewerController = class {
|
|
|
630
630
|
this.#capabilityReadOnly = locked;
|
|
631
631
|
this.#applyEditPermission();
|
|
632
632
|
}
|
|
633
|
+
/** Set while a drawing opened from a cloud place is read-only (the service or host policy). */
|
|
634
|
+
setFileReadOnly(locked) {
|
|
635
|
+
this.#fileReadOnly = locked;
|
|
636
|
+
this.#applyEditPermission();
|
|
637
|
+
}
|
|
638
|
+
#fileReadOnly = false;
|
|
633
639
|
#hostCanEdit = true;
|
|
634
640
|
#hostReadOnly = false;
|
|
635
641
|
#roleReadOnly = false;
|
|
636
642
|
#capabilityReadOnly = false;
|
|
637
643
|
#applyEditPermission() {
|
|
638
644
|
this.#assertAlive();
|
|
639
|
-
const value = this.#hostCanEdit && !this.#hostReadOnly && !this.#roleReadOnly && !this.#capabilityReadOnly;
|
|
645
|
+
const value = this.#hostCanEdit && !this.#hostReadOnly && !this.#roleReadOnly && !this.#capabilityReadOnly && !this.#fileReadOnly;
|
|
640
646
|
if (value === this.#state.canEdit) return;
|
|
641
647
|
if (!value) {
|
|
642
648
|
this.cancelEdit();
|
|
@@ -7696,6 +7702,8 @@ var deBackstage = {
|
|
|
7696
7702
|
"Share with people": "Mit Personen teilen",
|
|
7697
7703
|
"Edit this drawing together with other windows of this browser. Open the same session name in another window to join.": "Bearbeiten Sie diese Zeichnung gemeinsam mit anderen Fenstern dieses Browsers. \xD6ffnen Sie in einem anderen Fenster denselben Sitzungsnamen, um beizutreten.",
|
|
7698
7704
|
"The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.": "Die gesamte Zeichnung wird geteilt; \xE4ndern zwei Personen sie gleichzeitig, gewinnt die letzte \xC4nderung. Nichts verl\xE4sst dieses Ger\xE4t.",
|
|
7705
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.": "Bearbeiten Sie diese Zeichnung gemeinsam mit anderen. Alle, die derselben Sitzung beitreten, sehen \xC4nderungen, sobald sie entstehen.",
|
|
7706
|
+
"The whole drawing is shared; when two people change it at once, the last change wins.": "Die ganze Zeichnung wird freigegeben; \xE4ndern zwei Personen sie gleichzeitig, gilt die letzte \xC4nderung.",
|
|
7699
7707
|
"People in this session": "Personen in dieser Sitzung",
|
|
7700
7708
|
"Product Information": "Produktinformationen",
|
|
7701
7709
|
"Visio viewer (beta). No sign-in or subscription is used.": "Visio-Viewer (Beta). Es wird keine Anmeldung und kein Abonnement verwendet.",
|
|
@@ -7770,7 +7778,17 @@ var deBackstage = {
|
|
|
7770
7778
|
"it cannot be drawn as vectors": "sie l\xE4sst sich nicht als Vektoren zeichnen",
|
|
7771
7779
|
"Fonts embedded: {fonts}.": "Eingebettete Schriftarten: {fonts}.",
|
|
7772
7780
|
"Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.": "Nicht eingebettete Schriftarten (kein TrueType, oder die Schriftlizenz verbietet das Einbetten): {fonts}.",
|
|
7773
|
-
"PDF created: {count} page(s)": "PDF erstellt: {count} Seite(n)"
|
|
7781
|
+
"PDF created: {count} page(s)": "PDF erstellt: {count} Seite(n)",
|
|
7782
|
+
"This device": "Dieses Ger\xE4t",
|
|
7783
|
+
Places: "Orte",
|
|
7784
|
+
"Opened {name} read-only.": "{name} wurde schreibgesch\xFCtzt ge\xF6ffnet.",
|
|
7785
|
+
"Connected services": "Verbundene Dienste",
|
|
7786
|
+
"Link your storage to open and save files from every app.": "Verkn\xFCpfen Sie Ihren Speicher, um Dateien in allen Apps zu \xF6ffnen und zu speichern.",
|
|
7787
|
+
"Not connected": "Nicht verbunden",
|
|
7788
|
+
Connect: "Verbinden",
|
|
7789
|
+
Disconnect: "Trennen",
|
|
7790
|
+
"Managed by your organization": "Von Ihrer Organisation verwaltet",
|
|
7791
|
+
"Could not update {provider}. Try again.": "{provider} konnte nicht aktualisiert werden. Versuchen Sie es erneut."
|
|
7774
7792
|
};
|
|
7775
7793
|
|
|
7776
7794
|
// src/visio/locales/de-text.ts
|
|
@@ -8351,6 +8369,8 @@ var enBackstage = {
|
|
|
8351
8369
|
"Share with people": "Share with people",
|
|
8352
8370
|
"Edit this drawing together with other windows of this browser. Open the same session name in another window to join.": "Edit this drawing together with other windows of this browser. Open the same session name in another window to join.",
|
|
8353
8371
|
"The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.": "The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.",
|
|
8372
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.": "Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.",
|
|
8373
|
+
"The whole drawing is shared; when two people change it at once, the last change wins.": "The whole drawing is shared; when two people change it at once, the last change wins.",
|
|
8354
8374
|
"People in this session": "People in this session",
|
|
8355
8375
|
"Product Information": "Product Information",
|
|
8356
8376
|
"Visio viewer (beta). No sign-in or subscription is used.": "Visio viewer (beta). No sign-in or subscription is used.",
|
|
@@ -8425,7 +8445,17 @@ var enBackstage = {
|
|
|
8425
8445
|
"it cannot be drawn as vectors": "it cannot be drawn as vectors",
|
|
8426
8446
|
"Fonts embedded: {fonts}.": "Fonts embedded: {fonts}.",
|
|
8427
8447
|
"Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.": "Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.",
|
|
8428
|
-
"PDF created: {count} page(s)": "PDF created: {count} page(s)"
|
|
8448
|
+
"PDF created: {count} page(s)": "PDF created: {count} page(s)",
|
|
8449
|
+
"This device": "This device",
|
|
8450
|
+
Places: "Places",
|
|
8451
|
+
"Opened {name} read-only.": "Opened {name} read-only.",
|
|
8452
|
+
"Connected services": "Connected services",
|
|
8453
|
+
"Link your storage to open and save files from every app.": "Link your storage to open and save files from every app.",
|
|
8454
|
+
"Not connected": "Not connected",
|
|
8455
|
+
Connect: "Connect",
|
|
8456
|
+
Disconnect: "Disconnect",
|
|
8457
|
+
"Managed by your organization": "Managed by your organization",
|
|
8458
|
+
"Could not update {provider}. Try again.": "Could not update {provider}. Try again."
|
|
8429
8459
|
};
|
|
8430
8460
|
|
|
8431
8461
|
// src/visio/locales/es-commands.ts
|
|
@@ -8911,6 +8941,8 @@ var esBackstage = {
|
|
|
8911
8941
|
"Share with people": "Compartir con personas",
|
|
8912
8942
|
"Edit this drawing together with other windows of this browser. Open the same session name in another window to join.": "Edite este dibujo junto con otras ventanas de este navegador. Abra el mismo nombre de sesi\xF3n en otra ventana para unirse.",
|
|
8913
8943
|
"The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.": "Se comparte todo el dibujo; si dos personas lo cambian a la vez, gana el \xFAltimo cambio. Nada sale de este dispositivo.",
|
|
8944
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.": "Edite este dibujo junto con otras personas. Todos los que se unen a la misma sesi\xF3n ven los cambios a medida que se hacen.",
|
|
8945
|
+
"The whole drawing is shared; when two people change it at once, the last change wins.": "Se comparte todo el dibujo; si dos personas lo cambian a la vez, prevalece el \xFAltimo cambio.",
|
|
8914
8946
|
"People in this session": "Personas en esta sesi\xF3n",
|
|
8915
8947
|
"Product Information": "Informaci\xF3n del producto",
|
|
8916
8948
|
"Visio viewer (beta). No sign-in or subscription is used.": "Visor de Visio (beta). No se usa inicio de sesi\xF3n ni suscripci\xF3n.",
|
|
@@ -8985,7 +9017,17 @@ var esBackstage = {
|
|
|
8985
9017
|
"it cannot be drawn as vectors": "no puede dibujarse como vectores",
|
|
8986
9018
|
"Fonts embedded: {fonts}.": "Fuentes incrustadas: {fonts}.",
|
|
8987
9019
|
"Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.": "Fuentes no incrustadas (no son TrueType, o la licencia de la fuente proh\xEDbe incrustarlas): {fonts}.",
|
|
8988
|
-
"PDF created: {count} page(s)": "PDF creado: {count} p\xE1gina(s)"
|
|
9020
|
+
"PDF created: {count} page(s)": "PDF creado: {count} p\xE1gina(s)",
|
|
9021
|
+
"This device": "Este dispositivo",
|
|
9022
|
+
Places: "Ubicaciones",
|
|
9023
|
+
"Opened {name} read-only.": "{name} se abri\xF3 como solo lectura.",
|
|
9024
|
+
"Connected services": "Servicios conectados",
|
|
9025
|
+
"Link your storage to open and save files from every app.": "Vincula tu almacenamiento para abrir y guardar archivos desde todas las aplicaciones.",
|
|
9026
|
+
"Not connected": "No conectado",
|
|
9027
|
+
Connect: "Conectar",
|
|
9028
|
+
Disconnect: "Desconectar",
|
|
9029
|
+
"Managed by your organization": "Administrado por tu organizaci\xF3n",
|
|
9030
|
+
"Could not update {provider}. Try again.": "No se pudo actualizar {provider}. Int\xE9ntalo de nuevo."
|
|
8989
9031
|
};
|
|
8990
9032
|
|
|
8991
9033
|
// src/visio/locales/fr-commands.ts
|
|
@@ -9471,6 +9513,8 @@ var frBackstage = {
|
|
|
9471
9513
|
"Share with people": "Partager avec des personnes",
|
|
9472
9514
|
"Edit this drawing together with other windows of this browser. Open the same session name in another window to join.": "Modifiez ce dessin avec d\u2019autres fen\xEAtres de ce navigateur. Ouvrez le m\xEAme nom de session dans une autre fen\xEAtre pour vous joindre.",
|
|
9473
9515
|
"The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.": "Tout le dessin est partag\xE9 ; si deux personnes le modifient en m\xEAme temps, la derni\xE8re modification l\u2019emporte. Rien ne quitte cet appareil.",
|
|
9516
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.": "Modifiez ce dessin avec d\u2019autres personnes. Toutes les personnes qui rejoignent la m\xEAme session voient les modifications au fur et \xE0 mesure.",
|
|
9517
|
+
"The whole drawing is shared; when two people change it at once, the last change wins.": "Le dessin entier est partag\xE9 ; si deux personnes le modifient en m\xEAme temps, la derni\xE8re modification l\u2019emporte.",
|
|
9474
9518
|
"People in this session": "Personnes dans cette session",
|
|
9475
9519
|
"Product Information": "Informations sur le produit",
|
|
9476
9520
|
"Visio viewer (beta). No sign-in or subscription is used.": "Visionneuse Visio (b\xEAta). Aucune connexion ni aucun abonnement n\u2019est utilis\xE9.",
|
|
@@ -9545,7 +9589,17 @@ var frBackstage = {
|
|
|
9545
9589
|
"it cannot be drawn as vectors": "elle ne peut pas \xEAtre dessin\xE9e en vecteurs",
|
|
9546
9590
|
"Fonts embedded: {fonts}.": "Polices int\xE9gr\xE9es : {fonts}.",
|
|
9547
9591
|
"Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.": "Polices non int\xE9gr\xE9es (pas TrueType, ou la licence de la police interdit l\u2019int\xE9gration) : {fonts}.",
|
|
9548
|
-
"PDF created: {count} page(s)": "PDF cr\xE9\xE9 : {count} page(s)"
|
|
9592
|
+
"PDF created: {count} page(s)": "PDF cr\xE9\xE9 : {count} page(s)",
|
|
9593
|
+
"This device": "Cet appareil",
|
|
9594
|
+
Places: "Emplacements",
|
|
9595
|
+
"Opened {name} read-only.": "{name} a \xE9t\xE9 ouvert en lecture seule.",
|
|
9596
|
+
"Connected services": "Services connect\xE9s",
|
|
9597
|
+
"Link your storage to open and save files from every app.": "Liez votre stockage pour ouvrir et enregistrer des fichiers depuis toutes les applications.",
|
|
9598
|
+
"Not connected": "Non connect\xE9",
|
|
9599
|
+
Connect: "Se connecter",
|
|
9600
|
+
Disconnect: "Se d\xE9connecter",
|
|
9601
|
+
"Managed by your organization": "G\xE9r\xE9 par votre organisation",
|
|
9602
|
+
"Could not update {provider}. Try again.": "Impossible de mettre \xE0 jour {provider}. R\xE9essayez."
|
|
9549
9603
|
};
|
|
9550
9604
|
|
|
9551
9605
|
// src/visio/locales/zh-CN-commands.ts
|
|
@@ -10031,6 +10085,8 @@ var zhCNBackstage = {
|
|
|
10031
10085
|
"Share with people": "\u4E0E\u4ED6\u4EBA\u5171\u4EAB",
|
|
10032
10086
|
"Edit this drawing together with other windows of this browser. Open the same session name in another window to join.": "\u4E0E\u6B64\u6D4F\u89C8\u5668\u7684\u5176\u4ED6\u7A97\u53E3\u5171\u540C\u7F16\u8F91\u6B64\u56FE\u8868\u3002\u5728\u53E6\u4E00\u4E2A\u7A97\u53E3\u4E2D\u6253\u5F00\u76F8\u540C\u7684\u4F1A\u8BDD\u540D\u79F0\u5373\u53EF\u52A0\u5165\u3002",
|
|
10033
10087
|
"The whole drawing is shared; when two people change it at once, the last change wins. Nothing leaves this device.": "\u6574\u4E2A\u56FE\u8868\u90FD\u4F1A\u5171\u4EAB\uFF1B\u5982\u679C\u4E24\u4EBA\u540C\u65F6\u4FEE\u6539\uFF0C\u4EE5\u6700\u540E\u4E00\u6B21\u4FEE\u6539\u4E3A\u51C6\u3002\u5185\u5BB9\u4E0D\u4F1A\u79BB\u5F00\u6B64\u8BBE\u5907\u3002",
|
|
10088
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made.": "\u4E0E\u4ED6\u4EBA\u4E00\u8D77\u7F16\u8F91\u6B64\u7ED8\u56FE\u3002\u52A0\u5165\u540C\u4E00\u4F1A\u8BDD\u7684\u6BCF\u4E2A\u4EBA\u90FD\u4F1A\u5B9E\u65F6\u770B\u5230\u66F4\u6539\u3002",
|
|
10089
|
+
"The whole drawing is shared; when two people change it at once, the last change wins.": "\u5171\u4EAB\u6574\u4E2A\u7ED8\u56FE\uFF1B\u5982\u679C\u4E24\u4EBA\u540C\u65F6\u66F4\u6539\uFF0C\u4EE5\u6700\u540E\u4E00\u6B21\u66F4\u6539\u4E3A\u51C6\u3002",
|
|
10034
10090
|
"People in this session": "\u6B64\u4F1A\u8BDD\u4E2D\u7684\u4EBA\u5458",
|
|
10035
10091
|
"Product Information": "\u4EA7\u54C1\u4FE1\u606F",
|
|
10036
10092
|
"Visio viewer (beta). No sign-in or subscription is used.": "Visio \u67E5\u770B\u5668\uFF08\u6D4B\u8BD5\u7248\uFF09\u3002\u4E0D\u4F7F\u7528\u767B\u5F55\u6216\u8BA2\u9605\u3002",
|
|
@@ -10105,7 +10161,17 @@ var zhCNBackstage = {
|
|
|
10105
10161
|
"it cannot be drawn as vectors": "\u65E0\u6CD5\u4EE5\u77E2\u91CF\u7ED8\u5236",
|
|
10106
10162
|
"Fonts embedded: {fonts}.": "\u5DF2\u5D4C\u5165\u5B57\u4F53\uFF1A{fonts}\u3002",
|
|
10107
10163
|
"Fonts not embedded (not TrueType, or the font licence forbids embedding): {fonts}.": "\u672A\u5D4C\u5165\u7684\u5B57\u4F53\uFF08\u4E0D\u662F TrueType\uFF0C\u6216\u5B57\u4F53\u8BB8\u53EF\u7981\u6B62\u5D4C\u5165\uFF09\uFF1A{fonts}\u3002",
|
|
10108
|
-
"PDF created: {count} page(s)": "\u5DF2\u521B\u5EFA PDF\uFF1A{count} \u9875"
|
|
10164
|
+
"PDF created: {count} page(s)": "\u5DF2\u521B\u5EFA PDF\uFF1A{count} \u9875",
|
|
10165
|
+
"This device": "\u6B64\u8BBE\u5907",
|
|
10166
|
+
Places: "\u4F4D\u7F6E",
|
|
10167
|
+
"Opened {name} read-only.": "\u5DF2\u4EE5\u53EA\u8BFB\u65B9\u5F0F\u6253\u5F00 {name}\u3002",
|
|
10168
|
+
"Connected services": "\u5DF2\u8FDE\u63A5\u7684\u670D\u52A1",
|
|
10169
|
+
"Link your storage to open and save files from every app.": "\u94FE\u63A5\u4F60\u7684\u5B58\u50A8\uFF0C\u4EE5\u4FBF\u5728\u6240\u6709\u5E94\u7528\u4E2D\u6253\u5F00\u548C\u4FDD\u5B58\u6587\u4EF6\u3002",
|
|
10170
|
+
"Not connected": "\u672A\u8FDE\u63A5",
|
|
10171
|
+
Connect: "\u8FDE\u63A5",
|
|
10172
|
+
Disconnect: "\u65AD\u5F00\u8FDE\u63A5",
|
|
10173
|
+
"Managed by your organization": "\u7531\u4F60\u7684\u7EC4\u7EC7\u7BA1\u7406",
|
|
10174
|
+
"Could not update {provider}. Try again.": "\u65E0\u6CD5\u66F4\u65B0 {provider}\u3002\u8BF7\u91CD\u8BD5\u3002"
|
|
10109
10175
|
};
|
|
10110
10176
|
|
|
10111
10177
|
// src/visio/ribbon-locale.ts
|
|
@@ -15350,44 +15416,36 @@ function share(doc) {
|
|
|
15350
15416
|
panel.setAttribute("aria-labelledby", "share-title");
|
|
15351
15417
|
const title2 = el2(doc, "h2", "", "Share with people");
|
|
15352
15418
|
title2.id = "share-title";
|
|
15353
|
-
const field = el2(doc, "label", "share-field");
|
|
15354
|
-
const room = el2(doc, "input", "share-room");
|
|
15355
|
-
room.type = "text";
|
|
15356
|
-
room.maxLength = 64;
|
|
15357
|
-
room.autocomplete = "off";
|
|
15358
|
-
room.spellcheck = false;
|
|
15359
|
-
field.append(el2(doc, "span", "", "Session name"), room);
|
|
15360
|
-
const buttons = el2(doc, "div", "share-buttons");
|
|
15361
|
-
const start = el2(doc, "button", "share-start", "Start sharing");
|
|
15362
|
-
start.type = "button";
|
|
15363
|
-
start.dataset.share = "start";
|
|
15364
|
-
const stop = el2(doc, "button", "share-stop", "Stop sharing");
|
|
15365
|
-
stop.type = "button";
|
|
15366
|
-
stop.dataset.share = "stop";
|
|
15367
|
-
stop.hidden = true;
|
|
15368
|
-
buttons.append(start, stop);
|
|
15369
15419
|
const status2 = el2(doc, "p", "share-status");
|
|
15370
15420
|
status2.setAttribute("role", "status");
|
|
15371
15421
|
const people = doc.createElement("office-ui-presence");
|
|
15372
15422
|
people.className = "share-people";
|
|
15373
15423
|
people.setAttribute("label", "People in this session");
|
|
15424
|
+
const buttons = el2(doc, "div", "share-buttons");
|
|
15425
|
+
const open = el2(doc, "button", "share-start", "Share with people");
|
|
15426
|
+
open.type = "button";
|
|
15427
|
+
open.dataset.share = "open";
|
|
15428
|
+
const stop = el2(doc, "button", "share-stop", "Stop sharing");
|
|
15429
|
+
stop.type = "button";
|
|
15430
|
+
stop.dataset.share = "stop";
|
|
15431
|
+
stop.hidden = true;
|
|
15432
|
+
buttons.append(open, stop);
|
|
15374
15433
|
panel.append(
|
|
15375
15434
|
title2,
|
|
15376
15435
|
el2(
|
|
15377
15436
|
doc,
|
|
15378
15437
|
"p",
|
|
15379
15438
|
"",
|
|
15380
|
-
"Edit this drawing together with other
|
|
15439
|
+
"Edit this drawing together with other people. Everyone who joins the same session sees changes as they are made."
|
|
15381
15440
|
),
|
|
15382
|
-
field,
|
|
15383
|
-
buttons,
|
|
15384
15441
|
status2,
|
|
15385
15442
|
people,
|
|
15443
|
+
buttons,
|
|
15386
15444
|
el2(
|
|
15387
15445
|
doc,
|
|
15388
15446
|
"p",
|
|
15389
15447
|
"backstage-muted",
|
|
15390
|
-
"The whole drawing is shared; when two people change it at once, the last change wins.
|
|
15448
|
+
"The whole drawing is shared; when two people change it at once, the last change wins."
|
|
15391
15449
|
)
|
|
15392
15450
|
);
|
|
15393
15451
|
return panel;
|
|
@@ -15400,7 +15458,7 @@ function account(doc) {
|
|
|
15400
15458
|
el2(doc, "p", "", "Visio viewer (beta). No sign-in or subscription is used."),
|
|
15401
15459
|
el2(doc, "p", "backstage-muted", LOCAL)
|
|
15402
15460
|
);
|
|
15403
|
-
profile.append(product);
|
|
15461
|
+
profile.append(doc.createElement("office-ui-connected-services"), product);
|
|
15404
15462
|
return profile;
|
|
15405
15463
|
}
|
|
15406
15464
|
function createBackstage(doc) {
|
|
@@ -15449,6 +15507,17 @@ function createBackstage(doc) {
|
|
|
15449
15507
|
input.accept = ".vsdx,.vsdm,.vstx,.vstm,.vsd";
|
|
15450
15508
|
input.hidden = true;
|
|
15451
15509
|
input.setAttribute("aria-label", "Choose a Visio drawing");
|
|
15510
|
+
const places = doc.createElement("office-ui-open-places");
|
|
15511
|
+
places.append(
|
|
15512
|
+
action(
|
|
15513
|
+
doc,
|
|
15514
|
+
"open",
|
|
15515
|
+
"Browse",
|
|
15516
|
+
"Open a .vsdx drawing or a legacy .vsd preview from this device."
|
|
15517
|
+
),
|
|
15518
|
+
input,
|
|
15519
|
+
el2(doc, "p", "backstage-muted", `Recent drawings are not tracked. ${LOCAL}`)
|
|
15520
|
+
);
|
|
15452
15521
|
const preview5 = doc.createElement("office-ui-print-preview");
|
|
15453
15522
|
preview5.className = "backstage-print-preview";
|
|
15454
15523
|
preview5.setAttribute("label", "Print preview of the current page");
|
|
@@ -15464,19 +15533,7 @@ function createBackstage(doc) {
|
|
|
15464
15533
|
notes
|
|
15465
15534
|
),
|
|
15466
15535
|
page2(doc, "new", "New", templates),
|
|
15467
|
-
page2(
|
|
15468
|
-
doc,
|
|
15469
|
-
"open",
|
|
15470
|
-
"Open",
|
|
15471
|
-
action(
|
|
15472
|
-
doc,
|
|
15473
|
-
"open",
|
|
15474
|
-
"Browse",
|
|
15475
|
-
"Open a .vsdx drawing or a legacy .vsd preview from this device."
|
|
15476
|
-
),
|
|
15477
|
-
input,
|
|
15478
|
-
el2(doc, "p", "backstage-muted", `Recent drawings are not tracked. ${LOCAL}`)
|
|
15479
|
-
),
|
|
15536
|
+
page2(doc, "open", "Open", places),
|
|
15480
15537
|
page2(
|
|
15481
15538
|
doc,
|
|
15482
15539
|
"save-as",
|
|
@@ -15563,6 +15620,202 @@ function createBackstage(doc) {
|
|
|
15563
15620
|
);
|
|
15564
15621
|
return root;
|
|
15565
15622
|
}
|
|
15623
|
+
|
|
15624
|
+
// src/visio/locales/cloud-files.ts
|
|
15625
|
+
var VISIO_CLOUD_FILES_LABELS = {
|
|
15626
|
+
en: {
|
|
15627
|
+
signInHeading: "Sign in to {provider}",
|
|
15628
|
+
signInText: "Sign in to open and save your drawings in {provider}.",
|
|
15629
|
+
signIn: "Sign in",
|
|
15630
|
+
signOut: "Sign out",
|
|
15631
|
+
providers: "Places",
|
|
15632
|
+
recent: "Recent",
|
|
15633
|
+
myFiles: "My files",
|
|
15634
|
+
location: "Location",
|
|
15635
|
+
searchPlaceholder: "Search drawings",
|
|
15636
|
+
openLink: "Open from a link",
|
|
15637
|
+
openLinkPlaceholder: "Paste a sharing link",
|
|
15638
|
+
openLinkButton: "Open",
|
|
15639
|
+
files: "Drawings",
|
|
15640
|
+
name: "Name",
|
|
15641
|
+
modified: "Modified",
|
|
15642
|
+
size: "Size",
|
|
15643
|
+
loadMore: "Load more",
|
|
15644
|
+
loading: "Loading",
|
|
15645
|
+
empty: "There are no drawings here.",
|
|
15646
|
+
emptySearch: "No drawings match your search.",
|
|
15647
|
+
unsupported: "Only .vsdx drawings can be opened here",
|
|
15648
|
+
opening: "Opening {name}",
|
|
15649
|
+
openingPercent: "Opening {name} ({percent}%)",
|
|
15650
|
+
cancel: "Cancel",
|
|
15651
|
+
folder: "Folder",
|
|
15652
|
+
failed: "Something went wrong."
|
|
15653
|
+
},
|
|
15654
|
+
de: {
|
|
15655
|
+
signInHeading: "Bei {provider} anmelden",
|
|
15656
|
+
signInText: "Melden Sie sich an, um Ihre Zeichnungen in {provider} zu \xF6ffnen und zu speichern.",
|
|
15657
|
+
signIn: "Anmelden",
|
|
15658
|
+
signOut: "Abmelden",
|
|
15659
|
+
providers: "Orte",
|
|
15660
|
+
recent: "Zuletzt verwendet",
|
|
15661
|
+
myFiles: "Meine Dateien",
|
|
15662
|
+
location: "Speicherort",
|
|
15663
|
+
searchPlaceholder: "Zeichnungen durchsuchen",
|
|
15664
|
+
openLink: "\xDCber einen Link \xF6ffnen",
|
|
15665
|
+
openLinkPlaceholder: "Freigabelink einf\xFCgen",
|
|
15666
|
+
openLinkButton: "\xD6ffnen",
|
|
15667
|
+
files: "Zeichnungen",
|
|
15668
|
+
name: "Name",
|
|
15669
|
+
modified: "Ge\xE4ndert",
|
|
15670
|
+
size: "Gr\xF6\xDFe",
|
|
15671
|
+
loadMore: "Mehr laden",
|
|
15672
|
+
loading: "Wird geladen",
|
|
15673
|
+
empty: "Hier gibt es keine Zeichnungen.",
|
|
15674
|
+
emptySearch: "Keine Zeichnungen entsprechen Ihrer Suche.",
|
|
15675
|
+
unsupported: "Hier k\xF6nnen nur .vsdx-Zeichnungen ge\xF6ffnet werden",
|
|
15676
|
+
opening: "{name} wird ge\xF6ffnet",
|
|
15677
|
+
openingPercent: "{name} wird ge\xF6ffnet ({percent} %)",
|
|
15678
|
+
cancel: "Abbrechen",
|
|
15679
|
+
folder: "Ordner",
|
|
15680
|
+
failed: "Es ist ein Fehler aufgetreten."
|
|
15681
|
+
},
|
|
15682
|
+
es: {
|
|
15683
|
+
signInHeading: "Iniciar sesi\xF3n en {provider}",
|
|
15684
|
+
signInText: "Inicie sesi\xF3n para abrir y guardar sus dibujos en {provider}.",
|
|
15685
|
+
signIn: "Iniciar sesi\xF3n",
|
|
15686
|
+
signOut: "Cerrar sesi\xF3n",
|
|
15687
|
+
providers: "Ubicaciones",
|
|
15688
|
+
recent: "Recientes",
|
|
15689
|
+
myFiles: "Mis archivos",
|
|
15690
|
+
location: "Ubicaci\xF3n",
|
|
15691
|
+
searchPlaceholder: "Buscar dibujos",
|
|
15692
|
+
openLink: "Abrir desde un v\xEDnculo",
|
|
15693
|
+
openLinkPlaceholder: "Pegue un v\xEDnculo para compartir",
|
|
15694
|
+
openLinkButton: "Abrir",
|
|
15695
|
+
files: "Dibujos",
|
|
15696
|
+
name: "Nombre",
|
|
15697
|
+
modified: "Modificado",
|
|
15698
|
+
size: "Tama\xF1o",
|
|
15699
|
+
loadMore: "Cargar m\xE1s",
|
|
15700
|
+
loading: "Cargando",
|
|
15701
|
+
empty: "No hay dibujos aqu\xED.",
|
|
15702
|
+
emptySearch: "Ning\xFAn dibujo coincide con la b\xFAsqueda.",
|
|
15703
|
+
unsupported: "Aqu\xED solo se pueden abrir dibujos .vsdx",
|
|
15704
|
+
opening: "Abriendo {name}",
|
|
15705
|
+
openingPercent: "Abriendo {name} ({percent} %)",
|
|
15706
|
+
cancel: "Cancelar",
|
|
15707
|
+
folder: "Carpeta",
|
|
15708
|
+
failed: "Algo sali\xF3 mal."
|
|
15709
|
+
},
|
|
15710
|
+
fr: {
|
|
15711
|
+
signInHeading: "Se connecter \xE0 {provider}",
|
|
15712
|
+
signInText: "Connectez-vous pour ouvrir et enregistrer vos dessins dans {provider}.",
|
|
15713
|
+
signIn: "Se connecter",
|
|
15714
|
+
signOut: "Se d\xE9connecter",
|
|
15715
|
+
providers: "Emplacements",
|
|
15716
|
+
recent: "R\xE9cents",
|
|
15717
|
+
myFiles: "Mes fichiers",
|
|
15718
|
+
location: "Emplacement",
|
|
15719
|
+
searchPlaceholder: "Rechercher des dessins",
|
|
15720
|
+
openLink: "Ouvrir depuis un lien",
|
|
15721
|
+
openLinkPlaceholder: "Collez un lien de partage",
|
|
15722
|
+
openLinkButton: "Ouvrir",
|
|
15723
|
+
files: "Dessins",
|
|
15724
|
+
name: "Nom",
|
|
15725
|
+
modified: "Modifi\xE9",
|
|
15726
|
+
size: "Taille",
|
|
15727
|
+
loadMore: "Charger plus",
|
|
15728
|
+
loading: "Chargement",
|
|
15729
|
+
empty: "Aucun dessin ici.",
|
|
15730
|
+
emptySearch: "Aucun dessin ne correspond \xE0 votre recherche.",
|
|
15731
|
+
unsupported: "Seuls les dessins .vsdx peuvent \xEAtre ouverts ici",
|
|
15732
|
+
opening: "Ouverture de {name}",
|
|
15733
|
+
openingPercent: "Ouverture de {name} ({percent} %)",
|
|
15734
|
+
cancel: "Annuler",
|
|
15735
|
+
folder: "Dossier",
|
|
15736
|
+
failed: "Une erreur s\u2019est produite."
|
|
15737
|
+
},
|
|
15738
|
+
"zh-CN": {
|
|
15739
|
+
signInHeading: "\u767B\u5F55 {provider}",
|
|
15740
|
+
signInText: "\u767B\u5F55\u540E\u5373\u53EF\u5728 {provider} \u4E2D\u6253\u5F00\u5E76\u4FDD\u5B58\u4F60\u7684\u7ED8\u56FE\u3002",
|
|
15741
|
+
signIn: "\u767B\u5F55",
|
|
15742
|
+
signOut: "\u6CE8\u9500",
|
|
15743
|
+
providers: "\u4F4D\u7F6E",
|
|
15744
|
+
recent: "\u6700\u8FD1",
|
|
15745
|
+
myFiles: "\u6211\u7684\u6587\u4EF6",
|
|
15746
|
+
location: "\u4F4D\u7F6E",
|
|
15747
|
+
searchPlaceholder: "\u641C\u7D22\u7ED8\u56FE",
|
|
15748
|
+
openLink: "\u901A\u8FC7\u94FE\u63A5\u6253\u5F00",
|
|
15749
|
+
openLinkPlaceholder: "\u7C98\u8D34\u5171\u4EAB\u94FE\u63A5",
|
|
15750
|
+
openLinkButton: "\u6253\u5F00",
|
|
15751
|
+
files: "\u7ED8\u56FE",
|
|
15752
|
+
name: "\u540D\u79F0",
|
|
15753
|
+
modified: "\u4FEE\u6539\u65F6\u95F4",
|
|
15754
|
+
size: "\u5927\u5C0F",
|
|
15755
|
+
loadMore: "\u52A0\u8F7D\u66F4\u591A",
|
|
15756
|
+
loading: "\u6B63\u5728\u52A0\u8F7D",
|
|
15757
|
+
empty: "\u6B64\u5904\u6CA1\u6709\u7ED8\u56FE\u3002",
|
|
15758
|
+
emptySearch: "\u6CA1\u6709\u4E0E\u641C\u7D22\u5339\u914D\u7684\u7ED8\u56FE\u3002",
|
|
15759
|
+
unsupported: "\u6B64\u5904\u53EA\u80FD\u6253\u5F00 .vsdx \u7ED8\u56FE",
|
|
15760
|
+
opening: "\u6B63\u5728\u6253\u5F00 {name}",
|
|
15761
|
+
openingPercent: "\u6B63\u5728\u6253\u5F00 {name} ({percent}%)",
|
|
15762
|
+
cancel: "\u53D6\u6D88",
|
|
15763
|
+
folder: "\u6587\u4EF6\u5939",
|
|
15764
|
+
failed: "\u51FA\u73B0\u95EE\u9898\u3002"
|
|
15765
|
+
}
|
|
15766
|
+
};
|
|
15767
|
+
|
|
15768
|
+
// src/visio/viewer-cloud-places.ts
|
|
15769
|
+
var CloudPlaces = class {
|
|
15770
|
+
constructor(section2, onOpen, signal) {
|
|
15771
|
+
this.onOpen = onOpen;
|
|
15772
|
+
defineOpenPlaces();
|
|
15773
|
+
this.#element = section2.querySelector("office-ui-open-places");
|
|
15774
|
+
this.#element.accept = ["vsdx"];
|
|
15775
|
+
this.#element.addEventListener(
|
|
15776
|
+
"office-cloud-file-open",
|
|
15777
|
+
(event) => {
|
|
15778
|
+
const { providerId, file } = event.detail;
|
|
15779
|
+
this.onOpen(file, providerId);
|
|
15780
|
+
},
|
|
15781
|
+
{ signal }
|
|
15782
|
+
);
|
|
15783
|
+
}
|
|
15784
|
+
onOpen;
|
|
15785
|
+
#element;
|
|
15786
|
+
#providers = [];
|
|
15787
|
+
get providers() {
|
|
15788
|
+
return this.#providers;
|
|
15789
|
+
}
|
|
15790
|
+
setProviders(providers) {
|
|
15791
|
+
this.#providers = [...providers ?? []];
|
|
15792
|
+
this.#element.providers = this.#providers;
|
|
15793
|
+
}
|
|
15794
|
+
setLocale(locale) {
|
|
15795
|
+
this.#element.locale = locale;
|
|
15796
|
+
this.#element.labels = {
|
|
15797
|
+
...VISIO_CLOUD_FILES_LABELS[locale],
|
|
15798
|
+
thisDevice: translateRibbonText(locale, "This device"),
|
|
15799
|
+
places: translateRibbonText(locale, "Places")
|
|
15800
|
+
};
|
|
15801
|
+
}
|
|
15802
|
+
};
|
|
15803
|
+
|
|
15804
|
+
// src/visio/viewer-connected-services.ts
|
|
15805
|
+
var ConnectedServices = class {
|
|
15806
|
+
#element;
|
|
15807
|
+
constructor(root) {
|
|
15808
|
+
defineConnectedServices();
|
|
15809
|
+
this.#element = root.querySelector("office-ui-connected-services");
|
|
15810
|
+
}
|
|
15811
|
+
setProviders(providers) {
|
|
15812
|
+
if (this.#element) this.#element.providers = providers;
|
|
15813
|
+
}
|
|
15814
|
+
setLocale(locale) {
|
|
15815
|
+
if (!this.#element) return;
|
|
15816
|
+
this.#element.labels = connectedServicesLabels((text2) => translateRibbonText(locale, text2));
|
|
15817
|
+
}
|
|
15818
|
+
};
|
|
15566
15819
|
function announceFileCommand(host, command2) {
|
|
15567
15820
|
return host.dispatchEvent(
|
|
15568
15821
|
new CustomEvent(FILE_COMMAND_EVENT, {
|
|
@@ -15938,6 +16191,9 @@ var ViewerBackstage = class {
|
|
|
15938
16191
|
#urls = /* @__PURE__ */ new Set();
|
|
15939
16192
|
#saving = false;
|
|
15940
16193
|
#newDrawing;
|
|
16194
|
+
#places;
|
|
16195
|
+
#services;
|
|
16196
|
+
#providers = [];
|
|
15941
16197
|
#hostPages;
|
|
15942
16198
|
get open() {
|
|
15943
16199
|
return this.#root.open;
|
|
@@ -15967,8 +16223,17 @@ var ViewerBackstage = class {
|
|
|
15967
16223
|
);
|
|
15968
16224
|
this.#root.setAttribute("back-label", this.#t(BACK_LABEL));
|
|
15969
16225
|
}
|
|
16226
|
+
/** The cloud places File > Open offers next to This device (the element's `fileProviders`). */
|
|
16227
|
+
setFileProviders(providers) {
|
|
16228
|
+
this.#providers = providers;
|
|
16229
|
+
this.#places?.setProviders(providers);
|
|
16230
|
+
this.#services?.setProviders(providers);
|
|
16231
|
+
if (this.#state) this.render(this.#state);
|
|
16232
|
+
}
|
|
15970
16233
|
/** Shows the pages in the current display language again (after the locale changes). */
|
|
15971
16234
|
localize() {
|
|
16235
|
+
this.#places?.setLocale(this.#locale());
|
|
16236
|
+
this.#services?.setLocale(this.#locale());
|
|
15972
16237
|
if (this.#state) this.render(this.#state);
|
|
15973
16238
|
else this.#translate();
|
|
15974
16239
|
}
|
|
@@ -15979,6 +16244,7 @@ var ViewerBackstage = class {
|
|
|
15979
16244
|
if (this.#state) this.render(this.#state);
|
|
15980
16245
|
}
|
|
15981
16246
|
show(page3 = "info") {
|
|
16247
|
+
if (page3 === "account" && !this.#providers.length) page3 = "info";
|
|
15982
16248
|
this.#ribbon.setAttribute("file-expanded", "true");
|
|
15983
16249
|
this.#root.show(page3);
|
|
15984
16250
|
if (page3 === "print") this.#preview();
|
|
@@ -16002,6 +16268,15 @@ var ViewerBackstage = class {
|
|
|
16002
16268
|
() => !!(this.#state?.loading || this.#state?.edit.busy),
|
|
16003
16269
|
this.host.announce
|
|
16004
16270
|
);
|
|
16271
|
+
this.#services = new ConnectedServices(this.#root);
|
|
16272
|
+
this.#services.setLocale(this.#locale());
|
|
16273
|
+
this.#services.setProviders(this.#providers);
|
|
16274
|
+
const openSection = this.#root.querySelector('[data-backstage-page="open"]');
|
|
16275
|
+
if (openSection) {
|
|
16276
|
+
this.#places = new CloudPlaces(openSection, (file) => this.#openCloud(file), events.signal);
|
|
16277
|
+
this.#places.setLocale(this.#locale());
|
|
16278
|
+
this.#places.setProviders(this.#providers);
|
|
16279
|
+
}
|
|
16005
16280
|
this.#ribbon.addEventListener(
|
|
16006
16281
|
"office-ribbon-file",
|
|
16007
16282
|
() => this.open ? this.hide() : this.show(),
|
|
@@ -16076,6 +16351,13 @@ var ViewerBackstage = class {
|
|
|
16076
16351
|
(error) => this.host.announce(error instanceof Error ? error.message : String(error))
|
|
16077
16352
|
);
|
|
16078
16353
|
}
|
|
16354
|
+
#openCloud(file) {
|
|
16355
|
+
if (this.#custom().commands.has("open") || !this.#announce("open")) return;
|
|
16356
|
+
if (!this.host.openCloudFile) return;
|
|
16357
|
+
this.host.openCloudFile(file).then(() => this.hide()).catch(
|
|
16358
|
+
(error) => this.host.announce(error instanceof Error ? error.message : String(error))
|
|
16359
|
+
);
|
|
16360
|
+
}
|
|
16079
16361
|
#run(action2) {
|
|
16080
16362
|
if (this.#custom().commands.has(action2)) return;
|
|
16081
16363
|
if (action2 === "open") this.#open();
|
|
@@ -16274,7 +16556,9 @@ var ViewerBackstage = class {
|
|
|
16274
16556
|
backstageItems({
|
|
16275
16557
|
save: { disabled: saveDisabled, ...saveDisabled ? { title: saveReason } : {} },
|
|
16276
16558
|
close: { disabled: !state.document }
|
|
16277
|
-
}).filter(
|
|
16559
|
+
}).filter(
|
|
16560
|
+
(item) => !hidden.has(item.id) && (item.id !== "account" || this.#providers.length > 0)
|
|
16561
|
+
).map((item) => ({
|
|
16278
16562
|
...item,
|
|
16279
16563
|
label: this.#t(item.label),
|
|
16280
16564
|
...item.title ? { title: this.#t(item.title) } : {}
|
|
@@ -18139,21 +18423,18 @@ var ViewerShare = class {
|
|
|
18139
18423
|
this.loadCollab = loadCollab;
|
|
18140
18424
|
this.loadDrawing = loadDrawing;
|
|
18141
18425
|
this.#panel = root.querySelector(".share-panel");
|
|
18142
|
-
this.#
|
|
18143
|
-
this.#start = this.#panel.querySelector('[data-share="start"]');
|
|
18426
|
+
this.#open = this.#panel.querySelector('[data-share="open"]');
|
|
18144
18427
|
this.#stop = this.#panel.querySelector('[data-share="stop"]');
|
|
18145
18428
|
this.#status = this.#panel.querySelector(".share-status");
|
|
18146
18429
|
this.#people = this.#panel.querySelector("office-ui-presence");
|
|
18147
18430
|
this.#viewport = root.querySelector(".viewport");
|
|
18148
|
-
this.#room.value = `visio-${Math.random().toString(36).slice(2, 8)}`;
|
|
18149
18431
|
}
|
|
18150
18432
|
controller;
|
|
18151
18433
|
profile;
|
|
18152
18434
|
loadCollab;
|
|
18153
18435
|
loadDrawing;
|
|
18154
18436
|
#panel;
|
|
18155
|
-
#
|
|
18156
|
-
#start;
|
|
18437
|
+
#open;
|
|
18157
18438
|
#stop;
|
|
18158
18439
|
#status;
|
|
18159
18440
|
#people;
|
|
@@ -18169,6 +18450,9 @@ var ViewerShare = class {
|
|
|
18169
18450
|
/** Called with the failure of a declarative join. */
|
|
18170
18451
|
onError = () => {
|
|
18171
18452
|
};
|
|
18453
|
+
/** File > Share > Share with people: the element opens the Share dialog. */
|
|
18454
|
+
onOpen = () => {
|
|
18455
|
+
};
|
|
18172
18456
|
get active() {
|
|
18173
18457
|
return this.#joined !== null;
|
|
18174
18458
|
}
|
|
@@ -18205,7 +18489,7 @@ var ViewerShare = class {
|
|
|
18205
18489
|
"click",
|
|
18206
18490
|
(event) => {
|
|
18207
18491
|
const action2 = event.target.closest?.("[data-share]");
|
|
18208
|
-
if (action2?.dataset.share === "
|
|
18492
|
+
if (action2?.dataset.share === "open") this.onOpen();
|
|
18209
18493
|
if (action2?.dataset.share === "stop") this.stop();
|
|
18210
18494
|
},
|
|
18211
18495
|
{ signal: events.signal }
|
|
@@ -18216,25 +18500,30 @@ var ViewerShare = class {
|
|
|
18216
18500
|
this.#leave();
|
|
18217
18501
|
};
|
|
18218
18502
|
}
|
|
18219
|
-
/**
|
|
18220
|
-
|
|
18221
|
-
|
|
18503
|
+
/**
|
|
18504
|
+
* The Share dialog's Start or Join. Rejects (and says why on File > Share) when a session is
|
|
18505
|
+
* already open or the room cannot be opened.
|
|
18506
|
+
*/
|
|
18507
|
+
async start(options2) {
|
|
18508
|
+
if (this.#joined || this.#starting)
|
|
18509
|
+
throw new Error("Stop the current collaboration session first.");
|
|
18222
18510
|
try {
|
|
18223
|
-
await this.#
|
|
18511
|
+
await this.#connect(options2);
|
|
18224
18512
|
} catch (error) {
|
|
18225
18513
|
this.#say(error instanceof Error ? error.message : String(error));
|
|
18514
|
+
throw error;
|
|
18226
18515
|
}
|
|
18227
18516
|
}
|
|
18228
18517
|
#resume() {
|
|
18229
18518
|
const wanted = this.#wanted;
|
|
18230
18519
|
if (!wanted || this.#joined || this.#starting) return;
|
|
18231
|
-
this.#
|
|
18520
|
+
this.#connect(wanted).catch((error) => {
|
|
18232
18521
|
const failure = error instanceof Error ? error : new Error(String(error));
|
|
18233
18522
|
this.#say(failure.message);
|
|
18234
18523
|
this.onError(failure);
|
|
18235
18524
|
});
|
|
18236
18525
|
}
|
|
18237
|
-
async #
|
|
18526
|
+
async #connect(options2) {
|
|
18238
18527
|
const epoch = this.#epoch;
|
|
18239
18528
|
this.#starting = true;
|
|
18240
18529
|
this.#render();
|
|
@@ -18339,13 +18628,62 @@ var ViewerShare = class {
|
|
|
18339
18628
|
}
|
|
18340
18629
|
#render() {
|
|
18341
18630
|
const active = this.active;
|
|
18342
|
-
this.#start.hidden = active;
|
|
18343
18631
|
this.#stop.hidden = !active;
|
|
18344
|
-
this.#
|
|
18345
|
-
this.#room.disabled = active || this.#starting;
|
|
18632
|
+
this.#open.disabled = this.#starting;
|
|
18346
18633
|
}
|
|
18347
18634
|
};
|
|
18348
18635
|
|
|
18636
|
+
// src/visio/viewer-share-ui.ts
|
|
18637
|
+
function attachVisioShare(setup) {
|
|
18638
|
+
const { element, share: share2 } = setup;
|
|
18639
|
+
const doc = element.ownerDocument;
|
|
18640
|
+
defineRibbonActions(doc.defaultView?.customElements);
|
|
18641
|
+
const actions = doc.createElement("office-ui-ribbon-actions");
|
|
18642
|
+
actions.className = "ribbon-share";
|
|
18643
|
+
actions.slot = "actions";
|
|
18644
|
+
actions.noComments = true;
|
|
18645
|
+
setup.ribbon.append(actions);
|
|
18646
|
+
const dialog = attachShareDialog({
|
|
18647
|
+
container: setup.root,
|
|
18648
|
+
host: {
|
|
18649
|
+
state: () => share2.state,
|
|
18650
|
+
start: (options2) => share2.start(options2),
|
|
18651
|
+
stop: () => share2.stop()
|
|
18652
|
+
},
|
|
18653
|
+
roomPrefix: "drawing",
|
|
18654
|
+
defaults: () => ({ userName: setup.profile().displayName }),
|
|
18655
|
+
locale: () => setup.locale()
|
|
18656
|
+
});
|
|
18657
|
+
const run = () => {
|
|
18658
|
+
if (announceFileCommand(element, "share")) dialog.open();
|
|
18659
|
+
};
|
|
18660
|
+
actions.addEventListener("office-ribbon-share", run);
|
|
18661
|
+
share2.onOpen = run;
|
|
18662
|
+
const relocalize = () => {
|
|
18663
|
+
const label = translateRibbonText(normalizeVisioLocale(setup.locale()), "Share");
|
|
18664
|
+
actions.shareLabel = label;
|
|
18665
|
+
actions.shareTitle = label;
|
|
18666
|
+
dialog.relocalize();
|
|
18667
|
+
};
|
|
18668
|
+
const refresh = () => {
|
|
18669
|
+
actions.sharePressed = share2.state.active;
|
|
18670
|
+
dialog.refresh();
|
|
18671
|
+
};
|
|
18672
|
+
relocalize();
|
|
18673
|
+
refresh();
|
|
18674
|
+
return {
|
|
18675
|
+
dialog,
|
|
18676
|
+
actions,
|
|
18677
|
+
share: run,
|
|
18678
|
+
refresh,
|
|
18679
|
+
relocalize,
|
|
18680
|
+
destroy() {
|
|
18681
|
+
actions.remove();
|
|
18682
|
+
dialog.destroy();
|
|
18683
|
+
}
|
|
18684
|
+
};
|
|
18685
|
+
}
|
|
18686
|
+
|
|
18349
18687
|
// src/visio/viewer-ruler.ts
|
|
18350
18688
|
var PLAIN = { originX: 0, originY: 0, densityX: 1, densityY: 1 };
|
|
18351
18689
|
function createRulers(viewport) {
|
|
@@ -30422,6 +30760,21 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30422
30760
|
set storage(value) {
|
|
30423
30761
|
this.#storage = value ?? void 0;
|
|
30424
30762
|
}
|
|
30763
|
+
/**
|
|
30764
|
+
* Cloud places for File > Open (`ooxml-core/embedding` `CloudFileProvider`, for example
|
|
30765
|
+
* OneDrive). When non-empty, Open shows This device and one place per provider that lists
|
|
30766
|
+
* `.vsdx` drawings. A drawing opened there loads like any other, is read-only when the file
|
|
30767
|
+
* is (or the host already made the viewer read-only), and saves through its own storage until
|
|
30768
|
+
* another drawing loads. An empty list restores the plain Open page.
|
|
30769
|
+
*/
|
|
30770
|
+
get fileProviders() {
|
|
30771
|
+
return this.#fileProviders;
|
|
30772
|
+
}
|
|
30773
|
+
set fileProviders(value) {
|
|
30774
|
+
this.#assertAlive();
|
|
30775
|
+
this.#fileProviders = [...value ?? []];
|
|
30776
|
+
this.#backstage.setFileProviders(this.#fileProviders);
|
|
30777
|
+
}
|
|
30425
30778
|
/**
|
|
30426
30779
|
* TrueType fonts File > Export > PDF embeds (as subsets) so text outside the standard fonts'
|
|
30427
30780
|
* character set, or in a particular typeface, stays real text. The host supplies the bytes
|
|
@@ -30460,12 +30813,16 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30460
30813
|
#panZoom;
|
|
30461
30814
|
#profile;
|
|
30462
30815
|
#share;
|
|
30816
|
+
#shareUi;
|
|
30463
30817
|
#backstage;
|
|
30464
30818
|
#pointer;
|
|
30465
30819
|
#sizePosition;
|
|
30466
30820
|
#inlineSize;
|
|
30467
30821
|
#fileName = "";
|
|
30468
30822
|
#storage;
|
|
30823
|
+
#fileProviders = [];
|
|
30824
|
+
/** The storage of the drawing opened from a cloud place; it wins over `storage` until another loads. */
|
|
30825
|
+
#openedStorage;
|
|
30469
30826
|
#loadToken = 0;
|
|
30470
30827
|
#findBar;
|
|
30471
30828
|
#replace;
|
|
@@ -30647,9 +31004,20 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30647
31004
|
}
|
|
30648
31005
|
);
|
|
30649
31006
|
this.#share = new ViewerShare(this.#root, this.controller, () => this.#profile.profile);
|
|
30650
|
-
this.#share.onChange = (detail) =>
|
|
30651
|
-
|
|
30652
|
-
|
|
31007
|
+
this.#share.onChange = (detail) => {
|
|
31008
|
+
this.#shareUi?.refresh();
|
|
31009
|
+
this.dispatchEvent(
|
|
31010
|
+
new CustomEvent("collaboration-change", { detail, bubbles: true, composed: true })
|
|
31011
|
+
);
|
|
31012
|
+
};
|
|
31013
|
+
this.#shareUi = attachVisioShare({
|
|
31014
|
+
element: this,
|
|
31015
|
+
root: this.#root,
|
|
31016
|
+
ribbon: this.#toolbar,
|
|
31017
|
+
share: this.#share,
|
|
31018
|
+
profile: () => this.#profile.profile,
|
|
31019
|
+
locale: () => this.#locale()
|
|
31020
|
+
});
|
|
30653
31021
|
this.#share.onError = (error) => this.dispatchEvent(
|
|
30654
31022
|
new CustomEvent("document-error", { detail: error, bubbles: true, composed: true })
|
|
30655
31023
|
);
|
|
@@ -30679,6 +31047,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30679
31047
|
},
|
|
30680
31048
|
closeDocument: () => {
|
|
30681
31049
|
this.#fileName = "";
|
|
31050
|
+
this.#forgetOpenedFile();
|
|
30682
31051
|
this.controller.setDocument(null);
|
|
30683
31052
|
},
|
|
30684
31053
|
showOptions: () => this.#profile.showOptions(),
|
|
@@ -30689,7 +31058,8 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30689
31058
|
noteCount: () => this.#notes.children.length,
|
|
30690
31059
|
pageSetup: () => this.#commands.run({ type: "page-setup", command: { op: "dialog", tab: "print" } }),
|
|
30691
31060
|
fileCommand: (command2) => announceFileCommand(this, command2),
|
|
30692
|
-
storage: () => this.#storage,
|
|
31061
|
+
storage: () => this.#openedStorage ?? this.#storage,
|
|
31062
|
+
openCloudFile: (file) => this.openCloudFile(file),
|
|
30693
31063
|
revision: () => this.controller.state.document,
|
|
30694
31064
|
savedToStorage: (name, revision) => {
|
|
30695
31065
|
this.#fileName = name;
|
|
@@ -30726,6 +31096,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30726
31096
|
set document(value) {
|
|
30727
31097
|
++this.#loadToken;
|
|
30728
31098
|
this.#fileName = "";
|
|
31099
|
+
this.#forgetOpenedFile();
|
|
30729
31100
|
this.controller.setDocument(value);
|
|
30730
31101
|
}
|
|
30731
31102
|
get pageIndex() {
|
|
@@ -30801,6 +31172,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30801
31172
|
async load(source) {
|
|
30802
31173
|
this.#assertAlive();
|
|
30803
31174
|
const token = ++this.#loadToken;
|
|
31175
|
+
this.#forgetOpenedFile();
|
|
30804
31176
|
if (source instanceof Blob) {
|
|
30805
31177
|
await this.controller.loadSource(() => {
|
|
30806
31178
|
if (source.size > MAX_INPUT_BYTES)
|
|
@@ -30813,6 +31185,32 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30813
31185
|
this.#render(this.controller.state);
|
|
30814
31186
|
this.#recover.opened();
|
|
30815
31187
|
}
|
|
31188
|
+
#forgetOpenedFile() {
|
|
31189
|
+
this.#openedStorage = void 0;
|
|
31190
|
+
this.controller.setFileReadOnly(false);
|
|
31191
|
+
}
|
|
31192
|
+
/**
|
|
31193
|
+
* Opens a file a host got from a `CloudFileProvider` (its own picker or a start page), exactly as
|
|
31194
|
+
* File > Open > OneDrive does: the drawing loads, is read-only when `file.canEdit` is false, and
|
|
31195
|
+
* Save routes to `file.storage` until another drawing loads. Rejects when the load fails.
|
|
31196
|
+
*/
|
|
31197
|
+
async openCloudFile(file) {
|
|
31198
|
+
this.#assertAlive();
|
|
31199
|
+
const FileType = this.ownerDocument.defaultView?.File ?? File;
|
|
31200
|
+
const expected = this.#loadToken + 1;
|
|
31201
|
+
await this.load(new FileType([new Uint8Array(file.bytes)], file.fileName));
|
|
31202
|
+
if (this.#disposed || this.#loadToken !== expected) return;
|
|
31203
|
+
this.#openedStorage = file.storage;
|
|
31204
|
+
this.controller.setFileReadOnly(!file.canEdit);
|
|
31205
|
+
if (!file.canEdit) {
|
|
31206
|
+
const message = translateRibbonText(
|
|
31207
|
+
normalizeVisioLocale(this.#locale()),
|
|
31208
|
+
`Opened ${file.fileName} read-only.`
|
|
31209
|
+
);
|
|
31210
|
+
this.#announcement = message;
|
|
31211
|
+
this.#status.textContent = message;
|
|
31212
|
+
}
|
|
31213
|
+
}
|
|
30816
31214
|
/** Create a source-backed drawing and name only the accepted request. */
|
|
30817
31215
|
async createBlankDrawing(options2) {
|
|
30818
31216
|
return this.#createDrawing(() => this.controller.createBlankDrawing(options2));
|
|
@@ -30824,6 +31222,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30824
31222
|
async #createDrawing(create) {
|
|
30825
31223
|
this.#assertAlive();
|
|
30826
31224
|
const token = ++this.#loadToken;
|
|
31225
|
+
this.#forgetOpenedFile();
|
|
30827
31226
|
const generation = this.controller.documentGeneration;
|
|
30828
31227
|
await create();
|
|
30829
31228
|
if (this.#disposed || token !== this.#loadToken || this.controller.documentGeneration !== generation + 1 || this.controller.state.loading || !this.controller.state.edit.sourceAvailable)
|
|
@@ -30979,6 +31378,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
30979
31378
|
if (this.#disposed) return;
|
|
30980
31379
|
this.#disposed = true;
|
|
30981
31380
|
this.#share.stop();
|
|
31381
|
+
this.#shareUi.destroy();
|
|
30982
31382
|
this.#disposeInputs();
|
|
30983
31383
|
this.#fontEvents?.removeEventListener("loadingdone", this.#fontsChanged);
|
|
30984
31384
|
this.#fontEvents = void 0;
|
|
@@ -31028,6 +31428,7 @@ var VisioViewerElement = class extends BaseElement {
|
|
|
31028
31428
|
restoreScreenTips(this.#toolbar);
|
|
31029
31429
|
localizeRibbon(this.#toolbar, this.#locale());
|
|
31030
31430
|
this.#backstage?.localize();
|
|
31431
|
+
this.#shareUi.relocalize();
|
|
31031
31432
|
applyScreenTips(this.#toolbar, this.#behaviour.screenTips);
|
|
31032
31433
|
this.#overflow.refit();
|
|
31033
31434
|
}
|
|
@@ -31269,6 +31670,8 @@ function mountViewer(container, initial = {}) {
|
|
|
31269
31670
|
element.collaboration = options2.collaboration;
|
|
31270
31671
|
else if (key === "storage" && options2.storage !== void 0)
|
|
31271
31672
|
element.storage = options2.storage;
|
|
31673
|
+
else if (key === "fileProviders" && options2.fileProviders !== void 0)
|
|
31674
|
+
element.fileProviders = options2.fileProviders;
|
|
31272
31675
|
else if (key === "customization" && options2.customization !== void 0)
|
|
31273
31676
|
element.customization = options2.customization;
|
|
31274
31677
|
}
|
|
@@ -31287,6 +31690,10 @@ function mountViewer(container, initial = {}) {
|
|
|
31287
31690
|
assertAlive();
|
|
31288
31691
|
await element.createBlankDrawing(options2);
|
|
31289
31692
|
},
|
|
31693
|
+
async openCloudFile(file) {
|
|
31694
|
+
assertAlive();
|
|
31695
|
+
await element.openCloudFile(file);
|
|
31696
|
+
},
|
|
31290
31697
|
async createFromTemplate(template) {
|
|
31291
31698
|
assertAlive();
|
|
31292
31699
|
await element.createFromTemplate(template);
|