@brett_lamy/ui 5.16.0 → 6.0.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/README.md +167 -69
- package/dist/assets/layout-worker-MHKJBZ5g.js +26 -0
- package/dist/cloudflare.d.ts +15 -0
- package/dist/cloudflare.d.ts.map +1 -0
- package/dist/cloudflare.js +9 -0
- package/dist/components/adaptive-pane.d.ts +4983 -18
- package/dist/components/adaptive-pane.d.ts.map +1 -1
- package/dist/components/adaptive-pane.js +273 -121
- package/dist/components/animated-height.d.ts +6 -20
- package/dist/components/animated-height.d.ts.map +1 -1
- package/dist/components/animated-height.js +50 -71
- package/dist/components/artifact-chat-container.d.ts +108 -60
- package/dist/components/artifact-chat-container.d.ts.map +1 -1
- package/dist/components/artifact-chat-container.js +301 -160
- package/dist/components/avatar-group.d.ts +20 -0
- package/dist/components/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar-group.js +70 -0
- package/dist/components/avatar.d.ts +19 -34
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +66 -94
- package/dist/components/badge.d.ts +5 -4
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +30 -17
- package/dist/components/breadcrumb.d.ts +34 -42
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +214 -225
- package/dist/components/button.d.ts +8 -9
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +35 -37
- package/dist/components/calendar.d.ts +57 -20
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +181 -74
- package/dist/components/call-stack.d.ts +22 -16
- package/dist/components/call-stack.d.ts.map +1 -1
- package/dist/components/call-stack.js +191 -202
- package/dist/components/canvas.d.ts +71 -59
- package/dist/components/canvas.d.ts.map +1 -1
- package/dist/components/canvas.js +202 -310
- package/dist/components/card.d.ts +13 -8
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +45 -37
- package/dist/components/celebrate.d.ts +8 -5
- package/dist/components/celebrate.d.ts.map +1 -1
- package/dist/components/celebrate.js +48 -38
- package/dist/components/checkbox.d.ts +13 -8
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +45 -39
- package/dist/components/cloudflare-diagram.d.ts +112 -0
- package/dist/components/cloudflare-diagram.d.ts.map +1 -0
- package/dist/components/cloudflare-diagram.js +980 -0
- package/dist/components/code-editor.d.ts +51 -38
- package/dist/components/code-editor.d.ts.map +1 -1
- package/dist/components/code-editor.js +267 -272
- package/dist/components/color-picker.d.ts +78 -38
- package/dist/components/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker.js +261 -105
- package/dist/components/combobox.d.ts +79 -18
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/combobox.js +234 -51
- package/dist/components/command-menu.d.ts +145 -181
- package/dist/components/command-menu.d.ts.map +1 -1
- package/dist/components/command-menu.js +513 -802
- package/dist/components/composer/composer-cards.d.ts +15 -8
- package/dist/components/composer/composer-cards.d.ts.map +1 -1
- package/dist/components/composer/composer-cards.js +225 -203
- package/dist/components/composer/composer-context.d.ts +46 -0
- package/dist/components/composer/composer-context.d.ts.map +1 -0
- package/dist/components/composer/composer-context.js +28 -0
- package/dist/components/composer/composer-files.d.ts +13 -3
- package/dist/components/composer/composer-files.d.ts.map +1 -1
- package/dist/components/composer/composer-files.js +61 -22
- package/dist/components/composer/composer.d.ts +215 -222
- package/dist/components/composer/composer.d.ts.map +1 -1
- package/dist/components/composer/composer.js +895 -1216
- package/dist/components/composer/index.d.ts +5 -0
- package/dist/components/composer/index.d.ts.map +1 -0
- package/dist/components/conversation.d.ts +78 -75
- package/dist/components/conversation.d.ts.map +1 -1
- package/dist/components/conversation.js +244 -292
- package/dist/components/cron-editor.d.ts +19 -12
- package/dist/components/cron-editor.d.ts.map +1 -1
- package/dist/components/cron-editor.js +191 -197
- package/dist/components/data-table.d.ts +7150 -0
- package/dist/components/data-table.d.ts.map +1 -0
- package/dist/components/data-table.js +399 -0
- package/dist/components/date-input.d.ts +26 -0
- package/dist/components/date-input.d.ts.map +1 -0
- package/dist/components/date-input.js +88 -0
- package/dist/components/date-picker.d.ts +43 -33
- package/dist/components/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker.js +148 -84
- package/dist/components/debug-toolbar.d.ts +36 -10
- package/dist/components/debug-toolbar.d.ts.map +1 -1
- package/dist/components/debug-toolbar.js +81 -55
- package/dist/components/diagram-frame.d.ts +127 -0
- package/dist/components/diagram-frame.d.ts.map +1 -0
- package/dist/components/diagram-frame.js +305 -0
- package/dist/components/diagram.d.ts +217 -0
- package/dist/components/diagram.d.ts.map +1 -0
- package/dist/components/diagram.js +1724 -0
- package/dist/components/dialog.d.ts +89 -32
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +244 -94
- package/dist/components/disclosure.d.ts +28 -18
- package/dist/components/disclosure.d.ts.map +1 -1
- package/dist/components/disclosure.js +86 -47
- package/dist/components/dropdown-menu.d.ts +106 -26
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +290 -90
- package/dist/components/empty-state.d.ts +27 -0
- package/dist/components/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state.js +93 -0
- package/dist/components/field.d.ts +25 -0
- package/dist/components/field.d.ts.map +1 -0
- package/dist/components/field.js +60 -0
- package/dist/components/file-upload.d.ts +83 -71
- package/dist/components/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload.js +322 -355
- package/dist/components/filmstrip.d.ts +6 -2
- package/dist/components/filmstrip.d.ts.map +1 -1
- package/dist/components/filmstrip.js +35 -28
- package/dist/components/filter-input.d.ts +17 -8
- package/dist/components/filter-input.d.ts.map +1 -1
- package/dist/components/filter-input.js +82 -80
- package/dist/components/filter.d.ts +83 -59
- package/dist/components/filter.d.ts.map +1 -1
- package/dist/components/filter.js +684 -592
- package/dist/components/flame-chart.d.ts +78 -0
- package/dist/components/flame-chart.d.ts.map +1 -0
- package/dist/components/flame-chart.js +717 -0
- package/dist/components/floating-sheet.d.ts +120 -76
- package/dist/components/floating-sheet.d.ts.map +1 -1
- package/dist/components/floating-sheet.js +315 -229
- package/dist/components/font-picker.d.ts +81 -33
- package/dist/components/font-picker.d.ts.map +1 -1
- package/dist/components/font-picker.js +450 -306
- package/dist/components/hover-card.d.ts +23 -63
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +59 -138
- package/dist/components/index-bar.d.ts +43 -30
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/index-bar.js +140 -206
- package/dist/components/input.d.ts +27 -3
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +61 -20
- package/dist/components/kbd.d.ts +6 -3
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +33 -10
- package/dist/components/label.d.ts +5 -5
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +10 -10
- package/dist/components/list.d.ts +78 -61
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +434 -456
- package/dist/components/listbox.d.ts +30 -0
- package/dist/components/listbox.d.ts.map +1 -0
- package/dist/components/listbox.js +136 -0
- package/dist/components/log-list.d.ts +30 -35
- package/dist/components/log-list.d.ts.map +1 -1
- package/dist/components/log-list.js +212 -446
- package/dist/components/markdown-editor.d.ts +66 -32
- package/dist/components/markdown-editor.d.ts.map +1 -1
- package/dist/components/markdown-editor.js +381 -185
- package/dist/components/markdown-view.d.ts +27 -22
- package/dist/components/markdown-view.d.ts.map +1 -1
- package/dist/components/markdown-view.js +22 -118
- package/dist/components/message-scroller.d.ts +23 -11
- package/dist/components/message-scroller.d.ts.map +1 -1
- package/dist/components/message-scroller.js +100 -235
- package/dist/components/morph.d.ts +20 -26
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/morph.js +61 -55
- package/dist/components/natural-time-input.d.ts +49 -0
- package/dist/components/natural-time-input.d.ts.map +1 -0
- package/dist/components/natural-time-input.js +213 -0
- package/dist/components/navigation-stack.d.ts +24368 -73
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/navigation-stack.js +364 -329
- package/dist/components/now-playing-bars.d.ts +7 -7
- package/dist/components/now-playing-bars.d.ts.map +1 -1
- package/dist/components/now-playing-bars.js +6 -5
- package/dist/components/number-morph.d.ts +6 -6
- package/dist/components/number-morph.d.ts.map +1 -1
- package/dist/components/number-morph.js +70 -64
- package/dist/components/object-tree.d.ts +29 -14
- package/dist/components/object-tree.d.ts.map +1 -1
- package/dist/components/object-tree.js +256 -295
- package/dist/components/object-value.d.ts +6 -3
- package/dist/components/object-value.d.ts.map +1 -1
- package/dist/components/object-value.js +24 -25
- package/dist/components/open-code.d.ts +25 -10
- package/dist/components/open-code.d.ts.map +1 -1
- package/dist/components/open-code.js +191 -155
- package/dist/components/pencilkit/annotator-engine.d.ts +6 -0
- package/dist/components/pencilkit/annotator-engine.d.ts.map +1 -0
- package/dist/components/pencilkit/annotator-engine.js +10 -0
- package/dist/components/pencilkit/constants.d.ts +38 -20
- package/dist/components/pencilkit/constants.d.ts.map +1 -1
- package/dist/components/pencilkit/constants.js +56 -29
- package/dist/components/pencilkit/image-annotator.d.ts +50 -0
- package/dist/components/pencilkit/image-annotator.d.ts.map +1 -0
- package/dist/components/pencilkit/image-annotator.js +171 -0
- package/dist/components/pencilkit/index.d.ts +13 -0
- package/dist/components/pencilkit/index.d.ts.map +1 -0
- package/dist/components/pencilkit/index.js +7 -0
- package/dist/components/pencilkit/pencil-canvas.d.ts +27 -14
- package/dist/components/pencilkit/pencil-canvas.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.js +141 -84
- package/dist/components/pencilkit/pencil-toolbar.d.ts +62 -51
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.js +255 -149
- package/dist/components/pencilkit/pencilkit-annotator.d.ts +5 -5
- package/dist/components/pencilkit/pencilkit-annotator.d.ts.map +1 -1
- package/dist/components/pencilkit/pencilkit-annotator.js +44 -31
- package/dist/components/pencilkit/stroke-path.d.ts +6 -6
- package/dist/components/pencilkit/stroke-path.d.ts.map +1 -1
- package/dist/components/pencilkit/stroke-path.js +14 -15
- package/dist/components/pencilkit/use-pencil-history.d.ts +7 -4
- package/dist/components/pencilkit/use-pencil-history.d.ts.map +1 -1
- package/dist/components/pencilkit/use-pencil-history.js +29 -16
- package/dist/components/popover.d.ts +28 -14
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +62 -27
- package/dist/components/progress-ring.d.ts +35 -42
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/progress-ring.js +77 -82
- package/dist/components/progress-stepper.d.ts +38 -17
- package/dist/components/progress-stepper.d.ts.map +1 -1
- package/dist/components/progress-stepper.js +123 -51
- package/dist/components/progress.d.ts +15 -6
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +48 -30
- package/dist/components/qr-code.d.ts +30 -0
- package/dist/components/qr-code.d.ts.map +1 -0
- package/dist/components/qr-code.js +90 -0
- package/dist/components/radio-group.d.ts +11 -7
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +27 -23
- package/dist/components/replay-debugger/cache.d.ts +181 -0
- package/dist/components/replay-debugger/cache.d.ts.map +1 -0
- package/dist/components/replay-debugger/cache.js +348 -0
- package/dist/components/replay-debugger/code.d.ts +16 -0
- package/dist/components/replay-debugger/code.d.ts.map +1 -0
- package/dist/components/replay-debugger/code.js +171 -0
- package/dist/components/replay-debugger/console.d.ts +12 -0
- package/dist/components/replay-debugger/console.d.ts.map +1 -0
- package/dist/components/replay-debugger/console.js +144 -0
- package/dist/components/replay-debugger/debugger.d.ts +18 -0
- package/dist/components/replay-debugger/debugger.d.ts.map +1 -0
- package/dist/components/replay-debugger/debugger.js +254 -0
- package/dist/components/replay-debugger/full-stack.d.ts +11 -0
- package/dist/components/replay-debugger/full-stack.d.ts.map +1 -0
- package/dist/components/replay-debugger/full-stack.js +163 -0
- package/dist/components/replay-debugger/host.d.ts +298 -0
- package/dist/components/replay-debugger/host.d.ts.map +1 -0
- package/dist/components/replay-debugger/index.d.ts +22 -0
- package/dist/components/replay-debugger/index.d.ts.map +1 -0
- package/dist/components/replay-debugger/index.js +20 -0
- package/dist/components/replay-debugger/line-panels.d.ts +15 -0
- package/dist/components/replay-debugger/line-panels.d.ts.map +1 -0
- package/dist/components/replay-debugger/line-panels.js +199 -0
- package/dist/components/replay-debugger/model.d.ts +338 -0
- package/dist/components/replay-debugger/model.d.ts.map +1 -0
- package/dist/components/replay-debugger/model.js +741 -0
- package/dist/components/replay-debugger/replay-view.d.ts +19 -0
- package/dist/components/replay-debugger/replay-view.d.ts.map +1 -0
- package/dist/components/replay-debugger/replay-view.js +51 -0
- package/dist/components/replay-debugger/request-points.d.ts +20 -0
- package/dist/components/replay-debugger/request-points.d.ts.map +1 -0
- package/dist/components/replay-debugger/request-points.js +200 -0
- package/dist/components/replay-debugger/seed-stops.d.ts +9 -0
- package/dist/components/replay-debugger/seed-stops.d.ts.map +1 -0
- package/dist/components/replay-debugger/seed-stops.js +12 -0
- package/dist/components/replay-debugger/session-debugger.d.ts +20 -0
- package/dist/components/replay-debugger/session-debugger.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-debugger.js +94 -0
- package/dist/components/replay-debugger/session-flame.d.ts +21 -0
- package/dist/components/replay-debugger/session-flame.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-flame.js +90 -0
- package/dist/components/replay-debugger/session-timeline.d.ts +30 -0
- package/dist/components/replay-debugger/session-timeline.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-timeline.js +102 -0
- package/dist/components/replay-debugger/session.d.ts +145 -0
- package/dist/components/replay-debugger/session.d.ts.map +1 -0
- package/dist/components/replay-debugger/session.js +147 -0
- package/dist/components/replay-debugger/source-tree.d.ts +15 -0
- package/dist/components/replay-debugger/source-tree.d.ts.map +1 -0
- package/dist/components/replay-debugger/source-tree.js +47 -0
- package/dist/components/replay-debugger/sources.d.ts +14 -0
- package/dist/components/replay-debugger/sources.d.ts.map +1 -0
- package/dist/components/replay-debugger/sources.js +92 -0
- package/dist/components/replay-debugger/stack.d.ts +25 -0
- package/dist/components/replay-debugger/stack.d.ts.map +1 -0
- package/dist/components/replay-debugger/stack.js +243 -0
- package/dist/components/replay-debugger/styles.d.ts +7 -0
- package/dist/components/replay-debugger/styles.d.ts.map +1 -0
- package/dist/components/replay-debugger/timeline.d.ts +8 -0
- package/dist/components/replay-debugger/timeline.d.ts.map +1 -0
- package/dist/components/replay-debugger/timeline.js +92 -0
- package/dist/components/replay-debugger/toolbar.d.ts +27 -0
- package/dist/components/replay-debugger/toolbar.d.ts.map +1 -0
- package/dist/components/replay-debugger/toolbar.js +177 -0
- package/dist/components/replay-debugger/use-model.d.ts +4 -0
- package/dist/components/replay-debugger/use-model.d.ts.map +1 -0
- package/dist/components/replay-debugger/use-model.js +8 -0
- package/dist/components/replay-debugger/values.d.ts +21 -0
- package/dist/components/replay-debugger/values.d.ts.map +1 -0
- package/dist/components/replay-debugger/values.js +189 -0
- package/dist/components/replay-preview.d.ts +2 -3
- package/dist/components/replay-preview.d.ts.map +1 -1
- package/dist/components/replay-preview.js +2 -3
- package/dist/components/request-table.d.ts +23 -70
- package/dist/components/request-table.d.ts.map +1 -1
- package/dist/components/request-table.js +197 -615
- package/dist/components/scroll-area.d.ts +28 -4
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +59 -15
- package/dist/components/search-input.d.ts +29 -0
- package/dist/components/search-input.d.ts.map +1 -0
- package/dist/components/search-input.js +71 -0
- package/dist/components/segmented.d.ts +34 -19
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/segmented.js +54 -27
- package/dist/components/select.d.ts +41 -21
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +125 -64
- package/dist/components/separator.d.ts +4 -4
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +8 -14
- package/dist/components/sheet.d.ts +63 -23
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +222 -45
- package/dist/components/sidebar.d.ts +109 -67
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +304 -245
- package/dist/components/skeleton.d.ts +8 -9
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +24 -29
- package/dist/components/slider.d.ts +32 -23
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +87 -89
- package/dist/components/spinner.d.ts +36 -28
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/spinner.js +123 -139
- package/dist/components/split-view.d.ts +143 -180
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.js +577 -942
- package/dist/components/spreadsheet.d.ts +32 -37
- package/dist/components/spreadsheet.d.ts.map +1 -1
- package/dist/components/spreadsheet.js +273 -775
- package/dist/components/sql-console.d.ts +92 -15
- package/dist/components/sql-console.d.ts.map +1 -1
- package/dist/components/sql-console.js +788 -294
- package/dist/components/state-diagram.d.ts +59 -0
- package/dist/components/state-diagram.d.ts.map +1 -0
- package/dist/components/state-diagram.js +1001 -0
- package/dist/components/stl-viewer.d.ts +2 -2
- package/dist/components/stl-viewer.d.ts.map +1 -1
- package/dist/components/stl-viewer.js +2 -2
- package/dist/components/strudel-player.d.ts +2 -2
- package/dist/components/strudel-player.d.ts.map +1 -1
- package/dist/components/strudel-player.js +2 -2
- package/dist/components/swap.d.ts +20 -0
- package/dist/components/swap.d.ts.map +1 -0
- package/dist/components/swap.js +60 -0
- package/dist/components/switch.d.ts +13 -13
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +37 -22
- package/dist/components/tabs.d.ts +119 -21
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +399 -67
- package/dist/components/tailscale-controls.d.ts +116 -0
- package/dist/components/tailscale-controls.d.ts.map +1 -0
- package/dist/components/tailscale-controls.js +291 -0
- package/dist/components/terminal.d.ts +6 -2
- package/dist/components/terminal.d.ts.map +1 -1
- package/dist/components/terminal.js +105 -101
- package/dist/components/text-morph.d.ts +6 -5
- package/dist/components/text-morph.d.ts.map +1 -1
- package/dist/components/text-morph.js +108 -79
- package/dist/components/textarea.d.ts +4 -4
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +11 -17
- package/dist/components/toast.d.ts +70 -104
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/toast.js +181 -386
- package/dist/components/toggle.d.ts +28 -6
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +92 -23
- package/dist/components/toolbar.d.ts +65 -0
- package/dist/components/toolbar.d.ts.map +1 -0
- package/dist/components/toolbar.js +140 -0
- package/dist/components/tooltip.d.ts +15 -7
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +48 -35
- package/dist/components/trace-timeline.d.ts +47 -32
- package/dist/components/trace-timeline.d.ts.map +1 -1
- package/dist/components/trace-timeline.js +658 -568
- package/dist/components/tree.d.ts +121 -52
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +539 -495
- package/dist/components/tui-preview.d.ts +2 -2
- package/dist/components/tui-preview.d.ts.map +1 -1
- package/dist/components/tui-preview.js +2 -2
- package/dist/components/vault-gate.d.ts +63 -14
- package/dist/components/vault-gate.d.ts.map +1 -1
- package/dist/components/vault-gate.js +445 -209
- package/dist/components/video-preview.d.ts +21 -25
- package/dist/components/video-preview.d.ts.map +1 -1
- package/dist/components/video-preview.js +92 -94
- package/dist/components/video-timeline.d.ts +29 -43
- package/dist/components/video-timeline.d.ts.map +1 -1
- package/dist/components/video-timeline.js +389 -391
- package/dist/components/waveform.d.ts +8 -5
- package/dist/components/waveform.d.ts.map +1 -1
- package/dist/components/waveform.js +77 -38
- package/dist/components/workspace.d.ts +4754 -10
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +387 -57
- package/dist/docstream/asset-resolver.d.ts +11 -0
- package/dist/docstream/asset-resolver.d.ts.map +1 -0
- package/dist/docstream/asset-resolver.js +41 -0
- package/dist/docstream/asset-resolver.js.map +1 -0
- package/dist/docstream/assets.d.ts +4 -0
- package/dist/docstream/assets.d.ts.map +1 -0
- package/dist/docstream/assets.js +21 -0
- package/dist/docstream/assets.js.map +1 -0
- package/dist/docstream/capnp/CapnpDiagram.d.ts +36 -0
- package/dist/docstream/capnp/CapnpDiagram.d.ts.map +1 -0
- package/dist/docstream/capnp/CapnpDiagram.js +88 -0
- package/dist/docstream/capnp/CapnpDiagram.js.map +1 -0
- package/dist/docstream/capnp/index.d.ts +3 -0
- package/dist/docstream/capnp/index.d.ts.map +1 -0
- package/dist/docstream/capnp/index.js +2 -0
- package/dist/docstream/capnp/index.js.map +1 -0
- package/dist/docstream/demo/DemoViewer.d.ts +82 -0
- package/dist/docstream/demo/DemoViewer.d.ts.map +1 -0
- package/dist/docstream/demo/DemoViewer.js +460 -0
- package/dist/docstream/demo/DemoViewer.js.map +1 -0
- package/dist/docstream/demo/PathBreadcrumb.d.ts +54 -0
- package/dist/docstream/demo/PathBreadcrumb.d.ts.map +1 -0
- package/dist/docstream/demo/PathBreadcrumb.js +156 -0
- package/dist/docstream/demo/PathBreadcrumb.js.map +1 -0
- package/dist/docstream/demo/clipboard.d.ts +70 -0
- package/dist/docstream/demo/clipboard.d.ts.map +1 -0
- package/dist/docstream/demo/clipboard.js +187 -0
- package/dist/docstream/demo/clipboard.js.map +1 -0
- package/dist/docstream/demo/context.d.ts +20 -0
- package/dist/docstream/demo/context.d.ts.map +1 -0
- package/dist/docstream/demo/context.js +31 -0
- package/dist/docstream/demo/context.js.map +1 -0
- package/dist/docstream/demo/copy-demo.d.ts +26 -0
- package/dist/docstream/demo/copy-demo.d.ts.map +1 -0
- package/dist/docstream/demo/copy-demo.js +94 -0
- package/dist/docstream/demo/copy-demo.js.map +1 -0
- package/dist/docstream/demo/glob.d.ts +60 -0
- package/dist/docstream/demo/glob.d.ts.map +1 -0
- package/dist/docstream/demo/glob.js +158 -0
- package/dist/docstream/demo/glob.js.map +1 -0
- package/dist/docstream/demo/index.d.ts +16 -0
- package/dist/docstream/demo/index.d.ts.map +1 -0
- package/dist/docstream/demo/index.js +9 -0
- package/dist/docstream/demo/index.js.map +1 -0
- package/dist/docstream/demo/markdown.d.ts +60 -0
- package/dist/docstream/demo/markdown.d.ts.map +1 -0
- package/dist/docstream/demo/markdown.js +181 -0
- package/dist/docstream/demo/markdown.js.map +1 -0
- package/dist/docstream/demo/surface.d.ts +11 -0
- package/dist/docstream/demo/surface.d.ts.map +1 -0
- package/dist/docstream/demo/surface.js +69 -0
- package/dist/docstream/demo/surface.js.map +1 -0
- package/dist/docstream/demo/types.d.ts +93 -0
- package/dist/docstream/demo/types.d.ts.map +1 -0
- package/dist/docstream/demo/types.js +2 -0
- package/dist/docstream/demo/types.js.map +1 -0
- package/dist/docstream/demo/vfs.d.ts +51 -0
- package/dist/docstream/demo/vfs.d.ts.map +1 -0
- package/dist/docstream/demo/vfs.js +156 -0
- package/dist/docstream/demo/vfs.js.map +1 -0
- package/dist/docstream/doc-env.d.ts +62 -0
- package/dist/docstream/doc-env.d.ts.map +1 -0
- package/dist/docstream/doc-env.js +124 -0
- package/dist/docstream/doc-env.js.map +1 -0
- package/dist/docstream/docs/CollapsibleCode.d.ts +14 -0
- package/dist/docstream/docs/CollapsibleCode.d.ts.map +1 -0
- package/dist/docstream/docs/CollapsibleCode.js +19 -0
- package/dist/docstream/docs/CollapsibleCode.js.map +1 -0
- package/dist/docstream/docs/DocsRenderer.d.ts +91 -0
- package/dist/docstream/docs/DocsRenderer.d.ts.map +1 -0
- package/dist/docstream/docs/DocsRenderer.js +442 -0
- package/dist/docstream/docs/DocsRenderer.js.map +1 -0
- package/dist/docstream/docs/DocumentProperties.d.ts +17 -0
- package/dist/docstream/docs/DocumentProperties.d.ts.map +1 -0
- package/dist/docstream/docs/DocumentProperties.js +71 -0
- package/dist/docstream/docs/DocumentProperties.js.map +1 -0
- package/dist/docstream/docs/HighlightedCode.d.ts +6 -0
- package/dist/docstream/docs/HighlightedCode.d.ts.map +1 -0
- package/dist/docstream/docs/HighlightedCode.js +74 -0
- package/dist/docstream/docs/HighlightedCode.js.map +1 -0
- package/dist/docstream/docs/ImageThumbnail.d.ts +18 -0
- package/dist/docstream/docs/ImageThumbnail.d.ts.map +1 -0
- package/dist/docstream/docs/ImageThumbnail.js +32 -0
- package/dist/docstream/docs/ImageThumbnail.js.map +1 -0
- package/dist/docstream/docs/Mermaid.d.ts +25 -0
- package/dist/docstream/docs/Mermaid.d.ts.map +1 -0
- package/dist/docstream/docs/Mermaid.js +61 -0
- package/dist/docstream/docs/Mermaid.js.map +1 -0
- package/dist/docstream/docs/PageActions.d.ts +33 -0
- package/dist/docstream/docs/PageActions.d.ts.map +1 -0
- package/dist/docstream/docs/PageActions.js +55 -0
- package/dist/docstream/docs/PageActions.js.map +1 -0
- package/dist/docstream/docs/SplitCard.d.ts +25 -0
- package/dist/docstream/docs/SplitCard.d.ts.map +1 -0
- package/dist/docstream/docs/SplitCard.js +23 -0
- package/dist/docstream/docs/SplitCard.js.map +1 -0
- package/dist/docstream/docs/TaskCheckbox.d.ts +32 -0
- package/dist/docstream/docs/TaskCheckbox.d.ts.map +1 -0
- package/dist/docstream/docs/TaskCheckbox.js +51 -0
- package/dist/docstream/docs/TaskCheckbox.js.map +1 -0
- package/dist/docstream/docs/code-render.d.ts +17 -0
- package/dist/docstream/docs/code-render.d.ts.map +1 -0
- package/dist/docstream/docs/code-render.js +4 -0
- package/dist/docstream/docs/code-render.js.map +1 -0
- package/dist/docstream/docs/controls.d.ts +23 -0
- package/dist/docstream/docs/controls.d.ts.map +1 -0
- package/dist/docstream/docs/controls.js +14 -0
- package/dist/docstream/docs/controls.js.map +1 -0
- package/dist/docstream/docs/copy.d.ts +25 -0
- package/dist/docstream/docs/copy.d.ts.map +1 -0
- package/dist/docstream/docs/copy.js +65 -0
- package/dist/docstream/docs/copy.js.map +1 -0
- package/dist/docstream/docs/math.d.ts +3 -0
- package/dist/docstream/docs/math.d.ts.map +1 -0
- package/dist/docstream/docs/math.js +12 -0
- package/dist/docstream/docs/math.js.map +1 -0
- package/dist/docstream/docs/properties.css +31 -0
- package/dist/docstream/docs/reference.d.ts +27 -0
- package/dist/docstream/docs/reference.d.ts.map +1 -0
- package/dist/docstream/docs/reference.js +74 -0
- package/dist/docstream/docs/reference.js.map +1 -0
- package/dist/docstream/docs/tabs-sync.d.ts +5 -0
- package/dist/docstream/docs/tabs-sync.d.ts.map +1 -0
- package/dist/docstream/docs/tabs-sync.js +58 -0
- package/dist/docstream/docs/tabs-sync.js.map +1 -0
- package/dist/docstream/docs/tasks.css +16 -0
- package/dist/docstream/env-keychain.d.ts +49 -0
- package/dist/docstream/env-keychain.d.ts.map +1 -0
- package/dist/docstream/env-keychain.js +201 -0
- package/dist/docstream/env-keychain.js.map +1 -0
- package/dist/docstream/gitbook/ast.d.ts +528 -0
- package/dist/docstream/gitbook/ast.d.ts.map +1 -0
- package/dist/docstream/gitbook/ast.js +8 -0
- package/dist/docstream/gitbook/ast.js.map +1 -0
- package/dist/docstream/gitbook/attrs.d.ts +14 -0
- package/dist/docstream/gitbook/attrs.d.ts.map +1 -0
- package/dist/docstream/gitbook/attrs.js +36 -0
- package/dist/docstream/gitbook/attrs.js.map +1 -0
- package/dist/docstream/gitbook/flatten.d.ts +14 -0
- package/dist/docstream/gitbook/flatten.d.ts.map +1 -0
- package/dist/docstream/gitbook/flatten.js +45 -0
- package/dist/docstream/gitbook/flatten.js.map +1 -0
- package/dist/docstream/gitbook/index.d.ts +14 -0
- package/dist/docstream/gitbook/index.d.ts.map +1 -0
- package/dist/docstream/gitbook/index.js +11 -0
- package/dist/docstream/gitbook/index.js.map +1 -0
- package/dist/docstream/gitbook/inline.d.ts +28 -0
- package/dist/docstream/gitbook/inline.d.ts.map +1 -0
- package/dist/docstream/gitbook/inline.js +956 -0
- package/dist/docstream/gitbook/inline.js.map +1 -0
- package/dist/docstream/gitbook/outline.d.ts +16 -0
- package/dist/docstream/gitbook/outline.d.ts.map +1 -0
- package/dist/docstream/gitbook/outline.js +44 -0
- package/dist/docstream/gitbook/outline.js.map +1 -0
- package/dist/docstream/gitbook/package-managers.d.ts +12 -0
- package/dist/docstream/gitbook/package-managers.d.ts.map +1 -0
- package/dist/docstream/gitbook/package-managers.js +93 -0
- package/dist/docstream/gitbook/package-managers.js.map +1 -0
- package/dist/docstream/gitbook/parse.d.ts +44 -0
- package/dist/docstream/gitbook/parse.d.ts.map +1 -0
- package/dist/docstream/gitbook/parse.js +1139 -0
- package/dist/docstream/gitbook/parse.js.map +1 -0
- package/dist/docstream/gitbook/properties.d.ts +15 -0
- package/dist/docstream/gitbook/properties.d.ts.map +1 -0
- package/dist/docstream/gitbook/properties.js +45 -0
- package/dist/docstream/gitbook/properties.js.map +1 -0
- package/dist/docstream/gitbook/serialize.d.ts +23 -0
- package/dist/docstream/gitbook/serialize.d.ts.map +1 -0
- package/dist/docstream/gitbook/serialize.js +507 -0
- package/dist/docstream/gitbook/serialize.js.map +1 -0
- package/dist/docstream/gitbook/tasks.d.ts +11 -0
- package/dist/docstream/gitbook/tasks.d.ts.map +1 -0
- package/dist/docstream/gitbook/tasks.js +21 -0
- package/dist/docstream/gitbook/tasks.js.map +1 -0
- package/dist/docstream/gitbook/thumbnail.d.ts +10 -0
- package/dist/docstream/gitbook/thumbnail.d.ts.map +1 -0
- package/dist/docstream/gitbook/thumbnail.js +18 -0
- package/dist/docstream/gitbook/thumbnail.js.map +1 -0
- package/dist/docstream/index.d.ts +69 -0
- package/dist/docstream/index.d.ts.map +1 -0
- package/dist/docstream/index.js +42 -0
- package/dist/docstream/index.js.map +1 -0
- package/dist/docstream/openapi/OpenApiOperation.d.ts +6 -0
- package/dist/docstream/openapi/OpenApiOperation.d.ts.map +1 -0
- package/dist/docstream/openapi/OpenApiOperation.js +122 -0
- package/dist/docstream/openapi/OpenApiOperation.js.map +1 -0
- package/dist/docstream/playground/InlineDemoPreview.d.ts +24 -0
- package/dist/docstream/playground/InlineDemoPreview.d.ts.map +1 -0
- package/dist/docstream/playground/InlineDemoPreview.js +48 -0
- package/dist/docstream/playground/InlineDemoPreview.js.map +1 -0
- package/dist/docstream/playground/PlaygroundStreamdown.d.ts +16 -0
- package/dist/docstream/playground/PlaygroundStreamdown.d.ts.map +1 -0
- package/dist/docstream/playground/PlaygroundStreamdown.js +28 -0
- package/dist/docstream/playground/PlaygroundStreamdown.js.map +1 -0
- package/dist/docstream/playground/ReactCodePreview.d.ts +64 -0
- package/dist/docstream/playground/ReactCodePreview.d.ts.map +1 -0
- package/dist/docstream/playground/ReactCodePreview.js +115 -0
- package/dist/docstream/playground/ReactCodePreview.js.map +1 -0
- package/dist/docstream/playground/filesystem.d.ts +27 -0
- package/dist/docstream/playground/filesystem.d.ts.map +1 -0
- package/dist/docstream/playground/filesystem.js +65 -0
- package/dist/docstream/playground/filesystem.js.map +1 -0
- package/dist/docstream/playground/index.d.ts +9 -0
- package/dist/docstream/playground/index.d.ts.map +1 -0
- package/dist/docstream/playground/index.js +7 -0
- package/dist/docstream/playground/index.js.map +1 -0
- package/dist/docstream/playground/project.d.ts +66 -0
- package/dist/docstream/playground/project.d.ts.map +1 -0
- package/dist/docstream/playground/project.js +155 -0
- package/dist/docstream/playground/project.js.map +1 -0
- package/dist/docstream/replay/ReplayDebugFile.d.ts +11 -0
- package/dist/docstream/replay/ReplayDebugFile.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayDebugFile.js +46 -0
- package/dist/docstream/replay/ReplayDebugFile.js.map +1 -0
- package/dist/docstream/replay/ReplayDevtools.d.ts +47 -0
- package/dist/docstream/replay/ReplayDevtools.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayDevtools.js +419 -0
- package/dist/docstream/replay/ReplayDevtools.js.map +1 -0
- package/dist/docstream/replay/ReplayFile.d.ts +29 -0
- package/dist/docstream/replay/ReplayFile.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayFile.js +68 -0
- package/dist/docstream/replay/ReplayFile.js.map +1 -0
- package/dist/docstream/replay/ReplayPlayer.d.ts +130 -0
- package/dist/docstream/replay/ReplayPlayer.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayPlayer.js +516 -0
- package/dist/docstream/replay/ReplayPlayer.js.map +1 -0
- package/dist/docstream/replay/ReplayPreview.d.ts +51 -0
- package/dist/docstream/replay/ReplayPreview.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayPreview.js +97 -0
- package/dist/docstream/replay/ReplayPreview.js.map +1 -0
- package/dist/docstream/replay/ReplayStage.d.ts +10 -0
- package/dist/docstream/replay/ReplayStage.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayStage.js +19 -0
- package/dist/docstream/replay/ReplayStage.js.map +1 -0
- package/dist/docstream/replay/ReplayStageImpl.d.ts +5 -0
- package/dist/docstream/replay/ReplayStageImpl.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayStageImpl.js +253 -0
- package/dist/docstream/replay/ReplayStageImpl.js.map +1 -0
- package/dist/docstream/replay/captions.d.ts +10 -0
- package/dist/docstream/replay/captions.d.ts.map +1 -0
- package/dist/docstream/replay/captions.js +48 -0
- package/dist/docstream/replay/captions.js.map +1 -0
- package/dist/docstream/replay/demo/index.d.ts +3 -0
- package/dist/docstream/replay/demo/index.d.ts.map +1 -0
- package/dist/docstream/replay/demo/index.js +77 -0
- package/dist/docstream/replay/demo/index.js.map +1 -0
- package/dist/docstream/replay/devtools-parts.d.ts +2 -0
- package/dist/docstream/replay/devtools-parts.d.ts.map +1 -0
- package/dist/docstream/replay/devtools-parts.js +13 -0
- package/dist/docstream/replay/devtools-parts.js.map +1 -0
- package/dist/docstream/replay/devtools-primitives.d.ts +19 -0
- package/dist/docstream/replay/devtools-primitives.d.ts.map +1 -0
- package/dist/docstream/replay/devtools-primitives.js +173 -0
- package/dist/docstream/replay/devtools-primitives.js.map +1 -0
- package/dist/docstream/replay/devtools.d.ts +81 -0
- package/dist/docstream/replay/devtools.d.ts.map +1 -0
- package/dist/docstream/replay/devtools.js +251 -0
- package/dist/docstream/replay/devtools.js.map +1 -0
- package/dist/docstream/replay/evidence.d.ts +61 -0
- package/dist/docstream/replay/evidence.d.ts.map +1 -0
- package/dist/docstream/replay/evidence.js +84 -0
- package/dist/docstream/replay/evidence.js.map +1 -0
- package/dist/docstream/replay/index.d.ts +25 -0
- package/dist/docstream/replay/index.d.ts.map +1 -0
- package/dist/docstream/replay/index.js +14 -0
- package/dist/docstream/replay/index.js.map +1 -0
- package/dist/docstream/replay/inspections.d.ts +53 -0
- package/dist/docstream/replay/inspections.d.ts.map +1 -0
- package/dist/docstream/replay/inspections.js +80 -0
- package/dist/docstream/replay/inspections.js.map +1 -0
- package/dist/docstream/replay/markers.d.ts +59 -0
- package/dist/docstream/replay/markers.d.ts.map +1 -0
- package/dist/docstream/replay/markers.js +199 -0
- package/dist/docstream/replay/markers.js.map +1 -0
- package/dist/docstream/replay/sanitize.d.ts +4 -0
- package/dist/docstream/replay/sanitize.d.ts.map +1 -0
- package/dist/docstream/replay/sanitize.js +86 -0
- package/dist/docstream/replay/sanitize.js.map +1 -0
- package/dist/docstream/replay/sources.d.ts +11 -0
- package/dist/docstream/replay/sources.d.ts.map +1 -0
- package/dist/docstream/replay/sources.js +126 -0
- package/dist/docstream/replay/sources.js.map +1 -0
- package/dist/docstream/replay/stage-types.d.ts +106 -0
- package/dist/docstream/replay/stage-types.d.ts.map +1 -0
- package/dist/docstream/replay/stage-types.js +2 -0
- package/dist/docstream/replay/stage-types.js.map +1 -0
- package/dist/docstream/replay/types.d.ts +39 -0
- package/dist/docstream/replay/types.d.ts.map +1 -0
- package/dist/docstream/replay/types.js +36 -0
- package/dist/docstream/replay/types.js.map +1 -0
- package/dist/docstream/replay/url.d.ts +8 -0
- package/dist/docstream/replay/url.d.ts.map +1 -0
- package/dist/docstream/replay/url.js +41 -0
- package/dist/docstream/replay/url.js.map +1 -0
- package/dist/docstream/site/DocsSite.d.ts +148 -0
- package/dist/docstream/site/DocsSite.d.ts.map +1 -0
- package/dist/docstream/site/DocsSite.js +602 -0
- package/dist/docstream/site/DocsSite.js.map +1 -0
- package/dist/docstream/site/SiteNav.d.ts +13 -0
- package/dist/docstream/site/SiteNav.d.ts.map +1 -0
- package/dist/docstream/site/SiteNav.js +46 -0
- package/dist/docstream/site/SiteNav.js.map +1 -0
- package/dist/docstream/site/SiteSearch.d.ts +18 -0
- package/dist/docstream/site/SiteSearch.d.ts.map +1 -0
- package/dist/docstream/site/SiteSearch.js +42 -0
- package/dist/docstream/site/SiteSearch.js.map +1 -0
- package/dist/docstream/site/index.d.ts +7 -0
- package/dist/docstream/site/index.d.ts.map +1 -0
- package/dist/docstream/site/index.js +5 -0
- package/dist/docstream/site/index.js.map +1 -0
- package/dist/docstream/site/nav.d.ts +26 -0
- package/dist/docstream/site/nav.d.ts.map +1 -0
- package/dist/docstream/site/nav.js +70 -0
- package/dist/docstream/site/nav.js.map +1 -0
- package/dist/docstream/site/press.d.ts +4 -0
- package/dist/docstream/site/press.d.ts.map +1 -0
- package/dist/docstream/site/press.js +9 -0
- package/dist/docstream/site/press.js.map +1 -0
- package/dist/docstream/site/search.d.ts +28 -0
- package/dist/docstream/site/search.d.ts.map +1 -0
- package/dist/docstream/site/search.js +125 -0
- package/dist/docstream/site/search.js.map +1 -0
- package/dist/docstream/site/site.css +905 -0
- package/dist/docstream/site/tree.d.ts +105 -0
- package/dist/docstream/site/tree.d.ts.map +1 -0
- package/dist/docstream/site/tree.js +412 -0
- package/dist/docstream/site/tree.js.map +1 -0
- package/dist/docstream/source/SourcePreview.d.ts +13 -0
- package/dist/docstream/source/SourcePreview.d.ts.map +1 -0
- package/dist/docstream/source/SourcePreview.js +47 -0
- package/dist/docstream/source/SourcePreview.js.map +1 -0
- package/dist/docstream/source/client.d.ts +7 -0
- package/dist/docstream/source/client.d.ts.map +1 -0
- package/dist/docstream/source/client.js +52 -0
- package/dist/docstream/source/client.js.map +1 -0
- package/dist/docstream/source/index.d.ts +6 -0
- package/dist/docstream/source/index.d.ts.map +1 -0
- package/dist/docstream/source/index.js +3 -0
- package/dist/docstream/source/index.js.map +1 -0
- package/dist/docstream/source/types.d.ts +33 -0
- package/dist/docstream/source/types.d.ts.map +1 -0
- package/dist/docstream/source/types.js +2 -0
- package/dist/docstream/source/types.js.map +1 -0
- package/dist/docstream/stl/StlViewer.d.ts +27 -0
- package/dist/docstream/stl/StlViewer.d.ts.map +1 -0
- package/dist/docstream/stl/StlViewer.js +223 -0
- package/dist/docstream/stl/StlViewer.js.map +1 -0
- package/dist/docstream/stl/index.d.ts +5 -0
- package/dist/docstream/stl/index.d.ts.map +1 -0
- package/dist/docstream/stl/index.js +3 -0
- package/dist/docstream/stl/index.js.map +1 -0
- package/dist/docstream/stl/orbit-parts.d.ts +11 -0
- package/dist/docstream/stl/orbit-parts.d.ts.map +1 -0
- package/dist/docstream/stl/orbit-parts.js +12 -0
- package/dist/docstream/stl/orbit-parts.js.map +1 -0
- package/dist/docstream/stl/orbit.d.ts +19 -0
- package/dist/docstream/stl/orbit.d.ts.map +1 -0
- package/dist/docstream/stl/orbit.js +125 -0
- package/dist/docstream/stl/orbit.js.map +1 -0
- package/dist/docstream/stl/parse.d.ts +13 -0
- package/dist/docstream/stl/parse.d.ts.map +1 -0
- package/dist/docstream/stl/parse.js +73 -0
- package/dist/docstream/stl/parse.js.map +1 -0
- package/dist/docstream/streamdown.d.ts +20 -0
- package/dist/docstream/streamdown.d.ts.map +1 -0
- package/dist/docstream/streamdown.js +15 -0
- package/dist/docstream/streamdown.js.map +1 -0
- package/dist/docstream/strudel/RackGrid.d.ts +23 -0
- package/dist/docstream/strudel/RackGrid.d.ts.map +1 -0
- package/dist/docstream/strudel/RackGrid.js +79 -0
- package/dist/docstream/strudel/RackGrid.js.map +1 -0
- package/dist/docstream/strudel/StepGrid.d.ts +11 -0
- package/dist/docstream/strudel/StepGrid.d.ts.map +1 -0
- package/dist/docstream/strudel/StepGrid.js +77 -0
- package/dist/docstream/strudel/StepGrid.js.map +1 -0
- package/dist/docstream/strudel/StrudelPlayer.d.ts +50 -0
- package/dist/docstream/strudel/StrudelPlayer.d.ts.map +1 -0
- package/dist/docstream/strudel/StrudelPlayer.js +223 -0
- package/dist/docstream/strudel/StrudelPlayer.js.map +1 -0
- package/dist/docstream/strudel/StrudelRack.d.ts +33 -0
- package/dist/docstream/strudel/StrudelRack.d.ts.map +1 -0
- package/dist/docstream/strudel/StrudelRack.js +184 -0
- package/dist/docstream/strudel/StrudelRack.js.map +1 -0
- package/dist/docstream/strudel/ast/edit.d.ts +41 -0
- package/dist/docstream/strudel/ast/edit.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/edit.js +78 -0
- package/dist/docstream/strudel/ast/edit.js.map +1 -0
- package/dist/docstream/strudel/ast/index.d.ts +7 -0
- package/dist/docstream/strudel/ast/index.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/index.js +4 -0
- package/dist/docstream/strudel/ast/index.js.map +1 -0
- package/dist/docstream/strudel/ast/mini.d.ts +86 -0
- package/dist/docstream/strudel/ast/mini.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/mini.js +272 -0
- package/dist/docstream/strudel/ast/mini.js.map +1 -0
- package/dist/docstream/strudel/ast/program.d.ts +93 -0
- package/dist/docstream/strudel/ast/program.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/program.js +288 -0
- package/dist/docstream/strudel/ast/program.js.map +1 -0
- package/dist/docstream/strudel/controls.d.ts +24 -0
- package/dist/docstream/strudel/controls.d.ts.map +1 -0
- package/dist/docstream/strudel/controls.js +63 -0
- package/dist/docstream/strudel/controls.js.map +1 -0
- package/dist/docstream/strudel/engine.d.ts +43 -0
- package/dist/docstream/strudel/engine.d.ts.map +1 -0
- package/dist/docstream/strudel/engine.js +79 -0
- package/dist/docstream/strudel/engine.js.map +1 -0
- package/dist/docstream/strudel/index.d.ts +7 -0
- package/dist/docstream/strudel/index.d.ts.map +1 -0
- package/dist/docstream/strudel/index.js +6 -0
- package/dist/docstream/strudel/index.js.map +1 -0
- package/dist/docstream/strudel/knob-parts.d.ts +2 -0
- package/dist/docstream/strudel/knob-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/knob-parts.js +6 -0
- package/dist/docstream/strudel/knob-parts.js.map +1 -0
- package/dist/docstream/strudel/knob.d.ts +24 -0
- package/dist/docstream/strudel/knob.d.ts.map +1 -0
- package/dist/docstream/strudel/knob.js +157 -0
- package/dist/docstream/strudel/knob.js.map +1 -0
- package/dist/docstream/strudel/panel.d.ts +13 -0
- package/dist/docstream/strudel/panel.d.ts.map +1 -0
- package/dist/docstream/strudel/panel.js +14 -0
- package/dist/docstream/strudel/panel.js.map +1 -0
- package/dist/docstream/strudel/rack-grid-parts.d.ts +2 -0
- package/dist/docstream/strudel/rack-grid-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-grid-parts.js +6 -0
- package/dist/docstream/strudel/rack-grid-parts.js.map +1 -0
- package/dist/docstream/strudel/rack-grid.d.ts +27 -0
- package/dist/docstream/strudel/rack-grid.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-grid.js +204 -0
- package/dist/docstream/strudel/rack-grid.js.map +1 -0
- package/dist/docstream/strudel/rack-types.d.ts +26 -0
- package/dist/docstream/strudel/rack-types.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-types.js +4 -0
- package/dist/docstream/strudel/rack-types.js.map +1 -0
- package/dist/docstream/strudel/rack.d.ts +10 -0
- package/dist/docstream/strudel/rack.d.ts.map +1 -0
- package/dist/docstream/strudel/rack.js +9 -0
- package/dist/docstream/strudel/rack.js.map +1 -0
- package/dist/docstream/strudel/step-grid-parts.d.ts +2 -0
- package/dist/docstream/strudel/step-grid-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/step-grid-parts.js +10 -0
- package/dist/docstream/strudel/step-grid-parts.js.map +1 -0
- package/dist/docstream/strudel/step-grid.d.ts +13 -0
- package/dist/docstream/strudel/step-grid.d.ts.map +1 -0
- package/dist/docstream/strudel/step-grid.js +124 -0
- package/dist/docstream/strudel/step-grid.js.map +1 -0
- package/dist/docstream/strudel/url.d.ts +5 -0
- package/dist/docstream/strudel/url.d.ts.map +1 -0
- package/dist/docstream/strudel/url.js +9 -0
- package/dist/docstream/strudel/url.js.map +1 -0
- package/dist/docstream/styles.css +6423 -0
- package/dist/docstream/tokens.css +33 -0
- package/dist/docstream/tscircuit/TsCircuit.d.ts +12 -0
- package/dist/docstream/tscircuit/TsCircuit.d.ts.map +1 -0
- package/dist/docstream/tscircuit/TsCircuit.js +85 -0
- package/dist/docstream/tscircuit/TsCircuit.js.map +1 -0
- package/dist/docstream/tscircuit/index.d.ts +3 -0
- package/dist/docstream/tscircuit/index.d.ts.map +1 -0
- package/dist/docstream/tscircuit/index.js +2 -0
- package/dist/docstream/tscircuit/index.js.map +1 -0
- package/dist/docstream/tscircuit/worker.d.ts +2 -0
- package/dist/docstream/tscircuit/worker.d.ts.map +1 -0
- package/dist/docstream/tscircuit/worker.js +43 -0
- package/dist/docstream/tscircuit/worker.js.map +1 -0
- package/dist/docstream/tui/TuiPreview.d.ts +47 -0
- package/dist/docstream/tui/TuiPreview.d.ts.map +1 -0
- package/dist/docstream/tui/TuiPreview.js +160 -0
- package/dist/docstream/tui/TuiPreview.js.map +1 -0
- package/dist/docstream/tui/context.d.ts +6 -0
- package/dist/docstream/tui/context.d.ts.map +1 -0
- package/dist/docstream/tui/context.js +3 -0
- package/dist/docstream/tui/context.js.map +1 -0
- package/dist/docstream/tui/fence.d.ts +4 -0
- package/dist/docstream/tui/fence.d.ts.map +1 -0
- package/dist/docstream/tui/fence.js +9 -0
- package/dist/docstream/tui/fence.js.map +1 -0
- package/dist/docstream/tui/index.d.ts +4 -0
- package/dist/docstream/tui/index.d.ts.map +1 -0
- package/dist/docstream/tui/index.js +3 -0
- package/dist/docstream/tui/index.js.map +1 -0
- package/dist/docstream/ui/details-collapsible.d.ts +13 -0
- package/dist/docstream/ui/details-collapsible.d.ts.map +1 -0
- package/dist/docstream/ui/details-collapsible.js +31 -0
- package/dist/docstream/ui/details-collapsible.js.map +1 -0
- package/dist/docstream/ui/glyph.d.ts +3 -0
- package/dist/docstream/ui/glyph.d.ts.map +1 -0
- package/dist/docstream/ui/glyph.js +10 -0
- package/dist/docstream/ui/glyph.js.map +1 -0
- package/dist/docstream/ui/menu-current.d.ts +9 -0
- package/dist/docstream/ui/menu-current.d.ts.map +1 -0
- package/dist/docstream/ui/menu-current.js +38 -0
- package/dist/docstream/ui/menu-current.js.map +1 -0
- package/dist/docstream/ui/use-color-scheme.d.ts +10 -0
- package/dist/docstream/ui/use-color-scheme.d.ts.map +1 -0
- package/dist/docstream/ui/use-color-scheme.js +54 -0
- package/dist/docstream/ui/use-color-scheme.js.map +1 -0
- package/dist/docstream/video/VideoEmbed.d.ts +17 -0
- package/dist/docstream/video/VideoEmbed.d.ts.map +1 -0
- package/dist/docstream/video/VideoEmbed.js +12 -0
- package/dist/docstream/video/VideoEmbed.js.map +1 -0
- package/dist/docstream/video/index.d.ts +3 -0
- package/dist/docstream/video/index.d.ts.map +1 -0
- package/dist/docstream/video/index.js +2 -0
- package/dist/docstream/video/index.js.map +1 -0
- package/dist/docstream/vite/index.d.ts +29 -0
- package/dist/docstream/vite/index.d.ts.map +1 -0
- package/dist/docstream/vite/index.js +155 -0
- package/dist/docstream/vite/index.js.map +1 -0
- package/dist/docstream/viz/VizEmbed.d.ts +18 -0
- package/dist/docstream/viz/VizEmbed.d.ts.map +1 -0
- package/dist/docstream/viz/VizEmbed.js +12 -0
- package/dist/docstream/viz/VizEmbed.js.map +1 -0
- package/dist/docstream/viz/index.d.ts +4 -0
- package/dist/docstream/viz/index.d.ts.map +1 -0
- package/dist/docstream/viz/index.js +3 -0
- package/dist/docstream/viz/index.js.map +1 -0
- package/dist/docstream/xstate/XStateDiagram.d.ts +16 -0
- package/dist/docstream/xstate/XStateDiagram.d.ts.map +1 -0
- package/dist/docstream/xstate/XStateDiagram.js +62 -0
- package/dist/docstream/xstate/XStateDiagram.js.map +1 -0
- package/dist/docstream/xstate/index.d.ts +3 -0
- package/dist/docstream/xstate/index.d.ts.map +1 -0
- package/dist/docstream/xstate/index.js +2 -0
- package/dist/docstream/xstate/index.js.map +1 -0
- package/dist/docstream/xstate/machine.d.ts +5 -0
- package/dist/docstream/xstate/machine.d.ts.map +1 -0
- package/dist/docstream/xstate/machine.js +64 -0
- package/dist/docstream/xstate/machine.js.map +1 -0
- package/dist/docstream-editor/editor/Editor.d.ts +167 -0
- package/dist/docstream-editor/editor/Editor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/Editor.js +438 -0
- package/dist/docstream-editor/editor/Editor.js.map +1 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.d.ts +29 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.js +49 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.js.map +1 -0
- package/dist/docstream-editor/editor/SourceFileEditor.d.ts +15 -0
- package/dist/docstream-editor/editor/SourceFileEditor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/SourceFileEditor.js +79 -0
- package/dist/docstream-editor/editor/SourceFileEditor.js.map +1 -0
- package/dist/docstream-editor/editor/attachments.d.ts +54 -0
- package/dist/docstream-editor/editor/attachments.d.ts.map +1 -0
- package/dist/docstream-editor/editor/attachments.js +185 -0
- package/dist/docstream-editor/editor/attachments.js.map +1 -0
- package/dist/docstream-editor/editor/controls.d.ts +52 -0
- package/dist/docstream-editor/editor/controls.d.ts.map +1 -0
- package/dist/docstream-editor/editor/controls.js +75 -0
- package/dist/docstream-editor/editor/controls.js.map +1 -0
- package/dist/docstream-editor/editor/convert.d.ts +35 -0
- package/dist/docstream-editor/editor/convert.d.ts.map +1 -0
- package/dist/docstream-editor/editor/convert.js +869 -0
- package/dist/docstream-editor/editor/convert.js.map +1 -0
- package/dist/docstream-editor/editor/demo-clipboard.d.ts +56 -0
- package/dist/docstream-editor/editor/demo-clipboard.d.ts.map +1 -0
- package/dist/docstream-editor/editor/demo-clipboard.js +146 -0
- package/dist/docstream-editor/editor/demo-clipboard.js.map +1 -0
- package/dist/docstream-editor/editor/document-properties.d.ts +29 -0
- package/dist/docstream-editor/editor/document-properties.d.ts.map +1 -0
- package/dist/docstream-editor/editor/document-properties.js +45 -0
- package/dist/docstream-editor/editor/document-properties.js.map +1 -0
- package/dist/docstream-editor/editor/extensions.d.ts +83 -0
- package/dist/docstream-editor/editor/extensions.d.ts.map +1 -0
- package/dist/docstream-editor/editor/extensions.js +227 -0
- package/dist/docstream-editor/editor/extensions.js.map +1 -0
- package/dist/docstream-editor/editor/glyph.d.ts +3 -0
- package/dist/docstream-editor/editor/glyph.d.ts.map +1 -0
- package/dist/docstream-editor/editor/glyph.js +8 -0
- package/dist/docstream-editor/editor/glyph.js.map +1 -0
- package/dist/docstream-editor/editor/gpu-highlight.d.ts +3 -0
- package/dist/docstream-editor/editor/gpu-highlight.d.ts.map +1 -0
- package/dist/docstream-editor/editor/gpu-highlight.js +98 -0
- package/dist/docstream-editor/editor/gpu-highlight.js.map +1 -0
- package/dist/docstream-editor/editor/nodes.d.ts +41 -0
- package/dist/docstream-editor/editor/nodes.d.ts.map +1 -0
- package/dist/docstream-editor/editor/nodes.js +1014 -0
- package/dist/docstream-editor/editor/nodes.js.map +1 -0
- package/dist/docstream-editor/editor/reference-menu.d.ts +33 -0
- package/dist/docstream-editor/editor/reference-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/reference-menu.js +94 -0
- package/dist/docstream-editor/editor/reference-menu.js.map +1 -0
- package/dist/docstream-editor/editor/runtime.d.ts +42 -0
- package/dist/docstream-editor/editor/runtime.d.ts.map +1 -0
- package/dist/docstream-editor/editor/runtime.js +10 -0
- package/dist/docstream-editor/editor/runtime.js.map +1 -0
- package/dist/docstream-editor/editor/slash-menu.d.ts +21 -0
- package/dist/docstream-editor/editor/slash-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/slash-menu.js +267 -0
- package/dist/docstream-editor/editor/slash-menu.js.map +1 -0
- package/dist/docstream-editor/editor/task-item.d.ts +12 -0
- package/dist/docstream-editor/editor/task-item.d.ts.map +1 -0
- package/dist/docstream-editor/editor/task-item.js +94 -0
- package/dist/docstream-editor/editor/task-item.js.map +1 -0
- package/dist/docstream-editor/editor/trigger-adapter.d.ts +20 -0
- package/dist/docstream-editor/editor/trigger-adapter.d.ts.map +1 -0
- package/dist/docstream-editor/editor/trigger-adapter.js +224 -0
- package/dist/docstream-editor/editor/trigger-adapter.js.map +1 -0
- package/dist/docstream-editor/editor/trigger-menu.d.ts +45 -0
- package/dist/docstream-editor/editor/trigger-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/trigger-menu.js +143 -0
- package/dist/docstream-editor/editor/trigger-menu.js.map +1 -0
- package/dist/docstream-editor/index.d.ts +30 -0
- package/dist/docstream-editor/index.d.ts.map +1 -0
- package/dist/docstream-editor/index.js +21 -0
- package/dist/docstream-editor/index.js.map +1 -0
- package/dist/docstream-editor/styles.css +1457 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +140 -307
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +104 -192
- package/dist/lib/adaptive-pane-primitive.d.ts +1920 -0
- package/dist/lib/adaptive-pane-primitive.d.ts.map +1 -0
- package/dist/lib/adaptive-pane-primitive.js +312 -0
- package/dist/lib/back.d.ts +13 -0
- package/dist/lib/back.d.ts.map +1 -0
- package/dist/lib/back.js +77 -0
- package/dist/lib/breadcrumb-primitive.d.ts +348 -0
- package/dist/lib/breadcrumb-primitive.d.ts.map +1 -0
- package/dist/lib/breadcrumb-primitive.js +119 -0
- package/dist/lib/calendar-months.d.ts +2 -0
- package/dist/lib/calendar-months.d.ts.map +1 -0
- package/dist/lib/calendar-months.js +6 -0
- package/dist/lib/canvas-math.d.ts +11 -20
- package/dist/lib/canvas-math.d.ts.map +1 -1
- package/dist/lib/canvas-math.js +64 -86
- package/dist/lib/canvas-primitive.d.ts +2409 -0
- package/dist/lib/canvas-primitive.d.ts.map +1 -0
- package/dist/lib/canvas-primitive.js +349 -0
- package/dist/lib/change-details.d.ts +12 -0
- package/dist/lib/change-details.d.ts.map +1 -0
- package/dist/lib/change-details.js +18 -0
- package/dist/lib/cloudflare-board.d.ts +125 -0
- package/dist/lib/cloudflare-board.d.ts.map +1 -0
- package/dist/lib/cloudflare-board.js +496 -0
- package/dist/lib/cloudflare-catalog.d.ts +193 -0
- package/dist/lib/cloudflare-catalog.d.ts.map +1 -0
- package/dist/lib/cloudflare-catalog.generated.d.ts +3 -0
- package/dist/lib/cloudflare-catalog.generated.d.ts.map +1 -0
- package/dist/lib/cloudflare-catalog.generated.js +7046 -0
- package/dist/lib/cloudflare-services.d.ts +181 -0
- package/dist/lib/cloudflare-services.d.ts.map +1 -0
- package/dist/lib/cloudflare-services.js +245 -0
- package/dist/lib/cloudflare-system.d.ts +97 -0
- package/dist/lib/cloudflare-system.d.ts.map +1 -0
- package/dist/lib/cloudflare-system.js +715 -0
- package/dist/lib/cloudflare-workerd.d.ts +66 -0
- package/dist/lib/cloudflare-workerd.d.ts.map +1 -0
- package/dist/lib/cloudflare-workerd.js +410 -0
- package/dist/lib/cloudflare-wrangler.d.ts +107 -0
- package/dist/lib/cloudflare-wrangler.d.ts.map +1 -0
- package/dist/lib/cloudflare-wrangler.js +989 -0
- package/dist/lib/code-document.d.ts +8 -8
- package/dist/lib/code-document.d.ts.map +1 -1
- package/dist/lib/code-document.js +48 -48
- package/dist/lib/code-editor-gpu.d.ts.map +1 -1
- package/dist/lib/code-editor-model.d.ts +2 -2
- package/dist/lib/code-editor-model.d.ts.map +1 -1
- package/dist/lib/code-editor-model.js +262 -261
- package/dist/lib/code-editor-primitive.d.ts +640 -0
- package/dist/lib/code-editor-primitive.d.ts.map +1 -0
- package/dist/lib/code-editor-primitive.js +134 -0
- package/dist/lib/code-editor-window.d.ts +217 -0
- package/dist/lib/code-editor-window.d.ts.map +1 -0
- package/dist/lib/code-editor-window.js +1609 -0
- package/dist/lib/container.d.ts +29 -10
- package/dist/lib/container.d.ts.map +1 -1
- package/dist/lib/container.js +62 -30
- package/dist/lib/controllable-state.d.ts +11 -3
- package/dist/lib/controllable-state.d.ts.map +1 -1
- package/dist/lib/controllable-state.js +13 -7
- package/dist/lib/data-table-model.d.ts +43 -0
- package/dist/lib/data-table-model.d.ts.map +1 -0
- package/dist/lib/data-table-model.js +54 -0
- package/dist/lib/data-table-primitive.d.ts +7417 -0
- package/dist/lib/data-table-primitive.d.ts.map +1 -0
- package/dist/lib/data-table-primitive.js +676 -0
- package/dist/lib/diagram-chrome.d.ts +36 -0
- package/dist/lib/diagram-chrome.d.ts.map +1 -0
- package/dist/lib/diagram-chrome.js +90 -0
- package/dist/lib/diagram-drawing.d.ts +92 -0
- package/dist/lib/diagram-drawing.d.ts.map +1 -0
- package/dist/lib/diagram-drawing.js +253 -0
- package/dist/lib/diagram-gesture.d.ts +164 -0
- package/dist/lib/diagram-gesture.d.ts.map +1 -0
- package/dist/lib/diagram-gesture.js +290 -0
- package/dist/lib/diagram-history.d.ts +28 -0
- package/dist/lib/diagram-history.d.ts.map +1 -0
- package/dist/lib/diagram-history.js +47 -0
- package/dist/lib/diagram-keyboard.d.ts +104 -0
- package/dist/lib/diagram-keyboard.d.ts.map +1 -0
- package/dist/lib/diagram-keyboard.js +266 -0
- package/dist/lib/diagram-layout/index.d.ts +205 -0
- package/dist/lib/diagram-layout/index.d.ts.map +1 -0
- package/dist/lib/diagram-layout/index.js +3640 -0
- package/dist/lib/diagram-layout/react.d.ts +26 -0
- package/dist/lib/diagram-layout/react.d.ts.map +1 -0
- package/dist/lib/diagram-layout/react.js +223 -0
- package/dist/lib/diagram-model.d.ts +513 -0
- package/dist/lib/diagram-model.d.ts.map +1 -0
- package/dist/lib/diagram-model.js +2068 -0
- package/dist/lib/diagram-primitive.d.ts +282 -0
- package/dist/lib/diagram-primitive.d.ts.map +1 -0
- package/dist/lib/diagram-primitive.js +174 -0
- package/dist/lib/diagram-text.d.ts +36 -0
- package/dist/lib/diagram-text.d.ts.map +1 -0
- package/dist/lib/diagram-text.js +154 -0
- package/dist/lib/durable-streams.d.ts +1 -1
- package/dist/lib/durable-streams.d.ts.map +1 -1
- package/dist/lib/durable-streams.js +1 -1
- package/dist/lib/edge-swipe.d.ts +37 -34
- package/dist/lib/edge-swipe.d.ts.map +1 -1
- package/dist/lib/edge-swipe.js +51 -68
- package/dist/lib/ffmpeg/react.d.ts +1 -1
- package/dist/lib/ffmpeg/react.d.ts.map +1 -1
- package/dist/lib/file-icons.d.ts +21 -0
- package/dist/lib/file-icons.d.ts.map +1 -0
- package/dist/lib/file-icons.js +284 -0
- package/dist/lib/file-size.d.ts +5 -0
- package/dist/lib/file-size.d.ts.map +1 -0
- package/dist/lib/file-size.js +7 -0
- package/dist/lib/file-upload-model.d.ts +19 -109
- package/dist/lib/file-upload-model.d.ts.map +1 -1
- package/dist/lib/file-upload-model.js +30 -290
- package/dist/lib/file-upload-primitive.d.ts +379 -0
- package/dist/lib/file-upload-primitive.d.ts.map +1 -0
- package/dist/lib/file-upload-primitive.js +319 -0
- package/dist/lib/filter-query.d.ts +5 -3
- package/dist/lib/filter-query.d.ts.map +1 -1
- package/dist/lib/filter-query.js +8 -8
- package/dist/lib/flame-chart-draw.d.ts +112 -0
- package/dist/lib/flame-chart-draw.d.ts.map +1 -0
- package/dist/lib/flame-chart-draw.js +273 -0
- package/dist/lib/flame-chart-model.d.ts +184 -0
- package/dist/lib/flame-chart-model.d.ts.map +1 -0
- package/dist/lib/flame-chart-model.js +357 -0
- package/dist/lib/flame-chart-primitive.d.ts +501 -0
- package/dist/lib/flame-chart-primitive.d.ts.map +1 -0
- package/dist/lib/flame-chart-primitive.js +248 -0
- package/dist/lib/font-stack-primitive.d.ts +1265 -0
- package/dist/lib/font-stack-primitive.d.ts.map +1 -0
- package/dist/lib/font-stack-primitive.js +124 -0
- package/dist/lib/google-fonts.d.ts.map +1 -1
- package/dist/lib/google-fonts.js +9 -1
- package/dist/lib/gpu-cron.js +5 -2
- package/dist/lib/gpu-query/index.d.ts +1 -1
- package/dist/lib/gpu-query/index.d.ts.map +1 -1
- package/dist/lib/gpu-query/index.js +123 -41
- package/dist/lib/gpu-query/kernel.wgsl.js +189 -0
- package/dist/lib/gpu-query/webgpu.js +135 -0
- package/dist/lib/gpu-time.js +42 -38
- package/dist/lib/grid-behaviors.d.ts +191 -0
- package/dist/lib/grid-behaviors.d.ts.map +1 -0
- package/dist/lib/grid-behaviors.js +329 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -1
- package/dist/lib/icon-shapes/docs.d.ts +205 -0
- package/dist/lib/icon-shapes/docs.d.ts.map +1 -0
- package/dist/lib/icon-shapes/docs.js +235 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -1
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -1
- package/dist/lib/icon.d.ts +244 -6
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.js +271 -180
- package/dist/lib/index-bar-primitive.d.ts +626 -0
- package/dist/lib/index-bar-primitive.d.ts.map +1 -0
- package/dist/lib/index-bar-primitive.js +187 -0
- package/dist/lib/inline-edit-primitive.d.ts +386 -0
- package/dist/lib/inline-edit-primitive.d.ts.map +1 -0
- package/dist/lib/inline-edit-primitive.js +110 -0
- package/dist/lib/kept-children.d.ts +15 -0
- package/dist/lib/kept-children.d.ts.map +1 -0
- package/dist/lib/kept-children.js +21 -0
- package/dist/lib/list-primitive.d.ts +2049 -0
- package/dist/lib/list-primitive.d.ts.map +1 -0
- package/dist/lib/list-primitive.js +285 -0
- package/dist/lib/log-list-model.d.ts +0 -48
- package/dist/lib/log-list-model.d.ts.map +1 -1
- package/dist/lib/log-list-model.js +5 -118
- package/dist/lib/log-list-primitive.d.ts +4026 -0
- package/dist/lib/log-list-primitive.d.ts.map +1 -0
- package/dist/lib/log-list-primitive.js +487 -0
- package/dist/lib/message-scroller-context.d.ts +9 -0
- package/dist/lib/message-scroller-context.d.ts.map +1 -0
- package/dist/lib/message-scroller-context.js +9 -0
- package/dist/lib/message-scroller-primitive.d.ts +362 -0
- package/dist/lib/message-scroller-primitive.d.ts.map +1 -0
- package/dist/lib/message-scroller-primitive.js +185 -0
- package/dist/lib/motion-engine.d.ts +2 -0
- package/dist/lib/motion-engine.d.ts.map +1 -0
- package/dist/lib/motion-engine.js +3 -0
- package/dist/lib/motion-lazy.d.ts +16 -0
- package/dist/lib/motion-lazy.d.ts.map +1 -0
- package/dist/lib/motion-lazy.js +35 -0
- package/dist/lib/motion.d.ts +13 -10
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/motion.js +44 -32
- package/dist/lib/nav-bar.d.ts +35 -0
- package/dist/lib/nav-bar.d.ts.map +1 -0
- package/dist/lib/nav-bar.js +70 -0
- package/dist/lib/navigation-stack-primitive.d.ts +3308 -0
- package/dist/lib/navigation-stack-primitive.d.ts.map +1 -0
- package/dist/lib/navigation-stack-primitive.js +254 -0
- package/dist/lib/object-tree-model.d.ts +4 -2
- package/dist/lib/object-tree-model.d.ts.map +1 -1
- package/dist/lib/object-tree-model.js +51 -48
- package/dist/lib/object-tree-value.d.ts +3 -3
- package/dist/lib/object-tree-value.d.ts.map +1 -1
- package/dist/lib/object-tree-value.js +100 -99
- package/dist/lib/option-row.d.ts +76 -0
- package/dist/lib/option-row.d.ts.map +1 -0
- package/dist/lib/option-row.js +108 -0
- package/dist/lib/option-search-primitive.d.ts +760 -0
- package/dist/lib/option-search-primitive.d.ts.map +1 -0
- package/dist/lib/option-search-primitive.js +126 -0
- package/dist/lib/pglite-schema.d.ts +28 -1
- package/dist/lib/pglite-schema.d.ts.map +1 -1
- package/dist/lib/pglite-schema.js +42 -2
- package/dist/lib/pglite.d.ts +3 -3
- package/dist/lib/pglite.d.ts.map +1 -1
- package/dist/lib/pglite.js +5 -5
- package/dist/lib/presence.d.ts +43 -0
- package/dist/lib/presence.d.ts.map +1 -0
- package/dist/lib/presence.js +89 -0
- package/dist/lib/primitives.d.ts +81 -8
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/primitives.js +34 -6
- package/dist/lib/pull-to-refresh.d.ts +26 -21
- package/dist/lib/pull-to-refresh.d.ts.map +1 -1
- package/dist/lib/pull-to-refresh.js +50 -67
- package/dist/lib/qr.d.ts +2 -2
- package/dist/lib/qr.d.ts.map +1 -1
- package/dist/lib/reduced-motion.d.ts +4 -0
- package/dist/lib/reduced-motion.d.ts.map +1 -0
- package/dist/lib/reduced-motion.js +6 -0
- package/dist/lib/request-table-model.d.ts +11 -41
- package/dist/lib/request-table-model.d.ts.map +1 -1
- package/dist/lib/request-table-model.js +9 -53
- package/dist/lib/sandbox/command-line.d.ts +27 -0
- package/dist/lib/sandbox/command-line.d.ts.map +1 -0
- package/dist/lib/sandbox/command-line.js +68 -0
- package/dist/lib/sandbox/disk.d.ts +25 -0
- package/dist/lib/sandbox/disk.d.ts.map +1 -0
- package/dist/lib/sandbox/disk.js +158 -0
- package/dist/lib/sandbox/error.d.ts +12 -0
- package/dist/lib/sandbox/error.d.ts.map +1 -0
- package/dist/lib/sandbox/error.js +9 -0
- package/dist/lib/sandbox/host-fetch.d.ts +4 -0
- package/dist/lib/sandbox/host-fetch.d.ts.map +1 -0
- package/dist/lib/sandbox/host-fetch.js +35 -0
- package/dist/lib/sandbox/host.d.ts +83 -0
- package/dist/lib/sandbox/host.d.ts.map +1 -0
- package/dist/lib/sandbox/host.js +385 -0
- package/dist/lib/sandbox/index.d.ts +75 -0
- package/dist/lib/sandbox/index.d.ts.map +1 -0
- package/dist/lib/sandbox/index.js +165 -0
- package/dist/lib/sandbox/model.d.ts +117 -0
- package/dist/lib/sandbox/model.d.ts.map +1 -0
- package/dist/lib/sandbox/protocol.d.ts +133 -0
- package/dist/lib/sandbox/protocol.d.ts.map +1 -0
- package/dist/lib/sandbox/react.d.ts +18 -0
- package/dist/lib/sandbox/react.d.ts.map +1 -0
- package/dist/lib/sandbox/react.js +46 -0
- package/dist/lib/sandbox/serve.d.ts +32 -0
- package/dist/lib/sandbox/serve.d.ts.map +1 -0
- package/dist/lib/sandbox/serve.js +411 -0
- package/dist/lib/sandbox/spawn.d.ts +26 -0
- package/dist/lib/sandbox/spawn.d.ts.map +1 -0
- package/dist/lib/sandbox/spawn.js +75 -0
- package/dist/lib/sandbox/worker.d.ts +8 -0
- package/dist/lib/sandbox/worker.d.ts.map +1 -0
- package/dist/lib/sandbox/worker.js +8 -0
- package/dist/lib/schedule-preview.d.ts +37 -0
- package/dist/lib/schedule-preview.d.ts.map +1 -0
- package/dist/lib/schedule-preview.js +76 -0
- package/dist/lib/scroll-edge.d.ts +16 -0
- package/dist/lib/scroll-edge.d.ts.map +1 -0
- package/dist/lib/scroll-edge.js +35 -0
- package/dist/lib/search-input-primitive.d.ts +152 -0
- package/dist/lib/search-input-primitive.d.ts.map +1 -0
- package/dist/lib/search-input-primitive.js +42 -0
- package/dist/lib/selection-indicator-primitive.d.ts +83 -0
- package/dist/lib/selection-indicator-primitive.d.ts.map +1 -0
- package/dist/lib/selection-indicator-primitive.js +75 -0
- package/dist/lib/session-recorder.d.ts.map +1 -1
- package/dist/lib/session-recorder.js +1 -1
- package/dist/lib/shortcut-text.d.ts +10 -0
- package/dist/lib/shortcut-text.d.ts.map +1 -0
- package/dist/lib/shortcut-text.js +19 -0
- package/dist/lib/sidebar-primitive.d.ts +228 -0
- package/dist/lib/sidebar-primitive.d.ts.map +1 -0
- package/dist/lib/sidebar-primitive.js +101 -0
- package/dist/lib/size-class.d.ts +28 -0
- package/dist/lib/size-class.d.ts.map +1 -0
- package/dist/lib/size-class.js +17 -0
- package/dist/lib/spinner-shapes.d.ts +299 -0
- package/dist/lib/spinner-shapes.d.ts.map +1 -0
- package/dist/lib/spinner-shapes.js +876 -0
- package/dist/lib/split-view-primitive.d.ts +6137 -0
- package/dist/lib/split-view-primitive.d.ts.map +1 -0
- package/dist/lib/split-view-primitive.js +726 -0
- package/dist/lib/spreadsheet-primitive.d.ts +7518 -0
- package/dist/lib/spreadsheet-primitive.d.ts.map +1 -0
- package/dist/lib/spreadsheet-primitive.js +830 -0
- package/dist/lib/stack-parent.d.ts +29 -0
- package/dist/lib/stack-parent.d.ts.map +1 -0
- package/dist/lib/stack-parent.js +26 -0
- package/dist/lib/stack.d.ts +92 -0
- package/dist/lib/stack.d.ts.map +1 -0
- package/dist/lib/stack.js +217 -0
- package/dist/lib/state-diagram-edit.d.ts +93 -0
- package/dist/lib/state-diagram-edit.d.ts.map +1 -0
- package/dist/lib/state-diagram-edit.js +461 -0
- package/dist/lib/state-diagram-model.d.ts +251 -0
- package/dist/lib/state-diagram-model.d.ts.map +1 -0
- package/dist/lib/state-diagram-model.js +462 -0
- package/dist/lib/state-diagram-simulation.d.ts +115 -0
- package/dist/lib/state-diagram-simulation.d.ts.map +1 -0
- package/dist/lib/state-diagram-simulation.js +265 -0
- package/dist/lib/state-diagram-source.d.ts +4 -0
- package/dist/lib/state-diagram-source.d.ts.map +1 -0
- package/dist/lib/state-diagram-source.js +316 -0
- package/dist/lib/surface-flow.d.ts +28 -0
- package/dist/lib/surface-flow.d.ts.map +1 -0
- package/dist/lib/surface-flow.js +66 -0
- package/dist/lib/surface.d.ts +34 -0
- package/dist/lib/surface.d.ts.map +1 -0
- package/dist/lib/surface.js +43 -0
- package/dist/lib/syntax-lexer.d.ts +23 -0
- package/dist/lib/syntax-lexer.d.ts.map +1 -0
- package/dist/lib/syntax-lexer.js +400 -0
- package/dist/lib/syntax.d.ts +8 -21
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +51 -78
- package/dist/lib/tailscale-policy.js +32 -19
- package/dist/lib/tailscale-react.d.ts +1 -1
- package/dist/lib/tailscale-react.d.ts.map +1 -1
- package/dist/lib/theme-context.d.ts +14 -0
- package/dist/lib/theme-context.d.ts.map +1 -0
- package/dist/lib/theme-context.js +12 -0
- package/dist/lib/theme.d.ts +47 -25
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +128 -62
- package/dist/lib/title-flight.d.ts +30 -10
- package/dist/lib/title-flight.d.ts.map +1 -1
- package/dist/lib/title-flight.js +73 -53
- package/dist/lib/tokens.generated.d.ts +5 -5
- package/dist/lib/tokens.generated.d.ts.map +1 -1
- package/dist/lib/tokens.generated.js +15 -4
- package/dist/lib/trace-timeline-draw.d.ts +3 -2
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -1
- package/dist/lib/trace-timeline-draw.js +96 -89
- package/dist/lib/trace-timeline-model.d.ts +17 -15
- package/dist/lib/trace-timeline-model.d.ts.map +1 -1
- package/dist/lib/trace-timeline-model.js +130 -130
- package/dist/lib/trace-timeline-primitive.d.ts +502 -0
- package/dist/lib/trace-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/trace-timeline-primitive.js +264 -0
- package/dist/lib/trigger-palette.d.ts +22 -0
- package/dist/lib/trigger-palette.d.ts.map +1 -0
- package/dist/lib/trigger-palette.js +35 -0
- package/dist/lib/use-copy.d.ts +16 -0
- package/dist/lib/use-copy.d.ts.map +1 -0
- package/dist/lib/use-copy.js +32 -0
- package/dist/lib/use-file-upload.d.ts +61 -0
- package/dist/lib/use-file-upload.d.ts.map +1 -0
- package/dist/lib/use-file-upload.js +65 -0
- package/dist/lib/use-font-version.d.ts +7 -0
- package/dist/lib/use-font-version.d.ts.map +1 -0
- package/dist/lib/use-font-version.js +22 -0
- package/dist/lib/use-paced.d.ts +2 -0
- package/dist/lib/use-paced.d.ts.map +1 -0
- package/dist/lib/use-paced.js +30 -0
- package/dist/lib/use-virtual-rows.d.ts +30 -0
- package/dist/lib/use-virtual-rows.d.ts.map +1 -0
- package/dist/lib/use-virtual-rows.js +40 -0
- package/dist/lib/utils.d.ts +5 -9
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +4 -2
- package/dist/lib/vault-react.d.ts +1 -1
- package/dist/lib/vault-react.d.ts.map +1 -1
- package/dist/lib/vault.js +64 -64
- package/dist/lib/video-render.js +24 -24
- package/dist/lib/video-timeline-model.d.ts +13 -2
- package/dist/lib/video-timeline-model.d.ts.map +1 -1
- package/dist/lib/video-timeline-primitive.d.ts +2066 -0
- package/dist/lib/video-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/video-timeline-primitive.js +464 -0
- package/dist/lib/wave-rail.d.ts +35 -0
- package/dist/lib/wave-rail.d.ts.map +1 -0
- package/dist/lib/wave-rail.js +49 -0
- package/dist/lib/workspace-model.d.ts +126 -0
- package/dist/lib/workspace-model.d.ts.map +1 -0
- package/dist/lib/workspace-model.js +278 -0
- package/dist/lib/workspace-primitive.d.ts +2762 -0
- package/dist/lib/workspace-primitive.d.ts.map +1 -0
- package/dist/lib/workspace-primitive.js +567 -0
- package/dist/libraries/audio.d.ts +5 -0
- package/dist/libraries/audio.d.ts.map +1 -0
- package/dist/libraries/audio.js +5 -0
- package/dist/libraries/canvas.d.ts +4 -0
- package/dist/libraries/canvas.d.ts.map +1 -0
- package/dist/libraries/canvas.js +10 -0
- package/dist/libraries/composer.d.ts +5 -0
- package/dist/libraries/composer.d.ts.map +1 -0
- package/dist/libraries/composer.js +6 -0
- package/dist/libraries/diagram.d.ts +11 -0
- package/dist/libraries/diagram.d.ts.map +1 -0
- package/dist/libraries/diagram.js +13 -0
- package/dist/libraries/filter.d.ts +6 -0
- package/dist/libraries/filter.d.ts.map +1 -0
- package/dist/libraries/filter.js +7 -0
- package/dist/libraries/icons.d.ts +3 -0
- package/dist/libraries/icons.d.ts.map +1 -0
- package/dist/libraries/icons.js +3 -0
- package/dist/libraries/markdown.d.ts +5 -0
- package/dist/libraries/markdown.d.ts.map +1 -0
- package/dist/libraries/markdown.js +5 -0
- package/dist/libraries/motion.d.ts +11 -0
- package/dist/libraries/motion.d.ts.map +1 -0
- package/dist/libraries/motion.js +12 -0
- package/dist/libraries/pglite.d.ts +8 -0
- package/dist/libraries/pglite.d.ts.map +1 -0
- package/dist/libraries/pglite.js +8 -0
- package/dist/libraries/replay.d.ts +4 -0
- package/dist/libraries/replay.d.ts.map +1 -0
- package/dist/libraries/replay.js +22 -0
- package/dist/libraries/sandbox.d.ts +4 -0
- package/dist/libraries/sandbox.d.ts.map +1 -0
- package/dist/libraries/sandbox.js +5 -0
- package/dist/libraries/sql.d.ts +2 -0
- package/dist/libraries/sql.d.ts.map +1 -0
- package/dist/libraries/sql.js +2 -0
- package/dist/libraries/sync.d.ts +4 -0
- package/dist/libraries/sync.d.ts.map +1 -0
- package/dist/libraries/sync.js +4 -0
- package/dist/libraries/tailscale.d.ts +10 -0
- package/dist/libraries/tailscale.d.ts.map +1 -0
- package/dist/libraries/tailscale.js +10 -0
- package/dist/libraries/time.d.ts +9 -0
- package/dist/libraries/time.d.ts.map +1 -0
- package/dist/libraries/time.js +9 -0
- package/dist/libraries/tokens.d.ts +8 -0
- package/dist/libraries/tokens.d.ts.map +1 -0
- package/dist/libraries/tokens.js +10 -0
- package/dist/libraries/vault.d.ts +6 -0
- package/dist/libraries/vault.d.ts.map +1 -0
- package/dist/libraries/vault.js +6 -0
- package/dist/libraries/video.d.ts +9 -0
- package/dist/libraries/video.d.ts.map +1 -0
- package/dist/libraries/video.js +10 -0
- package/dist/opencode.d.ts +1 -2
- package/dist/opencode.d.ts.map +1 -1
- package/dist/opencode.js +3 -3
- package/dist/sdk/core/accordion.d.ts +2 -0
- package/dist/sdk/core/accordion.d.ts.map +1 -0
- package/dist/sdk/core/accordion.js +1 -0
- package/dist/sdk/core/agent.d.ts +2 -0
- package/dist/sdk/core/agent.d.ts.map +1 -0
- package/dist/sdk/core/agent.js +1 -0
- package/dist/sdk/core/alert-dialog.d.ts +2 -0
- package/dist/sdk/core/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/core/alert-dialog.js +1 -0
- package/dist/sdk/core/async-options.d.ts +2 -0
- package/dist/sdk/core/async-options.d.ts.map +1 -0
- package/dist/sdk/core/async-options.js +1 -0
- package/dist/sdk/core/autocomplete.d.ts +2 -0
- package/dist/sdk/core/autocomplete.d.ts.map +1 -0
- package/dist/sdk/core/autocomplete.js +1 -0
- package/dist/sdk/core/avatar.d.ts +2 -0
- package/dist/sdk/core/avatar.d.ts.map +1 -0
- package/dist/sdk/core/avatar.js +1 -0
- package/dist/sdk/core/button.d.ts +2 -0
- package/dist/sdk/core/button.d.ts.map +1 -0
- package/dist/sdk/core/button.js +1 -0
- package/dist/sdk/core/calendar.d.ts +2 -0
- package/dist/sdk/core/calendar.d.ts.map +1 -0
- package/dist/sdk/core/calendar.js +1 -0
- package/dist/sdk/core/carousel.d.ts +2 -0
- package/dist/sdk/core/carousel.d.ts.map +1 -0
- package/dist/sdk/core/carousel.js +1 -0
- package/dist/sdk/core/checkbox.d.ts +2 -0
- package/dist/sdk/core/checkbox.d.ts.map +1 -0
- package/dist/sdk/core/checkbox.js +1 -0
- package/dist/sdk/core/collapsible.d.ts +2 -0
- package/dist/sdk/core/collapsible.d.ts.map +1 -0
- package/dist/sdk/core/collapsible.js +1 -0
- package/dist/sdk/core/color-picker.d.ts +2 -0
- package/dist/sdk/core/color-picker.d.ts.map +1 -0
- package/dist/sdk/core/color-picker.js +1 -0
- package/dist/sdk/core/color.d.ts +2 -0
- package/dist/sdk/core/color.d.ts.map +1 -0
- package/dist/sdk/core/color.js +1 -0
- package/dist/sdk/core/combobox.d.ts +2 -0
- package/dist/sdk/core/combobox.d.ts.map +1 -0
- package/dist/sdk/core/combobox.js +1 -0
- package/dist/sdk/core/command.d.ts +2 -0
- package/dist/sdk/core/command.d.ts.map +1 -0
- package/dist/sdk/core/command.js +1 -0
- package/dist/sdk/core/date-input.d.ts +2 -0
- package/dist/sdk/core/date-input.d.ts.map +1 -0
- package/dist/sdk/core/date-input.js +1 -0
- package/dist/sdk/core/date-picker.d.ts +2 -0
- package/dist/sdk/core/date-picker.d.ts.map +1 -0
- package/dist/sdk/core/date-picker.js +1 -0
- package/dist/sdk/core/date.d.ts +2 -0
- package/dist/sdk/core/date.d.ts.map +1 -0
- package/dist/sdk/core/date.js +1 -0
- package/dist/sdk/core/dialog.d.ts +2 -0
- package/dist/sdk/core/dialog.d.ts.map +1 -0
- package/dist/sdk/core/dialog.js +1 -0
- package/dist/sdk/core/drawer.d.ts +2 -0
- package/dist/sdk/core/drawer.d.ts.map +1 -0
- package/dist/sdk/core/drawer.js +1 -0
- package/dist/sdk/core/field.d.ts +2 -0
- package/dist/sdk/core/field.d.ts.map +1 -0
- package/dist/sdk/core/field.js +1 -0
- package/dist/sdk/core/file-input.d.ts +2 -0
- package/dist/sdk/core/file-input.d.ts.map +1 -0
- package/dist/sdk/core/file-input.js +1 -0
- package/dist/sdk/core/gesture.d.ts +2 -0
- package/dist/sdk/core/gesture.d.ts.map +1 -0
- package/dist/sdk/core/gesture.js +1 -0
- package/dist/sdk/core/history.d.ts +2 -0
- package/dist/sdk/core/history.d.ts.map +1 -0
- package/dist/sdk/core/history.js +1 -0
- package/dist/sdk/core/hover-card.d.ts +2 -0
- package/dist/sdk/core/hover-card.d.ts.map +1 -0
- package/dist/sdk/core/hover-card.js +1 -0
- package/dist/sdk/core/image-cropper.d.ts +2 -0
- package/dist/sdk/core/image-cropper.d.ts.map +1 -0
- package/dist/sdk/core/image-cropper.js +1 -0
- package/dist/sdk/core/image.d.ts +2 -0
- package/dist/sdk/core/image.d.ts.map +1 -0
- package/dist/sdk/core/image.js +1 -0
- package/dist/sdk/core/index.d.ts +2 -0
- package/dist/sdk/core/index.d.ts.map +1 -0
- package/dist/sdk/core/index.js +1 -0
- package/dist/sdk/core/input.d.ts +2 -0
- package/dist/sdk/core/input.d.ts.map +1 -0
- package/dist/sdk/core/input.js +1 -0
- package/dist/sdk/core/label.d.ts +2 -0
- package/dist/sdk/core/label.d.ts.map +1 -0
- package/dist/sdk/core/label.js +1 -0
- package/dist/sdk/core/listbox.d.ts +2 -0
- package/dist/sdk/core/listbox.d.ts.map +1 -0
- package/dist/sdk/core/listbox.js +1 -0
- package/dist/sdk/core/menu.d.ts +2 -0
- package/dist/sdk/core/menu.d.ts.map +1 -0
- package/dist/sdk/core/menu.js +1 -0
- package/dist/sdk/core/menubar.d.ts +2 -0
- package/dist/sdk/core/menubar.d.ts.map +1 -0
- package/dist/sdk/core/menubar.js +1 -0
- package/dist/sdk/core/meter.d.ts +2 -0
- package/dist/sdk/core/meter.d.ts.map +1 -0
- package/dist/sdk/core/meter.js +1 -0
- package/dist/sdk/core/navigation-menu.d.ts +2 -0
- package/dist/sdk/core/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/core/navigation-menu.js +1 -0
- package/dist/sdk/core/number-input.d.ts +2 -0
- package/dist/sdk/core/number-input.d.ts.map +1 -0
- package/dist/sdk/core/number-input.js +1 -0
- package/dist/sdk/core/number.d.ts +2 -0
- package/dist/sdk/core/number.d.ts.map +1 -0
- package/dist/sdk/core/number.js +1 -0
- package/dist/sdk/core/observe.d.ts +2 -0
- package/dist/sdk/core/observe.d.ts.map +1 -0
- package/dist/sdk/core/observe.js +1 -0
- package/dist/sdk/core/otp-input.d.ts +2 -0
- package/dist/sdk/core/otp-input.d.ts.map +1 -0
- package/dist/sdk/core/otp-input.js +1 -0
- package/dist/sdk/core/overlays.d.ts +2 -0
- package/dist/sdk/core/overlays.d.ts.map +1 -0
- package/dist/sdk/core/overlays.js +1 -0
- package/dist/sdk/core/pagination.d.ts +2 -0
- package/dist/sdk/core/pagination.d.ts.map +1 -0
- package/dist/sdk/core/pagination.js +1 -0
- package/dist/sdk/core/password-input.d.ts +2 -0
- package/dist/sdk/core/password-input.d.ts.map +1 -0
- package/dist/sdk/core/password-input.js +1 -0
- package/dist/sdk/core/popover.d.ts +2 -0
- package/dist/sdk/core/popover.d.ts.map +1 -0
- package/dist/sdk/core/popover.js +1 -0
- package/dist/sdk/core/progress.d.ts +2 -0
- package/dist/sdk/core/progress.d.ts.map +1 -0
- package/dist/sdk/core/progress.js +1 -0
- package/dist/sdk/core/radio.d.ts +2 -0
- package/dist/sdk/core/radio.d.ts.map +1 -0
- package/dist/sdk/core/radio.js +1 -0
- package/dist/sdk/core/rating.d.ts +2 -0
- package/dist/sdk/core/rating.d.ts.map +1 -0
- package/dist/sdk/core/rating.js +1 -0
- package/dist/sdk/core/renderer.d.ts +2 -0
- package/dist/sdk/core/renderer.d.ts.map +1 -0
- package/dist/sdk/core/renderer.js +1 -0
- package/dist/sdk/core/resizable.d.ts +2 -0
- package/dist/sdk/core/resizable.d.ts.map +1 -0
- package/dist/sdk/core/resizable.js +1 -0
- package/dist/sdk/core/scroll-area.d.ts +2 -0
- package/dist/sdk/core/scroll-area.d.ts.map +1 -0
- package/dist/sdk/core/scroll-area.js +1 -0
- package/dist/sdk/core/segmented-control.d.ts +2 -0
- package/dist/sdk/core/segmented-control.d.ts.map +1 -0
- package/dist/sdk/core/segmented-control.js +1 -0
- package/dist/sdk/core/select.d.ts +2 -0
- package/dist/sdk/core/select.d.ts.map +1 -0
- package/dist/sdk/core/select.js +1 -0
- package/dist/sdk/core/separator.d.ts +2 -0
- package/dist/sdk/core/separator.d.ts.map +1 -0
- package/dist/sdk/core/separator.js +1 -0
- package/dist/sdk/core/shortcuts.d.ts +2 -0
- package/dist/sdk/core/shortcuts.d.ts.map +1 -0
- package/dist/sdk/core/shortcuts.js +1 -0
- package/dist/sdk/core/slider.d.ts +2 -0
- package/dist/sdk/core/slider.d.ts.map +1 -0
- package/dist/sdk/core/slider.js +1 -0
- package/dist/sdk/core/switch.d.ts +2 -0
- package/dist/sdk/core/switch.d.ts.map +1 -0
- package/dist/sdk/core/switch.js +1 -0
- package/dist/sdk/core/tabs.d.ts +2 -0
- package/dist/sdk/core/tabs.d.ts.map +1 -0
- package/dist/sdk/core/tabs.js +1 -0
- package/dist/sdk/core/testing.d.ts +2 -0
- package/dist/sdk/core/testing.d.ts.map +1 -0
- package/dist/sdk/core/testing.js +1 -0
- package/dist/sdk/core/text-match.d.ts +2 -0
- package/dist/sdk/core/text-match.d.ts.map +1 -0
- package/dist/sdk/core/text-match.js +1 -0
- package/dist/sdk/core/time-input.d.ts +2 -0
- package/dist/sdk/core/time-input.d.ts.map +1 -0
- package/dist/sdk/core/time-input.js +1 -0
- package/dist/sdk/core/timeline.d.ts +2 -0
- package/dist/sdk/core/timeline.d.ts.map +1 -0
- package/dist/sdk/core/timeline.js +1 -0
- package/dist/sdk/core/toast.d.ts +2 -0
- package/dist/sdk/core/toast.d.ts.map +1 -0
- package/dist/sdk/core/toast.js +1 -0
- package/dist/sdk/core/toggle.d.ts +2 -0
- package/dist/sdk/core/toggle.d.ts.map +1 -0
- package/dist/sdk/core/toggle.js +1 -0
- package/dist/sdk/core/token-input.d.ts +2 -0
- package/dist/sdk/core/token-input.d.ts.map +1 -0
- package/dist/sdk/core/token-input.js +1 -0
- package/dist/sdk/core/toolbar.d.ts +2 -0
- package/dist/sdk/core/toolbar.d.ts.map +1 -0
- package/dist/sdk/core/toolbar.js +1 -0
- package/dist/sdk/core/tooltip.d.ts +2 -0
- package/dist/sdk/core/tooltip.d.ts.map +1 -0
- package/dist/sdk/core/tooltip.js +1 -0
- package/dist/sdk/core/tree.d.ts +2 -0
- package/dist/sdk/core/tree.d.ts.map +1 -0
- package/dist/sdk/core/tree.js +1 -0
- package/dist/sdk/core/trigger-menu.d.ts +2 -0
- package/dist/sdk/core/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/core/trigger-menu.js +1 -0
- package/dist/sdk/core/waterfall.d.ts +2 -0
- package/dist/sdk/core/waterfall.d.ts.map +1 -0
- package/dist/sdk/core/waterfall.js +1 -0
- package/dist/sdk/react/accordion.d.ts +2 -0
- package/dist/sdk/react/accordion.d.ts.map +1 -0
- package/dist/sdk/react/accordion.js +1 -0
- package/dist/sdk/react/agent.d.ts +2 -0
- package/dist/sdk/react/agent.d.ts.map +1 -0
- package/dist/sdk/react/agent.js +1 -0
- package/dist/sdk/react/alert-dialog.d.ts +2 -0
- package/dist/sdk/react/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/react/alert-dialog.js +1 -0
- package/dist/sdk/react/async-options.d.ts +2 -0
- package/dist/sdk/react/async-options.d.ts.map +1 -0
- package/dist/sdk/react/async-options.js +1 -0
- package/dist/sdk/react/autocomplete.d.ts +2 -0
- package/dist/sdk/react/autocomplete.d.ts.map +1 -0
- package/dist/sdk/react/autocomplete.js +1 -0
- package/dist/sdk/react/avatar.d.ts +2 -0
- package/dist/sdk/react/avatar.d.ts.map +1 -0
- package/dist/sdk/react/avatar.js +1 -0
- package/dist/sdk/react/button.d.ts +2 -0
- package/dist/sdk/react/button.d.ts.map +1 -0
- package/dist/sdk/react/button.js +1 -0
- package/dist/sdk/react/calendar.d.ts +2 -0
- package/dist/sdk/react/calendar.d.ts.map +1 -0
- package/dist/sdk/react/calendar.js +1 -0
- package/dist/sdk/react/carousel.d.ts +2 -0
- package/dist/sdk/react/carousel.d.ts.map +1 -0
- package/dist/sdk/react/carousel.js +1 -0
- package/dist/sdk/react/checkbox.d.ts +2 -0
- package/dist/sdk/react/checkbox.d.ts.map +1 -0
- package/dist/sdk/react/checkbox.js +1 -0
- package/dist/sdk/react/collapsible.d.ts +2 -0
- package/dist/sdk/react/collapsible.d.ts.map +1 -0
- package/dist/sdk/react/collapsible.js +1 -0
- package/dist/sdk/react/color-picker.d.ts +2 -0
- package/dist/sdk/react/color-picker.d.ts.map +1 -0
- package/dist/sdk/react/color-picker.js +1 -0
- package/dist/sdk/react/color.d.ts +2 -0
- package/dist/sdk/react/color.d.ts.map +1 -0
- package/dist/sdk/react/color.js +1 -0
- package/dist/sdk/react/combobox.d.ts +2 -0
- package/dist/sdk/react/combobox.d.ts.map +1 -0
- package/dist/sdk/react/combobox.js +1 -0
- package/dist/sdk/react/command.d.ts +2 -0
- package/dist/sdk/react/command.d.ts.map +1 -0
- package/dist/sdk/react/command.js +1 -0
- package/dist/sdk/react/date-input.d.ts +2 -0
- package/dist/sdk/react/date-input.d.ts.map +1 -0
- package/dist/sdk/react/date-input.js +1 -0
- package/dist/sdk/react/date-picker.d.ts +2 -0
- package/dist/sdk/react/date-picker.d.ts.map +1 -0
- package/dist/sdk/react/date-picker.js +1 -0
- package/dist/sdk/react/date.d.ts +2 -0
- package/dist/sdk/react/date.d.ts.map +1 -0
- package/dist/sdk/react/date.js +1 -0
- package/dist/sdk/react/dialog.d.ts +2 -0
- package/dist/sdk/react/dialog.d.ts.map +1 -0
- package/dist/sdk/react/dialog.js +1 -0
- package/dist/sdk/react/drawer.d.ts +2 -0
- package/dist/sdk/react/drawer.d.ts.map +1 -0
- package/dist/sdk/react/drawer.js +1 -0
- package/dist/sdk/react/field.d.ts +2 -0
- package/dist/sdk/react/field.d.ts.map +1 -0
- package/dist/sdk/react/field.js +1 -0
- package/dist/sdk/react/file-input.d.ts +2 -0
- package/dist/sdk/react/file-input.d.ts.map +1 -0
- package/dist/sdk/react/file-input.js +1 -0
- package/dist/sdk/react/gesture.d.ts +2 -0
- package/dist/sdk/react/gesture.d.ts.map +1 -0
- package/dist/sdk/react/gesture.js +1 -0
- package/dist/sdk/react/history.d.ts +2 -0
- package/dist/sdk/react/history.d.ts.map +1 -0
- package/dist/sdk/react/history.js +1 -0
- package/dist/sdk/react/hover-card.d.ts +2 -0
- package/dist/sdk/react/hover-card.d.ts.map +1 -0
- package/dist/sdk/react/hover-card.js +1 -0
- package/dist/sdk/react/image-cropper.d.ts +2 -0
- package/dist/sdk/react/image-cropper.d.ts.map +1 -0
- package/dist/sdk/react/image-cropper.js +1 -0
- package/dist/sdk/react/image.d.ts +2 -0
- package/dist/sdk/react/image.d.ts.map +1 -0
- package/dist/sdk/react/image.js +1 -0
- package/dist/sdk/react/input.d.ts +2 -0
- package/dist/sdk/react/input.d.ts.map +1 -0
- package/dist/sdk/react/input.js +1 -0
- package/dist/sdk/react/label.d.ts +2 -0
- package/dist/sdk/react/label.d.ts.map +1 -0
- package/dist/sdk/react/label.js +1 -0
- package/dist/sdk/react/listbox.d.ts +2 -0
- package/dist/sdk/react/listbox.d.ts.map +1 -0
- package/dist/sdk/react/listbox.js +1 -0
- package/dist/sdk/react/menu.d.ts +2 -0
- package/dist/sdk/react/menu.d.ts.map +1 -0
- package/dist/sdk/react/menu.js +1 -0
- package/dist/sdk/react/menubar.d.ts +2 -0
- package/dist/sdk/react/menubar.d.ts.map +1 -0
- package/dist/sdk/react/menubar.js +1 -0
- package/dist/sdk/react/meter.d.ts +2 -0
- package/dist/sdk/react/meter.d.ts.map +1 -0
- package/dist/sdk/react/meter.js +1 -0
- package/dist/sdk/react/navigation-menu.d.ts +2 -0
- package/dist/sdk/react/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/react/navigation-menu.js +1 -0
- package/dist/sdk/react/number-input.d.ts +2 -0
- package/dist/sdk/react/number-input.d.ts.map +1 -0
- package/dist/sdk/react/number-input.js +1 -0
- package/dist/sdk/react/number.d.ts +2 -0
- package/dist/sdk/react/number.d.ts.map +1 -0
- package/dist/sdk/react/number.js +1 -0
- package/dist/sdk/react/observe.d.ts +2 -0
- package/dist/sdk/react/observe.d.ts.map +1 -0
- package/dist/sdk/react/observe.js +1 -0
- package/dist/sdk/react/otp-input.d.ts +2 -0
- package/dist/sdk/react/otp-input.d.ts.map +1 -0
- package/dist/sdk/react/otp-input.js +1 -0
- package/dist/sdk/react/overlays.d.ts +2 -0
- package/dist/sdk/react/overlays.d.ts.map +1 -0
- package/dist/sdk/react/overlays.js +1 -0
- package/dist/sdk/react/pagination.d.ts +2 -0
- package/dist/sdk/react/pagination.d.ts.map +1 -0
- package/dist/sdk/react/pagination.js +1 -0
- package/dist/sdk/react/password-input.d.ts +2 -0
- package/dist/sdk/react/password-input.d.ts.map +1 -0
- package/dist/sdk/react/password-input.js +1 -0
- package/dist/sdk/react/popover.d.ts +2 -0
- package/dist/sdk/react/popover.d.ts.map +1 -0
- package/dist/sdk/react/popover.js +1 -0
- package/dist/sdk/react/preferences.d.ts +2 -0
- package/dist/sdk/react/preferences.d.ts.map +1 -0
- package/dist/sdk/react/preferences.js +1 -0
- package/dist/sdk/react/primitive.d.ts +2 -0
- package/dist/sdk/react/primitive.d.ts.map +1 -0
- package/dist/sdk/react/primitive.js +1 -0
- package/dist/sdk/react/progress.d.ts +2 -0
- package/dist/sdk/react/progress.d.ts.map +1 -0
- package/dist/sdk/react/progress.js +1 -0
- package/dist/sdk/react/radio.d.ts +2 -0
- package/dist/sdk/react/radio.d.ts.map +1 -0
- package/dist/sdk/react/radio.js +1 -0
- package/dist/sdk/react/rating.d.ts +2 -0
- package/dist/sdk/react/rating.d.ts.map +1 -0
- package/dist/sdk/react/rating.js +1 -0
- package/dist/sdk/react/resizable.d.ts +2 -0
- package/dist/sdk/react/resizable.d.ts.map +1 -0
- package/dist/sdk/react/resizable.js +1 -0
- package/dist/sdk/react/scroll-area.d.ts +2 -0
- package/dist/sdk/react/scroll-area.d.ts.map +1 -0
- package/dist/sdk/react/scroll-area.js +1 -0
- package/dist/sdk/react/segmented-control.d.ts +2 -0
- package/dist/sdk/react/segmented-control.d.ts.map +1 -0
- package/dist/sdk/react/segmented-control.js +1 -0
- package/dist/sdk/react/select.d.ts +2 -0
- package/dist/sdk/react/select.d.ts.map +1 -0
- package/dist/sdk/react/select.js +1 -0
- package/dist/sdk/react/separator.d.ts +2 -0
- package/dist/sdk/react/separator.d.ts.map +1 -0
- package/dist/sdk/react/separator.js +1 -0
- package/dist/sdk/react/shortcuts.d.ts +2 -0
- package/dist/sdk/react/shortcuts.d.ts.map +1 -0
- package/dist/sdk/react/shortcuts.js +1 -0
- package/dist/sdk/react/slider.d.ts +2 -0
- package/dist/sdk/react/slider.d.ts.map +1 -0
- package/dist/sdk/react/slider.js +1 -0
- package/dist/sdk/react/switch.d.ts +2 -0
- package/dist/sdk/react/switch.d.ts.map +1 -0
- package/dist/sdk/react/switch.js +1 -0
- package/dist/sdk/react/tabs.d.ts +2 -0
- package/dist/sdk/react/tabs.d.ts.map +1 -0
- package/dist/sdk/react/tabs.js +1 -0
- package/dist/sdk/react/text-match.d.ts +2 -0
- package/dist/sdk/react/text-match.d.ts.map +1 -0
- package/dist/sdk/react/text-match.js +1 -0
- package/dist/sdk/react/textarea.d.ts +2 -0
- package/dist/sdk/react/textarea.d.ts.map +1 -0
- package/dist/sdk/react/textarea.js +1 -0
- package/dist/sdk/react/time-input.d.ts +2 -0
- package/dist/sdk/react/time-input.d.ts.map +1 -0
- package/dist/sdk/react/time-input.js +1 -0
- package/dist/sdk/react/timeline.d.ts +2 -0
- package/dist/sdk/react/timeline.d.ts.map +1 -0
- package/dist/sdk/react/timeline.js +1 -0
- package/dist/sdk/react/toast.d.ts +2 -0
- package/dist/sdk/react/toast.d.ts.map +1 -0
- package/dist/sdk/react/toast.js +1 -0
- package/dist/sdk/react/toggle.d.ts +2 -0
- package/dist/sdk/react/toggle.d.ts.map +1 -0
- package/dist/sdk/react/toggle.js +1 -0
- package/dist/sdk/react/token-input.d.ts +2 -0
- package/dist/sdk/react/token-input.d.ts.map +1 -0
- package/dist/sdk/react/token-input.js +1 -0
- package/dist/sdk/react/toolbar.d.ts +2 -0
- package/dist/sdk/react/toolbar.d.ts.map +1 -0
- package/dist/sdk/react/toolbar.js +1 -0
- package/dist/sdk/react/tooltip.d.ts +2 -0
- package/dist/sdk/react/tooltip.d.ts.map +1 -0
- package/dist/sdk/react/tooltip.js +1 -0
- package/dist/sdk/react/tree.d.ts +2 -0
- package/dist/sdk/react/tree.d.ts.map +1 -0
- package/dist/sdk/react/tree.js +1 -0
- package/dist/sdk/react/trigger-menu.d.ts +2 -0
- package/dist/sdk/react/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/react/trigger-menu.js +1 -0
- package/dist/sdk/react/waterfall.d.ts +2 -0
- package/dist/sdk/react/waterfall.d.ts.map +1 -0
- package/dist/sdk/react/waterfall.js +1 -0
- package/dist/theme.css +23 -4
- package/dist/vendor/ui-sdk/LICENSE +202 -0
- package/dist/vendor/ui-sdk/NOTICE.md +14 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.d.ts +597 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.js +446 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.js +445 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.js +254 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.d.ts +1011 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.js +71 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.d.ts +268 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.js +146 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.js +13 -0
- package/dist/vendor/ui-sdk/core/components/button/button.d.ts +275 -0
- package/dist/vendor/ui-sdk/core/components/button/button.js +116 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.js +686 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.js +161 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.d.ts +877 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.js +85 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.js +500 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.js +74 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.js +113 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.js +91 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.js +47 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.d.ts +123 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.js +193 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.js +132 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.js +443 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.d.ts +661 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.js +265 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.d.ts +371 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.js +253 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.js +257 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.d.ts +651 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.js +177 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.js +413 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.js +154 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.js +553 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.d.ts +516 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.js +37 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.d.ts +267 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.js +830 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.js +110 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.js +165 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.d.ts +200 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.js +540 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.d.ts +1278 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.js +81 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.d.ts +142 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.js +328 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.js +65 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.js +215 -0
- package/dist/vendor/ui-sdk/core/components/command/command.d.ts +846 -0
- package/dist/vendor/ui-sdk/core/components/command/command.js +57 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.d.ts +136 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.js +462 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.js +386 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.js +289 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.d.ts +331 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.js +27 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.d.ts +320 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.js +28 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.js +356 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.js +320 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.d.ts +678 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.js +78 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.d.ts +244 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.js +71 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.d.ts +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.js +253 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.js +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.js +60 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.d.ts +855 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.js +53 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.js +331 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.d.ts +689 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.js +306 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.js +176 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.js +43 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.js +77 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.js +115 -0
- package/dist/vendor/ui-sdk/core/components/field/field.d.ts +224 -0
- package/dist/vendor/ui-sdk/core/components/field/field.js +413 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.js +189 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.js +370 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.js +140 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.d.ts +484 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.js +224 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.d.ts +464 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.js +76 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.js +581 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.js +224 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.js +335 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.d.ts +527 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.js +39 -0
- package/dist/vendor/ui-sdk/core/components/input/input.d.ts +770 -0
- package/dist/vendor/ui-sdk/core/components/input/input.js +281 -0
- package/dist/vendor/ui-sdk/core/components/label/label.d.ts +62 -0
- package/dist/vendor/ui-sdk/core/components/label/label.js +159 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.d.ts +161 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.js +325 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.js +184 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.d.ts +654 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.js +50 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.js +754 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.js +750 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.d.ts +802 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.js +86 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.d.ts +338 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.js +274 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.d.ts +246 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.js +86 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.js +646 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.js +181 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.js +125 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.js +73 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.d.ts +732 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.js +240 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.js +440 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.d.ts +569 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.js +259 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.js +395 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.d.ts +76 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.js +135 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.d.ts +749 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.js +229 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.js +50 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.d.ts +1026 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.js +218 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.d.ts +634 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.js +317 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.d.ts +648 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.js +153 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.d.ts +248 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.js +118 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.js +206 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.js +171 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.d.ts +366 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.js +104 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.d.ts +493 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.js +208 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.js +480 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.js +220 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.js +190 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.d.ts +119 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.js +276 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.js +42 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.d.ts +411 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.js +234 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.js +126 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.js +201 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.d.ts +47 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.js +614 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.d.ts +826 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.js +301 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.d.ts +432 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.js +107 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.d.ts +270 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.js +499 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.js +230 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.d.ts +180 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.js +420 -0
- package/dist/vendor/ui-sdk/core/components/select/select.d.ts +1128 -0
- package/dist/vendor/ui-sdk/core/components/select/select.js +77 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.d.ts +189 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.js +32 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.js +377 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.js +118 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.d.ts +631 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.js +338 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.d.ts +347 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.js +48 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.js +17 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.d.ts +525 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.js +501 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.js +291 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.js +99 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.js +677 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.js +147 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.js +150 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.js +111 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.d.ts +854 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.js +42 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.js +180 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.d.ts +472 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.js +204 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.d.ts +458 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.js +257 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.js +405 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.js +440 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.js +219 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.js +194 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.js +341 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.d.ts +640 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.js +53 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.js +26 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.d.ts +344 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.js +345 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.d.ts +5178 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.js +286 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.d.ts +103 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.js +899 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.d.ts +928 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.js +359 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.js +143 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.js +586 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.js +78 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.js +190 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.js +354 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.js +246 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.d.ts +785 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.js +54 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.d.ts +114 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.js +410 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.js +87 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.d.ts +571 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.js +260 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.js +211 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.d.ts +160 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.js +369 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.js +239 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.js +86 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.js +62 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.js +5 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.js +63 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.js +99 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.js +229 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.js +155 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.d.ts +91 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.js +173 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.d.ts +124 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.d.ts +75 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.d.ts +198 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.js +245 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.d.ts +202 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.js +485 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.js +243 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.js +64 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.js +89 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.js +79 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.js +19 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.d.ts +109 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.js +308 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.d.ts +174 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.js +390 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.d.ts +145 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.js +337 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.d.ts +187 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.js +416 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.js +93 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.d.ts +113 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.d.ts +147 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.js +281 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.js +52 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.js +148 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.js +34 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.d.ts +104 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.js +105 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.js +360 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.js +102 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.js +140 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.d.ts +131 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.js +206 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.js +104 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.js +98 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.js +111 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.js +160 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.d.ts +260 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.js +447 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.js +16 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.js +131 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.d.ts +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.js +112 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.js +223 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.js +8 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.js +133 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.d.ts +155 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.js +493 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.d.ts +524 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.js +335 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.d.ts +64 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.js +157 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.d.ts +66 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.js +235 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.js +9 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.js +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.js +50 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.d.ts +81 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.d.ts +257 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.js +263 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.js +350 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.d.ts +74 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.d.ts +169 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.js +569 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.js +17 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.d.ts +321 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.js +318 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.d.ts +140 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.d.ts +115 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.js +251 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.js +167 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.d.ts +120 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.js +165 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.d.ts +121 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.js +398 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.js +95 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.js +363 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.js +138 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.js +46 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.js +76 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.js +113 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.js +71 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.js +107 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.js +145 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.js +53 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.js +72 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.js +110 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.js +91 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.js +127 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.js +188 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.d.ts +201 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.js +553 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.js +43 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.js +146 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.js +215 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.js +41 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.d.ts +238 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.js +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.js +31 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.js +77 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.js +118 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.js +29 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.js +269 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.js +36 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.js +349 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.js +109 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.js +217 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.d.ts +122 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.js +181 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.d.ts +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.js +977 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.js +85 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.d.ts +71 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.js +288 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.js +557 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.js +440 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.js +151 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.d.ts +152 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.js +174 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.d.ts +176 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.js +384 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.js +40 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.d.ts +90 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.js +136 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.d.ts +83 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.js +154 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.js +20 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.d.ts +177 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.js +256 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.js +121 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.js +272 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.js +38 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.d.ts +51 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.js +170 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.js +72 -0
- package/dist/vendor/ui-sdk/core/index.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/index.js +322 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.d.ts +252 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.js +1326 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.js +5 -0
- package/dist/vendor/ui-sdk/core/page/history/history.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/page/history/history.js +233 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.js +58 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.js +38 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.js +26 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.d.ts +72 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.js +265 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.js +69 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.js +17 -0
- package/dist/vendor/ui-sdk/core/renderer.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/renderer.js +155 -0
- package/dist/vendor/ui-sdk/core/testing/aria.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/testing/aria.js +138 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.js +80 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.js +64 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.js +164 -0
- package/dist/vendor/ui-sdk/core/testing/composite.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/testing/composite.js +200 -0
- package/dist/vendor/ui-sdk/core/testing/input.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/testing/input.js +235 -0
- package/dist/vendor/ui-sdk/core/testing/markup.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/markup.js +67 -0
- package/dist/vendor/ui-sdk/core/testing/mount.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/testing/mount.js +312 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.js +186 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.js +317 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.js +535 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.js +383 -0
- package/dist/vendor/ui-sdk/core/testing/schema.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/testing/schema.js +80 -0
- package/dist/vendor/ui-sdk/core/testing.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/testing.js +21 -0
- package/dist/vendor/ui-sdk/core/web.css +3378 -0
- package/dist/vendor/ui-sdk/react/accordion.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/accordion.js +25 -0
- package/dist/vendor/ui-sdk/react/agent.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/agent.js +8 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.js +45 -0
- package/dist/vendor/ui-sdk/react/async-options.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/async-options.js +56 -0
- package/dist/vendor/ui-sdk/react/autocomplete.d.ts +102 -0
- package/dist/vendor/ui-sdk/react/autocomplete.js +195 -0
- package/dist/vendor/ui-sdk/react/avatar.d.ts +301 -0
- package/dist/vendor/ui-sdk/react/avatar.js +17 -0
- package/dist/vendor/ui-sdk/react/button.d.ts +21 -0
- package/dist/vendor/ui-sdk/react/button.js +50 -0
- package/dist/vendor/ui-sdk/react/calendar-context.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/calendar-context.js +9 -0
- package/dist/vendor/ui-sdk/react/calendar.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/calendar.js +257 -0
- package/dist/vendor/ui-sdk/react/carousel.d.ts +52 -0
- package/dist/vendor/ui-sdk/react/carousel.js +151 -0
- package/dist/vendor/ui-sdk/react/checkbox.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/checkbox.js +98 -0
- package/dist/vendor/ui-sdk/react/children.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/children.js +63 -0
- package/dist/vendor/ui-sdk/react/collapsible.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/collapsible.js +19 -0
- package/dist/vendor/ui-sdk/react/color-picker.d.ts +72 -0
- package/dist/vendor/ui-sdk/react/color-picker.js +133 -0
- package/dist/vendor/ui-sdk/react/color.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/color.js +22 -0
- package/dist/vendor/ui-sdk/react/combobox.d.ts +152 -0
- package/dist/vendor/ui-sdk/react/combobox.js +338 -0
- package/dist/vendor/ui-sdk/react/command.d.ts +88 -0
- package/dist/vendor/ui-sdk/react/command.js +233 -0
- package/dist/vendor/ui-sdk/react/controller-target.d.ts +3 -0
- package/dist/vendor/ui-sdk/react/controller-target.js +59 -0
- package/dist/vendor/ui-sdk/react/date-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/date-input.js +58 -0
- package/dist/vendor/ui-sdk/react/date-picker.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/date-picker.js +310 -0
- package/dist/vendor/ui-sdk/react/date.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/date.js +60 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.js +142 -0
- package/dist/vendor/ui-sdk/react/dialog.d.ts +57 -0
- package/dist/vendor/ui-sdk/react/dialog.js +32 -0
- package/dist/vendor/ui-sdk/react/drawer.d.ts +70 -0
- package/dist/vendor/ui-sdk/react/drawer.js +158 -0
- package/dist/vendor/ui-sdk/react/editor-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/editor-context.js +9 -0
- package/dist/vendor/ui-sdk/react/field-context.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/field-context.js +87 -0
- package/dist/vendor/ui-sdk/react/field.d.ts +49 -0
- package/dist/vendor/ui-sdk/react/field.js +169 -0
- package/dist/vendor/ui-sdk/react/file-input.d.ts +46 -0
- package/dist/vendor/ui-sdk/react/file-input.js +170 -0
- package/dist/vendor/ui-sdk/react/form-inputs.d.ts +5 -0
- package/dist/vendor/ui-sdk/react/form-inputs.js +22 -0
- package/dist/vendor/ui-sdk/react/gesture.d.ts +1 -0
- package/dist/vendor/ui-sdk/react/gesture.js +16 -0
- package/dist/vendor/ui-sdk/react/history.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/history.js +12 -0
- package/dist/vendor/ui-sdk/react/hover-card.d.ts +33 -0
- package/dist/vendor/ui-sdk/react/hover-card.js +84 -0
- package/dist/vendor/ui-sdk/react/image-cropper.d.ts +333 -0
- package/dist/vendor/ui-sdk/react/image-cropper.js +37 -0
- package/dist/vendor/ui-sdk/react/image.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/image.js +6 -0
- package/dist/vendor/ui-sdk/react/input.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/input.js +51 -0
- package/dist/vendor/ui-sdk/react/label.d.ts +294 -0
- package/dist/vendor/ui-sdk/react/label.js +9 -0
- package/dist/vendor/ui-sdk/react/list-items.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/list-items.js +39 -0
- package/dist/vendor/ui-sdk/react/list-text.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/list-text.js +15 -0
- package/dist/vendor/ui-sdk/react/listbox.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/listbox.js +122 -0
- package/dist/vendor/ui-sdk/react/menu.d.ts +116 -0
- package/dist/vendor/ui-sdk/react/menu.js +426 -0
- package/dist/vendor/ui-sdk/react/menubar-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/menubar-context.js +7 -0
- package/dist/vendor/ui-sdk/react/menubar.d.ts +11 -0
- package/dist/vendor/ui-sdk/react/menubar.js +32 -0
- package/dist/vendor/ui-sdk/react/meter.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/meter.js +30 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.d.ts +61 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.js +169 -0
- package/dist/vendor/ui-sdk/react/number-input.d.ts +44 -0
- package/dist/vendor/ui-sdk/react/number-input.js +185 -0
- package/dist/vendor/ui-sdk/react/number.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/number.js +40 -0
- package/dist/vendor/ui-sdk/react/observe.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/observe.js +8 -0
- package/dist/vendor/ui-sdk/react/otp-input.d.ts +29 -0
- package/dist/vendor/ui-sdk/react/otp-input.js +94 -0
- package/dist/vendor/ui-sdk/react/overlays.d.ts +26 -0
- package/dist/vendor/ui-sdk/react/overlays.js +82 -0
- package/dist/vendor/ui-sdk/react/pagination.d.ts +336 -0
- package/dist/vendor/ui-sdk/react/pagination.js +71 -0
- package/dist/vendor/ui-sdk/react/password-input.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/password-input.js +65 -0
- package/dist/vendor/ui-sdk/react/popover.d.ts +54 -0
- package/dist/vendor/ui-sdk/react/popover.js +151 -0
- package/dist/vendor/ui-sdk/react/popup.d.ts +41 -0
- package/dist/vendor/ui-sdk/react/popup.js +180 -0
- package/dist/vendor/ui-sdk/react/preferences.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/preferences.js +93 -0
- package/dist/vendor/ui-sdk/react/primitive.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/primitive.js +14 -0
- package/dist/vendor/ui-sdk/react/progress.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/progress.js +30 -0
- package/dist/vendor/ui-sdk/react/radio.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/radio.js +86 -0
- package/dist/vendor/ui-sdk/react/rating.d.ts +20 -0
- package/dist/vendor/ui-sdk/react/rating.js +94 -0
- package/dist/vendor/ui-sdk/react/render-element.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/render-element.js +103 -0
- package/dist/vendor/ui-sdk/react/resizable.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/resizable.js +23 -0
- package/dist/vendor/ui-sdk/react/scroll-area.d.ts +324 -0
- package/dist/vendor/ui-sdk/react/scroll-area.js +49 -0
- package/dist/vendor/ui-sdk/react/segmented-control.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/segmented-control.js +78 -0
- package/dist/vendor/ui-sdk/react/segmented-input.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/segmented-input.js +48 -0
- package/dist/vendor/ui-sdk/react/select.d.ts +125 -0
- package/dist/vendor/ui-sdk/react/select.js +344 -0
- package/dist/vendor/ui-sdk/react/separator.d.ts +290 -0
- package/dist/vendor/ui-sdk/react/separator.js +9 -0
- package/dist/vendor/ui-sdk/react/shortcuts.d.ts +32 -0
- package/dist/vendor/ui-sdk/react/shortcuts.js +61 -0
- package/dist/vendor/ui-sdk/react/slider.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/slider.js +163 -0
- package/dist/vendor/ui-sdk/react/switch.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/switch.js +39 -0
- package/dist/vendor/ui-sdk/react/tabs.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/tabs.js +28 -0
- package/dist/vendor/ui-sdk/react/text-control.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/text-control.js +24 -0
- package/dist/vendor/ui-sdk/react/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/text-match.js +8 -0
- package/dist/vendor/ui-sdk/react/textarea.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/textarea.js +48 -0
- package/dist/vendor/ui-sdk/react/time-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/time-input.js +63 -0
- package/dist/vendor/ui-sdk/react/timeline.d.ts +327 -0
- package/dist/vendor/ui-sdk/react/timeline.js +31 -0
- package/dist/vendor/ui-sdk/react/toast-parts.d.ts +63 -0
- package/dist/vendor/ui-sdk/react/toast-parts.js +144 -0
- package/dist/vendor/ui-sdk/react/toast.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/toast.js +22 -0
- package/dist/vendor/ui-sdk/react/toggle.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/toggle.js +76 -0
- package/dist/vendor/ui-sdk/react/token-input.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/token-input.js +100 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.d.ts +6 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.js +16 -0
- package/dist/vendor/ui-sdk/react/toolbar.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/toolbar.js +63 -0
- package/dist/vendor/ui-sdk/react/tooltip.d.ts +39 -0
- package/dist/vendor/ui-sdk/react/tooltip.js +108 -0
- package/dist/vendor/ui-sdk/react/tree.d.ts +51 -0
- package/dist/vendor/ui-sdk/react/tree.js +150 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.d.ts +83 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.js +167 -0
- package/dist/vendor/ui-sdk/react/use-primitive.d.ts +178 -0
- package/dist/vendor/ui-sdk/react/use-primitive.js +674 -0
- package/dist/vendor/ui-sdk/react/waterfall.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/waterfall.js +108 -0
- package/package.json +2016 -23
- package/dist/components/chat-column.d.ts +0 -8
- package/dist/components/chat-column.d.ts.map +0 -1
- package/dist/components/chat-column.js +0 -26
- package/dist/components/code-editor-window.d.ts +0 -191
- package/dist/components/code-editor-window.d.ts.map +0 -1
- package/dist/components/code-editor-window.js +0 -1474
- package/dist/components/color-field.d.ts +0 -22
- package/dist/components/color-field.d.ts.map +0 -1
- package/dist/components/color-field.js +0 -60
- package/dist/components/composer/annotator.d.ts +0 -22
- package/dist/components/composer/annotator.d.ts.map +0 -1
- package/dist/components/composer/annotator.js +0 -17
- package/dist/components/composer/composer-popover.d.ts +0 -9
- package/dist/components/composer/composer-popover.d.ts.map +0 -1
- package/dist/components/composer/composer-popover.js +0 -29
- package/dist/components/context-menu.d.ts +0 -25
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/context-menu.js +0 -127
- package/dist/components/credenza.d.ts +0 -24
- package/dist/components/credenza.d.ts.map +0 -1
- package/dist/components/credenza.js +0 -256
- package/dist/components/date-field.d.ts +0 -19
- package/dist/components/date-field.d.ts.map +0 -1
- package/dist/components/date-field.js +0 -79
- package/dist/components/edge-drawer.d.ts +0 -34
- package/dist/components/edge-drawer.d.ts.map +0 -1
- package/dist/components/edge-drawer.js +0 -77
- package/dist/components/edit-bar.d.ts +0 -11
- package/dist/components/edit-bar.d.ts.map +0 -1
- package/dist/components/edit-bar.js +0 -33
- package/dist/components/floating-chat.d.ts +0 -94
- package/dist/components/floating-chat.d.ts.map +0 -1
- package/dist/components/floating-chat.js +0 -271
- package/dist/components/form.d.ts +0 -9
- package/dist/components/form.d.ts.map +0 -1
- package/dist/components/form.js +0 -32
- package/dist/components/icon-swap.d.ts +0 -27
- package/dist/components/icon-swap.d.ts.map +0 -1
- package/dist/components/icon-swap.js +0 -80
- package/dist/components/list-box.d.ts +0 -28
- package/dist/components/list-box.d.ts.map +0 -1
- package/dist/components/list-box.js +0 -104
- package/dist/components/passkey-enroll-dialog.d.ts +0 -36
- package/dist/components/passkey-enroll-dialog.d.ts.map +0 -1
- package/dist/components/passkey-enroll-dialog.js +0 -234
- package/dist/components/plain-button.d.ts +0 -10
- package/dist/components/plain-button.d.ts.map +0 -1
- package/dist/components/plain-button.js +0 -23
- package/dist/components/qr-svg.d.ts +0 -37
- package/dist/components/qr-svg.d.ts.map +0 -1
- package/dist/components/qr-svg.js +0 -74
- package/dist/components/result-table.d.ts +0 -38
- package/dist/components/result-table.d.ts.map +0 -1
- package/dist/components/result-table.js +0 -161
- package/dist/components/schema-tree.d.ts +0 -19
- package/dist/components/schema-tree.d.ts.map +0 -1
- package/dist/components/schema-tree.js +0 -103
- package/dist/components/search-field.d.ts +0 -20
- package/dist/components/search-field.d.ts.map +0 -1
- package/dist/components/search-field.js +0 -44
- package/dist/components/side-drawer.d.ts +0 -27
- package/dist/components/side-drawer.d.ts.map +0 -1
- package/dist/components/side-drawer.js +0 -221
- package/dist/components/spinner-shapes.d.ts +0 -299
- package/dist/components/spinner-shapes.d.ts.map +0 -1
- package/dist/components/spinner-shapes.js +0 -876
- package/dist/components/sql-editor.d.ts +0 -47
- package/dist/components/sql-editor.d.ts.map +0 -1
- package/dist/components/sql-editor.js +0 -170
- package/dist/components/strudel-rack.d.ts +0 -3
- package/dist/components/strudel-rack.d.ts.map +0 -1
- package/dist/components/strudel-rack.js +0 -2
- package/dist/components/strudel-syntax.d.ts +0 -3
- package/dist/components/strudel-syntax.d.ts.map +0 -1
- package/dist/components/strudel-syntax.js +0 -2
- package/dist/components/syntax-highlighting.d.ts +0 -70
- package/dist/components/syntax-highlighting.d.ts.map +0 -1
- package/dist/components/syntax-highlighting.js +0 -54
- package/dist/components/tab-bar.d.ts +0 -18
- package/dist/components/tab-bar.d.ts.map +0 -1
- package/dist/components/tab-bar.js +0 -28
- package/dist/components/tab-view.d.ts +0 -94
- package/dist/components/tab-view.d.ts.map +0 -1
- package/dist/components/tab-view.js +0 -321
- package/dist/components/tailscale-login-button.d.ts +0 -53
- package/dist/components/tailscale-login-button.d.ts.map +0 -1
- package/dist/components/tailscale-login-button.js +0 -197
- package/dist/components/tailscale-menu.d.ts +0 -69
- package/dist/components/tailscale-menu.d.ts.map +0 -1
- package/dist/components/tailscale-menu.js +0 -202
- package/dist/components/text-field.d.ts +0 -9
- package/dist/components/text-field.d.ts.map +0 -1
- package/dist/components/text-field.js +0 -29
- package/dist/components/time-input.d.ts +0 -46
- package/dist/components/time-input.d.ts.map +0 -1
- package/dist/components/time-input.js +0 -258
- package/dist/components/toggle-group.d.ts +0 -15
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle-group.js +0 -48
- package/dist/components/workbench-theme.d.ts +0 -15
- package/dist/components/workbench-theme.d.ts.map +0 -1
- package/dist/components/workbench-theme.js +0 -34
- package/dist/lib/back-history.d.ts +0 -5
- package/dist/lib/back-history.d.ts.map +0 -1
- package/dist/lib/back-history.js +0 -44
- package/dist/lib/drawer-swipe.d.ts +0 -31
- package/dist/lib/drawer-swipe.d.ts.map +0 -1
- package/dist/lib/drawer-swipe.js +0 -68
- package/dist/lib/format-bytes.d.ts +0 -3
- package/dist/lib/format-bytes.d.ts.map +0 -1
- package/dist/lib/format-bytes.js +0 -16
- package/dist/lib/log-list-window.d.ts +0 -121
- package/dist/lib/log-list-window.d.ts.map +0 -1
- package/dist/lib/log-list-window.js +0 -245
- package/dist/lib/persistent-host.d.ts +0 -29
- package/dist/lib/persistent-host.d.ts.map +0 -1
- package/dist/lib/persistent-host.js +0 -41
- package/dist/lib/scroll-hidden.d.ts +0 -6
- package/dist/lib/scroll-hidden.d.ts.map +0 -1
- package/dist/lib/scroll-hidden.js +0 -21
- package/dist/lib/sheet-drag.d.ts +0 -61
- package/dist/lib/sheet-drag.d.ts.map +0 -1
- package/dist/lib/sheet-drag.js +0 -131
|
@@ -0,0 +1,1609 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "./utils.js";
|
|
3
|
+
import { prefersReducedMotion as t } from "./reduced-motion.js";
|
|
4
|
+
import { changeDetails as n } from "./change-details.js";
|
|
5
|
+
import { codeEditorControlKey as r, codeEditorControls as i } from "./code-editor-primitive.js";
|
|
6
|
+
import { PLAIN_LANGUAGES as a } from "./syntax-lexer.js";
|
|
7
|
+
import { CodeLexer as o, CodeTokenStore as s, LineCache as c, LineScanner as l, alignedScroll as u, comparePositions as d, displayPieces as f, extendSelection as p, hostProducer as m, identityRowMap as ee, isCollapsed as h, lexerProducer as g, lineSet as te, markersInRange as ne, movePosition as re, nextCellWindow as ie, nextRowWindow as ae, orderedSelection as _, originOf as oe, physicalSize as se, revealScroll as ce, selectionCells as le, selectionText as ue, toPhysicalScroll as de, toVirtualScroll as fe, visibleCells as pe, visibleRows as me, wordAt as he, wrapRowMap as ge, wrappedSpan as _e } from "./code-editor-model.js";
|
|
8
|
+
import { caretAt as v, deleteBackwardCommand as ve, deleteForwardCommand as ye, detectIndent as be, editBetween as xe, editorKeyAction as Se, indentCommand as Ce, insertCommand as we, lineEditOf as Te, mapSelection as Ee, moveCaret as De, newlineCommand as Oe, redoEdit as ke, rowOfPosition as Ae, rowsOfCells as je, tabCommand as Me, undoEdit as Ne } from "./code-document.js";
|
|
9
|
+
import { codeTokenClass as Pe } from "./syntax.js";
|
|
10
|
+
import { createGpuCodeHighlight as Fe } from "./code-editor-gpu.js";
|
|
11
|
+
import { Fragment as Ie, memo as Le, useCallback as y, useImperativeHandle as Re, useLayoutEffect as b, useMemo as x, useReducer as ze, useRef as S, useState as Be, useSyncExternalStore as Ve } from "react";
|
|
12
|
+
import { bindDrag as He, bindHold as Ue } from "../vendor/ui-sdk/core/index.js";
|
|
13
|
+
import { jsx as C, jsxs as We } from "react/jsx-runtime";
|
|
14
|
+
import { usePart as w, usePrimitive as Ge } from "../vendor/ui-sdk/react/primitive.js";
|
|
15
|
+
import { cva as T } from "class-variance-authority";
|
|
16
|
+
import { Button as E } from "../vendor/ui-sdk/react/button.js";
|
|
17
|
+
import { flushSync as Ke } from "react-dom";
|
|
18
|
+
//#region src/lib/code-editor-window.tsx
|
|
19
|
+
var qe = "0".repeat(128), D = 10, Je = 24, Ye = 4096, Xe = 8192, Ze = 8192, Qe = 16384, $e = 4096, et = 256, tt = 4096, nt = "", rt = 2, it = 300, at = 24, ot = 450, st = 8, ct = 450, lt = 30, ut = 4e3, dt = /* @__PURE__ */ new Set([
|
|
20
|
+
"ArrowLeft",
|
|
21
|
+
"ArrowRight",
|
|
22
|
+
"ArrowUp",
|
|
23
|
+
"ArrowDown",
|
|
24
|
+
"Home",
|
|
25
|
+
"End"
|
|
26
|
+
]), ft = ":is(button:not([disabled]),a[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex])", pt = `[data-code-editor-cell]${ft},[data-code-editor-cell] ${ft}`, mt = T("pointer-events-none absolute inset-x-0 h-(--code-editor-line)", {
|
|
27
|
+
variants: { tone: {
|
|
28
|
+
none: "",
|
|
29
|
+
current: "bg-primary/15 shadow-[inset_3px_0_var(--primary)]",
|
|
30
|
+
info: "bg-primary/10 shadow-[inset_3px_0_color-mix(in_srgb,var(--primary)_45%,transparent)]",
|
|
31
|
+
success: "bg-success/15",
|
|
32
|
+
warning: "bg-warning/15",
|
|
33
|
+
destructive: "bg-destructive/15",
|
|
34
|
+
muted: "bg-secondary"
|
|
35
|
+
} },
|
|
36
|
+
defaultVariants: { tone: "none" }
|
|
37
|
+
}), ht = T("box-border flex h-full shrink-0 items-center overflow-hidden", {
|
|
38
|
+
variants: { align: {
|
|
39
|
+
start: "justify-start",
|
|
40
|
+
center: "justify-center",
|
|
41
|
+
end: "justify-end"
|
|
42
|
+
} },
|
|
43
|
+
defaultVariants: { align: "center" }
|
|
44
|
+
}), gt = "absolute top-0 z-10 flex h-full w-3.5 -translate-x-1/2 cursor-pointer items-start justify-center border-0 bg-transparent p-0 outline-none focus-visible:rounded-sm focus-visible:ring-2 focus-visible:ring-ring", _t = (e) => e === "input" || e === "value" ? "input-change" : e, vt = (e) => e !== "press" && e !== "drag" && e !== "caret-move" && e !== "select-all" && e !== "escape-key" && e !== "imperative", O = (e, t, n) => Math.max(t, Math.min(n, e)), yt = {
|
|
45
|
+
subscribe: () => () => {},
|
|
46
|
+
version: () => 0
|
|
47
|
+
};
|
|
48
|
+
function bt(t) {
|
|
49
|
+
return t.map((t, n) => {
|
|
50
|
+
if (typeof t == "string") return t;
|
|
51
|
+
let r = { width: `calc(var(--code-editor-cell) * ${t.cells})` };
|
|
52
|
+
return t.rtl ? /* @__PURE__ */ C("span", {
|
|
53
|
+
dir: "rtl",
|
|
54
|
+
className: "inline-block text-center [unicode-bidi:isolate]",
|
|
55
|
+
style: r,
|
|
56
|
+
children: t.text
|
|
57
|
+
}, n) : /* @__PURE__ */ C("span", {
|
|
58
|
+
className: e("inline-block text-center", t.control && "text-tertiary-foreground"),
|
|
59
|
+
style: r,
|
|
60
|
+
children: t.text
|
|
61
|
+
}, n);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function xt(e, t, n, r) {
|
|
65
|
+
let { text: i, plain: a } = e, o = [], s = n, c = (t) => {
|
|
66
|
+
if (a || t >= r) return Math.min(t, r);
|
|
67
|
+
let n = e.offsetAt(e.cellAt(t));
|
|
68
|
+
return n === t ? t : e.after(n);
|
|
69
|
+
};
|
|
70
|
+
for (let n = 0; n < t.length && s < r; n++) {
|
|
71
|
+
let r = c(s + t[n].text.length);
|
|
72
|
+
if (r <= s) continue;
|
|
73
|
+
let l = a ? i.slice(s, r) : bt(f(e, s, r)), u = Pe(t[n]);
|
|
74
|
+
o.push(u ? /* @__PURE__ */ C("span", {
|
|
75
|
+
className: u,
|
|
76
|
+
children: l
|
|
77
|
+
}, n) : a ? l : /* @__PURE__ */ C(Ie, { children: l }, n)), s = r;
|
|
78
|
+
}
|
|
79
|
+
return s < r && o.push(a ? i.slice(s, r) : bt(f(e, s, r))), o;
|
|
80
|
+
}
|
|
81
|
+
var St = Le(function({ metrics: e, store: t, line: n, start: r, end: i, left: a }) {
|
|
82
|
+
let o = t ?? yt;
|
|
83
|
+
if (Ve(o.subscribe, () => o.version(n), () => 0), r >= i) return null;
|
|
84
|
+
let s = t ? t.read(n, e.text, r, i) : null;
|
|
85
|
+
return /* @__PURE__ */ C("span", {
|
|
86
|
+
"data-slot": "code-editor-text",
|
|
87
|
+
className: "absolute top-0 whitespace-pre",
|
|
88
|
+
style: { left: a },
|
|
89
|
+
children: s ? xt(e, s, r, i) : e.plain ? e.text.slice(r, i) : bt(f(e, r, i))
|
|
90
|
+
});
|
|
91
|
+
}), Ct = Le(function({ metrics: t, store: n, row: r, rowCount: i, line: a, lineNumber: o, top: s, start: c, end: l, left: u, selectionLeft: d, selectionWidth: f, composingLeft: p, composingWidth: m, columnLeft: ee, textClassName: h, extra: g, markers: te, controls: ne, onFocusLine: re, onBlurLine: ie }) {
|
|
92
|
+
return /* @__PURE__ */ We("div", {
|
|
93
|
+
role: "listitem",
|
|
94
|
+
"aria-posinset": r + 1,
|
|
95
|
+
"aria-setsize": i,
|
|
96
|
+
...g,
|
|
97
|
+
"data-slot": "code-editor-line",
|
|
98
|
+
"data-row": r,
|
|
99
|
+
"data-line": o,
|
|
100
|
+
className: e("absolute left-0 h-(--code-editor-line) w-full [contain:layout_style]", h, g?.className),
|
|
101
|
+
style: g?.style ? {
|
|
102
|
+
...g.style,
|
|
103
|
+
top: s
|
|
104
|
+
} : { top: s },
|
|
105
|
+
onFocus: te ? () => re(a) : g?.onFocus,
|
|
106
|
+
onBlur: te ? () => ie(a) : g?.onBlur,
|
|
107
|
+
children: [
|
|
108
|
+
f > 0 ? /* @__PURE__ */ C("div", {
|
|
109
|
+
"data-slot": "code-editor-selection",
|
|
110
|
+
className: "absolute top-0 h-full bg-muted-foreground/25 group-focus-within/code-editor:bg-primary/25",
|
|
111
|
+
style: {
|
|
112
|
+
left: d,
|
|
113
|
+
width: f
|
|
114
|
+
}
|
|
115
|
+
}) : null,
|
|
116
|
+
/* @__PURE__ */ C(St, {
|
|
117
|
+
metrics: t,
|
|
118
|
+
store: n,
|
|
119
|
+
line: a,
|
|
120
|
+
start: c,
|
|
121
|
+
end: l,
|
|
122
|
+
left: u
|
|
123
|
+
}),
|
|
124
|
+
m > 0 ? /* @__PURE__ */ C("div", {
|
|
125
|
+
"data-slot": "code-editor-composing",
|
|
126
|
+
className: "absolute bottom-0.5 h-px bg-foreground",
|
|
127
|
+
style: {
|
|
128
|
+
left: p,
|
|
129
|
+
width: m
|
|
130
|
+
}
|
|
131
|
+
}) : null,
|
|
132
|
+
ee >= 0 ? /* @__PURE__ */ C("div", {
|
|
133
|
+
"data-slot": "code-editor-column",
|
|
134
|
+
className: "absolute top-0.5 bottom-0.5 w-0.5 -translate-x-1/2 rounded-full bg-primary",
|
|
135
|
+
style: { left: ee }
|
|
136
|
+
}) : null,
|
|
137
|
+
te?.map((e) => /* @__PURE__ */ C(wt, {
|
|
138
|
+
marker: e,
|
|
139
|
+
line: a,
|
|
140
|
+
lineNumber: o,
|
|
141
|
+
controls: ne
|
|
142
|
+
}, e.index))
|
|
143
|
+
]
|
|
144
|
+
});
|
|
145
|
+
}, (e, t) => {
|
|
146
|
+
for (let n of Object.keys(e)) if (n !== "markers" && n !== "extra" && !Object.is(e[n], t[n])) return !1;
|
|
147
|
+
if (e.extra !== t.extra) {
|
|
148
|
+
let n = e.extra ?? {}, r = t.extra ?? {}, i = Object.keys(n);
|
|
149
|
+
if (i.length !== Object.keys(r).length || i.some((e) => !Object.is(n[e], r[e]))) return !1;
|
|
150
|
+
}
|
|
151
|
+
let n = e.markers, r = t.markers;
|
|
152
|
+
return n === r ? !0 : !n || !r || n.length !== r.length ? !1 : n.every((e, t) => e === r[t] || e.column === r[t].column && e.index === r[t].index && e.left === r[t].left && e.label === r[t].label && e.pressed === r[t].pressed && e.onClick === r[t].onClick && e.className === r[t].className && e.children === r[t].children && e.title === r[t].title);
|
|
153
|
+
});
|
|
154
|
+
function wt({ marker: t, line: n, lineNumber: r, controls: i }) {
|
|
155
|
+
let a = t.children ?? /* @__PURE__ */ C("svg", {
|
|
156
|
+
"aria-hidden": "true",
|
|
157
|
+
viewBox: "0 0 8 5",
|
|
158
|
+
className: e("mt-0.5 block h-[5px] w-2 fill-current", t.pressed ? "text-primary" : "text-muted-foreground/50 group-hover/marker:text-primary/70"),
|
|
159
|
+
children: /* @__PURE__ */ C("path", { d: "M0 0h8L4 5z" })
|
|
160
|
+
});
|
|
161
|
+
return t.onClick ? /* @__PURE__ */ C(Tt, {
|
|
162
|
+
marker: t,
|
|
163
|
+
line: n,
|
|
164
|
+
lineNumber: r,
|
|
165
|
+
controls: i,
|
|
166
|
+
children: a
|
|
167
|
+
}) : /* @__PURE__ */ C("span", {
|
|
168
|
+
"data-code-editor-cell": "marker",
|
|
169
|
+
"data-slot": "code-editor-marker",
|
|
170
|
+
"data-pressed": t.pressed || void 0,
|
|
171
|
+
role: "img",
|
|
172
|
+
"aria-label": t.label,
|
|
173
|
+
title: t.title,
|
|
174
|
+
className: e(gt, "pointer-events-none", t.className),
|
|
175
|
+
style: { left: t.left },
|
|
176
|
+
children: a
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
function Tt({ marker: t, line: n, lineNumber: i, controls: a, children: o }) {
|
|
180
|
+
let s = `marker:${t.index}`;
|
|
181
|
+
return w(a, "control", {
|
|
182
|
+
value: r(n, s),
|
|
183
|
+
line: n,
|
|
184
|
+
column: s,
|
|
185
|
+
at: t.column
|
|
186
|
+
}, {
|
|
187
|
+
render: /* @__PURE__ */ C(E, {
|
|
188
|
+
"data-code-editor-cell": "marker",
|
|
189
|
+
"data-pressed": t.pressed || void 0,
|
|
190
|
+
"aria-label": t.label,
|
|
191
|
+
"aria-pressed": t.pressed,
|
|
192
|
+
title: t.title,
|
|
193
|
+
onClick: (e, n) => t.onClick?.(e, {
|
|
194
|
+
...n,
|
|
195
|
+
marker: t,
|
|
196
|
+
line: i
|
|
197
|
+
}),
|
|
198
|
+
className: e("group/marker", gt, t.className),
|
|
199
|
+
style: { left: t.left }
|
|
200
|
+
}),
|
|
201
|
+
children: o
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
function Et({ gutter: t, line: n, lineNumber: i, gutterClassName: a, controls: o }) {
|
|
205
|
+
let s = !!t.onClick && (t.clickable?.(i) ?? !0), c = t.render(i), l = e(ht({ align: t.align }), t.className, a), u = { width: t.width }, d = t.title?.(i);
|
|
206
|
+
if (!s && At.has(t.id)) return /* @__PURE__ */ C("div", {
|
|
207
|
+
"data-code-editor-cell": t.id,
|
|
208
|
+
"data-slot": "code-editor-gutter-cell",
|
|
209
|
+
"data-gutter": t.id,
|
|
210
|
+
title: d,
|
|
211
|
+
className: l,
|
|
212
|
+
style: u,
|
|
213
|
+
children: c
|
|
214
|
+
});
|
|
215
|
+
let f = {
|
|
216
|
+
value: r(n, t.id),
|
|
217
|
+
line: n,
|
|
218
|
+
column: t.id,
|
|
219
|
+
at: -1
|
|
220
|
+
};
|
|
221
|
+
return s ? /* @__PURE__ */ C(Ot, {
|
|
222
|
+
controls: o,
|
|
223
|
+
slotProps: f,
|
|
224
|
+
children: /* @__PURE__ */ C(E, {
|
|
225
|
+
"data-code-editor-cell": t.id,
|
|
226
|
+
"data-gutter": t.id,
|
|
227
|
+
"aria-label": t.label?.(i) ?? `${t.id}, line ${i}`,
|
|
228
|
+
title: d,
|
|
229
|
+
onClick: (e, n) => t.onClick?.(e, {
|
|
230
|
+
...n,
|
|
231
|
+
line: i
|
|
232
|
+
}),
|
|
233
|
+
className: e("cursor-pointer border-0 bg-transparent p-0 [font-family:inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset hover:bg-secondary active:bg-secondary-strong", l),
|
|
234
|
+
style: u,
|
|
235
|
+
children: c
|
|
236
|
+
})
|
|
237
|
+
}) : /* @__PURE__ */ C(kt, {
|
|
238
|
+
controls: o,
|
|
239
|
+
slotProps: f,
|
|
240
|
+
gutter: t,
|
|
241
|
+
title: d,
|
|
242
|
+
className: l,
|
|
243
|
+
style: u,
|
|
244
|
+
children: c
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
function Dt({ controls: e, ...t }) {
|
|
248
|
+
return w(e, "input", {}, t, "textarea");
|
|
249
|
+
}
|
|
250
|
+
function Ot({ controls: e, slotProps: t, children: n }) {
|
|
251
|
+
return w(e, "control", t, { render: n });
|
|
252
|
+
}
|
|
253
|
+
function kt({ controls: e, slotProps: t, gutter: n, title: r, className: i, style: a, children: o }) {
|
|
254
|
+
return w(e, "gutter-cell", t, {
|
|
255
|
+
"data-code-editor-cell": n.id,
|
|
256
|
+
"data-gutter": n.id,
|
|
257
|
+
title: r,
|
|
258
|
+
className: i,
|
|
259
|
+
style: a,
|
|
260
|
+
children: o
|
|
261
|
+
}, "div");
|
|
262
|
+
}
|
|
263
|
+
var At = /* @__PURE__ */ new Set(["line-number", "diff-sign"]), jt = Le(function({ row: e, line: t, lineNumber: n, top: r, gutters: i, current: a, gutterClassName: o, controls: s, onFocusLine: c, onBlurLine: l }) {
|
|
264
|
+
return /* @__PURE__ */ C("div", {
|
|
265
|
+
"data-slot": "code-editor-gutter-row",
|
|
266
|
+
"data-row": e,
|
|
267
|
+
"data-line": n,
|
|
268
|
+
"data-current": a || void 0,
|
|
269
|
+
className: "group/gutter absolute left-0 flex h-(--code-editor-line)",
|
|
270
|
+
style: { top: r },
|
|
271
|
+
onFocus: () => c(t),
|
|
272
|
+
onBlur: () => l(t),
|
|
273
|
+
children: i.map((e) => /* @__PURE__ */ C(Et, {
|
|
274
|
+
gutter: e,
|
|
275
|
+
line: t,
|
|
276
|
+
lineNumber: n,
|
|
277
|
+
gutterClassName: o,
|
|
278
|
+
controls: s
|
|
279
|
+
}, e.id))
|
|
280
|
+
});
|
|
281
|
+
}), Mt = () => typeof navigator < "u" && /Mac/.test(navigator.platform);
|
|
282
|
+
function Nt(e) {
|
|
283
|
+
let t = e.tagName;
|
|
284
|
+
return t === "INPUT" || t === "TEXTAREA" || t === "SELECT" || e.isContentEditable;
|
|
285
|
+
}
|
|
286
|
+
function Pt({ handleRef: f, lines: Pe, lineCount: Ie, getLine: Le, contentKey: Ve, document: w, editable: T = !1, history: E, selectionStore: ft, value: ht, onValueChange: gt, onEdit: yt, language: bt, gutters: xt, lineNumbers: St = !0, onLineNumberClick: wt, lineNumberClickable: Tt, lineNumberLabel: Et, lineNumberTitle: Ot, startLine: kt = 1, highlightLines: At, addedLines: Pt, removedLines: Ft, lineProps: It, currentLine: Lt, currentColumn: Rt, revealCurrentLine: zt = !0, lineDecoration: Bt, markers: Vt, scrollToLine: Ht, highlight: Ut, engine: Wt, wrap: k = !1, maxHeight: Gt, tabSize: Kt = 2, lineHeight: qt = 20, maxLineLength: Jt, paddingY: Yt = 0, onCopyText: Xt, onSelectionChange: Zt, className: Qt, style: $t, onKeyDown: en, onContextMenu: tn, "aria-label": nn }) {
|
|
287
|
+
let A = S(null), rn = S(null), an = S(null), on = S(null), sn = S(null), cn = S(null), j = S(null), ln = S(Le);
|
|
288
|
+
ln.current = Le;
|
|
289
|
+
let M = x(() => w || (Pe ? {
|
|
290
|
+
count: Pe.length,
|
|
291
|
+
get: (e) => Pe[e] ?? ""
|
|
292
|
+
} : {
|
|
293
|
+
count: Ie ?? 0,
|
|
294
|
+
get: (e) => ln.current?.(e) ?? ""
|
|
295
|
+
}), [
|
|
296
|
+
w ?? Pe ?? (Ve === void 0 ? Le : Ve),
|
|
297
|
+
w,
|
|
298
|
+
Pe,
|
|
299
|
+
Ie
|
|
300
|
+
]), N = x(() => new c(M, Kt), [M, Kt]), un = S(kt);
|
|
301
|
+
un.current = kt;
|
|
302
|
+
let P = y((e) => ({
|
|
303
|
+
line: e.line + un.current,
|
|
304
|
+
column: e.offset
|
|
305
|
+
}), []), dn = !!bt && a.has(bt.toLowerCase()), fn = x(() => typeof Ut == "function" ? Ut : Ut === !1 || Ut === null || dn ? null : Wt === "gpu" ? Fe({ engine: "gpu" }) : void 0, [
|
|
306
|
+
Ut,
|
|
307
|
+
dn,
|
|
308
|
+
Wt
|
|
309
|
+
]), pn = S(null), mn = S(!1), hn = fn === void 0, gn = x(() => hn ? new o({
|
|
310
|
+
lineCount: M.count,
|
|
311
|
+
getLine: M.get,
|
|
312
|
+
onInvalidate: (e, t) => pn.current?.invalidate(e, t)
|
|
313
|
+
}) : null, [M, hn]), _n = x(() => {
|
|
314
|
+
let e = gn ? g(gn) : fn ? m(fn) : null;
|
|
315
|
+
return e ? new s({
|
|
316
|
+
produce: e,
|
|
317
|
+
getText: (e) => N.text(e),
|
|
318
|
+
schedule: (e) => {
|
|
319
|
+
requestAnimationFrame(e);
|
|
320
|
+
}
|
|
321
|
+
}) : null;
|
|
322
|
+
}, [
|
|
323
|
+
gn,
|
|
324
|
+
fn,
|
|
325
|
+
N
|
|
326
|
+
]);
|
|
327
|
+
pn.current = _n;
|
|
328
|
+
let vn = S(gn);
|
|
329
|
+
vn.current = gn;
|
|
330
|
+
let yn = y(() => {
|
|
331
|
+
let e = A.current, t = pn.current;
|
|
332
|
+
e && (e.dataset.highlighter = t ? t.pending || mn.current ? "pending" : hn ? "lexer" : "custom" : "none");
|
|
333
|
+
}, [hn]);
|
|
334
|
+
b(() => _n?.subscribe(yn), [_n, yn]);
|
|
335
|
+
let [bn, xn] = Be({
|
|
336
|
+
width: 0,
|
|
337
|
+
height: 0
|
|
338
|
+
}), [F, Sn] = Be(7.8);
|
|
339
|
+
b(() => {
|
|
340
|
+
let e = A.current, t = sn.current, n = () => {
|
|
341
|
+
let n = e.clientWidth, r = e.clientHeight;
|
|
342
|
+
xn((e) => e.width === n && e.height === r ? e : {
|
|
343
|
+
width: n,
|
|
344
|
+
height: r
|
|
345
|
+
});
|
|
346
|
+
let i = t.getBoundingClientRect().width / qe.length;
|
|
347
|
+
i > 0 && Sn(i);
|
|
348
|
+
};
|
|
349
|
+
if (n(), typeof ResizeObserver > "u") return;
|
|
350
|
+
let r = new ResizeObserver(n);
|
|
351
|
+
return r.observe(e), r.observe(t), () => r.disconnect();
|
|
352
|
+
}, []);
|
|
353
|
+
let [, Cn] = ze((e) => e + 1, 0), I = S(0), wn = S(null), [Tn, En] = Be(0), Dn = S(void 0), On = y((e) => {
|
|
354
|
+
clearTimeout(Dn.current);
|
|
355
|
+
let t = performance.now() + e, n = () => performance.now() > t, r = vn.current, i = wn.current;
|
|
356
|
+
mn.current = r ? r.scan(n) : !1;
|
|
357
|
+
let a = i ? i.reached : 0, o = i ? i.run(n) : !1;
|
|
358
|
+
if (i) {
|
|
359
|
+
let e = i.maxCells > I.current;
|
|
360
|
+
e && (I.current = i.maxCells), (i.cellCounts && i.reached !== a || e) && En((e) => e + 1);
|
|
361
|
+
}
|
|
362
|
+
(mn.current || o) && (Dn.current = setTimeout(() => On(4), 16)), yn();
|
|
363
|
+
}, [yn]);
|
|
364
|
+
b(() => (I.current = Jt ?? 0, Cn(), wn.current = k || Jt === void 0 ? new l(M, Kt, k) : null, mn.current = !!gn, On(8), () => clearTimeout(Dn.current)), [
|
|
365
|
+
M,
|
|
366
|
+
Kt,
|
|
367
|
+
k,
|
|
368
|
+
Jt,
|
|
369
|
+
gn,
|
|
370
|
+
On
|
|
371
|
+
]);
|
|
372
|
+
let kn = JSON.stringify([
|
|
373
|
+
At ?? null,
|
|
374
|
+
Pt ?? null,
|
|
375
|
+
Ft ?? null
|
|
376
|
+
]), L = x(() => {
|
|
377
|
+
let [e, t, n] = JSON.parse(kn);
|
|
378
|
+
return {
|
|
379
|
+
marked: te(e),
|
|
380
|
+
added: te(t),
|
|
381
|
+
removed: te(n)
|
|
382
|
+
};
|
|
383
|
+
}, [kn]), An = L.added.size > 0 || L.removed.size > 0, jn = String(Math.max(1, kt + Math.max(1, M.count) - 1)).length, Mn = Math.ceil(jn * F) + 28, Nn = x(() => St === !1 ? null : {
|
|
384
|
+
id: "line-number",
|
|
385
|
+
width: Mn,
|
|
386
|
+
align: "end",
|
|
387
|
+
className: "pr-3 pl-4 text-tertiary-foreground group-data-current/gutter:[&:not(button)]:text-foreground [&:is(button)]:text-muted-foreground [&:is(button)]:hover:text-foreground",
|
|
388
|
+
render: (e) => /* @__PURE__ */ C("span", {
|
|
389
|
+
"aria-hidden": "true",
|
|
390
|
+
children: e
|
|
391
|
+
}),
|
|
392
|
+
onClick: wt,
|
|
393
|
+
clickable: Tt,
|
|
394
|
+
label: Et ?? ((e) => `Line ${e}`),
|
|
395
|
+
title: Ot
|
|
396
|
+
}, [
|
|
397
|
+
St,
|
|
398
|
+
Mn,
|
|
399
|
+
wt,
|
|
400
|
+
Tt,
|
|
401
|
+
Et,
|
|
402
|
+
Ot
|
|
403
|
+
]), Pn = x(() => An ? {
|
|
404
|
+
id: "diff-sign",
|
|
405
|
+
width: Math.ceil(F * 2),
|
|
406
|
+
className: "text-muted-foreground",
|
|
407
|
+
render: (e) => /* @__PURE__ */ C("span", {
|
|
408
|
+
"aria-hidden": "true",
|
|
409
|
+
children: L.added.has(e) ? "+" : L.removed.has(e) ? "−" : null
|
|
410
|
+
})
|
|
411
|
+
} : null, [
|
|
412
|
+
An,
|
|
413
|
+
F,
|
|
414
|
+
L
|
|
415
|
+
]), Fn = x(() => {
|
|
416
|
+
let e = Pn ? [...xt ?? [], Pn] : xt ?? [];
|
|
417
|
+
return Nn ? St === "start" ? [Nn, ...e] : Pn ? [
|
|
418
|
+
...xt ?? [],
|
|
419
|
+
Nn,
|
|
420
|
+
Pn
|
|
421
|
+
] : [...e, Nn] : e;
|
|
422
|
+
}, [
|
|
423
|
+
xt,
|
|
424
|
+
Nn,
|
|
425
|
+
St,
|
|
426
|
+
Pn
|
|
427
|
+
]), In = x(() => Fn.reduce((e, t) => e + t.width, 0), [Fn]), Ln = Math.max(0, bn.width - In), Rn = k ? Math.max(8, Math.floor((Ln - D - Je) / F)) : 0, zn = k ? 0 : M.count, R = x(() => k && wn.current?.cellCounts ? ge(wn.current.cellCounts, Rn) : ee(M.count), [
|
|
428
|
+
k,
|
|
429
|
+
Rn,
|
|
430
|
+
M,
|
|
431
|
+
Tn,
|
|
432
|
+
zn
|
|
433
|
+
]), Bn = Math.min(bn.height, Ze), z = S({
|
|
434
|
+
x: 0,
|
|
435
|
+
y: 0
|
|
436
|
+
}), Vn = S(null), [B, Hn] = Be(() => ({
|
|
437
|
+
rows: {
|
|
438
|
+
start: 0,
|
|
439
|
+
end: 0
|
|
440
|
+
},
|
|
441
|
+
cells: {
|
|
442
|
+
start: 0,
|
|
443
|
+
end: 0
|
|
444
|
+
},
|
|
445
|
+
originRow: 0,
|
|
446
|
+
originCell: 0
|
|
447
|
+
})), Un = S(B);
|
|
448
|
+
Un.current = B;
|
|
449
|
+
let Wn = R.rowCount, Gn = S(null), [Kn, qn] = Be(null), Jn = [], Yn = (e) => {
|
|
450
|
+
let { line: t, part: n } = R.locate(e), r = N.get(t);
|
|
451
|
+
r.cells > I.current && (I.current = r.cells), Jn.push({
|
|
452
|
+
row: e,
|
|
453
|
+
line: t,
|
|
454
|
+
part: n,
|
|
455
|
+
metrics: r
|
|
456
|
+
});
|
|
457
|
+
}, V = B.rows, Xn = Kn !== null && Kn < M.count ? R.rowOfLine(Kn) : null;
|
|
458
|
+
Xn !== null && Xn < V.start && Yn(Xn);
|
|
459
|
+
for (let e = V.start; e < Math.min(V.end, Wn); e++) Yn(e);
|
|
460
|
+
Xn !== null && Xn >= V.end && Xn < Wn && Yn(Xn);
|
|
461
|
+
let Zn = k ? Ln : Math.ceil(I.current * F) + D + Je, Qn = Yt, $n = Wn * qt + Qn * 2, er = {
|
|
462
|
+
width: bn.width,
|
|
463
|
+
height: Bn,
|
|
464
|
+
codeWidth: Ln,
|
|
465
|
+
gutterWidth: In,
|
|
466
|
+
cellWidth: F,
|
|
467
|
+
lineHeight: qt,
|
|
468
|
+
map: R,
|
|
469
|
+
wrap: k,
|
|
470
|
+
cols: Rn,
|
|
471
|
+
virtualWidth: Zn,
|
|
472
|
+
virtualHeight: $n,
|
|
473
|
+
padY: Qn
|
|
474
|
+
}, H = S(er), tr = S({
|
|
475
|
+
x: NaN,
|
|
476
|
+
y: NaN
|
|
477
|
+
}), nr = S(() => {}), rr = y(() => {
|
|
478
|
+
let e = H.current, { x: t, y: n } = z.current, r = Un.current, i = typeof devicePixelRatio == "number" && devicePixelRatio > 0 ? devicePixelRatio : 1, a = (e) => Math.round(e * i) / i, o = a(r.originRow * e.lineHeight + e.padY - n), s = a(r.originCell * e.cellWidth - t), c = tr.current;
|
|
479
|
+
(o !== c.y || s !== c.x) && (o !== c.y && an.current && (an.current.style.transform = `translate3d(0,${o}px,0)`), on.current && (on.current.style.transform = `translate3d(${s}px,${o}px,0)`), c.x = s, c.y = o, nr.current());
|
|
480
|
+
}, []), ir = y((e) => {
|
|
481
|
+
let t = A.current;
|
|
482
|
+
if (!t) return;
|
|
483
|
+
let n = H.current, r = fe(t.scrollTop, n.virtualHeight, n.height), i = n.wrap ? 0 : fe(t.scrollLeft, n.virtualWidth + n.gutterWidth, n.width);
|
|
484
|
+
z.current = {
|
|
485
|
+
x: i,
|
|
486
|
+
y: r
|
|
487
|
+
};
|
|
488
|
+
let a = Un.current, o = ae(a.rows, me(r - n.padY, n.height, n.lineHeight, n.map.rowCount), n.map.rowCount), s = n.wrap ? {
|
|
489
|
+
start: 0,
|
|
490
|
+
end: 0
|
|
491
|
+
} : ie(a.cells, pe(Math.max(0, i - D), Math.min(n.codeWidth, Qe), n.cellWidth)), c = s === a.cells || s.start === a.cells.start && s.end === a.cells.end;
|
|
492
|
+
if (o !== a.rows || !c) {
|
|
493
|
+
let t = {
|
|
494
|
+
rows: o,
|
|
495
|
+
cells: c ? a.cells : s,
|
|
496
|
+
originRow: oe(o.start, Ye),
|
|
497
|
+
originCell: c ? a.originCell : oe(s.start, Xe)
|
|
498
|
+
};
|
|
499
|
+
Un.current = t, e ? Ke(() => Hn(t)) : Hn(t);
|
|
500
|
+
}
|
|
501
|
+
rr();
|
|
502
|
+
}, [rr]);
|
|
503
|
+
b(() => {
|
|
504
|
+
let e = A.current, t = () => {
|
|
505
|
+
ir(!0), Vn.current?.();
|
|
506
|
+
};
|
|
507
|
+
return e.addEventListener("scroll", t, { passive: !0 }), () => e.removeEventListener("scroll", t);
|
|
508
|
+
}, [ir]);
|
|
509
|
+
let U = S(null), ar = y(() => {
|
|
510
|
+
let e = U.current, n = A.current;
|
|
511
|
+
if (!e || !n) return;
|
|
512
|
+
U.current = null;
|
|
513
|
+
let r = H.current, i = r.virtualWidth + r.gutterWidth, a = e.y === void 0 ? void 0 : de(O(e.y, 0, Math.max(0, r.virtualHeight - r.height)), r.virtualHeight, r.height), o = e.x === void 0 ? void 0 : de(O(e.x, 0, Math.max(0, i - r.width)), i, r.width);
|
|
514
|
+
e.smooth && !t() ? n.scrollTo({
|
|
515
|
+
...a === void 0 ? null : { top: a },
|
|
516
|
+
...o === void 0 ? null : { left: o },
|
|
517
|
+
behavior: "smooth"
|
|
518
|
+
}) : (a !== void 0 && (n.scrollTop = a), o !== void 0 && (n.scrollLeft = o), ir(!1));
|
|
519
|
+
}, [ir]), W = y((e, t = {}) => {
|
|
520
|
+
let n = H.current;
|
|
521
|
+
if (!n.height || !M.count) return;
|
|
522
|
+
let r = O(e - un.current, 0, M.count - 1), i = N.get(r), { column: a, align: o = "center", smooth: s, reveal: c } = t, l = a == null ? null : i.cellAt(a), d = n.wrap && l !== null ? Math.floor(l / n.cols) : 0, f = n.map.rowOfLine(r) + d, p = z.current, m = f * n.lineHeight + n.padY, ee = c ? ce(m, n.lineHeight, n.height, p.y, lt) : u(m, n.lineHeight, n.height, p.y, o), h;
|
|
523
|
+
if (!n.wrap && (l === null ? p.x > i.cells * n.cellWidth && (h = 0) : h = ce(l * n.cellWidth + D, n.cellWidth, n.codeWidth, p.x, 24), i.cells > I.current)) {
|
|
524
|
+
I.current = i.cells, U.current = {
|
|
525
|
+
x: h,
|
|
526
|
+
y: ee,
|
|
527
|
+
smooth: s
|
|
528
|
+
}, Cn();
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
h === p.x && (h = void 0), U.current = {
|
|
532
|
+
x: h,
|
|
533
|
+
y: ee === p.y ? void 0 : ee,
|
|
534
|
+
smooth: s
|
|
535
|
+
}, ar();
|
|
536
|
+
}, [
|
|
537
|
+
M,
|
|
538
|
+
N,
|
|
539
|
+
ar
|
|
540
|
+
]), [G, or] = Be(() => T && ft ? ft.current : null), K = S(G);
|
|
541
|
+
K.current = G;
|
|
542
|
+
let sr = S(T);
|
|
543
|
+
sr.current = T;
|
|
544
|
+
let cr = S(Zt);
|
|
545
|
+
cr.current = Zt;
|
|
546
|
+
let lr = S(null), ur = S(!0), q = y((e, t) => {
|
|
547
|
+
let r = e && h(e) && !sr.current ? null : e, i = K.current;
|
|
548
|
+
if (i === r || i && r && d(i.anchor, r.anchor) === 0 && d(i.focus, r.focus) === 0) return;
|
|
549
|
+
let a = cr.current;
|
|
550
|
+
if (a) {
|
|
551
|
+
let e = n(t);
|
|
552
|
+
if (a(r ? {
|
|
553
|
+
anchor: P(r.anchor),
|
|
554
|
+
focus: P(r.focus)
|
|
555
|
+
} : null, e), e.canceled && t.reason !== "imperative" && !vt(t.reason)) return;
|
|
556
|
+
}
|
|
557
|
+
K.current = r, r && ft && (ft.current = r), ur.current = !0, or(r);
|
|
558
|
+
}, [ft, P]), J = y((e) => M.get(e) ?? "", [M]), dr = S(M);
|
|
559
|
+
b(() => {
|
|
560
|
+
dr.current !== M && (dr.current = M, lr.current = null, q(sr.current ? v({
|
|
561
|
+
line: 0,
|
|
562
|
+
offset: 0
|
|
563
|
+
}) : null, { reason: "imperative" }));
|
|
564
|
+
}, [M, q]);
|
|
565
|
+
let Y = y(() => {
|
|
566
|
+
if (sr.current) return;
|
|
567
|
+
let e = cn.current, t = K.current;
|
|
568
|
+
if (!e || typeof getSelection > "u") return;
|
|
569
|
+
let n = getSelection();
|
|
570
|
+
if (!n) return;
|
|
571
|
+
if (!t) {
|
|
572
|
+
e.firstChild && n.anchorNode && e.contains(n.anchorNode) && n.removeAllRanges(), e.textContent = "";
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
e.textContent = ue(t, J, $e).text || " ";
|
|
576
|
+
let r = document.createRange();
|
|
577
|
+
r.selectNodeContents(e), n.removeAllRanges(), n.addRange(r);
|
|
578
|
+
}, [J]), fr = y((e, t) => {
|
|
579
|
+
let n = rn.current.getBoundingClientRect(), r = H.current, { x: i, y: a } = z.current, o = O(Math.floor((t - n.top + a - r.padY) / r.lineHeight), 0, Math.max(0, r.map.rowCount - 1)), { line: s, part: c } = r.map.locate(o), l = N.get(s), u = (e - n.left + i - D) / r.cellWidth;
|
|
580
|
+
return {
|
|
581
|
+
line: s,
|
|
582
|
+
offset: r.wrap ? l.nearest(c * r.cols + O(u, 0, r.cols)) : l.nearest(u)
|
|
583
|
+
};
|
|
584
|
+
}, [N]), X = S(null), pr = S(() => {}), mr = S({
|
|
585
|
+
count: 0,
|
|
586
|
+
time: 0,
|
|
587
|
+
x: 0,
|
|
588
|
+
y: 0
|
|
589
|
+
}), hr = y(() => {
|
|
590
|
+
let e = X.current;
|
|
591
|
+
e && q(p(e.base, fr(e.x, e.y), e.granularity, J, M.count), {
|
|
592
|
+
reason: "drag",
|
|
593
|
+
event: e.event
|
|
594
|
+
});
|
|
595
|
+
}, [
|
|
596
|
+
fr,
|
|
597
|
+
J,
|
|
598
|
+
q,
|
|
599
|
+
M
|
|
600
|
+
]);
|
|
601
|
+
Vn.current = hr;
|
|
602
|
+
let gr = y(() => {
|
|
603
|
+
let e = X.current, t = rn.current, n = A.current;
|
|
604
|
+
if (!e || !t || !n) return;
|
|
605
|
+
let r = t.getBoundingClientRect(), i = (e) => Math.min(ut, e * e / 8 + e / 2 + 1), a = 0, o = 0;
|
|
606
|
+
e.y < r.top ? a = -i(r.top - e.y) : e.y > r.bottom && (a = i(e.y - r.bottom)), e.x < r.left ? o = -i(r.left - e.x) : e.x > r.right && (o = i(e.x - r.right)), (a || o) && (a && (n.scrollTop += a), o && (n.scrollLeft += o), ir(!0), hr()), e.frame = requestAnimationFrame(gr);
|
|
607
|
+
}, [ir, hr]), _r = y(() => {
|
|
608
|
+
let e = X.current;
|
|
609
|
+
e && (cancelAnimationFrame(e.frame), e.release(), X.current = null, Y(), pr.current());
|
|
610
|
+
}, [Y]), vr = y((e, t, n, r) => {
|
|
611
|
+
let i = rn.current;
|
|
612
|
+
if (!i) return;
|
|
613
|
+
let a = {
|
|
614
|
+
base: t,
|
|
615
|
+
granularity: n,
|
|
616
|
+
x: e.clientX,
|
|
617
|
+
y: e.clientY,
|
|
618
|
+
event: e,
|
|
619
|
+
frame: 0,
|
|
620
|
+
touch: r,
|
|
621
|
+
release: () => {}
|
|
622
|
+
};
|
|
623
|
+
X.current = a, a.frame = requestAnimationFrame(gr), a.release = He(i, e, {
|
|
624
|
+
onMove: ({ x: e, y: t, event: n }) => {
|
|
625
|
+
X.current === a && (a.x = e, a.y = t, a.event = n, hr());
|
|
626
|
+
},
|
|
627
|
+
onEnd: () => {
|
|
628
|
+
X.current === a && _r();
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
}, [
|
|
632
|
+
gr,
|
|
633
|
+
_r,
|
|
634
|
+
hr
|
|
635
|
+
]), yr = (e, t) => {
|
|
636
|
+
if (t === "word") {
|
|
637
|
+
let t = he(J(e.line), e.offset);
|
|
638
|
+
return {
|
|
639
|
+
anchor: {
|
|
640
|
+
line: e.line,
|
|
641
|
+
offset: t.start
|
|
642
|
+
},
|
|
643
|
+
focus: {
|
|
644
|
+
line: e.line,
|
|
645
|
+
offset: t.end
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
if (t === "line") {
|
|
650
|
+
let t = e.line >= M.count - 1;
|
|
651
|
+
return {
|
|
652
|
+
anchor: {
|
|
653
|
+
line: e.line,
|
|
654
|
+
offset: 0
|
|
655
|
+
},
|
|
656
|
+
focus: t ? {
|
|
657
|
+
line: e.line,
|
|
658
|
+
offset: J(e.line).length
|
|
659
|
+
} : {
|
|
660
|
+
line: e.line + 1,
|
|
661
|
+
offset: 0
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
return {
|
|
666
|
+
anchor: e,
|
|
667
|
+
focus: e
|
|
668
|
+
};
|
|
669
|
+
}, br = (e) => {
|
|
670
|
+
if (e.pointerType === "touch" || e.target.closest("[data-code-editor-cell]")) return;
|
|
671
|
+
if (e.button !== 0 || e.ctrlKey && Mt()) {
|
|
672
|
+
let t = fr(e.clientX, e.clientY), n = K.current;
|
|
673
|
+
if (n) {
|
|
674
|
+
let { from: r, to: i } = _(n);
|
|
675
|
+
(d(t, r) < 0 || d(t, i) > 0) && q(T ? v(t) : null, {
|
|
676
|
+
reason: "press",
|
|
677
|
+
event: e.nativeEvent
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
T && (zr(), pr.current(), hi(e.clientX, e.clientY));
|
|
681
|
+
return;
|
|
682
|
+
}
|
|
683
|
+
zr(), T && (E?.seal(), Tr.current = null, Er.current = !1, kr.current = !1, Pr());
|
|
684
|
+
let t = performance.now(), n = mr.current;
|
|
685
|
+
n.count = Math.abs(e.clientX - n.x) < 4 && Math.abs(e.clientY - n.y) < 4 && t - n.time < ct ? n.count % 3 + 1 : 1, n.time = t, n.x = e.clientX, n.y = e.clientY;
|
|
686
|
+
let r = fr(e.clientX, e.clientY), i = K.current, a = n.count === 2 ? "word" : n.count === 3 ? "line" : "char", o = e.shiftKey ? i?.anchor ?? lr.current : null, s = e.nativeEvent;
|
|
687
|
+
if (o) {
|
|
688
|
+
let e = {
|
|
689
|
+
anchor: o,
|
|
690
|
+
focus: o
|
|
691
|
+
};
|
|
692
|
+
q(p(e, r, "char", J, M.count), {
|
|
693
|
+
reason: "press",
|
|
694
|
+
event: s
|
|
695
|
+
}), vr(s, e, "char", !1);
|
|
696
|
+
return;
|
|
697
|
+
}
|
|
698
|
+
lr.current = r;
|
|
699
|
+
let c = yr(r, a);
|
|
700
|
+
q(c, {
|
|
701
|
+
reason: "press",
|
|
702
|
+
event: s
|
|
703
|
+
}), vr(s, c, a, !1);
|
|
704
|
+
}, xr = S(null);
|
|
705
|
+
xr.current = {
|
|
706
|
+
hold: (e) => {
|
|
707
|
+
zr();
|
|
708
|
+
let t = yr(fr(e.clientX, e.clientY), "word");
|
|
709
|
+
q(t, {
|
|
710
|
+
reason: "press",
|
|
711
|
+
event: e
|
|
712
|
+
}), vr(e, t, "word", !0);
|
|
713
|
+
},
|
|
714
|
+
tap: (e, t) => {
|
|
715
|
+
T ? (zr(), E?.seal(), Tr.current = null, q(v(fr(e.clientX, e.clientY)), {
|
|
716
|
+
reason: "press",
|
|
717
|
+
event: t
|
|
718
|
+
})) : q(null, {
|
|
719
|
+
reason: "press",
|
|
720
|
+
event: t
|
|
721
|
+
}), Y();
|
|
722
|
+
}
|
|
723
|
+
}, b(() => {
|
|
724
|
+
let e = rn.current, t = A.current, n = null, r = Ue(e, {
|
|
725
|
+
delay: ot,
|
|
726
|
+
tolerance: st,
|
|
727
|
+
keys: [],
|
|
728
|
+
onPress: ({ event: e, input: t }) => t !== "touch" || e.target.closest("[data-code-editor-cell]") ? !1 : (n = e, !0),
|
|
729
|
+
onHold: () => {
|
|
730
|
+
n && xr.current?.hold(n);
|
|
731
|
+
},
|
|
732
|
+
onEnd: ({ event: e, held: t, canceled: r }) => {
|
|
733
|
+
n && !t && !r && xr.current?.tap(n, e), n = null;
|
|
734
|
+
}
|
|
735
|
+
}), i = (e) => {
|
|
736
|
+
X.current?.touch && e.cancelable && e.preventDefault();
|
|
737
|
+
};
|
|
738
|
+
return t.addEventListener("touchmove", i, { passive: !1 }), () => {
|
|
739
|
+
r(), t.removeEventListener("touchmove", i);
|
|
740
|
+
};
|
|
741
|
+
}, []), b(() => () => {
|
|
742
|
+
let e = X.current;
|
|
743
|
+
e && (cancelAnimationFrame(e.frame), e.release());
|
|
744
|
+
}, []);
|
|
745
|
+
let Sr = (e) => {
|
|
746
|
+
let t = K.current;
|
|
747
|
+
if (!t || h(t) || !A.current.contains(e.target) || e.target !== j.current && Nt(e.target)) return;
|
|
748
|
+
let n = ue(t, J);
|
|
749
|
+
e.clipboardData.setData("text/plain", n.text), e.preventDefault(), Xt?.(n);
|
|
750
|
+
}, Cr = y((e) => {
|
|
751
|
+
if (!M.count) return;
|
|
752
|
+
let t = M.count - 1;
|
|
753
|
+
q({
|
|
754
|
+
anchor: {
|
|
755
|
+
line: 0,
|
|
756
|
+
offset: 0
|
|
757
|
+
},
|
|
758
|
+
focus: {
|
|
759
|
+
line: t,
|
|
760
|
+
offset: J(t).length
|
|
761
|
+
}
|
|
762
|
+
}, {
|
|
763
|
+
reason: e ? "select-all" : "imperative",
|
|
764
|
+
event: e
|
|
765
|
+
}), Y(), pr.current();
|
|
766
|
+
}, [
|
|
767
|
+
J,
|
|
768
|
+
q,
|
|
769
|
+
M,
|
|
770
|
+
Y
|
|
771
|
+
]), wr = S(!1), Tr = S(null), Er = S(!1), Z = S(null), Dr = S({
|
|
772
|
+
text: "",
|
|
773
|
+
selection: !1,
|
|
774
|
+
line: 0,
|
|
775
|
+
start: 0
|
|
776
|
+
}), Or = S(!1), kr = S(!1), Ar = S(void 0), [jr, Mr] = Be(!1), [Nr, Pr] = ze((e) => e + 1, 0), [, Fr] = ze((e) => e + 1, 0), Ir = S(gt);
|
|
777
|
+
Ir.current = gt;
|
|
778
|
+
let Lr = S(yt);
|
|
779
|
+
Lr.current = yt;
|
|
780
|
+
let Rr = S(ht);
|
|
781
|
+
Rr.current = ht;
|
|
782
|
+
let zr = y(() => {
|
|
783
|
+
sr.current ? j.current?.focus({ preventScroll: !0 }) : A.current?.focus({ preventScroll: !0 });
|
|
784
|
+
}, []), Br = y(() => {
|
|
785
|
+
let e = j.current, t = K.current;
|
|
786
|
+
if (!e || !t || Or.current) return;
|
|
787
|
+
let n = H.current, { x: r, y: i } = z.current, a = Ae(t.focus, N.get(t.focus.line), n.map, n.wrap ? n.cols : 0), o = O(n.gutterWidth + D + a.cell * n.cellWidth - r, 0, Math.max(0, n.width - 1)), s = O(a.row * n.lineHeight + n.padY - i, 0, Math.max(0, n.height - n.lineHeight));
|
|
788
|
+
e.style.transform = `translate(${o}px,${s}px)`;
|
|
789
|
+
}, [N]);
|
|
790
|
+
nr.current = Br;
|
|
791
|
+
let Vr = y(() => {
|
|
792
|
+
let e = j.current, t = K.current;
|
|
793
|
+
if (!e || !t || Z.current) return;
|
|
794
|
+
ur.current = !1;
|
|
795
|
+
let n, r, i;
|
|
796
|
+
if (!h(t)) n = ue(t, J, tt).text, Dr.current = {
|
|
797
|
+
text: n,
|
|
798
|
+
selection: !0,
|
|
799
|
+
line: 0,
|
|
800
|
+
start: 0
|
|
801
|
+
}, r = 0, i = n.length;
|
|
802
|
+
else {
|
|
803
|
+
let { line: e, offset: a } = t.focus, o = J(e), s = Math.max(0, a - et), c = Math.min(o.length, a + et), l = (e) => e >= 56320 && e <= 57343;
|
|
804
|
+
s > 0 && l(o.charCodeAt(s)) && s--, c < o.length && l(o.charCodeAt(c)) && c++, n = nt + o.slice(s, c), Dr.current = {
|
|
805
|
+
text: n,
|
|
806
|
+
selection: !1,
|
|
807
|
+
line: e,
|
|
808
|
+
start: s
|
|
809
|
+
}, r = i = a - s + 1;
|
|
810
|
+
}
|
|
811
|
+
e.value !== n && (e.value = n), (e.selectionStart !== r || e.selectionEnd !== i) && e.setSelectionRange(r, i);
|
|
812
|
+
}, [J]);
|
|
813
|
+
pr.current = Vr;
|
|
814
|
+
let Hr = y(() => {
|
|
815
|
+
let e = K.current, t = H.current;
|
|
816
|
+
if (!e || !t.height) return;
|
|
817
|
+
let n = Ae(e.focus, N.get(e.focus.line), t.map, t.wrap ? t.cols : 0), r = z.current, i = u(n.row * t.lineHeight + t.padY, t.lineHeight, t.height, r.y, "nearest", Math.min(t.lineHeight, t.height / 3)), a = t.wrap ? r.x : u(n.cell * t.cellWidth + D, t.cellWidth, t.codeWidth, r.x, "nearest", Math.min(at, t.codeWidth / 3));
|
|
818
|
+
(i !== r.y || a !== r.x) && (U.current = {
|
|
819
|
+
x: a === r.x ? void 0 : a,
|
|
820
|
+
y: i === r.y ? void 0 : i
|
|
821
|
+
}, ar());
|
|
822
|
+
}, [ar, N]), Q = y((e) => {
|
|
823
|
+
let t = Te(e), n = t.fromLine === t.oldEndLine && t.fromLine === t.newEndLine, r = wn.current, i = r?.cellCounts ?? null, a = i ? i[t.fromLine] : 0, o = n ? N.peek(t.fromLine) : void 0;
|
|
824
|
+
if (N.edit(t), r?.edit(t), vn.current?.edit(t), pn.current?.edit(t), r?.cellCounts) {
|
|
825
|
+
let e = H.current, i = r.cellCounts[t.fromLine];
|
|
826
|
+
(!n || je(a, e.cols) !== je(i, e.cols)) && En((e) => e + 1);
|
|
827
|
+
}
|
|
828
|
+
let s = I.current;
|
|
829
|
+
(o ? o.cells >= s && N.get(t.fromLine).cells < s : e.removed.length >= s / 2) && s > 0 && (clearTimeout(Ar.current), Ar.current = setTimeout(() => {
|
|
830
|
+
let e = new l(M, Kt, !1), t = () => {
|
|
831
|
+
let n = performance.now() + 4;
|
|
832
|
+
e.run(() => performance.now() > n) ? Ar.current = setTimeout(t, 16) : e.maxCells < I.current && (I.current = e.maxCells, Cn());
|
|
833
|
+
};
|
|
834
|
+
t();
|
|
835
|
+
}, it)), mn.current = !!vn.current, On(rt), pn.current?.flushNow(), ur.current = !0, Fr();
|
|
836
|
+
}, [
|
|
837
|
+
N,
|
|
838
|
+
On,
|
|
839
|
+
M,
|
|
840
|
+
Kt
|
|
841
|
+
]), Ur = y((e, t, r, i) => {
|
|
842
|
+
let a = Lr.current, o = Ir.current;
|
|
843
|
+
if (!a && !o) return !1;
|
|
844
|
+
let s = Object.assign(n({
|
|
845
|
+
reason: _t(t),
|
|
846
|
+
event: r,
|
|
847
|
+
source: i
|
|
848
|
+
}), {
|
|
849
|
+
from: P(e.from),
|
|
850
|
+
to: P(e.to),
|
|
851
|
+
newTo: P(e.newTo),
|
|
852
|
+
text: e.text,
|
|
853
|
+
removed: e.removed
|
|
854
|
+
});
|
|
855
|
+
return a?.(s), s.canceled || o?.(w.getText(), s), s.canceled;
|
|
856
|
+
}, [P, w]), Wr = y((e, t, n) => {
|
|
857
|
+
let r = w.replace({
|
|
858
|
+
from: e.from,
|
|
859
|
+
to: e.newTo,
|
|
860
|
+
text: e.removed
|
|
861
|
+
});
|
|
862
|
+
Q(r), q(t, { reason: _t(n) });
|
|
863
|
+
}, [
|
|
864
|
+
Q,
|
|
865
|
+
q,
|
|
866
|
+
w
|
|
867
|
+
]), Gr = y((e) => {
|
|
868
|
+
let t = w;
|
|
869
|
+
if (Z.current || e === t.getText()) return;
|
|
870
|
+
let n = xe(t, e);
|
|
871
|
+
if (!n) return;
|
|
872
|
+
let r = K.current ?? v({
|
|
873
|
+
line: 0,
|
|
874
|
+
offset: 0
|
|
875
|
+
}), i = t.replace(n);
|
|
876
|
+
Q(i);
|
|
877
|
+
let a = Ee(r, i);
|
|
878
|
+
q(a, { reason: "imperative" }), E?.record(i, "value", r, a), E?.seal();
|
|
879
|
+
}, [
|
|
880
|
+
Q,
|
|
881
|
+
E,
|
|
882
|
+
q,
|
|
883
|
+
w
|
|
884
|
+
]), Kr = y(({ applied: e, origin: t, before: n, after: r, parentLength: i, valueBefore: a, isUndo: o }) => {
|
|
885
|
+
let s = w, c = Rr.current;
|
|
886
|
+
if (!o && c === a && c !== s.getText()) {
|
|
887
|
+
Wr(e, n, t);
|
|
888
|
+
return;
|
|
889
|
+
}
|
|
890
|
+
o || E?.record(e, t, n, r, i), c !== void 0 && Gr(c);
|
|
891
|
+
}, [
|
|
892
|
+
Gr,
|
|
893
|
+
E,
|
|
894
|
+
Wr,
|
|
895
|
+
w
|
|
896
|
+
]), qr = S(null), Jr = S(void 0), Yr = y(() => {
|
|
897
|
+
clearTimeout(Jr.current);
|
|
898
|
+
let e = qr.current;
|
|
899
|
+
e && (qr.current = null, Kr(e));
|
|
900
|
+
}, [Kr]), Xr = y((e) => {
|
|
901
|
+
Yr(), qr.current = e, queueMicrotask(() => {
|
|
902
|
+
qr.current === e && (Rr.current === e.valueBefore ? Jr.current = setTimeout(Yr, 0) : Yr());
|
|
903
|
+
});
|
|
904
|
+
}, [Yr]);
|
|
905
|
+
b(() => () => {
|
|
906
|
+
clearTimeout(Jr.current), qr.current = null;
|
|
907
|
+
}, []);
|
|
908
|
+
let $ = y((e, t, n) => {
|
|
909
|
+
if (!e || !w) return !1;
|
|
910
|
+
Yr();
|
|
911
|
+
let r = K.current ?? v({
|
|
912
|
+
line: 0,
|
|
913
|
+
offset: 0
|
|
914
|
+
}), i = e.edit.from.line === e.edit.to.line ? w.get(e.edit.from.line).length : 0, a = w.replace(e.edit), o = e.after ?? v(a.newTo);
|
|
915
|
+
Q(a), Tr.current = null;
|
|
916
|
+
let { origin: s } = e;
|
|
917
|
+
return q(o, {
|
|
918
|
+
reason: _t(s),
|
|
919
|
+
event: t
|
|
920
|
+
}), wr.current = !0, Pr(), Rr.current !== void 0 && Ir.current ? (Xr({
|
|
921
|
+
applied: a,
|
|
922
|
+
origin: s,
|
|
923
|
+
before: r,
|
|
924
|
+
after: o,
|
|
925
|
+
parentLength: i,
|
|
926
|
+
valueBefore: Rr.current,
|
|
927
|
+
isUndo: !1
|
|
928
|
+
}), Ur(a, s, t, n)) : Ur(a, s, t, n) ? Wr(a, r, s) : E?.record(a, s, r, o, i), !0;
|
|
929
|
+
}, [
|
|
930
|
+
Xr,
|
|
931
|
+
Q,
|
|
932
|
+
E,
|
|
933
|
+
Ur,
|
|
934
|
+
q,
|
|
935
|
+
Yr,
|
|
936
|
+
Wr,
|
|
937
|
+
w
|
|
938
|
+
]), Zr = y((e, t) => {
|
|
939
|
+
let n = w, r = sr.current && n && !Z.current ? xe(n, e) : null;
|
|
940
|
+
if (!r || !$({
|
|
941
|
+
edit: r,
|
|
942
|
+
origin: "imperative"
|
|
943
|
+
}, void 0, t.source)) {
|
|
944
|
+
t.cancel();
|
|
945
|
+
return;
|
|
946
|
+
}
|
|
947
|
+
Rr.current === void 0 && n?.getText() !== e && t.cancel();
|
|
948
|
+
}, [$, w]), Qr = y(() => w?.getText() ?? Array.from({ length: M.count }, (e, t) => J(t)).join("\n"), [
|
|
949
|
+
J,
|
|
950
|
+
M,
|
|
951
|
+
w
|
|
952
|
+
]), $r = y((e, t) => {
|
|
953
|
+
if (!E || !w || Z.current) return;
|
|
954
|
+
Yr();
|
|
955
|
+
let n = e ? E.redo() : E.undo();
|
|
956
|
+
if (!n) return;
|
|
957
|
+
let r = K.current ?? v({
|
|
958
|
+
line: 0,
|
|
959
|
+
offset: 0
|
|
960
|
+
}), i = w.replace(e ? ke(n) : Ne(n));
|
|
961
|
+
Q(i), Tr.current = null;
|
|
962
|
+
let a = e ? n.after : n.before, o = e ? "redo" : "undo";
|
|
963
|
+
q(a, {
|
|
964
|
+
reason: o,
|
|
965
|
+
event: t
|
|
966
|
+
}), wr.current = !0, Pr(), Rr.current === void 0 ? Ur(i, o, t) && (Wr(i, r, o), e ? E.undo() : E.redo()) : (Xr({
|
|
967
|
+
applied: i,
|
|
968
|
+
origin: o,
|
|
969
|
+
before: r,
|
|
970
|
+
after: a,
|
|
971
|
+
parentLength: 0,
|
|
972
|
+
valueBefore: Rr.current,
|
|
973
|
+
isUndo: !0
|
|
974
|
+
}), Ur(i, o, t));
|
|
975
|
+
}, [
|
|
976
|
+
Xr,
|
|
977
|
+
Q,
|
|
978
|
+
E,
|
|
979
|
+
Ur,
|
|
980
|
+
q,
|
|
981
|
+
Yr,
|
|
982
|
+
Wr,
|
|
983
|
+
w
|
|
984
|
+
]), ei = y(() => ({
|
|
985
|
+
document: M,
|
|
986
|
+
metricsOf: (e) => N.get(e),
|
|
987
|
+
indent: be(M)
|
|
988
|
+
}), [N, M]), ti = () => K.current ?? v({
|
|
989
|
+
line: 0,
|
|
990
|
+
offset: 0
|
|
991
|
+
}), ni = y((e, t, n) => {
|
|
992
|
+
let r = K.current ?? v({
|
|
993
|
+
line: 0,
|
|
994
|
+
offset: 0
|
|
995
|
+
});
|
|
996
|
+
return $(e ? ve(ei(), r, t) : ye(ei(), r, t), n);
|
|
997
|
+
}, [ei, $]), ri = (e, t, n) => {
|
|
998
|
+
let r = ti(), i = H.current, a = {
|
|
999
|
+
document: M,
|
|
1000
|
+
metricsOf: (e) => N.get(e),
|
|
1001
|
+
map: i.map,
|
|
1002
|
+
cols: i.wrap ? i.cols : 0,
|
|
1003
|
+
pageRows: Math.max(1, Math.floor(i.height / i.lineHeight) - 1)
|
|
1004
|
+
}, o;
|
|
1005
|
+
if (!t && !h(r) && (e === "left" || e === "right")) {
|
|
1006
|
+
let { from: t, to: n } = _(r);
|
|
1007
|
+
o = e === "left" ? t : n, Tr.current = null;
|
|
1008
|
+
} else {
|
|
1009
|
+
let t = e === "up" || e === "down" || e === "pageUp" || e === "pageDown", n = De(r.focus, e, a, t ? Tr.current : null);
|
|
1010
|
+
o = n.position, Tr.current = n.goal;
|
|
1011
|
+
}
|
|
1012
|
+
E?.seal(), q(t ? {
|
|
1013
|
+
anchor: r.anchor,
|
|
1014
|
+
focus: o
|
|
1015
|
+
} : v(o), {
|
|
1016
|
+
reason: "caret-move",
|
|
1017
|
+
event: n
|
|
1018
|
+
}), wr.current = !0, Pr();
|
|
1019
|
+
}, ii = (e) => {
|
|
1020
|
+
if (Z.current || e.nativeEvent.isComposing || e.keyCode === 229) return;
|
|
1021
|
+
kr.current = !1;
|
|
1022
|
+
let t = Se(e, Mt()), n = Er.current;
|
|
1023
|
+
if (e.key !== "Shift" && e.key !== "Control" && e.key !== "Alt" && e.key !== "Meta" && e.key !== "Tab" && (Er.current = !1), !t) return;
|
|
1024
|
+
let r = e.nativeEvent;
|
|
1025
|
+
switch (t.type) {
|
|
1026
|
+
case "move":
|
|
1027
|
+
e.preventDefault(), ri(t.move, t.extend, r);
|
|
1028
|
+
break;
|
|
1029
|
+
case "deleteBackward":
|
|
1030
|
+
case "deleteForward":
|
|
1031
|
+
e.preventDefault(), ni(t.type === "deleteBackward", t.unit, r);
|
|
1032
|
+
break;
|
|
1033
|
+
case "newline":
|
|
1034
|
+
e.preventDefault(), $(Oe(M, ti()), r);
|
|
1035
|
+
break;
|
|
1036
|
+
case "tab": {
|
|
1037
|
+
if (n) break;
|
|
1038
|
+
e.preventDefault();
|
|
1039
|
+
let i = ti(), a = be(M);
|
|
1040
|
+
h(i) && !t.outdent ? $(Me(i, a, (e) => N.get(e)), r) : $(Ce(M, i, a, t.outdent), r);
|
|
1041
|
+
break;
|
|
1042
|
+
}
|
|
1043
|
+
case "undo":
|
|
1044
|
+
e.preventDefault(), $r(!1, r);
|
|
1045
|
+
break;
|
|
1046
|
+
case "redo":
|
|
1047
|
+
e.preventDefault(), $r(!0, r);
|
|
1048
|
+
break;
|
|
1049
|
+
case "selectAll":
|
|
1050
|
+
e.preventDefault(), E?.seal(), Cr(r);
|
|
1051
|
+
break;
|
|
1052
|
+
case "escape": {
|
|
1053
|
+
Er.current = !0;
|
|
1054
|
+
let e = ti();
|
|
1055
|
+
h(e) || q(v(e.focus), {
|
|
1056
|
+
reason: "escape-key",
|
|
1057
|
+
event: r
|
|
1058
|
+
});
|
|
1059
|
+
break;
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}, ai = (e) => {
|
|
1063
|
+
let t = K.current;
|
|
1064
|
+
if (!T || e.target !== j.current || !t || h(t)) return;
|
|
1065
|
+
let n = ue(t, J);
|
|
1066
|
+
e.clipboardData.setData("text/plain", n.text), e.preventDefault(), Xt?.(n);
|
|
1067
|
+
let { from: r, to: i } = _(t);
|
|
1068
|
+
$({
|
|
1069
|
+
edit: {
|
|
1070
|
+
from: r,
|
|
1071
|
+
to: i,
|
|
1072
|
+
text: ""
|
|
1073
|
+
},
|
|
1074
|
+
origin: "cut"
|
|
1075
|
+
}, e.nativeEvent);
|
|
1076
|
+
}, oi = (e) => {
|
|
1077
|
+
if (!T || e.target !== j.current) return;
|
|
1078
|
+
e.preventDefault();
|
|
1079
|
+
let t = e.clipboardData.getData("text/plain");
|
|
1080
|
+
t && $(we(ti(), t, "paste"), e.nativeEvent);
|
|
1081
|
+
}, si = () => {
|
|
1082
|
+
Mr(!0), Pr(), ur.current = !0, Vr();
|
|
1083
|
+
}, ci = () => {
|
|
1084
|
+
Mr(!1), Er.current = !1, E?.seal(), gi();
|
|
1085
|
+
}, li = () => {
|
|
1086
|
+
let e = ti(), { from: t, to: n } = _(e);
|
|
1087
|
+
Z.current = {
|
|
1088
|
+
from: t,
|
|
1089
|
+
end: n,
|
|
1090
|
+
original: w.slice(t, n),
|
|
1091
|
+
before: e
|
|
1092
|
+
}, E?.seal(), wr.current = !0, Fr();
|
|
1093
|
+
}, ui = (e) => {
|
|
1094
|
+
let t = Z.current;
|
|
1095
|
+
if (!t || !w) return;
|
|
1096
|
+
let n = w.replace({
|
|
1097
|
+
from: t.from,
|
|
1098
|
+
to: t.end,
|
|
1099
|
+
text: e.data
|
|
1100
|
+
});
|
|
1101
|
+
t.end = n.newTo, Q(n), q(v(n.newTo), {
|
|
1102
|
+
reason: "composition",
|
|
1103
|
+
event: e.nativeEvent
|
|
1104
|
+
}), wr.current = !0, Pr();
|
|
1105
|
+
}, di = (e) => {
|
|
1106
|
+
let t = Z.current;
|
|
1107
|
+
if (!t || !w) return;
|
|
1108
|
+
Z.current = null;
|
|
1109
|
+
let n = w.replace({
|
|
1110
|
+
from: t.from,
|
|
1111
|
+
to: t.end,
|
|
1112
|
+
text: t.original
|
|
1113
|
+
});
|
|
1114
|
+
Q(n), q(t.before, {
|
|
1115
|
+
reason: "composition",
|
|
1116
|
+
event: e.nativeEvent
|
|
1117
|
+
}), e.data && $(we(t.before, e.data, "composition"), e.nativeEvent), ur.current = !0, Vr();
|
|
1118
|
+
}, fi = y((e) => {
|
|
1119
|
+
if (Z.current || e.isComposing) return;
|
|
1120
|
+
let t = K.current ?? v({
|
|
1121
|
+
line: 0,
|
|
1122
|
+
offset: 0
|
|
1123
|
+
}), n = (t, n) => {
|
|
1124
|
+
e.preventDefault(), ni(t, n, e);
|
|
1125
|
+
};
|
|
1126
|
+
switch (e.inputType) {
|
|
1127
|
+
case "insertText":
|
|
1128
|
+
e.preventDefault(), e.data && $(we(t, e.data), e);
|
|
1129
|
+
break;
|
|
1130
|
+
case "insertLineBreak":
|
|
1131
|
+
case "insertParagraph":
|
|
1132
|
+
e.preventDefault(), $(Oe(M, t), e);
|
|
1133
|
+
break;
|
|
1134
|
+
case "deleteContentBackward":
|
|
1135
|
+
n(!0, "char");
|
|
1136
|
+
break;
|
|
1137
|
+
case "deleteContentForward":
|
|
1138
|
+
n(!1, "char");
|
|
1139
|
+
break;
|
|
1140
|
+
case "deleteWordBackward":
|
|
1141
|
+
n(!0, "word");
|
|
1142
|
+
break;
|
|
1143
|
+
case "deleteWordForward":
|
|
1144
|
+
n(!1, "word");
|
|
1145
|
+
break;
|
|
1146
|
+
case "deleteSoftLineBackward":
|
|
1147
|
+
case "deleteHardLineBackward":
|
|
1148
|
+
n(!0, "line");
|
|
1149
|
+
break;
|
|
1150
|
+
case "deleteSoftLineForward":
|
|
1151
|
+
case "deleteHardLineForward":
|
|
1152
|
+
n(!1, "line");
|
|
1153
|
+
break;
|
|
1154
|
+
case "historyUndo":
|
|
1155
|
+
e.preventDefault(), $r(!1, e);
|
|
1156
|
+
break;
|
|
1157
|
+
case "historyRedo": e.preventDefault(), $r(!0, e);
|
|
1158
|
+
}
|
|
1159
|
+
}, [
|
|
1160
|
+
$,
|
|
1161
|
+
ni,
|
|
1162
|
+
M,
|
|
1163
|
+
$r
|
|
1164
|
+
]), pi = y((e) => {
|
|
1165
|
+
let t = j.current;
|
|
1166
|
+
if (!t || Z.current) return;
|
|
1167
|
+
let n = Dr.current, r = t.value;
|
|
1168
|
+
if (r === n.text) return;
|
|
1169
|
+
let i = K.current ?? v({
|
|
1170
|
+
line: 0,
|
|
1171
|
+
offset: 0
|
|
1172
|
+
});
|
|
1173
|
+
if (n.selection) $(we(i, r), e);
|
|
1174
|
+
else {
|
|
1175
|
+
let t = n.text.slice(1), i = r.startsWith(nt) ? r.slice(1) : r;
|
|
1176
|
+
if (t === i) {
|
|
1177
|
+
ni(!0, "char", e), ur.current = !0, Vr();
|
|
1178
|
+
return;
|
|
1179
|
+
}
|
|
1180
|
+
let a = 0;
|
|
1181
|
+
for (; a < t.length && a < i.length && t.charCodeAt(a) === i.charCodeAt(a);) a++;
|
|
1182
|
+
let o = 0;
|
|
1183
|
+
for (; o < t.length - a && o < i.length - a && t.charCodeAt(t.length - 1 - o) === i.charCodeAt(i.length - 1 - o);) o++;
|
|
1184
|
+
$({
|
|
1185
|
+
edit: {
|
|
1186
|
+
from: {
|
|
1187
|
+
line: n.line,
|
|
1188
|
+
offset: n.start + a
|
|
1189
|
+
},
|
|
1190
|
+
to: {
|
|
1191
|
+
line: n.line,
|
|
1192
|
+
offset: n.start + t.length - o
|
|
1193
|
+
},
|
|
1194
|
+
text: i.slice(a, i.length - o)
|
|
1195
|
+
},
|
|
1196
|
+
origin: "input"
|
|
1197
|
+
}, e);
|
|
1198
|
+
}
|
|
1199
|
+
ur.current = !0, Vr();
|
|
1200
|
+
}, [
|
|
1201
|
+
$,
|
|
1202
|
+
ni,
|
|
1203
|
+
Vr
|
|
1204
|
+
]), mi = y((e) => {
|
|
1205
|
+
let t = j.current, n = K.current;
|
|
1206
|
+
!t || !kr.current || !n || !h(n) || Z.current || t.value.length > 0 && t.selectionStart === 0 && t.selectionEnd === t.value.length && Cr(e);
|
|
1207
|
+
}, [Cr]);
|
|
1208
|
+
b(() => {
|
|
1209
|
+
let e = j.current;
|
|
1210
|
+
if (e) return e.addEventListener("beforeinput", fi), e.addEventListener("input", pi), e.addEventListener("select", mi), () => {
|
|
1211
|
+
e.removeEventListener("beforeinput", fi), e.removeEventListener("input", pi), e.removeEventListener("select", mi);
|
|
1212
|
+
};
|
|
1213
|
+
}, [
|
|
1214
|
+
fi,
|
|
1215
|
+
pi,
|
|
1216
|
+
mi,
|
|
1217
|
+
T
|
|
1218
|
+
]);
|
|
1219
|
+
let hi = (e, t) => {
|
|
1220
|
+
let n = j.current, r = A.current;
|
|
1221
|
+
if (!n || !r) return;
|
|
1222
|
+
let i = r.getBoundingClientRect();
|
|
1223
|
+
Or.current = !0, kr.current = !0, n.style.pointerEvents = "auto", n.style.width = "8px", n.style.transform = `translate(${e - i.left - 4}px,${t - i.top - 4}px)`;
|
|
1224
|
+
}, gi = y(() => {
|
|
1225
|
+
let e = j.current;
|
|
1226
|
+
!e || !Or.current || (Or.current = !1, e.style.pointerEvents = "", e.style.width = "", Br());
|
|
1227
|
+
}, [Br]);
|
|
1228
|
+
b(() => {
|
|
1229
|
+
T && ht !== void 0 && Gr(ht);
|
|
1230
|
+
}, [
|
|
1231
|
+
T,
|
|
1232
|
+
ht,
|
|
1233
|
+
Gr
|
|
1234
|
+
]);
|
|
1235
|
+
let _i = (e) => {
|
|
1236
|
+
if (en?.(e), e.defaultPrevented) return;
|
|
1237
|
+
let t = A.current, n = e.target;
|
|
1238
|
+
if (n === j.current) {
|
|
1239
|
+
ii(e);
|
|
1240
|
+
return;
|
|
1241
|
+
}
|
|
1242
|
+
if (!t.contains(n) || Nt(n)) return;
|
|
1243
|
+
let r = e.metaKey || e.ctrlKey;
|
|
1244
|
+
if (r && !e.altKey && e.key.toLowerCase() === "a") e.preventDefault(), Cr(e.nativeEvent);
|
|
1245
|
+
else if (r && !e.altKey && e.key.toLowerCase() === "c") Y();
|
|
1246
|
+
else if (e.key === "Escape" && K.current) q(null, {
|
|
1247
|
+
reason: "escape-key",
|
|
1248
|
+
event: e.nativeEvent
|
|
1249
|
+
}), Y();
|
|
1250
|
+
else if (n === t && e.shiftKey && !r && !e.altKey && dt.has(e.key) && M.count) {
|
|
1251
|
+
e.preventDefault();
|
|
1252
|
+
let t = H.current, n = K.current, r = n?.focus ?? lr.current ?? {
|
|
1253
|
+
line: t.map.locate(Math.floor(z.current.y / t.lineHeight)).line,
|
|
1254
|
+
offset: 0
|
|
1255
|
+
}, i = n?.anchor ?? r, a = re(r, e.key, (e) => N.get(e), M.count);
|
|
1256
|
+
lr.current = i, q({
|
|
1257
|
+
anchor: i,
|
|
1258
|
+
focus: a
|
|
1259
|
+
}, {
|
|
1260
|
+
reason: "caret-move",
|
|
1261
|
+
event: e.nativeEvent
|
|
1262
|
+
}), Y(), W(a.line + 1, {
|
|
1263
|
+
column: a.offset,
|
|
1264
|
+
reveal: !0
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
}, vi = (e) => {
|
|
1268
|
+
tn?.(e), Or.current && setTimeout(gi, 0), K.current && A.current.contains(e.target) && Y(), X.current?.touch ? e.preventDefault() : X.current && _r();
|
|
1269
|
+
}, yi = S(void 0), bi = y((e) => {
|
|
1270
|
+
clearTimeout(yi.current), Gn.current = e, qn(e);
|
|
1271
|
+
let t = H.current, n = t.map.rowOfLine(e) * t.lineHeight + t.padY, { y: r } = z.current, i = document.activeElement;
|
|
1272
|
+
(n < r || n + t.lineHeight > r + t.height) && i?.matches(":focus-visible") && A.current.contains(i) && i !== j.current && (U.current = { y: u(n, t.lineHeight, t.height, r, "nearest", t.lineHeight) }, ar());
|
|
1273
|
+
}, [ar]), xi = y((e) => {
|
|
1274
|
+
clearTimeout(yi.current), yi.current = setTimeout(() => {
|
|
1275
|
+
Gn.current === e && (Gn.current = null, qn(null));
|
|
1276
|
+
}, 0);
|
|
1277
|
+
}, []), Si = S(R);
|
|
1278
|
+
b(() => {
|
|
1279
|
+
if (Si.current !== R) {
|
|
1280
|
+
let e = H.current, t = Math.max(0, Math.floor((z.current.y - e.padY) / e.lineHeight)), n = z.current.y - t * e.lineHeight, { line: r, part: i } = Si.current.locate(t);
|
|
1281
|
+
Si.current = R;
|
|
1282
|
+
let a = er.wrap && e.wrap && er.cols ? Math.floor(i * e.cols / er.cols) : 0, o = (R.rowOfLine(r) + a) * er.lineHeight + n;
|
|
1283
|
+
o !== z.current.y && (U.current = {
|
|
1284
|
+
y: o,
|
|
1285
|
+
...U.current
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
H.current = er, ir(!1), U.current && ar();
|
|
1289
|
+
let e = A.current, t = e.clientHeight;
|
|
1290
|
+
(t !== bn.height || e.clientWidth !== bn.width) && xn({
|
|
1291
|
+
width: e.clientWidth,
|
|
1292
|
+
height: t
|
|
1293
|
+
}), wr.current && (wr.current = !1, Hr()), ur.current && Vr(), Br(), yn();
|
|
1294
|
+
});
|
|
1295
|
+
let Ci = S(null), wi = typeof zt == "object" ? zt : null;
|
|
1296
|
+
b(() => {
|
|
1297
|
+
if (!Bn) return;
|
|
1298
|
+
let e = Lt == null ? null : `${Lt}:${Rt ?? ""}`;
|
|
1299
|
+
e !== Ci.current && (Ci.current = e, Lt != null && zt !== !1 && W(Lt, {
|
|
1300
|
+
column: Rt ?? void 0,
|
|
1301
|
+
reveal: !0,
|
|
1302
|
+
smooth: wi?.smooth
|
|
1303
|
+
}));
|
|
1304
|
+
}, [
|
|
1305
|
+
Lt,
|
|
1306
|
+
Rt,
|
|
1307
|
+
zt,
|
|
1308
|
+
wi?.smooth,
|
|
1309
|
+
Bn,
|
|
1310
|
+
W
|
|
1311
|
+
]);
|
|
1312
|
+
let Ti = Ht == null ? null : typeof Ht == "number" ? { line: Ht } : Ht, Ei = S(null), Di = Ti && `${Ti.line}:${Ti.column ?? ""}:${Ti.align ?? ""}:${Ti.smooth ?? ""}`;
|
|
1313
|
+
b(() => {
|
|
1314
|
+
Bn && Di !== Ei.current && (Ei.current = Di, Ti && W(Ti.line, Ti));
|
|
1315
|
+
}, [
|
|
1316
|
+
Di,
|
|
1317
|
+
Bn,
|
|
1318
|
+
W
|
|
1319
|
+
]), Re(f, () => ({
|
|
1320
|
+
scrollToLine: (e, t) => W(e, t),
|
|
1321
|
+
getSelection: () => {
|
|
1322
|
+
let e = K.current;
|
|
1323
|
+
return e ? {
|
|
1324
|
+
anchor: P(e.anchor),
|
|
1325
|
+
focus: P(e.focus)
|
|
1326
|
+
} : null;
|
|
1327
|
+
},
|
|
1328
|
+
getSelectionText: () => {
|
|
1329
|
+
let e = K.current;
|
|
1330
|
+
return e ? ue(e, J).text : "";
|
|
1331
|
+
},
|
|
1332
|
+
setSelection: (e) => {
|
|
1333
|
+
let t = (e) => {
|
|
1334
|
+
let t = O(e.line - un.current, 0, Math.max(0, M.count - 1));
|
|
1335
|
+
return {
|
|
1336
|
+
line: t,
|
|
1337
|
+
offset: O(e.column, 0, J(t).length)
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
E?.seal(), Tr.current = null, q(e ? {
|
|
1341
|
+
anchor: t(e.anchor),
|
|
1342
|
+
focus: t(e.focus)
|
|
1343
|
+
} : T ? K.current && v(K.current.focus) : null, { reason: "imperative" }), Y();
|
|
1344
|
+
},
|
|
1345
|
+
selectAll: Cr,
|
|
1346
|
+
focus: zr,
|
|
1347
|
+
getValue: () => w ? w.getText() : Array.from({ length: M.count }, (e, t) => J(t)).join("\n")
|
|
1348
|
+
}), [
|
|
1349
|
+
J,
|
|
1350
|
+
W,
|
|
1351
|
+
q,
|
|
1352
|
+
Cr,
|
|
1353
|
+
M,
|
|
1354
|
+
Y,
|
|
1355
|
+
P,
|
|
1356
|
+
w,
|
|
1357
|
+
T,
|
|
1358
|
+
E,
|
|
1359
|
+
zr
|
|
1360
|
+
]), _n?.beginFrame(Jn.length ? Jn[0].line : 0, Jn.length ? Jn[Jn.length - 1].line + 1 : 0);
|
|
1361
|
+
let Oi = x(() => {
|
|
1362
|
+
if (!Vt) return null;
|
|
1363
|
+
if (typeof Vt == "function") return Vt;
|
|
1364
|
+
let e = /* @__PURE__ */ new Map();
|
|
1365
|
+
for (let t of Vt) {
|
|
1366
|
+
if (t.line === void 0) continue;
|
|
1367
|
+
let n = e.get(t.line);
|
|
1368
|
+
n ? n.push(t) : e.set(t.line, [t]);
|
|
1369
|
+
}
|
|
1370
|
+
return (t) => e.get(t);
|
|
1371
|
+
}, [Vt]), ki = S({
|
|
1372
|
+
gutters: Fn,
|
|
1373
|
+
markerLookup: Oi
|
|
1374
|
+
});
|
|
1375
|
+
ki.current = {
|
|
1376
|
+
gutters: Fn,
|
|
1377
|
+
markerLookup: Oi
|
|
1378
|
+
};
|
|
1379
|
+
let Ai = (e) => {
|
|
1380
|
+
let t = ki.current.markerLookup?.(e);
|
|
1381
|
+
return t?.length ? ne(t, 0, Infinity) : null;
|
|
1382
|
+
}, ji = y((e, t, n) => {
|
|
1383
|
+
let i = e + un.current;
|
|
1384
|
+
if (t === "marker") {
|
|
1385
|
+
let t = Ai(i), a = -1;
|
|
1386
|
+
return t?.forEach((e, r) => {
|
|
1387
|
+
e.onClick && (a < 0 || Math.abs(e.column - n) < Math.abs(t[a].column - n)) && (a = r);
|
|
1388
|
+
}), a < 0 ? void 0 : r(e, `marker:${a}`);
|
|
1389
|
+
}
|
|
1390
|
+
let a = ki.current.gutters.find((e) => e.id === t);
|
|
1391
|
+
if (a) return a.onClick && (a.clickable?.(i) ?? !0) || a.focusable?.(i) ? r(e, t) : void 0;
|
|
1392
|
+
}, []), Mi = y((e, t) => {
|
|
1393
|
+
let n = /:marker:(\d+)$/.exec(t)?.[1], r = e + un.current, i = n === void 0 ? void 0 : Ai(r)?.[Number(n)];
|
|
1394
|
+
W(r, {
|
|
1395
|
+
column: i?.column,
|
|
1396
|
+
reveal: !0
|
|
1397
|
+
});
|
|
1398
|
+
}, [W]), Ni = Ge(i, {
|
|
1399
|
+
lineCount: M.count,
|
|
1400
|
+
controlAt: ji,
|
|
1401
|
+
reveal: Mi,
|
|
1402
|
+
read: Qr,
|
|
1403
|
+
onWrite: T ? Zr : void 0
|
|
1404
|
+
}), Pi = G ? _(G) : null, Fi = Z.current, Ii = Fi ? {
|
|
1405
|
+
from: Fi.from,
|
|
1406
|
+
to: Fi.end
|
|
1407
|
+
} : null, Li = T && G ? G.focus.line : -1, Ri = T && jr && G ? Ae(G.focus, N.get(G.focus.line), R, k ? Rn : 0) : null, zi = [], Bi = [], Vi = [];
|
|
1408
|
+
for (let { row: t, line: n, part: r, metrics: i } of Jn) {
|
|
1409
|
+
let a = n + kt, o = (O(t, V.start - 1, V.end) - B.originRow) * qt, s = Bt?.(a) ?? null, c = Lt === a, l = s?.tone ?? (c ? "current" : null);
|
|
1410
|
+
(l || s?.className) && zi.push(/* @__PURE__ */ C("div", {
|
|
1411
|
+
"data-slot": "code-editor-band",
|
|
1412
|
+
"data-tone": l ?? void 0,
|
|
1413
|
+
className: e(mt({ tone: l ?? "none" }), s?.className),
|
|
1414
|
+
style: { top: o }
|
|
1415
|
+
}, t));
|
|
1416
|
+
let u = L.added.has(a) ? "add" : L.removed.has(a) ? "del" : L.marked.has(a) ? "highlight" : null;
|
|
1417
|
+
u && zi.push(/* @__PURE__ */ C("div", {
|
|
1418
|
+
"data-slot": "code-editor-band",
|
|
1419
|
+
"data-mark": u,
|
|
1420
|
+
className: e(mt(), "bl-code-band"),
|
|
1421
|
+
style: { top: o }
|
|
1422
|
+
}, `${t}:mark`)), r === 0 && Fn.length && Bi.push(/* @__PURE__ */ C(jt, {
|
|
1423
|
+
row: t,
|
|
1424
|
+
line: n,
|
|
1425
|
+
lineNumber: a,
|
|
1426
|
+
top: o,
|
|
1427
|
+
gutters: Fn,
|
|
1428
|
+
current: c || jr && n === Li,
|
|
1429
|
+
gutterClassName: s?.gutterClassName,
|
|
1430
|
+
controls: Ni,
|
|
1431
|
+
onFocusLine: bi,
|
|
1432
|
+
onBlurLine: xi
|
|
1433
|
+
}, t));
|
|
1434
|
+
let d, f;
|
|
1435
|
+
k ? (d = _e(i, r, Rn), f = r * Rn) : (d = {
|
|
1436
|
+
start: i.offsetAt(B.cells.start),
|
|
1437
|
+
end: i.offsetAt(B.cells.end)
|
|
1438
|
+
}, f = B.originCell);
|
|
1439
|
+
let p = d.end >= i.text.length, m = k ? (r + 1) * Rn + +!!p : B.cells.end, ee = D + (i.cellAt(d.start) - f) * F, h = 0, g = 0;
|
|
1440
|
+
if (Pi) {
|
|
1441
|
+
let e = le(Pi, n, i);
|
|
1442
|
+
if (e) {
|
|
1443
|
+
let t = Math.max(e.start, k ? f : B.cells.start), n = Math.min(e.end, m);
|
|
1444
|
+
n > t && (h = D + (t - f) * F, g = (n - t) * F);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
let te = 0, re = 0;
|
|
1448
|
+
if (Ii) {
|
|
1449
|
+
let e = le(Ii, n, i);
|
|
1450
|
+
if (e) {
|
|
1451
|
+
let t = Math.max(e.start, k ? f : B.cells.start), n = Math.min(e.end, m);
|
|
1452
|
+
n > t && (te = D + (t - f) * F, re = (n - t) * F);
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
let ie = -1;
|
|
1456
|
+
if (c && Rt != null) {
|
|
1457
|
+
let e = i.cellAt(Rt);
|
|
1458
|
+
e >= (k ? f : B.cells.start) && e < m && (ie = D + (e - f) * F);
|
|
1459
|
+
}
|
|
1460
|
+
let ae = null, _ = Oi?.(a);
|
|
1461
|
+
if (_?.length) {
|
|
1462
|
+
let e = ne(_, d.start, p ? Infinity : d.end);
|
|
1463
|
+
if (e.length) {
|
|
1464
|
+
let t = ne(_, 0, Infinity).indexOf(e[0]);
|
|
1465
|
+
ae = e.map((e, n) => ({
|
|
1466
|
+
...e,
|
|
1467
|
+
index: t + n,
|
|
1468
|
+
left: D + (i.cellAt(e.column) - f) * F
|
|
1469
|
+
}));
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
Vi.push(/* @__PURE__ */ C(Ct, {
|
|
1473
|
+
metrics: i,
|
|
1474
|
+
store: _n,
|
|
1475
|
+
row: t,
|
|
1476
|
+
rowCount: Wn,
|
|
1477
|
+
line: n,
|
|
1478
|
+
lineNumber: a,
|
|
1479
|
+
top: o,
|
|
1480
|
+
start: d.start,
|
|
1481
|
+
end: d.end,
|
|
1482
|
+
left: ee,
|
|
1483
|
+
selectionLeft: h,
|
|
1484
|
+
selectionWidth: g,
|
|
1485
|
+
composingLeft: te,
|
|
1486
|
+
composingWidth: re,
|
|
1487
|
+
columnLeft: ie,
|
|
1488
|
+
textClassName: s?.textClassName,
|
|
1489
|
+
extra: r === 0 ? It?.(a) : void 0,
|
|
1490
|
+
markers: ae,
|
|
1491
|
+
controls: Ni,
|
|
1492
|
+
onFocusLine: bi,
|
|
1493
|
+
onBlurLine: xi
|
|
1494
|
+
}, t));
|
|
1495
|
+
}
|
|
1496
|
+
let Hi = nn ?? "Source code", Ui = null;
|
|
1497
|
+
if (Ri && Ri.row >= V.start && Ri.row < Math.min(V.end, Wn)) {
|
|
1498
|
+
let e = k ? Ri.cell : Ri.cell - B.originCell;
|
|
1499
|
+
Ui = /* @__PURE__ */ C("div", {
|
|
1500
|
+
"data-slot": "code-editor-caret",
|
|
1501
|
+
"aria-hidden": "true",
|
|
1502
|
+
className: "bl-code-caret pointer-events-none absolute w-0.5 bg-(--bl-syntax-caret,var(--foreground))",
|
|
1503
|
+
style: {
|
|
1504
|
+
top: (Ri.row - B.originRow) * qt,
|
|
1505
|
+
height: qt,
|
|
1506
|
+
left: D + e * F - 1
|
|
1507
|
+
}
|
|
1508
|
+
}, Nr);
|
|
1509
|
+
}
|
|
1510
|
+
let Wi = se(Zn + In), Gi = se($n);
|
|
1511
|
+
return /* @__PURE__ */ C("div", {
|
|
1512
|
+
ref: A,
|
|
1513
|
+
"data-slot": "code-editor-content",
|
|
1514
|
+
"data-wrap": k || void 0,
|
|
1515
|
+
"data-editable": T || void 0,
|
|
1516
|
+
dir: "ltr",
|
|
1517
|
+
role: T ? void 0 : "region",
|
|
1518
|
+
"aria-label": T ? void 0 : Hi,
|
|
1519
|
+
tabIndex: T ? void 0 : 0,
|
|
1520
|
+
onKeyDown: _i,
|
|
1521
|
+
onCopy: Sr,
|
|
1522
|
+
onCut: ai,
|
|
1523
|
+
onPaste: oi,
|
|
1524
|
+
onContextMenu: vi,
|
|
1525
|
+
className: e("group/code-editor bl-scroll relative min-h-0 w-full min-w-0 flex-1 overflow-auto overscroll-x-contain leading-(--code-editor-line) outline-none [contain:inline-size] [font-kerning:none] [font-variant-ligatures:none] [overflow-anchor:none] focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-ring", k && "overflow-x-hidden", Qt),
|
|
1526
|
+
style: {
|
|
1527
|
+
"--code-editor-line": `${qt}px`,
|
|
1528
|
+
"--code-editor-cell": `${F}px`,
|
|
1529
|
+
maxHeight: Gt ?? Ze,
|
|
1530
|
+
...$t
|
|
1531
|
+
},
|
|
1532
|
+
children: /* @__PURE__ */ C("div", {
|
|
1533
|
+
"data-slot": "code-editor-extent",
|
|
1534
|
+
className: "relative",
|
|
1535
|
+
style: {
|
|
1536
|
+
width: Math.max(bn.width, Wi),
|
|
1537
|
+
height: Gi
|
|
1538
|
+
},
|
|
1539
|
+
children: /* @__PURE__ */ We("div", {
|
|
1540
|
+
"data-slot": "code-editor-viewport",
|
|
1541
|
+
className: "sticky top-0 left-0 overflow-clip select-none [contain:strict]",
|
|
1542
|
+
style: {
|
|
1543
|
+
width: bn.width,
|
|
1544
|
+
height: Bn
|
|
1545
|
+
},
|
|
1546
|
+
onMouseDown: T ? (e) => {
|
|
1547
|
+
let t = e.target;
|
|
1548
|
+
!e.currentTarget.contains(t) || t === j.current || t.closest(pt) || (e.preventDefault(), zr());
|
|
1549
|
+
} : void 0,
|
|
1550
|
+
children: [
|
|
1551
|
+
T ? /* @__PURE__ */ C(Dt, {
|
|
1552
|
+
controls: Ni,
|
|
1553
|
+
ref: j,
|
|
1554
|
+
"aria-label": Hi,
|
|
1555
|
+
autoCapitalize: "off",
|
|
1556
|
+
autoComplete: "off",
|
|
1557
|
+
autoCorrect: "off",
|
|
1558
|
+
spellCheck: !1,
|
|
1559
|
+
wrap: "off",
|
|
1560
|
+
rows: 1,
|
|
1561
|
+
onFocus: si,
|
|
1562
|
+
onBlur: ci,
|
|
1563
|
+
onCompositionStart: li,
|
|
1564
|
+
onCompositionUpdate: ui,
|
|
1565
|
+
onCompositionEnd: di,
|
|
1566
|
+
className: "pointer-events-none absolute top-0 left-0 z-20 m-0 h-(--code-editor-line) w-px resize-none overflow-hidden border-0 bg-transparent p-0 text-body whitespace-pre text-transparent caret-transparent opacity-0 outline-none select-text"
|
|
1567
|
+
}) : null,
|
|
1568
|
+
/* @__PURE__ */ C("span", {
|
|
1569
|
+
ref: sn,
|
|
1570
|
+
"aria-hidden": "true",
|
|
1571
|
+
className: "invisible absolute top-0 left-0 whitespace-pre",
|
|
1572
|
+
children: qe
|
|
1573
|
+
}),
|
|
1574
|
+
/* @__PURE__ */ C("span", {
|
|
1575
|
+
ref: cn,
|
|
1576
|
+
"aria-hidden": "true",
|
|
1577
|
+
"data-slot": "code-editor-copy-proxy",
|
|
1578
|
+
className: "sr-only whitespace-pre select-text"
|
|
1579
|
+
}),
|
|
1580
|
+
In > 0 && xt?.length ? /* @__PURE__ */ C("div", {
|
|
1581
|
+
className: "absolute inset-y-0 left-0 border-r border-border",
|
|
1582
|
+
style: { width: In }
|
|
1583
|
+
}) : null,
|
|
1584
|
+
/* @__PURE__ */ We("div", {
|
|
1585
|
+
ref: an,
|
|
1586
|
+
"data-slot": "code-editor-gutter",
|
|
1587
|
+
className: "absolute top-0 left-0 w-full will-change-transform",
|
|
1588
|
+
children: [zi, Bi]
|
|
1589
|
+
}),
|
|
1590
|
+
/* @__PURE__ */ C("div", {
|
|
1591
|
+
ref: rn,
|
|
1592
|
+
"data-slot": "code-editor-code",
|
|
1593
|
+
className: "absolute inset-y-0 right-0 cursor-text overflow-clip [-webkit-touch-callout:none]",
|
|
1594
|
+
style: { left: In },
|
|
1595
|
+
onPointerDown: br,
|
|
1596
|
+
children: /* @__PURE__ */ We("div", {
|
|
1597
|
+
ref: on,
|
|
1598
|
+
role: "list",
|
|
1599
|
+
className: "absolute top-0 left-0 w-full will-change-transform [unicode-bidi:bidi-override]",
|
|
1600
|
+
children: [Vi, Ui]
|
|
1601
|
+
})
|
|
1602
|
+
})
|
|
1603
|
+
]
|
|
1604
|
+
})
|
|
1605
|
+
})
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
//#endregion
|
|
1609
|
+
export { Pt as CodeEditorWindow, ht as codeEditorGutterCellVariants, mt as codeEditorLineVariants };
|