@openpresentation/opf 0.26.5 → 0.26.7
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 +13 -13
- package/dist/{chunk-UY6SQVR2.js → chunk-3S2XVDPN.js} +5 -5
- package/dist/{chunk-EFMR32A5.js → chunk-77KL2PMM.js} +1 -1
- package/dist/{chunk-TAV5S2JG.js → chunk-A54NGT2K.js} +1 -1
- package/dist/{chunk-UFEWQDQI.js → chunk-D25BNPTW.js} +1 -1
- package/dist/{chunk-MD3CJ5YJ.js → chunk-G5WJMJV3.js} +1 -1
- package/dist/{chunk-STIYINEL.js → chunk-GIWNHRTX.js} +3 -3
- package/dist/{chunk-MLH5LIGF.js → chunk-H7XMO36O.js} +4 -4
- package/dist/{chunk-CIWC7DRZ.js → chunk-IVPA6NG6.js} +514 -481
- package/dist/{chunk-K5Q3LLYK.js → chunk-NVT2YDVC.js} +2 -2
- package/dist/{chunk-DXTPLVAK.js → chunk-PHP45MO7.js} +1 -1
- package/dist/{chunk-WAZDP2WS.js → chunk-VZBFQLCA.js} +3 -3
- package/dist/{chunk-HPEZCAYC.js → chunk-Y25DYRME.js} +1 -1
- package/dist/{chunk-KPALXWX3.js → chunk-Y4TZCE7R.js} +2 -2
- package/dist/{chunk-L7YEVQHP.js → chunk-Y6FJBPE7.js} +6 -6
- package/dist/conversion-WFHAUUXD.js +21 -0
- package/dist/{conversion-C7o2EpDb.d.ts → conversion-XgcGv8iP.d.ts} +2 -2
- package/dist/convert.js +5 -5
- package/dist/deck.js +8 -8
- package/dist/diff.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -17
- package/dist/markdown.js +6 -6
- package/dist/node-engine.d.ts +2 -2
- package/dist/node-engine.js +17 -17
- package/dist/pagination.js +2 -2
- package/dist/patch.js +1 -1
- package/dist/schema.js +1 -1
- package/dist/source.js +8 -8
- package/dist/validator.d.ts +8 -3
- package/dist/validator.js +1 -1
- package/dist/yaml.js +4 -4
- package/package.json +5 -5
- package/dist/conversion-PMJWLHDV.js +0 -21
package/dist/browser.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OPFApiError } from './chunk-
|
|
2
|
-
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-
|
|
1
|
+
import { OPFApiError } from './chunk-D25BNPTW.js';
|
|
2
|
+
export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-D25BNPTW.js';
|
|
3
3
|
export { specFileEntries, specFileKinds, specFilePaths } from './chunk-UJSAR6GF.js';
|
|
4
4
|
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-PJSPHHRK.js';
|
|
5
5
|
export { OPFDataImportError, ingest, parseTabularData } from './chunk-TKQ2VFV5.js';
|
|
6
|
-
export { OPFPaginationError, paginate, paginateSlide } from './chunk-
|
|
7
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
8
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
9
|
-
import './chunk-
|
|
6
|
+
export { OPFPaginationError, paginate, paginateSlide } from './chunk-77KL2PMM.js';
|
|
7
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-GIWNHRTX.js';
|
|
8
|
+
export { fromMarkdown, toMarkdown } from './chunk-3S2XVDPN.js';
|
|
9
|
+
import './chunk-VZBFQLCA.js';
|
|
10
10
|
import './chunk-RYZPBJLB.js';
|
|
11
|
-
export { explain } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
export { OPFMarkdownError } from './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
export { diff, merge } from './chunk-
|
|
17
|
-
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-
|
|
11
|
+
export { explain } from './chunk-G5WJMJV3.js';
|
|
12
|
+
import './chunk-H7XMO36O.js';
|
|
13
|
+
import './chunk-PHP45MO7.js';
|
|
14
|
+
export { OPFMarkdownError } from './chunk-Y4TZCE7R.js';
|
|
15
|
+
import './chunk-Y25DYRME.js';
|
|
16
|
+
export { diff, merge } from './chunk-A54NGT2K.js';
|
|
17
|
+
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-IVPA6NG6.js';
|
|
18
18
|
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-XRMV2GMB.js';
|
|
19
19
|
export { OPFFormatError, format } from './chunk-EQ6S5SEZ.js';
|
|
20
20
|
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-F4HFDP6I.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NOT_CHECKED } from './chunk-RYZPBJLB.js';
|
|
2
|
-
import { readMarkdown, parseSlideText, escapeInline, serializeRuns } from './chunk-
|
|
3
|
-
import { fenceCode } from './chunk-
|
|
4
|
-
import { OPFMarkdownError, writeYaml, Ctx, readYamlMapping, csvField, scalarText } from './chunk-
|
|
5
|
-
import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-
|
|
6
|
-
import { validate } from './chunk-
|
|
2
|
+
import { readMarkdown, parseSlideText, escapeInline, serializeRuns } from './chunk-H7XMO36O.js';
|
|
3
|
+
import { fenceCode } from './chunk-PHP45MO7.js';
|
|
4
|
+
import { OPFMarkdownError, writeYaml, Ctx, readYamlMapping, csvField, scalarText } from './chunk-Y4TZCE7R.js';
|
|
5
|
+
import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-Y25DYRME.js';
|
|
6
|
+
import { validate } from './chunk-IVPA6NG6.js';
|
|
7
7
|
import { checkCatalogsOption } from './chunk-XRMV2GMB.js';
|
|
8
8
|
|
|
9
9
|
// src/markdown/canon.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-
|
|
1
|
+
import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-IVPA6NG6.js';
|
|
2
2
|
import { resolveSlideVariables, checkCatalogsOption, usesSlideBuiltin, composeSlide, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, regionAccepts, slideTokenSpans, sliceNumberedItems } from './chunk-XRMV2GMB.js';
|
|
3
3
|
|
|
4
4
|
// src/pagination.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OPFDataImportError, parseTabularData } from './chunk-TKQ2VFV5.js';
|
|
2
|
-
import { applyPatchWithInverse, validate, OPFValidationError } from './chunk-
|
|
2
|
+
import { applyPatchWithInverse, validate, OPFValidationError } from './chunk-IVPA6NG6.js';
|
|
3
3
|
import { embeddedCopy, checkCatalogsOption, catalogReferenceSites, parseReference, catalogGroupDeclared, resolveReference, dottedPath, unresolvedReference, recordReferenceSites, catalogGroupSource, registeredCatalog, catalogKinds, CATALOG_GROUP_PATTERN, isRecord, visitContentPayloads, annotationText, listVariables, resolveVariables, LOGO_SHAPES, resolveDesignRecords, resolveFontFamilies, resolveCanvasDimensions, imageBackground } from './chunk-XRMV2GMB.js';
|
|
4
4
|
|
|
5
5
|
// src/api-errors.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SOURCE_EXPLAIN, ruleDocumentation, findValidationRule, us } from './chunk-
|
|
1
|
+
import { SOURCE_EXPLAIN, ruleDocumentation, findValidationRule, us } from './chunk-IVPA6NG6.js';
|
|
2
2
|
|
|
3
3
|
// src/finding-text-explain-util.ts
|
|
4
4
|
var ex = (fix, problem, fixed) => ({ fix, problem, fixed });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { fromMarkdown, toMarkdown } from './chunk-
|
|
2
|
-
import { fromYaml, toYaml } from './chunk-
|
|
1
|
+
import { fromMarkdown, toMarkdown } from './chunk-3S2XVDPN.js';
|
|
2
|
+
import { fromYaml, toYaml } from './chunk-VZBFQLCA.js';
|
|
3
3
|
import { NOT_CHECKED } from './chunk-RYZPBJLB.js';
|
|
4
|
-
import { parseSource, validate, OPFValidationError } from './chunk-
|
|
4
|
+
import { parseSource, validate, OPFValidationError } from './chunk-IVPA6NG6.js';
|
|
5
5
|
import { checkCatalogsOption } from './chunk-XRMV2GMB.js';
|
|
6
6
|
|
|
7
7
|
// src/deck-report.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen } from './chunk-
|
|
2
|
-
import { Ctx, splitLines, lineRange, readYamlMapping, readCsv, DECIMAL } from './chunk-
|
|
3
|
-
import { runText, isRecord, FORMATTING } from './chunk-
|
|
4
|
-
import { METRIC_KEYS, nearest, BLOCK_AS_VALUES, SLIDE_OPTION_KEYS, BLOCK_OPTION_KEYS } from './chunk-
|
|
1
|
+
import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen } from './chunk-PHP45MO7.js';
|
|
2
|
+
import { Ctx, splitLines, lineRange, readYamlMapping, readCsv, DECIMAL } from './chunk-Y4TZCE7R.js';
|
|
3
|
+
import { runText, isRecord, FORMATTING } from './chunk-Y25DYRME.js';
|
|
4
|
+
import { METRIC_KEYS, nearest, BLOCK_AS_VALUES, SLIDE_OPTION_KEYS, BLOCK_OPTION_KEYS } from './chunk-IVPA6NG6.js';
|
|
5
5
|
import { PROMOTED_REGION_KEY } from './chunk-XRMV2GMB.js';
|
|
6
6
|
|
|
7
7
|
// src/markdown/inline.ts
|