pptx-svelte-viewer 1.3.0 → 1.4.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 +6 -0
- package/dist/{dist-JuzVOe21.js → dist-DZ-fjucV.js} +6496 -5765
- package/dist/{export-D7pIn3W2.js → export-N-hrLHrd.js} +9228 -8922
- package/dist/i18n.d.ts +9 -7
- package/dist/index.d.ts +4001 -4092
- package/dist/index.js +1 -1
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/viewer/components/props.d.ts +6 -0
- package/dist/viewer/components/props.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/anchored-popup.d.ts +21 -0
- package/dist/viewer/components/ribbon/anchored-popup.d.ts.map +1 -0
- package/dist/viewer/editor/editor-slides-controller.d.ts +15 -0
- package/dist/viewer/editor/editor-slides-controller.d.ts.map +1 -1
- package/dist/viewer/editor/editor-state.svelte.d.ts +3 -0
- package/dist/viewer/editor/editor-state.svelte.d.ts.map +1 -1
- package/dist/viewer/index.d.ts +5132 -5266
- package/dist/viewer/index.js +1 -1
- package/package.json +1 -1
package/dist/i18n.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/i18n/translations-en.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* The canonical English UI-string dictionary for pptx-viewer. None of the
|
|
3
4
|
* React/Vue/Angular binding packages ship translations themselves - each
|
|
@@ -21,15 +22,16 @@ type TranslationKey = keyof typeof translationsEn;
|
|
|
21
22
|
* camelCase to Title Case, e.g. "pptx.slideSorter.zoomIn" -> "Zoom In".
|
|
22
23
|
*/
|
|
23
24
|
declare function keyToLabel(key: string): string;
|
|
24
|
-
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/i18n/locale-catalog.d.ts
|
|
25
27
|
/** One selectable entry in the viewer chrome's built-in language picker (File > Options > Language). */
|
|
26
28
|
interface LocaleCatalogEntry {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
/** BCP-47-ish locale code, e.g. `'en'`, `'fr'`. Matches `pptx-viewer-locales`' exports. */
|
|
30
|
+
code: string;
|
|
31
|
+
/** English display name, used before a translation dictionary for the target locale is loaded. */
|
|
32
|
+
label: string;
|
|
33
|
+
/** The locale's own name for itself, e.g. `'Français'` for `fr`. */
|
|
34
|
+
nativeLabel: string;
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* Built-in language choices offered by File > Options > Language when a host
|