@bendyline/docblocks-react 2.3.4 → 2.4.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.
@@ -15,12 +15,12 @@ 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 | 1.1.0 | MIT | https://github.com/antfu/install-pkg |
18
- | @bendyline/squisq | 2.7.0 | MIT | https://github.com/bendyline/squisq |
19
- | @bendyline/squisq-editor-react | 2.7.0 | MIT | https://github.com/bendyline/squisq |
20
- | @bendyline/squisq-formats | 2.4.1 | MIT | https://github.com/bendyline/squisq |
21
- | @bendyline/squisq-react | 2.7.0 | MIT | https://github.com/bendyline/squisq |
22
- | @bendyline/squisq-video | 2.2.11 | MIT | https://github.com/bendyline/squisq |
23
- | @bendyline/squisq-video-react | 2.3.2 | MIT | https://github.com/bendyline/squisq |
18
+ | @bendyline/squisq | 2.8.0 | MIT | https://github.com/bendyline/squisq |
19
+ | @bendyline/squisq-editor-react | 2.8.0 | MIT | https://github.com/bendyline/squisq |
20
+ | @bendyline/squisq-formats | 2.4.5 | MIT | https://github.com/bendyline/squisq |
21
+ | @bendyline/squisq-react | 2.8.0 | MIT | https://github.com/bendyline/squisq |
22
+ | @bendyline/squisq-video | 2.3.0 | MIT | https://github.com/bendyline/squisq |
23
+ | @bendyline/squisq-video-react | 2.4.0 | MIT | https://github.com/bendyline/squisq |
24
24
  | @braintree/sanitize-url | 7.1.2 | MIT | https://github.com/braintree/sanitize-url |
25
25
  | @chevrotain/types | 11.1.2 | Apache-2.0 | https://github.com/Chevrotain/chevrotain |
26
26
  | @ffmpeg/core | 0.12.9 | GPL-2.0-or-later | https://github.com/ffmpegwasm/ffmpeg.wasm |
@@ -99,7 +99,7 @@ This notice is included in the published npm tarball. Transitive packages instal
99
99
  | @types/d3-fetch | 3.0.7 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
100
100
  | @types/d3-force | 3.0.10 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
101
101
  | @types/d3-format | 3.0.4 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
102
- | @types/d3-geo | 3.1.0 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
102
+ | @types/d3-geo | 3.1.1 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
103
103
  | @types/d3-hierarchy | 3.1.7 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
104
104
  | @types/d3-interpolate | 3.0.4 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
105
105
  | @types/d3-path | 3.1.1 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
@@ -129,7 +129,7 @@ This notice is included in the published npm tarball. Transitive packages instal
129
129
  | @types/unist | 3.0.3 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
130
130
  | @types/use-sync-external-store | 0.0.6 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
131
131
  | @upsetjs/venn.js | 2.0.0 | MIT | https://github.com/upsetjs/venn.js |
132
- | @xmldom/xmldom | 0.9.10 | MIT | https://github.com/xmldom/xmldom |
132
+ | @xmldom/xmldom | 0.9.11 | MIT | https://github.com/xmldom/xmldom |
133
133
  | argparse | 2.0.1 | Python-2.0 | https://github.com/nodeca/argparse |
134
134
  | bail | 2.0.2 | MIT | https://github.com/wooorm/bail |
135
135
  | base64-arraybuffer | 1.0.2 | MIT | https://github.com/niklasvh/base64-arraybuffer |
@@ -146,7 +146,7 @@ This notice is included in the published npm tarball. Transitive packages instal
146
146
  | cose-base | 2.2.0 | MIT | https://github.com/iVis-at-Bilkent/cose-base |
147
147
  | crelt | 1.0.6 | MIT | https://github.com/marijnh/crelt |
148
148
  | css-line-break | 2.1.0 | MIT | git+ssh://git@github.com/niklasvh/css-line-break |
149
- | cytoscape | 3.34.0 | MIT | https://github.com/cytoscape/cytoscape.js |
149
+ | cytoscape | 3.34.1 | MIT | https://github.com/cytoscape/cytoscape.js |
150
150
  | cytoscape-cose-bilkent | 4.1.0 | MIT | https://github.com/cytoscape/cytoscape.js-cose-bilkent |
151
151
  | cytoscape-fcose | 2.2.0 | MIT | https://github.com/iVis-at-Bilkent/cytoscape.js-fcose |
152
152
  | d3 | 7.9.0 | ISC | https://github.com/d3/d3 |
@@ -191,10 +191,10 @@ This notice is included in the published npm tarball. Transitive packages instal
191
191
  | delaunator | 5.1.0 | ISC | https://github.com/mapbox/delaunator |
192
192
  | dequal | 2.0.3 | MIT | https://github.com/lukeed/dequal |
193
193
  | devlop | 1.1.0 | MIT | https://github.com/wooorm/devlop |
194
- | dompurify | 3.4.12 | (MPL-2.0 OR Apache-2.0) | https://github.com/cure53/DOMPurify |
194
+ | dompurify | 3.4.13 | (MPL-2.0 OR Apache-2.0) | https://github.com/cure53/DOMPurify |
195
195
  | entities | 4.5.0 | BSD-2-Clause | https://github.com/fb55/entities |
196
196
  | entities | 6.0.1 | BSD-2-Clause | https://github.com/fb55/entities |
197
- | es-toolkit | 1.49.0 | MIT | https://github.com/toss/es-toolkit |
197
+ | es-toolkit | 1.50.0 | MIT | https://github.com/toss/es-toolkit |
198
198
  | escape-string-regexp | 4.0.0 | MIT | https://github.com/sindresorhus/escape-string-regexp |
199
199
  | escape-string-regexp | 5.0.0 | MIT | https://github.com/sindresorhus/escape-string-regexp |
200
200
  | extend | 3.0.2 | MIT | https://github.com/justmoon/node-extend |
@@ -250,7 +250,7 @@ This notice is included in the published npm tarball. Transitive packages instal
250
250
  | mdast-util-to-markdown | 2.1.2 | MIT | https://github.com/syntax-tree/mdast-util-to-markdown |
251
251
  | mdast-util-to-string | 4.0.0 | MIT | https://github.com/syntax-tree/mdast-util-to-string |
252
252
  | mdurl | 2.0.0 | MIT | https://github.com/markdown-it/mdurl |
253
- | mermaid | 11.16.0 | MIT | https://github.com/mermaid-js/mermaid |
253
+ | mermaid | 11.16.1 | MIT | https://github.com/mermaid-js/mermaid |
254
254
  | micromark | 4.0.2 | MIT | https://github.com/micromark/micromark/tree/main/packages/micromark |
255
255
  | micromark-core-commonmark | 2.0.3 | MIT | https://github.com/micromark/micromark/tree/main/packages/micromark-core-commonmark |
256
256
  | micromark-extension-directive | 3.0.2 | MIT | https://github.com/micromark/micromark-extension-directive |
@@ -285,7 +285,7 @@ This notice is included in the published npm tarball. Transitive packages instal
285
285
  | ms | 2.1.3 | MIT | https://github.com/vercel/ms |
286
286
  | ngeohash | 0.6.3 | MIT | https://github.com/sunng87/node-geohash |
287
287
  | orderedmap | 2.1.1 | MIT | https://github.com/marijnh/orderedmap |
288
- | package-manager-detector | 1.7.0 | MIT | https://github.com/antfu-collective/package-manager-detector |
288
+ | package-manager-detector | 1.8.0 | MIT | https://github.com/antfu-collective/package-manager-detector |
289
289
  | pako | 1.0.11 | (MIT AND Zlib) | https://github.com/nodeca/pako |
290
290
  | parse-entities | 4.0.2 | MIT | https://github.com/wooorm/parse-entities |
291
291
  | parse5 | 7.3.0 | MIT | https://github.com/inikulin/parse5 |
@@ -398,7 +398,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
398
398
  SOFTWARE.
399
399
 
400
400
  ==============================================================================
401
- Components: @bendyline/squisq-editor-react@2.7.0, @bendyline/squisq-formats@2.4.1, @bendyline/squisq-react@2.7.0, @bendyline/squisq-video-react@2.3.2, @bendyline/squisq-video@2.2.11, @bendyline/squisq@2.7.0
401
+ Components: @bendyline/squisq-editor-react@2.8.0, @bendyline/squisq-formats@2.4.5, @bendyline/squisq-react@2.8.0, @bendyline/squisq-video-react@2.4.0, @bendyline/squisq-video@2.3.0, @bendyline/squisq@2.8.0
402
402
  Source files: node_modules/@bendyline/squisq-editor-react/LICENSE, node_modules/@bendyline/squisq-formats/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
403
403
  ==============================================================================
404
404
  MIT License
@@ -564,7 +564,7 @@ The above copyright notice and this permission notice shall be included in all c
564
564
  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.
565
565
 
566
566
  ==============================================================================
567
- Components: @bendyline/squisq-editor-react@2.7.0
567
+ Components: @bendyline/squisq-editor-react@2.8.0
568
568
  Source files: node_modules/@bendyline/squisq-editor-react/NOTICE.md
569
569
  ==============================================================================
570
570
  # Third-Party Notices for @bendyline/squisq-editor-react
@@ -594,7 +594,7 @@ Third-party components remain under their respective license terms.
594
594
  | @tiptap/react | 2.27.2 | MIT | https://github.com/ueberdosis/tiptap |
595
595
  | @tiptap/starter-kit | 2.27.2 | MIT | https://github.com/ueberdosis/tiptap |
596
596
  | @tiptap/suggestion | 2.27.2 | MIT | https://github.com/ueberdosis/tiptap |
597
- | mermaid | 11.16.0 | MIT | https://github.com/mermaid-js/mermaid |
597
+ | mermaid | 11.16.1 | MIT | https://github.com/mermaid-js/mermaid |
598
598
  | type-fest | 4.41.0 | MIT OR CC0-1.0 | https://github.com/sindresorhus/type-fest |
599
599
  | @monaco-editor/react _(bundled)_ | 4.7.0 | MIT | https://github.com/suren-atoyan/monaco-react |
600
600
  | @monaco-editor/loader _(bundled)_ | 1.7.0 | MIT | https://github.com/suren-atoyan/monaco-loader |
@@ -611,7 +611,7 @@ Exact third-party license texts for the bundled adapter, loader, state helper,
611
611
  and Font Awesome assets are shipped in THIRD_PARTY_LICENSES.txt.
612
612
 
613
613
  ==============================================================================
614
- Components: @bendyline/squisq-editor-react@2.7.0, @tiptap/core@2.27.2, @tiptap/extension-blockquote@2.27.2, @tiptap/extension-bold@2.27.2, @tiptap/extension-bubble-menu@2.27.2, @tiptap/extension-bullet-list@2.27.2, @tiptap/extension-code-block@2.27.2, @tiptap/extension-code@2.27.2, @tiptap/extension-document@2.27.2, @tiptap/extension-dropcursor@2.27.2, @tiptap/extension-floating-menu@2.27.2, @tiptap/extension-gapcursor@2.27.2, @tiptap/extension-hard-break@2.27.2, @tiptap/extension-heading@2.27.2, @tiptap/extension-history@2.27.2, @tiptap/extension-horizontal-rule@2.27.2, @tiptap/extension-image@2.27.2, @tiptap/extension-italic@2.27.2, @tiptap/extension-link@2.27.2, @tiptap/extension-list-item@2.27.2, @tiptap/extension-mention@2.27.2, @tiptap/extension-ordered-list@2.27.2, @tiptap/extension-paragraph@2.27.2, @tiptap/extension-placeholder@2.27.2, @tiptap/extension-strike@2.27.2, @tiptap/extension-table-cell@2.27.2, @tiptap/extension-table-header@2.27.2, @tiptap/extension-table-row@2.27.2, @tiptap/extension-table@2.27.2, @tiptap/extension-task-item@2.27.2, @tiptap/extension-task-list@2.27.2, @tiptap/extension-text-style@2.27.2, @tiptap/extension-text@2.27.2, @tiptap/pm@2.27.2, @tiptap/react@2.27.2, @tiptap/starter-kit@2.27.2, @tiptap/suggestion@2.27.2
614
+ Components: @bendyline/squisq-editor-react@2.8.0, @tiptap/core@2.27.2, @tiptap/extension-blockquote@2.27.2, @tiptap/extension-bold@2.27.2, @tiptap/extension-bubble-menu@2.27.2, @tiptap/extension-bullet-list@2.27.2, @tiptap/extension-code-block@2.27.2, @tiptap/extension-code@2.27.2, @tiptap/extension-document@2.27.2, @tiptap/extension-dropcursor@2.27.2, @tiptap/extension-floating-menu@2.27.2, @tiptap/extension-gapcursor@2.27.2, @tiptap/extension-hard-break@2.27.2, @tiptap/extension-heading@2.27.2, @tiptap/extension-history@2.27.2, @tiptap/extension-horizontal-rule@2.27.2, @tiptap/extension-image@2.27.2, @tiptap/extension-italic@2.27.2, @tiptap/extension-link@2.27.2, @tiptap/extension-list-item@2.27.2, @tiptap/extension-mention@2.27.2, @tiptap/extension-ordered-list@2.27.2, @tiptap/extension-paragraph@2.27.2, @tiptap/extension-placeholder@2.27.2, @tiptap/extension-strike@2.27.2, @tiptap/extension-table-cell@2.27.2, @tiptap/extension-table-header@2.27.2, @tiptap/extension-table-row@2.27.2, @tiptap/extension-table@2.27.2, @tiptap/extension-task-item@2.27.2, @tiptap/extension-task-list@2.27.2, @tiptap/extension-text-style@2.27.2, @tiptap/extension-text@2.27.2, @tiptap/pm@2.27.2, @tiptap/react@2.27.2, @tiptap/starter-kit@2.27.2, @tiptap/suggestion@2.27.2
615
615
  Source files: node_modules/@bendyline/squisq-editor-react/THIRD_PARTY_LICENSES.txt
616
616
  ==============================================================================
617
617
  THIRD-PARTY LICENSES FOR @bendyline/squisq-editor-react
@@ -871,7 +871,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
871
871
  SOFTWARE.
872
872
 
873
873
  ==============================================================================
874
- Components: @xmldom/xmldom@0.9.10
874
+ Components: @xmldom/xmldom@0.9.11
875
875
  Source files: node_modules/@bendyline/squisq-formats/node_modules/@xmldom/xmldom/LICENSE
876
876
  ==============================================================================
877
877
  Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
@@ -884,7 +884,7 @@ The above copyright notice and this permission notice shall be included in all c
884
884
  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.
885
885
 
886
886
  ==============================================================================
887
- Components: @bendyline/squisq-formats@2.4.1
887
+ Components: @bendyline/squisq-formats@2.4.5
888
888
  Source files: node_modules/@bendyline/squisq-formats/NOTICE.md
889
889
  ==============================================================================
890
890
  # Third-Party Notices for @bendyline/squisq-formats
@@ -899,7 +899,7 @@ Third-party components remain under their respective license terms.
899
899
  | ---------------- | ------- | ----------------------- | ---------------------------------- |
900
900
  | @pdf-lib/fontkit | 1.1.1 | MIT | https://github.com/Hopding/fontkit |
901
901
  | @pdf-lib/upng | 1.0.1 | MIT | https://github.com/Hopding/upng |
902
- | @xmldom/xmldom | 0.9.10 | MIT | https://github.com/xmldom/xmldom |
902
+ | @xmldom/xmldom | 0.9.11 | MIT | https://github.com/xmldom/xmldom |
903
903
  | jszip | 3.10.1 | MIT OR GPL-3.0-or-later | https://github.com/Stuk/jszip |
904
904
  | pdf-lib | 1.17.1 | MIT | https://pdf-lib.js.org |
905
905
  | pdfjs-dist | 4.10.38 | Apache-2.0 | https://mozilla.github.io/pdf.js |
@@ -909,7 +909,7 @@ texts for these dependencies are included in their respective npm
909
909
  distributions and source repositories.
910
910
 
911
911
  ==============================================================================
912
- Components: @bendyline/squisq-formats@2.4.1
912
+ Components: @bendyline/squisq-formats@2.4.5
913
913
  Source files: node_modules/@bendyline/squisq-formats/THIRD_PARTY_LICENSES.txt
914
914
  ==============================================================================
915
915
  THIRD-PARTY LICENSES FOR @bendyline/squisq-formats
@@ -1091,7 +1091,7 @@ Awesome, nor vice versa. **Please do not use brand logos for any purpose except
1091
1091
  to represent the company, product, or service to which they refer.**
1092
1092
 
1093
1093
  ==============================================================================
1094
- Components: @bendyline/squisq-react@2.7.0
1094
+ Components: @bendyline/squisq-react@2.8.0
1095
1095
  Source files: node_modules/@bendyline/squisq-react/NOTICE.md
1096
1096
  ==============================================================================
1097
1097
  # Third-Party Notices for @bendyline/squisq-react
@@ -1105,7 +1105,7 @@ Third-party components remain under their respective license terms.
1105
1105
  | Package | Version | License | Repository |
1106
1106
  | ----------------------------- | -------------------- | ----------------------------- | ------------------------------------------- |
1107
1107
  | @fortawesome/fontawesome-free | 7.2.0 | CC-BY-4.0 AND OFL-1.1 AND MIT | https://github.com/FortAwesome/Font-Awesome |
1108
- | mermaid | 11.16.0 | MIT | https://github.com/mermaid-js/mermaid |
1108
+ | mermaid | 11.16.1 | MIT | https://github.com/mermaid-js/mermaid |
1109
1109
  | preact _(bundled)_ | 10.29.0 | MIT | https://github.com/preactjs/preact |
1110
1110
  | react _(peer)_ | ^18.0.0 \|\| ^19.0.0 | MIT | https://github.com/facebook/react |
1111
1111
  | react-dom _(peer)_ | ^18.0.0 \|\| ^19.0.0 | MIT | https://github.com/facebook/react |
@@ -1116,7 +1116,7 @@ third-party license texts for the complete standalone bundle graph are shipped
1116
1116
  in THIRD_PARTY_LICENSES.txt.
1117
1117
 
1118
1118
  ==============================================================================
1119
- Components: @bendyline/squisq-react@2.7.0
1119
+ Components: @bendyline/squisq-react@2.8.0
1120
1120
  Source files: node_modules/@bendyline/squisq-react/THIRD_PARTY_LICENSES.txt
1121
1121
  ==============================================================================
1122
1122
  THIRD-PARTY LICENSES FOR @bendyline/squisq-react
@@ -1221,7 +1221,7 @@ COMPONENTS
1221
1221
  - mdast-util-phrasing@4.1.0 (MIT); files: license
1222
1222
  - mdast-util-to-markdown@2.1.2 (MIT); files: license
1223
1223
  - mdast-util-to-string@4.0.0 (MIT); files: license
1224
- - mermaid@11.16.0 (MIT); files: LICENSE
1224
+ - mermaid@11.16.1 (MIT); files: LICENSE
1225
1225
  - micromark-core-commonmark@2.0.3 (MIT); files: license
1226
1226
  - micromark-extension-directive@3.0.2 (MIT); files: license
1227
1227
  - micromark-extension-frontmatter@2.0.0 (MIT); files: license
@@ -4106,7 +4106,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
4106
4106
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4107
4107
 
4108
4108
  ==============================================================================
4109
- mermaid@11.16.0 - LICENSE
4109
+ mermaid@11.16.1 - LICENSE
4110
4110
  ==============================================================================
4111
4111
  The MIT License (MIT)
4112
4112
 
@@ -5589,7 +5589,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
5589
5589
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5590
5590
 
5591
5591
  ==============================================================================
5592
- Components: @bendyline/squisq-video-react@2.3.2, @ffmpeg/core@0.12.9
5592
+ Components: @bendyline/squisq-video-react@2.4.0, @ffmpeg/core@0.12.9
5593
5593
  Source files: node_modules/@bendyline/squisq-video-react/COPYING.GPL-2.0.txt
5594
5594
  ==============================================================================
5595
5595
  GNU GENERAL PUBLIC LICENSE
@@ -5932,7 +5932,7 @@ library. If this is what you want to do, use the GNU Lesser General
5932
5932
  Public License instead of this License.
5933
5933
 
5934
5934
  ==============================================================================
5935
- Components: @bendyline/squisq-video-react@2.3.2, @ffmpeg/core@0.12.9
5935
+ Components: @bendyline/squisq-video-react@2.4.0, @ffmpeg/core@0.12.9
5936
5936
  Source files: node_modules/@bendyline/squisq-video-react/NOTICE.md
5937
5937
  ==============================================================================
5938
5938
  # Third-Party Notices for @bendyline/squisq-video-react
@@ -5977,7 +5977,7 @@ global WebCodecs declaration dependencies are not installed for consumers. Its
5977
5977
  exact license text is shipped in THIRD_PARTY_LICENSES.txt.
5978
5978
 
5979
5979
  ==============================================================================
5980
- Components: @bendyline/squisq-video-react@2.3.2, @ffmpeg/core@0.12.9, @ffmpeg/ffmpeg@0.12.15, @ffmpeg/types@0.12.4, @ffmpeg/util@0.12.2
5980
+ Components: @bendyline/squisq-video-react@2.4.0, @ffmpeg/core@0.12.9, @ffmpeg/ffmpeg@0.12.15, @ffmpeg/types@0.12.4, @ffmpeg/util@0.12.2
5981
5981
  Source files: node_modules/@bendyline/squisq-video-react/THIRD_PARTY_LICENSES.txt
5982
5982
  ==============================================================================
5983
5983
  THIRD-PARTY LICENSES FOR @bendyline/squisq-video-react
@@ -6041,7 +6041,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6041
6041
  SOFTWARE.
6042
6042
 
6043
6043
  ==============================================================================
6044
- Components: @bendyline/squisq-video@2.2.11
6044
+ Components: @bendyline/squisq-video@2.3.0
6045
6045
  Source files: node_modules/@bendyline/squisq-video/NOTICE.md
6046
6046
  ==============================================================================
6047
6047
  # Third-Party Notices for @bendyline/squisq-video
@@ -6066,7 +6066,7 @@ Copyright and complete license texts for the listed dependencies are included
6066
6066
  in their respective npm distributions and source repositories.
6067
6067
 
6068
6068
  ==============================================================================
6069
- Components: @bendyline/squisq-video@2.2.11
6069
+ Components: @bendyline/squisq-video@2.3.0
6070
6070
  Source files: node_modules/@bendyline/squisq-video/THIRD_PARTY_LICENSES.txt
6071
6071
  ==============================================================================
6072
6072
  THIRD-PARTY LICENSES FOR @bendyline/squisq-video
@@ -6078,7 +6078,7 @@ repository license, the pinned upstream copy is vendored and identified below.
6078
6078
  COMPONENTS
6079
6079
 
6080
6080
  ==============================================================================
6081
- Components: @bendyline/squisq@2.7.0
6081
+ Components: @bendyline/squisq@2.8.0
6082
6082
  Source files: node_modules/@bendyline/squisq/NOTICE.md
6083
6083
  ==============================================================================
6084
6084
  # Third-Party Notices for @bendyline/squisq
@@ -6109,7 +6109,7 @@ third-party license texts for bundled code and data are shipped in
6109
6109
  THIRD_PARTY_LICENSES.txt.
6110
6110
 
6111
6111
  ==============================================================================
6112
- Components: @bendyline/squisq@2.7.0
6112
+ Components: @bendyline/squisq@2.8.0
6113
6113
  Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
6114
6114
  ==============================================================================
6115
6115
  THIRD-PARTY LICENSES FOR @bendyline/squisq
@@ -6317,7 +6317,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6317
6317
  SOFTWARE.
6318
6318
 
6319
6319
  ==============================================================================
6320
- Components: @chevrotain/types@11.1.2, dompurify@3.4.12
6320
+ Components: @chevrotain/types@11.1.2, dompurify@3.4.13
6321
6321
  Source files: node_modules/@chevrotain/types/LICENSE.txt, node_modules/dompurify/LICENSE
6322
6322
  ==============================================================================
6323
6323
 
@@ -6901,8 +6901,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6901
6901
  SOFTWARE.
6902
6902
 
6903
6903
  ==============================================================================
6904
- Components: @types/d3-array@3.2.2, @types/d3-axis@3.0.6, @types/d3-brush@3.0.6, @types/d3-chord@3.0.6, @types/d3-color@3.1.3, @types/d3-contour@3.0.6, @types/d3-delaunay@6.0.4, @types/d3-dispatch@3.0.7, @types/d3-drag@3.0.7, @types/d3-dsv@3.0.7, @types/d3-ease@3.0.2, @types/d3-fetch@3.0.7, @types/d3-force@3.0.10, @types/d3-format@3.0.4, @types/d3-geo@3.1.0, @types/d3-hierarchy@3.1.7, @types/d3-interpolate@3.0.4, @types/d3-path@3.1.1, @types/d3-polygon@3.0.2, @types/d3-quadtree@3.0.6, @types/d3-random@3.0.4, @types/d3-scale-chromatic@3.1.0, @types/d3-scale@4.0.9, @types/d3-selection@3.0.11, @types/d3-shape@3.1.8, @types/d3-time-format@4.0.3, @types/d3-time@3.0.4, @types/d3-timer@3.0.2, @types/d3-transition@3.0.9, @types/d3-zoom@3.0.8, @types/d3@7.4.3, @types/debug@4.1.12, @types/geojson@7946.0.16, @types/hast@3.0.4, @types/katex@0.16.8, @types/linkify-it@5.0.0, @types/markdown-it@14.1.2, @types/mdast@4.0.4, @types/mdurl@2.0.0, @types/ms@2.1.0, @types/trusted-types@2.0.7, @types/unist@2.0.11, @types/unist@3.0.3, @types/use-sync-external-store@0.0.6
6905
- Source files: node_modules/@types/d3-array/LICENSE, node_modules/@types/d3-axis/LICENSE, node_modules/@types/d3-brush/LICENSE, node_modules/@types/d3-chord/LICENSE, node_modules/@types/d3-color/LICENSE, node_modules/@types/d3-contour/LICENSE, node_modules/@types/d3-delaunay/LICENSE, node_modules/@types/d3-dispatch/LICENSE, node_modules/@types/d3-drag/LICENSE, node_modules/@types/d3-dsv/LICENSE, node_modules/@types/d3-ease/LICENSE, node_modules/@types/d3-fetch/LICENSE, node_modules/@types/d3-force/LICENSE, node_modules/@types/d3-format/LICENSE, node_modules/@types/d3-geo/LICENSE, node_modules/@types/d3-hierarchy/LICENSE, node_modules/@types/d3-interpolate/LICENSE, node_modules/@types/d3-path/LICENSE, node_modules/@types/d3-polygon/LICENSE, node_modules/@types/d3-quadtree/LICENSE, node_modules/@types/d3-random/LICENSE, node_modules/@types/d3-scale-chromatic/LICENSE, node_modules/@types/d3-scale/LICENSE, node_modules/@types/d3-selection/LICENSE, node_modules/@types/d3-shape/LICENSE, node_modules/@types/d3-time-format/LICENSE, node_modules/@types/d3-time/LICENSE, node_modules/@types/d3-timer/LICENSE, node_modules/@types/d3-transition/LICENSE, node_modules/@types/d3-zoom/LICENSE, node_modules/@types/d3/LICENSE, node_modules/@types/debug/LICENSE, node_modules/@types/geojson/LICENSE, node_modules/@types/hast/LICENSE, node_modules/@types/katex/LICENSE, node_modules/@types/linkify-it/LICENSE, node_modules/@types/markdown-it/LICENSE, node_modules/@types/mdast/LICENSE, node_modules/@types/mdurl/LICENSE, node_modules/@types/ms/LICENSE, node_modules/@types/unist/LICENSE, node_modules/@types/use-sync-external-store/LICENSE, node_modules/dompurify/node_modules/@types/trusted-types/LICENSE, node_modules/parse-entities/node_modules/@types/unist/LICENSE
6904
+ Components: @types/d3-array@3.2.2, @types/d3-axis@3.0.6, @types/d3-brush@3.0.6, @types/d3-chord@3.0.6, @types/d3-color@3.1.3, @types/d3-contour@3.0.6, @types/d3-delaunay@6.0.4, @types/d3-dispatch@3.0.7, @types/d3-drag@3.0.7, @types/d3-dsv@3.0.7, @types/d3-ease@3.0.2, @types/d3-fetch@3.0.7, @types/d3-force@3.0.10, @types/d3-format@3.0.4, @types/d3-geo@3.1.1, @types/d3-hierarchy@3.1.7, @types/d3-interpolate@3.0.4, @types/d3-path@3.1.1, @types/d3-polygon@3.0.2, @types/d3-quadtree@3.0.6, @types/d3-random@3.0.4, @types/d3-scale-chromatic@3.1.0, @types/d3-scale@4.0.9, @types/d3-selection@3.0.11, @types/d3-shape@3.1.8, @types/d3-time-format@4.0.3, @types/d3-time@3.0.4, @types/d3-timer@3.0.2, @types/d3-transition@3.0.9, @types/d3-zoom@3.0.8, @types/d3@7.4.3, @types/debug@4.1.12, @types/geojson@7946.0.16, @types/hast@3.0.4, @types/katex@0.16.8, @types/linkify-it@5.0.0, @types/markdown-it@14.1.2, @types/mdast@4.0.4, @types/mdurl@2.0.0, @types/ms@2.1.0, @types/trusted-types@2.0.7, @types/unist@2.0.11, @types/unist@3.0.3, @types/use-sync-external-store@0.0.6
6905
+ Source files: node_modules/@types/d3-array/LICENSE, node_modules/@types/d3-axis/LICENSE, node_modules/@types/d3-brush/LICENSE, node_modules/@types/d3-chord/LICENSE, node_modules/@types/d3-color/LICENSE, node_modules/@types/d3-contour/LICENSE, node_modules/@types/d3-delaunay/LICENSE, node_modules/@types/d3-dispatch/LICENSE, node_modules/@types/d3-drag/LICENSE, node_modules/@types/d3-dsv/LICENSE, node_modules/@types/d3-ease/LICENSE, node_modules/@types/d3-fetch/LICENSE, node_modules/@types/d3-force/LICENSE, node_modules/@types/d3-format/LICENSE, node_modules/@types/d3-geo/LICENSE, node_modules/@types/d3-hierarchy/LICENSE, node_modules/@types/d3-interpolate/LICENSE, node_modules/@types/d3-path/LICENSE, node_modules/@types/d3-polygon/LICENSE, node_modules/@types/d3-quadtree/LICENSE, node_modules/@types/d3-random/LICENSE, node_modules/@types/d3-scale-chromatic/LICENSE, node_modules/@types/d3-scale/LICENSE, node_modules/@types/d3-selection/LICENSE, node_modules/@types/d3-shape/LICENSE, node_modules/@types/d3-time-format/LICENSE, node_modules/@types/d3-time/LICENSE, node_modules/@types/d3-timer/LICENSE, node_modules/@types/d3-transition/LICENSE, node_modules/@types/d3-zoom/LICENSE, node_modules/@types/d3/LICENSE, node_modules/@types/debug/LICENSE, node_modules/@types/geojson/LICENSE, node_modules/@types/hast/LICENSE, node_modules/@types/katex/LICENSE, node_modules/@types/linkify-it/LICENSE, node_modules/@types/markdown-it/LICENSE, node_modules/@types/mdast/LICENSE, node_modules/@types/mdurl/LICENSE, node_modules/@types/ms/LICENSE, node_modules/@types/trusted-types/LICENSE, node_modules/@types/unist/LICENSE, node_modules/@types/use-sync-external-store/LICENSE, node_modules/parse-entities/node_modules/@types/unist/LICENSE
6906
6906
  ==============================================================================
6907
6907
  MIT License
6908
6908
 
@@ -7471,7 +7471,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7471
7471
  SOFTWARE.
7472
7472
 
7473
7473
  ==============================================================================
7474
- Components: cytoscape@3.34.0
7474
+ Components: cytoscape@3.34.1
7475
7475
  Source files: node_modules/cytoscape/LICENSE
7476
7476
  ==============================================================================
7477
7477
  Copyright (c) 2016-2026, The Cytoscape Consortium.
@@ -7495,7 +7495,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7495
7495
  SOFTWARE.
7496
7496
 
7497
7497
  ==============================================================================
7498
- Components: cytoscape@3.34.0
7498
+ Components: cytoscape@3.34.1
7499
7499
  Source files: node_modules/cytoscape/license-update.mjs
7500
7500
  ==============================================================================
7501
7501
  import fs from 'fs';
@@ -8176,7 +8176,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
8176
8176
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8177
8177
 
8178
8178
  ==============================================================================
8179
- Components: dompurify@3.4.12
8179
+ Components: dompurify@3.4.13
8180
8180
  Source files: node_modules/dompurify/LICENSE-MPL
8181
8181
  ==============================================================================
8182
8182
  Mozilla Public License Version 2.0
@@ -8570,7 +8570,7 @@ THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRE
8570
8570
  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8571
8571
 
8572
8572
  ==============================================================================
8573
- Components: es-toolkit@1.49.0
8573
+ Components: es-toolkit@1.50.0
8574
8574
  Source files: node_modules/es-toolkit/LICENSE
8575
8575
  ==============================================================================
8576
8576
  MIT License
@@ -10347,7 +10347,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
10347
10347
  IN THE SOFTWARE.
10348
10348
 
10349
10349
  ==============================================================================
10350
- Components: mermaid@11.16.0
10350
+ Components: mermaid@11.16.1
10351
10351
  Source files: node_modules/mermaid/LICENSE
10352
10352
  ==============================================================================
10353
10353
  The MIT License (MIT)
@@ -10523,7 +10523,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10523
10523
  THE SOFTWARE.
10524
10524
 
10525
10525
  ==============================================================================
10526
- Components: package-manager-detector@1.7.0
10526
+ Components: package-manager-detector@1.8.0
10527
10527
  Source files: node_modules/package-manager-detector/LICENSE
10528
10528
  ==============================================================================
10529
10529
  MIT License
@@ -1,3 +1,12 @@
1
+ // src/Export/image-save.ts
2
+ function createImageSaveOutput(adapter) {
3
+ return async (blob, filename) => {
4
+ const target = await adapter.pickTarget(filename, null);
5
+ if (!target) return false;
6
+ return await adapter.saveBlob(blob, filename, target) !== null;
7
+ };
8
+ }
9
+
1
10
  // src/Export/export-destination.ts
2
11
  function updateExportTargetExtension(targetPath, suggestedFilename) {
3
12
  const nextExtension = extensionOf(suggestedFilename);
@@ -27,5 +36,6 @@ function firstSuffixIndex(value) {
27
36
  }
28
37
 
29
38
  export {
39
+ createImageSaveOutput,
30
40
  updateExportTargetExtension
31
41
  };
@@ -101,4 +101,26 @@ declare function ExportDialog({ initial, exporting, error, destination, onExport
101
101
  /** Keep a user-edited target name while switching the selected export format. */
102
102
  declare function updateExportTargetExtension(targetPath: string, suggestedFilename: string): string;
103
103
 
104
- export { DEFAULT_OPTIONS, type ExportBlobSaver, type ExportConverterOverrides, type ExportDestinationControl, ExportDialog, type ExportDialogProps, type ExportFormat, type ExportOptions, FORMAT_EXTENSIONS, FORMAT_LABELS, type HtmlBundle, type HtmlStyle, buildExportFilename, loadLastExportOptions, runExport, saveExportOptions, updateExportTargetExtension };
104
+ /**
105
+ * Host persistence for the editor's raster-image exporters.
106
+ *
107
+ * Squisq renders both the cover image and the Dashboard image in the
108
+ * browser and hands the host a finished blob; DocBlocks owns where that
109
+ * blob lands. The two exporters share one contract upstream
110
+ * (`DashboardImageSaveOutput` is an alias of `CoverImageSaveOutput`), so
111
+ * they share one adapter here rather than two identical copies.
112
+ */
113
+ /** Host persistence shape required by the editor's image exporters. */
114
+ interface ImageSaveAdapter<TTarget> {
115
+ pickTarget(filename: string, currentTarget?: TTarget | null): Promise<TTarget | null>;
116
+ saveBlob(blob: Blob, filename: string, target?: TTarget | null): Promise<TTarget | null>;
117
+ }
118
+ type ImageSaveOutput = (blob: Blob, filename: string) => Promise<boolean | void>;
119
+ /**
120
+ * Adapt DocBlocks' two-step host destination flow to Squisq's rendered image
121
+ * output callback. The picker stays host-owned, and cancellation is reported
122
+ * as `false` so the export dialog remains open without showing an error.
123
+ */
124
+ declare function createImageSaveOutput<TTarget>(adapter: ImageSaveAdapter<TTarget>): ImageSaveOutput;
125
+
126
+ export { type ImageSaveAdapter as CoverImageSaveAdapter, type ImageSaveOutput as CoverImageSaveOutput, DEFAULT_OPTIONS, type ImageSaveAdapter as DashboardImageSaveAdapter, type ImageSaveOutput as DashboardImageSaveOutput, type ExportBlobSaver, type ExportConverterOverrides, type ExportDestinationControl, ExportDialog, type ExportDialogProps, type ExportFormat, type ExportOptions, FORMAT_EXTENSIONS, FORMAT_LABELS, type HtmlBundle, type HtmlStyle, type ImageSaveAdapter, type ImageSaveOutput, buildExportFilename, createImageSaveOutput as createCoverImageSaveOutput, createImageSaveOutput as createDashboardImageSaveOutput, createImageSaveOutput, loadLastExportOptions, runExport, saveExportOptions, updateExportTargetExtension };
@@ -1,6 +1,7 @@
1
1
  import {
2
+ createImageSaveOutput,
2
3
  updateExportTargetExtension
3
- } from "../chunk-BI7NVU6T.js";
4
+ } from "../chunk-FNSRCCBC.js";
4
5
  import {
5
6
  ExportDialog
6
7
  } from "../chunk-SIIEGOHY.js";
@@ -25,6 +26,9 @@ export {
25
26
  FORMAT_EXTENSIONS,
26
27
  FORMAT_LABELS,
27
28
  buildExportFilename,
29
+ createImageSaveOutput as createCoverImageSaveOutput,
30
+ createImageSaveOutput as createDashboardImageSaveOutput,
31
+ createImageSaveOutput,
28
32
  loadLastExportOptions,
29
33
  runExport,
30
34
  saveExportOptions,
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { FileSystemProvider, FileSystemEntry, FsErrorCode } from '@bendyline/docblocks/filesystem';
2
+ import { FileSystemEntry, FileSystemProvider, FsErrorCode } from '@bendyline/docblocks/filesystem';
3
3
  import { WorkspaceDescriptor } from '@bendyline/docblocks/workspace';
4
4
  import { EditorColorScheme } from '@bendyline/squisq-editor-react';
5
5
  import { CodeBlockCopyHandler } from '@bendyline/squisq-react';
@@ -12,11 +12,79 @@ import { MediaProvider } from '@bendyline/squisq/schemas';
12
12
  import { ContentContainer } from '@bendyline/squisq/storage';
13
13
  import { VideoExportModalProps } from '@bendyline/squisq-video-react';
14
14
  import { ExportBlobSaver } from './export/index.js';
15
- export { DEFAULT_OPTIONS, ExportDestinationControl, ExportDialog, ExportDialogProps, ExportFormat, ExportOptions, HtmlBundle, HtmlStyle, buildExportFilename, loadLastExportOptions, runExport, updateExportTargetExtension } from './export/index.js';
15
+ export { CoverImageSaveAdapter, CoverImageSaveOutput, DEFAULT_OPTIONS, CoverImageSaveAdapter as DashboardImageSaveAdapter, CoverImageSaveOutput as DashboardImageSaveOutput, ExportDestinationControl, ExportDialog, ExportDialogProps, ExportFormat, ExportOptions, HtmlBundle, HtmlStyle, CoverImageSaveAdapter as ImageSaveAdapter, CoverImageSaveOutput as ImageSaveOutput, buildExportFilename, createCoverImageSaveOutput, createCoverImageSaveOutput as createDashboardImageSaveOutput, createCoverImageSaveOutput as createImageSaveOutput, loadLastExportOptions, runExport, updateExportTargetExtension } from './export/index.js';
16
16
  import { DocumentSession, DocumentSessionSnapshot } from '@bendyline/docblocks/document';
17
17
  import 'react';
18
18
  import '@bendyline/squisq-formats/pptx';
19
19
 
20
+ /** Git decoration for a row — precomputed by FileExplorer so this node stays context-free. */
21
+ interface FileTreeNodeBadge {
22
+ kind: string;
23
+ glyph: string;
24
+ label: string;
25
+ }
26
+ /** Git context-menu actions, prebound to this entry's path. */
27
+ interface FileTreeNodeGitActions {
28
+ viewChanges?: () => void;
29
+ fileHistory?: () => void;
30
+ openOnRemote?: () => void;
31
+ }
32
+ /** Host-owned row action shown in both pointer and keyboard menus. */
33
+ interface FileTreeNodeAction {
34
+ label: string;
35
+ onSelect: () => void | Promise<void>;
36
+ disabled?: boolean;
37
+ }
38
+ interface FileTreeNodeProps {
39
+ entry: FileSystemEntry;
40
+ depth: number;
41
+ expanded: boolean;
42
+ selected: boolean;
43
+ badge?: FileTreeNodeBadge;
44
+ gitActions?: FileTreeNodeGitActions;
45
+ actions?: readonly FileTreeNodeAction[];
46
+ children?: FileSystemEntry[];
47
+ /**
48
+ * Roving tabindex: true only for the tree's single tab stop. Defaults to
49
+ * true so a node rendered on its own is still reachable.
50
+ */
51
+ focusable?: boolean;
52
+ /** 1-based position among siblings, for aria-posinset. */
53
+ posInSet?: number;
54
+ /** Number of siblings, for aria-setsize. */
55
+ setSize?: number;
56
+ /** The row took focus (click or arrow key) — move the roving tab stop. */
57
+ onRowFocus?: (path: string) => void;
58
+ onToggle: (path: string) => void;
59
+ onSelect: (path: string) => void;
60
+ /**
61
+ * Ask the user to confirm an irreversible delete. Resolve `false` to abort.
62
+ *
63
+ * Optional so a standalone `<FileTreeNode>` still asks before destroying
64
+ * something; hosts that have their own dialog (as `<DocBlocksShell>` does)
65
+ * pass it here so the prompt matches the product instead of being a native
66
+ * browser/Electron dialog.
67
+ */
68
+ confirmDelete?: (message: string) => boolean | Promise<boolean>;
69
+ onDelete: (path: string, kind: 'file' | 'directory') => Promise<void>;
70
+ onRename: (oldPath: string, newPath: string, kind: 'file' | 'directory') => Promise<void>;
71
+ /** Whether this document is present in the shell's cross-workspace pin list. */
72
+ pinned?: boolean;
73
+ /** Pin or unpin this file. Omitted for directories and standalone trees. */
74
+ onTogglePin?: (path: string) => void | Promise<void>;
75
+ draggable?: boolean;
76
+ dragging?: boolean;
77
+ dropTarget?: boolean;
78
+ onDragStart?: (event: React.DragEvent, entry: FileSystemEntry) => void;
79
+ onDragEnd?: () => void;
80
+ onDragOverEntry?: (event: React.DragEvent, entry: FileSystemEntry) => void;
81
+ onDropEntry?: (event: React.DragEvent, entry: FileSystemEntry) => void;
82
+ renderChildren?: (dirPath: string) => React.ReactNode;
83
+ /** Path-scoped directory loading failure, rendered outside the ARIA tree group. */
84
+ childError?: React.ReactNode;
85
+ }
86
+ declare function FileTreeNode({ entry, depth, expanded, selected, badge, gitActions, actions, focusable, posInSet, setSize, onRowFocus, onToggle, onSelect, confirmDelete, onDelete, onRename, pinned, onTogglePin, draggable, dragging, dropTarget, onDragStart, onDragEnd, onDragOverEntry, onDropEntry, renderChildren, childError, }: FileTreeNodeProps): react_jsx_runtime.JSX.Element;
87
+
20
88
  interface PinnedDocument {
21
89
  readonly workspaceId: string;
22
90
  readonly workspaceName: string;
@@ -78,6 +146,8 @@ interface FileExplorerProps {
78
146
  onTogglePin?: (path: string) => void | Promise<void>;
79
147
  /** Called when any entry is selected (file or directory). */
80
148
  onSelect?: (path: string, kind: 'file' | 'directory') => void;
149
+ /** Host-owned context actions for an entry. */
150
+ actionsForEntry?: (entry: FileSystemEntry) => readonly FileTreeNodeAction[];
81
151
  /**
82
152
  * Wraps destructive tree mutations so the active document session can
83
153
  * flush, cancel, or retarget itself before storage changes.
@@ -100,68 +170,7 @@ interface FileExplorerProps {
100
170
  /** Optional className for the root element. */
101
171
  className?: string;
102
172
  }
103
- declare function FileExplorer({ provider, metadataRefreshKey, activeFilePath, sortMode, onSortModeChange, activeWorkspaceId, pinnedDocuments, pinnedPaths, onPinnedDocumentSelect, onPinnedDocumentUnpin, onPinnedDocumentRename, onPinnedDocumentDelete, onTogglePin, onSelect, onTreeMutation, onTreeChange, onImportFiles, confirmDelete, moveDestinations, onMoveToWorkspace, className, }: FileExplorerProps): react_jsx_runtime.JSX.Element;
104
-
105
- /** Git decoration for a row — precomputed by FileExplorer so this node stays context-free. */
106
- interface FileTreeNodeBadge {
107
- kind: string;
108
- glyph: string;
109
- label: string;
110
- }
111
- /** Git context-menu actions, prebound to this entry's path. */
112
- interface FileTreeNodeGitActions {
113
- viewChanges?: () => void;
114
- fileHistory?: () => void;
115
- openOnRemote?: () => void;
116
- }
117
- interface FileTreeNodeProps {
118
- entry: FileSystemEntry;
119
- depth: number;
120
- expanded: boolean;
121
- selected: boolean;
122
- badge?: FileTreeNodeBadge;
123
- gitActions?: FileTreeNodeGitActions;
124
- children?: FileSystemEntry[];
125
- /**
126
- * Roving tabindex: true only for the tree's single tab stop. Defaults to
127
- * true so a node rendered on its own is still reachable.
128
- */
129
- focusable?: boolean;
130
- /** 1-based position among siblings, for aria-posinset. */
131
- posInSet?: number;
132
- /** Number of siblings, for aria-setsize. */
133
- setSize?: number;
134
- /** The row took focus (click or arrow key) — move the roving tab stop. */
135
- onRowFocus?: (path: string) => void;
136
- onToggle: (path: string) => void;
137
- onSelect: (path: string) => void;
138
- /**
139
- * Ask the user to confirm an irreversible delete. Resolve `false` to abort.
140
- *
141
- * Optional so a standalone `<FileTreeNode>` still asks before destroying
142
- * something; hosts that have their own dialog (as `<DocBlocksShell>` does)
143
- * pass it here so the prompt matches the product instead of being a native
144
- * browser/Electron dialog.
145
- */
146
- confirmDelete?: (message: string) => boolean | Promise<boolean>;
147
- onDelete: (path: string, kind: 'file' | 'directory') => Promise<void>;
148
- onRename: (oldPath: string, newPath: string, kind: 'file' | 'directory') => Promise<void>;
149
- /** Whether this document is present in the shell's cross-workspace pin list. */
150
- pinned?: boolean;
151
- /** Pin or unpin this file. Omitted for directories and standalone trees. */
152
- onTogglePin?: (path: string) => void | Promise<void>;
153
- draggable?: boolean;
154
- dragging?: boolean;
155
- dropTarget?: boolean;
156
- onDragStart?: (event: React.DragEvent, entry: FileSystemEntry) => void;
157
- onDragEnd?: () => void;
158
- onDragOverEntry?: (event: React.DragEvent, entry: FileSystemEntry) => void;
159
- onDropEntry?: (event: React.DragEvent, entry: FileSystemEntry) => void;
160
- renderChildren?: (dirPath: string) => React.ReactNode;
161
- /** Path-scoped directory loading failure, rendered outside the ARIA tree group. */
162
- childError?: React.ReactNode;
163
- }
164
- declare function FileTreeNode({ entry, depth, expanded, selected, badge, gitActions, focusable, posInSet, setSize, onRowFocus, onToggle, onSelect, confirmDelete, onDelete, onRename, pinned, onTogglePin, draggable, dragging, dropTarget, onDragStart, onDragEnd, onDragOverEntry, onDropEntry, renderChildren, childError, }: FileTreeNodeProps): react_jsx_runtime.JSX.Element;
173
+ declare function FileExplorer({ provider, metadataRefreshKey, activeFilePath, sortMode, onSortModeChange, activeWorkspaceId, pinnedDocuments, pinnedPaths, onPinnedDocumentSelect, onPinnedDocumentUnpin, onPinnedDocumentRename, onPinnedDocumentDelete, onTogglePin, onSelect, actionsForEntry, onTreeMutation, onTreeChange, onImportFiles, confirmDelete, moveDestinations, onMoveToWorkspace, className, }: FileExplorerProps): react_jsx_runtime.JSX.Element;
165
174
 
166
175
  /**
167
176
  * useFileTree — hook that reads from a FileSystemProvider,