@esportsplus/ui 0.62.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 +4 -92
- package/.audit/rules-audit.md +4 -18
- 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 -7
- package/build/components/index.js +3 -7
- 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 +9 -12
- 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 -7
- 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 -69
- 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/cc/index.d.ts +0 -33
- package/build/components/cc/index.js +0 -603
- package/build/components/cc/scss/index.scss +0 -2
- 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/cc/index.ts +0 -562
- package/src/components/cc/scss/index.scss +0 -416
- package/src/components/cc/scss/variables.scss +0 -257
- 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
|
@@ -1,524 +0,0 @@
|
|
|
1
|
-
import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
2
|
-
import { flush, onCleanup, read, root, signal, untrack, write } from '@esportsplus/reactivity';
|
|
3
|
-
import * as template_u1 from '@esportsplus/template';
|
|
4
|
-
import { component, render, setProperties } from '@esportsplus/template';
|
|
5
|
-
import icon from '../icon/index.js';
|
|
6
|
-
import tooltip from '../tooltip/index.js';
|
|
7
|
-
import { mac } from '../../shared/platform.js';
|
|
8
|
-
import { observe } from '../../shared/resize.js';
|
|
9
|
-
import manager from './dnd.js';
|
|
10
|
-
import { group, launcher, title } from './group.js';
|
|
11
|
-
import state, { allGroups, bounded, contains, findGroup, MIN_FRACTION } from './model.js';
|
|
12
|
-
import { resize, resized } from './resize.js';
|
|
13
|
-
import subtree from './subtree.js';
|
|
14
|
-
import './scss/index.scss';
|
|
15
|
-
const template_10ywfta4 = template_u1.template(`<div>`, true);
|
|
16
|
-
const template_10ywfta6 = template_u1.template(`<div aria-orientation='vertical' role='separator'>`, true);
|
|
17
|
-
const template_10ywfta8 = template_u1.template(`<div aria-orientation='horizontal' role='separator'>`, true);
|
|
18
|
-
const template_10ywftaa = template_u1.template(`<div role='separator'>`, true);
|
|
19
|
-
const template_10ywftad = template_u1.template(`<div></div><!--$-->`);
|
|
20
|
-
const template_10ywftah = template_u1.template(`<div class='panels-main'></div><!--$-->`);
|
|
21
|
-
const template_10ywftal = template_u1.template(`<!--$--><div>`);
|
|
22
|
-
const template_10ywftap = template_u1.template(`<div><!--$--><div aria-hidden='true'></div><!--$-->`, true);
|
|
23
|
-
class ReactiveObject_10ywfta0 extends reactivity_u0.ReactiveObject {
|
|
24
|
-
#height = this[reactivity_u0.SIGNAL](0);
|
|
25
|
-
constructor() {
|
|
26
|
-
super(null);
|
|
27
|
-
}
|
|
28
|
-
get height() {
|
|
29
|
-
return reactivity_u0.read(this.#height);
|
|
30
|
-
}
|
|
31
|
-
set height(_v0) {
|
|
32
|
-
reactivity_u0.write(this.#height, _v0);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
class ReactiveObject_10ywfta1 extends reactivity_u0.ReactiveObject {
|
|
36
|
-
#group = this[reactivity_u0.SIGNAL]('');
|
|
37
|
-
#surface = this[reactivity_u0.SIGNAL]('');
|
|
38
|
-
constructor() {
|
|
39
|
-
super(null);
|
|
40
|
-
}
|
|
41
|
-
get group() {
|
|
42
|
-
return reactivity_u0.read(this.#group);
|
|
43
|
-
}
|
|
44
|
-
set group(_v0) {
|
|
45
|
-
reactivity_u0.write(this.#group, _v0);
|
|
46
|
-
}
|
|
47
|
-
get surface() {
|
|
48
|
-
return reactivity_u0.read(this.#surface);
|
|
49
|
-
}
|
|
50
|
-
set surface(_v1) {
|
|
51
|
-
reactivity_u0.write(this.#surface, _v1);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
class ReactiveObject_10ywfta2 extends reactivity_u0.ReactiveObject {
|
|
55
|
-
#length = this[reactivity_u0.SIGNAL](0);
|
|
56
|
-
constructor() {
|
|
57
|
-
super(null);
|
|
58
|
-
}
|
|
59
|
-
get length() {
|
|
60
|
-
return reactivity_u0.read(this.#length);
|
|
61
|
-
}
|
|
62
|
-
set length(_v0) {
|
|
63
|
-
reactivity_u0.write(this.#length, _v0);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
const COLLAPSED = 80;
|
|
67
|
-
const EDGES = {
|
|
68
|
-
bottom: ['column', 'after'],
|
|
69
|
-
left: ['row', 'before'],
|
|
70
|
-
right: ['row', 'after'],
|
|
71
|
-
top: ['column', 'before']
|
|
72
|
-
};
|
|
73
|
-
function filter(node, keep) {
|
|
74
|
-
if (node === null) {
|
|
75
|
-
return null;
|
|
76
|
-
}
|
|
77
|
-
if (node.kind === 'group') {
|
|
78
|
-
return keep(node) ? node : null;
|
|
79
|
-
}
|
|
80
|
-
let entries = node.children.flatMap((child, i) => {
|
|
81
|
-
let kept = filter(child, keep);
|
|
82
|
-
return kept === null ? [] : [{ node: kept, size: node.sizes[i] ?? 0 }];
|
|
83
|
-
});
|
|
84
|
-
if (entries.length === 0) {
|
|
85
|
-
return null;
|
|
86
|
-
}
|
|
87
|
-
if (entries.length === 1) {
|
|
88
|
-
return entries[0].node;
|
|
89
|
-
}
|
|
90
|
-
let total = entries.reduce((sum, entry) => sum + entry.size, 0);
|
|
91
|
-
return {
|
|
92
|
-
...node,
|
|
93
|
-
children: entries.map((entry) => entry.node),
|
|
94
|
-
sizes: entries.map((entry) => total > 0 ? entry.size / total : 1 / entries.length)
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function find(node, id) {
|
|
98
|
-
if (node === null || node.id === id) {
|
|
99
|
-
return node;
|
|
100
|
-
}
|
|
101
|
-
if (node.kind === 'group') {
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
for (let i = 0, n = node.children.length; i < n; i++) {
|
|
105
|
-
let found = find(node.children[i], id);
|
|
106
|
-
if (found) {
|
|
107
|
-
return found;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return null;
|
|
111
|
-
}
|
|
112
|
-
function findSurface(node, id) {
|
|
113
|
-
for (let group of allGroups(node)) {
|
|
114
|
-
let surface = group.surfaces.find((entry) => entry.id === id);
|
|
115
|
-
if (surface) {
|
|
116
|
-
return surface;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
return null;
|
|
120
|
-
}
|
|
121
|
-
function mounted(layout) {
|
|
122
|
-
let ids = new Set(), { docked, main } = shown(layout);
|
|
123
|
-
for (let group of [...allGroups(main), ...allGroups(docked)]) {
|
|
124
|
-
if (group.active !== null) {
|
|
125
|
-
ids.add(group.active);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return ids;
|
|
129
|
-
}
|
|
130
|
-
function collide(_, pointer, targets) {
|
|
131
|
-
let inside = (target) => {
|
|
132
|
-
let { bottom, left, right, top } = target.rect;
|
|
133
|
-
return pointer.x >= left && pointer.x <= right && pointer.y >= top && pointer.y <= bottom;
|
|
134
|
-
}, dock = targets.find((target) => target.data.kind === 'dock' && inside(target));
|
|
135
|
-
if (dock) {
|
|
136
|
-
return dock.id;
|
|
137
|
-
}
|
|
138
|
-
let container = targets.find((target) => target.data.kind === 'group' && inside(target));
|
|
139
|
-
if (!container) {
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
if (pointer.y <= container.data.strip()) {
|
|
143
|
-
return container.id;
|
|
144
|
-
}
|
|
145
|
-
let { height, left, top, width } = container.rect, x = width <= 0 ? 0.5 : (pointer.x - left) / width, y = height <= 0 ? 0.5 : (pointer.y - top) / height, side = [['left', x], ['right', 1 - x], ['top', y], ['bottom', 1 - y]]
|
|
146
|
-
.reduce((nearest, candidate) => candidate[1] < nearest[1] ? candidate : nearest)[0];
|
|
147
|
-
return targets.find((target) => target.data.kind === 'edge' && target.data.group === container.data.group && target.data.side === side)?.id
|
|
148
|
-
?? container.id;
|
|
149
|
-
}
|
|
150
|
-
function position(strip, dragged, x) {
|
|
151
|
-
let index = 0, tabs = strip.querySelectorAll('.panels-tab');
|
|
152
|
-
for (let i = 0, n = tabs.length; i < n; i++) {
|
|
153
|
-
let tab = tabs[i];
|
|
154
|
-
if (tab === dragged) {
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
let { left, width } = tab.getBoundingClientRect();
|
|
158
|
-
if (x > left + width / 2) {
|
|
159
|
-
index++;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
return index;
|
|
163
|
-
}
|
|
164
|
-
function shown(layout) {
|
|
165
|
-
let zoom = layout.zoom.at(-1);
|
|
166
|
-
if (zoom) {
|
|
167
|
-
let ids = new Set(zoom);
|
|
168
|
-
return { docked: null, main: filter(layout.root, (group) => ids.has(group.id)) };
|
|
169
|
-
}
|
|
170
|
-
return {
|
|
171
|
-
docked: layout.bottom.open ? filter(layout.root, (group) => group.placement === 'bottom') : null,
|
|
172
|
-
main: filter(layout.root, (group) => group.placement !== 'bottom')
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
function structure(node) {
|
|
176
|
-
if (node === null) {
|
|
177
|
-
return null;
|
|
178
|
-
}
|
|
179
|
-
if (node.kind === 'group') {
|
|
180
|
-
return [node.id, node.placement ?? '', node.surfaces.map((surface) => surface.id)];
|
|
181
|
-
}
|
|
182
|
-
return [node.id, node.direction, node.children.map(structure)];
|
|
183
|
-
}
|
|
184
|
-
const panels = component(function ({ catalog, icons = false, state, ...attributes }) {
|
|
185
|
-
let adding, apple = mac(), controller, hosts = new Map(), parking = document.createElement('div'), picks = signal([]), size = new ReactiveObject_10ywfta0(), slots = new Map(), subject = new ReactiveObject_10ywfta1(), unobserve, workspace;
|
|
186
|
-
let drag = manager({
|
|
187
|
-
collide,
|
|
188
|
-
end: (active, over, pointer) => {
|
|
189
|
-
if (!over) {
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
let data = over.data, surface = active.data.surface;
|
|
193
|
-
if (data.kind === 'dock') {
|
|
194
|
-
state.dock(surface);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
let target = data.group;
|
|
198
|
-
if (data.kind === 'group') {
|
|
199
|
-
state.move(surface, target, position(over.node, active.node, pointer.x));
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
let source = active.data.group, [direction, side] = EDGES[data.side];
|
|
203
|
-
if (source === target && findGroup(state.layout.root, target)?.surfaces.length === 1) {
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
state.split(surface, target, direction, side);
|
|
207
|
-
},
|
|
208
|
-
label: (active) => {
|
|
209
|
-
let surface = findSurface(state.layout.root, active.id);
|
|
210
|
-
return surface ? title(context, surface) : '';
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
let context = {
|
|
214
|
-
add(kind, group) {
|
|
215
|
-
let entry = catalog[kind];
|
|
216
|
-
if (!entry) {
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
let id = kind;
|
|
220
|
-
if (entry.multiple) {
|
|
221
|
-
let taken = new Set(allGroups(state.layout.root).flatMap((group) => group.surfaces.map((surface) => surface.id))), n = 1;
|
|
222
|
-
while (taken.has(id = `${kind}-${n}`)) {
|
|
223
|
-
n++;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
state.open({ id, kind }, group);
|
|
227
|
-
},
|
|
228
|
-
catalog,
|
|
229
|
-
choose(e, group) {
|
|
230
|
-
if (!adding) {
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
let { bottom, left } = e.currentTarget.getBoundingClientRect();
|
|
234
|
-
subject.group = group;
|
|
235
|
-
flush();
|
|
236
|
-
adding.open({ x: left, y: bottom });
|
|
237
|
-
},
|
|
238
|
-
held: (e) => apple ? e.metaKey : e.ctrlKey,
|
|
239
|
-
icons,
|
|
240
|
-
manager: drag,
|
|
241
|
-
menu(e, group, surface) {
|
|
242
|
-
if (!controller) {
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
e.preventDefault();
|
|
246
|
-
subject.group = group;
|
|
247
|
-
subject.surface = surface;
|
|
248
|
-
flush();
|
|
249
|
-
controller.open(e.button === 2 ? { x: e.clientX, y: e.clientY } : undefined);
|
|
250
|
-
},
|
|
251
|
-
pick(group) {
|
|
252
|
-
let current = read(picks);
|
|
253
|
-
write(picks, current.includes(group) ? current.filter((id) => id !== group) : [...current, group]);
|
|
254
|
-
},
|
|
255
|
-
picked: (group) => read(picks).includes(group),
|
|
256
|
-
slot: (surface) => {
|
|
257
|
-
let root_10ywfta3 = template_10ywfta4();
|
|
258
|
-
template_u1.onconnect(root_10ywfta3, (element) => {
|
|
259
|
-
slots.set(surface, element);
|
|
260
|
-
attach(surface, element);
|
|
261
|
-
});
|
|
262
|
-
template_u1.ondisconnect(root_10ywfta3, () => {
|
|
263
|
-
if (slots.get(surface)?.isConnected === false) {
|
|
264
|
-
slots.delete(surface);
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
template_u1.setClass(root_10ywfta3, ["panels-slot"]);
|
|
268
|
-
return root_10ywfta3;
|
|
269
|
-
},
|
|
270
|
-
state
|
|
271
|
-
};
|
|
272
|
-
setProperties(parking, { class: 'panels-parking' });
|
|
273
|
-
function attach(surface, slot) {
|
|
274
|
-
let host = hosts.get(surface);
|
|
275
|
-
if (!host) {
|
|
276
|
-
return;
|
|
277
|
-
}
|
|
278
|
-
if (!slot.isConnected) {
|
|
279
|
-
queueMicrotask(() => slot.isConnected && attach(surface, slot));
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
move(host.element, slot);
|
|
283
|
-
}
|
|
284
|
-
function ensure(surface) {
|
|
285
|
-
if (hosts.has(surface)) {
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
let found = findSurface(state.layout.root, surface), kind = found && catalog[found.kind];
|
|
289
|
-
if (!found || !kind) {
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
let element = document.createElement('div'), entry = found, release = untrack(() => root(() => render(element, { class: 'panels-host', 'data-surface': surface }, () => kind.render(entry))));
|
|
293
|
-
hosts.set(surface, { dispose: release, element });
|
|
294
|
-
}
|
|
295
|
-
function move(element, target) {
|
|
296
|
-
if (element.parentElement === target) {
|
|
297
|
-
return;
|
|
298
|
-
}
|
|
299
|
-
if ('moveBefore' in target && element.isConnected && target.isConnected) {
|
|
300
|
-
target.moveBefore(element, null);
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
let focused = document.activeElement;
|
|
304
|
-
target.append(element);
|
|
305
|
-
if (focused instanceof HTMLElement && element.contains(focused)) {
|
|
306
|
-
focused.focus({ preventScroll: true });
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
function park() {
|
|
310
|
-
if (workspace && parking.parentElement !== workspace) {
|
|
311
|
-
workspace.append(parking);
|
|
312
|
-
}
|
|
313
|
-
for (let host of hosts.values()) {
|
|
314
|
-
move(host.element, parking);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
function sync(layout, attaching) {
|
|
318
|
-
let shown = mounted(layout);
|
|
319
|
-
for (let [surface, host] of hosts) {
|
|
320
|
-
if (findSurface(layout.root, surface)) {
|
|
321
|
-
if (!shown.has(surface)) {
|
|
322
|
-
move(host.element, parking);
|
|
323
|
-
}
|
|
324
|
-
continue;
|
|
325
|
-
}
|
|
326
|
-
host.dispose();
|
|
327
|
-
host.element.remove();
|
|
328
|
-
hosts.delete(surface);
|
|
329
|
-
slots.delete(surface);
|
|
330
|
-
}
|
|
331
|
-
for (let surface of shown) {
|
|
332
|
-
ensure(surface);
|
|
333
|
-
let slot = slots.get(surface);
|
|
334
|
-
if (attaching && slot) {
|
|
335
|
-
attach(surface, slot);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
function handle(axis, sizes, index, length, apply, hidden) {
|
|
340
|
-
return (axis === "x" ? (() => {
|
|
341
|
-
let root_10ywfta5 = template_10ywfta6();
|
|
342
|
-
template_u1.setProperties(root_10ywfta5, resize(axis, () => {
|
|
343
|
-
let from = sizes(), total = length();
|
|
344
|
-
return (delta) => apply(resized(from, index, delta, total, MIN_FRACTION));
|
|
345
|
-
}));
|
|
346
|
-
template_u1.setProperty(root_10ywfta5, 'hidden', () => hidden?.() ?? false);
|
|
347
|
-
template_u1.setClass(root_10ywfta5, ["panels-handle panels-handle--x"]);
|
|
348
|
-
return root_10ywfta5;
|
|
349
|
-
})() : axis === "y" ? (() => {
|
|
350
|
-
let root_10ywfta7 = template_10ywfta8();
|
|
351
|
-
template_u1.setProperties(root_10ywfta7, resize(axis, () => {
|
|
352
|
-
let from = sizes(), total = length();
|
|
353
|
-
return (delta) => apply(resized(from, index, delta, total, MIN_FRACTION));
|
|
354
|
-
}));
|
|
355
|
-
template_u1.setProperty(root_10ywfta7, 'hidden', () => hidden?.() ?? false);
|
|
356
|
-
template_u1.setClass(root_10ywfta7, ["panels-handle panels-handle--y"]);
|
|
357
|
-
return root_10ywfta7;
|
|
358
|
-
})() : (() => {
|
|
359
|
-
let root_10ywfta9 = template_10ywftaa();
|
|
360
|
-
template_u1.setProperty(root_10ywfta9, 'aria-orientation', axis === 'x' ? 'vertical' : 'horizontal');
|
|
361
|
-
template_u1.setProperties(root_10ywfta9, resize(axis, () => {
|
|
362
|
-
let from = sizes(), total = length();
|
|
363
|
-
return (delta) => apply(resized(from, index, delta, total, MIN_FRACTION));
|
|
364
|
-
}));
|
|
365
|
-
template_u1.setProperty(root_10ywfta9, 'hidden', () => hidden?.() ?? false);
|
|
366
|
-
template_u1.setClass(root_10ywfta9, ["panels-handle", "panels-handle--" + (axis)]);
|
|
367
|
-
return root_10ywfta9;
|
|
368
|
-
})());
|
|
369
|
-
}
|
|
370
|
-
function node(current) {
|
|
371
|
-
if (current.kind === 'group') {
|
|
372
|
-
let id = current.id;
|
|
373
|
-
return group(context, () => {
|
|
374
|
-
let layout = state.layout, found = find(layout.root, id);
|
|
375
|
-
return { group: found?.kind === 'group' ? found : current, layout };
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
return split(current);
|
|
379
|
-
}
|
|
380
|
-
function split(current) {
|
|
381
|
-
let axis = current.direction === 'row' ? 'x' : 'y', box = new ReactiveObject_10ywfta2(), unobserve;
|
|
382
|
-
function sizes() {
|
|
383
|
-
let { docked, main } = shown(state.layout), found = find(main, current.id) ?? find(docked, current.id);
|
|
384
|
-
return found?.kind === 'split' ? [...found.sizes] : [...current.sizes];
|
|
385
|
-
}
|
|
386
|
-
{
|
|
387
|
-
let root_10ywftab = template_10ywfta4();
|
|
388
|
-
template_u1.slot(root_10ywftab, current.children.map((child, index) => {
|
|
389
|
-
let root_10ywftac = template_10ywftad(), element_10ywftae = root_10ywftac.firstChild, element_10ywftaf = element_10ywftae.nextSibling;
|
|
390
|
-
template_u1.slot(element_10ywftae, node(child), 1);
|
|
391
|
-
template_u1.slot(element_10ywftaf, index < current.children.length - 1 && handle(axis, sizes, index, () => box.length, (next) => state.resize(current.id, next, current.children.map((child) => child.id))));
|
|
392
|
-
template_u1.setClass(element_10ywftae, ["panels-pane"]);
|
|
393
|
-
template_u1.setStyle(element_10ywftae, ["", () => {
|
|
394
|
-
let maximized = state.layout.maximized;
|
|
395
|
-
if (maximized === null || !contains(current, maximized)) {
|
|
396
|
-
return `flex: 0 0 ${(sizes()[index] ?? 0) * 100}%;`;
|
|
397
|
-
}
|
|
398
|
-
return contains(current.children[index], maximized)
|
|
399
|
-
? `flex: 0 0 calc(100% - ${(current.children.length - 1) * COLLAPSED}px);`
|
|
400
|
-
: `flex: 0 0 ${COLLAPSED}px;`;
|
|
401
|
-
}]);
|
|
402
|
-
return root_10ywftac;
|
|
403
|
-
}), 1);
|
|
404
|
-
template_u1.onconnect(root_10ywftab, (element) => {
|
|
405
|
-
unobserve = observe(element, ([entry]) => {
|
|
406
|
-
box.length = axis === 'x' ? entry.contentRect.width : entry.contentRect.height;
|
|
407
|
-
});
|
|
408
|
-
});
|
|
409
|
-
template_u1.ondisconnect(root_10ywftab, () => unobserve?.());
|
|
410
|
-
template_u1.setClass(root_10ywftab, ["panels-split", "panels-split--" + (current.direction)]);
|
|
411
|
-
return root_10ywftab;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
function tree() {
|
|
415
|
-
let { docked, main } = shown(state.layout);
|
|
416
|
-
{
|
|
417
|
-
let root_10ywftag = template_10ywftah(), element_10ywftai = root_10ywftag.firstChild, element_10ywftaj = element_10ywftai.nextSibling;
|
|
418
|
-
template_u1.slot(element_10ywftai, main ? node(main) : launcher(context), 1);
|
|
419
|
-
template_u1.slot(element_10ywftaj, docked && (() => {
|
|
420
|
-
let root_10ywftak = template_10ywftal(), element_10ywftam = root_10ywftak.firstChild, element_10ywftan = element_10ywftam.nextSibling;
|
|
421
|
-
template_u1.slot(element_10ywftam, handle('y', () => {
|
|
422
|
-
let share = bounded(state.layout.bottom.size);
|
|
423
|
-
return [1 - share, share];
|
|
424
|
-
}, 0, () => size.height, (next) => state.resizeBottom(next[1]), () => state.layout.bottom.maximized));
|
|
425
|
-
template_u1.slot(element_10ywftan, node(docked), 1);
|
|
426
|
-
template_u1.setClass(element_10ywftan, ["panels-dock", () => state.layout.bottom.maximized && 'panels-dock--maximized']);
|
|
427
|
-
template_u1.setStyle(element_10ywftan, ["", () => `flex: 0 0 ${bounded(state.layout.bottom.size) * 100}%;`]);
|
|
428
|
-
return root_10ywftak;
|
|
429
|
-
})());
|
|
430
|
-
return root_10ywftag;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
let items = [
|
|
434
|
-
{ label: 'Close', onselect: () => state.close(subject.surface) },
|
|
435
|
-
{
|
|
436
|
-
hidden: () => (findGroup(state.layout.root, subject.group)?.surfaces.length ?? 0) <= 1,
|
|
437
|
-
label: 'Close Others',
|
|
438
|
-
onselect: () => state.closeOthers(subject.group, subject.surface)
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
hidden: () => {
|
|
442
|
-
let surfaces = findGroup(state.layout.root, subject.group)?.surfaces ?? [];
|
|
443
|
-
return surfaces.findIndex((surface) => surface.id === subject.surface) >= surfaces.length - 1;
|
|
444
|
-
},
|
|
445
|
-
label: 'Close to the Right',
|
|
446
|
-
onselect: () => state.closeRight(subject.group, subject.surface)
|
|
447
|
-
},
|
|
448
|
-
{ label: 'Close All', onselect: () => state.closeGroup(subject.group) }
|
|
449
|
-
], last = '', stop = drag.overlay();
|
|
450
|
-
onCleanup(() => {
|
|
451
|
-
stop();
|
|
452
|
-
drag.dispose();
|
|
453
|
-
for (let host of hosts.values()) {
|
|
454
|
-
host.dispose();
|
|
455
|
-
}
|
|
456
|
-
hosts.clear();
|
|
457
|
-
slots.clear();
|
|
458
|
-
parking.remove();
|
|
459
|
-
});
|
|
460
|
-
{
|
|
461
|
-
let root_10ywftao = template_10ywftap(), element_10ywftaq = root_10ywftao.firstChild, element_10ywftar = root_10ywftao.firstElementChild, element_10ywftas = element_10ywftaq.nextSibling.nextSibling;
|
|
462
|
-
template_u1.slot(element_10ywftaq, subtree(() => {
|
|
463
|
-
let layout = state.layout, key = JSON.stringify([layout.bottom.open, layout.zoom.at(-1) ?? null, structure(layout.root)]), changed = key !== last;
|
|
464
|
-
if (changed) {
|
|
465
|
-
park();
|
|
466
|
-
}
|
|
467
|
-
sync(layout, !changed);
|
|
468
|
-
last = key;
|
|
469
|
-
return key;
|
|
470
|
-
}, tree, { class: 'panels-tree' }));
|
|
471
|
-
template_u1.slot(element_10ywftas, tooltip.context({
|
|
472
|
-
class: 'panels-menu',
|
|
473
|
-
controller: (value) => {
|
|
474
|
-
adding = value;
|
|
475
|
-
},
|
|
476
|
-
items: Object.entries(catalog).map(([kind, entry]) => ({
|
|
477
|
-
...(entry.icon ? { icon: () => icon({ 'aria-hidden': 'true' }, entry.icon) } : {}),
|
|
478
|
-
label: typeof entry.title === 'function' ? entry.title({ id: '', kind }) : entry.title,
|
|
479
|
-
onselect: () => context.add(kind, subject.group)
|
|
480
|
-
})),
|
|
481
|
-
[tooltip.context.panel]: { 'aria-label': 'Add panel' }
|
|
482
|
-
}, ''));
|
|
483
|
-
template_u1.slot(root_10ywftao, tooltip.context({
|
|
484
|
-
class: 'panels-menu',
|
|
485
|
-
controller: (value) => {
|
|
486
|
-
controller = value;
|
|
487
|
-
},
|
|
488
|
-
items,
|
|
489
|
-
[tooltip.context.panel]: { 'aria-label': 'Tab actions' }
|
|
490
|
-
}, ''), 1);
|
|
491
|
-
template_u1.setProperties(element_10ywftar, drag.droppable(() => ({ data: { kind: 'dock' }, id: 'dock' })));
|
|
492
|
-
template_u1.setClass(element_10ywftar, ["panels-dock-target"]);
|
|
493
|
-
let attributes_10ywftat = attributes;
|
|
494
|
-
template_u1.setProperties(root_10ywftao, attributes_10ywftat, true);
|
|
495
|
-
template_u1.onconnect(root_10ywftao, (element) => {
|
|
496
|
-
workspace = element;
|
|
497
|
-
element.append(parking);
|
|
498
|
-
unobserve = observe(element, ([entry]) => {
|
|
499
|
-
size.height = entry.contentRect.height;
|
|
500
|
-
});
|
|
501
|
-
});
|
|
502
|
-
template_u1.ondisconnect(root_10ywftao, () => unobserve?.());
|
|
503
|
-
template_u1.onwindow(root_10ywftao, 'blur', () => write(picks, []));
|
|
504
|
-
template_u1.onwindow(root_10ywftao, 'keydown', (e) => {
|
|
505
|
-
if (e.key === 'Escape' && read(picks).length) {
|
|
506
|
-
e.preventDefault();
|
|
507
|
-
write(picks, []);
|
|
508
|
-
}
|
|
509
|
-
});
|
|
510
|
-
template_u1.onwindow(root_10ywftao, 'keyup', (e) => {
|
|
511
|
-
let chosen = read(picks);
|
|
512
|
-
if (e.key !== (apple ? 'Meta' : 'Control') || chosen.length === 0) {
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
write(picks, []);
|
|
516
|
-
state.zoom(chosen);
|
|
517
|
-
});
|
|
518
|
-
template_u1.setClass(root_10ywftao, ["panels", attributes_10ywftat?.class, () => read(drag.active) && 'panels--dragging']);
|
|
519
|
-
template_u1.setStyle(root_10ywftao, ["", attributes_10ywftat?.style]);
|
|
520
|
-
return root_10ywftao;
|
|
521
|
-
}
|
|
522
|
-
});
|
|
523
|
-
const layout = Object.assign(panels, { state });
|
|
524
|
-
export default layout;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
type Direction = 'column' | 'row';
|
|
2
|
-
type Group = {
|
|
3
|
-
active: string | null;
|
|
4
|
-
id: string;
|
|
5
|
-
kind: 'group';
|
|
6
|
-
placement?: 'bottom';
|
|
7
|
-
surfaces: Surface[];
|
|
8
|
-
};
|
|
9
|
-
type Layout = {
|
|
10
|
-
active: string | null;
|
|
11
|
-
bottom: {
|
|
12
|
-
maximized: boolean;
|
|
13
|
-
open: boolean;
|
|
14
|
-
size: number;
|
|
15
|
-
};
|
|
16
|
-
maximized: string | null;
|
|
17
|
-
root: Node | null;
|
|
18
|
-
zoom: string[][];
|
|
19
|
-
};
|
|
20
|
-
type Node = Group | Split;
|
|
21
|
-
type Options = {
|
|
22
|
-
root?: Node | null;
|
|
23
|
-
storage?: string;
|
|
24
|
-
};
|
|
25
|
-
type Side = 'after' | 'before';
|
|
26
|
-
type Split = {
|
|
27
|
-
children: Node[];
|
|
28
|
-
direction: Direction;
|
|
29
|
-
id: string;
|
|
30
|
-
kind: 'split';
|
|
31
|
-
sizes: number[];
|
|
32
|
-
};
|
|
33
|
-
type Surface = {
|
|
34
|
-
id: string;
|
|
35
|
-
kind: string;
|
|
36
|
-
};
|
|
37
|
-
declare const MIN_FRACTION = 0.1;
|
|
38
|
-
declare function allGroups(node: Node | null): Group[];
|
|
39
|
-
declare function bounded(size: number): number;
|
|
40
|
-
declare function contains(node: Node, id: string): boolean;
|
|
41
|
-
declare function findGroup(node: Node | null, id: string): Group | null;
|
|
42
|
-
declare const state: ({ root, storage }?: Options) => {
|
|
43
|
-
activate(surface: string): void;
|
|
44
|
-
close(surface: string): void;
|
|
45
|
-
closeAll(): void;
|
|
46
|
-
closeGroup(group: string): void;
|
|
47
|
-
closeOthers(group: string, surface: string): void;
|
|
48
|
-
closeRight(group: string, surface: string): void;
|
|
49
|
-
dock(surface: string, side?: Side): void;
|
|
50
|
-
focus(group: string): void;
|
|
51
|
-
readonly layout: Layout;
|
|
52
|
-
maximize(group: string): void;
|
|
53
|
-
move(surface: string, group: string, index?: number): void;
|
|
54
|
-
open(surface: Surface, group?: string): void;
|
|
55
|
-
resize(split: string, sizes: number[], shown?: string[]): void;
|
|
56
|
-
resizeBottom(size: number): void;
|
|
57
|
-
split(surface: string, group: string, direction: Direction, side: Side): void;
|
|
58
|
-
toggleBottom(): void;
|
|
59
|
-
unzoom(): void;
|
|
60
|
-
zoom(groups: string[]): void;
|
|
61
|
-
};
|
|
62
|
-
export default state;
|
|
63
|
-
export { allGroups, bounded, contains, findGroup, MIN_FRACTION };
|
|
64
|
-
export type { Direction, Group, Layout, Node, Side, Split, Surface };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const resize: (axis: 'x' | 'y', start: () => ((delta: number) => void) | null) => {
|
|
2
|
-
onlostpointercapture: (e: PointerEvent) => void;
|
|
3
|
-
onpointercancel: (e: PointerEvent) => void;
|
|
4
|
-
onpointerdown: (e: PointerEvent) => void;
|
|
5
|
-
onpointermove: (e: PointerEvent) => void;
|
|
6
|
-
onpointerup: (e: PointerEvent) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const resized: (sizes: readonly number[], index: number, delta: number, length: number, minimum: number) => number[];
|
|
9
|
-
export { resize, resized };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
@layer components{.panels-expand{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.panels-tab-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@keyframes text-gradient{to{background-position:var(--background-size) 0}}@keyframes text-line-shadow{0%{background-position:0 0}to{background-position:100% -100%}}@keyframes text-shiny{0%,90%,to{background-position:calc(-100% - var(--shine-width)) 0}30%,60%{background-position:calc(100% + var(--shine-width)) 0}}.panels-handle{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.panels-handle{--background:var(--background-active)}.panels-handle:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.panels-handle:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.panels-action,.panels-add,.panels-tab-close,.panels-launcher-card,.panels-tab{--color-active:var(--color-text-300);--color-default:var(--color-text-400);--color-hover:var(--color-text-300);--color-pressed:var(--color-text-500)}:where([data-theme=dark]) .panels-action,:where([data-theme=dark]) .panels-add,:where([data-theme=dark]) .panels-tab-close,:where([data-theme=dark]) .panels-launcher-card,:where([data-theme=dark]) .panels-tab{--color-active:var(--color-text-500);--color-default:var(--color-text-400);--color-hover:var(--color-text-500);--color-pressed:var(--color-text-300)}:where([data-theme=light]) .panels-action,:where([data-theme=light]) .panels-add,:where([data-theme=light]) .panels-tab-close,:where([data-theme=light]) .panels-launcher-card,:where([data-theme=light]) .panels-tab{--color-active:var(--color-text-500);--color-default:var(--color-text-400);--color-hover:var(--color-text-300);--color-pressed:var(--color-text-500)}.panels-ghost{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .036) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .036) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .036) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .036) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h));--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}@container style(--surface-level:-3){.panels-ghost{--surface-level:-2;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-2){.panels-ghost{--surface-level:-1;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-1){.panels-ghost{--surface-level:0;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:0){.panels-ghost{--surface-level:1;--surface-shadow-active:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2.875px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .075)), 0 .875px 1.75px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .07));--surface-shadow-default:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 2.25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .05)), 0 .25px .5px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:1){.panels-ghost{--surface-level:2;--surface-shadow-active:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.625px 5.625px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.875px 3.75px -1.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.75px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.25px 2.5px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 .75px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 .125px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .005)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:2){.panels-ghost{--surface-level:3;--surface-shadow-active:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 9.25px 13.875px -2.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 3.75px 5.75px -3.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 5.5px 8.25px -1.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.5px 4.5px -2.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 1.5px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:3){.panels-ghost{--surface-level:4;--surface-shadow-active:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 18.75px 23.75px -4.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 7.5px 9.5px -5.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 12.5px 17.5px -3.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 5px 7px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 2.75px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .035),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .03),transparent), 0 1px 2.125px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .045)), 0 .125px .25px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01))}}@container style(--surface-level:4){.panels-ghost{--surface-level:5;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 24.375px 46.875px -11.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .185)), 0 1px 1.25px -.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01));--surface-shadow-default:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 21.25px 31.25px -6.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .11)), 0 6px 7.5px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .06));--surface-shadow-pressed:0 3.25px 5.25px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.375px 3.375px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.125px 2.25px -1.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}@container style(--surface-level:5){.panels-ghost{--surface-level:6;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}.panels{--border-color:var(--surface-border-default);--drop-background:oklch(from var(--color-primary-400) l c h / .12);--drop-ring:oklch(from var(--color-primary-400) l c h / .5);--muted-color:var(--color-text-300)}.panels-action{--background-active:var(--surface-background-active);--size:28px}.panels-action,.panels-add,.panels-tab-close{--background-default:transparent;--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-radius:var(--border-radius-300);--padding-horizontal:0px;--padding-vertical:0px}.panels-add{--size:24px}.panels-body{--min-width:200px}.panels-dock{--min-height:80px}.panels-dock-target{--height:48px}.panels-dock-target,.panels-edge{--ring-width:var(--border-width-500)}.panels-ghost{--background:var(--surface-background-default);--border-radius:var(--border-radius-300);--font-size:calc(var(--font-size-400) * .75);--padding-horizontal:var(--size-200);--padding-vertical:calc(var(--size-100) / 2);--z-index:1000}.panels-group{--over-ring-width:var(--border-width-400);--picked-ring-width:var(--border-width-500)}.panels-handle{--background-default:var(--surface-border-default);--background-hover:var(--surface-border-pressed);--background-pressed:var(--color-primary-400);--line-width:1px;--size:8px;--transition-duration:.16s;--transition-timing-function:cubic-bezier(.4, 0, .2, 1)}.panels-header{--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4);--height:36px;--padding-horizontal:calc(var(--size-300) / 2)}.panels-launcher{--padding-horizontal:var(--size-600);--padding-vertical:var(--size-600)}.panels-launcher-card{--background-active:var(--surface-background-hover);--background-default:transparent;--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-color-default:var(--surface-border-default);--border-radius:var(--border-radius-400);--border-width:var(--border-width-400);--gap-vertical:calc(var(--size-100) / 2);--padding-horizontal:var(--size-400);--padding-vertical:var(--size-400)}.panels-launcher-card-description{--font-size:calc(var(--font-size-400) * .75);--line-height:1.5}.panels-launcher-card-icon.icon{--size:16px}.panels-launcher-card-key{--inset:var(--size-300)}.panels-launcher-card-title{--font-size:calc(var(--font-size-400) * .875);--gap-horizontal:var(--size-200);--gap-vertical:0px;--padding-end:var(--size-700)}.panels-launcher-cards{--column-width:180px;--gap-horizontal:var(--size-200);--gap-vertical:var(--size-200)}.panels-launcher-content{--max-width:512px}.panels-launcher-description{--font-size:calc(var(--font-size-400) * .75)}.panels-launcher-header{--gap-horizontal:0px;--gap-vertical:calc(var(--size-100) / 2);--spacer:var(--size-500)}.panels-launcher-title{--font-size:calc(var(--font-size-400) * .875)}.panels-tab{--background-active:transparent;--background-default:transparent;--background-hover:transparent;--background-pressed:transparent;--border-radius:var(--border-radius-300);--font-size:calc(var(--font-size-400) * .75);--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4);--height:24px;--max-width:144px;--padding-horizontal:calc(var(--size-300) / 2);--padding-vertical:0px}.panels-tab--dragging{--opacity:.45}.panels-tab-close{--size:16px}.panels-tab-close .icon,.panels-tab-icon.icon{--size:12px}.panels-tabs{--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4)}.panels-tabs-highlight{--background-active:var(--surface-background-active);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed)}.panels{contain:inline-size;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.panels--dragging .panels-dock-target,.panels--dragging .panels-edge{pointer-events:auto}.panels-action,.panels-add{height:var(--size);width:var(--size);flex:none}.panels-body{min-height:0;min-width:var(--min-width);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.panels-dock{min-height:var(--min-height);min-width:0;display:flex;overflow:hidden}.panels-dock--maximized{background:var(--background);z-index:3;position:absolute;inset:0}.panels-dock-target{height:var(--height);pointer-events:none;z-index:4;bottom:0;position:absolute;inset-inline:0}.panels-dock-target.--over,.panels-edge.--over{background:var(--drop-background);box-shadow:inset 0 0 0 var(--ring-width) var(--drop-ring)}.panels-edge{pointer-events:none;z-index:2;position:absolute}.panels-edge--bottom{bottom:0;height:50%;inset-inline:0}.panels-edge--left{left:0;width:50%;inset-block:0}.panels-edge--right{right:0;width:50%;inset-block:0}.panels-edge--top{top:0;height:50%;inset-inline:0}.panels-expand{z-index:2;position:absolute;inset:0}.panels-ghost{background:var(--background);border-radius:var(--border-radius);box-shadow:var(--surface-shadow-default);font-size:var(--font-size);padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);pointer-events:none;white-space:nowrap;z-index:var(--z-index);position:fixed}.panels-group{border:var(--border-width-400) solid transparent;flex-flow:column;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.panels-group--picked{background:var(--drop-background);box-shadow:inset 0 0 0 var(--picked-ring-width) var(--drop-ring)}.panels-group.--active{border-color:var(--border-color)}.panels-group.--over{box-shadow:inset 0 0 0 var(--over-ring-width) var(--drop-ring)}.panels-handle{touch-action:none;-webkit-user-select:none;user-select:none;z-index:1;flex-shrink:0;position:relative}.panels-handle:after{background:var(--background);content:"";pointer-events:none;transition:background var(--transition-duration) var(--transition-timing-function);position:absolute}.panels-handle--x{cursor:col-resize;height:100%;margin-inline:calc(var(--size) / -2);width:var(--size)}.panels-handle--x:after{width:var(--line-width);inset-block:0;left:50%;translate:-50%}.panels-handle--y{cursor:row-resize;height:var(--size);margin-block:calc(var(--size) / -2);width:100%}.panels-handle--y:after{height:var(--line-width);inset-inline:0;top:50%;translate:0 -50%}.panels-handle[hidden]{display:none}.panels-header{align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding-inline:var(--padding-horizontal);flex-shrink:0;display:flex}.panels-host,.panels-slot,.panels-subtree{display:contents}.panels-launcher{min-height:0;padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);outline:none;flex:1;justify-content:center;align-items:center;display:flex;overflow-y:auto}.panels-launcher-card{border:var(--border-width) solid var(--border-color);align-items:flex-start;gap:var(--gap-vertical) var(--gap-horizontal);text-align:start;white-space:normal;flex-direction:column;justify-content:flex-start;width:100%;position:relative}.panels-launcher-card-description{color:var(--muted-color);font-size:var(--font-size);line-height:var(--line-height)}.panels-launcher-card-key{position:absolute;inset-block-start:var(--inset);inset-inline-end:var(--inset)}.panels-launcher-card-title{font-size:var(--font-size);font-weight:var(--font-weight-500);align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);padding-inline-end:var(--padding-end);display:flex}.panels-launcher-cards{gap:var(--gap-vertical) var(--gap-horizontal);grid-template-columns:repeat(auto-fill, minmax(var(--column-width), 1fr));display:grid}.panels-launcher-content{max-width:var(--max-width);width:100%}.panels-launcher-description{color:var(--muted-color);font-size:var(--font-size)}.panels-launcher-header{gap:var(--gap-vertical) var(--gap-horizontal);text-align:center;flex-direction:column;margin-block-end:var(--spacer);display:flex}.panels-launcher-title{font-size:var(--font-size);font-weight:var(--font-weight-500)}.panels-main{flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.panels-menu{width:0;height:0;position:absolute;top:0;left:0}.panels-pane{min-width:0;min-height:0;display:flex;overflow:hidden}.panels-parking{display:none}.panels-split{width:100%;min-width:0;height:100%;min-height:0;display:flex}.panels-split--column{flex-direction:column}.panels-tab{gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);max-width:var(--max-width);-webkit-user-select:none;user-select:none;flex:none;padding-inline-end:calc(var(--padding-horizontal) / 2)}.panels-tab--dragging{opacity:var(--opacity)}.panels-tab--icon{width:var(--height);justify-content:center;padding-inline:0}.panels-tab-close{height:var(--size);width:var(--size);flex:none}.panels-tab-icon{flex:none}.panels-tab-label{flex:1;min-width:0}.panels-tabs{align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);flex:1;min-width:0;height:100%;display:flex;position:relative;overflow:auto hidden}:root.panels-resizing,:root.panels-resizing *{-webkit-user-select:none;user-select:none}:root.panels-resizing--x,:root.panels-resizing--x *{cursor:col-resize}:root.panels-resizing--y,:root.panels-resizing--y *{cursor:row-resize}}
|
|
2
|
-
/*$vite$:1*/
|