pptx-vanilla-viewer 3.7.0 → 3.9.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/CHANGELOG.md +141 -0
- package/dist/{ai-panel-MMWVMXGX.cjs → ai-panel-OROOTY7Z.cjs} +1 -1
- package/dist/{ai-panel-7RNRWID6.js → ai-panel-XUPYRSVB.js} +1 -1
- package/dist/{chunk-HM6ZV75P.js → chunk-3QOOZR4M.js} +3 -3
- package/dist/chunk-5YHVN3PP.cjs +2862 -0
- package/dist/chunk-6U56MSXT.js +2862 -0
- package/dist/{chunk-SD5NVWW4.cjs → chunk-FGF6WJ3F.cjs} +3 -3
- package/dist/{chunk-GX4G423W.cjs → chunk-IQ7MDPEN.cjs} +38 -38
- package/dist/{chunk-LZWQ7EY2.js → chunk-JCYH4YT3.js} +38 -38
- package/dist/i18n/de.cjs +340 -105
- package/dist/i18n/de.mjs +340 -105
- package/dist/i18n/es.cjs +340 -105
- package/dist/i18n/es.mjs +340 -105
- package/dist/i18n/fr.cjs +340 -105
- package/dist/i18n/fr.mjs +340 -105
- package/dist/i18n/zh-CN.cjs +342 -107
- package/dist/i18n/zh-CN.mjs +342 -107
- package/dist/index.cjs +162 -86
- package/dist/index.d.ts +54 -33
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +162 -86
- package/dist/internals.cjs +1 -1
- package/dist/internals.d.ts +1 -1
- package/dist/internals.js +1 -1
- package/dist/styles.css +76 -0
- package/dist/{transition-overlay-ydBEO9eL.d.ts → transition-overlay-D57AQXCk.d.ts} +792 -16
- package/dist/transition-overlay-D57AQXCk.d.ts.map +1 -0
- package/package.json +3 -2
- package/dist/chunk-K7SLACZS.js +0 -2866
- package/dist/chunk-TZD4KXQM.cjs +0 -2866
- package/dist/transition-overlay-ydBEO9eL.d.ts.map +0 -1
package/dist/internals.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkFGF6WJ3F_cjs=require('./chunk-FGF6WJ3F.cjs'),chunk5YHVN3PP_cjs=require('./chunk-5YHVN3PP.cjs');require('./chunk-B5PFHICE.cjs');Object.defineProperty(exports,"playTransitionOverlay",{enumerable:true,get:function(){return chunkFGF6WJ3F_cjs.d}});Object.defineProperty(exports,"CINEMATIC_TRANSITION_KEYFRAMES",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.ai}});Object.defineProperty(exports,"DEFAULT_MORPH_DURATION_MS",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Bd}});Object.defineProperty(exports,"DEFAULT_TRANSITION_DURATION_MS",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Ad}});Object.defineProperty(exports,"EASE",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Dd}});Object.defineProperty(exports,"INSTANT",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.zd}});Object.defineProperty(exports,"P14_TRANSITION_KEYFRAMES",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Yh}});Object.defineProperty(exports,"P14_TRANSITION_KEYFRAMES_2",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Zh}});Object.defineProperty(exports,"P14_TRANSITION_KEYFRAMES_ALL",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs._h}});Object.defineProperty(exports,"RANDOM_ELIGIBLE_TYPES",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.yd}});Object.defineProperty(exports,"SLIDE_TRANSITION_KEYFRAMES",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.ci}});Object.defineProperty(exports,"SLIDE_TRANSITION_KEYFRAMES_CSS",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.di}});Object.defineProperty(exports,"TRANSITION_SPEED_DURATION_MS",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Cd}});Object.defineProperty(exports,"WHEEL_SPOKE_COUNTS",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Ed}});Object.defineProperty(exports,"getCinematicTransitionAnimations",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.$h}});Object.defineProperty(exports,"getP14TransitionAnimations",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.ei}});Object.defineProperty(exports,"getSlideTransitionAnimations",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.fi}});Object.defineProperty(exports,"resolveDirection",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.vd}});Object.defineProperty(exports,"resolveDirection8",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.wd}});Object.defineProperty(exports,"resolveOrientation",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.xd}});Object.defineProperty(exports,"resolveSlideTransition",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.gi}});Object.defineProperty(exports,"resolveTransitionDurationMs",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.hi}});Object.defineProperty(exports,"resolveWheelSpokeCount",{enumerable:true,get:function(){return chunk5YHVN3PP_cjs.Fd}});
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as TRANSITION_SPEED_DURATION_MS, An as getP14TransitionAnimations, Bt as SLIDE_TRANSITION_KEYFRAMES_CSS, Ct as RANDOM_ELIGIBLE_TYPES, Gn as resolveTransitionDurationMs, Hn as resolveDirection8, J as INSTANT, Kn as resolveWheelSpokeCount, M as DEFAULT_TRANSITION_DURATION_MS, Mn as getSlideTransitionAnimations, N as EASE, Ot as ResolvedDirection, Sn as WHEEL_SPOKE_COUNTS, Un as resolveOrientation, Vn as resolveDirection, Wn as resolveSlideTransition, Xt as SlideTransitionAnimations, ft as P14_TRANSITION_KEYFRAMES, j as DEFAULT_MORPH_DURATION_MS, kn as getCinematicTransitionAnimations, kt as ResolvedDirection8, mt as P14_TRANSITION_KEYFRAMES_ALL, n as playTransitionOverlay, p as CINEMATIC_TRANSITION_KEYFRAMES, pt as P14_TRANSITION_KEYFRAMES_2, t as TransitionOverlayParams, zt as SLIDE_TRANSITION_KEYFRAMES } from "./transition-overlay-D57AQXCk.js";
|
|
2
2
|
export { CINEMATIC_TRANSITION_KEYFRAMES, DEFAULT_MORPH_DURATION_MS, DEFAULT_TRANSITION_DURATION_MS, EASE, INSTANT, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, RANDOM_ELIGIBLE_TYPES, type ResolvedDirection, type ResolvedDirection8, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, type SlideTransitionAnimations, TRANSITION_SPEED_DURATION_MS, type TransitionOverlayParams, WHEEL_SPOKE_COUNTS, getCinematicTransitionAnimations, getP14TransitionAnimations, getSlideTransitionAnimations, playTransitionOverlay, resolveDirection, resolveDirection8, resolveOrientation, resolveSlideTransition, resolveTransitionDurationMs, resolveWheelSpokeCount };
|
package/dist/internals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as playTransitionOverlay}from'./chunk-
|
|
1
|
+
export{d as playTransitionOverlay}from'./chunk-3QOOZR4M.js';export{ai as CINEMATIC_TRANSITION_KEYFRAMES,Bd as DEFAULT_MORPH_DURATION_MS,Ad as DEFAULT_TRANSITION_DURATION_MS,Dd as EASE,zd as INSTANT,Yh as P14_TRANSITION_KEYFRAMES,Zh as P14_TRANSITION_KEYFRAMES_2,_h as P14_TRANSITION_KEYFRAMES_ALL,yd as RANDOM_ELIGIBLE_TYPES,ci as SLIDE_TRANSITION_KEYFRAMES,di as SLIDE_TRANSITION_KEYFRAMES_CSS,Cd as TRANSITION_SPEED_DURATION_MS,Ed as WHEEL_SPOKE_COUNTS,$h as getCinematicTransitionAnimations,ei as getP14TransitionAnimations,fi as getSlideTransitionAnimations,vd as resolveDirection,wd as resolveDirection8,xd as resolveOrientation,gi as resolveSlideTransition,hi as resolveTransitionDurationMs,Fd as resolveWheelSpokeCount}from'./chunk-6U56MSXT.js';import'./chunk-62D2TNHX.js';
|
package/dist/styles.css
CHANGED
|
@@ -1539,6 +1539,9 @@
|
|
|
1539
1539
|
box-shadow: 0 8px 24px rgb(0 0 0 / 0.28);
|
|
1540
1540
|
}
|
|
1541
1541
|
.pptxv-theme-gallery[hidden] { display: none; }
|
|
1542
|
+
.pptxv-theme-gallery .pptxv-btn[aria-checked='true'] { outline: 2px solid var(--pptx-primary); outline-offset: -2px; }
|
|
1543
|
+
/* Design > Edit Theme docks the deck THEME EDITOR card, a column, not a chip row. */
|
|
1544
|
+
.pptxv-theme-gallery-host > .pptxv-deck-theme-editor { display: block; width: 300px; max-height: 70vh; overflow-y: auto; padding: 0; }
|
|
1542
1545
|
.pptxv-theme-swatch-preview { display: block; width: 20px; height: 20px; flex: none; border: 1px solid var(--pptx-border); border-radius: 4px; }
|
|
1543
1546
|
.pptxv-record-dot { width: 12px; height: 12px; margin: 7px; border-radius: 50%; background: #ef4444; }
|
|
1544
1547
|
.pptxv-shortcut-help { align-self: center; padding: 5px 8px; color: var(--pptx-muted-foreground); font-size: 11px; }
|
|
@@ -2012,6 +2015,79 @@
|
|
|
2012
2015
|
.pptxv-tabrow-share svg { width: 12px; height: 12px; }
|
|
2013
2016
|
|
|
2014
2017
|
|
|
2018
|
+
/* ── Ribbon galleries ──────────────────────────────────────────────────── */
|
|
2019
|
+
.pptxv-ribbon-contents { display: contents; }
|
|
2020
|
+
.pptxv-gallery { position: relative; display: inline-flex; align-items: stretch; }
|
|
2021
|
+
.pptxv-gallery-inline {
|
|
2022
|
+
border: 1px solid var(--pptx-border);
|
|
2023
|
+
border-radius: var(--pptx-radius);
|
|
2024
|
+
background: var(--pptx-background);
|
|
2025
|
+
}
|
|
2026
|
+
.pptxv-gallery-inline.is-disabled { opacity: 0.5; }
|
|
2027
|
+
.pptxv-gallery-strip { display: flex; align-items: center; gap: 2px; padding: 2px; max-width: 320px; overflow: hidden; }
|
|
2028
|
+
.pptxv-gallery-strip .pptxv-gallery-tile svg { width: auto; max-width: 48px; height: 32px; }
|
|
2029
|
+
.pptxv-gallery-more {
|
|
2030
|
+
display: inline-flex;
|
|
2031
|
+
align-items: center;
|
|
2032
|
+
justify-content: center;
|
|
2033
|
+
width: 18px;
|
|
2034
|
+
padding: 0;
|
|
2035
|
+
border: none;
|
|
2036
|
+
border-left: 1px solid var(--pptx-border);
|
|
2037
|
+
background: transparent;
|
|
2038
|
+
color: inherit;
|
|
2039
|
+
cursor: pointer;
|
|
2040
|
+
}
|
|
2041
|
+
.pptxv-gallery-more:hover:not(:disabled) { background: var(--pptx-accent); }
|
|
2042
|
+
.pptxv-gallery-more:disabled { opacity: 0.4; cursor: default; }
|
|
2043
|
+
.pptxv-gallery-more svg { width: 12px; height: 12px; }
|
|
2044
|
+
.pptxv-gallery-chevron { width: 16px; min-width: 16px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
|
|
2045
|
+
.pptxv-split-gallery { display: inline-flex; align-items: center; }
|
|
2046
|
+
.pptxv-gallery-popup {
|
|
2047
|
+
/* Positioned by attachAnchoredPopup (position: fixed), escaping the ribbon
|
|
2048
|
+
row's overflow clip like every other ribbon menu. */
|
|
2049
|
+
z-index: 30;
|
|
2050
|
+
max-width: min(560px, calc(100vw - 16px));
|
|
2051
|
+
max-height: min(420px, calc(100vh - 120px));
|
|
2052
|
+
overflow: auto;
|
|
2053
|
+
padding: 6px;
|
|
2054
|
+
border: 1px solid var(--pptx-border);
|
|
2055
|
+
border-radius: var(--pptx-radius);
|
|
2056
|
+
background: var(--pptx-card);
|
|
2057
|
+
color: var(--pptx-card-foreground);
|
|
2058
|
+
box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
|
|
2059
|
+
}
|
|
2060
|
+
.pptxv-gallery-popup[hidden] { display: none; }
|
|
2061
|
+
.pptxv-gallery-section + .pptxv-gallery-section { margin-top: 6px; }
|
|
2062
|
+
.pptxv-gallery-heading {
|
|
2063
|
+
padding: 2px 4px 4px;
|
|
2064
|
+
color: var(--pptx-muted-foreground);
|
|
2065
|
+
font-size: 10px;
|
|
2066
|
+
font-weight: 600;
|
|
2067
|
+
text-transform: uppercase;
|
|
2068
|
+
letter-spacing: 0.04em;
|
|
2069
|
+
}
|
|
2070
|
+
.pptxv-gallery-grid { display: grid; gap: 4px; }
|
|
2071
|
+
.pptxv-gallery-tile {
|
|
2072
|
+
display: inline-flex;
|
|
2073
|
+
align-items: center;
|
|
2074
|
+
justify-content: center;
|
|
2075
|
+
padding: 2px;
|
|
2076
|
+
border: 1px solid transparent;
|
|
2077
|
+
border-radius: 4px;
|
|
2078
|
+
background: transparent;
|
|
2079
|
+
cursor: pointer;
|
|
2080
|
+
line-height: 0;
|
|
2081
|
+
}
|
|
2082
|
+
.pptxv-gallery-tile:hover:not(:disabled) { border-color: var(--pptx-border); background: var(--pptx-accent); }
|
|
2083
|
+
.pptxv-gallery-tile.is-applied { border-color: var(--pptx-primary); }
|
|
2084
|
+
.pptxv-gallery-tile:disabled { opacity: 0.5; cursor: default; }
|
|
2085
|
+
.pptxv-gallery-tile:focus-visible { outline: 2px solid var(--pptx-primary); outline-offset: 1px; }
|
|
2086
|
+
/* PowerPoint tints contextual tabs so they read as selection-driven. */
|
|
2087
|
+
.pptxv-ribbon-tab.pptxv-ribbon-tab-contextual { color: var(--pptx-primary); }
|
|
2088
|
+
.pptxv-ribbon-tab.pptxv-ribbon-tab-contextual.is-active { border-bottom-color: var(--pptx-primary); }
|
|
2089
|
+
|
|
2090
|
+
|
|
2015
2091
|
.pptxv-props-overlay { position:fixed; inset:0; z-index:210; display:grid; place-items:center; background:#0009; }
|
|
2016
2092
|
.pptxv-props-scrim { position:absolute; inset:0; width:100%; height:100%; border:0; background:transparent; }
|
|
2017
2093
|
.pptxv-props-dialog { position:relative; width:min(680px,calc(100vw - 32px)); max-height:calc(100vh - 40px); overflow:auto; border:1px solid var(--pptx-border); border-radius:10px; background:var(--pptx-card); color:var(--pptx-card-foreground); box-shadow:0 24px 80px #0008; }
|