@arbidocs/blocks 0.4.106 → 0.4.108
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/bin/arbidocs-render-take.mjs +27 -0
- package/dist/NativeDocxEditor-UAZUKZ77.js +10 -0
- package/dist/NativeDocxEditor-UAZUKZ77.js.map +1 -0
- package/dist/NativeDocxEditor-YX7B7OFH.cjs +31 -0
- package/dist/NativeDocxEditor-YX7B7OFH.cjs.map +1 -0
- package/dist/{chunk-W2RTZOK3.js → chunk-A2MN2ZLX.js} +1750 -1779
- package/dist/chunk-A2MN2ZLX.js.map +1 -0
- package/dist/{chunk-3R6XBYL7.cjs → chunk-DTBSGG36.cjs} +7 -2
- package/dist/chunk-DTBSGG36.cjs.map +1 -0
- package/dist/{chunk-4GFB5U3K.js → chunk-EGDWNEAG.js} +4 -3
- package/dist/chunk-EGDWNEAG.js.map +1 -0
- package/dist/chunk-GYAUJ4KT.js +71 -0
- package/dist/chunk-GYAUJ4KT.js.map +1 -0
- package/dist/{chunk-PIT2YZCK.js → chunk-JQVPGMLU.js} +3 -3
- package/dist/{chunk-PIT2YZCK.js.map → chunk-JQVPGMLU.js.map} +1 -1
- package/dist/{chunk-LGX6UFYG.js → chunk-P2KPDPFF.js} +8 -3
- package/dist/chunk-P2KPDPFF.js.map +1 -0
- package/dist/{chunk-ZWWN4CUL.cjs → chunk-QT6EGMAJ.cjs} +1748 -1778
- package/dist/chunk-QT6EGMAJ.cjs.map +1 -0
- package/dist/chunk-S24XEVPS.cjs +73 -0
- package/dist/chunk-S24XEVPS.cjs.map +1 -0
- package/dist/{chunk-TP3FAP5J.cjs → chunk-TTXK62YI.cjs} +5 -5
- package/dist/{chunk-TP3FAP5J.cjs.map → chunk-TTXK62YI.cjs.map} +1 -1
- package/dist/{chunk-7LLLQUM7.cjs → chunk-ZYSY4L5L.cjs} +6 -5
- package/dist/chunk-ZYSY4L5L.cjs.map +1 -0
- package/dist/collaboration/index.cjs +15 -15
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration/mail/MailMessageView.d.ts +3 -1
- package/dist/connect/docx.cjs +7 -6
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/docx.js +5 -4
- package/dist/connect/docx.js.map +1 -1
- package/dist/connect/index.cjs +368 -52
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +356 -41
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/mail/ConnectedMailComposer.d.ts +12 -2
- package/dist/connection/mail/ConnectedMailMessage.d.ts +19 -0
- package/dist/connection/mail/ConnectedMailbox.d.ts +7 -3
- package/dist/connection/mail/MailComposerForm.d.ts +12 -2
- package/dist/connection/mail/index.d.ts +2 -1
- package/dist/connection/mail/types.d.ts +15 -0
- package/dist/connection/mail/useWordBody.d.ts +48 -0
- package/dist/docx/NativeDocxEditor.d.ts +9 -1
- package/dist/docx/index.cjs +51 -50
- package/dist/docx/index.cjs.map +1 -1
- package/dist/docx/index.js +4 -3
- package/dist/docx/index.js.map +1 -1
- package/dist/docx/template/HouseTemplate.d.ts +5 -0
- package/dist/index.cjs +15 -15
- package/dist/index.js +1 -1
- package/dist/record/index.cjs +307 -66
- package/dist/record/index.cjs.map +1 -1
- package/dist/record/index.d.ts +145 -26
- package/dist/record/index.js +301 -67
- package/dist/record/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +8 -5
- package/record/render-overlays.mjs +152 -0
- package/record/render-take.py +985 -0
- package/src/docx/styles.css +22 -0
- package/dist/chunk-3R6XBYL7.cjs.map +0 -1
- package/dist/chunk-4GFB5U3K.js.map +0 -1
- package/dist/chunk-7LLLQUM7.cjs.map +0 -1
- package/dist/chunk-LGX6UFYG.js.map +0 -1
- package/dist/chunk-W2RTZOK3.js.map +0 -1
- package/dist/chunk-ZWWN4CUL.cjs.map +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Render a take recorded with `@arbidocs/blocks/record` into the demo video: cut the long waits,
|
|
4
|
+
* zoom and pan onto the action, picture-in-picture for long typing, and the brand overlays.
|
|
5
|
+
*
|
|
6
|
+
* arbidocs-render-take <take.webm> <out.mp4> --waits <name>.waits.json --focus <name>.focus.json
|
|
7
|
+
* [--max-zoom 1.8] [--no-zoom] [--no-pip] [--min 5] [--stills <dir>]
|
|
8
|
+
*
|
|
9
|
+
* Needs python3 with numpy and opencv-python, ffmpeg, and Playwright's Chromium (for the overlays).
|
|
10
|
+
* See record/render-take.py for the whole edit.
|
|
11
|
+
*/
|
|
12
|
+
import { spawnSync } from 'node:child_process'
|
|
13
|
+
import path from 'node:path'
|
|
14
|
+
import process from 'node:process'
|
|
15
|
+
import { fileURLToPath } from 'node:url'
|
|
16
|
+
|
|
17
|
+
const script = path.join(
|
|
18
|
+
path.dirname(fileURLToPath(import.meta.url)),
|
|
19
|
+
'..',
|
|
20
|
+
'record',
|
|
21
|
+
'render-take.py'
|
|
22
|
+
)
|
|
23
|
+
const { status, error } = spawnSync('python3', ['-I', script, ...process.argv.slice(2)], {
|
|
24
|
+
stdio: 'inherit',
|
|
25
|
+
})
|
|
26
|
+
if (error) throw error
|
|
27
|
+
process.exit(status ?? 1)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { DocxParticipants, DocxRibbon, NativeDocxEditor, contentPath } from './chunk-A2MN2ZLX.js';
|
|
3
|
+
import './chunk-HFZ45FD3.js';
|
|
4
|
+
import './chunk-EPHGD4YV.js';
|
|
5
|
+
import './chunk-AF6RDAJF.js';
|
|
6
|
+
import './chunk-AA3PT6KR.js';
|
|
7
|
+
import './chunk-7F6CBP3Z.js';
|
|
8
|
+
import './chunk-VUNV25KB.js';
|
|
9
|
+
//# sourceMappingURL=NativeDocxEditor-UAZUKZ77.js.map
|
|
10
|
+
//# sourceMappingURL=NativeDocxEditor-UAZUKZ77.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"NativeDocxEditor-UAZUKZ77.js"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkQT6EGMAJ_cjs = require('./chunk-QT6EGMAJ.cjs');
|
|
5
|
+
require('./chunk-5FYU7ZIU.cjs');
|
|
6
|
+
require('./chunk-2A4MDHJR.cjs');
|
|
7
|
+
require('./chunk-RC25WMVB.cjs');
|
|
8
|
+
require('./chunk-7UTB4PHM.cjs');
|
|
9
|
+
require('./chunk-MHVNT4J3.cjs');
|
|
10
|
+
require('./chunk-DES3K4SD.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "DocxParticipants", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkQT6EGMAJ_cjs.DocxParticipants; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "DocxRibbon", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkQT6EGMAJ_cjs.DocxRibbon; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "NativeDocxEditor", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkQT6EGMAJ_cjs.NativeDocxEditor; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "contentPath", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkQT6EGMAJ_cjs.contentPath; }
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=NativeDocxEditor-YX7B7OFH.cjs.map
|
|
31
|
+
//# sourceMappingURL=NativeDocxEditor-YX7B7OFH.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"NativeDocxEditor-YX7B7OFH.cjs"}
|