@esportsplus/ui 0.63.0 → 0.64.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.
- package/.audit/audit.json +2 -2
- package/.audit/rules-audit.md +2 -2
- package/README.md +15 -18
- package/RULES.md +80 -9
- package/bin/agent-cli +300 -0
- package/build/components/accordion/index.d.ts +4 -0
- package/build/components/accordion/index.js +13 -10
- package/build/components/breadcrumb/index.d.ts +1 -0
- package/build/components/breadcrumb/index.js +43 -37
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/kbd.d.ts +1 -1
- package/build/components/button/kbd.js +17 -15
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/split.js +14 -16
- package/build/components/capslock/scss/index.scss +1 -1
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/chat/minimap/index.js +4 -5
- package/build/components/checkbox/group.d.ts +1 -0
- package/build/components/checkbox/group.js +21 -20
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/color-picker/index.js +6 -6
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/index.d.ts +1 -1
- package/build/components/command/palette.d.ts +13 -9
- package/build/components/command/palette.js +143 -152
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/command/search.d.ts +5 -7
- package/build/components/command/search.js +6 -26
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/editor/code/commands.js +1 -1
- package/build/components/editor/code/document.d.ts +1 -3
- package/build/components/editor/code/document.js +1 -1
- package/build/components/editor/code/editor.d.ts +18 -6
- package/build/components/editor/code/editor.js +9 -7
- package/build/components/editor/code/features.js +27 -18
- package/build/components/editor/code/find.d.ts +1 -1
- package/build/components/editor/code/find.js +5 -6
- package/build/components/editor/code/folding.d.ts +3 -5
- package/build/components/editor/code/folding.js +2 -15
- package/build/components/editor/code/gutter.js +2 -2
- package/build/components/editor/code/index.d.ts +1 -0
- package/build/components/editor/code/index.js +1 -0
- package/build/components/editor/code/minimap.d.ts +3 -1
- package/build/components/editor/code/minimap.js +31 -5
- package/build/components/editor/code/services/model.js +2 -1
- package/build/components/editor/code/syntax.js +2 -1
- package/build/components/editor/code/view.d.ts +8 -2
- package/build/components/editor/code/view.js +37 -56
- package/build/components/editor/diffs/index.d.ts +1 -0
- package/build/components/editor/diffs/index.js +1 -0
- package/build/components/editor/diffs/merge.js +16 -17
- package/build/components/editor/diffs/view.js +10 -11
- package/build/components/editor/markdown/editing.d.ts +2 -1
- package/build/components/editor/markdown/editing.js +14 -5
- package/build/components/editor/markdown/format.d.ts +1 -1
- package/build/components/editor/markdown/format.js +116 -26
- package/build/components/editor/markdown/layout.js +2 -1
- package/build/components/editor/markdown/model.d.ts +1 -2
- package/build/components/editor/markdown/model.js +1 -29
- package/build/components/editor/markdown/render.js +1 -1
- package/build/components/editor/markdown/template.d.ts +3 -10
- package/build/components/editor/markdown/template.js +2 -29
- package/build/components/editor/markdown/toolbar.d.ts +2 -2
- package/build/components/editor/markdown/toolbar.js +90 -126
- package/build/components/editor/markdown/view.d.ts +1 -1
- package/build/components/editor/markdown/view.js +54 -87
- package/build/components/editor/tree/drag.js +1 -1
- package/build/components/editor/tree/find.js +70 -64
- package/build/components/editor/tree/template.js +8 -7
- package/build/components/editor/viewer/model.d.ts +1 -1
- package/build/components/editor/viewer/template.js +4 -26
- package/build/components/editor/workspace/keybindings.d.ts +1 -1
- package/build/components/editor/workspace/model.d.ts +12 -2
- package/build/components/editor/workspace/model.js +87 -31
- package/build/components/editor/workspace/session.d.ts +2 -6
- package/build/components/editor/workspace/session.js +99 -16
- package/build/components/editor/workspace/status.d.ts +1 -1
- package/build/components/editor/workspace/strip.d.ts +10 -9
- package/build/components/editor/workspace/strip.js +99 -141
- package/build/components/editor/workspace/tabs.d.ts +2 -4
- package/build/components/editor/workspace/tabs.js +1 -14
- package/build/components/editor/workspace/template.d.ts +1 -1
- package/build/components/editor/workspace/template.js +305 -435
- package/build/components/error/index.d.ts +4 -13
- package/build/components/error/index.js +53 -172
- package/build/components/error/scss/index.scss +1 -1
- package/build/components/form/action.d.ts +2 -2
- package/build/components/form/action.js +2 -2
- package/build/components/form/input.d.ts +3 -3
- package/build/components/form/input.js +32 -10
- package/build/components/frame/scss/index.scss +1 -1
- package/build/components/group/index.js +96 -9
- package/build/components/group/scss/index.scss +1 -1
- package/build/components/heatmap/scss/index.scss +1 -1
- package/build/components/highlight/index.js +55 -48
- package/build/components/highlight/scss/index.scss +1 -1
- package/build/components/icon/scss/index.scss +1 -1
- package/build/components/image/scss/index.scss +1 -1
- package/build/components/index.d.ts +3 -6
- package/build/components/index.js +3 -6
- package/build/components/inline-edit/index.d.ts +2 -2
- package/build/components/inline-edit/index.js +5 -5
- package/build/components/inline-edit/rich.js +4 -4
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/inline-edit/status.js +1 -0
- package/build/components/input/index.d.ts +4 -0
- package/build/components/input/index.js +3 -1
- package/build/components/input/otp.d.ts +18 -0
- package/build/components/input/otp.js +112 -0
- package/build/components/input/password.d.ts +15 -0
- package/build/components/input/password.js +163 -0
- package/build/components/input/scrub.d.ts +1 -0
- package/build/components/input/scrub.js +103 -89
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/input/tag.d.ts +5 -0
- package/build/components/input/tag.js +116 -69
- package/build/components/json/download.js +1 -1
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/marquee/index.js +1 -1
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/nav/scss/index.scss +1 -1
- package/build/components/nav/tree.d.ts +2 -1
- package/build/components/nav/tree.js +6 -5
- package/build/components/notification/index.js +3 -3
- package/build/components/notification/scss/index.scss +1 -1
- package/build/components/overlay/popup.d.ts +2 -2
- package/build/components/overlay/popup.js +1 -1
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/pagination/arrows.js +2 -3
- package/build/components/pagination/cards.js +2 -3
- package/build/components/pagination/index.d.ts +2 -3
- package/build/components/pagination/index.js +18 -13
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/progress/index.js +1 -1
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/progress/text.js +3 -3
- package/build/components/range/filter.d.ts +7 -1
- package/build/components/range/filter.js +188 -171
- package/build/components/range/index.d.ts +14 -9
- package/build/components/range/index.js +11 -8
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/range/surface.d.ts +21 -0
- package/build/components/range/surface.js +144 -0
- package/build/components/relative-time/index.js +2 -2
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/{preview/header.d.ts → search/button.d.ts} +3 -3
- package/build/components/search/button.js +18 -0
- package/build/components/search/index.d.ts +8 -0
- package/build/components/search/index.js +5 -0
- package/build/components/search/input.d.ts +9 -0
- package/build/components/search/input.js +23 -0
- package/build/components/search/parts.d.ts +5 -0
- package/build/components/search/parts.js +17 -0
- package/build/components/search/scss/index.scss +2 -0
- package/build/components/select/expand.js +4 -5
- package/build/components/select/index.d.ts +7 -7
- package/build/components/select/index.js +127 -117
- package/build/components/select/placement.js +8 -1
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/{panels → shell}/group.d.ts +21 -5
- package/build/components/shell/group.js +336 -0
- package/build/components/shell/index.d.ts +15 -17
- package/build/components/shell/index.js +583 -238
- package/build/components/shell/model.d.ts +94 -0
- package/build/components/{panels → shell}/model.js +199 -73
- package/build/components/shell/resize.d.ts +5 -0
- package/build/components/{panels → shell}/resize.js +54 -30
- package/build/components/shell/scss/index.scss +1 -1
- package/build/components/shell/sidebar.d.ts +34 -0
- package/build/components/shell/sidebar.js +362 -0
- package/build/components/{panels → shell}/subtree.js +7 -8
- package/build/components/shortcut-recorder/index.d.ts +5 -4
- package/build/components/shortcut-recorder/index.js +69 -44
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/index.d.ts +16 -2
- package/build/components/sortable/index.js +237 -134
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/story/index.js +46 -34
- package/build/components/story/scss/index.scss +1 -1
- package/build/components/surface-field/engine.d.ts +2 -0
- package/build/components/surface-field/engine.js +86 -33
- package/build/components/surface-field/index.d.ts +26 -4
- package/build/components/surface-field/index.js +35 -4
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/surface-field/surface.d.ts +13 -1
- package/build/components/surface-field/surface.js +149 -58
- package/build/components/tasklist/index.d.ts +1 -4
- package/build/components/tasklist/index.js +36 -43
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/textarea/index.d.ts +1 -1
- package/build/components/textarea/index.js +14 -14
- package/build/components/theme/scss/index.scss +1 -1
- package/build/components/theme/shared.d.ts +1 -2
- package/build/components/theme/shared.js +2 -5
- package/build/components/toast/index.d.ts +3 -3
- package/build/components/toast/index.js +3 -3
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/toolbar/index.d.ts +91 -0
- package/build/components/toolbar/index.js +1281 -0
- package/build/components/toolbar/scss/index.scss +2 -0
- package/build/components/tooltip/menu.d.ts +9 -8
- package/build/components/tooltip/menu.js +397 -279
- package/build/components/tooltip/onclick.d.ts +2 -0
- package/build/components/tooltip/onclick.js +13 -4
- package/build/components/tooltip/onhover.d.ts +3 -1
- package/build/components/tooltip/onhover.js +10 -9
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/tooltip/shared.d.ts +4 -4
- package/build/components/tooltip/shared.js +27 -46
- package/build/components/tooltip/utilities.d.ts +5 -2
- package/build/components/tooltip/utilities.js +169 -9
- package/build/components/typewriter/rotate.js +6 -6
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/index.js +1 -1
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/css-utilities/font/montserrat/OFL.txt +93 -0
- package/build/shared/drag.d.ts +15 -9
- package/build/shared/drag.js +41 -28
- package/build/shared/placement.d.ts +39 -0
- package/build/shared/placement.js +55 -0
- package/build/shared/transition.js +1 -1
- package/build/shared/viewport.d.ts +1 -2
- package/build/shared/viewport.js +1 -4
- package/package.json +2 -5
- package/src/components/accordion/index.ts +12 -5
- package/src/components/announcement/index.ts +1 -1
- package/src/components/breadcrumb/index.ts +13 -3
- package/src/components/breadcrumb/scss/index.scss +6 -6
- package/src/components/breadcrumb/scss/variables.scss +7 -0
- package/src/components/button/kbd.ts +22 -17
- package/src/components/button/scss/index.scss +69 -76
- package/src/components/button/scss/variables.scss +51 -18
- package/src/components/button/split.ts +12 -8
- package/src/components/capslock/index.ts +2 -0
- package/src/components/capslock/scss/index.scss +21 -21
- package/src/components/card/scss/index.scss +16 -0
- package/src/components/card/scss/variables.scss +25 -2
- package/src/components/chat/minimap/index.ts +5 -6
- package/src/components/chat/minimap/scss/index.scss +12 -11
- package/src/components/chat/minimap/scss/variables.scss +23 -17
- package/src/components/checkbox/group.ts +8 -7
- package/src/components/checkbox/scss/index.scss +59 -35
- package/src/components/checkbox/scss/variables.scss +24 -17
- package/src/components/color-picker/index.ts +6 -6
- package/src/components/color-picker/scss/index.scss +35 -22
- package/src/components/color-picker/scss/variables.scss +11 -3
- package/src/components/command/index.ts +1 -1
- package/src/components/command/palette.ts +174 -166
- package/src/components/command/scss/index.scss +18 -51
- package/src/components/command/scss/variables.scss +37 -71
- package/src/components/command/search.ts +9 -31
- package/src/components/counter/index.ts +22 -22
- package/src/components/counter/scss/variables.scss +10 -7
- package/src/components/editor/code/commands.ts +1 -1
- package/src/components/editor/code/document.ts +0 -2
- package/src/components/editor/code/editor.ts +31 -13
- package/src/components/editor/code/features.ts +39 -24
- package/src/components/editor/code/find.ts +5 -6
- package/src/components/editor/code/folding.ts +3 -21
- package/src/components/editor/code/gutter.ts +2 -2
- package/src/components/editor/code/index.ts +1 -0
- package/src/components/editor/code/minimap.ts +39 -5
- package/src/components/editor/code/scss/_editor.scss +28 -21
- package/src/components/editor/code/scss/_features.scss +19 -21
- package/src/components/editor/code/scss/_services.scss +14 -11
- package/src/components/editor/code/scss/variables.scss +31 -12
- package/src/components/editor/code/services/model.ts +2 -1
- package/src/components/editor/code/syntax.ts +2 -1
- package/src/components/editor/code/view.ts +22 -45
- package/src/components/editor/diffs/index.ts +1 -0
- package/src/components/editor/diffs/merge.ts +9 -10
- package/src/components/editor/diffs/scss/_diffs.scss +39 -63
- package/src/components/editor/diffs/scss/_merge.scss +10 -2
- package/src/components/editor/diffs/scss/index.scss +0 -1
- package/src/components/editor/diffs/scss/variables.scss +36 -17
- package/src/components/editor/diffs/view.ts +8 -9
- package/src/components/editor/markdown/editing.ts +18 -6
- package/src/components/editor/markdown/format.ts +180 -32
- package/src/components/editor/markdown/layout.ts +2 -1
- package/src/components/editor/markdown/model.ts +0 -38
- package/src/components/editor/markdown/render.ts +1 -1
- package/src/components/editor/markdown/scss/index.scss +38 -52
- package/src/components/editor/markdown/scss/variables.scss +24 -50
- package/src/components/editor/markdown/template.ts +3 -63
- package/src/components/editor/markdown/toolbar.ts +76 -127
- package/src/components/editor/markdown/view.ts +9 -32
- package/src/components/editor/tree/drag.ts +1 -1
- package/src/components/editor/tree/find.ts +61 -64
- package/src/components/editor/tree/scss/index.scss +29 -30
- package/src/components/editor/tree/scss/variables.scss +34 -15
- package/src/components/editor/tree/template.ts +9 -9
- package/src/components/editor/viewer/model.ts +1 -1
- package/src/components/editor/viewer/scss/_viewer.scss +4 -5
- package/src/components/editor/viewer/scss/variables.scss +3 -3
- package/src/components/editor/viewer/template.ts +4 -31
- package/src/components/editor/workspace/keybindings.ts +1 -1
- package/src/components/editor/workspace/model.ts +136 -37
- package/src/components/editor/workspace/scss/_keybindings.scss +3 -20
- package/src/components/editor/workspace/scss/_status.scss +0 -1
- package/src/components/editor/workspace/scss/_tabs.scss +2 -41
- package/src/components/editor/workspace/scss/index.scss +49 -71
- package/src/components/editor/workspace/scss/variables.scss +1 -135
- package/src/components/editor/workspace/session.ts +138 -18
- package/src/components/editor/workspace/status.ts +1 -1
- package/src/components/editor/workspace/strip.ts +96 -115
- package/src/components/editor/workspace/tabs.ts +2 -23
- package/src/components/editor/workspace/template.ts +323 -458
- package/src/components/error/index.ts +47 -183
- package/src/components/error/scss/index.scss +34 -35
- package/src/components/error/scss/variables.scss +14 -26
- package/src/components/filter/scss/index.scss +6 -5
- package/src/components/form/action.ts +7 -7
- package/src/components/form/input.ts +25 -12
- package/src/components/frame/scss/index.scss +5 -5
- package/src/components/group/index.ts +77 -2
- package/src/components/group/scss/index.scss +164 -0
- package/src/components/group/scss/variables.scss +110 -2
- package/src/components/heatmap/scss/variables.scss +13 -10
- package/src/components/highlight/index.ts +87 -79
- package/src/components/highlight/scss/index.scss +6 -16
- package/src/components/highlight/scss/variables.scss +33 -5
- package/src/components/icon/scss/index.scss +2 -2
- package/src/components/icon/scss/variables.scss +14 -1
- package/src/components/image/scss/index.scss +9 -9
- package/src/components/image/scss/variables.scss +1 -1
- package/src/components/index.ts +3 -6
- package/src/components/inline-edit/index.ts +8 -6
- package/src/components/inline-edit/rich.ts +8 -8
- package/src/components/inline-edit/scss/index.scss +50 -36
- package/src/components/inline-edit/scss/variables.scss +28 -18
- package/src/components/inline-edit/status.ts +2 -0
- package/src/components/input/index.ts +3 -1
- package/src/components/input/otp.ts +175 -0
- package/src/components/input/password.ts +178 -0
- package/src/components/input/scrub.ts +197 -178
- package/src/components/input/scss/index.scss +344 -4
- package/src/components/input/scss/variables.scss +234 -65
- package/src/components/input/tag.ts +98 -53
- package/src/components/json/download.ts +2 -5
- package/src/components/link/scss/index.scss +3 -5
- package/src/components/loading/scss/index.scss +1 -0
- package/src/components/loading/scss/variables.scss +1 -0
- package/src/components/marquee/index.ts +1 -1
- package/src/components/marquee/scss/index.scss +11 -4
- package/src/components/nav/scss/index.scss +10 -26
- package/src/components/nav/scss/variables.scss +13 -23
- package/src/components/nav/tree.ts +10 -8
- package/src/components/notification/index.ts +3 -3
- package/src/components/notification/scss/index.scss +7 -14
- package/src/components/notification/scss/variables.scss +10 -2
- package/src/components/number/index.ts +1 -1
- package/src/components/overlay/popup.ts +2 -2
- package/src/components/overlay/scss/index.scss +60 -51
- package/src/components/page/scss/variables.scss +1 -0
- package/src/components/pagination/arrows.ts +2 -3
- package/src/components/pagination/cards.ts +2 -3
- package/src/components/pagination/index.ts +11 -9
- package/src/components/pagination/scss/index.scss +38 -101
- package/src/components/pagination/scss/variables.scss +24 -75
- package/src/components/progress/index.ts +1 -1
- package/src/components/progress/scss/index.scss +22 -11
- package/src/components/progress/scss/variables.scss +13 -5
- package/src/components/progress/text.ts +3 -3
- package/src/components/range/filter.ts +249 -246
- package/src/components/range/index.ts +22 -7
- package/src/components/range/scss/index.scss +470 -15
- package/src/components/range/scss/variables.scss +402 -198
- package/src/components/range/surface.ts +135 -0
- package/src/components/relative-time/index.ts +2 -2
- package/src/components/relative-time/scss/index.scss +4 -2
- package/src/components/relative-time/scss/variables.scss +4 -5
- package/src/components/root/scss/index.scss +11 -11
- package/src/components/root/scss/variables.scss +4 -4
- package/src/components/search/button.ts +24 -0
- package/src/components/search/index.ts +12 -0
- package/src/components/search/input.ts +35 -0
- package/src/components/search/parts.ts +24 -0
- package/src/components/search/scss/index.scss +36 -0
- package/src/components/search/scss/variables.scss +67 -0
- package/src/components/section/scss/variables.scss +1 -0
- package/src/components/select/expand.ts +3 -4
- package/src/components/select/index.ts +55 -41
- package/src/components/select/placement.ts +17 -1
- package/src/components/select/scss/index.scss +57 -29
- package/src/components/select/scss/variables.scss +91 -53
- package/src/components/{panels → shell}/group.ts +151 -98
- package/src/components/shell/index.ts +805 -284
- package/src/components/{panels → shell}/model.ts +329 -102
- package/src/components/shell/resize.ts +176 -0
- package/src/components/shell/scss/index.scss +502 -89
- package/src/components/shell/scss/variables.scss +264 -39
- package/src/components/shell/sidebar.ts +325 -0
- package/src/components/{panels → shell}/subtree.ts +1 -2
- package/src/components/shortcut-recorder/index.ts +99 -61
- package/src/components/shortcut-recorder/scss/index.scss +76 -52
- package/src/components/shortcut-recorder/scss/variables.scss +25 -30
- package/src/components/sortable/index.ts +364 -63
- package/src/components/sortable/scss/index.scss +22 -2
- package/src/components/sortable/scss/variables.scss +16 -4
- package/src/components/story/index.ts +56 -33
- package/src/components/story/scss/index.scss +67 -16
- package/src/components/story/scss/variables.scss +59 -18
- package/src/components/surface-field/engine.ts +157 -61
- package/src/components/surface-field/index.ts +64 -9
- package/src/components/surface-field/scss/index.scss +88 -77
- package/src/components/surface-field/scss/variables.scss +84 -36
- package/src/components/surface-field/surface.ts +225 -76
- package/src/components/tasklist/index.ts +10 -14
- package/src/components/tasklist/scss/index.scss +25 -45
- package/src/components/tasklist/scss/variables.scss +12 -29
- package/src/components/textarea/index.ts +39 -42
- package/src/components/theme/reveal.ts +1 -0
- package/src/components/theme/scss/index.scss +20 -16
- package/src/components/theme/scss/variables.scss +11 -5
- package/src/components/theme/shared.ts +3 -7
- package/src/components/toast/index.ts +7 -8
- package/src/components/toast/scss/index.scss +44 -36
- package/src/components/toast/scss/variables.scss +36 -33
- package/src/components/toolbar/index.ts +1675 -0
- package/src/components/toolbar/scss/index.scss +759 -0
- package/src/components/toolbar/scss/variables.scss +555 -0
- package/src/components/tooltip/menu.ts +301 -220
- package/src/components/tooltip/onclick.ts +18 -3
- package/src/components/tooltip/onhover.ts +13 -9
- package/src/components/tooltip/scss/index.scss +155 -188
- package/src/components/tooltip/scss/variables.scss +151 -135
- package/src/components/tooltip/shared.ts +47 -74
- package/src/components/tooltip/utilities.ts +151 -10
- package/src/components/truncate/index.ts +1 -1
- package/src/components/typewriter/rotate.ts +6 -6
- package/src/components/typewriter/scss/index.scss +14 -5
- package/src/components/uptime/scss/index.scss +8 -15
- package/src/components/uptime/scss/variables.scss +12 -1
- package/src/components/usage-meter/index.ts +1 -1
- package/src/components/usage-meter/scss/index.scss +6 -4
- package/src/components/usage-meter/scss/variables.scss +11 -11
- package/src/css-utilities/box-shadow.scss +0 -1
- package/src/css-utilities/icon.scss +9 -9
- package/src/css-utilities/surface.scss +27 -17
- package/src/modifiers/glass/index.ts +2 -2
- package/src/modifiers/glass/scss/index.scss +2 -2
- package/src/normalize/scss/index.scss +1 -1
- package/src/shared/drag.ts +92 -53
- package/src/shared/placement.ts +145 -0
- package/src/shared/transition.ts +1 -1
- package/src/shared/viewport.ts +1 -7
- package/src/tokens/scss/color.scss +2 -2
- package/src/tokens/scss/scale.scss +5 -1
- package/src/tokens/scss/size.scss +0 -7
- package/storage/svg/angle.svg +1 -0
- package/storage/svg/{chevron-left.svg → arrow.svg} +1 -1
- package/storage/svg/calendar.svg +1 -0
- package/storage/svg/circle-filled.svg +1 -0
- package/storage/svg/cursor-arrow-left.svg +1 -0
- package/storage/svg/cursor-arrow-right.svg +1 -0
- package/storage/svg/fit.svg +1 -0
- package/storage/svg/grip.svg +1 -0
- package/storage/svg/mail.svg +1 -0
- package/storage/svg/{chevron-down.svg → minus.svg} +1 -1
- package/storage/svg/music.svg +1 -0
- package/storage/svg/{chevron-up.svg → rotate-ccw.svg} +1 -1
- package/vite.config.ts +9 -13
- package/build/components/dock/index.d.ts +0 -47
- package/build/components/dock/index.js +0 -469
- package/build/components/dock/scss/index.scss +0 -2
- package/build/components/metric/flash.d.ts +0 -12
- package/build/components/metric/flash.js +0 -117
- package/build/components/metric/index.d.ts +0 -44
- package/build/components/metric/index.js +0 -275
- package/build/components/metric/scss/index.scss +0 -2
- package/build/components/pagination/dots.d.ts +0 -23
- package/build/components/pagination/dots.js +0 -115
- package/build/components/panels/dnd.d.ts +0 -47
- package/build/components/panels/dnd.js +0 -114
- package/build/components/panels/group.js +0 -322
- package/build/components/panels/index.d.ts +0 -17
- package/build/components/panels/index.js +0 -524
- package/build/components/panels/model.d.ts +0 -64
- package/build/components/panels/resize.d.ts +0 -9
- package/build/components/panels/scss/index.scss +0 -2
- package/build/components/preview/buttons.d.ts +0 -12
- package/build/components/preview/buttons.js +0 -26
- package/build/components/preview/code.d.ts +0 -8
- package/build/components/preview/code.js +0 -18
- package/build/components/preview/header.js +0 -21
- package/build/components/preview/index.d.ts +0 -37
- package/build/components/preview/index.js +0 -123
- package/build/components/preview/scss/index.scss +0 -2
- package/build/components/preview/source.d.ts +0 -12
- package/build/components/preview/source.js +0 -79
- package/build/components/preview/stage.d.ts +0 -8
- package/build/components/preview/stage.js +0 -28
- package/build/components/textarea/scss/index.scss +0 -2
- package/src/components/dock/index.ts +0 -567
- package/src/components/dock/scss/index.scss +0 -346
- package/src/components/dock/scss/variables.scss +0 -357
- package/src/components/input/scss/_field.scss +0 -39
- package/src/components/input/scss/_scrub.scss +0 -89
- package/src/components/input/scss/_tag.scss +0 -142
- package/src/components/metric/flash.ts +0 -129
- package/src/components/metric/index.ts +0 -307
- package/src/components/metric/scss/_flash.scss +0 -150
- package/src/components/metric/scss/index.scss +0 -155
- package/src/components/metric/scss/variables.scss +0 -233
- package/src/components/pagination/dots.ts +0 -132
- package/src/components/panels/dnd.ts +0 -190
- package/src/components/panels/index.ts +0 -676
- package/src/components/panels/resize.ts +0 -157
- package/src/components/panels/scss/index.scss +0 -379
- package/src/components/panels/scss/variables.scss +0 -197
- package/src/components/preview/buttons.ts +0 -48
- package/src/components/preview/code.ts +0 -28
- package/src/components/preview/header.ts +0 -23
- package/src/components/preview/index.ts +0 -149
- package/src/components/preview/scss/index.scss +0 -158
- package/src/components/preview/scss/variables.scss +0 -149
- package/src/components/preview/source.ts +0 -73
- package/src/components/preview/stage.ts +0 -33
- package/src/components/range/scss/_filter.scss +0 -360
- package/src/components/range/scss/_slider.scss +0 -65
- package/src/components/range/scss/_vertical.scss +0 -10
- package/src/components/textarea/scss/index.scss +0 -72
- package/src/components/textarea/scss/variables.scss +0 -22
- package/storage/svg/amex.svg +0 -1
- package/storage/svg/arrow-down.svg +0 -1
- package/storage/svg/arrow-left.svg +0 -1
- package/storage/svg/arrow-right.svg +0 -1
- package/storage/svg/arrow-up.svg +0 -1
- package/storage/svg/card.svg +0 -1
- package/storage/svg/chip.svg +0 -1
- package/storage/svg/discover.svg +0 -1
- package/storage/svg/mastercard.svg +0 -1
- package/storage/svg/visa.svg +0 -1
- /package/build/components/{panels → shell}/subtree.d.ts +0 -0
- /package/storage/svg/{chevron-right.svg → chevron.svg} +0 -0
|
@@ -14,7 +14,7 @@ import { mapFolds, outerFolds } from '../code/folding.js';
|
|
|
14
14
|
import { goto } from '../code/goto.js';
|
|
15
15
|
import { commands, keymap } from '../code/keymap.js';
|
|
16
16
|
import { EditorLayout } from '../code/layout.js';
|
|
17
|
-
import { minimap } from '../code/minimap.js';
|
|
17
|
+
import { minimap, pixels, tokenColors } from '../code/minimap.js';
|
|
18
18
|
import { move } from '../code/navigation.js';
|
|
19
19
|
import { pointer } from '../code/pointer.js';
|
|
20
20
|
import { NativeText } from '../code/projection.js';
|
|
@@ -28,9 +28,10 @@ import { blockAt, contentEnd, markdownBackspace, markdownReferences, parseMarkdo
|
|
|
28
28
|
import { renderer } from './render.js';
|
|
29
29
|
import { foldable, foldAt, markdownFolds } from './structure.js';
|
|
30
30
|
import { toolbar } from './toolbar.js';
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
const
|
|
31
|
+
import { reuse } from '../code/view.js';
|
|
32
|
+
const template_1ayo7z93 = template_u1.template(`<div><!--$--><!--$--><div><div><div aria-hidden='true' class='markdown-editor-overlay'></div><div></div></div><!--$--><span aria-hidden='true'>0000000000000000000000000000000000000000000000000000000000000000</span></div><span class='markdown-editor-help'>Press Escape then Tab to move focus out of the editor.</span><!--$-->`, true);
|
|
33
|
+
const template_1ayo7z9f = template_u1.template(`<div>`, true);
|
|
34
|
+
const template_1ayo7z9h = template_u1.template(`<div aria-hidden='true' contenteditable='false'>`, true);
|
|
34
35
|
class ReactiveObject_1ayo7z90 extends reactivity_u0.ReactiveObject {
|
|
35
36
|
#empty;
|
|
36
37
|
#fold = this[reactivity_u0.SIGNAL](false);
|
|
@@ -122,25 +123,6 @@ class ReactiveObject_1ayo7z90 extends reactivity_u0.ReactiveObject {
|
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
125
|
class ReactiveObject_1ayo7z91 extends reactivity_u0.ReactiveObject {
|
|
125
|
-
#kind = this[reactivity_u0.SIGNAL]('');
|
|
126
|
-
#style = this[reactivity_u0.SIGNAL]('');
|
|
127
|
-
constructor() {
|
|
128
|
-
super(null);
|
|
129
|
-
}
|
|
130
|
-
get kind() {
|
|
131
|
-
return reactivity_u0.read(this.#kind);
|
|
132
|
-
}
|
|
133
|
-
set kind(_v0) {
|
|
134
|
-
reactivity_u0.write(this.#kind, _v0);
|
|
135
|
-
}
|
|
136
|
-
get style() {
|
|
137
|
-
return reactivity_u0.read(this.#style);
|
|
138
|
-
}
|
|
139
|
-
set style(_v1) {
|
|
140
|
-
reactivity_u0.write(this.#style, _v1);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
class ReactiveObject_1ayo7z92 extends reactivity_u0.ReactiveObject {
|
|
144
126
|
#height = this[reactivity_u0.SIGNAL](0);
|
|
145
127
|
constructor() {
|
|
146
128
|
super(null);
|
|
@@ -210,9 +192,6 @@ function assign(list, next) {
|
|
|
210
192
|
i = end;
|
|
211
193
|
}
|
|
212
194
|
}
|
|
213
|
-
function pixels(value) {
|
|
214
|
-
return parseFloat(value) || 0;
|
|
215
|
-
}
|
|
216
195
|
const view = (model, callbacks, receive) => {
|
|
217
196
|
let apple = mac(), blocks = parseMarkdown(model), composed = '', composing = null, content, decorations = new reactivity_u0.ReactiveArray(), definitions = new Map(), disposed = false, drawn = 0, dropAt = null, elements = new Map(), escapeTab = false, folds = [], frame = 0, gaps = [], goals = [], help = `markdown-editor-help-${++uid}`, host, inlines = new WeakMap(), items = new reactivity_u0.ReactiveArray(), keys = keymap(apple), layout = new MarkdownLayout(), length = model.value.length, metrics = {
|
|
218
197
|
charWidth: 7.8,
|
|
@@ -544,7 +523,7 @@ const view = (model, callbacks, receive) => {
|
|
|
544
523
|
let rect = rects[i];
|
|
545
524
|
items.push({
|
|
546
525
|
kind,
|
|
547
|
-
style:
|
|
526
|
+
style: `--mark-height: ${rect.height}px; --mark-left: ${rect.left - originX}px; --mark-top: ${rect.top - originY}px;${start === end ? '' : ` --mark-width: ${Math.max(1, rect.width)}px;`}`
|
|
548
527
|
});
|
|
549
528
|
}
|
|
550
529
|
};
|
|
@@ -565,16 +544,7 @@ const view = (model, callbacks, receive) => {
|
|
|
565
544
|
if (dropAt !== null) {
|
|
566
545
|
mark(dropAt, dropAt, 'markdown-editor-mark markdown-editor-mark--caret');
|
|
567
546
|
}
|
|
568
|
-
|
|
569
|
-
decorations.push(new ReactiveObject_1ayo7z91());
|
|
570
|
-
}
|
|
571
|
-
if (decorations.$length > items.length) {
|
|
572
|
-
decorations.splice(items.length, decorations.$length - items.length);
|
|
573
|
-
}
|
|
574
|
-
for (let i = 0, n = items.length; i < n; i++) {
|
|
575
|
-
decorations[i].kind = items[i].kind;
|
|
576
|
-
decorations[i].style = items[i].style;
|
|
577
|
-
}
|
|
547
|
+
reuse(decorations, items);
|
|
578
548
|
}
|
|
579
549
|
function domAt(offset) {
|
|
580
550
|
current();
|
|
@@ -760,7 +730,7 @@ const view = (model, callbacks, receive) => {
|
|
|
760
730
|
if (disposed || !host || !ruler || !surface) {
|
|
761
731
|
return;
|
|
762
732
|
}
|
|
763
|
-
let computed = getComputedStyle(surface), style = getComputedStyle(host),
|
|
733
|
+
let computed = getComputedStyle(surface), style = getComputedStyle(host), padLeft = pixels(computed.paddingLeft), fontSize = pixels(computed.fontSize) || 13;
|
|
764
734
|
metrics = {
|
|
765
735
|
charWidth: ruler.getBoundingClientRect().width / (ruler.textContent?.length || 1) || 7.8,
|
|
766
736
|
clientHeight: surface.clientHeight,
|
|
@@ -774,10 +744,7 @@ const view = (model, callbacks, receive) => {
|
|
|
774
744
|
scrollTop: surface.scrollTop,
|
|
775
745
|
width: surface.getBoundingClientRect().width - (surface.offsetWidth - surface.clientWidth) - padLeft - pixels(computed.paddingRight)
|
|
776
746
|
};
|
|
777
|
-
|
|
778
|
-
colors[TOKEN_COLORS[i]] = style.getPropertyValue(`--${TOKEN_COLORS[i]}-color`).trim() || fallback;
|
|
779
|
-
}
|
|
780
|
-
palette = colors;
|
|
747
|
+
palette = tokenColors(style, TOKEN_COLORS);
|
|
781
748
|
if (layout.configure({
|
|
782
749
|
charWidth: metrics.charWidth,
|
|
783
750
|
fontSize: metrics.fontSize,
|
|
@@ -919,7 +886,7 @@ const view = (model, callbacks, receive) => {
|
|
|
919
886
|
}
|
|
920
887
|
let cursor = 0, gap = 0, next = [];
|
|
921
888
|
let space = (height) => {
|
|
922
|
-
let item = gaps[gap++] ??= new
|
|
889
|
+
let item = gaps[gap++] ??= new ReactiveObject_1ayo7z91();
|
|
923
890
|
item.height = height;
|
|
924
891
|
next.push(item);
|
|
925
892
|
};
|
|
@@ -1269,7 +1236,7 @@ const view = (model, callbacks, receive) => {
|
|
|
1269
1236
|
return changed;
|
|
1270
1237
|
},
|
|
1271
1238
|
block: (kind) => editable(() => setBlockKind(formatting, kind)),
|
|
1272
|
-
bold: () => editable(() => markdownCommand(model, 'bold', kindAt)),
|
|
1239
|
+
bold: () => editable(() => markdownCommand(model, 'bold', kindAt, formatting)),
|
|
1273
1240
|
clearFormats: () => editable(() => clearFormats(formatting)),
|
|
1274
1241
|
closeFind: () => search.close(),
|
|
1275
1242
|
dispose: () => {
|
|
@@ -1346,7 +1313,7 @@ const view = (model, callbacks, receive) => {
|
|
|
1346
1313
|
},
|
|
1347
1314
|
indent: () => editable(() => indent(model, options.indent)),
|
|
1348
1315
|
insert: (text) => editable(() => insertText(model, text)),
|
|
1349
|
-
italic: () => editable(() => markdownCommand(model, 'italic', kindAt)),
|
|
1316
|
+
italic: () => editable(() => markdownCommand(model, 'italic', kindAt, formatting)),
|
|
1350
1317
|
lineCommand: (command) => editable(() => lineCommand(model, command)),
|
|
1351
1318
|
link: (href) => editable(() => setLink(formatting, href)),
|
|
1352
1319
|
mark: (mark) => editable(() => toggleMark(formatting, mark)),
|
|
@@ -1758,66 +1725,66 @@ const view = (model, callbacks, receive) => {
|
|
|
1758
1725
|
}
|
|
1759
1726
|
};
|
|
1760
1727
|
let template = (attributes) => {
|
|
1761
|
-
let
|
|
1762
|
-
template_u1.slot(
|
|
1763
|
-
template_u1.slot(
|
|
1764
|
-
|
|
1765
|
-
let
|
|
1766
|
-
template_u1.setClass(
|
|
1767
|
-
template_u1.setStyle(
|
|
1768
|
-
return
|
|
1728
|
+
let root_1ayo7z92 = template_1ayo7z93(), element_1ayo7z94 = root_1ayo7z92.firstChild, element_1ayo7z95 = element_1ayo7z94.nextSibling, element_1ayo7z96 = root_1ayo7z92.firstElementChild, element_1ayo7z97 = element_1ayo7z96.firstElementChild, element_1ayo7z98 = element_1ayo7z97.firstElementChild, element_1ayo7z99 = element_1ayo7z98.nextElementSibling, element_1ayo7z9a = element_1ayo7z96.firstChild.nextSibling, element_1ayo7z9b = element_1ayo7z97.nextElementSibling, element_1ayo7z9c = element_1ayo7z96.nextElementSibling, element_1ayo7z9d = element_1ayo7z95.nextSibling.nextSibling.nextSibling;
|
|
1729
|
+
template_u1.slot(element_1ayo7z94, search.template());
|
|
1730
|
+
template_u1.slot(element_1ayo7z95, jump.template());
|
|
1731
|
+
element_1ayo7z98.appendChild(new template_u1.ArraySlot(decorations, (decoration) => {
|
|
1732
|
+
let root_1ayo7z9e = template_1ayo7z9f();
|
|
1733
|
+
template_u1.setClass(root_1ayo7z9e, ["", () => decoration.kind]);
|
|
1734
|
+
template_u1.setStyle(root_1ayo7z9e, ["", () => decoration.style]);
|
|
1735
|
+
return root_1ayo7z9e;
|
|
1769
1736
|
}, true).fragment);
|
|
1770
|
-
|
|
1737
|
+
element_1ayo7z99.appendChild(new template_u1.ArraySlot(items, (item) => 'block' in item
|
|
1771
1738
|
? draw.template(item)
|
|
1772
1739
|
: (() => {
|
|
1773
|
-
let
|
|
1774
|
-
template_u1.setClass(
|
|
1775
|
-
template_u1.setStyle(
|
|
1776
|
-
return
|
|
1740
|
+
let root_1ayo7z9g = template_1ayo7z9h();
|
|
1741
|
+
template_u1.setClass(root_1ayo7z9g, ["markdown-editor-spacer"]);
|
|
1742
|
+
template_u1.setStyle(root_1ayo7z9g, ["", () => `--spacer-height: ${item.height}px;`]);
|
|
1743
|
+
return root_1ayo7z9g;
|
|
1777
1744
|
})(), true).fragment);
|
|
1778
|
-
template_u1.slot(
|
|
1779
|
-
template_u1.slot(
|
|
1780
|
-
new template_u1.EffectSlot(
|
|
1745
|
+
template_u1.slot(element_1ayo7z9a, map.template());
|
|
1746
|
+
template_u1.slot(element_1ayo7z9d, tip.render());
|
|
1747
|
+
new template_u1.EffectSlot(root_1ayo7z92, () => {
|
|
1781
1748
|
let tools = ui.tools;
|
|
1782
1749
|
return tools && untrack(() => bar.template(tools.split(' ')));
|
|
1783
1750
|
}, 1);
|
|
1784
|
-
template_u1.setProperty(
|
|
1785
|
-
template_u1.onconnect(
|
|
1751
|
+
template_u1.setProperty(element_1ayo7z9c, 'id', help);
|
|
1752
|
+
template_u1.onconnect(element_1ayo7z9b, (element) => {
|
|
1786
1753
|
ruler = element;
|
|
1787
1754
|
connect();
|
|
1788
1755
|
});
|
|
1789
|
-
template_u1.setClass(
|
|
1790
|
-
let
|
|
1791
|
-
template_u1.setProperties(
|
|
1792
|
-
template_u1.onconnect(
|
|
1756
|
+
template_u1.setClass(element_1ayo7z9b, ["markdown-editor-ruler"]);
|
|
1757
|
+
let attributes_1ayo7z9i = field;
|
|
1758
|
+
template_u1.setProperties(element_1ayo7z99, attributes_1ayo7z9i, true);
|
|
1759
|
+
template_u1.onconnect(element_1ayo7z99, (element) => {
|
|
1793
1760
|
content = element;
|
|
1794
1761
|
connect();
|
|
1795
1762
|
});
|
|
1796
|
-
template_u1.setClass(
|
|
1797
|
-
template_u1.setStyle(
|
|
1798
|
-
let
|
|
1799
|
-
template_u1.setProperties(
|
|
1800
|
-
let
|
|
1801
|
-
template_u1.setProperties(
|
|
1802
|
-
template_u1.setClass(
|
|
1803
|
-
template_u1.setStyle(
|
|
1804
|
-
template_u1.setProperties(
|
|
1805
|
-
template_u1.setClass(
|
|
1806
|
-
let
|
|
1807
|
-
template_u1.setProperties(
|
|
1808
|
-
template_u1.onconnect(
|
|
1763
|
+
template_u1.setClass(element_1ayo7z99, ["", attributes_1ayo7z9i?.class]);
|
|
1764
|
+
template_u1.setStyle(element_1ayo7z99, ["", attributes_1ayo7z9i?.style]);
|
|
1765
|
+
let attributes_1ayo7z9j = body;
|
|
1766
|
+
template_u1.setProperties(element_1ayo7z97, attributes_1ayo7z9j, true);
|
|
1767
|
+
let attributes_1ayo7z9k = scrollbar();
|
|
1768
|
+
template_u1.setProperties(element_1ayo7z97, attributes_1ayo7z9k, true);
|
|
1769
|
+
template_u1.setClass(element_1ayo7z97, ["markdown-editor-surface", attributes_1ayo7z9j?.class, attributes_1ayo7z9k?.class]);
|
|
1770
|
+
template_u1.setStyle(element_1ayo7z97, ["", attributes_1ayo7z9j?.style, attributes_1ayo7z9k?.style]);
|
|
1771
|
+
template_u1.setProperties(element_1ayo7z96, size);
|
|
1772
|
+
template_u1.setClass(element_1ayo7z96, ["markdown-editor-body"]);
|
|
1773
|
+
let attributes_1ayo7z9l = attributes;
|
|
1774
|
+
template_u1.setProperties(root_1ayo7z92, attributes_1ayo7z9l, true);
|
|
1775
|
+
template_u1.onconnect(root_1ayo7z92, (element) => {
|
|
1809
1776
|
host = element;
|
|
1810
1777
|
connect();
|
|
1811
1778
|
});
|
|
1812
|
-
template_u1.ondisconnect(
|
|
1813
|
-
template_u1.ondocument(
|
|
1814
|
-
template_u1.direct(
|
|
1779
|
+
template_u1.ondisconnect(root_1ayo7z92, () => controller.dispose());
|
|
1780
|
+
template_u1.ondocument(root_1ayo7z92, 'selectionchange', capture);
|
|
1781
|
+
template_u1.direct(root_1ayo7z92, 'focusout', () => {
|
|
1815
1782
|
requestAnimationFrame(bar.refresh);
|
|
1816
1783
|
});
|
|
1817
|
-
template_u1.onwindow(
|
|
1784
|
+
template_u1.onwindow(root_1ayo7z92, 'blur', () => {
|
|
1818
1785
|
ui.linking = false;
|
|
1819
1786
|
});
|
|
1820
|
-
template_u1.setClass(
|
|
1787
|
+
template_u1.setClass(root_1ayo7z92, ["markdown-editor", attributes_1ayo7z9l?.class, [
|
|
1821
1788
|
() => gestures.state.crosshair && 'markdown-editor--crosshair',
|
|
1822
1789
|
() => ui.empty && 'markdown-editor--empty',
|
|
1823
1790
|
() => ui.fold && 'markdown-editor--fold',
|
|
@@ -1826,8 +1793,8 @@ const view = (model, callbacks, receive) => {
|
|
|
1826
1793
|
() => ui.minimap && 'markdown-editor--minimap',
|
|
1827
1794
|
() => !ui.wrap && 'markdown-editor--nowrap'
|
|
1828
1795
|
]]);
|
|
1829
|
-
template_u1.setStyle(
|
|
1830
|
-
return
|
|
1796
|
+
template_u1.setStyle(root_1ayo7z92, ["", attributes_1ayo7z9l?.style, () => `--tab-size: ${ui.tabSize};`]);
|
|
1797
|
+
return root_1ayo7z92;
|
|
1831
1798
|
};
|
|
1832
1799
|
return { controller, template };
|
|
1833
1800
|
};
|
|
@@ -347,7 +347,7 @@ export default ({ drag, export: give, import: take }, tree) => {
|
|
|
347
347
|
ghost = element;
|
|
348
348
|
});
|
|
349
349
|
template_u1.setClass(root_1b19bft1, ["file-tree-drag", () => ui.effect && `file-tree-drag--${ui.effect}`]);
|
|
350
|
-
template_u1.setStyle(root_1b19bft1, ["", () =>
|
|
350
|
+
template_u1.setStyle(root_1b19bft1, ["", () => `--drag-x: ${ui.x}px; --drag-y: ${ui.y}px;`]);
|
|
351
351
|
return root_1b19bft1;
|
|
352
352
|
})(),
|
|
353
353
|
root: [gesture.attributes, {
|
|
@@ -2,15 +2,15 @@ import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
|
2
2
|
import { flush, peek, read, signal, write } from '@esportsplus/reactivity';
|
|
3
3
|
import * as template_u1 from '@esportsplus/template';
|
|
4
4
|
import icon from '../../icon/index.js';
|
|
5
|
+
import input from '../../input/index.js';
|
|
5
6
|
import fuzzy from '../../../shared/fuzzy.js';
|
|
6
|
-
import
|
|
7
|
-
import up from '@esportsplus/ui/svg/arrow-up.svg';
|
|
7
|
+
import arrow from '@esportsplus/ui/svg/arrow.svg';
|
|
8
8
|
import cross from '@esportsplus/ui/svg/close.svg';
|
|
9
9
|
import sliders from '@esportsplus/ui/svg/sliders.svg';
|
|
10
10
|
import Selection from './selection.js';
|
|
11
11
|
const template_0bqp5km1 = template_u1.template(`<!--$-->`);
|
|
12
|
-
const template_0bqp5km4 = template_u1.template(`<div class='file-tree-find' role='search'><div class='file-tree-find-bar'
|
|
13
|
-
const
|
|
12
|
+
const template_0bqp5km4 = template_u1.template(`<div class='file-tree-find' role='search'><div class='file-tree-find-bar'><!--$--><span aria-live='polite' class='file-tree-find-count'></span><button aria-label='Previous match' title='Previous match (Shift+Enter)' type='button'></button><button aria-label='Next match' title='Next match (Enter)' type='button'></button><button aria-label='Filter' title='Show only matches' type='button'></button><button aria-label='Close' class='button file-tree-find-button' title='Close (Escape)' type='button'>`, true);
|
|
13
|
+
const template_0bqp5kmc = template_u1.template(`<p class='file-tree-find-note'>Unloaded folders not searched`, true);
|
|
14
14
|
const SETTLE = 80;
|
|
15
15
|
function collect(elements, query, host, result) {
|
|
16
16
|
let out = [];
|
|
@@ -187,8 +187,58 @@ class Finder {
|
|
|
187
187
|
{
|
|
188
188
|
let root_0bqp5km0 = template_0bqp5km1(), element_0bqp5km2 = root_0bqp5km0.firstChild;
|
|
189
189
|
new template_u1.EffectSlot(element_0bqp5km2, () => state.open && !state.external && (() => {
|
|
190
|
-
let root_0bqp5km3 = template_0bqp5km4(), element_0bqp5km5 = root_0bqp5km3.firstElementChild
|
|
191
|
-
|
|
190
|
+
let root_0bqp5km3 = template_0bqp5km4(), element_0bqp5km5 = root_0bqp5km3.firstElementChild, element_0bqp5km6 = element_0bqp5km5.firstChild, element_0bqp5km7 = element_0bqp5km5.firstElementChild, element_0bqp5km8 = element_0bqp5km7.nextElementSibling, element_0bqp5km9 = element_0bqp5km8.nextElementSibling, element_0bqp5kma = element_0bqp5km9.nextElementSibling, element_0bqp5kmb = element_0bqp5kma.nextElementSibling;
|
|
191
|
+
template_u1.slot(element_0bqp5km6, input({
|
|
192
|
+
'aria-controls': tree,
|
|
193
|
+
'aria-invalid': () => !signal.selector(this.query, '') && !state.count ? 'true' : 'false',
|
|
194
|
+
'aria-label': 'Find',
|
|
195
|
+
autocomplete: 'off',
|
|
196
|
+
class: 'file-tree-find-input',
|
|
197
|
+
onconnect: (element) => {
|
|
198
|
+
this.input = element;
|
|
199
|
+
element.focus({ preventScroll: true });
|
|
200
|
+
if (this.selecting) {
|
|
201
|
+
element.select();
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
ondisconnect: () => {
|
|
205
|
+
this.input = undefined;
|
|
206
|
+
},
|
|
207
|
+
oninput: (event) => {
|
|
208
|
+
state.text = event.currentTarget.value;
|
|
209
|
+
clearTimeout(this.timer);
|
|
210
|
+
this.timer = setTimeout(() => this.run(true), SETTLE);
|
|
211
|
+
},
|
|
212
|
+
onkeydown: (event) => {
|
|
213
|
+
if (event.isComposing) {
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
switch (event.key) {
|
|
217
|
+
case 'ArrowDown':
|
|
218
|
+
this.step(1);
|
|
219
|
+
break;
|
|
220
|
+
case 'ArrowUp':
|
|
221
|
+
this.step(-1);
|
|
222
|
+
break;
|
|
223
|
+
case 'Enter':
|
|
224
|
+
case 'F3':
|
|
225
|
+
this.step(event.shiftKey ? -1 : 1);
|
|
226
|
+
break;
|
|
227
|
+
case 'Escape':
|
|
228
|
+
this.close(true);
|
|
229
|
+
break;
|
|
230
|
+
default:
|
|
231
|
+
if (!this.key(event)) {
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
event.preventDefault();
|
|
236
|
+
},
|
|
237
|
+
placeholder: 'Find',
|
|
238
|
+
spellcheck: false,
|
|
239
|
+
value: () => state.text
|
|
240
|
+
}));
|
|
241
|
+
new template_u1.EffectSlot(element_0bqp5km7, () => {
|
|
192
242
|
let count = state.count;
|
|
193
243
|
if (!read(this.query)) {
|
|
194
244
|
return '';
|
|
@@ -198,65 +248,21 @@ class Finder {
|
|
|
198
248
|
}
|
|
199
249
|
return state.index === -1 ? `${count} ${count === 1 ? 'result' : 'results'}` : `${state.index + 1} of ${count}`;
|
|
200
250
|
}, 1);
|
|
201
|
-
template_u1.slot(
|
|
202
|
-
template_u1.slot(
|
|
203
|
-
template_u1.slot(
|
|
204
|
-
template_u1.slot(
|
|
205
|
-
new template_u1.EffectSlot(root_0bqp5km3, () => state.unloaded > 0 &&
|
|
206
|
-
template_u1.delegate(
|
|
207
|
-
template_u1.delegate(
|
|
208
|
-
template_u1.setProperty(
|
|
209
|
-
template_u1.setClass(
|
|
210
|
-
template_u1.delegate(
|
|
251
|
+
template_u1.slot(element_0bqp5km8, icon({ 'aria-hidden': 'true', class: 'file-tree-find-icon icon--up' }, arrow), 1);
|
|
252
|
+
template_u1.slot(element_0bqp5km9, icon({ 'aria-hidden': 'true', class: 'file-tree-find-icon icon--down' }, arrow), 1);
|
|
253
|
+
template_u1.slot(element_0bqp5kma, icon({ 'aria-hidden': 'true', class: 'file-tree-find-icon' }, sliders), 1);
|
|
254
|
+
template_u1.slot(element_0bqp5kmb, icon({ 'aria-hidden': 'true', class: 'file-tree-find-icon' }, cross), 1);
|
|
255
|
+
new template_u1.EffectSlot(root_0bqp5km3, () => state.unloaded > 0 && template_0bqp5kmc(), 1);
|
|
256
|
+
template_u1.delegate(element_0bqp5kmb, 'click', () => this.close(true));
|
|
257
|
+
template_u1.delegate(element_0bqp5kma, 'click', () => this.toggle());
|
|
258
|
+
template_u1.setProperty(element_0bqp5kma, 'aria-pressed', () => state.mode === 'filter' ? 'true' : 'false');
|
|
259
|
+
template_u1.setClass(element_0bqp5kma, ["button file-tree-find-button"]);
|
|
260
|
+
template_u1.delegate(element_0bqp5km9, 'click', () => this.step(1));
|
|
261
|
+
template_u1.setProperty(element_0bqp5km9, 'disabled', () => !state.count && 'true');
|
|
262
|
+
template_u1.setClass(element_0bqp5km9, ["button file-tree-find-button"]);
|
|
263
|
+
template_u1.delegate(element_0bqp5km8, 'click', () => this.step(-1));
|
|
211
264
|
template_u1.setProperty(element_0bqp5km8, 'disabled', () => !state.count && 'true');
|
|
212
|
-
template_u1.setClass(element_0bqp5km8, ["file-tree-find-button"]);
|
|
213
|
-
template_u1.delegate(element_0bqp5km7, 'click', () => this.step(-1));
|
|
214
|
-
template_u1.setProperty(element_0bqp5km7, 'disabled', () => !state.count && 'true');
|
|
215
|
-
template_u1.setClass(element_0bqp5km7, ["file-tree-find-button"]);
|
|
216
|
-
template_u1.setProperty(element_0bqp5km5, 'aria-controls', tree);
|
|
217
|
-
template_u1.setProperty(element_0bqp5km5, 'aria-invalid', () => !signal.selector(this.query, '') && !state.count ? 'true' : 'false');
|
|
218
|
-
template_u1.onconnect(element_0bqp5km5, (element) => {
|
|
219
|
-
this.input = element;
|
|
220
|
-
element.focus({ preventScroll: true });
|
|
221
|
-
if (this.selecting) {
|
|
222
|
-
element.select();
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
template_u1.ondisconnect(element_0bqp5km5, () => {
|
|
226
|
-
this.input = undefined;
|
|
227
|
-
});
|
|
228
|
-
template_u1.delegate(element_0bqp5km5, 'input', (event) => {
|
|
229
|
-
state.text = event.currentTarget.value;
|
|
230
|
-
clearTimeout(this.timer);
|
|
231
|
-
this.timer = setTimeout(() => this.run(true), SETTLE);
|
|
232
|
-
});
|
|
233
|
-
template_u1.delegate(element_0bqp5km5, 'keydown', (event) => {
|
|
234
|
-
if (event.isComposing) {
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
switch (event.key) {
|
|
238
|
-
case 'ArrowDown':
|
|
239
|
-
this.step(1);
|
|
240
|
-
break;
|
|
241
|
-
case 'ArrowUp':
|
|
242
|
-
this.step(-1);
|
|
243
|
-
break;
|
|
244
|
-
case 'Enter':
|
|
245
|
-
case 'F3':
|
|
246
|
-
this.step(event.shiftKey ? -1 : 1);
|
|
247
|
-
break;
|
|
248
|
-
case 'Escape':
|
|
249
|
-
this.close(true);
|
|
250
|
-
break;
|
|
251
|
-
default:
|
|
252
|
-
if (!this.key(event)) {
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
event.preventDefault();
|
|
257
|
-
});
|
|
258
|
-
template_u1.setProperty(element_0bqp5km5, 'value', () => state.text);
|
|
259
|
-
template_u1.setClass(element_0bqp5km5, ["file-tree-find-input"]);
|
|
265
|
+
template_u1.setClass(element_0bqp5km8, ["button file-tree-find-button"]);
|
|
260
266
|
return root_0bqp5km3;
|
|
261
267
|
})());
|
|
262
268
|
return root_0bqp5km0;
|
|
@@ -5,8 +5,9 @@ import system from '../../clipboard/index.js';
|
|
|
5
5
|
import highlight from '../../highlight/index.js';
|
|
6
6
|
import icon from '../../icon/index.js';
|
|
7
7
|
import tooltip from '../../tooltip/index.js';
|
|
8
|
+
import { clamp } from '../../../shared/clamp.js';
|
|
8
9
|
import fuzzy from '../../../shared/fuzzy.js';
|
|
9
|
-
import chevron from '@esportsplus/ui/svg/chevron
|
|
10
|
+
import chevron from '@esportsplus/ui/svg/chevron.svg';
|
|
10
11
|
import symlink from '@esportsplus/ui/svg/corner-down-right.svg';
|
|
11
12
|
import lock from '@esportsplus/ui/svg/lock.svg';
|
|
12
13
|
import Clipboard from './clipboard.js';
|
|
@@ -207,7 +208,7 @@ function chip(part) {
|
|
|
207
208
|
template_u1.slot(root_0m7jn2910, part.text, 1);
|
|
208
209
|
template_u1.setProperties(root_0m7jn2910, !!part.title && { title: part.title });
|
|
209
210
|
template_u1.setClass(root_0m7jn2910, ["file-tree-badge-part", part.staged && 'file-tree-badge-part--staged', part.tone && `file-tree-badge-part--${part.tone}`]);
|
|
210
|
-
template_u1.setStyle(root_0m7jn2910, ["", part.color &&
|
|
211
|
+
template_u1.setStyle(root_0m7jn2910, ["", part.color && `--badge-color: ${part.color}`]);
|
|
211
212
|
return root_0m7jn2910;
|
|
212
213
|
}
|
|
213
214
|
}
|
|
@@ -362,7 +363,7 @@ export default ({ compact = true, controller, create, decorations: providers, di
|
|
|
362
363
|
row: (element) => element[SEGMENT] ?? element[ROW],
|
|
363
364
|
top: !roots,
|
|
364
365
|
viewport: () => viewport
|
|
365
|
-
}), focused = signal(cursor?.key ?? 0), quiet = null, tip = tooltip.shared({ 'aria-hidden': 'true', class: 'file-tree-tooltip', delay: { open: TOOLTIP }
|
|
366
|
+
}), focused = signal(cursor?.key ?? 0), quiet = null, tip = tooltip.shared({ 'aria-hidden': 'true', axis: 'x', class: 'file-tree-tooltip', delay: { open: TOOLTIP } }), typed = '', typedAt = 0, ui = new ReactiveObject_0m7jn292(opened > 0, ''), selection = new Selection((ids) => {
|
|
366
367
|
state.selection = ids;
|
|
367
368
|
}), slot = new template_u1.VirtualSlot(rows, (row) => {
|
|
368
369
|
if (row.notice) {
|
|
@@ -956,7 +957,7 @@ export default ({ compact = true, controller, create, decorations: providers, di
|
|
|
956
957
|
}
|
|
957
958
|
}
|
|
958
959
|
function ghost({ left, row, top, width }) {
|
|
959
|
-
let style = `--depth: ${row.depth}; --
|
|
960
|
+
let style = `--depth: ${row.depth}; --ghost-left: ${left}px; --ghost-top: ${top}px; --ghost-width: ${width}px; --guides: ${guides(row.depth)};`;
|
|
960
961
|
if (row.notice) {
|
|
961
962
|
return placeholder(row.notice, { style });
|
|
962
963
|
}
|
|
@@ -1405,7 +1406,7 @@ export default ({ compact = true, controller, create, decorations: providers, di
|
|
|
1405
1406
|
focus(row);
|
|
1406
1407
|
}
|
|
1407
1408
|
else if (rows.$length) {
|
|
1408
|
-
focus(rows[
|
|
1409
|
+
focus(rows[clamp(at, 0, rows.$length - 1)]);
|
|
1409
1410
|
}
|
|
1410
1411
|
else {
|
|
1411
1412
|
cursor = null;
|
|
@@ -1939,9 +1940,9 @@ export default ({ compact = true, controller, create, decorations: providers, di
|
|
|
1939
1940
|
})());
|
|
1940
1941
|
template_u1.slot(root_0m7jn2914, dragging?.ghost, 1);
|
|
1941
1942
|
template_u1.setClass(element_0m7jn291a, ["file-tree-motion-layer", () => ui.motion && `file-tree-motion-layer--${ui.motion}`]);
|
|
1942
|
-
template_u1.setStyle(element_0m7jn291a, ["", () =>
|
|
1943
|
+
template_u1.setStyle(element_0m7jn291a, ["", () => `--motion-edge: ${stage.edge}px;`]);
|
|
1943
1944
|
template_u1.setClass(element_0m7jn2919, ["file-tree-motion", () => ui.motion && '--active']);
|
|
1944
|
-
template_u1.setStyle(element_0m7jn2919, ["", () =>
|
|
1945
|
+
template_u1.setStyle(element_0m7jn2919, ["", () => `--motion-height: ${stage.height}px; --motion-left: ${stage.left}px; --motion-top: ${stage.top}px; --motion-width: ${stage.width}px;`]);
|
|
1945
1946
|
template_u1.setProperty(element_0m7jn2916, 'aria-label', label);
|
|
1946
1947
|
template_u1.setProperty(element_0m7jn2916, 'id', id);
|
|
1947
1948
|
let attributes_0m7jn291j = dragging?.viewport;
|
|
@@ -12,4 +12,4 @@ type Options = {
|
|
|
12
12
|
declare const outline: (source: string, language: Language, { fold, whitespace }?: Options) => Line[];
|
|
13
13
|
declare const hidden: (lines: readonly Line[], folded: ReadonlySet<number>) => boolean[];
|
|
14
14
|
export { hidden, outline };
|
|
15
|
-
export type { Line
|
|
15
|
+
export type { Line };
|
|
@@ -6,10 +6,10 @@ import copy from '../../button/copy.js';
|
|
|
6
6
|
import icon from '../../icon/index.js';
|
|
7
7
|
import scrollbar from '../../../modifiers/scrollbar/index.js';
|
|
8
8
|
import { observeSize } from '../../../shared/resize.js';
|
|
9
|
-
import { minimap } from '../code/minimap.js';
|
|
9
|
+
import { minimap, pixels, tokenColors } from '../code/minimap.js';
|
|
10
10
|
import { languageFor } from '../code/syntax.js';
|
|
11
11
|
import { hidden, outline } from './model.js';
|
|
12
|
-
import chevron from '@esportsplus/ui/svg/chevron
|
|
12
|
+
import chevron from '@esportsplus/ui/svg/chevron.svg';
|
|
13
13
|
const template_1d1szgf2 = template_u1.template(`<div class='code-viewer-lines'>`, true);
|
|
14
14
|
const template_1d1szgf4 = template_u1.template(`<div class='code-viewer-line'><!--$--><code>`, true);
|
|
15
15
|
const template_1d1szgf8 = template_u1.template(`<span class='code-viewer-gutter'><!--$-->`, true);
|
|
@@ -41,24 +41,6 @@ class ReactiveObject_1d1szgf0 extends reactivity_u0.ReactiveObject {
|
|
|
41
41
|
}
|
|
42
42
|
const NO_BREAKS = [];
|
|
43
43
|
const SCROLLBAR = '--scrollbar-offset: 0px; --scrollbar-size-hover: var(--scrollbar-size);';
|
|
44
|
-
const TOKEN_COLORS = [
|
|
45
|
-
'color',
|
|
46
|
-
'comment',
|
|
47
|
-
'function',
|
|
48
|
-
'keyword',
|
|
49
|
-
'number',
|
|
50
|
-
'operator',
|
|
51
|
-
'property',
|
|
52
|
-
'regexp',
|
|
53
|
-
'selector',
|
|
54
|
-
'string',
|
|
55
|
-
'tag',
|
|
56
|
-
'type',
|
|
57
|
-
'variable'
|
|
58
|
-
];
|
|
59
|
-
function pixels(value) {
|
|
60
|
-
return parseFloat(value) || 0;
|
|
61
|
-
}
|
|
62
44
|
function range(index, end) {
|
|
63
45
|
return end - index === 2 ? `line ${end}` : `lines ${index + 2}–${end}`;
|
|
64
46
|
}
|
|
@@ -86,7 +68,7 @@ export default component(function (input) {
|
|
|
86
68
|
source = null;
|
|
87
69
|
return;
|
|
88
70
|
}
|
|
89
|
-
let computed = getComputedStyle(content),
|
|
71
|
+
let computed = getComputedStyle(content), heights = [], lineHeight = pixels(getComputedStyle(elements[0]).lineHeight) || 20, tops = [];
|
|
90
72
|
for (let i = 0, n = elements.length; i < n; i++) {
|
|
91
73
|
let element = elements[i];
|
|
92
74
|
if (element.hidden) {
|
|
@@ -98,11 +80,7 @@ export default component(function (input) {
|
|
|
98
80
|
tops.push(element.offsetTop);
|
|
99
81
|
}
|
|
100
82
|
}
|
|
101
|
-
palette =
|
|
102
|
-
for (let i = 0, n = TOKEN_COLORS.length; i < n; i++) {
|
|
103
|
-
let kind = TOKEN_COLORS[i];
|
|
104
|
-
palette[kind] = computed.getPropertyValue(`--${kind === 'color' ? 'literal' : kind}-color`).trim() || fallback;
|
|
105
|
-
}
|
|
83
|
+
palette = tokenColors(computed);
|
|
106
84
|
source = {
|
|
107
85
|
breaks: () => NO_BREAKS,
|
|
108
86
|
count: tops.length,
|
|
@@ -34,4 +34,4 @@ declare const sequence: ({ accept, actions, apple, onpending, prefix, timeout }:
|
|
|
34
34
|
};
|
|
35
35
|
declare const unassign: (keybindings: Keybindings, apple: boolean, command: Command) => Keybindings;
|
|
36
36
|
export { bind, conflict, declare, fromChord, fromRecorder, label, matches, merge, reset, rows, sanitize, sequence, unassign };
|
|
37
|
-
export type { KeybindingRow, Keybindings
|
|
37
|
+
export type { KeybindingRow, Keybindings };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import layout, { type Node, type Surface } from '../../shell/model.js';
|
|
1
2
|
import type { Command } from '../code/keymap.js';
|
|
2
3
|
import type { FileTreeExport, FileTreeImportEntry } from '../tree/index.js';
|
|
3
4
|
import { WorkspaceTab } from './tabs.js';
|
|
@@ -69,6 +70,7 @@ type WorkspaceSession = {
|
|
|
69
70
|
expanded: string[];
|
|
70
71
|
scroll: number;
|
|
71
72
|
};
|
|
73
|
+
layout: Node | null;
|
|
72
74
|
tabs: WorkspaceSessionTab[];
|
|
73
75
|
};
|
|
74
76
|
type WorkspaceSessionTab = {
|
|
@@ -114,10 +116,13 @@ type WorkspaceTarget = {
|
|
|
114
116
|
requestId?: number | string;
|
|
115
117
|
};
|
|
116
118
|
declare const DEFAULTS: WorkspacePreferences;
|
|
119
|
+
declare const EXPLORER: Surface;
|
|
117
120
|
declare function workspacePath(value: string, cwd?: string): string;
|
|
118
121
|
declare const containsPath: (parent: string, path: string) => boolean;
|
|
122
|
+
declare const surfaceOf: (tab: WorkspaceTab) => Surface;
|
|
119
123
|
declare class EditorWorkspaceModel {
|
|
120
124
|
readonly host: WorkspaceHost;
|
|
125
|
+
readonly layout: ReturnType<typeof layout>;
|
|
121
126
|
readonly state: WorkspaceState;
|
|
122
127
|
private closed;
|
|
123
128
|
private confirm;
|
|
@@ -144,7 +149,6 @@ declare class EditorWorkspaceModel {
|
|
|
144
149
|
private watchWork;
|
|
145
150
|
constructor(host: WorkspaceHost, cwd?: string, preferences?: Partial<WorkspacePreferences>);
|
|
146
151
|
private get active();
|
|
147
|
-
private set active(value);
|
|
148
152
|
private get busy();
|
|
149
153
|
private set busy(value);
|
|
150
154
|
private get cwd();
|
|
@@ -170,10 +174,15 @@ declare class EditorWorkspaceModel {
|
|
|
170
174
|
private applyPreferences;
|
|
171
175
|
private authorize;
|
|
172
176
|
private closeTabs;
|
|
177
|
+
private closing;
|
|
178
|
+
private current;
|
|
173
179
|
private desire;
|
|
180
|
+
private ordered;
|
|
174
181
|
private pending;
|
|
182
|
+
private previewed;
|
|
175
183
|
private queue;
|
|
176
184
|
private removeTab;
|
|
185
|
+
private show;
|
|
177
186
|
activate(tab: WorkspaceTab | string): void;
|
|
178
187
|
adopt(path: string, content: string, saved: string, missing?: boolean): WorkspaceTab | undefined;
|
|
179
188
|
close(path?: string | undefined): Promise<boolean>;
|
|
@@ -184,6 +193,7 @@ declare class EditorWorkspaceModel {
|
|
|
184
193
|
copyPath(path: string): Promise<void>;
|
|
185
194
|
delete(paths: readonly string[]): Promise<boolean | undefined>;
|
|
186
195
|
dispose(): void;
|
|
196
|
+
find(surface: string): WorkspaceTab | undefined;
|
|
187
197
|
onWatch(listener: (event: WorkspaceChange) => void): () => void;
|
|
188
198
|
open(value: string, line?: number, column?: number, preview?: boolean): Promise<WorkspaceTab | undefined>;
|
|
189
199
|
openTarget(target?: WorkspaceTarget): Promise<WorkspaceTab | undefined>;
|
|
@@ -202,5 +212,5 @@ declare class EditorWorkspaceModel {
|
|
|
202
212
|
unpin(path: string): void;
|
|
203
213
|
whenIdle(): Promise<void>;
|
|
204
214
|
}
|
|
205
|
-
export { containsPath, DEFAULTS, EditorWorkspaceModel, workspacePath };
|
|
215
|
+
export { containsPath, DEFAULTS, EditorWorkspaceModel, EXPLORER, surfaceOf, workspacePath };
|
|
206
216
|
export type { WorkspaceAction, WorkspaceChange, WorkspaceCompare, WorkspaceConfirmation, WorkspaceDecision, WorkspaceEntry, WorkspaceHost, WorkspacePreferences, WorkspaceSession, WorkspaceSessionTab, WorkspaceState, WorkspaceTab, WorkspaceTarget };
|