@evotecit/officeimo 0.1.9 → 0.1.19

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.
@@ -12449,7 +12449,7 @@ const { cleanXml } = _m28;
12449
12449
  function canopyAbout(request, options) {
12450
12450
  const result = [["revision", request.revision], ["recordCount", request.recordCount === null ? "unknown" : request.recordCount]];
12451
12451
  if (request.scope !== undefined) {
12452
- if (!["filtered", "selected", "all"].includes(request.scope))
12452
+ if (!["filtered", "visible", "selected", "all"].includes(request.scope))
12453
12453
  throw new TypeError("Invalid Canopy export scope.");
12454
12454
  result.push(["scope", request.scope]);
12455
12455
  }
@@ -4,7 +4,7 @@ import { cleanXml } from "../../xml/index.js";
4
4
  export function canopyAbout(request, options) {
5
5
  const result = [["revision", request.revision], ["recordCount", request.recordCount === null ? "unknown" : request.recordCount]];
6
6
  if (request.scope !== undefined) {
7
- if (!["filtered", "selected", "all"].includes(request.scope))
7
+ if (!["filtered", "visible", "selected", "all"].includes(request.scope))
8
8
  throw new TypeError("Invalid Canopy export scope.");
9
9
  result.push(["scope", request.scope]);
10
10
  }
@@ -150,7 +150,8 @@ export interface CanopyCapture {
150
150
  readonly presentation: "text" | "semantic";
151
151
  readonly timeZone: "utc" | "local";
152
152
  readonly revision: string;
153
- readonly scope?: "filtered" | "selected" | "all";
153
+ /** `visible` is the rows a tree shows, with collapsed branches left out. */
154
+ readonly scope?: "filtered" | "visible" | "selected" | "all";
154
155
  readonly total?: number | null;
155
156
  readonly matched?: number | null;
156
157
  readonly selection?: readonly string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evotecit/officeimo",
3
- "version": "0.1.9",
3
+ "version": "0.1.19",
4
4
  "description": "Dependency-free OfficeIMO document libraries for browsers, workers and Node.",
5
5
  "type": "module",
6
6
  "license": "MIT",