@ai-matrx/office 0.8.51 → 0.8.53
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/CHANGELOG.md +23 -1
- package/dist/pdf-model.d.cts +4 -1
- package/dist/pdf-model.d.ts +4 -1
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.cjs.map +1 -1
- package/dist/pdf.d.cts +4 -1
- package/dist/pdf.d.ts +4 -1
- package/dist/pdf.js +1 -1
- package/dist/pdf.js.map +1 -1
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.8.
|
|
3
|
+
## 0.8.53
|
|
4
4
|
|
|
5
5
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/office/src`.
|
|
7
7
|
|
|
8
|
+
## 0.8.52
|
|
9
|
+
|
|
10
|
+
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff bc6abc5d4e 1847f8934e -- apps/shared/office/src`
|
|
11
|
+
has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
|
|
12
|
+
|
|
13
|
+
## 0.8.51
|
|
14
|
+
|
|
15
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
16
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
17
|
+
Diff: `git diff 973cc3e9a3 bc6abc5d4e -- apps/shared/office/src`
|
|
18
|
+
|
|
19
|
+
Changed shipped source files (9):
|
|
20
|
+
- `apps/shared/office/src/pdf/PdfWorkspace.tsx`
|
|
21
|
+
- `apps/shared/office/src/pdf/markup-engine-port.ts`
|
|
22
|
+
- `apps/shared/office/src/pdf/markup-panel.tsx`
|
|
23
|
+
- `apps/shared/office/src/pdf/markup.ts`
|
|
24
|
+
- `apps/shared/office/src/pdf/model.ts`
|
|
25
|
+
- `apps/shared/office/src/pdf/ports.ts`
|
|
26
|
+
- `apps/shared/office/src/pdf/shortcuts.ts`
|
|
27
|
+
- `apps/shared/office/src/pdf/tool-icons.tsx`
|
|
28
|
+
- `apps/shared/office/src/pdf/tools.ts`
|
|
29
|
+
|
|
8
30
|
## 0.8.50
|
|
9
31
|
|
|
10
32
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
package/dist/pdf-model.d.cts
CHANGED
|
@@ -328,8 +328,11 @@ type PdfRunRequest = {
|
|
|
328
328
|
} | {
|
|
329
329
|
tool: "compress";
|
|
330
330
|
level: 1 | 2 | 3 | 4 | 5;
|
|
331
|
-
}
|
|
331
|
+
}
|
|
332
|
+
/** `pages`: the 1-based pages the person asked for in the Pages field (the host must read only these). */
|
|
333
|
+
| {
|
|
332
334
|
tool: "extract-text";
|
|
335
|
+
pages: number[];
|
|
333
336
|
} | {
|
|
334
337
|
tool: "extract-tables";
|
|
335
338
|
pages: number[];
|
package/dist/pdf-model.d.ts
CHANGED
|
@@ -328,8 +328,11 @@ type PdfRunRequest = {
|
|
|
328
328
|
} | {
|
|
329
329
|
tool: "compress";
|
|
330
330
|
level: 1 | 2 | 3 | 4 | 5;
|
|
331
|
-
}
|
|
331
|
+
}
|
|
332
|
+
/** `pages`: the 1-based pages the person asked for in the Pages field (the host must read only these). */
|
|
333
|
+
| {
|
|
332
334
|
tool: "extract-text";
|
|
335
|
+
pages: number[];
|
|
333
336
|
} | {
|
|
334
337
|
tool: "extract-tables";
|
|
335
338
|
pages: number[];
|
package/dist/pdf.cjs
CHANGED
|
@@ -411,7 +411,7 @@ function ToolPanel(p) {
|
|
|
411
411
|
body = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
412
412
|
rangeField,
|
|
413
413
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "grid grid-cols-2 gap-2", children: [
|
|
414
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_controls2.Button, { variant: "outline", disabled: p.busy || !p.online, onClick: () => p.onRun({ tool: "extract-text" }), children: "Get text" }),
|
|
414
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_controls2.Button, { variant: "outline", disabled: p.busy || !p.online || !parsed.valid, onClick: () => p.onRun({ tool: "extract-text", pages: parsed.pages }), children: "Get text" }),
|
|
415
415
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_controls2.Button, { variant: "outline", disabled: p.busy || !p.online || !parsed.valid, onClick: () => p.onRun({ tool: "extract-tables", pages: parsed.pages }), children: "Get tables" })
|
|
416
416
|
] })
|
|
417
417
|
] });
|