@openpresentation/opf 0.31.0 → 0.32.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/dist/browser.js +18 -18
- package/dist/{chart-data-Ci9s_NDN.d.ts → chart-data-oIZQlFGi.d.ts} +4 -2
- package/dist/{chunk-UKWNHK62.js → chunk-2E6CDYL2.js} +23 -6
- package/dist/{chunk-I6G32TB5.js → chunk-56J345KE.js} +5 -5
- package/dist/{chunk-XSCZZWYI.js → chunk-7U3TJBXE.js} +99 -15
- package/dist/{chunk-HRKV43GC.js → chunk-BBVW5ZC2.js} +3 -3
- package/dist/{chunk-7UO6H32I.js → chunk-CLRYHWQN.js} +162 -22
- package/dist/chunk-DGS47ONG.js +1 -0
- package/dist/{chunk-F5QC7E2O.js → chunk-F7DN33UL.js} +28 -8
- package/dist/{chunk-KELC4K62.js → chunk-HKUV7NEN.js} +1 -1
- package/dist/{chunk-XG4JKFZ6.js → chunk-IT7FQKED.js} +6 -6
- package/dist/{chunk-SYCHWS7C.js → chunk-J63CIRIV.js} +4 -4
- package/dist/{chunk-5Q4IYLMW.js → chunk-LEF4X4KI.js} +274 -33
- package/dist/{chunk-5OMZW44K.js → chunk-NEJ32O7X.js} +1 -1
- package/dist/chunk-NVAJASOD.js +14764 -0
- package/dist/{chunk-M7YZU3DX.js → chunk-OXLA4HXQ.js} +615 -58
- package/dist/{chunk-P5E3FNYO.js → chunk-PB7ME64J.js} +1 -1
- package/dist/{chunk-ARFAQNOH.js → chunk-SW676APJ.js} +2 -2
- package/dist/{chunk-W7KPMUJF.js → chunk-XFHXQCXL.js} +58 -5
- package/dist/{chunk-KOCXV7H3.js → chunk-XQO2CT6Q.js} +2 -2
- package/dist/{chunk-WHDOOLIO.js → chunk-YFJIIIOL.js} +3 -3
- package/dist/composition-DRqNGHJV.d.ts +5620 -0
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +1 -1
- package/dist/{conversion-Bh-skyMc.d.ts → conversion-Cadul8Mu.d.ts} +56 -9
- package/dist/conversion-J3YPDS7C.js +24 -0
- package/dist/convert.d.ts +2 -2
- package/dist/convert.js +7 -7
- package/dist/data.d.ts +2 -2
- package/dist/data.js +2 -2
- package/dist/{deck-report-DQMsvyBI.d.ts → deck-report-BA3IPJAV.d.ts} +2 -2
- package/dist/deck.d.ts +5 -5
- package/dist/deck.js +11 -11
- package/dist/diagram-engine-eager.js +6 -0
- package/dist/diagram-engine-lazy.js +2 -0
- package/dist/diff.js +4 -4
- package/dist/docs.js +25 -19
- package/dist/examples.js +4759 -995
- package/dist/format.js +2 -2
- package/dist/ids.js +4 -4
- package/dist/index.d.ts +15 -12
- package/dist/index.js +23 -22
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +8 -8
- package/dist/node-engine.d.ts +6 -6
- package/dist/node-engine.js +20 -20
- package/dist/{pagination-DyAKYpXu.d.ts → pagination-DwEkdJ6s.d.ts} +74 -4
- package/dist/pagination.d.ts +3 -3
- package/dist/pagination.js +4 -4
- package/dist/patch.js +3 -3
- package/dist/precompiled.js +2 -2
- package/dist/{presentation-8jLSTFqL.d.ts → presentation-DnD7mfmf.d.ts} +106 -27
- package/dist/repo-readme.js +1 -1
- package/dist/schema-engine-ajv.js +1 -1
- package/dist/schema-engine-precompiled.js +2 -2
- package/dist/schema.js +3 -3
- package/dist/schemas.d.ts +6 -0
- package/dist/schemas.js +1 -1
- package/dist/source.d.ts +4 -3
- package/dist/source.js +10 -10
- package/dist/spec/schemas/layout.schema.json +58 -8
- package/dist/spec/schemas/narrative.schema.json +2 -1
- package/dist/spec/schemas/opf.schema.json +122 -23
- package/dist/spec/schemas/theme.schema.json +9 -3
- package/dist/types.d.ts +69 -18
- package/dist/{validation-types-mNmfcY9A.d.ts → validation-types-vVah_PEv.d.ts} +1 -1
- package/dist/validator.d.ts +4 -4
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +2 -2
- package/dist/yaml.js +7 -7
- package/package.json +15 -6
- package/dist/chunk-W3SEWSO5.js +0 -8043
- package/dist/chunk-ZROVYWGU.js +0 -1
- package/dist/composition-C-hd_Ci3.d.ts +0 -3207
- package/dist/conversion-7OPM5MMJ.js +0 -24
package/dist/format.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { OPFFormatError, format, isFormatted, sortPresentationKeys } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { OPFFormatError, format, isFormatted, sortPresentationKeys } from './chunk-HKUV7NEN.js';
|
|
2
|
+
import './chunk-LEF4X4KI.js';
|
|
3
3
|
import './chunk-GM7WFPGG.js';
|
package/dist/ids.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { OPFIdError, assignIds, touches } from './chunk-
|
|
2
|
-
export { OPFPatchHashError, documentHash, idToken, isIdToken, resolveIdPatch, resolveIdPointer, toIdPatch, toIdPointer } from './chunk-
|
|
1
|
+
export { OPFIdError, assignIds, touches } from './chunk-SW676APJ.js';
|
|
2
|
+
export { OPFPatchHashError, documentHash, idToken, isIdToken, resolveIdPatch, resolveIdPointer, toIdPatch, toIdPointer } from './chunk-OXLA4HXQ.js';
|
|
3
3
|
import './chunk-JBARNYFR.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-LEF4X4KI.js';
|
|
5
|
+
import './chunk-NVAJASOD.js';
|
|
6
6
|
import './chunk-GM7WFPGG.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export { SchemaEntry, SchemaName, audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './schemas.js';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { a4 as ConvertInput, a5 as ConvertOptions, a6 as ConvertResult, a7 as ConvertFormat, a8 as OpenOptions, a9 as SaveOptions, aa as SaveResult } from './conversion-Cadul8Mu.js';
|
|
3
|
+
export { ab as ConvertedFile, i as ExportFormat, F as FontsHandle, O as OPFApiError, o as OPFExportError, p as OPFImportError, S as SlideSelection, W as parseSlideSelection } from './conversion-Cadul8Mu.js';
|
|
4
4
|
export { R as RuleExplanation, e as explain } from './explain-iZeNOUc6.js';
|
|
5
5
|
import { validate as validate$1 } from './validator.js';
|
|
6
6
|
export { DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, findValidationRule, validateCatalogRecord, validationRules } from './validator.js';
|
|
7
|
-
import { R as ResolveVariablesOptions, h as VariableDiagnostic } from './validation-types-
|
|
8
|
-
export { B as BuiltinVariableInfo, C as Contract, D as DEFAULT_VARIABLE_DATE_FORMAT, O as OPFVariableError, i as ResolveVariablesResult, j as VARIABLE_KINDS, d as ValidateFonts, a as ValidateOptions, e as ValidationCategory, f as ValidationChecks, V as ValidationReport, g as ValidationRuleCost, c as ValidationRuleInfo, b as ValidationThresholds, k as VariableDeclaration, l as VariableDiagnosticCode, m as VariableDiagnosticSeverity, n as VariableInfo, o as VariableKind, p as VariableUse, q as VariableUseForm, r as VariableValues, s as coerceVariableValue, t as formatVariableNumber, u as hasContentVariables, w as isTemplate, x as listBuiltinVariables, y as listVariables, z as resolveVariables, v as validationCategories, A as variableDeclarations } from './validation-types-
|
|
9
|
-
import {
|
|
10
|
-
export {
|
|
7
|
+
import { R as ResolveVariablesOptions, h as VariableDiagnostic } from './validation-types-vVah_PEv.js';
|
|
8
|
+
export { B as BuiltinVariableInfo, C as Contract, D as DEFAULT_VARIABLE_DATE_FORMAT, O as OPFVariableError, i as ResolveVariablesResult, j as VARIABLE_KINDS, d as ValidateFonts, a as ValidateOptions, e as ValidationCategory, f as ValidationChecks, V as ValidationReport, g as ValidationRuleCost, c as ValidationRuleInfo, b as ValidationThresholds, k as VariableDeclaration, l as VariableDiagnosticCode, m as VariableDiagnosticSeverity, n as VariableInfo, o as VariableKind, p as VariableUse, q as VariableUseForm, r as VariableValues, s as coerceVariableValue, t as formatVariableNumber, u as hasContentVariables, w as isTemplate, x as listBuiltinVariables, y as listVariables, z as resolveVariables, v as validationCategories, A as variableDeclarations } from './validation-types-vVah_PEv.js';
|
|
9
|
+
import { b as FontFamilies, T as TextMeasurement } from './composition-DRqNGHJV.js';
|
|
10
|
+
export { c as CHART_TYPES, d as ChartDrawPlan, e as ChartFallback, C as ComposeSlideOptions, E as ENGINE_DEFAULT_CHART_TYPES, f as ENGINE_DEFAULT_COLOR_SCHEME, g as ENGINE_DEFAULT_FONT_SCHEME, h as ENGINE_DEFAULT_THEME, F as Fonts, i as LANGUAGES, j as LOGO_SHAPES, k as LanguageFamilyName, l as LanguageVocabulary, L as LayoutDiagnostic, m as LogoShape, n as LogoVariant, M as MeasureTextWidth, o as ResolveLogoOptions, p as ResolvedLogo, S as SOCIAL_PLATFORMS, q as SocialPlatformVocabulary, r as TextStyle, s as chartDrawDiagnostics, t as chartDrawPlan, u as isPlaceLabel, v as markLabelColor, w as normalizeLanguageFamily } from './composition-DRqNGHJV.js';
|
|
11
11
|
export { SpecFileEntry, SpecFileKind, SpecFilePath, specFileEntries, specFileKinds, specFilePaths } from './spec-files.js';
|
|
12
|
-
import { P as Presentation } from './presentation-
|
|
12
|
+
import { P as Presentation } from './presentation-DnD7mfmf.js';
|
|
13
13
|
export { Audience, ChartType, ColorScheme, FontScheme, Language, Layout, Narrative, Purpose, SocialPlatform, Theme, Tone } from './types.js';
|
|
14
14
|
import { a as CatalogKind, U as UnresolvedReferenceDiagnostic, b as CatalogOptions, C as Catalog, R as RecordProvenance } from './catalog-refs-kAefsZWT.js';
|
|
15
15
|
export { c as CATALOG_GROUP_PATTERN, d as CATALOG_REFERENCE_PATTERN, e as CatalogRecordMap, f as CatalogRecords, g as CatalogReferenceSite, O as OPFCatalogsOptionError, h as OPFUnresolvedReferenceError, i as ResolvedReference, j as catalogGroupSource, k as catalogKinds, l as catalogRecords, m as catalogReferenceSites, p as parseReference, r as resolveReference, u as unresolvedReference } from './catalog-refs-kAefsZWT.js';
|
|
16
16
|
import { a as Finding, J as JsonPatchOperation } from './finding-l9dlQ2NF.js';
|
|
17
17
|
export { d as FindingCategory, e as FindingFix, f as FindingFocus, b as FindingLocation, F as FindingReport, c as FindingSeverity, g as FindingSuggestion, V as ValidationIssue } from './finding-l9dlQ2NF.js';
|
|
18
18
|
export { a as CATALOG_SCHEMA, b as CatalogDisplayKind, C as CatalogRecordKind, c as catalogDisplayKinds, d as catalogSchemaNames } from './catalog-schemas-LdqOPebq.js';
|
|
19
|
-
import { paginate as paginate$1 } from './pagination.js';
|
|
20
|
-
export { O as OPFPaginationError, P as PaginatedPage,
|
|
19
|
+
import { continueOverfull as continueOverfull$1, paginate as paginate$1 } from './pagination.js';
|
|
20
|
+
export { C as ContinuationResult, d as ContinuedSlide, O as OPFPaginationError, P as PaginatedPage, e as PaginationMapping, f as PaginationOptions, g as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, S as SlideContext, h as SlideContextDiagnostic, i as SlideContextOptions, j as blockUnits, k as continuationPages, l as paginateSlide, r as resolveSlideContext } from './pagination-DwEkdJ6s.js';
|
|
21
21
|
export { ApplyPatchOptions, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, PatchResult, applyPatch, documentHash, idToken, isIdToken, resolveIdPatch, resolveIdPointer, toIdPatch, toIdPointer } from './patch.js';
|
|
22
22
|
export { AssignIdsContext, AssignIdsOptions, AssignIdsResult, AssignedId, IdErrorCode, OPFIdError, PatchScope, PatchScopeKind, PatchTouch, assignIds, touches } from './ids.js';
|
|
23
23
|
export { DiffOptions, MergeConflict, MergeOptions, MergeResult, PresentationDiff, diff, merge } from './diff.js';
|
|
@@ -25,9 +25,9 @@ export { FormatOptions, OPFFormatError, format } from './format.js';
|
|
|
25
25
|
export { FromMarkdownOptions, FromMarkdownResult, OPFMarkdownError, ToMarkdownOptions, ToMarkdownResult, fromMarkdown, toMarkdown } from './markdown.js';
|
|
26
26
|
export { StringifyOptions, parse, stringify } from './deck.js';
|
|
27
27
|
export { DataCell, DataImportOptions, ImportedChart, ImportedChartData, ImportedChartType, ImportedTable, IngestOptions, OPFDataImportError, TabularData, ingest, parseTabularData } from './data.js';
|
|
28
|
-
export { I as ChartComboSeries, C as ChartMapping, a as ChartNumberFix, b as ChartNumberFixOperation, c as ChartNumberFixOptions, D as DataCellValue, d as DataColumn, e as DataDiagnostic, f as DataDiagnosticCode, g as DataResolveOptions, h as DataSourceRef, i as DataStyledCell, j as DataTableCell, k as DataTableHeader, l as DataTableValue, m as DataTextRun, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, r as datasetDiagnostics, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, E as suggestChartNumberFix, F as tableCellDisplayValue, G as toExcelNumberFormat, H as unusedDatasets } from './chart-data-
|
|
28
|
+
export { I as ChartComboSeries, C as ChartMapping, a as ChartNumberFix, b as ChartNumberFixOperation, c as ChartNumberFixOptions, D as DataCellValue, d as DataColumn, e as DataDiagnostic, f as DataDiagnosticCode, g as DataResolveOptions, h as DataSourceRef, i as DataStyledCell, j as DataTableCell, k as DataTableHeader, l as DataTableValue, m as DataTextRun, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, r as datasetDiagnostics, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, E as suggestChartNumberFix, F as tableCellDisplayValue, G as toExcelNumberFormat, H as unusedDatasets } from './chart-data-oIZQlFGi.js';
|
|
29
29
|
export { FONT_POLICY, FontAvailability, FontAvailabilityCode, FontAvailabilityDiagnostic, FontLicenseClass, FontPolicyDecision, FontPolicyEntry, FontPolicyTable, FontReplacement, FontReplacementCompatibility, FontReplacementMeasurement, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './font-policy.js';
|
|
30
|
-
export { a as DECK_FORMATS, D as DeckFormat, P as ParseOptions, d as deckFormatOf } from './deck-report-
|
|
30
|
+
export { a as DECK_FORMATS, D as DeckFormat, P as ParseOptions, d as deckFormatOf } from './deck-report-BA3IPJAV.js';
|
|
31
31
|
import './json-BFSdESOE.js';
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -411,6 +411,7 @@ interface PresentationStats {
|
|
|
411
411
|
metric: number;
|
|
412
412
|
code: number;
|
|
413
413
|
timeline: number;
|
|
414
|
+
diagram: number;
|
|
414
415
|
chart: number;
|
|
415
416
|
table: number;
|
|
416
417
|
image: number;
|
|
@@ -673,6 +674,8 @@ declare const validate: typeof validate$1;
|
|
|
673
674
|
declare const stats: typeof stats$1;
|
|
674
675
|
/** `paginate` with the gallery registered when `catalogs` is omitted, as `opf paginate` does. Pass `fonts` (opf-render's `loadFonts()`) for measured page breaks. */
|
|
675
676
|
declare const paginate: typeof paginate$1;
|
|
677
|
+
/** `continueOverfull` with the gallery registered when `catalogs` is omitted, as `convert` uses it (LH-90). Pass `fonts` for measured breaks. */
|
|
678
|
+
declare const continueOverfull: typeof continueOverfull$1;
|
|
676
679
|
/** `embed` with the gallery registered when `catalogs` is omitted, as `opf embed` does. */
|
|
677
680
|
declare const embed: typeof embed$1;
|
|
678
681
|
/** `edit` with the gallery registered for the check when `catalogs` is omitted, as `opf edit` does. */
|
|
@@ -718,5 +721,5 @@ declare function open(input: string | Uint8Array | ArrayBuffer, options?: OpenOp
|
|
|
718
721
|
*/
|
|
719
722
|
declare function save(deck: Presentation, path: string, options?: SaveOptions): Promise<SaveResult>;
|
|
720
723
|
|
|
721
|
-
export { Catalog, CatalogKind, CatalogOptions, ConvertFormat, ConvertInput, ConvertOptions, ConvertResult, Finding, FontFamilies, JsonPatchOperation, OPFMoveToCustomError, OpenOptions, Presentation, RecordProvenance, ResolveVariablesOptions, SLIDE_SCOPED_BUILTINS, SaveOptions, SaveResult, TextMeasurement, UnresolvedReferenceDiagnostic, VariableDiagnostic, convert, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, open, paginate, resolveDesignRecords, resolveDrawnFontFamilies, resolveFontScheme, resolveSlideVariables, sameRecord, save, stats, updateFromCatalog, validate };
|
|
724
|
+
export { Catalog, CatalogKind, CatalogOptions, ConvertFormat, ConvertInput, ConvertOptions, ConvertResult, Finding, FontFamilies, JsonPatchOperation, OPFMoveToCustomError, OpenOptions, Presentation, RecordProvenance, ResolveVariablesOptions, SLIDE_SCOPED_BUILTINS, SaveOptions, SaveResult, TextMeasurement, UnresolvedReferenceDiagnostic, VariableDiagnostic, continueOverfull, convert, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, open, paginate, resolveDesignRecords, resolveDrawnFontFamilies, resolveFontScheme, resolveSlideVariables, sameRecord, save, stats, updateFromCatalog, validate };
|
|
722
725
|
export type { CatalogPatchOperation, CatalogRecordChange, CatalogRef, CatalogUpdate, CopiedRecordRename, CopySlidesResult, DatasetFact, EditOptions, EditResult, EmbedResult, EmbeddedRecord, FillOptions, FillRecord, FillResult, FilledDeck, HeaderFooterFact, MoveToCustomErrorCode, MoveToCustomPatchOperation, MoveToCustomResult, MovedRecord, PresentationStats, ReferenceFact, ResolvedDesignRecords, SlideScopedBuiltin, SlideSizeFact, SlideStats, StatsOptions, StatsSlideRef, TableFact };
|
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defaultCatalogs } from './chunk-AQEAZDL2.js';
|
|
2
|
-
import { stats, embed, edit, OPFApiError, asApiError } from './chunk-
|
|
3
|
-
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, updateFromCatalog } from './chunk-
|
|
2
|
+
import { stats, embed, edit, OPFApiError, asApiError } from './chunk-56J345KE.js';
|
|
3
|
+
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, updateFromCatalog } from './chunk-56J345KE.js';
|
|
4
4
|
export { specFileEntries, specFileKinds, specFilePaths } from './chunk-UJSAR6GF.js';
|
|
5
5
|
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-PJSPHHRK.js';
|
|
6
|
-
export { OPFDataImportError, ingest, parseTabularData } from './chunk-
|
|
7
|
-
import { paginate } from './chunk-
|
|
8
|
-
export { OPFPaginationError, paginateSlide } from './chunk-
|
|
9
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
10
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
export { OPFFormatError, format } from './chunk-
|
|
6
|
+
export { OPFDataImportError, ingest, parseTabularData } from './chunk-PB7ME64J.js';
|
|
7
|
+
import { paginate, continueOverfull } from './chunk-CLRYHWQN.js';
|
|
8
|
+
export { OPFPaginationError, blockUnits, continuationPages, paginateSlide } from './chunk-CLRYHWQN.js';
|
|
9
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-J63CIRIV.js';
|
|
10
|
+
export { fromMarkdown, toMarkdown } from './chunk-F7DN33UL.js';
|
|
11
|
+
import './chunk-IT7FQKED.js';
|
|
12
|
+
export { OPFFormatError, format } from './chunk-HKUV7NEN.js';
|
|
13
13
|
import './chunk-RYZPBJLB.js';
|
|
14
|
-
export { explain } from './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
export { OPFMarkdownError } from './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
export { OPFIdError, assignIds, touches } from './chunk-
|
|
20
|
-
export { diff, merge } from './chunk-
|
|
21
|
-
import { validate, OPFValidationError } from './chunk-
|
|
22
|
-
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, documentHash, findValidationRule, idToken, isIdToken, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, toIdPatch, toIdPointer, validateCatalogRecord, validationCategories, validationRules } from './chunk-
|
|
14
|
+
export { explain } from './chunk-XFHXQCXL.js';
|
|
15
|
+
import './chunk-2E6CDYL2.js';
|
|
16
|
+
import './chunk-NEJ32O7X.js';
|
|
17
|
+
export { OPFMarkdownError } from './chunk-BBVW5ZC2.js';
|
|
18
|
+
import './chunk-XQO2CT6Q.js';
|
|
19
|
+
export { OPFIdError, assignIds, touches } from './chunk-SW676APJ.js';
|
|
20
|
+
export { diff, merge } from './chunk-YFJIIIOL.js';
|
|
21
|
+
import { validate, OPFValidationError } from './chunk-OXLA4HXQ.js';
|
|
22
|
+
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, documentHash, findValidationRule, idToken, isIdToken, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, toIdPatch, toIdPointer, validateCatalogRecord, validationCategories, validationRules } from './chunk-OXLA4HXQ.js';
|
|
23
23
|
import './chunk-JBARNYFR.js';
|
|
24
|
-
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-
|
|
25
|
-
export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartNumber, coerceVariableValue, datasetDiagnostics, formatDataNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isTemplate, isXYChartType, listBuiltinVariables, listVariables, normalizeLanguageFamily, numberFormatError, parseReference, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-
|
|
24
|
+
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-LEF4X4KI.js';
|
|
25
|
+
export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartDrawDiagnostics, chartDrawPlan, chartNumber, coerceVariableValue, datasetDiagnostics, formatDataNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isPlaceLabel, isTemplate, isXYChartType, listBuiltinVariables, listVariables, markLabelColor, normalizeLanguageFamily, numberFormatError, parseReference, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-NVAJASOD.js';
|
|
26
26
|
import './chunk-GM7WFPGG.js';
|
|
27
27
|
|
|
28
28
|
// src/index.ts
|
|
@@ -34,9 +34,10 @@ var withDefaultCatalog = (options) => {
|
|
|
34
34
|
var validate2 = (input, options) => validate(input, withDefaultCatalog(options));
|
|
35
35
|
var stats2 = (presentation2, options) => stats(presentation2, withDefaultCatalog(options));
|
|
36
36
|
var paginate2 = (input, options) => paginate(input, withDefaultCatalog(options));
|
|
37
|
+
var continueOverfull2 = (input, options) => continueOverfull(input, withDefaultCatalog(options));
|
|
37
38
|
var embed2 = (document, options) => embed(document, withDefaultCatalog(options));
|
|
38
39
|
var edit2 = (deck, patch, options) => edit(deck, patch, withDefaultCatalog(options));
|
|
39
|
-
var engine = () => import('./conversion-
|
|
40
|
+
var engine = () => import('./conversion-J3YPDS7C.js');
|
|
40
41
|
var rethrow = (error, fallback) => {
|
|
41
42
|
if (error instanceof OPFValidationError) throw error;
|
|
42
43
|
throw asApiError(OPFApiError, error, fallback);
|
|
@@ -65,4 +66,4 @@ async function save(deck, path, options = {}) {
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
export { convert, edit2 as edit, embed2 as embed, open, paginate2 as paginate, save, stats2 as stats, validate2 as validate };
|
|
69
|
+
export { continueOverfull2 as continueOverfull, convert, edit2 as edit, embed2 as embed, open, paginate2 as paginate, save, stats2 as stats, validate2 as validate };
|
package/dist/markdown.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Catalog } from './composition.js';
|
|
|
2
2
|
import { Presentation } from './index.js';
|
|
3
3
|
import { Finding, FindingLocation } from './index.js';
|
|
4
4
|
import { ValidateOptions, ValidationReport } from './index.js';
|
|
5
|
-
import './composition-
|
|
6
|
-
import './chart-data-
|
|
5
|
+
import './composition-DRqNGHJV.js';
|
|
6
|
+
import './chart-data-oIZQlFGi.js';
|
|
7
7
|
import './json-BFSdESOE.js';
|
|
8
8
|
|
|
9
9
|
interface EmbeddedPart {
|
package/dist/markdown.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
1
|
+
export { fromMarkdown, toMarkdown } from './chunk-F7DN33UL.js';
|
|
2
2
|
import './chunk-RYZPBJLB.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
export { OPFMarkdownError } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
3
|
+
import './chunk-2E6CDYL2.js';
|
|
4
|
+
import './chunk-NEJ32O7X.js';
|
|
5
|
+
export { OPFMarkdownError } from './chunk-BBVW5ZC2.js';
|
|
6
|
+
import './chunk-XQO2CT6Q.js';
|
|
7
|
+
import './chunk-OXLA4HXQ.js';
|
|
8
8
|
import './chunk-JBARNYFR.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-LEF4X4KI.js';
|
|
10
|
+
import './chunk-NVAJASOD.js';
|
|
11
11
|
import './chunk-GM7WFPGG.js';
|
package/dist/node-engine.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { b as DeckReport, c as DeckReportOptions, r as readDeckReport } from './deck-report-
|
|
2
|
-
import { F as FontsHandle, E as EmbeddedFace, R as Renderer, a as Reporter, P as Peer, b as PptxModule, O as OPFApiError } from './conversion-
|
|
3
|
-
export { C as ConversionPlan, D as Diagnostic, c as EXPORT_FORMATS, d as EXPORT_TEXT, e as ExportContext, f as
|
|
1
|
+
export { b as DeckReport, c as DeckReportOptions, r as readDeckReport } from './deck-report-BA3IPJAV.js';
|
|
2
|
+
import { F as FontsHandle, E as EmbeddedFace, R as Renderer, a as Reporter, P as Peer, b as PptxModule, O as OPFApiError } from './conversion-Cadul8Mu.js';
|
|
3
|
+
export { C as ConversionPlan, D as Diagnostic, c as EXPORT_FORMATS, d as EXPORT_TEXT, e as ExportContext, f as ExportContinuedSlide, g as ExportFile, h as ExportFontSummary, i as ExportFormat, j as ExportOptions, k as ExportResult, l as ExportRun, m as ExportText, I as ImportOptions, n as ImportResult, o as OPFExportError, p as OPFImportError, q as PEER_RANGES, r as PPTX_PACKAGE, s as PreparedExport, t as RENDER_EXTRAS, u as RENDER_PACKAGE, v as ReportFinding, w as ResolvedExportOptions, S as SlideSelection, x as Source, V as VERSIONS, y as asApiError, z as assetRoot, A as checkDate, B as checkOptions, G as checkRenamedOptions, H as checkScale, J as deckFileFormat, K as exportFormatOf, L as finishReport, M as importPresentation, N as loadPptx, Q as loadRenderer, T as locatePackage, U as missingPeerFrom, W as parseSlideSelection, X as planConversion, Y as prepareExport, Z as reaches, _ as readInput, $ as reportThrown, a0 as resolveExportOptions, a1 as runExport, a2 as runPreparedExport, a3 as writePlanned } from './conversion-Cadul8Mu.js';
|
|
4
4
|
import { Catalog } from './composition.js';
|
|
5
5
|
import { Fonts } from './composition.js';
|
|
6
6
|
import { PresentationPaginationResult } from './index.js';
|
|
7
|
-
import './presentation-
|
|
8
|
-
import './validation-types-
|
|
7
|
+
import './presentation-DnD7mfmf.js';
|
|
8
|
+
import './validation-types-vVah_PEv.js';
|
|
9
9
|
import './finding-l9dlQ2NF.js';
|
|
10
10
|
import './json-BFSdESOE.js';
|
|
11
|
-
import './chart-data-
|
|
11
|
+
import './chart-data-oIZQlFGi.js';
|
|
12
12
|
|
|
13
13
|
/** `deck.opf.json` and `deck.pptx` both give `deck`; stdin gives `deck`. */
|
|
14
14
|
declare function stemOf(input: string): string;
|
package/dist/node-engine.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { loadRenderer, listFontDirectories, leaseSharedFonts, prepareFonts } from './chunk-
|
|
2
|
-
export { EXPORT_FORMATS, EXPORT_TEXT, PEER_RANGES, PPTX_PACKAGE, RENDER_EXTRAS, RENDER_PACKAGE, Reporter, VERSIONS, assetRoot, checkDate, checkDestinations, checkOptions, checkOutputPattern, checkRenamedOptions, checkScale, createZip, deckFileFormat, deckStem, embeddedFor, exportFormatOf, finishReport, importPresentation, leaseSharedFonts, listFontDirectories, loadPptx, loadRenderer, localAssetProblems, locatePackage, missingPeerFrom, padNumber, planConversion, pointerOf, prepareExport, prepareFonts, publishNew, reaches, readInput, reportThrown, resolveExportOptions, runExport, runImport, runPreparedExport, stemOf, writeFiles, writePlanned } from './chunk-
|
|
1
|
+
import { loadRenderer, listFontDirectories, leaseSharedFonts, prepareFonts } from './chunk-7U3TJBXE.js';
|
|
2
|
+
export { EXPORT_FORMATS, EXPORT_TEXT, PEER_RANGES, PPTX_PACKAGE, RENDER_EXTRAS, RENDER_PACKAGE, Reporter, VERSIONS, assetRoot, checkDate, checkDestinations, checkOptions, checkOutputPattern, checkRenamedOptions, checkScale, createZip, deckFileFormat, deckStem, embeddedFor, exportFormatOf, finishReport, importPresentation, leaseSharedFonts, listFontDirectories, loadPptx, loadRenderer, localAssetProblems, locatePackage, missingPeerFrom, padNumber, planConversion, pointerOf, prepareExport, prepareFonts, publishNew, reaches, readInput, reportThrown, resolveExportOptions, runExport, runImport, runPreparedExport, stemOf, writeFiles, writePlanned } from './chunk-7U3TJBXE.js';
|
|
3
3
|
import { defaultCatalogs } from './chunk-AQEAZDL2.js';
|
|
4
4
|
export { defaultCatalogs } from './chunk-AQEAZDL2.js';
|
|
5
|
-
import { OPFApiError } from './chunk-
|
|
6
|
-
export { OPFApiError, OPFExportError, OPFImportError, asApiError, parseSlideSelection } from './chunk-
|
|
5
|
+
import { OPFApiError } from './chunk-56J345KE.js';
|
|
6
|
+
export { OPFApiError, OPFExportError, OPFImportError, asApiError, parseSlideSelection } from './chunk-56J345KE.js';
|
|
7
7
|
import './chunk-UJSAR6GF.js';
|
|
8
8
|
import './chunk-PJSPHHRK.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import { paginate } from './chunk-
|
|
11
|
-
export { readDeckReport } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
9
|
+
import './chunk-PB7ME64J.js';
|
|
10
|
+
import { paginate } from './chunk-CLRYHWQN.js';
|
|
11
|
+
export { readDeckReport } from './chunk-J63CIRIV.js';
|
|
12
|
+
import './chunk-F7DN33UL.js';
|
|
13
|
+
import './chunk-IT7FQKED.js';
|
|
14
|
+
import './chunk-HKUV7NEN.js';
|
|
15
15
|
import './chunk-RYZPBJLB.js';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
16
|
+
import './chunk-XFHXQCXL.js';
|
|
17
|
+
import './chunk-2E6CDYL2.js';
|
|
18
|
+
import './chunk-NEJ32O7X.js';
|
|
19
|
+
import './chunk-BBVW5ZC2.js';
|
|
20
|
+
import './chunk-XQO2CT6Q.js';
|
|
21
|
+
import './chunk-SW676APJ.js';
|
|
22
|
+
import './chunk-YFJIIIOL.js';
|
|
23
|
+
import './chunk-OXLA4HXQ.js';
|
|
24
24
|
import './chunk-JBARNYFR.js';
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
25
|
+
import './chunk-LEF4X4KI.js';
|
|
26
|
+
import './chunk-NVAJASOD.js';
|
|
27
27
|
import './chunk-GM7WFPGG.js';
|
|
28
28
|
|
|
29
29
|
// src/node/paginate.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComposeSlideOptions, R as ResolvedColorRoles, F as Fonts, L as LayoutDiagnostic } from './composition-
|
|
1
|
+
import { C as ComposeSlideOptions, R as ResolvedColorRoles, a as ColorVariant, F as Fonts, L as LayoutDiagnostic } from './composition-DRqNGHJV.js';
|
|
2
2
|
import { U as UnresolvedReferenceDiagnostic, R as RecordProvenance, b as CatalogOptions, C as Catalog } from './catalog-refs-kAefsZWT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -45,6 +45,12 @@ interface SlideContext {
|
|
|
45
45
|
fontSchemePath: string;
|
|
46
46
|
/** The layout record, when the slide names one that resolves. */
|
|
47
47
|
layout?: Rec;
|
|
48
|
+
/**
|
|
49
|
+
* LH-01: the layout record's `design.variant` (normalized, with the deck's accent order when it names none) when it decides the slide's
|
|
50
|
+
* background: the slide's own design sets neither a variant nor a background. It outranks the deck's and the theme's, so it hides their
|
|
51
|
+
* background (the slide is the variant's bg1); `roles` already follows it.
|
|
52
|
+
*/
|
|
53
|
+
layoutVariant?: ColorVariant;
|
|
48
54
|
/**
|
|
49
55
|
* Where each resolved record came from: `{ kind, reference, id, group, source?, origin }` (origin `document` for an
|
|
50
56
|
* embedded record, `host` for a registered catalog's). A kind is absent when nothing resolved for it (the engine
|
|
@@ -76,8 +82,20 @@ interface PaginationOptions extends Omit<ComposeSlideOptions, 'textMeasurement'>
|
|
|
76
82
|
fonts?: Fonts;
|
|
77
83
|
/** Registered catalogs, for resolving the slide's script fonts when `presentation` is given. `paginate` passes its own. */
|
|
78
84
|
catalogs?: readonly Catalog[];
|
|
79
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Readability floor used while choosing page breaks. Default 24 reference pixels; with `wholeBlocks`, the slide's own floor
|
|
87
|
+
* (its `composition.minFontSize`, its layout's, else 16), and the pages keep the slide's composition as authored.
|
|
88
|
+
*/
|
|
80
89
|
minFontSize?: number;
|
|
90
|
+
/**
|
|
91
|
+
* LH-90: break only between the slide's block units (`blockUnits`: a lead block and the blocks that follow it; each root block
|
|
92
|
+
* alone when the slide has none), never inside one, over the fewest pages that hold them, with the units spread evenly over
|
|
93
|
+
* those pages when every page still fits (eight timelines that fit five to a page are four and four, not five and three).
|
|
94
|
+
* The slide is composed first as the engines draw it: a strict (`overflow: "error"`) composition throws its
|
|
95
|
+
* `OPFCompositionError`, and a slide with no `text-overflow` or `small-cell` is returned unchanged. A unit that overflows on a
|
|
96
|
+
* page of its own throws `OPFPaginationError`.
|
|
97
|
+
*/
|
|
98
|
+
wholeBlocks?: boolean;
|
|
81
99
|
/** All-or-nothing resource limit. Defaults to 100 output slides. */
|
|
82
100
|
maxSlides?: number;
|
|
83
101
|
/** Existing slide and content payload IDs to avoid when generating continuation IDs. */
|
|
@@ -134,6 +152,58 @@ interface PresentationPaginationResult {
|
|
|
134
152
|
}
|
|
135
153
|
/** Resolve the slides' references (the document's catalogs groups, then the registered catalogs) and paginate a complete presentation without mutating it. */
|
|
136
154
|
declare function paginate(input: unknown, options?: PresentationPaginationOptions): PresentationPaginationResult;
|
|
155
|
+
/** LH-90: one slide that `continueOverfull` continues on further slides. */
|
|
156
|
+
interface ContinuedSlide {
|
|
157
|
+
/** The slide's index in the input presentation. */
|
|
158
|
+
sourceSlideIndex: number;
|
|
159
|
+
/** The index of each of its pages in the output presentation, in order. */
|
|
160
|
+
slideIndices: number[];
|
|
161
|
+
/** The lead kind of its block units (`blockUnits`): `timeline`, `table`, `text`, ... */
|
|
162
|
+
kind: string;
|
|
163
|
+
/** The input indices of the root blocks each page holds, in order. */
|
|
164
|
+
blocks: number[][];
|
|
165
|
+
/** How many block units (lead blocks) each page holds. */
|
|
166
|
+
units: number[];
|
|
167
|
+
/** Each page's mapping, as `paginate` returns it, with output paths. */
|
|
168
|
+
pages: (PaginatedPage & {
|
|
169
|
+
sourceSlideIndex: number;
|
|
170
|
+
})[];
|
|
171
|
+
}
|
|
172
|
+
interface ContinuationResult {
|
|
173
|
+
/** The presentation to draw: the input with each continued slide replaced by its pages. */
|
|
174
|
+
presentation: Record<string, any>;
|
|
175
|
+
/** The slides that were continued, in order; empty when the slide count did not change. */
|
|
176
|
+
continued: ContinuedSlide[];
|
|
177
|
+
/** How the breaks were chosen, as in `paginate`. */
|
|
178
|
+
layout: 'measured' | 'estimated';
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* LH-90: the root blocks of a slide as the units a whole-block split keeps together, or undefined. Every root block must be one
|
|
182
|
+
* payload (no nested group) and the slide must hold nothing else to move (no root payload, no promoted region). A unit starts at
|
|
183
|
+
* each block of the first block's kind (`kind`, the lead kind) and takes the blocks after it up to the next one, so eight
|
|
184
|
+
* timelines are eight units and a timeline keeps the note that follows it. A slide needs two or more units.
|
|
185
|
+
*/
|
|
186
|
+
declare function blockUnits(slide: unknown): {
|
|
187
|
+
kind: string;
|
|
188
|
+
units: number[][];
|
|
189
|
+
} | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* LH-90: the deck an export draws. A slide of two or more block units (`blockUnits`: sibling blocks of one kind, each with the
|
|
192
|
+
* blocks that follow it) that the engines draw overflowing (`text-overflow` or `small-cell` at its own readability floor)
|
|
193
|
+
* continues on further slides, split between whole units (`paginateSlide` with `wholeBlocks`): the fewest pages that fit, the blocks spread evenly, each page with the slide's
|
|
194
|
+
* headings, layout and design (pagination's convention), speaker notes on the first. Every other slide is kept as it is, and so
|
|
195
|
+
* is a slide whose blocks do not fit even one to a page, or whose composition is strict (`overflow: "error"`), which the engines
|
|
196
|
+
* still refuse. Content is never dropped, and `continued` lists every slide the split changed, so a host can report the new
|
|
197
|
+
* slide count.
|
|
198
|
+
*/
|
|
199
|
+
declare function continueOverfull(input: unknown, options?: PresentationPaginationOptions): ContinuationResult;
|
|
200
|
+
/**
|
|
201
|
+
* LH-99: the pages of every source slide in a `continueOverfull` result, for hosts that draw slide by slide (the player, `<opf-deck>`,
|
|
202
|
+
* the editor). `pages[i]` lists the output indices that draw source slide `i`, in order: one for a slide kept as written, two or more
|
|
203
|
+
* for a continued one. A host keeps addressing source slides (numbers, links, selection, `goto`) and steps through a slide's pages
|
|
204
|
+
* as sub-steps, so a continuation never shifts a source index.
|
|
205
|
+
*/
|
|
206
|
+
declare function continuationPages(result: Pick<ContinuationResult, 'continued'>, slideCount: number): number[][];
|
|
137
207
|
|
|
138
|
-
export { OPFPaginationError as O, paginateSlide as
|
|
139
|
-
export type { PaginatedPage as P, SlideContext as S, PresentationPaginationOptions as a, PresentationPaginationResult as b, PaginationMapping as
|
|
208
|
+
export { OPFPaginationError as O, continueOverfull as c, blockUnits as j, continuationPages as k, paginateSlide as l, paginate as p, resolveSlideContext as r };
|
|
209
|
+
export type { ContinuationResult as C, PaginatedPage as P, SlideContext as S, PresentationPaginationOptions as a, PresentationPaginationResult as b, ContinuedSlide as d, PaginationMapping as e, PaginationOptions as f, PaginationResult as g, SlideContextDiagnostic as h, SlideContextOptions as i };
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './composition-
|
|
1
|
+
import './composition-DRqNGHJV.js';
|
|
2
2
|
import './catalog-refs-kAefsZWT.js';
|
|
3
|
-
export { O as OPFPaginationError, P as PaginatedPage,
|
|
4
|
-
import './chart-data-
|
|
3
|
+
export { C as ContinuationResult, d as ContinuedSlide, O as OPFPaginationError, P as PaginatedPage, e as PaginationMapping, f as PaginationOptions, g as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, j as blockUnits, k as continuationPages, c as continueOverfull, p as paginate, l as paginateSlide } from './pagination-DwEkdJ6s.js';
|
|
4
|
+
import './chart-data-oIZQlFGi.js';
|
package/dist/pagination.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { OPFPaginationError, paginate, paginateSlide } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { OPFPaginationError, blockUnits, continuationPages, continueOverfull, paginate, paginateSlide } from './chunk-CLRYHWQN.js';
|
|
2
|
+
import './chunk-OXLA4HXQ.js';
|
|
3
3
|
import './chunk-JBARNYFR.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-LEF4X4KI.js';
|
|
5
|
+
import './chunk-NVAJASOD.js';
|
|
6
6
|
import './chunk-GM7WFPGG.js';
|
package/dist/patch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { OPFPatchError, OPFPatchHashError, OPFPatchValidationError, applyPatch, applyPatchWithInverse, documentHash, escapePointerToken, formatPointer, getAtPointer, hasPointer, idToken, invertPatch, isIdToken, jsonEqual, normalizePatch, parsePointer, pointerFromPath, readPointer, resolveIdPatch, resolveIdPointer, splitPointer, toIdPatch, toIdPointer, unescapePointerToken, walkPatch } from './chunk-
|
|
1
|
+
export { OPFPatchError, OPFPatchHashError, OPFPatchValidationError, applyPatch, applyPatchWithInverse, documentHash, escapePointerToken, formatPointer, getAtPointer, hasPointer, idToken, invertPatch, isIdToken, jsonEqual, normalizePatch, parsePointer, pointerFromPath, readPointer, resolveIdPatch, resolveIdPointer, splitPointer, toIdPatch, toIdPointer, unescapePointerToken, walkPatch } from './chunk-OXLA4HXQ.js';
|
|
2
2
|
import './chunk-JBARNYFR.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-LEF4X4KI.js';
|
|
4
|
+
import './chunk-NVAJASOD.js';
|
|
5
5
|
import './chunk-GM7WFPGG.js';
|
package/dist/precompiled.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { installSchemaEngine } from './chunk-43JWUIGF.js';
|
|
2
|
-
import { schemaEngine } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
import { schemaEngine } from './chunk-DGS47ONG.js';
|
|
3
|
+
import './chunk-LEF4X4KI.js';
|
|
4
4
|
import './chunk-GM7WFPGG.js';
|
|
5
5
|
|
|
6
6
|
// src/precompiled.ts
|