@openpresentation/opf 0.34.1 → 0.35.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 +6 -6
- package/dist/browser.js +19 -19
- package/dist/{catalog-refs-CoIrOdAw.d.ts → catalog-refs-BgotJhR5.d.ts} +117 -98
- package/dist/{catalog-schemas-FjLRPtjB.d.ts → catalog-schemas-BX-VEc5Q.d.ts} +1 -1
- package/dist/{chunk-MUILZGRY.js → chunk-2GCTKQDD.js} +4 -4
- package/dist/{chunk-LCT5ZV3Q.js → chunk-3KPTVK77.js} +92 -284
- package/dist/{chunk-SR6T4LKI.js → chunk-3ZTKRX7F.js} +4 -6
- package/dist/{chunk-MAFJ5O2D.js → chunk-4UMZDDJG.js} +11 -29
- package/dist/{chunk-NLJFNCZ4.js → chunk-6JHV2K67.js} +6 -6
- package/dist/{chunk-FK5XG742.js → chunk-6VGLE7C5.js} +114 -2
- package/dist/{chunk-AAWHOCXS.js → chunk-7KUUIL7W.js} +8 -8
- package/dist/{chunk-FCSYIBVR.js → chunk-ARPMSD7V.js} +1 -1
- package/dist/{chunk-244OPLAV.js → chunk-GGN3NQDK.js} +1 -1
- package/dist/{chunk-L3MCLD3X.js → chunk-GKUAVSXU.js} +3 -10
- package/dist/{chunk-6PMXVP5G.js → chunk-HORPH6O7.js} +202 -21
- package/dist/{chunk-XLSWZSQS.js → chunk-JQNT37IO.js} +4 -13
- package/dist/{chunk-AEHDXNZX.js → chunk-KNMMEE67.js} +1433 -916
- package/dist/{chunk-CJVKOJ6B.js → chunk-LDLLZQPP.js} +1094 -472
- package/dist/{chunk-HHVQ2SDT.js → chunk-MS2LPR7F.js} +1 -5
- package/dist/{chunk-AGYPRTEC.js → chunk-MVPQEMCP.js} +97 -15
- package/dist/{chunk-2B6GLT2O.js → chunk-NPRNWPP4.js} +1 -1
- package/dist/{chunk-X72WPTST.js → chunk-P2ACZJUL.js} +6 -6
- package/dist/chunk-SEC4IOOS.js +1 -0
- package/dist/{chunk-CQXBGZQP.js → chunk-VMPOCXTE.js} +5 -17
- package/dist/{chunk-ABA2D6X5.js → chunk-ZZWX4W2G.js} +2 -2
- package/dist/{composition-CvtvgBDE.d.ts → composition-BmJfljJl.d.ts} +345 -242
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +1 -1
- package/dist/{conversion-CyNRlWGw.d.ts → conversion-BbXhlurO.d.ts} +10 -8
- package/dist/conversion-VWCH3NKR.js +25 -0
- package/dist/convert.d.ts +11 -11
- package/dist/convert.js +61 -86
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/{deck-report-BVlQZ42f.d.ts → deck-report-BYkbL7uT.d.ts} +3 -3
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +11 -11
- package/dist/diagram-engine-eager.js +1 -1
- package/dist/diagram-engine-lazy.js +1 -1
- package/dist/{diagram-plantuml-XRZ6VAOL.js → diagram-plantuml-GWXGKY7R.js} +1 -1
- package/dist/diff.d.ts +2 -2
- package/dist/diff.js +4 -4
- package/dist/docs.js +40 -40
- package/dist/example-files/technical/assets/alice.png +0 -0
- package/dist/example-files/technical/assets/context-photo.png +0 -0
- package/dist/example-files/technical/assets/cover-image.png +0 -0
- package/dist/example-files/technical/assets/cover.png +0 -0
- package/dist/example-files/technical/assets/diagram.svg +1 -0
- package/dist/example-files/technical/assets/icon.svg +1 -0
- package/dist/example-files/technical/assets/logo-dark.svg +1 -0
- package/dist/example-files/technical/assets/logo-light.svg +1 -0
- package/dist/example-files/technical/assets/logo.svg +1 -0
- package/dist/example-files/technical/assets/primary-logo.svg +1 -0
- package/dist/example-files/technical/assets/product-shot.png +0 -0
- package/dist/example-files/technical/assets/watermark.png +0 -0
- package/dist/example-files/technical/assets/wordmark.svg +1 -0
- package/dist/examples.js +6383 -8169
- package/dist/{finding-l9dlQ2NF.d.ts → finding-mcHslZLA.d.ts} +6 -2
- package/dist/font-policy.d.ts +16 -2
- package/dist/font-policy.js +1 -1
- package/dist/format.js +2 -2
- package/dist/ids.d.ts +2 -2
- package/dist/ids.js +4 -4
- package/dist/index.d.ts +125 -27
- package/dist/index.js +24 -23
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +8 -8
- package/dist/node-engine.d.ts +22 -8
- package/dist/node-engine.js +38 -22
- package/dist/{pagination-CZQQYk7L.d.ts → pagination-C0FPjO29.d.ts} +4 -4
- package/dist/pagination.d.ts +3 -3
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +4 -4
- package/dist/patch.js +3 -3
- package/dist/precompiled.js +2 -2
- package/dist/{presentation-s9262acV.d.ts → presentation-Dx-kZC8Y.d.ts} +33 -81
- 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.d.ts +5 -7
- package/dist/schema.js +3 -3
- package/dist/schemas.js +1 -1
- package/dist/source.d.ts +5 -0
- package/dist/source.js +10 -10
- package/dist/spec/reference/engine-defaults.json +1 -1
- package/dist/spec/reference/engine-vocabularies.json +43 -43
- package/dist/spec/reference/font-policy.json +114 -2
- package/dist/spec/reference/font-policy.schema.json +45 -1
- package/dist/spec/schemas/color-scheme.schema.json +2 -2
- package/dist/spec/schemas/finding.schema.json +2 -1
- package/dist/spec/schemas/icon-set.schema.json +5 -0
- package/dist/spec/schemas/layout.schema.json +27 -85
- package/dist/spec/schemas/opf.schema.json +35 -176
- package/dist/spec/schemas/theme.schema.json +10 -10
- package/dist/symbol-font-encodings.d.ts +2 -2
- package/dist/symbol-font-encodings.js +12695 -12736
- package/dist/types.d.ts +74 -86
- package/dist/{validation-types-CYbsUuZ9.d.ts → validation-types-DKIe1RQW.d.ts} +5 -5
- package/dist/validator.d.ts +5 -7
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +1 -1
- package/dist/yaml.js +7 -7
- package/package.json +7 -7
- package/dist/chunk-UJZN2ZH6.js +0 -1
- package/dist/conversion-CSQ5EHD2.js +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Catalog } from './catalog-refs-
|
|
2
|
-
import { P as Presentation } from './presentation-
|
|
3
|
-
import { V as ValidationReport, a as ValidateOptions } from './validation-types-
|
|
1
|
+
import { C as Catalog } from './catalog-refs-BgotJhR5.js';
|
|
2
|
+
import { P as Presentation } from './presentation-Dx-kZC8Y.js';
|
|
3
|
+
import { V as ValidationReport, a as ValidateOptions } from './validation-types-DKIe1RQW.js';
|
|
4
4
|
|
|
5
5
|
/** The serializations of a deck: `json` (canonical), `yaml` (`.opf.yaml`) and `markdown` (`.opf.md`). */
|
|
6
6
|
type DeckFormat = "json" | "yaml" | "markdown";
|
package/dist/deck.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as DeckFormat, P as ParseOptions } from './deck-report-
|
|
2
|
-
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-
|
|
1
|
+
import { D as DeckFormat, P as ParseOptions } from './deck-report-BYkbL7uT.js';
|
|
2
|
+
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-BYkbL7uT.js';
|
|
3
3
|
import { Presentation } from './index.js';
|
|
4
|
-
import './catalog-refs-
|
|
5
|
-
import './validation-types-
|
|
6
|
-
import './composition-
|
|
4
|
+
import './catalog-refs-BgotJhR5.js';
|
|
5
|
+
import './validation-types-DKIe1RQW.js';
|
|
6
|
+
import './composition-BmJfljJl.js';
|
|
7
7
|
import './chart-data-B_k-WTex.js';
|
|
8
8
|
import './shape-geometry.js';
|
|
9
|
-
import './finding-
|
|
9
|
+
import './finding-mcHslZLA.js';
|
|
10
10
|
import './json-BFSdESOE.js';
|
|
11
11
|
|
|
12
12
|
/**
|
package/dist/deck.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-2GCTKQDD.js';
|
|
2
|
+
import './chunk-4UMZDDJG.js';
|
|
3
|
+
import './chunk-P2ACZJUL.js';
|
|
4
|
+
import './chunk-MS2LPR7F.js';
|
|
5
5
|
import './chunk-RYZPBJLB.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
6
|
+
import './chunk-VMPOCXTE.js';
|
|
7
|
+
import './chunk-NPRNWPP4.js';
|
|
8
|
+
import './chunk-ZZWX4W2G.js';
|
|
9
|
+
import './chunk-ARPMSD7V.js';
|
|
10
|
+
import './chunk-KNMMEE67.js';
|
|
11
11
|
import './chunk-JBARNYFR.js';
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
12
|
+
import './chunk-3KPTVK77.js';
|
|
13
|
+
import './chunk-LDLLZQPP.js';
|
|
14
14
|
import './chunk-BLCDUM7B.js';
|
|
15
15
|
import './chunk-PRXZD2II.js';
|
|
@@ -5,7 +5,7 @@ var reader;
|
|
|
5
5
|
var loading;
|
|
6
6
|
var plantumlReader = () => reader;
|
|
7
7
|
function loadPlantumlReader() {
|
|
8
|
-
loading ??= import('./diagram-plantuml-
|
|
8
|
+
loading ??= import('./diagram-plantuml-GWXGKY7R.js').then((module) => {
|
|
9
9
|
reader = module.plantumlToMermaid;
|
|
10
10
|
return true;
|
|
11
11
|
});
|
package/dist/diff.d.ts
CHANGED
|
@@ -134,12 +134,12 @@ declare function categoryOf(tokens: readonly string[]): DiffCategory;
|
|
|
134
134
|
* Diff two OPF documents. Slides are matched by `id`, then by identical
|
|
135
135
|
* content, then by content similarity (`threshold`, default 0.5); the same
|
|
136
136
|
* rule matches blocks, list items and every other array element. The result
|
|
137
|
-
* lists
|
|
137
|
+
* lists categorized changes and a JSON Patch from `a` to `b`.
|
|
138
138
|
*/
|
|
139
139
|
declare function diff(a: unknown, b: unknown, options?: DiffOptions): PresentationDiff;
|
|
140
140
|
/** A short, single-line description of a value for reports. */
|
|
141
141
|
declare function describeValue(value: unknown): string;
|
|
142
|
-
/** Render a diff as a plain-text report (no
|
|
142
|
+
/** Render a diff as a plain-text report (no color, stable ordering). */
|
|
143
143
|
declare function formatDiffReport(diff: PresentationDiff): string;
|
|
144
144
|
|
|
145
145
|
export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity };
|
package/dist/diff.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-3ZTKRX7F.js';
|
|
2
|
+
import './chunk-KNMMEE67.js';
|
|
3
3
|
import './chunk-JBARNYFR.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-3KPTVK77.js';
|
|
5
|
+
import './chunk-LDLLZQPP.js';
|
|
6
6
|
import './chunk-BLCDUM7B.js';
|
|
7
7
|
import './chunk-PRXZD2II.js';
|