@openpresentation/opf 0.37.0 → 0.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +99 -0
- package/dist/browser.js +16 -16
- package/dist/{chunk-JTNCBTEH.js → chunk-434E2RWO.js} +1 -1
- package/dist/{chunk-3A3PNYNP.js → chunk-63Y75CCK.js} +1 -1
- package/dist/{chunk-HS2JQ3AO.js → chunk-BPILTZUJ.js} +1 -1
- package/dist/{chunk-C5ACMFKB.js → chunk-DDD4WUEH.js} +990 -24
- package/dist/{chunk-6WN6PRCI.js → chunk-DMV3G65U.js} +1 -1
- package/dist/{chunk-XJU2X5JM.js → chunk-EHYAVRL3.js} +1 -1
- package/dist/{chunk-BHRCWV6B.js → chunk-HBO64RWP.js} +4 -4
- package/dist/{chunk-4FA4ZABY.js → chunk-HOK3DZA6.js} +5 -5
- package/dist/{chunk-YESKKKVE.js → chunk-I4NQP7Z4.js} +1 -1
- package/dist/{chunk-CYGQY6HH.js → chunk-ITGR2RW2.js} +5 -5
- package/dist/{chunk-EOMENOKY.js → chunk-KB7TPZQI.js} +5 -5
- package/dist/{chunk-56BYOGIF.js → chunk-MNJ4JV7I.js} +1 -1
- package/dist/{chunk-YZ4WMB5C.js → chunk-PDBZN7EJ.js} +1 -1
- package/dist/{chunk-KANQVJGK.js → chunk-Q2L5ERNK.js} +4 -1
- package/dist/{chunk-44IS6ZU2.js → chunk-SIF5JDZC.js} +1 -1
- package/dist/{chunk-TIVBO56G.js → chunk-XY332BQP.js} +3 -3
- package/dist/{chunk-VD7WLE3C.js → chunk-ZB427MLO.js} +2 -2
- package/dist/{conversion-DF_HgknQ.d.ts → conversion-DBkC9Y2e.d.ts} +2 -2
- package/dist/conversion-P56LOOE2.js +25 -0
- package/dist/convert.js +6 -6
- package/dist/deck.js +10 -10
- package/dist/diff.js +3 -3
- package/dist/docs.js +2 -2
- package/dist/format.js +2 -2
- package/dist/ids.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -19
- package/dist/markdown.js +7 -7
- package/dist/node-engine.d.ts +2 -2
- package/dist/node-engine.js +18 -18
- package/dist/pagination.js +3 -3
- package/dist/patch.js +2 -2
- package/dist/precompiled.js +2 -2
- package/dist/schema-engine-ajv.js +1 -1
- package/dist/schema-engine-precompiled.js +2 -2
- package/dist/schema.js +2 -2
- package/dist/schemas.js +1 -1
- package/dist/source.js +9 -10
- package/dist/spec/schemas/font-scheme.schema.json +4 -1
- package/dist/types.d.ts +6 -1
- package/dist/validator.js +2 -2
- package/dist/yaml.js +6 -6
- package/package.json +7 -6
- package/dist/conversion-XIWN7FMW.js +0 -25
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
@openpresentation/opf is MIT (LICENSE). Its build includes parts of these packages, which are therefore not installed beside it. Each notice is the package's own license file.
|
|
4
|
+
|
|
5
|
+
## jsonc-parser
|
|
6
|
+
|
|
7
|
+
- Package: [jsonc-parser](https://www.npmjs.com/package/jsonc-parser) 3.3.1
|
|
8
|
+
- Homepage: https://github.com/microsoft/node-jsonc-parser
|
|
9
|
+
- License: MIT
|
|
10
|
+
- Copyright (c) Microsoft
|
|
11
|
+
- Included: the parser, scanner and string interning behind the source locator and the source checks (dist/source.js and the validator chunk)
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
The MIT License (MIT)
|
|
15
|
+
|
|
16
|
+
Copyright (c) Microsoft
|
|
17
|
+
|
|
18
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
19
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
20
|
+
in the Software without restriction, including without limitation the rights
|
|
21
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
22
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
23
|
+
furnished to do so, subject to the following conditions:
|
|
24
|
+
|
|
25
|
+
The above copyright notice and this permission notice shall be included in all
|
|
26
|
+
copies or substantial portions of the Software.
|
|
27
|
+
|
|
28
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
29
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
30
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
31
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
32
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
33
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
34
|
+
SOFTWARE.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## ajv
|
|
38
|
+
|
|
39
|
+
- Package: [ajv](https://www.npmjs.com/package/ajv) 8.20.0
|
|
40
|
+
- Homepage: https://ajv.js.org
|
|
41
|
+
- License: MIT
|
|
42
|
+
- Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
43
|
+
- Included: two runtime helpers of the precompiled validators (ajv/dist/runtime/*)
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
The MIT License (MIT)
|
|
47
|
+
|
|
48
|
+
Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
49
|
+
|
|
50
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
51
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
52
|
+
in the Software without restriction, including without limitation the rights
|
|
53
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
54
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
55
|
+
furnished to do so, subject to the following conditions:
|
|
56
|
+
|
|
57
|
+
The above copyright notice and this permission notice shall be included in all
|
|
58
|
+
copies or substantial portions of the Software.
|
|
59
|
+
|
|
60
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
61
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
62
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
63
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
64
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
65
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
66
|
+
SOFTWARE.
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## ajv-formats
|
|
70
|
+
|
|
71
|
+
- Package: [ajv-formats](https://www.npmjs.com/package/ajv-formats) 3.0.1
|
|
72
|
+
- Homepage: https://github.com/ajv-validator/ajv-formats
|
|
73
|
+
- License: MIT
|
|
74
|
+
- Copyright (c) 2020 Evgeny Poberezkin
|
|
75
|
+
- Included: the format checks of the precompiled validators (ajv-formats/dist/formats)
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
MIT License
|
|
79
|
+
|
|
80
|
+
Copyright (c) 2020 Evgeny Poberezkin
|
|
81
|
+
|
|
82
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
83
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
84
|
+
in the Software without restriction, including without limitation the rights
|
|
85
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
86
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
87
|
+
furnished to do so, subject to the following conditions:
|
|
88
|
+
|
|
89
|
+
The above copyright notice and this permission notice shall be included in all
|
|
90
|
+
copies or substantial portions of the Software.
|
|
91
|
+
|
|
92
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
93
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
94
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
95
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
96
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
97
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
98
|
+
SOFTWARE.
|
|
99
|
+
```
|
package/dist/browser.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { OPFApiError } from './chunk-
|
|
2
|
-
export { DEFAULT_FIX_ROUNDS, FIX_REPAIR_CATEGORIES, OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, embedArrowPoints, embedCardLayout, fill, fillRecords, fix, isSafePatch, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-
|
|
1
|
+
import { OPFApiError } from './chunk-BPILTZUJ.js';
|
|
2
|
+
export { DEFAULT_FIX_ROUNDS, FIX_REPAIR_CATEGORIES, OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, embedArrowPoints, embedCardLayout, fill, fillRecords, fix, isSafePatch, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-BPILTZUJ.js';
|
|
3
3
|
export { specFileEntries, specFileKinds, specFilePaths } from './chunk-W4DYDRV2.js';
|
|
4
4
|
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-QQBOI5XI.js';
|
|
5
5
|
export { OPFDataImportError, declareColumns, inferColumnDeclaration, ingest, parseTabularData, storeCell, updateMetricLiterals } from './chunk-ORVMHVOS.js';
|
|
6
|
-
export { OPFPaginationError, blockUnits, continuationPages, continueOverfull, paginate, paginateSlide } from './chunk-
|
|
7
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
8
|
-
export { fromMarkdown, toMarkdown } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
export { OPFFormatError, format } from './chunk-
|
|
6
|
+
export { OPFPaginationError, blockUnits, continuationPages, continueOverfull, paginate, paginateSlide } from './chunk-PDBZN7EJ.js';
|
|
7
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-XY332BQP.js';
|
|
8
|
+
export { fromMarkdown, toMarkdown } from './chunk-ITGR2RW2.js';
|
|
9
|
+
import './chunk-HOK3DZA6.js';
|
|
10
|
+
export { OPFFormatError, format } from './chunk-DMV3G65U.js';
|
|
11
11
|
import './chunk-RYZPBJLB.js';
|
|
12
|
-
export { explain } from './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
export { OPFMarkdownError } from './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
export { OPFIdError, assignIds, touches } from './chunk-
|
|
18
|
-
export { diff, merge } from './chunk-
|
|
19
|
-
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogIconKinds, catalogSchemaNames, collectSlideLinks, createValidator, credentialInSrc, documentHash, findValidationRule, idToken, isIdToken, parseInstant, renameRecordKeys, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, slideLink, slideLinkId, toIdPatch, toIdPointer, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-
|
|
12
|
+
export { explain } from './chunk-SIF5JDZC.js';
|
|
13
|
+
import './chunk-HBO64RWP.js';
|
|
14
|
+
import './chunk-MNJ4JV7I.js';
|
|
15
|
+
export { OPFMarkdownError } from './chunk-ZB427MLO.js';
|
|
16
|
+
import './chunk-EHYAVRL3.js';
|
|
17
|
+
export { OPFIdError, assignIds, touches } from './chunk-63Y75CCK.js';
|
|
18
|
+
export { diff, merge } from './chunk-434E2RWO.js';
|
|
19
|
+
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogIconKinds, catalogSchemaNames, collectSlideLinks, createValidator, credentialInSrc, documentHash, findValidationRule, idToken, isIdToken, parseInstant, renameRecordKeys, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, slideLink, slideLinkId, toIdPatch, toIdPointer, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-DDD4WUEH.js';
|
|
20
20
|
import './chunk-JBARNYFR.js';
|
|
21
|
-
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-
|
|
21
|
+
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-Q2L5ERNK.js';
|
|
22
22
|
export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, EMBED_DEFAULT_ASPECT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SCHEME_COLOR_NAMES, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, asciiDigits, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, cellMatchesType, chartDrawDiagnostics, chartDrawPlan, chartNumber, coerceVariableValue, dataProvenance, dataSourcesOf, datasetColumnDeclaration, datasetDiagnostics, dateNamesOf, diagramsPending, embedAspect, embedIcons, embedSite, embedTitle, embedValue, ensureDiagrams, ensureIcons, ensureShapes, formatDataNumber, formatNumber, formatPercentNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, iconsPending, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isPlaceLabel, isSupportedNumberingSystem, isTemplate, isXYChartType, languageInEffect, listBuiltinVariables, listVariables, localizeDigits, longDatePattern, markLabelColor, mixOklab, nearIconNames, normalizeScriptGroup, numberFormatError, numberLocale, numberingSystemExtension, numberingSystemOf, numeralScripts, oklabToSrgb, parseIconReference, parseReference, pickTranslation, pinTableColorScale, plainLanguageTag, resolveChartData, resolveDataSource, resolveDesignRecords, resolveFontScheme, resolveIcon, resolveMetric, resolveReference, resolveSlideVariables, resolveTableColorScale, resolveTableData, resolveVariables, rowCells, rowId, shapesPending, srgbToOklab, suggestCellTypeFix, suggestChartNumberFix, supportedNumberingSystems, tableCellDisplayValue, tableColorScaleDiagnostics, tableColorScaleOf, tableColorScaleText, tableRows, toExcelNumberFormat, translationAt, translationLanguageAt, unresolvedReference, unusedDatasets, variableDeclarations, visibleLength } from './chunk-QFT4R2IL.js';
|
|
23
23
|
import './chunk-BLCDUM7B.js';
|
|
24
24
|
import './chunk-PRXZD2II.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { applyPatch, normalizePatch, walkPatch, toIdPointer, resolveIdPointer, parsePointer, readPointer, idToken, formatPointer, isIdToken } from './chunk-
|
|
1
|
+
import { applyPatch, normalizePatch, walkPatch, toIdPointer, resolveIdPointer, parsePointer, readPointer, idToken, formatPointer, isIdToken } from './chunk-DDD4WUEH.js';
|
|
2
2
|
import { isRecord, visitContentPayloads, visitPayloadItems, entryId } from './chunk-QFT4R2IL.js';
|
|
3
3
|
|
|
4
4
|
// src/ids.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OPFDataImportError, parseTabularData, updateMetricLiterals } from './chunk-ORVMHVOS.js';
|
|
2
|
-
import { refreshStaleLayouts, applyPatchWithInverse, validate, OPFValidationError, createValidator, documentHash, applyPatch, OPFPatchError, parsePointer } from './chunk-
|
|
2
|
+
import { refreshStaleLayouts, applyPatchWithInverse, validate, OPFValidationError, createValidator, documentHash, applyPatch, OPFPatchError, parsePointer } from './chunk-DDD4WUEH.js';
|
|
3
3
|
import { embeddedCopy, checkCatalogsOption, catalogReferenceSites, parseReference, catalogGroupDeclared, resolveReference, dottedPath, unresolvedReference, recordReferenceSites, catalogGroupSource, registeredCatalog, catalogKinds, CATALOG_GROUP_PATTERN, isRecord, visitContentPayloads, cellBlocks, annotationText, listVariables, resolveTextStyle, textWidthMeasurer, resolveVariables, snapFontSizeDown, LOGO_SHAPES, embedValue, tableRows, resolveDesignRecords, resolveFontFamilies, resolveCanvasDimensions, fitText, imageBackground } from './chunk-QFT4R2IL.js';
|
|
4
4
|
|
|
5
5
|
// src/api-errors.ts
|