@openpresentation/opf 0.20.1 → 0.20.3
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/dist/browser.js +16 -16
- package/dist/{chunk-2XJUXMBS.js → chunk-2XVYJMLR.js} +1 -1
- package/dist/{chunk-VEHLQVGQ.js → chunk-3XLQI7SW.js} +3 -3
- package/dist/{chunk-2AGWO7RM.js → chunk-AMIQJVJR.js} +4 -4
- package/dist/{chunk-UA5EROLC.js → chunk-BDVU4CJV.js} +1 -1
- package/dist/{chunk-7QUAOKS6.js → chunk-BWZS3RVK.js} +2 -2
- package/dist/{chunk-BDXJYO6R.js → chunk-D3YLFLYO.js} +2 -2
- package/dist/{chunk-ZU5EQ23T.js → chunk-HML2TNTA.js} +1 -1
- package/dist/{chunk-W7G5LSXI.js → chunk-J4NYP5JC.js} +1 -1
- package/dist/{chunk-UAXSW6VV.js → chunk-K66K65UQ.js} +2 -2
- package/dist/{chunk-P6LMWUXV.js → chunk-QBYGIIS7.js} +1 -1
- package/dist/{chunk-32MHL3B3.js → chunk-QNJMY5GX.js} +1 -1
- package/dist/{chunk-RFJ5TR3V.js → chunk-R72S2GLS.js} +5 -5
- package/dist/{chunk-L6RRLN6Q.js → chunk-S5IZLAFK.js} +2 -2
- package/dist/{chunk-4FBXVST6.js → chunk-SXNVC2ZU.js} +6 -6
- package/dist/{chunk-BYEIFHWS.js → chunk-UFTKB25U.js} +2 -2
- package/dist/{chunk-JMYM44I4.js → chunk-WGNSYVLB.js} +5 -5
- package/dist/{chunk-NZDWCYDI.js → chunk-X3F6PRH2.js} +5 -5
- package/dist/{composition-MFjGwuN_.d.ts → composition-QtS1rnhv.d.ts} +3 -2
- package/dist/composition.d.ts +1 -1
- package/dist/composition.js +1 -1
- package/dist/conversion-5IGYAS4A.js +19 -0
- package/dist/{conversion-DDd1mdIj.d.ts → conversion-Ca_346Zv.d.ts} +4 -4
- package/dist/convert.d.ts +2 -2
- package/dist/convert.js +7 -7
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/{deck-report-DldBcTHe.d.ts → deck-report-ByHBxLUO.d.ts} +2 -2
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +10 -10
- package/dist/diff.d.ts +1 -1
- package/dist/diff.js +5 -5
- package/dist/docs.js +11 -11
- package/dist/examples.d.ts +1 -1
- package/dist/{finding-CT_f_vbD.d.ts → finding-DqgwzUmr.d.ts} +1 -1
- package/dist/format.js +2 -2
- package/dist/index.d.ts +13 -13
- package/dist/index.js +20 -20
- package/dist/markdown.d.ts +4 -4
- package/dist/markdown.js +7 -7
- package/dist/node-engine.d.ts +8 -8
- package/dist/node-engine.js +20 -20
- package/dist/{pagination-BKsZIEcA.d.ts → pagination-CAX6mHG6.d.ts} +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +1 -1
- package/dist/patch.js +4 -4
- package/dist/{presentation-B_e2Djga.d.ts → presentation-CKbo-axq.d.ts} +1 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +1 -1
- package/dist/spec/schemas/finding.schema.json +2 -2
- package/dist/spec/schemas/opf.schema.json +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/{validation-types-DtN8X_HZ.d.ts → validation-types-DRaNnieo.d.ts} +2 -2
- package/dist/{validator-1d29Z3YY.d.ts → validator-DDTYh9sp.d.ts} +3 -3
- package/dist/validator.d.ts +5 -5
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +4 -4
- package/dist/yaml.js +7 -7
- package/package.json +3 -3
- package/dist/conversion-WHN4D4WH.js +0 -19
package/dist/examples.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ type JsonPatchOperation = ({
|
|
|
31
31
|
path: string;
|
|
32
32
|
});
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Errors, warnings and suggested fixes.
|
|
35
35
|
*/
|
|
36
36
|
interface FindingReport {
|
|
37
37
|
/**
|
package/dist/format.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { OPFFormatError, format, isFormatted, sortPresentationKeys } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { OPFFormatError, format, isFormatted, sortPresentationKeys } from './chunk-QNJMY5GX.js';
|
|
2
|
+
import './chunk-3XLQI7SW.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
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 { a2 as ConvertInput, a3 as ConvertOptions, a4 as ConvertResult, a5 as ConvertFormat, a6 as OpenOptions, a7 as SaveOptions, a8 as SaveResult } from './conversion-
|
|
3
|
-
export { a9 as ConvertedFile, h as ExportFormat, F as FontsHandle, O as OPFApiError, n as OPFExportError, o as OPFImportError, S as SlideSelection, T as parseSlideSelection } from './conversion-
|
|
4
|
-
import { v as validate$1 } from './validator-
|
|
5
|
-
export { C as CATALOG_SCHEMA, a as CatalogDisplayKind, b as CatalogRecordKind, D as DEFAULT_CHART_PALETTE, c as DEFAULT_VALIDATION_THRESHOLDS, O as OPFValidationError, d as assertValid, e as assertValidCatalogRecord, f as catalogDisplayKinds, g as catalogSchemaNames, h as findValidationRule, i as validateCatalogRecord, j as validationRules } from './validator-
|
|
6
|
-
import { R as ResolveVariablesOptions, h as VariableDiagnostic } from './validation-types-
|
|
7
|
-
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-
|
|
8
|
-
export { a as CHART_TYPES, C as ComposeSlideOptions, E as ENGINE_DEFAULT_CHART_TYPES, b as ENGINE_DEFAULT_COLOR_SCHEME, c as ENGINE_DEFAULT_FONT_SCHEME, d as ENGINE_DEFAULT_THEME, e as FontFamilies, F as Fonts, f as LANGUAGES, g as LOGO_SHAPES, h as LanguageFamilyName, i as LanguageVocabulary, L as LayoutDiagnostic, j as LogoShape, k as LogoVariant, M as MeasureTextWidth, R as ResolveLogoOptions, l as ResolvedLogo, S as SOCIAL_PLATFORMS, m as SocialPlatformVocabulary, T as TextMeasurement, n as TextStyle, o as normalizeLanguageFamily } from './composition-
|
|
2
|
+
import { a2 as ConvertInput, a3 as ConvertOptions, a4 as ConvertResult, a5 as ConvertFormat, a6 as OpenOptions, a7 as SaveOptions, a8 as SaveResult } from './conversion-Ca_346Zv.js';
|
|
3
|
+
export { a9 as ConvertedFile, h as ExportFormat, F as FontsHandle, O as OPFApiError, n as OPFExportError, o as OPFImportError, S as SlideSelection, T as parseSlideSelection } from './conversion-Ca_346Zv.js';
|
|
4
|
+
import { v as validate$1 } from './validator-DDTYh9sp.js';
|
|
5
|
+
export { C as CATALOG_SCHEMA, a as CatalogDisplayKind, b as CatalogRecordKind, D as DEFAULT_CHART_PALETTE, c as DEFAULT_VALIDATION_THRESHOLDS, O as OPFValidationError, d as assertValid, e as assertValidCatalogRecord, f as catalogDisplayKinds, g as catalogSchemaNames, h as findValidationRule, i as validateCatalogRecord, j as validationRules } from './validator-DDTYh9sp.js';
|
|
6
|
+
import { R as ResolveVariablesOptions, h as VariableDiagnostic } from './validation-types-DRaNnieo.js';
|
|
7
|
+
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-DRaNnieo.js';
|
|
8
|
+
export { a as CHART_TYPES, C as ComposeSlideOptions, E as ENGINE_DEFAULT_CHART_TYPES, b as ENGINE_DEFAULT_COLOR_SCHEME, c as ENGINE_DEFAULT_FONT_SCHEME, d as ENGINE_DEFAULT_THEME, e as FontFamilies, F as Fonts, f as LANGUAGES, g as LOGO_SHAPES, h as LanguageFamilyName, i as LanguageVocabulary, L as LayoutDiagnostic, j as LogoShape, k as LogoVariant, M as MeasureTextWidth, R as ResolveLogoOptions, l as ResolvedLogo, S as SOCIAL_PLATFORMS, m as SocialPlatformVocabulary, T as TextMeasurement, n as TextStyle, o as normalizeLanguageFamily } from './composition-QtS1rnhv.js';
|
|
9
9
|
export { SpecFileEntry, SpecFileKind, SpecFilePath, specFileEntries, specFileKinds, specFilePaths } from './spec-files.js';
|
|
10
|
-
import { P as Presentation } from './presentation-
|
|
10
|
+
import { P as Presentation } from './presentation-CKbo-axq.js';
|
|
11
11
|
export { Audience, ChartType, ColorScheme, FontScheme, Language, Layout, Narrative, Purpose, SocialPlatform, Theme, Tone } from './types.js';
|
|
12
12
|
import { b as CatalogKind, U as UnresolvedReferenceDiagnostic, a as CatalogOptions, C as Catalog, R as RecordProvenance } from './catalog-refs-CSHevLn1.js';
|
|
13
13
|
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-CSHevLn1.js';
|
|
14
|
-
import { a as Finding, J as JsonPatchOperation } from './finding-
|
|
15
|
-
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-
|
|
16
|
-
import { p as paginate$1 } from './pagination-
|
|
17
|
-
export { O as OPFPaginationError, P as PaginatedPage, c as PaginationMapping, d as PaginationOptions, e as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, S as SlideContext, f as SlideContextDiagnostic, g as SlideContextOptions, h as paginateSlide, r as resolveSlideContext } from './pagination-
|
|
14
|
+
import { a as Finding, J as JsonPatchOperation } from './finding-DqgwzUmr.js';
|
|
15
|
+
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-DqgwzUmr.js';
|
|
16
|
+
import { p as paginate$1 } from './pagination-CAX6mHG6.js';
|
|
17
|
+
export { O as OPFPaginationError, P as PaginatedPage, c as PaginationMapping, d as PaginationOptions, e as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, S as SlideContext, f as SlideContextDiagnostic, g as SlideContextOptions, h as paginateSlide, r as resolveSlideContext } from './pagination-CAX6mHG6.js';
|
|
18
18
|
export { ApplyPatchOptions, OPFPatchError, OPFPatchValidationError, PatchResult, applyPatch } from './patch.js';
|
|
19
19
|
export { DiffOptions, MergeConflict, MergeOptions, MergeResult, PresentationDiff, diff, merge } from './diff.js';
|
|
20
20
|
export { FormatOptions, OPFFormatError, format } from './format.js';
|
|
@@ -23,7 +23,7 @@ export { StringifyOptions, parse, stringify } from './deck.js';
|
|
|
23
23
|
export { DataCell, DataImportOptions, ImportedChart, ImportedChartData, ImportedChartType, ImportedTable, IngestOptions, OPFDataImportError, TabularData, ingest, parseTabularData } from './data.js';
|
|
24
24
|
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-BnNqgnC-.js';
|
|
25
25
|
export { FONT_POLICY, FontAvailability, FontAvailabilityCode, FontAvailabilityDiagnostic, FontLicenseClass, FontPolicyDecision, FontPolicyEntry, FontPolicyTable, FontReplacement, FontReplacementCompatibility, FontReplacementMeasurement, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './font-policy.js';
|
|
26
|
-
export { a as DECK_FORMATS, D as DeckFormat, P as ParseOptions, d as deckFormatOf } from './deck-report-
|
|
26
|
+
export { a as DECK_FORMATS, D as DeckFormat, P as ParseOptions, d as deckFormatOf } from './deck-report-ByHBxLUO.js';
|
|
27
27
|
import './json-BFSdESOE.js';
|
|
28
28
|
|
|
29
29
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defaultCatalogs } from './chunk-
|
|
2
|
-
import { stats, embed, edit, OPFApiError, asApiError } from './chunk-
|
|
3
|
-
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, fill, fillRecords, moveToCustom, parseSlideSelection, sameRecord, updateFromCatalog } from './chunk-
|
|
1
|
+
import { defaultCatalogs } from './chunk-UFTKB25U.js';
|
|
2
|
+
import { stats, embed, edit, OPFApiError, asApiError } from './chunk-AMIQJVJR.js';
|
|
3
|
+
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, fill, fillRecords, moveToCustom, parseSlideSelection, sameRecord, updateFromCatalog } from './chunk-AMIQJVJR.js';
|
|
4
4
|
export { specFileEntries, specFileKinds, specFilePaths } from './chunk-UJSAR6GF.js';
|
|
5
|
-
export { OPFDataImportError, ingest, parseTabularData } from './chunk-
|
|
6
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
7
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
export { OPFMarkdownError } from './chunk-
|
|
10
|
-
export { diff, merge } from './chunk-
|
|
11
|
-
export { OPFPatchError, OPFPatchValidationError, applyPatch } from './chunk-
|
|
12
|
-
export { OPFFormatError, format } from './chunk-
|
|
13
|
-
import { paginate } from './chunk-
|
|
14
|
-
export { OPFPaginationError, paginateSlide } from './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import { validate, OPFValidationError } from './chunk-
|
|
18
|
-
export { CATALOG_SCHEMA, DEFAULT_CHART_PALETTE, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validateCatalogRecord, validationCategories, validationRules } from './chunk-
|
|
19
|
-
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-
|
|
20
|
-
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-
|
|
5
|
+
export { OPFDataImportError, ingest, parseTabularData } from './chunk-J4NYP5JC.js';
|
|
6
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-X3F6PRH2.js';
|
|
7
|
+
export { fromMarkdown, toMarkdown } from './chunk-R72S2GLS.js';
|
|
8
|
+
import './chunk-SXNVC2ZU.js';
|
|
9
|
+
export { OPFMarkdownError } from './chunk-QBYGIIS7.js';
|
|
10
|
+
export { diff, merge } from './chunk-S5IZLAFK.js';
|
|
11
|
+
export { OPFPatchError, OPFPatchValidationError, applyPatch } from './chunk-2XVYJMLR.js';
|
|
12
|
+
export { OPFFormatError, format } from './chunk-QNJMY5GX.js';
|
|
13
|
+
import { paginate } from './chunk-D3YLFLYO.js';
|
|
14
|
+
export { OPFPaginationError, paginateSlide } from './chunk-D3YLFLYO.js';
|
|
15
|
+
import './chunk-BDVU4CJV.js';
|
|
16
|
+
import './chunk-HML2TNTA.js';
|
|
17
|
+
import { validate, OPFValidationError } from './chunk-BWZS3RVK.js';
|
|
18
|
+
export { CATALOG_SCHEMA, DEFAULT_CHART_PALETTE, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validateCatalogRecord, validationCategories, validationRules } from './chunk-BWZS3RVK.js';
|
|
19
|
+
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-K66K65UQ.js';
|
|
20
|
+
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-3XLQI7SW.js';
|
|
21
21
|
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-F7PLNWHQ.js';
|
|
22
22
|
|
|
23
23
|
// src/index.ts
|
|
@@ -31,7 +31,7 @@ var stats2 = (presentation2, options) => stats(presentation2, withDefaultCatalog
|
|
|
31
31
|
var paginate2 = (input, options) => paginate(input, withDefaultCatalog(options));
|
|
32
32
|
var embed2 = (document, options) => embed(document, withDefaultCatalog(options));
|
|
33
33
|
var edit2 = (deck, patch, options) => edit(deck, patch, withDefaultCatalog(options));
|
|
34
|
-
var engine = () => import('./conversion-
|
|
34
|
+
var engine = () => import('./conversion-5IGYAS4A.js');
|
|
35
35
|
var rethrow = (error, fallback) => {
|
|
36
36
|
if (error instanceof OPFValidationError) throw error;
|
|
37
37
|
throw asApiError(OPFApiError, error, fallback);
|
package/dist/markdown.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
2
|
-
import { P as Presentation } from './presentation-
|
|
3
|
-
import { a as Finding, b as FindingLocation } from './finding-
|
|
4
|
-
import { a as ValidateOptions, V as ValidationReport } from './validation-types-
|
|
5
|
-
import './composition-
|
|
2
|
+
import { P as Presentation } from './presentation-CKbo-axq.js';
|
|
3
|
+
import { a as Finding, b as FindingLocation } from './finding-DqgwzUmr.js';
|
|
4
|
+
import { a as ValidateOptions, V as ValidationReport } from './validation-types-DRaNnieo.js';
|
|
5
|
+
import './composition-QtS1rnhv.js';
|
|
6
6
|
import './chart-data-BnNqgnC-.js';
|
|
7
7
|
import './json-BFSdESOE.js';
|
|
8
8
|
|
package/dist/markdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
2
|
-
export { OPFMarkdownError } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
export { fromMarkdown, toMarkdown } from './chunk-R72S2GLS.js';
|
|
2
|
+
export { OPFMarkdownError } from './chunk-QBYGIIS7.js';
|
|
3
|
+
import './chunk-BDVU4CJV.js';
|
|
4
|
+
import './chunk-HML2TNTA.js';
|
|
5
|
+
import './chunk-BWZS3RVK.js';
|
|
6
|
+
import './chunk-K66K65UQ.js';
|
|
7
|
+
import './chunk-3XLQI7SW.js';
|
package/dist/node-engine.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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 ExportFile, g as ExportFontSummary, h as ExportFormat, i as ExportOptions, j as ExportResult, k as ExportRun, l as ExportText, I as ImportOptions, m as ImportResult, n as OPFExportError, o as OPFImportError, p as PEER_RANGES, q as PPTX_PACKAGE, r as PreparedExport, s as RENDER_EXTRAS, t as RENDER_PACKAGE, u as ReportFinding, v as ResolvedExportOptions, S as SlideSelection, w as Source, V as VERSIONS, x as asApiError, y as checkDate, z as checkOptions, A as checkRenamedOptions, B as checkScale, G as deckFileFormat, H as exportFormatOf, J as finishReport, K as importPresentation, L as loadPptx, M as loadRenderer, N as locatePackage, Q as missingPeerFrom, T as parseSlideSelection, U as planConversion, W as prepareExport, X as reaches, Y as readInput, Z as reportThrown, _ as resolveExportOptions, $ as runExport, a0 as runPreparedExport, a1 as writePlanned } from './conversion-
|
|
1
|
+
export { b as DeckReport, c as DeckReportOptions, r as readDeckReport } from './deck-report-ByHBxLUO.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-Ca_346Zv.js';
|
|
3
|
+
export { C as ConversionPlan, D as Diagnostic, c as EXPORT_FORMATS, d as EXPORT_TEXT, e as ExportContext, f as ExportFile, g as ExportFontSummary, h as ExportFormat, i as ExportOptions, j as ExportResult, k as ExportRun, l as ExportText, I as ImportOptions, m as ImportResult, n as OPFExportError, o as OPFImportError, p as PEER_RANGES, q as PPTX_PACKAGE, r as PreparedExport, s as RENDER_EXTRAS, t as RENDER_PACKAGE, u as ReportFinding, v as ResolvedExportOptions, S as SlideSelection, w as Source, V as VERSIONS, x as asApiError, y as checkDate, z as checkOptions, A as checkRenamedOptions, B as checkScale, G as deckFileFormat, H as exportFormatOf, J as finishReport, K as importPresentation, L as loadPptx, M as loadRenderer, N as locatePackage, Q as missingPeerFrom, T as parseSlideSelection, U as planConversion, W as prepareExport, X as reaches, Y as readInput, Z as reportThrown, _ as resolveExportOptions, $ as runExport, a0 as runPreparedExport, a1 as writePlanned } from './conversion-Ca_346Zv.js';
|
|
4
4
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
5
|
-
import { b as PresentationPaginationResult } from './pagination-
|
|
6
|
-
import './presentation-
|
|
7
|
-
import './validation-types-
|
|
8
|
-
import './composition-
|
|
5
|
+
import { b as PresentationPaginationResult } from './pagination-CAX6mHG6.js';
|
|
6
|
+
import './presentation-CKbo-axq.js';
|
|
7
|
+
import './validation-types-DRaNnieo.js';
|
|
8
|
+
import './composition-QtS1rnhv.js';
|
|
9
9
|
import './chart-data-BnNqgnC-.js';
|
|
10
|
-
import './finding-
|
|
10
|
+
import './finding-DqgwzUmr.js';
|
|
11
11
|
import './json-BFSdESOE.js';
|
|
12
12
|
|
|
13
13
|
/** `deck.opf.json` and `deck.pptx` both give `deck`; stdin gives `deck`. */
|
package/dist/node-engine.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { loadRenderer, listFontDirectories, leaseSharedFonts, prepareFonts } from './chunk-
|
|
2
|
-
export { EXPORT_FORMATS, EXPORT_TEXT, PEER_RANGES, PPTX_PACKAGE, RENDER_EXTRAS, RENDER_PACKAGE, Reporter, VERSIONS, checkDate, checkDestinations, checkOptions, checkOutputPattern, checkRenamedOptions, checkScale, createZip, deckFileFormat, deckStem, embeddedFor, exportFormatOf, finishReport, importPresentation, leaseSharedFonts, listFontDirectories, loadPptx, loadRenderer, locatePackage, missingPeerFrom, padNumber, planConversion, pointerOf, prepareExport, prepareFonts, reaches, readInput, reportThrown, resolveExportOptions, runExport, runImport, runPreparedExport, stemOf, writeFiles, writePlanned } from './chunk-
|
|
3
|
-
import { defaultCatalogs } from './chunk-
|
|
4
|
-
export { defaultCatalogs, galleryMismatch } from './chunk-
|
|
5
|
-
import { OPFApiError } from './chunk-
|
|
6
|
-
export { OPFApiError, OPFExportError, OPFImportError, asApiError, parseSlideSelection } from './chunk-
|
|
1
|
+
import { loadRenderer, listFontDirectories, leaseSharedFonts, prepareFonts } from './chunk-WGNSYVLB.js';
|
|
2
|
+
export { EXPORT_FORMATS, EXPORT_TEXT, PEER_RANGES, PPTX_PACKAGE, RENDER_EXTRAS, RENDER_PACKAGE, Reporter, VERSIONS, checkDate, checkDestinations, checkOptions, checkOutputPattern, checkRenamedOptions, checkScale, createZip, deckFileFormat, deckStem, embeddedFor, exportFormatOf, finishReport, importPresentation, leaseSharedFonts, listFontDirectories, loadPptx, loadRenderer, locatePackage, missingPeerFrom, padNumber, planConversion, pointerOf, prepareExport, prepareFonts, reaches, readInput, reportThrown, resolveExportOptions, runExport, runImport, runPreparedExport, stemOf, writeFiles, writePlanned } from './chunk-WGNSYVLB.js';
|
|
3
|
+
import { defaultCatalogs } from './chunk-UFTKB25U.js';
|
|
4
|
+
export { defaultCatalogs, galleryMismatch } from './chunk-UFTKB25U.js';
|
|
5
|
+
import { OPFApiError } from './chunk-AMIQJVJR.js';
|
|
6
|
+
export { OPFApiError, OPFExportError, OPFImportError, asApiError, parseSlideSelection } from './chunk-AMIQJVJR.js';
|
|
7
7
|
import './chunk-UJSAR6GF.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
export { readDeckReport } from './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { paginate } from './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
8
|
+
import './chunk-J4NYP5JC.js';
|
|
9
|
+
export { readDeckReport } from './chunk-X3F6PRH2.js';
|
|
10
|
+
import './chunk-R72S2GLS.js';
|
|
11
|
+
import './chunk-SXNVC2ZU.js';
|
|
12
|
+
import './chunk-QBYGIIS7.js';
|
|
13
|
+
import './chunk-S5IZLAFK.js';
|
|
14
|
+
import './chunk-2XVYJMLR.js';
|
|
15
|
+
import './chunk-QNJMY5GX.js';
|
|
16
|
+
import { paginate } from './chunk-D3YLFLYO.js';
|
|
17
|
+
import './chunk-BDVU4CJV.js';
|
|
18
|
+
import './chunk-HML2TNTA.js';
|
|
19
|
+
import './chunk-BWZS3RVK.js';
|
|
20
|
+
import './chunk-K66K65UQ.js';
|
|
21
|
+
import './chunk-3XLQI7SW.js';
|
|
22
22
|
import './chunk-F7PLNWHQ.js';
|
|
23
23
|
|
|
24
24
|
// src/node/paginate.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComposeSlideOptions, F as Fonts, L as LayoutDiagnostic } from './composition-
|
|
1
|
+
import { C as ComposeSlideOptions, F as Fonts, L as LayoutDiagnostic } from './composition-QtS1rnhv.js';
|
|
2
2
|
import { U as UnresolvedReferenceDiagnostic, R as RecordProvenance, a as CatalogOptions, C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './composition-
|
|
1
|
+
import './composition-QtS1rnhv.js';
|
|
2
2
|
import './catalog-refs-CSHevLn1.js';
|
|
3
|
-
export { O as OPFPaginationError, P as PaginatedPage, c as PaginationMapping, d as PaginationOptions, e as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, p as paginate, h as paginateSlide } from './pagination-
|
|
3
|
+
export { O as OPFPaginationError, P as PaginatedPage, c as PaginationMapping, d as PaginationOptions, e as PaginationResult, a as PresentationPaginationOptions, b as PresentationPaginationResult, p as paginate, h as paginateSlide } from './pagination-CAX6mHG6.js';
|
|
4
4
|
import './chart-data-BnNqgnC-.js';
|
package/dist/pagination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OPFPaginationError, paginate, paginateSlide } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { OPFPaginationError, paginate, paginateSlide } from './chunk-D3YLFLYO.js';
|
|
2
|
+
import './chunk-BWZS3RVK.js';
|
|
3
|
+
import './chunk-K66K65UQ.js';
|
|
4
|
+
import './chunk-3XLQI7SW.js';
|
package/dist/patch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FindingReport, a as Finding, J as JsonPatchOperation } from './finding-
|
|
1
|
+
import { F as FindingReport, a as Finding, J as JsonPatchOperation } from './finding-DqgwzUmr.js';
|
|
2
2
|
|
|
3
3
|
type JsonPointer = string;
|
|
4
4
|
type PatchErrorCode = "invalid-patch" | "invalid-patch-operation" | "unsupported-patch-operation" | "invalid-json-pointer" | "patch-path-missing" | "patch-parent-missing" | "invalid-array-index" | "patch-test-failed" | "patch-invalid-move" | "patch-root-remove" | "patch-invalid-document";
|
package/dist/patch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OPFPatchError, OPFPatchValidationError, applyPatch, applyPatchWithInverse, escapePointerToken, formatPointer, getAtPointer, hasPointer, invertPatch, jsonEqual, normalizePatch, parsePointer, pointerFromPath, readPointer, splitPointer, unescapePointerToken } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { OPFPatchError, OPFPatchValidationError, applyPatch, applyPatchWithInverse, escapePointerToken, formatPointer, getAtPointer, hasPointer, invertPatch, jsonEqual, normalizePatch, parsePointer, pointerFromPath, readPointer, splitPointer, unescapePointerToken } from './chunk-2XVYJMLR.js';
|
|
2
|
+
import './chunk-BWZS3RVK.js';
|
|
3
|
+
import './chunk-K66K65UQ.js';
|
|
4
|
+
import './chunk-3XLQI7SW.js';
|
|
@@ -635,7 +635,7 @@ interface Presentation {
|
|
|
635
635
|
*/
|
|
636
636
|
description?: string;
|
|
637
637
|
/**
|
|
638
|
-
* Optional base filename for exports (without extension). The opf CLI (
|
|
638
|
+
* Optional base filename for exports (without extension). The opf CLI (convert) and the editor strip a trailing .pptx, .pdf, .png, or .svg (case-insensitive) and append the target format's extension. When omitted, they slugify name; with no usable name the CLI uses the input file name and the editor uses 'presentation'. See /docs/opf for full validation rules.
|
|
639
639
|
*/
|
|
640
640
|
filename?: string;
|
|
641
641
|
/**
|
package/dist/schemas.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-
|
|
1
|
+
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-3XLQI7SW.js';
|
package/dist/spec/README.md
CHANGED
|
@@ -10,7 +10,7 @@ New to the format? Read [`docs/how-opf-works.md`](../docs/how-opf-works.md) firs
|
|
|
10
10
|
|---|---|
|
|
11
11
|
| [`schemas/opf.schema.json`](./schemas/opf.schema.json) | Canonical JSON Schema for top-level OPF `Presentation` documents (`$id: https://openpresentation.org/schema/opf/v1`). |
|
|
12
12
|
| [`schemas/*.schema.json`](./schemas) | Companion schemas for catalog records. Layouts use `https://openpresentation.org/schema/opf-layout/v2`; other companion schemas retain `$id`s of the form `https://openpresentation.org/schema/opf-<kind>/v1` (e.g. `opf-narrative`, `opf-theme`, `opf-chart-type`). Three schemas in this directory — `catalog-index.schema.json`, `catalog-manifest.schema.json`, and `layout-preview-index.schema.json` — describe repo-internal index and manifest files instead (see rows below); they are not OPF document or catalog-record schemas and are intentionally excluded from the package's published/typed schema surface (`schemaNames` / generated types). |
|
|
13
|
-
| [`schemas/finding.schema.json`](./schemas/finding.schema.json) |
|
|
13
|
+
| [`schemas/finding.schema.json`](./schemas/finding.schema.json) | Validation results: errors, warnings and suggested fixes (`$id: https://openpresentation.org/schema/opf-finding/v1`). A finding is one thing a checker found at one place in a presentation, and a report lists them. `validate`, the Markdown and YAML converters, the editor's Review panel and hosted reviewers produce it. It is not a catalog-record schema, but unlike the three index schemas it is part of the published, typed schema surface (`schemaNames`, `Finding`, `FindingReport`). See [`docs/validate.md`](../docs/validate.md). |
|
|
14
14
|
| Catalog records (not in this directory) | Since OPF 0.19 (RR-78) the catalog records, their `manifest.json` and the layout previews are the `@openpresentation/gallery` package ([OpenPresentation/gallery](https://github.com/OpenPresentation/gallery)): a pinned snapshot of the default catalog pptx.gallery publishes at `https://www.pptx.gallery/<kind>/index.json`, which hosts register with `catalogs: [gallery]` and engines never fetch. Every `index.json` validates against `schemas/catalog-index.schema.json` (`$id: https://openpresentation.org/schema/opf-catalog-index/v1`), the manifest against `schemas/catalog-manifest.schema.json` and the preview index against `schemas/layout-preview-index.schema.json`; `check:spec` fails when the records no longer match the manifest. Do not edit the records by hand; change pptx.gallery and synchronize the gallery repository (see [`docs/default-catalog.md`](../docs/default-catalog.md)). |
|
|
15
15
|
| [`reference/engine-defaults.json`](./reference/engine-defaults.json) | Reference example of engine-side defaults. Engine configuration, not part of the OPF document contract; it has no JSON Schema. |
|
|
16
16
|
| [`openapi.yaml`](./openapi.yaml) | Optional reference OpenAPI 3.1 contract for downstream services that choose to expose OPF operations (validate, parse, convert, generate, render) over HTTP. OpenPresentation does not host this API; implementers can use it as a starting point for their own hosted or internal services. Local format tooling never needs it. |
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://openpresentation.org/schema/opf-finding/v1",
|
|
4
|
-
"title": "
|
|
5
|
-
"description": "
|
|
4
|
+
"title": "Validation results",
|
|
5
|
+
"description": "Errors, warnings and suggested fixes.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["valid", "findings", "counts"],
|
|
8
8
|
"properties": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"filename": {
|
|
26
26
|
"type": "string",
|
|
27
|
-
"description": "Optional base filename for exports (without extension). The opf CLI (
|
|
27
|
+
"description": "Optional base filename for exports (without extension). The opf CLI (convert) and the editor strip a trailing .pptx, .pdf, .png, or .svg (case-insensitive) and append the target format's extension. When omitted, they slugify name; with no usable name the CLI uses the input file name and the editor uses 'presentation'. See /docs/opf for full validation rules.",
|
|
28
28
|
"examples": ["q4-2026-business-review", "acme-series-b-pitch"]
|
|
29
29
|
},
|
|
30
30
|
"organization": {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { P as Presentation } from './presentation-
|
|
1
|
+
export { P as Presentation } from './presentation-CKbo-axq.js';
|
|
2
2
|
export { b as CatalogKind } from './catalog-refs-CSHevLn1.js';
|
|
3
3
|
export { SchemaName } from './schemas.js';
|
|
4
|
-
export { a as Finding, d as FindingCategory, e as FindingFix, f as FindingFocus, b as FindingLocation, F as FindingReport, c as FindingSeverity, g as FindingSuggestion, J as JsonPatchOperation, V as ValidationIssue } from './finding-
|
|
4
|
+
export { a as Finding, d as FindingCategory, e as FindingFix, f as FindingFocus, b as FindingLocation, F as FindingReport, c as FindingSeverity, g as FindingSuggestion, J as JsonPatchOperation, V as ValidationIssue } from './finding-DqgwzUmr.js';
|
|
5
5
|
import './json-BFSdESOE.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
2
|
-
import { T as TextMeasurement } from './composition-
|
|
3
|
-
import { c as FindingSeverity, F as FindingReport } from './finding-
|
|
2
|
+
import { T as TextMeasurement } from './composition-QtS1rnhv.js';
|
|
3
|
+
import { c as FindingSeverity, F as FindingReport } from './finding-DqgwzUmr.js';
|
|
4
4
|
import { J as JsonPrimitive } from './json-BFSdESOE.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as CatalogKind } from './catalog-refs-CSHevLn1.js';
|
|
2
2
|
import { SchemaName } from './schemas.js';
|
|
3
|
-
import { a as Finding } from './finding-
|
|
4
|
-
import { P as Presentation } from './presentation-
|
|
5
|
-
import { b as ValidationThresholds, c as ValidationRuleInfo, V as ValidationReport, a as ValidateOptions } from './validation-types-
|
|
3
|
+
import { a as Finding } from './finding-DqgwzUmr.js';
|
|
4
|
+
import { P as Presentation } from './presentation-CKbo-axq.js';
|
|
5
|
+
import { b as ValidationThresholds, c as ValidationRuleInfo, V as ValidationReport, a as ValidateOptions } from './validation-types-DRaNnieo.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* RR-78: the version of the catalog record schemas (spec/schemas/<kind>.schema.json) this core reads. A catalog package
|
package/dist/validator.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as DEFAULT_CHART_PALETTE, c as DEFAULT_VALIDATION_THRESHOLDS, O as OPFValidationError, d as assertValid, e as assertValidCatalogRecord, h as findValidationRule, p as promotedRegionKeys, v as validate, i as validateCatalogRecord, j as validationRules } from './validator-
|
|
2
|
-
import './finding-
|
|
3
|
-
import './presentation-
|
|
4
|
-
export { C as Contract, d as ValidateFonts, a as ValidateOptions, e as ValidationCategory, f as ValidationChecks, V as ValidationReport, g as ValidationRuleCost, c as ValidationRuleInfo, b as ValidationThresholds, v as validationCategories } from './validation-types-
|
|
1
|
+
export { D as DEFAULT_CHART_PALETTE, c as DEFAULT_VALIDATION_THRESHOLDS, O as OPFValidationError, d as assertValid, e as assertValidCatalogRecord, h as findValidationRule, p as promotedRegionKeys, v as validate, i as validateCatalogRecord, j as validationRules } from './validator-DDTYh9sp.js';
|
|
2
|
+
import './finding-DqgwzUmr.js';
|
|
3
|
+
import './presentation-CKbo-axq.js';
|
|
4
|
+
export { C as Contract, d as ValidateFonts, a as ValidateOptions, e as ValidationCategory, f as ValidationChecks, V as ValidationReport, g as ValidationRuleCost, c as ValidationRuleInfo, b as ValidationThresholds, v as validationCategories } from './validation-types-DRaNnieo.js';
|
|
5
5
|
import './catalog-refs-CSHevLn1.js';
|
|
6
6
|
import './schemas.js';
|
|
7
7
|
import './json-BFSdESOE.js';
|
|
8
|
-
import './composition-
|
|
8
|
+
import './composition-QtS1rnhv.js';
|
|
9
9
|
import './chart-data-BnNqgnC-.js';
|
package/dist/validator.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DEFAULT_CHART_PALETTE, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, findValidationRule, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-
|
|
2
|
-
export { promotedRegionKeys } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { DEFAULT_CHART_PALETTE, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, findValidationRule, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-BWZS3RVK.js';
|
|
2
|
+
export { promotedRegionKeys } from './chunk-K66K65UQ.js';
|
|
3
|
+
import './chunk-3XLQI7SW.js';
|
package/dist/yaml.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
2
|
-
import { P as Presentation } from './presentation-
|
|
3
|
-
import { a as ValidateOptions, V as ValidationReport } from './validation-types-
|
|
4
|
-
import { a as Finding, b as FindingLocation } from './finding-
|
|
5
|
-
import './composition-
|
|
2
|
+
import { P as Presentation } from './presentation-CKbo-axq.js';
|
|
3
|
+
import { a as ValidateOptions, V as ValidationReport } from './validation-types-DRaNnieo.js';
|
|
4
|
+
import { a as Finding, b as FindingLocation } from './finding-DqgwzUmr.js';
|
|
5
|
+
import './composition-QtS1rnhv.js';
|
|
6
6
|
import './chart-data-BnNqgnC-.js';
|
|
7
7
|
import './json-BFSdESOE.js';
|
|
8
8
|
|
package/dist/yaml.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { OPFYamlError, YAML_SCHEMA_URL, fromYaml, parseYamlData, scanYamlComments, toYaml } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
export { OPFYamlError, YAML_SCHEMA_URL, fromYaml, parseYamlData, scanYamlComments, toYaml } from './chunk-SXNVC2ZU.js';
|
|
2
|
+
import './chunk-QBYGIIS7.js';
|
|
3
|
+
import './chunk-QNJMY5GX.js';
|
|
4
|
+
import './chunk-HML2TNTA.js';
|
|
5
|
+
import './chunk-BWZS3RVK.js';
|
|
6
|
+
import './chunk-K66K65UQ.js';
|
|
7
|
+
import './chunk-3XLQI7SW.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpresentation/opf",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.3",
|
|
4
4
|
"description": "Canonical Open Presentation Format schemas, TypeScript types, local validation and composition; in Node, the file API and the CLI defaults register the pptx.gallery catalog of @openpresentation/gallery.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Open Presentation",
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
"@expo-google-fonts/roboto": "0.4.3",
|
|
158
158
|
"@expo-google-fonts/roboto-mono": "0.4.2",
|
|
159
159
|
"@expo-google-fonts/tinos": "0.4.2",
|
|
160
|
-
"@openpresentation/opf-pptx": "0.
|
|
161
|
-
"@openpresentation/opf-render": "0.
|
|
160
|
+
"@openpresentation/opf-pptx": "0.20.0",
|
|
161
|
+
"@openpresentation/opf-render": "0.20.0",
|
|
162
162
|
"@resvg/resvg-js": "2.6.2",
|
|
163
163
|
"@types/node": "^24.13.4",
|
|
164
164
|
"json-schema-to-typescript": "^16.0.0",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-JMYM44I4.js';
|
|
2
|
-
import './chunk-BYEIFHWS.js';
|
|
3
|
-
import './chunk-2AGWO7RM.js';
|
|
4
|
-
import './chunk-UJSAR6GF.js';
|
|
5
|
-
import './chunk-W7G5LSXI.js';
|
|
6
|
-
import './chunk-NZDWCYDI.js';
|
|
7
|
-
import './chunk-RFJ5TR3V.js';
|
|
8
|
-
import './chunk-4FBXVST6.js';
|
|
9
|
-
import './chunk-P6LMWUXV.js';
|
|
10
|
-
import './chunk-L6RRLN6Q.js';
|
|
11
|
-
import './chunk-2XJUXMBS.js';
|
|
12
|
-
import './chunk-32MHL3B3.js';
|
|
13
|
-
import './chunk-BDXJYO6R.js';
|
|
14
|
-
import './chunk-UA5EROLC.js';
|
|
15
|
-
import './chunk-ZU5EQ23T.js';
|
|
16
|
-
import './chunk-7QUAOKS6.js';
|
|
17
|
-
import './chunk-UAXSW6VV.js';
|
|
18
|
-
import './chunk-VEHLQVGQ.js';
|
|
19
|
-
import './chunk-F7PLNWHQ.js';
|