@bendyline/docblocks-react 2.7.3 → 2.7.5
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.txt +56 -25
- package/dist/{AiDiagrams-QE3LVYFK.js → AiDiagrams-5P657GFC.js} +3 -3
- package/dist/{AiEditorAssistant-YLJ5OZK2.js → AiEditorAssistant-V4MZRC6Q.js} +5 -5
- package/dist/{AiStudyDialog-4TQZZGU3.js → AiStudyDialog-GSCFTG3G.js} +2 -2
- package/dist/{AudioExportDialog-F23QXNPB.js → AudioExportDialog-IOYIEAER.js} +1 -1
- package/dist/{DocumentConflictDialog-5LRVIGXS.js → DocumentConflictDialog-DZ2BV2IH.js} +1 -1
- package/dist/ExportDialog-LGWBXIWN.js +9 -0
- package/dist/{ExportToolbarControls-A2YBKUUD.js → ExportToolbarControls-HOV424TO.js} +84 -13
- package/dist/{GitUI-RCWUZVS6.js → GitUI-F3CNBURE.js} +1 -1
- package/dist/{KeyboardShortcutsDialog-G5OBDTNR.js → KeyboardShortcutsDialog-HVKDFP5Z.js} +1 -1
- package/dist/{PresentationMaker-P2JP6UUX.js → PresentationMaker-H5B44Q7P.js} +3 -3
- package/dist/{QuickOpenDialog-2KK4SEBU.js → QuickOpenDialog-ENVFGIHS.js} +1 -1
- package/dist/{Settings-ByNImjk5.d.ts → Settings-CfhY489G.d.ts} +1 -1
- package/dist/{ShareDialog-XUA2OVGI.js → ShareDialog-PF7D7ORP.js} +1 -1
- package/dist/{SpeechToolbarControl-CLU7RB2G.js → SpeechToolbarControl-KNI2C4JJ.js} +1 -1
- package/dist/{TextFromNarration-NITJQ4IB.js → TextFromNarration-EYOMW2IW.js} +1 -1
- package/dist/{chunk-6PA7QBZT.js → chunk-7CSBRAMT.js} +20 -4
- package/dist/{chunk-YPIVCCTB.js → chunk-CUCWCZRO.js} +8 -14
- package/dist/{chunk-ZMCQO57Q.js → chunk-FBPCURCS.js} +8 -1
- package/dist/{chunk-Y5OE3HJC.js → chunk-GFK4TCKN.js} +11 -5
- package/dist/chunk-H3BK5MK6.js +34 -0
- package/dist/{chunk-3CE5RH2B.js → chunk-I4JURPYS.js} +2 -2
- package/dist/{chunk-6B7G33D5.js → chunk-KBUHWZCF.js} +1 -1
- package/dist/{chunk-EOU2JWAQ.js → chunk-USKX66SA.js} +91 -14
- package/dist/{chunk-56KO2LYN.js → chunk-VJPGZCFS.js} +4 -0
- package/dist/editor.js +3 -3
- package/dist/export/index.d.ts +9 -2
- package/dist/export/index.js +4 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +1292 -869
- package/dist/{run-export-OHRNT2TP.js → run-export-SPNNH32M.js} +1 -1
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +2 -2
- package/package.json +8 -8
- package/src/styles/docblocks.css +73 -14
- package/dist/ExportDialog-JRVZCG3J.js +0 -9
- package/dist/chunk-YBEYTVU2.js +0 -12
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -6,7 +6,7 @@ Run `npm run generate:notices` from the repository root.
|
|
|
6
6
|
Resolved runtime and optional dependency closure declared by packages/react/package.json. Peer dependencies are supplied by the consuming application and are not included.
|
|
7
7
|
|
|
8
8
|
Inventory source: package-lock.json.
|
|
9
|
-
Components:
|
|
9
|
+
Components: 382.
|
|
10
10
|
|
|
11
11
|
This notice is included in the published npm tarball. Transitive packages installed by npm also retain their package-local license files.
|
|
12
12
|
|
|
@@ -15,14 +15,15 @@ This notice is included in the published npm tarball. Transitive packages instal
|
|
|
15
15
|
| Package | Version | License | Source |
|
|
16
16
|
| --- | --- | --- | --- |
|
|
17
17
|
| @antfu/install-pkg | 2.1.0 | MIT | https://github.com/antfu-collective/install-pkg |
|
|
18
|
-
| @bendyline/squisq | 2.
|
|
18
|
+
| @bendyline/squisq | 2.13.0 | MIT | https://github.com/bendyline/squisq |
|
|
19
19
|
| @bendyline/squisq-calc | 2.11.2 | MIT | https://github.com/bendyline/squisq |
|
|
20
|
-
| @bendyline/squisq-editor-react | 2.
|
|
21
|
-
| @bendyline/squisq-formats | 2.
|
|
22
|
-
| @bendyline/squisq-
|
|
23
|
-
| @bendyline/squisq-react | 2.
|
|
24
|
-
| @bendyline/squisq-
|
|
25
|
-
| @bendyline/squisq-video
|
|
20
|
+
| @bendyline/squisq-editor-react | 2.13.1 | MIT | https://github.com/bendyline/squisq |
|
|
21
|
+
| @bendyline/squisq-formats | 2.8.1 | MIT | https://github.com/bendyline/squisq |
|
|
22
|
+
| @bendyline/squisq-graph | 2.13.0 | MIT | https://github.com/bendyline/squisq |
|
|
23
|
+
| @bendyline/squisq-grid-react | 2.11.29 | MIT | https://github.com/bendyline/squisq |
|
|
24
|
+
| @bendyline/squisq-react | 2.12.8 | MIT | https://github.com/bendyline/squisq |
|
|
25
|
+
| @bendyline/squisq-video | 2.4.6 | MIT | https://github.com/bendyline/squisq |
|
|
26
|
+
| @bendyline/squisq-video-react | 2.5.9 | MIT | https://github.com/bendyline/squisq |
|
|
26
27
|
| @braintree/sanitize-url | 7.1.2 | MIT | https://github.com/braintree/sanitize-url |
|
|
27
28
|
| @chevrotain/types | 11.1.2 | Apache-2.0 | https://github.com/Chevrotain/chevrotain |
|
|
28
29
|
| @ffmpeg/core | 0.12.10 | GPL-2.0-or-later | https://github.com/ffmpegwasm/ffmpeg.wasm |
|
|
@@ -437,8 +438,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
437
438
|
SOFTWARE.
|
|
438
439
|
|
|
439
440
|
==============================================================================
|
|
440
|
-
Components: @bendyline/squisq-calc@2.11.2, @bendyline/squisq-editor-react@2.
|
|
441
|
-
Source files: node_modules/@bendyline/squisq-calc/LICENSE, node_modules/@bendyline/squisq-editor-react/LICENSE, node_modules/@bendyline/squisq-formats/LICENSE, node_modules/@bendyline/squisq-grid-react/LICENSE, node_modules/@bendyline/squisq-react/LICENSE, node_modules/@bendyline/squisq-video-react/LICENSE, node_modules/@bendyline/squisq-video/LICENSE, node_modules/@bendyline/squisq/LICENSE
|
|
441
|
+
Components: @bendyline/squisq-calc@2.11.2, @bendyline/squisq-editor-react@2.13.1, @bendyline/squisq-formats@2.8.1, @bendyline/squisq-graph@2.13.0, @bendyline/squisq-grid-react@2.11.29, @bendyline/squisq-react@2.12.8, @bendyline/squisq-video-react@2.5.9, @bendyline/squisq-video@2.4.6, @bendyline/squisq@2.13.0
|
|
442
|
+
Source files: node_modules/@bendyline/squisq-calc/LICENSE, node_modules/@bendyline/squisq-editor-react/LICENSE, node_modules/@bendyline/squisq-formats/LICENSE, node_modules/@bendyline/squisq-graph/LICENSE, node_modules/@bendyline/squisq-grid-react/LICENSE, node_modules/@bendyline/squisq-react/LICENSE, node_modules/@bendyline/squisq-video-react/LICENSE, node_modules/@bendyline/squisq-video/LICENSE, node_modules/@bendyline/squisq/LICENSE
|
|
442
443
|
==============================================================================
|
|
443
444
|
MIT License
|
|
444
445
|
|
|
@@ -637,7 +638,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
637
638
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
638
639
|
|
|
639
640
|
==============================================================================
|
|
640
|
-
Components: @bendyline/squisq-editor-react@2.
|
|
641
|
+
Components: @bendyline/squisq-editor-react@2.13.1
|
|
641
642
|
Source files: node_modules/@bendyline/squisq-editor-react/NOTICE.md
|
|
642
643
|
==============================================================================
|
|
643
644
|
# Third-Party Notices for @bendyline/squisq-editor-react
|
|
@@ -686,7 +687,7 @@ Exact third-party license texts for the bundled adapter, loader, state helper,
|
|
|
686
687
|
and Font Awesome assets are shipped in THIRD_PARTY_LICENSES.txt.
|
|
687
688
|
|
|
688
689
|
==============================================================================
|
|
689
|
-
Components: @bendyline/squisq-editor-react@2.
|
|
690
|
+
Components: @bendyline/squisq-editor-react@2.13.1, @tiptap/core@2.27.3, @tiptap/extension-blockquote@2.27.3, @tiptap/extension-bold@2.27.3, @tiptap/extension-bubble-menu@2.27.3, @tiptap/extension-bullet-list@2.27.3, @tiptap/extension-code-block@2.27.3, @tiptap/extension-code@2.27.3, @tiptap/extension-document@2.27.3, @tiptap/extension-dropcursor@2.27.3, @tiptap/extension-floating-menu@2.27.3, @tiptap/extension-gapcursor@2.27.3, @tiptap/extension-hard-break@2.27.3, @tiptap/extension-heading@2.27.3, @tiptap/extension-history@2.27.3, @tiptap/extension-horizontal-rule@2.27.3, @tiptap/extension-image@2.27.3, @tiptap/extension-italic@2.27.3, @tiptap/extension-link@2.27.3, @tiptap/extension-list-item@2.27.3, @tiptap/extension-mention@2.27.3, @tiptap/extension-ordered-list@2.27.3, @tiptap/extension-paragraph@2.27.3, @tiptap/extension-placeholder@2.27.3, @tiptap/extension-strike@2.27.3, @tiptap/extension-table-cell@2.27.3, @tiptap/extension-table-header@2.27.3, @tiptap/extension-table-row@2.27.3, @tiptap/extension-table@2.27.3, @tiptap/extension-task-item@2.27.3, @tiptap/extension-task-list@2.27.3, @tiptap/extension-text-style@2.27.3, @tiptap/extension-text@2.27.3, @tiptap/pm@2.27.3, @tiptap/react@2.27.3, @tiptap/starter-kit@2.27.3, @tiptap/suggestion@2.27.3
|
|
690
691
|
Source files: node_modules/@bendyline/squisq-editor-react/THIRD_PARTY_LICENSES.txt
|
|
691
692
|
==============================================================================
|
|
692
693
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-editor-react
|
|
@@ -1627,7 +1628,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1627
1628
|
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
|
|
1628
1629
|
|
|
1629
1630
|
==============================================================================
|
|
1630
|
-
Components: @bendyline/squisq-formats@2.
|
|
1631
|
+
Components: @bendyline/squisq-formats@2.8.1
|
|
1631
1632
|
Source files: node_modules/@bendyline/squisq-formats/NOTICE.md
|
|
1632
1633
|
==============================================================================
|
|
1633
1634
|
# Third-Party Notices for @bendyline/squisq-formats
|
|
@@ -1653,7 +1654,7 @@ texts for these dependencies are included in their respective npm
|
|
|
1653
1654
|
distributions and source repositories.
|
|
1654
1655
|
|
|
1655
1656
|
==============================================================================
|
|
1656
|
-
Components: @bendyline/squisq-formats@2.
|
|
1657
|
+
Components: @bendyline/squisq-formats@2.8.1
|
|
1657
1658
|
Source files: node_modules/@bendyline/squisq-formats/THIRD_PARTY_LICENSES.txt
|
|
1658
1659
|
==============================================================================
|
|
1659
1660
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-formats
|
|
@@ -2027,7 +2028,37 @@ given a different name.
|
|
|
2027
2028
|
$Id$
|
|
2028
2029
|
|
|
2029
2030
|
==============================================================================
|
|
2030
|
-
Components: @bendyline/squisq-
|
|
2031
|
+
Components: @bendyline/squisq-graph@2.13.0
|
|
2032
|
+
Source files: node_modules/@bendyline/squisq-graph/NOTICE.md
|
|
2033
|
+
==============================================================================
|
|
2034
|
+
# Third-Party Notices for @bendyline/squisq-graph
|
|
2035
|
+
|
|
2036
|
+
This notice applies to the `@bendyline/squisq-graph` npm package.
|
|
2037
|
+
Squisq-authored code is licensed under the MIT license in `LICENSE`.
|
|
2038
|
+
Third-party components remain under their respective license terms.
|
|
2039
|
+
|
|
2040
|
+
## Runtime dependencies
|
|
2041
|
+
|
|
2042
|
+
| Package | Version | License | Repository |
|
|
2043
|
+
| ------- | ------- | ------- | ---------- |
|
|
2044
|
+
|
|
2045
|
+
This package has no third-party runtime dependencies. The layout engine and its
|
|
2046
|
+
worker entry are Squisq-authored (MIT).
|
|
2047
|
+
|
|
2048
|
+
==============================================================================
|
|
2049
|
+
Components: @bendyline/squisq-graph@2.13.0
|
|
2050
|
+
Source files: node_modules/@bendyline/squisq-graph/THIRD_PARTY_LICENSES.txt
|
|
2051
|
+
==============================================================================
|
|
2052
|
+
THIRD-PARTY LICENSES FOR @bendyline/squisq-graph
|
|
2053
|
+
|
|
2054
|
+
Generated from the actual esbuild input graph. Package-local license, copying,
|
|
2055
|
+
and notice files are reproduced verbatim. When an npm tarball omits its
|
|
2056
|
+
repository license, the pinned upstream copy is vendored and identified below.
|
|
2057
|
+
|
|
2058
|
+
COMPONENTS
|
|
2059
|
+
|
|
2060
|
+
==============================================================================
|
|
2061
|
+
Components: @bendyline/squisq-grid-react@2.11.29
|
|
2031
2062
|
Source files: node_modules/@bendyline/squisq-grid-react/NOTICE.md
|
|
2032
2063
|
==============================================================================
|
|
2033
2064
|
# Third-Party Notices for @bendyline/squisq-grid-react
|
|
@@ -2048,7 +2079,7 @@ Copyright and complete license texts for these dependencies are included in
|
|
|
2048
2079
|
their respective npm distributions and source repositories.
|
|
2049
2080
|
|
|
2050
2081
|
==============================================================================
|
|
2051
|
-
Components: @bendyline/squisq-grid-react@2.11.
|
|
2082
|
+
Components: @bendyline/squisq-grid-react@2.11.29
|
|
2052
2083
|
Source files: node_modules/@bendyline/squisq-grid-react/THIRD_PARTY_LICENSES.txt
|
|
2053
2084
|
==============================================================================
|
|
2054
2085
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-grid-react
|
|
@@ -2060,7 +2091,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
2060
2091
|
COMPONENTS
|
|
2061
2092
|
|
|
2062
2093
|
==============================================================================
|
|
2063
|
-
Components: @bendyline/squisq-react@2.12.
|
|
2094
|
+
Components: @bendyline/squisq-react@2.12.8
|
|
2064
2095
|
Source files: node_modules/@bendyline/squisq-react/NOTICE.md
|
|
2065
2096
|
==============================================================================
|
|
2066
2097
|
# Third-Party Notices for @bendyline/squisq-react
|
|
@@ -2085,7 +2116,7 @@ third-party license texts for the complete standalone bundle graph are shipped
|
|
|
2085
2116
|
in THIRD_PARTY_LICENSES.txt.
|
|
2086
2117
|
|
|
2087
2118
|
==============================================================================
|
|
2088
|
-
Components: @bendyline/squisq-react@2.12.
|
|
2119
|
+
Components: @bendyline/squisq-react@2.12.8
|
|
2089
2120
|
Source files: node_modules/@bendyline/squisq-react/THIRD_PARTY_LICENSES.txt
|
|
2090
2121
|
==============================================================================
|
|
2091
2122
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-react
|
|
@@ -6572,7 +6603,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
6572
6603
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
6573
6604
|
|
|
6574
6605
|
==============================================================================
|
|
6575
|
-
Components: @bendyline/squisq-video-react@2.5.
|
|
6606
|
+
Components: @bendyline/squisq-video-react@2.5.9
|
|
6576
6607
|
Source files: node_modules/@bendyline/squisq-video-react/COPYING.GPL-2.0.txt
|
|
6577
6608
|
==============================================================================
|
|
6578
6609
|
GNU GENERAL PUBLIC LICENSE
|
|
@@ -6915,7 +6946,7 @@ library. If this is what you want to do, use the GNU Lesser General
|
|
|
6915
6946
|
Public License instead of this License.
|
|
6916
6947
|
|
|
6917
6948
|
==============================================================================
|
|
6918
|
-
Components: @bendyline/squisq-video-react@2.5.
|
|
6949
|
+
Components: @bendyline/squisq-video-react@2.5.9
|
|
6919
6950
|
Source files: node_modules/@bendyline/squisq-video-react/NOTICE.md
|
|
6920
6951
|
==============================================================================
|
|
6921
6952
|
# Third-Party Notices for @bendyline/squisq-video-react
|
|
@@ -6971,7 +7002,7 @@ at the version listed above and from https://github.com/Vanilagy/mediabunny.
|
|
|
6971
7002
|
The complete MPL-2.0 text is shipped in THIRD_PARTY_LICENSES.txt.
|
|
6972
7003
|
|
|
6973
7004
|
==============================================================================
|
|
6974
|
-
Components: @bendyline/squisq-video-react@2.5.
|
|
7005
|
+
Components: @bendyline/squisq-video-react@2.5.9, @ffmpeg/core@0.12.10, @ffmpeg/ffmpeg@0.12.15, @ffmpeg/types@0.12.4, @ffmpeg/util@0.12.2
|
|
6975
7006
|
Source files: node_modules/@bendyline/squisq-video-react/THIRD_PARTY_LICENSES.txt
|
|
6976
7007
|
==============================================================================
|
|
6977
7008
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video-react
|
|
@@ -7413,7 +7444,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
7413
7444
|
SOFTWARE.
|
|
7414
7445
|
|
|
7415
7446
|
==============================================================================
|
|
7416
|
-
Components: @bendyline/squisq-video@2.4.
|
|
7447
|
+
Components: @bendyline/squisq-video@2.4.6
|
|
7417
7448
|
Source files: node_modules/@bendyline/squisq-video/NOTICE.md
|
|
7418
7449
|
==============================================================================
|
|
7419
7450
|
# Third-Party Notices for @bendyline/squisq-video
|
|
@@ -7438,7 +7469,7 @@ Copyright and complete license texts for the listed dependencies are included
|
|
|
7438
7469
|
in their respective npm distributions and source repositories.
|
|
7439
7470
|
|
|
7440
7471
|
==============================================================================
|
|
7441
|
-
Components: @bendyline/squisq-video@2.4.
|
|
7472
|
+
Components: @bendyline/squisq-video@2.4.6
|
|
7442
7473
|
Source files: node_modules/@bendyline/squisq-video/THIRD_PARTY_LICENSES.txt
|
|
7443
7474
|
==============================================================================
|
|
7444
7475
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video
|
|
@@ -7450,7 +7481,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
7450
7481
|
COMPONENTS
|
|
7451
7482
|
|
|
7452
7483
|
==============================================================================
|
|
7453
|
-
Components: @bendyline/squisq@2.
|
|
7484
|
+
Components: @bendyline/squisq@2.13.0
|
|
7454
7485
|
Source files: node_modules/@bendyline/squisq/NOTICE.md
|
|
7455
7486
|
==============================================================================
|
|
7456
7487
|
# Third-Party Notices for @bendyline/squisq
|
|
@@ -7481,7 +7512,7 @@ third-party license texts for bundled code and data are shipped in
|
|
|
7481
7512
|
THIRD_PARTY_LICENSES.txt.
|
|
7482
7513
|
|
|
7483
7514
|
==============================================================================
|
|
7484
|
-
Components: @bendyline/squisq@2.
|
|
7515
|
+
Components: @bendyline/squisq@2.13.0
|
|
7485
7516
|
Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
|
|
7486
7517
|
==============================================================================
|
|
7487
7518
|
THIRD-PARTY LICENSES FOR @bendyline/squisq
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
AiDiagramDialog,
|
|
3
3
|
AiIllustratePanel,
|
|
4
4
|
DiagramPreview
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-I4JURPYS.js";
|
|
6
|
+
import "./chunk-CUCWCZRO.js";
|
|
7
7
|
import "./chunk-K4I3NJFL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VJPGZCFS.js";
|
|
9
9
|
export {
|
|
10
10
|
AiDiagramDialog,
|
|
11
11
|
AiIllustratePanel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AiDiagramDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4JURPYS.js";
|
|
4
4
|
import {
|
|
5
5
|
AiGenerationStatus,
|
|
6
6
|
STUDY_AID_KINDS,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-XNT66JC2.js";
|
|
9
9
|
import {
|
|
10
10
|
useConfirmDialog
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KBUHWZCF.js";
|
|
12
12
|
import {
|
|
13
13
|
useMenuKeyboard
|
|
14
14
|
} from "./chunk-GMA4KGGO.js";
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
reviewDocumentCharacters,
|
|
29
29
|
sanitizeGeneratedMarkdown,
|
|
30
30
|
withoutPictureFindings
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CUCWCZRO.js";
|
|
32
32
|
import {
|
|
33
33
|
unavailableSentence,
|
|
34
34
|
useAiStatus
|
|
35
35
|
} from "./chunk-K4I3NJFL.js";
|
|
36
36
|
import {
|
|
37
37
|
Dialog
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VJPGZCFS.js";
|
|
39
39
|
|
|
40
40
|
// src/Ai/AiEditorAssistant.tsx
|
|
41
41
|
import {
|
|
@@ -83,7 +83,7 @@ function draftCapacityNotice(request, model, expectedOutput = "") {
|
|
|
83
83
|
// src/Ai/AiEditorAssistant.tsx
|
|
84
84
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
85
85
|
var AiStudyDialog = lazy(
|
|
86
|
-
() => import("./AiStudyDialog-
|
|
86
|
+
() => import("./AiStudyDialog-GSCFTG3G.js").then((module) => ({ default: module.AiStudyDialog }))
|
|
87
87
|
);
|
|
88
88
|
function AiToolbarControl({
|
|
89
89
|
ai,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
extractNumbers,
|
|
26
26
|
sanitizeGeneratedMarkdown,
|
|
27
27
|
stripReasoning
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCWCZRO.js";
|
|
29
29
|
import {
|
|
30
30
|
unavailableSentence,
|
|
31
31
|
useAiStatus
|
|
32
32
|
} from "./chunk-K4I3NJFL.js";
|
|
33
33
|
import {
|
|
34
34
|
Dialog
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VJPGZCFS.js";
|
|
36
36
|
|
|
37
37
|
// src/Ai/AiStudyDialog.tsx
|
|
38
38
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -16,8 +16,9 @@ import {
|
|
|
16
16
|
buildExportFilename
|
|
17
17
|
} from "./chunk-5O5YTOXG.js";
|
|
18
18
|
import {
|
|
19
|
+
OpenAfterSaveCheckbox,
|
|
19
20
|
loadTransformStyleSummaries
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H3BK5MK6.js";
|
|
21
22
|
import {
|
|
22
23
|
FORMAT_EXTENSIONS,
|
|
23
24
|
loadLastExportOptions,
|
|
@@ -26,7 +27,7 @@ import {
|
|
|
26
27
|
} from "./chunk-6MSHXQNB.js";
|
|
27
28
|
import {
|
|
28
29
|
Dialog
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VJPGZCFS.js";
|
|
30
31
|
|
|
31
32
|
// src/Export/ExportToolbarControls.tsx
|
|
32
33
|
import {
|
|
@@ -45,22 +46,40 @@ import {
|
|
|
45
46
|
} from "@bendyline/squisq-editor-react";
|
|
46
47
|
import { readFrontmatterThemeId } from "@bendyline/squisq/markdown";
|
|
47
48
|
import { getThemeSummaries } from "@bendyline/squisq/schemas";
|
|
49
|
+
|
|
50
|
+
// src/preferences/export.ts
|
|
51
|
+
var STORAGE_KEY = "docblocks:openAfterExport";
|
|
52
|
+
function loadOpenAfterExport() {
|
|
53
|
+
try {
|
|
54
|
+
return localStorage.getItem(STORAGE_KEY) === "true";
|
|
55
|
+
} catch {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function saveOpenAfterExport(value) {
|
|
60
|
+
try {
|
|
61
|
+
localStorage.setItem(STORAGE_KEY, String(value));
|
|
62
|
+
} catch {
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// src/Export/ExportToolbarControls.tsx
|
|
48
67
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
49
68
|
var ExportDialog = lazy(
|
|
50
|
-
() => import("./ExportDialog-
|
|
69
|
+
() => import("./ExportDialog-LGWBXIWN.js").then((module) => ({ default: module.ExportDialog }))
|
|
51
70
|
);
|
|
52
71
|
var ShareDialog = lazy(
|
|
53
|
-
() => import("./ShareDialog-
|
|
72
|
+
() => import("./ShareDialog-PF7D7ORP.js").then((module) => ({ default: module.ShareDialog }))
|
|
54
73
|
);
|
|
55
74
|
var runExportModulePromise = null;
|
|
56
75
|
function loadRunExportModule() {
|
|
57
|
-
runExportModulePromise ?? (runExportModulePromise = import("./run-export-
|
|
76
|
+
runExportModulePromise ?? (runExportModulePromise = import("./run-export-SPNNH32M.js"));
|
|
58
77
|
return runExportModulePromise;
|
|
59
78
|
}
|
|
60
79
|
var ExportCancelledError = class extends Error {
|
|
61
80
|
};
|
|
62
81
|
var AudioExportDialog = lazy(
|
|
63
|
-
() => import("./AudioExportDialog-
|
|
82
|
+
() => import("./AudioExportDialog-IOYIEAER.js").then((module) => ({
|
|
64
83
|
default: module.AudioExportDialog
|
|
65
84
|
}))
|
|
66
85
|
);
|
|
@@ -159,6 +178,12 @@ function ExportToolbarControls({
|
|
|
159
178
|
const [transformSummaries, setTransformSummaries] = useState([]);
|
|
160
179
|
const [exporting, setExporting] = useState(false);
|
|
161
180
|
const [exportError, setExportError] = useState(null);
|
|
181
|
+
const [openAfterSave, setOpenAfterSave] = useState(loadOpenAfterExport);
|
|
182
|
+
const [openError, setOpenError] = useState(null);
|
|
183
|
+
const handleOpenAfterSaveChange = useCallback((checked) => {
|
|
184
|
+
setOpenAfterSave(checked);
|
|
185
|
+
saveOpenAfterExport(checked);
|
|
186
|
+
}, []);
|
|
162
187
|
const [exportNotice, setExportNotice] = useState(null);
|
|
163
188
|
const [destinationTarget, setDestinationTarget] = useState(null);
|
|
164
189
|
const [quickDestination, setQuickDestination] = useState(null);
|
|
@@ -301,6 +326,7 @@ function ExportToolbarControls({
|
|
|
301
326
|
setVideoModalOpen(false);
|
|
302
327
|
setVideoDoc(null);
|
|
303
328
|
setVideoLoadError(null);
|
|
329
|
+
setOpenError(null);
|
|
304
330
|
}, []);
|
|
305
331
|
const handleOptionsChange = useCallback(
|
|
306
332
|
(options) => {
|
|
@@ -328,13 +354,27 @@ function ExportToolbarControls({
|
|
|
328
354
|
const savedTarget = await destinationAdapter.saveBlob(blob, filename, target);
|
|
329
355
|
if (!savedTarget) throw new ExportCancelledError();
|
|
330
356
|
setDestinationTarget(savedTarget);
|
|
357
|
+
return savedTarget;
|
|
331
358
|
},
|
|
332
359
|
[destinationAdapter]
|
|
333
360
|
);
|
|
361
|
+
const openSaved = useCallback(
|
|
362
|
+
async (target) => {
|
|
363
|
+
if (!openAfterSave || !destinationAdapter?.openSaved) return;
|
|
364
|
+
try {
|
|
365
|
+
await destinationAdapter.openSaved(target);
|
|
366
|
+
} catch (caught) {
|
|
367
|
+
const detail = hostErrorDetail(caught);
|
|
368
|
+
setOpenError(`The file was saved, but it couldn't be opened.${detail ? ` ${detail}` : ""}`);
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
[destinationAdapter, openAfterSave]
|
|
372
|
+
);
|
|
334
373
|
const handleExport = useCallback(
|
|
335
374
|
async (opts) => {
|
|
336
375
|
setExporting(true);
|
|
337
376
|
setExportError(null);
|
|
377
|
+
setOpenError(null);
|
|
338
378
|
setExportNotice(null);
|
|
339
379
|
try {
|
|
340
380
|
let exportTarget = destinationTarget;
|
|
@@ -345,6 +385,7 @@ function ExportToolbarControls({
|
|
|
345
385
|
setDestinationTarget(exportTarget);
|
|
346
386
|
}
|
|
347
387
|
const { runExport } = await loadRunExportModule();
|
|
388
|
+
let savedTarget;
|
|
348
389
|
const result = await runExport(
|
|
349
390
|
markdownSource,
|
|
350
391
|
selectedFile,
|
|
@@ -353,10 +394,13 @@ function ExportToolbarControls({
|
|
|
353
394
|
fileShare && destinationAdapter?.shareBlob ? async (blob, filename) => {
|
|
354
395
|
const outcome = await destinationAdapter.shareBlob(blob, filename);
|
|
355
396
|
if (outcome === "cancelled") throw new ExportCancelledError();
|
|
356
|
-
} : destinationAdapter ? (blob, filename) =>
|
|
397
|
+
} : destinationAdapter ? async (blob, filename) => {
|
|
398
|
+
savedTarget = await saveToDestination(blob, filename, exportTarget);
|
|
399
|
+
} : saveBlob
|
|
357
400
|
);
|
|
358
401
|
setDialogOpen(false);
|
|
359
402
|
if (result.warnings.length > 0) setExportNotice(result.warnings);
|
|
403
|
+
if (savedTarget) await openSaved(savedTarget);
|
|
360
404
|
} catch (caught) {
|
|
361
405
|
if (!(caught instanceof ExportCancelledError)) setExportError(exportErrorMessage(caught));
|
|
362
406
|
} finally {
|
|
@@ -371,7 +415,8 @@ function ExportToolbarControls({
|
|
|
371
415
|
destinationAdapter,
|
|
372
416
|
destinationTarget,
|
|
373
417
|
saveToDestination,
|
|
374
|
-
saveBlob
|
|
418
|
+
saveBlob,
|
|
419
|
+
openSaved
|
|
375
420
|
]
|
|
376
421
|
);
|
|
377
422
|
const handleQuickExport = useCallback(async () => {
|
|
@@ -379,6 +424,7 @@ function ExportToolbarControls({
|
|
|
379
424
|
closeMenu(true);
|
|
380
425
|
setExporting(true);
|
|
381
426
|
setExportError(null);
|
|
427
|
+
setOpenError(null);
|
|
382
428
|
setExportNotice(null);
|
|
383
429
|
try {
|
|
384
430
|
saveExportOptions(lastOptions);
|
|
@@ -394,14 +440,18 @@ function ExportToolbarControls({
|
|
|
394
440
|
}
|
|
395
441
|
}
|
|
396
442
|
const { runExport } = await loadRunExportModule();
|
|
443
|
+
let savedTarget;
|
|
397
444
|
const result = await runExport(
|
|
398
445
|
markdownSource,
|
|
399
446
|
selectedFile,
|
|
400
447
|
lastOptions,
|
|
401
448
|
mediaContainer,
|
|
402
|
-
destinationAdapter ? async (blob, filename) =>
|
|
449
|
+
destinationAdapter ? async (blob, filename) => {
|
|
450
|
+
savedTarget = await saveToDestination(blob, filename, quickTarget);
|
|
451
|
+
} : saveBlob
|
|
403
452
|
);
|
|
404
453
|
if (result.warnings.length > 0) setExportNotice(result.warnings);
|
|
454
|
+
if (savedTarget) await openSaved(savedTarget);
|
|
405
455
|
} catch (caught) {
|
|
406
456
|
if (!(caught instanceof ExportCancelledError)) setExportError(exportErrorMessage(caught));
|
|
407
457
|
} finally {
|
|
@@ -416,7 +466,8 @@ function ExportToolbarControls({
|
|
|
416
466
|
saveBlob,
|
|
417
467
|
saveToDestination,
|
|
418
468
|
selectedFile,
|
|
419
|
-
quickDestinationTarget
|
|
469
|
+
quickDestinationTarget,
|
|
470
|
+
openSaved
|
|
420
471
|
]);
|
|
421
472
|
const handleDismissExportError = useCallback(() => {
|
|
422
473
|
setExportError(null);
|
|
@@ -425,8 +476,16 @@ function ExportToolbarControls({
|
|
|
425
476
|
setExportNotice(null);
|
|
426
477
|
}, []);
|
|
427
478
|
const videoSaveOutput = useMemo(
|
|
428
|
-
() => destinationAdapter ? createImageSaveOutput(
|
|
429
|
-
|
|
479
|
+
() => destinationAdapter ? createImageSaveOutput({
|
|
480
|
+
...destinationAdapter,
|
|
481
|
+
saveBlob: async (blob, filename, target) => {
|
|
482
|
+
setOpenError(null);
|
|
483
|
+
const saved = await destinationAdapter.saveBlob(blob, filename, target);
|
|
484
|
+
if (saved) await openSaved(saved);
|
|
485
|
+
return saved;
|
|
486
|
+
}
|
|
487
|
+
}) : void 0,
|
|
488
|
+
[destinationAdapter, openSaved]
|
|
430
489
|
);
|
|
431
490
|
const LoadedVideoExportModal = videoModules?.Modal;
|
|
432
491
|
const showAnimatedGifExport = showVideoExport && typeof ffmpegWasm?.coreURL === "string" && ffmpegWasm.coreURL.length > 0;
|
|
@@ -606,6 +665,7 @@ function ExportToolbarControls({
|
|
|
606
665
|
documentThemes,
|
|
607
666
|
exporting,
|
|
608
667
|
error: exportError,
|
|
668
|
+
openAfterSave: !fileShare && destinationAdapter?.openSaved ? { checked: openAfterSave, onChange: handleOpenAfterSaveChange } : void 0,
|
|
609
669
|
destination: destinationAdapter && destinationAdapter.showDestination !== false ? {
|
|
610
670
|
value: destinationTarget?.displayPath ?? "",
|
|
611
671
|
onPick: handlePickDestination,
|
|
@@ -644,7 +704,8 @@ function ExportToolbarControls({
|
|
|
644
704
|
children: /* @__PURE__ */ jsx("p", { className: "db-export-error", role: "alert", children: exportError })
|
|
645
705
|
}
|
|
646
706
|
),
|
|
647
|
-
|
|
707
|
+
openError && !videoModalOpen && /* @__PURE__ */ jsx(Dialog, { title: "Open saved export", onClose: () => setOpenError(null), children: /* @__PURE__ */ jsx("p", { role: "alert", children: openError }) }),
|
|
708
|
+
exportNotice && !dialogOpen && !exportError && !openError && /* @__PURE__ */ jsx(
|
|
648
709
|
Dialog,
|
|
649
710
|
{
|
|
650
711
|
title: "Export Document",
|
|
@@ -691,6 +752,16 @@ function ExportToolbarControls({
|
|
|
691
752
|
mediaEditRenders,
|
|
692
753
|
colorScheme,
|
|
693
754
|
uiPalette: videoExportPalette,
|
|
755
|
+
saveOptions: destinationAdapter?.openSaved ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
756
|
+
/* @__PURE__ */ jsx(
|
|
757
|
+
OpenAfterSaveCheckbox,
|
|
758
|
+
{
|
|
759
|
+
checked: openAfterSave,
|
|
760
|
+
onChange: handleOpenAfterSaveChange
|
|
761
|
+
}
|
|
762
|
+
),
|
|
763
|
+
openError && /* @__PURE__ */ jsx("p", { role: "alert", children: openError })
|
|
764
|
+
] }) : void 0,
|
|
694
765
|
defaultConfig: {
|
|
695
766
|
audioPolicy: "best-effort",
|
|
696
767
|
...ffmpegWasm ? { ffmpegWasm } : {},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresentationMaker
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-USKX66SA.js";
|
|
4
|
+
import "./chunk-CUCWCZRO.js";
|
|
5
5
|
import "./chunk-K4I3NJFL.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-VJPGZCFS.js";
|
|
7
7
|
export {
|
|
8
8
|
PresentationMaker
|
|
9
9
|
};
|
|
@@ -34,7 +34,7 @@ declare function saveInterfaceFont(value: InterfaceFontPreference): void;
|
|
|
34
34
|
* (the wire/persisted contract) and the `docblocks.writeCanvasFontScheme` enum
|
|
35
35
|
* in the VS Code `package.json`; a guard test keeps the three in sync.
|
|
36
36
|
*/
|
|
37
|
-
type WriteCanvasFontScheme = 'theme' | 'serif-sans' | 'sans-sans' | 'serif-serif' | 'pt-serif' | 'hanken' | 'playfair-pt-serif' | 'hanken-lora' | 'dm-serif-dm-sans' | 'inter';
|
|
37
|
+
type WriteCanvasFontScheme = 'theme' | 'serif-sans' | 'sans-sans' | 'serif-serif' | 'pt-serif' | 'hanken' | 'playfair-pt-serif' | 'hanken-lora' | 'dm-serif-dm-sans' | 'inter' | 'inconsolata';
|
|
38
38
|
type WriteCanvasFontSchemeGroup = 'theme' | 'system' | 'curated';
|
|
39
39
|
interface WriteCanvasFontSchemeOption {
|
|
40
40
|
id: WriteCanvasFontScheme;
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-GMA4KGGO.js";
|
|
16
16
|
import {
|
|
17
17
|
Dialog
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VJPGZCFS.js";
|
|
19
19
|
|
|
20
20
|
// src/Speech/SpeechToolbarControl.tsx
|
|
21
21
|
import { useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-K4I3NJFL.js";
|
|
11
11
|
import {
|
|
12
12
|
Dialog
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VJPGZCFS.js";
|
|
14
14
|
|
|
15
15
|
// src/Speech/TextFromNarration.tsx
|
|
16
16
|
import { useEffect as useEffect3, useMemo, useRef as useRef3, useState as useState3 } from "react";
|