@bendyline/docblocks-react 2.7.0 → 2.7.2
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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.txt +98 -48
- package/dist/{AiDiagrams-XWOM3YZX.js → AiDiagrams-LFV4YU6W.js} +2 -2
- package/dist/{AiEditorAssistant-M4LI2CRY.js → AiEditorAssistant-GN2KXKZD.js} +21 -6
- package/dist/{ExportDialog-L6FG6W3H.js → ExportDialog-JRVZCG3J.js} +2 -2
- package/dist/{ExportToolbarControls-BRCPZ7H3.js → ExportToolbarControls-2FEIHNMW.js} +28 -18
- package/dist/{GitToolbarControl-J4UYZDV6.js → GitToolbarControl-B7KG4MFP.js} +4 -4
- package/dist/{GitUI-LZW3IUXO.js → GitUI-RCWUZVS6.js} +2 -2
- package/dist/KeyboardShortcutsDialog-NOD4P25G.js +145 -0
- package/dist/{PresentationMaker-622NHMIN.js → PresentationMaker-ITNP5SDO.js} +2 -2
- package/dist/{Settings-DuXk6baH.d.ts → Settings-RDYvDDI0.d.ts} +13 -11
- package/dist/ShareDialog-XUA2OVGI.js +292 -0
- package/dist/{SpeechToolbarControl-UZQKGQWD.js → SpeechToolbarControl-CLU7RB2G.js} +2 -2
- package/dist/{TextFromNarration-XYRAB6O2.js → TextFromNarration-NITJQ4IB.js} +1 -1
- package/dist/{WorkspaceSearchPanel-OUQQ5DOM.js → WorkspaceSearchPanel-J6BKEZQJ.js} +8 -2
- package/dist/{chunk-UG4G7PJ4.js → chunk-5O5YTOXG.js} +1 -1
- package/dist/{chunk-VO2JYYQZ.js → chunk-6JJOGV6M.js} +5 -13
- package/dist/{chunk-X437UAF7.js → chunk-6MSHXQNB.js} +7 -2
- package/dist/{chunk-Q5ZVP5LV.js → chunk-BLUEZG7T.js} +40 -32
- package/dist/chunk-DICE7VBJ.js +77 -0
- package/dist/{chunk-MRUK56JS.js → chunk-GMA4KGGO.js} +7 -3
- package/dist/{chunk-BCQZTWE5.js → chunk-HRWEGPTY.js} +18 -4
- package/dist/chunk-K7XJDJUJ.js +126 -0
- package/dist/{chunk-5OZBGIIT.js → chunk-NAH52736.js} +86 -28
- package/dist/{chunk-YS4HVWIO.js → chunk-SPUPWCSI.js} +49 -1
- package/dist/{chunk-MMOTEQK6.js → chunk-SSB43524.js} +165 -70
- package/dist/{chunk-G4MFB3IO.js → chunk-VG434562.js} +2 -70
- package/dist/{chunk-OINKNX26.js → chunk-X3DDTJKR.js} +1 -1
- package/dist/{chunk-SGQKTKDX.js → chunk-Y5OE3HJC.js} +14 -4
- package/dist/editor.js +7 -5
- package/dist/export/index.d.ts +17 -6
- package/dist/export/index.js +4 -4
- package/dist/index.d.ts +24 -6
- package/dist/index.js +452 -247
- package/dist/proofing/index.js +11 -1
- package/dist/run-export-CS3HRNAZ.js +13 -0
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +1 -1
- package/package.json +9 -8
- package/src/styles/docblocks.css +481 -271
- package/dist/ShareDialog-N7GPM4SB.js +0 -310
- package/dist/chunk-EA4BO6E4.js +0 -73
- package/dist/run-export-47X5FTYZ.js +0 -11
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ Dropdown for switching between workspaces, creating new ones, and opening local
|
|
|
84
84
|
|
|
85
85
|
### AppMenu
|
|
86
86
|
|
|
87
|
-
Top-left brand menu with the app-wide **Settings** dialog (theme preference, global version-history default), optional "
|
|
87
|
+
Top-left brand menu with the app-wide **Settings** dialog (theme preference, global version-history default), optional "Back up all workspaces," a Help group (keyboard shortcuts, documentation), and the **About** dialog.
|
|
88
88
|
|
|
89
89
|
### ExportToolbarControls / ExportDialog
|
|
90
90
|
|
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: 381.
|
|
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,14 @@ 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.12.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-grid-react | 2.11.
|
|
23
|
-
| @bendyline/squisq-react | 2.
|
|
24
|
-
| @bendyline/squisq-video | 2.
|
|
25
|
-
| @bendyline/squisq-video-react | 2.
|
|
20
|
+
| @bendyline/squisq-editor-react | 2.12.1 | MIT | https://github.com/bendyline/squisq |
|
|
21
|
+
| @bendyline/squisq-formats | 2.7.1 | MIT | https://github.com/bendyline/squisq |
|
|
22
|
+
| @bendyline/squisq-grid-react | 2.11.23 | MIT | https://github.com/bendyline/squisq |
|
|
23
|
+
| @bendyline/squisq-react | 2.12.1 | MIT | https://github.com/bendyline/squisq |
|
|
24
|
+
| @bendyline/squisq-video | 2.4.0 | MIT | https://github.com/bendyline/squisq |
|
|
25
|
+
| @bendyline/squisq-video-react | 2.5.1 | MIT | https://github.com/bendyline/squisq |
|
|
26
26
|
| @braintree/sanitize-url | 7.1.2 | MIT | https://github.com/braintree/sanitize-url |
|
|
27
27
|
| @chevrotain/types | 11.1.2 | Apache-2.0 | https://github.com/Chevrotain/chevrotain |
|
|
28
28
|
| @ffmpeg/core | 0.12.10 | GPL-2.0-or-later | https://github.com/ffmpegwasm/ffmpeg.wasm |
|
|
@@ -251,6 +251,7 @@ This notice is included in the published npm tarball. Transitive packages instal
|
|
|
251
251
|
| locate-path | 5.0.0 | MIT | https://github.com/sindresorhus/locate-path |
|
|
252
252
|
| lodash-es | 4.18.1 | MIT | https://github.com/lodash/lodash |
|
|
253
253
|
| longest-streak | 3.1.0 | MIT | https://github.com/wooorm/longest-streak |
|
|
254
|
+
| lucide-react | 1.52.0 | ISC | https://github.com/lucide-icons/lucide |
|
|
254
255
|
| markdown-it | 14.3.2 | MIT | https://github.com/markdown-it/markdown-it |
|
|
255
256
|
| markdown-table | 3.0.4 | MIT | https://github.com/wooorm/markdown-table |
|
|
256
257
|
| marked | 16.4.2 | MIT | https://github.com/markedjs/marked |
|
|
@@ -436,7 +437,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
436
437
|
SOFTWARE.
|
|
437
438
|
|
|
438
439
|
==============================================================================
|
|
439
|
-
Components: @bendyline/squisq-calc@2.11.2, @bendyline/squisq-editor-react@2.
|
|
440
|
+
Components: @bendyline/squisq-calc@2.11.2, @bendyline/squisq-editor-react@2.12.1, @bendyline/squisq-formats@2.7.1, @bendyline/squisq-grid-react@2.11.23, @bendyline/squisq-react@2.12.1, @bendyline/squisq-video-react@2.5.1, @bendyline/squisq-video@2.4.0, @bendyline/squisq@2.12.0
|
|
440
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
442
|
==============================================================================
|
|
442
443
|
MIT License
|
|
@@ -636,7 +637,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
636
637
|
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.
|
|
637
638
|
|
|
638
639
|
==============================================================================
|
|
639
|
-
Components: @bendyline/squisq-editor-react@2.
|
|
640
|
+
Components: @bendyline/squisq-editor-react@2.12.1
|
|
640
641
|
Source files: node_modules/@bendyline/squisq-editor-react/NOTICE.md
|
|
641
642
|
==============================================================================
|
|
642
643
|
# Third-Party Notices for @bendyline/squisq-editor-react
|
|
@@ -666,6 +667,7 @@ Third-party components remain under their respective license terms.
|
|
|
666
667
|
| @tiptap/react | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
667
668
|
| @tiptap/starter-kit | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
668
669
|
| @tiptap/suggestion | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
670
|
+
| lucide-react | 1.52.0 | ISC | https://github.com/lucide-icons/lucide |
|
|
669
671
|
| mermaid | 11.17.2 | MIT | https://github.com/mermaid-js/mermaid |
|
|
670
672
|
| type-fest | 4.41.0 | MIT OR CC0-1.0 | https://github.com/sindresorhus/type-fest |
|
|
671
673
|
| @monaco-editor/react _(bundled)_ | 4.7.0 | MIT | https://github.com/suren-atoyan/monaco-react |
|
|
@@ -684,7 +686,7 @@ Exact third-party license texts for the bundled adapter, loader, state helper,
|
|
|
684
686
|
and Font Awesome assets are shipped in THIRD_PARTY_LICENSES.txt.
|
|
685
687
|
|
|
686
688
|
==============================================================================
|
|
687
|
-
Components: @bendyline/squisq-editor-react@2.
|
|
689
|
+
Components: @bendyline/squisq-editor-react@2.12.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
|
|
688
690
|
Source files: node_modules/@bendyline/squisq-editor-react/THIRD_PARTY_LICENSES.txt
|
|
689
691
|
==============================================================================
|
|
690
692
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-editor-react
|
|
@@ -1625,7 +1627,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1625
1627
|
**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.**
|
|
1626
1628
|
|
|
1627
1629
|
==============================================================================
|
|
1628
|
-
Components: @bendyline/squisq-formats@2.
|
|
1630
|
+
Components: @bendyline/squisq-formats@2.7.1
|
|
1629
1631
|
Source files: node_modules/@bendyline/squisq-formats/NOTICE.md
|
|
1630
1632
|
==============================================================================
|
|
1631
1633
|
# Third-Party Notices for @bendyline/squisq-formats
|
|
@@ -1651,7 +1653,7 @@ texts for these dependencies are included in their respective npm
|
|
|
1651
1653
|
distributions and source repositories.
|
|
1652
1654
|
|
|
1653
1655
|
==============================================================================
|
|
1654
|
-
Components: @bendyline/squisq-formats@2.
|
|
1656
|
+
Components: @bendyline/squisq-formats@2.7.1
|
|
1655
1657
|
Source files: node_modules/@bendyline/squisq-formats/THIRD_PARTY_LICENSES.txt
|
|
1656
1658
|
==============================================================================
|
|
1657
1659
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-formats
|
|
@@ -1833,7 +1835,7 @@ Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
|
|
1833
1835
|
to represent the company, product, or service to which they refer.**
|
|
1834
1836
|
|
|
1835
1837
|
==============================================================================
|
|
1836
|
-
Components: @bendyline/squisq-grid-react@2.11.
|
|
1838
|
+
Components: @bendyline/squisq-grid-react@2.11.23
|
|
1837
1839
|
Source files: node_modules/@bendyline/squisq-grid-react/NOTICE.md
|
|
1838
1840
|
==============================================================================
|
|
1839
1841
|
# Third-Party Notices for @bendyline/squisq-grid-react
|
|
@@ -1854,7 +1856,7 @@ Copyright and complete license texts for these dependencies are included in
|
|
|
1854
1856
|
their respective npm distributions and source repositories.
|
|
1855
1857
|
|
|
1856
1858
|
==============================================================================
|
|
1857
|
-
Components: @bendyline/squisq-grid-react@2.11.
|
|
1859
|
+
Components: @bendyline/squisq-grid-react@2.11.23
|
|
1858
1860
|
Source files: node_modules/@bendyline/squisq-grid-react/THIRD_PARTY_LICENSES.txt
|
|
1859
1861
|
==============================================================================
|
|
1860
1862
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-grid-react
|
|
@@ -1866,7 +1868,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
1866
1868
|
COMPONENTS
|
|
1867
1869
|
|
|
1868
1870
|
==============================================================================
|
|
1869
|
-
Components: @bendyline/squisq-react@2.
|
|
1871
|
+
Components: @bendyline/squisq-react@2.12.1
|
|
1870
1872
|
Source files: node_modules/@bendyline/squisq-react/NOTICE.md
|
|
1871
1873
|
==============================================================================
|
|
1872
1874
|
# Third-Party Notices for @bendyline/squisq-react
|
|
@@ -1891,7 +1893,7 @@ third-party license texts for the complete standalone bundle graph are shipped
|
|
|
1891
1893
|
in THIRD_PARTY_LICENSES.txt.
|
|
1892
1894
|
|
|
1893
1895
|
==============================================================================
|
|
1894
|
-
Components: @bendyline/squisq-react@2.
|
|
1896
|
+
Components: @bendyline/squisq-react@2.12.1
|
|
1895
1897
|
Source files: node_modules/@bendyline/squisq-react/THIRD_PARTY_LICENSES.txt
|
|
1896
1898
|
==============================================================================
|
|
1897
1899
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-react
|
|
@@ -6378,7 +6380,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
6378
6380
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
6379
6381
|
|
|
6380
6382
|
==============================================================================
|
|
6381
|
-
Components: @bendyline/squisq-video-react@2.
|
|
6383
|
+
Components: @bendyline/squisq-video-react@2.5.1
|
|
6382
6384
|
Source files: node_modules/@bendyline/squisq-video-react/COPYING.GPL-2.0.txt
|
|
6383
6385
|
==============================================================================
|
|
6384
6386
|
GNU GENERAL PUBLIC LICENSE
|
|
@@ -6721,7 +6723,7 @@ library. If this is what you want to do, use the GNU Lesser General
|
|
|
6721
6723
|
Public License instead of this License.
|
|
6722
6724
|
|
|
6723
6725
|
==============================================================================
|
|
6724
|
-
Components: @bendyline/squisq-video-react@2.
|
|
6726
|
+
Components: @bendyline/squisq-video-react@2.5.1
|
|
6725
6727
|
Source files: node_modules/@bendyline/squisq-video-react/NOTICE.md
|
|
6726
6728
|
==============================================================================
|
|
6727
6729
|
# Third-Party Notices for @bendyline/squisq-video-react
|
|
@@ -6777,7 +6779,7 @@ at the version listed above and from https://github.com/Vanilagy/mediabunny.
|
|
|
6777
6779
|
The complete MPL-2.0 text is shipped in THIRD_PARTY_LICENSES.txt.
|
|
6778
6780
|
|
|
6779
6781
|
==============================================================================
|
|
6780
|
-
Components: @bendyline/squisq-video-react@2.
|
|
6782
|
+
Components: @bendyline/squisq-video-react@2.5.1, @ffmpeg/core@0.12.10, @ffmpeg/ffmpeg@0.12.15, @ffmpeg/types@0.12.4, @ffmpeg/util@0.12.2
|
|
6781
6783
|
Source files: node_modules/@bendyline/squisq-video-react/THIRD_PARTY_LICENSES.txt
|
|
6782
6784
|
==============================================================================
|
|
6783
6785
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video-react
|
|
@@ -7219,7 +7221,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
7219
7221
|
SOFTWARE.
|
|
7220
7222
|
|
|
7221
7223
|
==============================================================================
|
|
7222
|
-
Components: @bendyline/squisq-video@2.
|
|
7224
|
+
Components: @bendyline/squisq-video@2.4.0
|
|
7223
7225
|
Source files: node_modules/@bendyline/squisq-video/NOTICE.md
|
|
7224
7226
|
==============================================================================
|
|
7225
7227
|
# Third-Party Notices for @bendyline/squisq-video
|
|
@@ -7244,7 +7246,7 @@ Copyright and complete license texts for the listed dependencies are included
|
|
|
7244
7246
|
in their respective npm distributions and source repositories.
|
|
7245
7247
|
|
|
7246
7248
|
==============================================================================
|
|
7247
|
-
Components: @bendyline/squisq-video@2.
|
|
7249
|
+
Components: @bendyline/squisq-video@2.4.0
|
|
7248
7250
|
Source files: node_modules/@bendyline/squisq-video/THIRD_PARTY_LICENSES.txt
|
|
7249
7251
|
==============================================================================
|
|
7250
7252
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video
|
|
@@ -7256,31 +7258,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
7256
7258
|
COMPONENTS
|
|
7257
7259
|
|
|
7258
7260
|
==============================================================================
|
|
7259
|
-
Components:
|
|
7260
|
-
Source files: node_modules/@bendyline/squisq/node_modules/ngeohash/LICENSE
|
|
7261
|
-
==============================================================================
|
|
7262
|
-
The MIT License (MIT)
|
|
7263
|
-
|
|
7264
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7265
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7266
|
-
in the Software without restriction, including without limitation the rights
|
|
7267
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7268
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
7269
|
-
furnished to do so, subject to the following conditions:
|
|
7270
|
-
|
|
7271
|
-
The above copyright notice and this permission notice shall be included in all
|
|
7272
|
-
copies or substantial portions of the Software.
|
|
7273
|
-
|
|
7274
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7275
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7276
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7277
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7278
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7279
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7280
|
-
SOFTWARE.
|
|
7281
|
-
|
|
7282
|
-
==============================================================================
|
|
7283
|
-
Components: @bendyline/squisq@2.11.19
|
|
7261
|
+
Components: @bendyline/squisq@2.12.0
|
|
7284
7262
|
Source files: node_modules/@bendyline/squisq/NOTICE.md
|
|
7285
7263
|
==============================================================================
|
|
7286
7264
|
# Third-Party Notices for @bendyline/squisq
|
|
@@ -7311,7 +7289,7 @@ third-party license texts for bundled code and data are shipped in
|
|
|
7311
7289
|
THIRD_PARTY_LICENSES.txt.
|
|
7312
7290
|
|
|
7313
7291
|
==============================================================================
|
|
7314
|
-
Components: @bendyline/squisq@2.
|
|
7292
|
+
Components: @bendyline/squisq@2.12.0
|
|
7315
7293
|
Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
|
|
7316
7294
|
==============================================================================
|
|
7317
7295
|
THIRD-PARTY LICENSES FOR @bendyline/squisq
|
|
@@ -11086,6 +11064,54 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
11086
11064
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
11087
11065
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
11088
11066
|
|
|
11067
|
+
==============================================================================
|
|
11068
|
+
Components: lucide-react@1.52.0
|
|
11069
|
+
Source files: node_modules/lucide-react/LICENSE
|
|
11070
|
+
==============================================================================
|
|
11071
|
+
ISC License
|
|
11072
|
+
|
|
11073
|
+
Copyright (c) 2026 Lucide Icons and Contributors
|
|
11074
|
+
|
|
11075
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
11076
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
11077
|
+
copyright notice and this permission notice appear in all copies.
|
|
11078
|
+
|
|
11079
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
11080
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11081
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
11082
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
11083
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
11084
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
11085
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
11086
|
+
|
|
11087
|
+
---
|
|
11088
|
+
|
|
11089
|
+
The following Lucide icons are derived from the Feather project:
|
|
11090
|
+
|
|
11091
|
+
airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
11092
|
+
|
|
11093
|
+
The MIT License (MIT) (for the icons listed above)
|
|
11094
|
+
|
|
11095
|
+
Copyright (c) 2013-present Cole Bemis
|
|
11096
|
+
|
|
11097
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11098
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11099
|
+
in the Software without restriction, including without limitation the rights
|
|
11100
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11101
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11102
|
+
furnished to do so, subject to the following conditions:
|
|
11103
|
+
|
|
11104
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11105
|
+
copies or substantial portions of the Software.
|
|
11106
|
+
|
|
11107
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11108
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11109
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
11110
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
11111
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
11112
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
11113
|
+
SOFTWARE.
|
|
11114
|
+
|
|
11089
11115
|
==============================================================================
|
|
11090
11116
|
Components: markdown-it@14.3.2
|
|
11091
11117
|
Source files: node_modules/markdown-it/LICENSE
|
|
@@ -11346,6 +11372,30 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
11346
11372
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
11347
11373
|
SOFTWARE.
|
|
11348
11374
|
|
|
11375
|
+
==============================================================================
|
|
11376
|
+
Components: ngeohash@0.6.4
|
|
11377
|
+
Source files: node_modules/ngeohash/LICENSE
|
|
11378
|
+
==============================================================================
|
|
11379
|
+
The MIT License (MIT)
|
|
11380
|
+
|
|
11381
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11382
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11383
|
+
in the Software without restriction, including without limitation the rights
|
|
11384
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11385
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11386
|
+
furnished to do so, subject to the following conditions:
|
|
11387
|
+
|
|
11388
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11389
|
+
copies or substantial portions of the Software.
|
|
11390
|
+
|
|
11391
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11392
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11393
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
11394
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
11395
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
11396
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
11397
|
+
SOFTWARE.
|
|
11398
|
+
|
|
11349
11399
|
==============================================================================
|
|
11350
11400
|
Components: orderedmap@2.1.1, w3c-keyname@2.2.8
|
|
11351
11401
|
Source files: node_modules/orderedmap/LICENSE, node_modules/w3c-keyname/LICENSE
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
AiDiagramDialog,
|
|
3
3
|
AiIllustratePanel,
|
|
4
4
|
DiagramPreview
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-X3DDTJKR.js";
|
|
6
|
+
import "./chunk-NAH52736.js";
|
|
7
7
|
import "./chunk-K4I3NJFL.js";
|
|
8
8
|
import "./chunk-56KO2LYN.js";
|
|
9
9
|
export {
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AiDiagramDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X3DDTJKR.js";
|
|
4
4
|
import {
|
|
5
5
|
useConfirmDialog
|
|
6
6
|
} from "./chunk-6B7G33D5.js";
|
|
7
7
|
import {
|
|
8
8
|
useMenuKeyboard
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GMA4KGGO.js";
|
|
10
10
|
import {
|
|
11
11
|
AI_INSTRUCTION_CHARACTERS,
|
|
12
12
|
AI_REVIEW_DOCUMENT_CHARACTERS,
|
|
13
13
|
AI_REWRITE_SELECTION_CHARACTERS,
|
|
14
|
+
aiReviewReplyWasCutOff,
|
|
14
15
|
applyAiReviewFinding,
|
|
15
16
|
buildDraftContinuation,
|
|
16
17
|
buildDraftRequest,
|
|
17
18
|
buildReviewRequest,
|
|
18
19
|
findUniqueExcerpt,
|
|
19
20
|
parseAiReviewResponse,
|
|
21
|
+
parseTruncatedAiReviewResponse,
|
|
20
22
|
sanitizeGeneratedMarkdown
|
|
21
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NAH52736.js";
|
|
22
24
|
import {
|
|
23
25
|
unavailableSentence,
|
|
24
26
|
useAiStatus
|
|
@@ -586,6 +588,7 @@ function AiReviewPanel({ ai, onClose }) {
|
|
|
586
588
|
const [reviewedSource, setReviewedSource] = useState2(null);
|
|
587
589
|
const [resolvedIds, setResolvedIds] = useState2(() => /* @__PURE__ */ new Set());
|
|
588
590
|
const [error, setError] = useState2(null);
|
|
591
|
+
const [cutOff, setCutOff] = useState2(false);
|
|
589
592
|
const [applyErrorId, setApplyErrorId] = useState2(null);
|
|
590
593
|
const handleRef = useRef(null);
|
|
591
594
|
const requestRef = useRef(0);
|
|
@@ -597,6 +600,7 @@ function AiReviewPanel({ ai, onClose }) {
|
|
|
597
600
|
setPhase("idle");
|
|
598
601
|
}, []);
|
|
599
602
|
const runReview = useCallback(() => {
|
|
603
|
+
setCutOff(false);
|
|
600
604
|
if (!markdownSource.trim()) {
|
|
601
605
|
setFindings([]);
|
|
602
606
|
setReviewedSource(markdownSource);
|
|
@@ -627,12 +631,16 @@ function AiReviewPanel({ ai, onClose }) {
|
|
|
627
631
|
setPhase("error");
|
|
628
632
|
return;
|
|
629
633
|
}
|
|
630
|
-
const
|
|
631
|
-
|
|
632
|
-
|
|
634
|
+
const truncated = event.completion.finishReason === "length" || aiReviewReplyWasCutOff(event.completion.text);
|
|
635
|
+
const parsed = truncated ? parseTruncatedAiReviewResponse(event.completion.text) : parseAiReviewResponse(event.completion.text);
|
|
636
|
+
if (!parsed || truncated && parsed.length === 0) {
|
|
637
|
+
setError(
|
|
638
|
+
truncated ? "The AI's reply was cut off before it finished a single finding. Try a shorter document, or choose a different model in AI settings." : "The AI returned a review DocBlocks could not read. Try reviewing again."
|
|
639
|
+
);
|
|
633
640
|
setPhase("error");
|
|
634
641
|
return;
|
|
635
642
|
}
|
|
643
|
+
setCutOff(truncated);
|
|
636
644
|
setFindings(parsed);
|
|
637
645
|
setReviewedSource(source);
|
|
638
646
|
setPhase("ready");
|
|
@@ -700,6 +708,13 @@ function AiReviewPanel({ ai, onClose }) {
|
|
|
700
708
|
" Reviewing this document\u2026"
|
|
701
709
|
] }),
|
|
702
710
|
phase === "error" && error && /* @__PURE__ */ jsx2("div", { className: "db-ai-review-empty db-ai-error", role: "alert", children: error }),
|
|
711
|
+
cutOff && phase === "ready" && /* @__PURE__ */ jsxs2("div", { className: "db-ai-review-stale", role: "status", children: [
|
|
712
|
+
"The AI ran out of room after ",
|
|
713
|
+
findings.length,
|
|
714
|
+
" ",
|
|
715
|
+
findings.length === 1 ? "finding" : "findings",
|
|
716
|
+
", so there may be more. After you apply these, review again to look for others."
|
|
717
|
+
] }),
|
|
703
718
|
documentChanged && phase === "ready" && /* @__PURE__ */ jsx2("div", { className: "db-ai-review-stale", role: "status", children: "The document changed after this review. Suggestions are applied only when their original text still matches exactly." }),
|
|
704
719
|
phase === "ready" && visibleFindings.length === 0 && /* @__PURE__ */ jsx2("div", { className: "db-ai-review-empty", children: findings.length === 0 ? "Nothing to report." : "All findings have been handled." }),
|
|
705
720
|
/* @__PURE__ */ jsx2("ol", { className: "db-ai-review-list", children: visibleFindings.map((finding) => {
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./chunk-UMEDHMT7.js";
|
|
8
8
|
import {
|
|
9
9
|
useMenuKeyboard
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GMA4KGGO.js";
|
|
11
11
|
import {
|
|
12
12
|
createImageSaveOutput,
|
|
13
13
|
hostErrorDetail
|
|
14
14
|
} from "./chunk-UONFWKJ7.js";
|
|
15
15
|
import {
|
|
16
16
|
buildExportFilename
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5O5YTOXG.js";
|
|
18
18
|
import {
|
|
19
19
|
loadTransformStyleSummaries
|
|
20
20
|
} from "./chunk-YBEYTVU2.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
loadLastExportOptions,
|
|
24
24
|
resolveExportDialogInitial,
|
|
25
25
|
saveExportOptions
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6MSHXQNB.js";
|
|
27
27
|
import {
|
|
28
28
|
Dialog
|
|
29
29
|
} from "./chunk-56KO2LYN.js";
|
|
@@ -38,19 +38,23 @@ import {
|
|
|
38
38
|
useRef,
|
|
39
39
|
useMemo
|
|
40
40
|
} from "react";
|
|
41
|
-
import {
|
|
41
|
+
import {
|
|
42
|
+
useEditorContext,
|
|
43
|
+
usePreviewSettings,
|
|
44
|
+
usePreviewSettingsOptional
|
|
45
|
+
} from "@bendyline/squisq-editor-react";
|
|
42
46
|
import { readFrontmatterThemeId } from "@bendyline/squisq/markdown";
|
|
43
47
|
import { getThemeSummaries } from "@bendyline/squisq/schemas";
|
|
44
48
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
45
49
|
var ExportDialog = lazy(
|
|
46
|
-
() => import("./ExportDialog-
|
|
50
|
+
() => import("./ExportDialog-JRVZCG3J.js").then((module) => ({ default: module.ExportDialog }))
|
|
47
51
|
);
|
|
48
52
|
var ShareDialog = lazy(
|
|
49
|
-
() => import("./ShareDialog-
|
|
53
|
+
() => import("./ShareDialog-XUA2OVGI.js").then((module) => ({ default: module.ShareDialog }))
|
|
50
54
|
);
|
|
51
55
|
var runExportModulePromise = null;
|
|
52
56
|
function loadRunExportModule() {
|
|
53
|
-
runExportModulePromise ?? (runExportModulePromise = import("./run-export-
|
|
57
|
+
runExportModulePromise ?? (runExportModulePromise = import("./run-export-CS3HRNAZ.js"));
|
|
54
58
|
return runExportModulePromise;
|
|
55
59
|
}
|
|
56
60
|
var ExportCancelledError = class extends Error {
|
|
@@ -168,9 +172,12 @@ function ExportToolbarControls({
|
|
|
168
172
|
() => readFrontmatterThemeId(markdownDoc?.frontmatter),
|
|
169
173
|
[markdownDoc]
|
|
170
174
|
);
|
|
175
|
+
const previewSettings = usePreviewSettingsOptional();
|
|
176
|
+
const previewThemeId = previewSettings?.activeThemeId;
|
|
177
|
+
const documentThemes = previewSettings?.customThemes;
|
|
171
178
|
const dialogInitial = useMemo(
|
|
172
|
-
() => resolveExportDialogInitial(lastOptions, docThemeId, defaultThemeId),
|
|
173
|
-
[lastOptions, docThemeId, defaultThemeId]
|
|
179
|
+
() => resolveExportDialogInitial(lastOptions, previewThemeId ?? docThemeId, defaultThemeId),
|
|
180
|
+
[lastOptions, previewThemeId, docThemeId, defaultThemeId]
|
|
174
181
|
);
|
|
175
182
|
useEffect(() => {
|
|
176
183
|
if (!menuOpen) return;
|
|
@@ -243,25 +250,25 @@ function ExportToolbarControls({
|
|
|
243
250
|
);
|
|
244
251
|
const handleOpenDialog = useCallback(() => {
|
|
245
252
|
setFileShare(false);
|
|
246
|
-
|
|
253
|
+
closeMenu(true);
|
|
247
254
|
setExportError(null);
|
|
248
255
|
setDialogOpen(true);
|
|
249
256
|
void refreshDestination(dialogInitial);
|
|
250
|
-
}, [dialogInitial, refreshDestination]);
|
|
257
|
+
}, [closeMenu, dialogInitial, refreshDestination]);
|
|
251
258
|
const handleCloseDialog = useCallback(() => {
|
|
252
259
|
setDialogOpen(false);
|
|
253
260
|
setExportError(null);
|
|
254
261
|
}, []);
|
|
255
262
|
const handleOpenShareDialog = useCallback(() => {
|
|
256
|
-
|
|
263
|
+
closeMenu(true);
|
|
257
264
|
setShareDialogOpen(true);
|
|
258
|
-
}, []);
|
|
265
|
+
}, [closeMenu]);
|
|
259
266
|
const handleCloseShareDialog = useCallback(() => {
|
|
260
267
|
setShareDialogOpen(false);
|
|
261
268
|
}, []);
|
|
262
269
|
const handleOpenVideoModal = useCallback(
|
|
263
270
|
async (outputFormat) => {
|
|
264
|
-
|
|
271
|
+
closeMenu(true);
|
|
265
272
|
setVideoOutputFormat(outputFormat);
|
|
266
273
|
setVideoModalOpen(true);
|
|
267
274
|
setVideoLoadError(null);
|
|
@@ -287,7 +294,7 @@ function ExportToolbarControls({
|
|
|
287
294
|
setVideoLoading(false);
|
|
288
295
|
}
|
|
289
296
|
},
|
|
290
|
-
[markdownSource, selectedFile, videoModules, workspaceContainer]
|
|
297
|
+
[closeMenu, markdownSource, selectedFile, videoModules, workspaceContainer]
|
|
291
298
|
);
|
|
292
299
|
const handleCloseVideoModal = useCallback(() => {
|
|
293
300
|
setVideoModalOpen(false);
|
|
@@ -366,7 +373,7 @@ function ExportToolbarControls({
|
|
|
366
373
|
);
|
|
367
374
|
const handleQuickExport = useCallback(async () => {
|
|
368
375
|
if (!lastOptions) return;
|
|
369
|
-
|
|
376
|
+
closeMenu(true);
|
|
370
377
|
setExporting(true);
|
|
371
378
|
setExportError(null);
|
|
372
379
|
try {
|
|
@@ -396,6 +403,7 @@ function ExportToolbarControls({
|
|
|
396
403
|
setExporting(false);
|
|
397
404
|
}
|
|
398
405
|
}, [
|
|
406
|
+
closeMenu,
|
|
399
407
|
destinationAdapter,
|
|
400
408
|
lastOptions,
|
|
401
409
|
markdownSource,
|
|
@@ -420,6 +428,7 @@ function ExportToolbarControls({
|
|
|
420
428
|
trigger === "button" ? /* @__PURE__ */ jsx(
|
|
421
429
|
"button",
|
|
422
430
|
{
|
|
431
|
+
ref: triggerRef,
|
|
423
432
|
type: "button",
|
|
424
433
|
className: "squisq-toolbar-button db-toolbar-export-trigger",
|
|
425
434
|
onClick: handleOpenDialog,
|
|
@@ -498,7 +507,7 @@ function ExportToolbarControls({
|
|
|
498
507
|
className: "db-toolbar-menu-item",
|
|
499
508
|
onClick: () => {
|
|
500
509
|
setFileShare(true);
|
|
501
|
-
|
|
510
|
+
closeMenu(true);
|
|
502
511
|
setExportError(null);
|
|
503
512
|
setDialogOpen(true);
|
|
504
513
|
},
|
|
@@ -537,7 +546,7 @@ function ExportToolbarControls({
|
|
|
537
546
|
tabIndex: -1,
|
|
538
547
|
className: "db-toolbar-menu-item",
|
|
539
548
|
onClick: () => {
|
|
540
|
-
|
|
549
|
+
closeMenu(true);
|
|
541
550
|
setAudioDialogOpen(true);
|
|
542
551
|
},
|
|
543
552
|
children: "Export audio..."
|
|
@@ -586,6 +595,7 @@ function ExportToolbarControls({
|
|
|
586
595
|
ExportDialog,
|
|
587
596
|
{
|
|
588
597
|
initial: dialogInitial,
|
|
598
|
+
documentThemes,
|
|
589
599
|
exporting,
|
|
590
600
|
error: exportError,
|
|
591
601
|
destination: destinationAdapter && destinationAdapter.showDestination !== false ? {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-6E635KCJ.js";
|
|
8
8
|
import {
|
|
9
9
|
useMenuKeyboard
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GMA4KGGO.js";
|
|
11
11
|
|
|
12
12
|
// src/Git/GitToolbarControl.tsx
|
|
13
13
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -31,15 +31,15 @@ function GitToolbarControl({ selectedFile }) {
|
|
|
31
31
|
const dirty = isFileDirty(git.status, selectedFile);
|
|
32
32
|
const label = dirty ? "Git actions (file modified)" : "Git actions";
|
|
33
33
|
const openDiff = () => {
|
|
34
|
-
closeMenu(
|
|
34
|
+
closeMenu(true);
|
|
35
35
|
git.openDialog({ kind: "diff", path: selectedFile });
|
|
36
36
|
};
|
|
37
37
|
const openHistory = () => {
|
|
38
|
-
closeMenu(
|
|
38
|
+
closeMenu(true);
|
|
39
39
|
git.openDialog({ kind: "history", path: selectedFile });
|
|
40
40
|
};
|
|
41
41
|
const openOnRemote = () => {
|
|
42
|
-
closeMenu(
|
|
42
|
+
closeMenu(true);
|
|
43
43
|
git.openOnRemote(selectedFile);
|
|
44
44
|
};
|
|
45
45
|
return /* @__PURE__ */ jsxs("div", { className: "db-toolbar-menu", ref: rootRef, children: [
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-6E635KCJ.js";
|
|
12
12
|
import {
|
|
13
13
|
useMenuKeyboard
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GMA4KGGO.js";
|
|
15
15
|
import {
|
|
16
16
|
Dialog
|
|
17
17
|
} from "./chunk-56KO2LYN.js";
|
|
@@ -36,7 +36,7 @@ function GitStatusBar() {
|
|
|
36
36
|
}, [menuOpen]);
|
|
37
37
|
const runItem = useCallback(
|
|
38
38
|
(action) => {
|
|
39
|
-
closeMenu(
|
|
39
|
+
closeMenu(true);
|
|
40
40
|
action();
|
|
41
41
|
},
|
|
42
42
|
[closeMenu]
|