pptx-react-viewer 1.21.0 → 1.22.1
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 +20 -0
- package/dist/{Model3DScene-IGFOR6UG.js → Model3DScene-3YB3JAJS.js} +2 -2
- package/dist/{Model3DScene-IGFOR6UG.js.br → Model3DScene-3YB3JAJS.js.br} +0 -0
- package/dist/Model3DScene-3YB3JAJS.js.gz +0 -0
- package/dist/{Model3DScene-FERG6DP5.mjs → Model3DScene-NLUSXHD6.mjs} +1 -1
- package/dist/Model3DScene-NLUSXHD6.mjs.br +0 -0
- package/dist/Model3DScene-NLUSXHD6.mjs.gz +0 -0
- package/dist/{PowerPointViewer-JxHuwp4K.d.ts → PowerPointViewer-WGVR_u4z.d.ts} +2 -2
- package/dist/PowerPointViewer-WGVR_u4z.d.ts.map +1 -0
- package/dist/{SurfaceChart3DScene-S2UEFUQ5.js → SurfaceChart3DScene-PUQ5DCO5.js} +2 -2
- package/dist/SurfaceChart3DScene-PUQ5DCO5.js.br +0 -0
- package/dist/SurfaceChart3DScene-PUQ5DCO5.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-754VHVLW.mjs → SurfaceChart3DScene-YBMJQGH3.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-754VHVLW.mjs.br → SurfaceChart3DScene-YBMJQGH3.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-YBMJQGH3.mjs.gz +0 -0
- package/dist/{chunk-FTJ5JKLB.mjs → chunk-5SBQZEKD.mjs} +170 -1
- package/dist/chunk-5SBQZEKD.mjs.br +0 -0
- package/dist/chunk-5SBQZEKD.mjs.gz +0 -0
- package/dist/{chunk-K6C5G2J6.mjs → chunk-B7JRQB5F.mjs} +363 -89
- package/dist/chunk-B7JRQB5F.mjs.br +0 -0
- package/dist/chunk-B7JRQB5F.mjs.gz +0 -0
- package/dist/{chunk-2C3XYEFM.mjs → chunk-DZUI64SO.mjs} +3 -3
- package/dist/chunk-DZUI64SO.mjs.br +0 -0
- package/dist/chunk-DZUI64SO.mjs.gz +0 -0
- package/dist/{chunk-4LPWBQTH.mjs → chunk-E3KJKCSV.mjs} +7 -1
- package/dist/chunk-E3KJKCSV.mjs.br +0 -0
- package/dist/{chunk-4LPWBQTH.mjs.gz → chunk-E3KJKCSV.mjs.gz} +0 -0
- package/dist/{chunk-2YHX6IAW.js → chunk-QVQTDWB7.js} +400 -400
- package/dist/chunk-QVQTDWB7.js.br +0 -0
- package/dist/chunk-QVQTDWB7.js.gz +0 -0
- package/dist/{chunk-UGAJLDGZ.js → chunk-VSNXVKJI.js} +182 -0
- package/dist/chunk-VSNXVKJI.js.br +0 -0
- package/dist/chunk-VSNXVKJI.js.gz +0 -0
- package/dist/{chunk-PQUAAGKH.js → chunk-YPZV4KJT.js} +1053 -779
- package/dist/chunk-YPZV4KJT.js.br +0 -0
- package/dist/chunk-YPZV4KJT.js.gz +0 -0
- package/dist/{chunk-4SRCC7NB.js → chunk-ZISXRMDJ.js} +7 -0
- package/dist/chunk-ZISXRMDJ.js.br +0 -0
- package/dist/{chunk-4SRCC7NB.js.gz → chunk-ZISXRMDJ.js.gz} +0 -0
- package/dist/hooks-unstable.js +76 -76
- package/dist/hooks-unstable.js.br +0 -0
- package/dist/hooks-unstable.js.gz +0 -0
- package/dist/hooks-unstable.mjs +3 -3
- package/dist/hooks-unstable.mjs.br +0 -0
- package/dist/hooks-unstable.mjs.gz +0 -0
- package/dist/i18n.d.ts +18 -2
- package/dist/i18n.js +7 -3
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index-SUL_8gq8.d.ts +43 -0
- package/dist/index-SUL_8gq8.d.ts.map +1 -0
- package/dist/{index-BhR8ykQj.d.ts → index-ntF3kHHU.d.ts} +2 -2
- package/dist/{index-BhR8ykQj.d.ts.map → index-ntF3kHHU.d.ts.map} +1 -1
- package/dist/index.d.ts +153 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70 -18
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{types-DGauquE9.d.ts → types-Cdh0XYcS.d.ts} +48 -3
- package/dist/types-Cdh0XYcS.d.ts.map +1 -0
- package/dist/viewer/index.d.ts +79 -0
- package/dist/viewer/index.js +20 -20
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +4 -4
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/Model3DScene-FERG6DP5.mjs.br +0 -0
- package/dist/Model3DScene-FERG6DP5.mjs.gz +0 -0
- package/dist/Model3DScene-IGFOR6UG.js.gz +0 -0
- package/dist/PowerPointViewer-JxHuwp4K.d.ts.map +0 -1
- package/dist/SurfaceChart3DScene-754VHVLW.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-S2UEFUQ5.js.br +0 -0
- package/dist/SurfaceChart3DScene-S2UEFUQ5.js.gz +0 -0
- package/dist/chunk-2C3XYEFM.mjs.br +0 -0
- package/dist/chunk-2C3XYEFM.mjs.gz +0 -0
- package/dist/chunk-2YHX6IAW.js.br +0 -0
- package/dist/chunk-2YHX6IAW.js.gz +0 -0
- package/dist/chunk-4LPWBQTH.mjs.br +0 -0
- package/dist/chunk-4SRCC7NB.js.br +0 -0
- package/dist/chunk-FTJ5JKLB.mjs.br +0 -0
- package/dist/chunk-FTJ5JKLB.mjs.gz +0 -0
- package/dist/chunk-K6C5G2J6.mjs.br +0 -0
- package/dist/chunk-K6C5G2J6.mjs.gz +0 -0
- package/dist/chunk-PQUAAGKH.js.br +0 -0
- package/dist/chunk-PQUAAGKH.js.gz +0 -0
- package/dist/chunk-UGAJLDGZ.js.br +0 -0
- package/dist/chunk-UGAJLDGZ.js.gz +0 -0
- package/dist/i18n.d.ts.map +0 -1
- package/dist/types-DGauquE9.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -127,6 +127,25 @@ declare const vermilionLightTheme: ViewerTheme;
|
|
|
127
127
|
/** Dark vermilion theme, ready for the viewer's `theme` prop. */
|
|
128
128
|
declare const vermilionDarkTheme: ViewerTheme;
|
|
129
129
|
|
|
130
|
+
/** One selectable entry in the viewer chrome's built-in theme picker (File > Options > Appearance). */
|
|
131
|
+
interface ThemeCatalogEntry {
|
|
132
|
+
/** Stable identifier persisted to storage and passed to `onThemeChange`. */
|
|
133
|
+
key: string;
|
|
134
|
+
/** `pptx.*` translation key for the entry's display label. */
|
|
135
|
+
labelKey: string;
|
|
136
|
+
/** The theme to apply, or `undefined` to reset to the built-in default. */
|
|
137
|
+
theme: ViewerTheme | undefined;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Built-in theme choices offered by File > Options > Appearance when a host
|
|
141
|
+
* doesn't supply its own `availableThemes`. Keep this list short: it's meant
|
|
142
|
+
* as a sensible out-of-the-box picker, not a full theme gallery. Hosts that
|
|
143
|
+
* want more (or fewer) choices pass their own `availableThemes` prop.
|
|
144
|
+
*/
|
|
145
|
+
declare const THEME_CATALOG: readonly ThemeCatalogEntry[];
|
|
146
|
+
/** Look up a catalog entry by key, falling back to `undefined` (the built-in default) if not found. */
|
|
147
|
+
declare function resolveThemeCatalogEntry(key: string | undefined, catalog?: readonly ThemeCatalogEntry[]): ViewerTheme | undefined;
|
|
148
|
+
|
|
130
149
|
/**
|
|
131
150
|
* Action types: hyperlinks, slide jumps, macros, and action buttons.
|
|
132
151
|
*
|
|
@@ -5282,6 +5301,77 @@ interface ViewerFontSource {
|
|
|
5282
5301
|
style?: 'normal' | 'italic';
|
|
5283
5302
|
}
|
|
5284
5303
|
|
|
5304
|
+
/** Local-only display profile shown in File > Account. Never sent anywhere; purely cosmetic. */
|
|
5305
|
+
interface ViewerProfile {
|
|
5306
|
+
displayName: string;
|
|
5307
|
+
/** CSS color for the avatar bubble background, e.g. `'#c2431f'`. */
|
|
5308
|
+
avatarColor: string;
|
|
5309
|
+
/** Single character shown in the avatar bubble. Derived from `displayName` when omitted. */
|
|
5310
|
+
initial?: string;
|
|
5311
|
+
}
|
|
5312
|
+
declare const DEFAULT_VIEWER_PROFILE: ViewerProfile;
|
|
5313
|
+
/** Suggested avatar color swatches for the Account profile editor. */
|
|
5314
|
+
declare const AVATAR_COLOR_SWATCHES: readonly string[];
|
|
5315
|
+
/** Derive the avatar-bubble initial from a profile, falling back to `'?'` for an empty name. */
|
|
5316
|
+
declare function resolveProfileInitial(profile: ViewerProfile): string;
|
|
5317
|
+
/**
|
|
5318
|
+
* Optional hook point for hosts that want to wire a real sign-in flow into
|
|
5319
|
+
* File > Account. Disabled by default: the Account page renders nothing
|
|
5320
|
+
* extra unless a host explicitly opts in by passing `enabled: true`.
|
|
5321
|
+
* See docs/guide for wiring instructions.
|
|
5322
|
+
*/
|
|
5323
|
+
interface AccountAuthConfig {
|
|
5324
|
+
enabled: boolean;
|
|
5325
|
+
onSignIn: () => void;
|
|
5326
|
+
signedInUser?: {
|
|
5327
|
+
name: string;
|
|
5328
|
+
email?: string;
|
|
5329
|
+
avatarUrl?: string;
|
|
5330
|
+
};
|
|
5331
|
+
}
|
|
5332
|
+
interface LocalStorageUsageSummary {
|
|
5333
|
+
/** Number of presentations with a local autosave/recovery snapshot. */
|
|
5334
|
+
presentationCount: number;
|
|
5335
|
+
/** Total bytes across every stored snapshot. */
|
|
5336
|
+
totalBytes: number;
|
|
5337
|
+
}
|
|
5338
|
+
/** Summarize local (IndexedDB) storage usage for the Account > Storage & Privacy panel. */
|
|
5339
|
+
declare function getLocalStorageUsageSummary(): Promise<LocalStorageUsageSummary>;
|
|
5340
|
+
/**
|
|
5341
|
+
* Delete every locally stored presentation/recovery snapshot and persisted
|
|
5342
|
+
* viewer preference (theme/locale/profile). Irreversible; callers should
|
|
5343
|
+
* confirm with the user before invoking this.
|
|
5344
|
+
*/
|
|
5345
|
+
declare function clearAllLocalViewerData(): Promise<void>;
|
|
5346
|
+
/** Persist an updated profile via the shared viewer-prefs store. */
|
|
5347
|
+
declare function saveViewerProfile(profile: ViewerProfile): void;
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* `localStorage`-backed viewer chrome preferences (theme/locale/profile),
|
|
5351
|
+
* shared by every binding.
|
|
5352
|
+
*
|
|
5353
|
+
* This is the persistence layer behind File > Options' Appearance/Language
|
|
5354
|
+
* tabs and File > Account's profile editor when a host doesn't supply its
|
|
5355
|
+
* own `onThemeChange`/`onLocaleChange`/`onProfileChange` callbacks - i.e. the
|
|
5356
|
+
* "standalone" fallback path. Hosts that do wire those callbacks own
|
|
5357
|
+
* persistence themselves and this module is never touched.
|
|
5358
|
+
*/
|
|
5359
|
+
declare const VIEWER_PREFS_STORAGE_KEY = "pptx-viewer-prefs";
|
|
5360
|
+
interface StoredViewerPrefs {
|
|
5361
|
+
/** Key into the shared `THEME_CATALOG` (or a host-supplied `availableThemes` catalog). */
|
|
5362
|
+
themeKey?: string;
|
|
5363
|
+
/** Locale code, e.g. `'fr'`. */
|
|
5364
|
+
localeCode?: string;
|
|
5365
|
+
/** Local-only display profile shown in File > Account. */
|
|
5366
|
+
profile?: ViewerProfile;
|
|
5367
|
+
}
|
|
5368
|
+
/** Read all persisted viewer preferences. Returns `{}` when unavailable, unset, or corrupt. */
|
|
5369
|
+
declare function readStoredViewerPrefs(): StoredViewerPrefs;
|
|
5370
|
+
/** Merge `patch` into the persisted viewer preferences. Silently no-ops when storage is unavailable. */
|
|
5371
|
+
declare function writeStoredViewerPrefs(patch: Partial<StoredViewerPrefs>): void;
|
|
5372
|
+
/** Remove all persisted viewer preferences. Silently no-ops when storage is unavailable. */
|
|
5373
|
+
declare function clearStoredViewerPrefs(): void;
|
|
5374
|
+
|
|
5285
5375
|
/**
|
|
5286
5376
|
* Toolbar action / ribbon-tab visibility: a single, framework-agnostic
|
|
5287
5377
|
* catalogue of every top-level toolbar button and ribbon tab a host app can
|
|
@@ -5307,6 +5397,23 @@ type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'rec
|
|
|
5307
5397
|
type ToolbarTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
|
|
5308
5398
|
type ToolbarActionId = ToolbarButtonId | ToolbarTabId;
|
|
5309
5399
|
|
|
5400
|
+
/** One selectable entry in the viewer chrome's built-in language picker (File > Options > Language). */
|
|
5401
|
+
interface LocaleCatalogEntry {
|
|
5402
|
+
/** BCP-47-ish locale code, e.g. `'en'`, `'fr'`. Matches `pptx-viewer-locales`' exports. */
|
|
5403
|
+
code: string;
|
|
5404
|
+
/** English display name, used before a translation dictionary for the target locale is loaded. */
|
|
5405
|
+
label: string;
|
|
5406
|
+
/** The locale's own name for itself, e.g. `'Français'` for `fr`. */
|
|
5407
|
+
nativeLabel: string;
|
|
5408
|
+
}
|
|
5409
|
+
/**
|
|
5410
|
+
* Built-in language choices offered by File > Options > Language when a host
|
|
5411
|
+
* doesn't supply its own `availableLocales`. Mirrors the locales shipped by
|
|
5412
|
+
* the optional `pptx-viewer-locales` package (English needs no dictionary,
|
|
5413
|
+
* it's the viewer's own baseline).
|
|
5414
|
+
*/
|
|
5415
|
+
declare const LOCALE_CATALOG: readonly LocaleCatalogEntry[];
|
|
5416
|
+
|
|
5310
5417
|
//#endregion
|
|
5311
5418
|
//#region src/theme/context.d.ts
|
|
5312
5419
|
interface ViewerThemeProviderProps {
|
|
@@ -5401,6 +5508,50 @@ interface PowerPointViewerProps {
|
|
|
5401
5508
|
* @see {@link ViewerTheme} for the full type definition.
|
|
5402
5509
|
*/
|
|
5403
5510
|
theme?: ViewerTheme;
|
|
5511
|
+
/**
|
|
5512
|
+
* Initial key into `availableThemes` (or the built-in `THEME_CATALOG`) for
|
|
5513
|
+
* File > Options > Appearance. Ignored once the user picks a different
|
|
5514
|
+
* entry in that session, and always overridden by the `theme` prop when
|
|
5515
|
+
* both are supplied. Falls back to a persisted `localStorage` choice, then
|
|
5516
|
+
* `'default'`.
|
|
5517
|
+
*/
|
|
5518
|
+
defaultThemeKey?: string;
|
|
5519
|
+
/**
|
|
5520
|
+
* Theme choices offered by File > Options > Appearance. Defaults to the
|
|
5521
|
+
* shared `THEME_CATALOG` (default/light/vermilionLight/vermilionDark).
|
|
5522
|
+
*/
|
|
5523
|
+
availableThemes?: ThemeCatalogEntry[];
|
|
5524
|
+
/**
|
|
5525
|
+
* Called when the user picks a theme from File > Options > Appearance.
|
|
5526
|
+
* When provided, the host owns persisting the choice (the viewer will not
|
|
5527
|
+
* also write it to `localStorage`); otherwise the viewer persists it via
|
|
5528
|
+
* the shared `writeStoredViewerPrefs` helper.
|
|
5529
|
+
*/
|
|
5530
|
+
onThemeChange?: (key: string) => void;
|
|
5531
|
+
/**
|
|
5532
|
+
* Initial locale code for File > Options > Language. Falls back to a
|
|
5533
|
+
* persisted `localStorage` choice, then `'en'`.
|
|
5534
|
+
*/
|
|
5535
|
+
defaultLocale?: string;
|
|
5536
|
+
/**
|
|
5537
|
+
* Locale choices offered by File > Options > Language. Defaults to the
|
|
5538
|
+
* codes actually registered on the host's `react-i18next` instance
|
|
5539
|
+
* (mapped through the shared `LOCALE_CATALOG` for display labels).
|
|
5540
|
+
*/
|
|
5541
|
+
availableLocales?: LocaleCatalogEntry[];
|
|
5542
|
+
/**
|
|
5543
|
+
* Called when the user picks a language from File > Options > Language.
|
|
5544
|
+
* When provided, the host owns applying and persisting the choice (the
|
|
5545
|
+
* viewer will not call `i18n.changeLanguage` or touch `localStorage`
|
|
5546
|
+
* itself); otherwise the viewer applies and persists it directly.
|
|
5547
|
+
*/
|
|
5548
|
+
onLocaleChange?: (code: string) => void;
|
|
5549
|
+
/**
|
|
5550
|
+
* Optional hook point for File > Account's sign-in section. Disabled by
|
|
5551
|
+
* default (renders nothing extra); pass `{ enabled: true, onSignIn }` to
|
|
5552
|
+
* surface a real sign-in flow.
|
|
5553
|
+
*/
|
|
5554
|
+
accountAuth?: AccountAuthConfig;
|
|
5404
5555
|
/**
|
|
5405
5556
|
* Optional real-time collaboration configuration.
|
|
5406
5557
|
*
|
|
@@ -5519,5 +5670,5 @@ declare const PowerPointViewer: react.ForwardRefExoticComponent<PowerPointViewer
|
|
|
5519
5670
|
*/
|
|
5520
5671
|
declare function renderToCanvas(element: HTMLElement, options?: Partial<Options>): Promise<HTMLCanvasElement>;
|
|
5521
5672
|
|
|
5522
|
-
export { PowerPointViewer, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, getAnimationInitialStyle, renderToCanvas, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius };
|
|
5523
|
-
export type { PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, ToolbarActionId, ToolbarButtonId, ToolbarTabId, ViewerMode, ViewerTheme, ViewerThemeColors };
|
|
5673
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, LOCALE_CATALOG, PowerPointViewer, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getAnimationInitialStyle, getLocalStorageUsageSummary, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
5674
|
+
export type { AccountAuthConfig, LocalStorageUsageSummary, LocaleCatalogEntry, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarTabId, ViewerMode, ViewerProfile, ViewerTheme, ViewerThemeColors };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib/canvas-export.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib/canvas-export.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iBAmCsB,eACrB,SAAS,aACT,UAAS,QAAQ,WACf,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkYPZV4KJT_js = require('./chunk-YPZV4KJT.js');
|
|
4
|
+
var chunkQVQTDWB7_js = require('./chunk-QVQTDWB7.js');
|
|
5
|
+
var chunkVSNXVKJI_js = require('./chunk-VSNXVKJI.js');
|
|
6
|
+
var chunkZISXRMDJ_js = require('./chunk-ZISXRMDJ.js');
|
|
7
7
|
require('./chunk-AD3EAEY6.js');
|
|
8
8
|
require('./chunk-QGM4M3NI.js');
|
|
9
9
|
|
|
@@ -11,57 +11,109 @@ require('./chunk-QGM4M3NI.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkYPZV4KJT_js.PowerPointViewer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYPZV4KJT_js.ViewerThemeProvider; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkYPZV4KJT_js.useViewerTheme; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkQVQTDWB7_js.getAnimationInitialStyle; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkQVQTDWB7_js.renderToCanvas; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkVSNXVKJI_js.AVATAR_COLOR_SWATCHES; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkVSNXVKJI_js.DEFAULT_VIEWER_PROFILE; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkVSNXVKJI_js.THEME_CATALOG; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkVSNXVKJI_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkVSNXVKJI_js.clearAllLocalViewerData; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkVSNXVKJI_js.clearStoredViewerPrefs; }
|
|
31
55
|
});
|
|
32
56
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
33
57
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkVSNXVKJI_js.defaultCssVars; }
|
|
35
59
|
});
|
|
36
60
|
Object.defineProperty(exports, "defaultRadius", {
|
|
37
61
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkVSNXVKJI_js.defaultRadius; }
|
|
39
63
|
});
|
|
40
64
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
41
65
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkVSNXVKJI_js.defaultThemeColors; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkVSNXVKJI_js.getLocalStorageUsageSummary; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkVSNXVKJI_js.readStoredViewerPrefs; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkVSNXVKJI_js.resolveProfileInitial; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkVSNXVKJI_js.resolveThemeCatalogEntry; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "saveViewerProfile", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkVSNXVKJI_js.saveViewerProfile; }
|
|
43
87
|
});
|
|
44
88
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
45
89
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkVSNXVKJI_js.themeToCssVars; }
|
|
47
91
|
});
|
|
48
92
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
49
93
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkVSNXVKJI_js.vermilionDarkColors; }
|
|
51
95
|
});
|
|
52
96
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
53
97
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkVSNXVKJI_js.vermilionDarkTheme; }
|
|
55
99
|
});
|
|
56
100
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
57
101
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkVSNXVKJI_js.vermilionLightColors; }
|
|
59
103
|
});
|
|
60
104
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
61
105
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkVSNXVKJI_js.vermilionLightTheme; }
|
|
63
107
|
});
|
|
64
108
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
65
109
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkVSNXVKJI_js.vermilionRadius; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkVSNXVKJI_js.writeStoredViewerPrefs; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkZISXRMDJ_js.LOCALE_CATALOG; }
|
|
67
119
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PowerPointViewer, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
export { getAnimationInitialStyle, renderToCanvas } from './chunk-
|
|
3
|
-
export { defaultCssVars, defaultRadius, defaultThemeColors, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-
|
|
4
|
-
|
|
1
|
+
export { PowerPointViewer, ViewerThemeProvider, useViewerTheme } from './chunk-B7JRQB5F.mjs';
|
|
2
|
+
export { getAnimationInitialStyle, renderToCanvas } from './chunk-DZUI64SO.mjs';
|
|
3
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-5SBQZEKD.mjs';
|
|
4
|
+
export { LOCALE_CATALOG } from './chunk-E3KJKCSV.mjs';
|
|
5
5
|
import './chunk-3ZGCM6RC.mjs';
|
|
6
6
|
import './chunk-6DZX6EAA.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|