@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
|
@@ -1,106 +1,96 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn as e,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
2
|
+
import { cn as e, cx as t } from "../../lib/utils.js";
|
|
3
|
+
import { motionEngine as n, requestMotionEngine as r, useMotionRequest as i } from "../../lib/motion-lazy.js";
|
|
4
|
+
import { prefersReducedMotion as a } from "../../lib/reduced-motion.js";
|
|
5
|
+
import { flipPlay as o, flipSnapshot as s, springs as c } from "../../lib/motion.js";
|
|
6
|
+
import { useEnterExit as l, usePresence as u, usePresenceList as d } from "../../lib/presence.js";
|
|
7
|
+
import { TextMorph as f } from "../text-morph.js";
|
|
8
|
+
import { Swap as p } from "../swap.js";
|
|
9
|
+
import { pressable as m, pressableFocusRing as h } from "../../lib/primitives.js";
|
|
10
|
+
import { themeScopeProps as g } from "../../lib/theme.js";
|
|
11
|
+
import { useControllableChange as _ } from "../../lib/controllable-state.js";
|
|
12
|
+
import { Chevron as v, Icon as y } from "../../lib/icon.js";
|
|
13
|
+
import { DropdownMenu as b, DropdownMenuContent as x, DropdownMenuRadioGroup as S, DropdownMenuRadioItem as C, DropdownMenuTrigger as w } from "../dropdown-menu.js";
|
|
14
|
+
import { Button as T, buttonVariants as E } from "../button.js";
|
|
15
|
+
import { Separator as ee } from "../separator.js";
|
|
16
|
+
import { useKeptChildren as te } from "../../lib/kept-children.js";
|
|
17
|
+
import { useToast as ne } from "../toast.js";
|
|
18
|
+
import { formatFileSize as re } from "../../lib/file-size.js";
|
|
19
|
+
import { useImageAnnotatorEngine as ie } from "../pencilkit/annotator-engine.js";
|
|
20
|
+
import { ImageAnnotator as ae } from "../pencilkit/image-annotator.js";
|
|
21
|
+
import { insertMarkdown as oe, looksLikeMarkdown as se } from "../markdown-editor.js";
|
|
22
|
+
import { ComposerContext as ce, ComposerOutletContext as le, useComposerInternals as D } from "./composer-context.js";
|
|
23
|
+
import { acceptsFile as ue, attachmentFileName as de, attachmentKind as fe, attachmentKindFace as pe, attachmentMeta as me, describeAccepted as he, fileExtension as ge, readFileAsDataURL as _e, textExcerpt as ve, videoPoster as ye } from "./composer-files.js";
|
|
24
|
+
import * as O from "react";
|
|
25
|
+
import { useRef as k, useState as A } from "react";
|
|
26
|
+
import { animateIn as be, announce as xe, bindDrag as j, bindLayer as Se, createFocusRecovery as Ce, dragThreshold as we } from "../../vendor/ui-sdk/core/index.js";
|
|
17
27
|
import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { useFocusRing as ce } from "react-aria/useFocusRing";
|
|
25
|
-
import { mergeProps as le } from "react-aria/mergeProps";
|
|
26
|
-
import { Extension as H } from "@tiptap/core";
|
|
27
|
-
import { Plugin as ue } from "@tiptap/pm/state";
|
|
28
|
+
import { cva as F } from "class-variance-authority";
|
|
29
|
+
import { createVelocityTracker as Te, rubberBand as I } from "../../vendor/ui-sdk/core/foundation/motion/gesture.js";
|
|
30
|
+
import { Button as L } from "../../vendor/ui-sdk/react/button.js";
|
|
31
|
+
import { Toggle as R } from "../../vendor/ui-sdk/react/toggle.js";
|
|
32
|
+
import { FileInput as z, FileInputDropzone as Ee, FileInputTrigger as B } from "../../vendor/ui-sdk/react/file-input.js";
|
|
33
|
+
import { GitbookEditor as V } from "@brett_lamy/ui/docstream-editor/editor";
|
|
28
34
|
//#region src/components/composer/composer.tsx
|
|
29
|
-
var
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
if (!e) throw Error("useComposer must be used within <Composer>");
|
|
33
|
-
return e;
|
|
34
|
-
}
|
|
35
|
-
var fe = k.createContext(null);
|
|
36
|
-
function W({ parts: e, renderCard: t, className: n, children: r }) {
|
|
37
|
-
let i = k.useMemo(() => ({
|
|
38
|
-
parts: e,
|
|
39
|
-
renderCard: t,
|
|
40
|
-
className: n
|
|
41
|
-
}), [
|
|
42
|
-
e,
|
|
43
|
-
t,
|
|
44
|
-
n
|
|
45
|
-
]);
|
|
46
|
-
return /* @__PURE__ */ N(fe.Provider, {
|
|
47
|
-
value: i,
|
|
48
|
-
children: r
|
|
49
|
-
});
|
|
35
|
+
var De = (e) => typeof e == "string" ? e.split(",").map((e) => e.trim()).filter(Boolean) : e;
|
|
36
|
+
function H() {
|
|
37
|
+
return D();
|
|
50
38
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return o.current = a, [a, k.useCallback((t) => {
|
|
54
|
-
let r = typeof t == "function" ? t(o.current) : t;
|
|
55
|
-
o.current = r, e === void 0 && i(r), n?.(r);
|
|
56
|
-
}, [e === void 0, n])];
|
|
57
|
-
}
|
|
58
|
-
var pe = () => "att-" + Math.random().toString(36).slice(2, 12);
|
|
59
|
-
function me(e) {
|
|
39
|
+
var Oe = () => "att-" + Math.random().toString(36).slice(2, 12);
|
|
40
|
+
function ke(e) {
|
|
60
41
|
if (e.kind) return e.kind;
|
|
61
|
-
let t =
|
|
42
|
+
let t = fe(e.type, e.name);
|
|
62
43
|
return t === "other" && !e.type && (!e.src || e.src.startsWith("data:image/")) ? "image" : t;
|
|
63
44
|
}
|
|
64
|
-
function
|
|
65
|
-
let
|
|
66
|
-
|
|
67
|
-
let
|
|
68
|
-
|
|
69
|
-
let
|
|
45
|
+
function Ae({ value: t, defaultValue: o = "", onValueChange: s, attachments: c, defaultAttachments: l = [], onAttachmentsChange: u, expanded: d, defaultExpanded: f = !1, onExpandedChange: p, streaming: m = !1, onStop: h, onSubmit: g, disabled: v = !1, annotator: y, accept: b, maxSize: x, maxFiles: S, onDropFiles: C, onReject: w, collapsed: T, defaultCollapsed: E = "none", onCollapsedChange: ee, collapseOnScroll: te, collapse: oe = "compact", collapseAnchor: se = "bottom", fabAlign: D = "end", fabIcon: pe, children: me, className: ge, style: be, ref: j, ...Se }) {
|
|
46
|
+
let Ce = O.useContext(le), we = ie(), M = y === void 0 ? we : y, [F, I] = _(t, o, s), [L, R] = _(c, l, u), [z, Ee] = _(d, f, p), [B, V] = _(T, E, ee), [H, Ae] = A(null), [Fe, U] = A(null), [Ie, W] = A(!1), ze = k(null), [Be, Ve] = A(null), G = k(null), He = k(F);
|
|
47
|
+
He.current = F;
|
|
48
|
+
let K = k(L);
|
|
49
|
+
K.current = L;
|
|
50
|
+
let Ue = !!(F.trim() || L.length), We = O.useCallback((e, t) => R((t) => t.some((t) => t.id === e.id) ? t : [...t, e], t), [R]), Ge = O.useCallback((e, t, n) => R((n) => n.map((n) => n.id === e ? {
|
|
70
51
|
...n,
|
|
71
52
|
...t
|
|
72
|
-
} : n)), [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
53
|
+
} : n), n), [R]), q = k(!1), J = k(null), Ke = (e, t = { reason: "remove" }) => {
|
|
54
|
+
if (q.current || J.current === e) return !1;
|
|
55
|
+
let n = K.current.some((t) => t.id === e);
|
|
56
|
+
if (n && !R((t) => t.filter((t) => t.id !== e), t)) return !1;
|
|
57
|
+
J.current = e;
|
|
58
|
+
try {
|
|
59
|
+
H?.commands.removeAttachment(e);
|
|
60
|
+
} finally {
|
|
61
|
+
J.current = null;
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}, qe = O.useCallback((e, t) => !q.current && I(e, t), [I]), Y = k(/* @__PURE__ */ new Map()), Je = k([]), X = k(0);
|
|
65
|
+
O.useEffect(() => {
|
|
66
|
+
let e = new Set(L.map((e) => e.id));
|
|
67
|
+
Y.current.forEach((t, n) => {
|
|
68
|
+
e.has(n) || (URL.revokeObjectURL(t), Y.current.delete(n));
|
|
79
69
|
});
|
|
80
|
-
}, [
|
|
81
|
-
|
|
70
|
+
}, [L]), O.useEffect(() => () => {
|
|
71
|
+
Y.current.forEach((e) => URL.revokeObjectURL(e)), Y.current.clear(), Je.current.forEach((e) => URL.revokeObjectURL(e)), Je.current = [];
|
|
82
72
|
}, []);
|
|
83
|
-
let
|
|
73
|
+
let Z = O.useMemo(() => De(b), [b]), Ye = ne(), Xe = (e) => {
|
|
84
74
|
if (!e.length) return;
|
|
85
|
-
if (
|
|
75
|
+
if (w) return w(e);
|
|
86
76
|
let t = (e) => {
|
|
87
77
|
let t = e.map((e) => e.file.name || "a file"), n = t.slice(0, 2).join(t.length === 2 ? " and " : ", ");
|
|
88
78
|
return t.length > 2 ? `${n} and ${t.length - 2} more` : n;
|
|
89
|
-
}, n = (t) => e.filter((e) => e.
|
|
90
|
-
n("type"),
|
|
91
|
-
n("
|
|
92
|
-
n("
|
|
79
|
+
}, n = (t) => e.filter((e) => e.reasons[0] === t), [r, i, a] = [
|
|
80
|
+
n("file-type"),
|
|
81
|
+
n("file-too-large"),
|
|
82
|
+
n("too-many-files")
|
|
93
83
|
], o = (e) => e.length > 1 ? "are" : "is", s = [
|
|
94
|
-
r.length && `${t(r)} ${o(r)} not a type this composer takes (${
|
|
95
|
-
i.length && `${t(i)} ${o(i)} over the ${
|
|
96
|
-
a.length && `${t(a)} didn't fit — a draft holds ${
|
|
84
|
+
r.length && `${t(r)} ${o(r)} not a type this composer takes (${he(Z)}).`,
|
|
85
|
+
i.length && `${t(i)} ${o(i)} over the ${re(x)} limit.`,
|
|
86
|
+
a.length && `${t(a)} didn't fit — a draft holds ${S} attachment${S === 1 ? "" : "s"}.`
|
|
97
87
|
].filter(Boolean), c = e.length;
|
|
98
|
-
|
|
88
|
+
Ye.warning(c === 1 ? "Couldn't attach a file" : `Couldn't attach ${c} files`, {
|
|
99
89
|
id: "composer-files-rejected",
|
|
100
90
|
description: s.join(" ")
|
|
101
91
|
});
|
|
102
|
-
},
|
|
103
|
-
let n =
|
|
92
|
+
}, Ze = (e, t) => {
|
|
93
|
+
let n = H;
|
|
104
94
|
if (!n || n.isDestroyed || !e.length) return;
|
|
105
95
|
let r = t === void 0 ? void 0 : Math.min(t, n.state.doc.content.size), i = r === void 0 ? n.state.selection.$from : n.state.doc.resolve(r), a = i.parent.isTextblock ? i.parent.textBetween(Math.max(0, i.parentOffset - 1), i.parentOffset, "", "") : "", o = [...a && !/\s/.test(a) ? [{
|
|
106
96
|
type: "text",
|
|
@@ -116,49 +106,54 @@ function he({ value: t, defaultValue: n = "", onValueChange: r, attachments: a,
|
|
|
116
106
|
text: " "
|
|
117
107
|
}])], s = n.chain().focus();
|
|
118
108
|
(r === void 0 ? s.insertContent(o) : s.insertContentAt(r, o)).run();
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
|
|
109
|
+
}, Qe = (e, { source: t = "api", point: n, event: r } = {}) => {
|
|
110
|
+
if (v) return;
|
|
111
|
+
let i = [], a = e.filter((e) => {
|
|
112
|
+
if (!ue(e, Z)) i.push({
|
|
122
113
|
file: e,
|
|
123
|
-
|
|
114
|
+
reasons: ["file-type"]
|
|
124
115
|
});
|
|
125
|
-
else if (
|
|
116
|
+
else if (x != null && e.size > x) i.push({
|
|
126
117
|
file: e,
|
|
127
|
-
|
|
118
|
+
reasons: ["file-too-large"]
|
|
128
119
|
});
|
|
129
120
|
else return !0;
|
|
130
121
|
return !1;
|
|
131
122
|
});
|
|
132
|
-
if (
|
|
133
|
-
let e = Math.max(0,
|
|
134
|
-
|
|
123
|
+
if (S != null) {
|
|
124
|
+
let e = Math.max(0, S - K.current.length - X.current);
|
|
125
|
+
a.slice(e).forEach((e) => i.push({
|
|
135
126
|
file: e,
|
|
136
|
-
|
|
137
|
-
})),
|
|
127
|
+
reasons: ["too-many-files"]
|
|
128
|
+
})), a = a.slice(0, e);
|
|
138
129
|
}
|
|
139
|
-
if (
|
|
140
|
-
let e =
|
|
141
|
-
e === !1 ?
|
|
130
|
+
if (Xe(i), a.length && C) {
|
|
131
|
+
let e = C(a, t);
|
|
132
|
+
e === !1 ? a = [] : Array.isArray(e) && (a = e);
|
|
142
133
|
}
|
|
143
|
-
if (!
|
|
144
|
-
let
|
|
145
|
-
let t =
|
|
134
|
+
if (!a.length) return;
|
|
135
|
+
let o = a.map((e) => {
|
|
136
|
+
let t = fe(e.type, e.name);
|
|
146
137
|
return {
|
|
147
138
|
file: e,
|
|
148
139
|
kind: t,
|
|
149
|
-
id:
|
|
150
|
-
name:
|
|
140
|
+
id: Oe(),
|
|
141
|
+
name: de(e, t === "image" ? "image.png" : "file")
|
|
151
142
|
};
|
|
152
|
-
}),
|
|
153
|
-
if (n &&
|
|
143
|
+
}), s = o.filter((e) => e.kind === "image"), c;
|
|
144
|
+
if (n && H && !H.isDestroyed) {
|
|
154
145
|
let e = typeof document < "u" ? document.elementFromPoint(n.x, n.y) : null;
|
|
155
|
-
e &&
|
|
146
|
+
e && H.view.dom.contains(e) && (c = H.view.posAtCoords({
|
|
156
147
|
left: n.x,
|
|
157
148
|
top: n.y
|
|
158
149
|
})?.pos);
|
|
159
150
|
}
|
|
160
|
-
|
|
161
|
-
|
|
151
|
+
Ze(s, c), xe(`Attached ${a.length === 1 ? o[0].name : `${a.length} files`}.`);
|
|
152
|
+
let l = {
|
|
153
|
+
reason: t === "api" ? "imperative" : t,
|
|
154
|
+
event: r
|
|
155
|
+
};
|
|
156
|
+
for (let { file: e, kind: t, id: n, name: r } of o) {
|
|
162
157
|
let i = {
|
|
163
158
|
id: n,
|
|
164
159
|
name: r,
|
|
@@ -167,23 +162,23 @@ function he({ value: t, defaultValue: n = "", onValueChange: r, attachments: a,
|
|
|
167
162
|
kind: t,
|
|
168
163
|
file: e
|
|
169
164
|
};
|
|
170
|
-
|
|
165
|
+
X.current++;
|
|
171
166
|
let a = (e) => {
|
|
172
|
-
|
|
167
|
+
X.current--, !We(e, l) && t === "image" && !K.current.some((e) => e.id === n) && H?.commands.removeAttachment(n);
|
|
173
168
|
};
|
|
174
169
|
if (t === "image") {
|
|
175
|
-
|
|
170
|
+
_e(e).then((e) => a({
|
|
176
171
|
...i,
|
|
177
172
|
src: e
|
|
178
173
|
}), () => a(i));
|
|
179
174
|
continue;
|
|
180
175
|
}
|
|
181
176
|
let o = URL.createObjectURL(e);
|
|
182
|
-
|
|
177
|
+
Y.current.set(n, o), t === "text" ? ve(e).then((e) => a({
|
|
183
178
|
...i,
|
|
184
179
|
src: o,
|
|
185
180
|
excerpt: e
|
|
186
|
-
})) : t === "video" ?
|
|
181
|
+
})) : t === "video" ? ye(o, { timeout: 2500 }).then((e) => a({
|
|
187
182
|
...i,
|
|
188
183
|
src: o,
|
|
189
184
|
preview: e
|
|
@@ -192,369 +187,306 @@ function he({ value: t, defaultValue: n = "", onValueChange: r, attachments: a,
|
|
|
192
187
|
src: o
|
|
193
188
|
});
|
|
194
189
|
}
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
}, []),
|
|
198
|
-
|
|
199
|
-
let
|
|
200
|
-
if (!
|
|
201
|
-
let
|
|
202
|
-
if (
|
|
203
|
-
let
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
190
|
+
}, $e = k(null), [et, tt] = A(!1), nt = O.useCallback((e) => {
|
|
191
|
+
$e.current = e, tt(!!e);
|
|
192
|
+
}, []), rt = k(g);
|
|
193
|
+
rt.current = g;
|
|
194
|
+
let it = O.useCallback((e, t) => rt.current?.(e, t), []), at = (e) => {
|
|
195
|
+
if (!Ue || v) return;
|
|
196
|
+
let t = m ? $e.current : null;
|
|
197
|
+
if (m && !t) return;
|
|
198
|
+
let n = He.current, r = n.trim(), i = K.current;
|
|
199
|
+
if (n && !I("", {
|
|
200
|
+
reason: "send",
|
|
201
|
+
event: e
|
|
202
|
+
})) return;
|
|
203
|
+
let a = () => {
|
|
204
|
+
n && I(n, { reason: "imperative" });
|
|
205
|
+
};
|
|
206
|
+
if (i.length && !R([], {
|
|
207
|
+
reason: "send",
|
|
208
|
+
event: e
|
|
209
|
+
})) {
|
|
210
|
+
a();
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
if (t && !t(r, i, e)) {
|
|
214
|
+
a(), i.length && R(i, { reason: "imperative" });
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
for (let e of i) {
|
|
218
|
+
let t = Y.current.get(e.id);
|
|
219
|
+
t && (Je.current.push(t), Y.current.delete(e.id));
|
|
207
220
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
221
|
+
q.current = !0;
|
|
222
|
+
try {
|
|
223
|
+
H && H.commands.clearContent(!0);
|
|
224
|
+
} finally {
|
|
225
|
+
q.current = !1;
|
|
226
|
+
}
|
|
227
|
+
t || g?.(r, i);
|
|
228
|
+
}, ot = () => {
|
|
229
|
+
h?.();
|
|
230
|
+
}, st = k({
|
|
231
|
+
collapsed: B,
|
|
232
|
+
collapse: oe,
|
|
233
|
+
streaming: m,
|
|
215
234
|
draft: !1,
|
|
216
235
|
blocked: () => !1,
|
|
217
|
-
set:
|
|
236
|
+
set: V
|
|
218
237
|
});
|
|
219
|
-
|
|
220
|
-
collapsed:
|
|
221
|
-
|
|
222
|
-
streaming:
|
|
223
|
-
draft: !!
|
|
224
|
-
blocked: () => !!
|
|
225
|
-
set:
|
|
226
|
-
},
|
|
227
|
-
let e =
|
|
238
|
+
st.current = {
|
|
239
|
+
collapsed: B,
|
|
240
|
+
collapse: oe,
|
|
241
|
+
streaming: m,
|
|
242
|
+
draft: !!F.trim(),
|
|
243
|
+
blocked: () => !!Fe || L.length > 0 || !!(G.current && typeof document < "u" && G.current.contains(document.activeElement)),
|
|
244
|
+
set: V
|
|
245
|
+
}, O.useEffect(() => {
|
|
246
|
+
let e = te?.current;
|
|
228
247
|
if (!e) return;
|
|
229
|
-
let t = () =>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
t: e,
|
|
238
|
-
d: a
|
|
248
|
+
let t = () => se === "top" ? e.scrollTop : e.scrollHeight - e.scrollTop - e.clientHeight, n = t(), r = 0, i = Te({ horizon: Ne });
|
|
249
|
+
i.add(performance.now(), n);
|
|
250
|
+
let a = (e) => {
|
|
251
|
+
let a = performance.now(), o = t(), s = o - n;
|
|
252
|
+
n = o, i.add(a, o);
|
|
253
|
+
let c = i.velocity(a), l = st.current, u = (t) => l.set(t, {
|
|
254
|
+
reason: "scroll",
|
|
255
|
+
event: e
|
|
239
256
|
});
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
r = 0, l.collapsed !== "none" && l.set("none");
|
|
257
|
+
if (o < je) {
|
|
258
|
+
r = 0, l.collapsed !== "none" && u("none");
|
|
243
259
|
return;
|
|
244
260
|
}
|
|
245
|
-
if (
|
|
246
|
-
r = Math.min(0, r) +
|
|
261
|
+
if (s < 0) {
|
|
262
|
+
r = Math.min(0, r) + s, l.collapsed === "fab" && r < -160 && u("compact");
|
|
247
263
|
return;
|
|
248
264
|
}
|
|
249
|
-
if (
|
|
265
|
+
if (s !== 0) {
|
|
250
266
|
if (l.blocked()) {
|
|
251
267
|
r = 0;
|
|
252
268
|
return;
|
|
253
269
|
}
|
|
254
|
-
r = Math.max(0, r) +
|
|
270
|
+
r = Math.max(0, r) + s, l.collapse === "fab" && !l.streaming && !l.draft && l.collapsed !== "fab" && (c > Me || r > Pe) ? u("fab") : l.collapsed === "none" && r > 24 && u("compact");
|
|
255
271
|
}
|
|
256
272
|
};
|
|
257
273
|
return e.addEventListener("scroll", a, { passive: !0 }), () => e.removeEventListener("scroll", a);
|
|
258
|
-
}, [
|
|
259
|
-
let
|
|
260
|
-
|
|
261
|
-
|
|
274
|
+
}, [te, se]);
|
|
275
|
+
let ct = `${B}|${z}`, lt = k(ct), Q = k(null);
|
|
276
|
+
ct !== lt.current && !Q.current && typeof window < "u" && (Q.current = Le(G.current)), i(), O.useLayoutEffect(() => {
|
|
277
|
+
lt.current = ct;
|
|
262
278
|
let e = Q.current;
|
|
263
|
-
Q.current = null, e
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
if (Q.current = null, !e || a()) return;
|
|
280
|
+
let t = n();
|
|
281
|
+
t ? Re(t, G.current, e) : r();
|
|
282
|
+
}, [ct]);
|
|
283
|
+
let ut = (e) => {
|
|
284
|
+
V("none", {
|
|
285
|
+
reason: "press",
|
|
286
|
+
event: e?.nativeEvent
|
|
287
|
+
}) && requestAnimationFrame(() => H?.commands.focus("end"));
|
|
288
|
+
}, dt = !!te || T !== void 0 || E === "fab" || oe === "fab", ft = k(void 0), pt = k(null), mt = {
|
|
289
|
+
value: F,
|
|
290
|
+
setValue: qe,
|
|
291
|
+
attachments: L,
|
|
292
|
+
addAttachment: We,
|
|
293
|
+
removeAttachment: Ke,
|
|
294
|
+
updateAttachment: Ge,
|
|
295
|
+
attachFiles: Qe,
|
|
296
|
+
accept: Z,
|
|
297
|
+
expanded: z,
|
|
298
|
+
setExpanded: Ee,
|
|
299
|
+
streaming: m,
|
|
300
|
+
canSend: Ue,
|
|
301
|
+
send: at,
|
|
302
|
+
stop: ot,
|
|
303
|
+
submit: it,
|
|
304
|
+
canQueue: et,
|
|
305
|
+
setQueue: nt,
|
|
285
306
|
annotate: (e) => {
|
|
286
|
-
let t =
|
|
287
|
-
if (t &&
|
|
288
|
-
let n = typeof CSS < "u" ? CSS.escape(e) : e, r =
|
|
289
|
-
|
|
290
|
-
let t = r?.isConnected && r.getAttribute("data-attachment-id") === e ? r :
|
|
307
|
+
let t = K.current.find((t) => t.id === e);
|
|
308
|
+
if (t && ke(t) !== "image") return;
|
|
309
|
+
let n = typeof CSS < "u" ? CSS.escape(e) : e, r = pt.current;
|
|
310
|
+
ft.current = () => {
|
|
311
|
+
let t = r?.isConnected && r.getAttribute("data-attachment-id") === e ? r : G.current?.querySelector(`[data-slot="composer-attachment"][data-attachment-id="${n}"]`);
|
|
291
312
|
return t?.querySelector("img") ?? t ?? null;
|
|
292
|
-
},
|
|
313
|
+
}, U(e), W(!0);
|
|
293
314
|
},
|
|
294
|
-
canAnnotate:
|
|
295
|
-
editor:
|
|
296
|
-
setEditor:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}, $ =
|
|
308
|
-
return /* @__PURE__ */ N(
|
|
309
|
-
value:
|
|
310
|
-
children: /* @__PURE__ */ P(
|
|
315
|
+
canAnnotate: !!M,
|
|
316
|
+
editor: H,
|
|
317
|
+
setEditor: Ae,
|
|
318
|
+
renderCard: Ce?.renderCard,
|
|
319
|
+
collapsed: B,
|
|
320
|
+
setCollapsed: V,
|
|
321
|
+
optionsOutlet: Be,
|
|
322
|
+
setOptionsOutlet: Ve,
|
|
323
|
+
fab: dt ? {
|
|
324
|
+
icon: pe,
|
|
325
|
+
restore: ut
|
|
326
|
+
} : null,
|
|
327
|
+
disabled: v
|
|
328
|
+
}, $ = Fe ? L.find((e) => e.id === Fe) : void 0;
|
|
329
|
+
return /* @__PURE__ */ N(ce.Provider, {
|
|
330
|
+
value: mt,
|
|
331
|
+
children: /* @__PURE__ */ P(le.Provider, {
|
|
311
332
|
value: null,
|
|
312
|
-
children: [/* @__PURE__ */
|
|
333
|
+
children: [/* @__PURE__ */ N("div", {
|
|
334
|
+
...Se,
|
|
313
335
|
ref: (e) => {
|
|
314
|
-
|
|
336
|
+
G.current = e, typeof j == "function" ? j(e) : j && (j.current = e);
|
|
315
337
|
},
|
|
316
338
|
"data-slot": "composer",
|
|
317
|
-
"data-streaming":
|
|
318
|
-
"data-expanded":
|
|
319
|
-
"data-collapsed":
|
|
320
|
-
"data-fab-
|
|
339
|
+
"data-streaming": m || void 0,
|
|
340
|
+
"data-expanded": z || void 0,
|
|
341
|
+
"data-collapsed": B,
|
|
342
|
+
"data-fab-align": D,
|
|
343
|
+
"data-disabled": v || void 0,
|
|
321
344
|
onPointerDownCapture: (e) => {
|
|
322
|
-
|
|
345
|
+
pt.current = e.target.closest?.("[data-attachment-id]") ?? null, Se.onPointerDownCapture?.(e);
|
|
323
346
|
},
|
|
324
|
-
className: e("group/composer relative box-border flex w-full min-w-0 flex-col",
|
|
325
|
-
style:
|
|
326
|
-
children:
|
|
347
|
+
className: e("group/composer relative box-border flex w-full min-w-0 flex-col", Ce?.className, ge),
|
|
348
|
+
style: be,
|
|
349
|
+
children: /* @__PURE__ */ P("div", {
|
|
327
350
|
"data-slot": "composer-stack",
|
|
328
351
|
className: "flex min-w-0 flex-col",
|
|
329
|
-
children: [
|
|
330
|
-
})
|
|
331
|
-
|
|
332
|
-
role: "status",
|
|
333
|
-
"aria-live": "polite",
|
|
334
|
-
children: Le
|
|
335
|
-
}) })]
|
|
336
|
-
}), $?.src ? /* @__PURE__ */ N(ct, {
|
|
352
|
+
children: [Ce?.parts, me]
|
|
353
|
+
})
|
|
354
|
+
}), $?.src ? /* @__PURE__ */ N(ae, {
|
|
337
355
|
src: $.src,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
origin:
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
356
|
+
alt: $.name,
|
|
357
|
+
engine: M,
|
|
358
|
+
origin: ft.current,
|
|
359
|
+
open: Ie,
|
|
360
|
+
onOpenChange: W,
|
|
361
|
+
onOpenChangeComplete: (e) => {
|
|
362
|
+
if (e) return;
|
|
363
|
+
let t = ze.current;
|
|
364
|
+
ze.current = null, t && Ge($.id, {
|
|
365
|
+
src: t,
|
|
345
366
|
type: "image/png"
|
|
346
|
-
}),
|
|
367
|
+
}, { reason: "annotate" }), U(null);
|
|
368
|
+
},
|
|
369
|
+
onSave: (e) => {
|
|
370
|
+
ze.current = e;
|
|
347
371
|
}
|
|
348
372
|
}, $.id) : null]
|
|
349
373
|
})
|
|
350
374
|
});
|
|
351
375
|
}
|
|
352
|
-
var
|
|
353
|
-
function
|
|
376
|
+
var je = 72, Me = 2, Ne = 100, Pe = 420, Fe = "[data-slot=\"composer-footer\"] > :not([data-slot=\"composer-spacer\"]):not([data-slot=\"composer-options-home\"]), [data-slot=\"composer-options\"] > *, [data-composer-expand]", U = /* @__PURE__ */ new WeakMap();
|
|
377
|
+
function Ie(e) {
|
|
354
378
|
return Array.from(e?.querySelectorAll(":scope > [data-slot=\"composer-stack\"] > [data-slot=\"composer-bump\"]") ?? []);
|
|
355
379
|
}
|
|
356
|
-
function
|
|
380
|
+
function Le(e) {
|
|
357
381
|
let t = e?.querySelector("[data-slot=\"composer-card\"]");
|
|
358
382
|
return !e || !t ? null : {
|
|
359
383
|
card: t.getBoundingClientRect(),
|
|
360
|
-
controls:
|
|
361
|
-
bumps: new Map(
|
|
384
|
+
controls: s(e.querySelectorAll(Fe)),
|
|
385
|
+
bumps: new Map(Ie(e).map((e) => [e, e.getBoundingClientRect().height]))
|
|
362
386
|
};
|
|
363
387
|
}
|
|
364
|
-
function
|
|
365
|
-
let r =
|
|
366
|
-
if (!
|
|
367
|
-
let i =
|
|
368
|
-
|
|
369
|
-
t.isConnected && (t.style.height = "",
|
|
388
|
+
function Re({ animate: e }, t, n) {
|
|
389
|
+
let r = t?.querySelector("[data-slot=\"composer-card\"]");
|
|
390
|
+
if (!t || !r) return;
|
|
391
|
+
let i = c.smooth, a = /* @__PURE__ */ new Map();
|
|
392
|
+
n.bumps.forEach((e, t) => {
|
|
393
|
+
t.isConnected && (t.style.height = "", a.set(t, t.getBoundingClientRect().height));
|
|
370
394
|
}), r.style.width = "", r.style.height = "", r.style.transform = "";
|
|
371
|
-
let s = r.getBoundingClientRect(),
|
|
372
|
-
r.style.width = `${
|
|
373
|
-
let
|
|
374
|
-
|
|
375
|
-
width: [
|
|
376
|
-
height: [
|
|
377
|
-
x: [
|
|
378
|
-
y: [
|
|
395
|
+
let s = r.getBoundingClientRect(), l = n.card;
|
|
396
|
+
r.style.width = `${l.width}px`, r.style.height = `${l.height}px`, n.bumps.forEach((e, t) => t.isConnected && (t.style.height = `${e}px`));
|
|
397
|
+
let u = r.getBoundingClientRect(), d = (U.get(r) ?? 0) + 1;
|
|
398
|
+
U.set(r, d), e(r, {
|
|
399
|
+
width: [l.width, s.width],
|
|
400
|
+
height: [l.height, s.height],
|
|
401
|
+
x: [l.left - u.left, 0],
|
|
402
|
+
y: [l.top - u.top, 0]
|
|
379
403
|
}, {
|
|
380
404
|
...i,
|
|
381
405
|
onComplete: () => {
|
|
382
|
-
|
|
406
|
+
U.get(r) === d && (r.style.width = "", r.style.height = "", r.style.transform = "");
|
|
383
407
|
}
|
|
384
|
-
}),
|
|
385
|
-
let
|
|
386
|
-
if (
|
|
387
|
-
if (Math.abs(
|
|
388
|
-
|
|
408
|
+
}), n.bumps.forEach((t, n) => {
|
|
409
|
+
let r = a.get(n);
|
|
410
|
+
if (r != null) {
|
|
411
|
+
if (Math.abs(r - t) < 1) {
|
|
412
|
+
n.style.height = "";
|
|
389
413
|
return;
|
|
390
414
|
}
|
|
391
|
-
|
|
415
|
+
U.set(n, d), e(n, { height: [t, r] }, {
|
|
392
416
|
...i,
|
|
393
|
-
onComplete: () =>
|
|
417
|
+
onComplete: () => U.get(n) === d && (n.style.height = "")
|
|
394
418
|
});
|
|
395
419
|
}
|
|
396
420
|
});
|
|
397
|
-
let
|
|
398
|
-
|
|
399
|
-
let n = t.parentElement?.getAttribute("data-slot") === "composer-options", i = e.top >=
|
|
400
|
-
(n && i !== a ?
|
|
401
|
-
}), r.style.width = "", r.style.height = "",
|
|
421
|
+
let f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map();
|
|
422
|
+
n.controls.forEach((e, t) => {
|
|
423
|
+
let n = t.parentElement?.getAttribute("data-slot") === "composer-options", i = e.top >= l.top - 1 && e.bottom <= l.bottom + 1, a = r.contains(t);
|
|
424
|
+
(n && i !== a ? p : f).set(t, e);
|
|
425
|
+
}), r.style.width = "", r.style.height = "", o(f, { relativeTo: [l, s] }), o(p, { lift: !0 }), r.style.width = `${l.width}px`, r.style.height = `${l.height}px`;
|
|
402
426
|
}
|
|
403
|
-
var
|
|
404
|
-
function
|
|
405
|
-
|
|
406
|
-
"data-slot": "composer-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
})
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
function we({ children: e }) {
|
|
418
|
-
let { collapsed: t, optionsOutlet: n } = U(), r = A(null), [i] = j(() => {
|
|
419
|
-
if (typeof document > "u") return null;
|
|
420
|
-
let e = document.createElement("span");
|
|
421
|
-
return e.setAttribute("data-slot", "composer-options"), e.style.display = "contents", e;
|
|
422
|
-
});
|
|
423
|
-
return k.useLayoutEffect(() => {
|
|
424
|
-
let e = t === "compact" && n ? n : r.current;
|
|
425
|
-
i && e && i.parentNode !== e && e.appendChild(i);
|
|
427
|
+
var W = "relative pointer-coarse:after:absolute pointer-coarse:after:top-1/2 pointer-coarse:after:left-1/2 pointer-coarse:after:size-11 pointer-coarse:after:-translate-1/2 pointer-coarse:after:content-['']", ze = "flex min-w-0 max-w-max shrink grow-[999] basis-0 items-center gap-[5px] overflow-x-auto -m-1 p-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
|
|
428
|
+
function Be({ className: t, children: n, ...r }) {
|
|
429
|
+
let { collapsed: i, optionsOutlet: a } = D(), o = k(null), s = te(/* @__PURE__ */ N("span", {
|
|
430
|
+
"data-slot": "composer-options",
|
|
431
|
+
className: e(ze, t),
|
|
432
|
+
...r,
|
|
433
|
+
children: n
|
|
434
|
+
})), c = s.dock;
|
|
435
|
+
return O.useLayoutEffect(() => {
|
|
436
|
+
let e = i === "compact" && a ? a : o.current;
|
|
437
|
+
e && c(e);
|
|
426
438
|
}, [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
]),
|
|
431
|
-
ref:
|
|
439
|
+
i,
|
|
440
|
+
a,
|
|
441
|
+
c
|
|
442
|
+
]), /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N("span", {
|
|
443
|
+
ref: o,
|
|
432
444
|
"data-slot": "composer-options-home",
|
|
433
|
-
className: "contents"
|
|
434
|
-
|
|
445
|
+
className: "contents",
|
|
446
|
+
children: s.inline
|
|
447
|
+
}), s.portal] });
|
|
435
448
|
}
|
|
436
|
-
function
|
|
437
|
-
let { collapsed:
|
|
438
|
-
|
|
439
|
-
|
|
449
|
+
function Ve({ className: t, ref: n, ...r }) {
|
|
450
|
+
let { collapsed: i, setOptionsOutlet: a } = D(), o = i === "compact", s = O.useCallback((e) => {
|
|
451
|
+
a(e), typeof n == "function" ? n(e) : n && (n.current = e);
|
|
452
|
+
}, [a, n]);
|
|
453
|
+
return /* @__PURE__ */ P(M, { children: [o ? /* @__PURE__ */ N(Y, {}) : null, /* @__PURE__ */ N("span", {
|
|
454
|
+
ref: s,
|
|
440
455
|
"data-slot": "composer-options-outlet",
|
|
441
|
-
className: e(
|
|
456
|
+
className: e(o ? "contents" : "hidden", t),
|
|
457
|
+
...r
|
|
442
458
|
})] });
|
|
443
459
|
}
|
|
444
|
-
var
|
|
460
|
+
var G = F(["group/composer-card relative z-1 box-border flex min-w-0 flex-wrap items-center border border-border bg-card shadow-raised", "group-data-[fab-align=start]/composer:data-folded:self-start group-data-[fab-align=center]/composer:data-folded:self-center group-data-[fab-align=end]/composer:data-folded:self-end"], {
|
|
445
461
|
variants: { size: {
|
|
446
|
-
default: "rounded-
|
|
447
|
-
lg: "rounded-
|
|
462
|
+
default: "rounded-card",
|
|
463
|
+
lg: "rounded-sheet"
|
|
448
464
|
} },
|
|
449
465
|
defaultVariants: { size: "default" }
|
|
450
|
-
});
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
let { attachFiles: n } = U(), r = A(n);
|
|
463
|
-
r.current = n;
|
|
464
|
-
let i = A(null), a = A([]), o = async (e, t, n) => {
|
|
465
|
-
let i = a.current;
|
|
466
|
-
a.current = [];
|
|
467
|
-
let o = await De(e), s = o.length ? o : i;
|
|
468
|
-
s.length && r.current(s, {
|
|
469
|
-
source: t,
|
|
470
|
-
point: n
|
|
471
|
-
});
|
|
472
|
-
}, { dropProps: s, dropButtonProps: c, isDropTarget: l } = ie({
|
|
473
|
-
ref: i,
|
|
474
|
-
hasDropButton: !0,
|
|
475
|
-
isDisabled: t,
|
|
476
|
-
getDropOperation: () => "copy",
|
|
477
|
-
onDrop: (t) => {
|
|
478
|
-
let n = e.current?.getBoundingClientRect(), r = n && (t.x || t.y) ? {
|
|
479
|
-
x: n.left + t.x,
|
|
480
|
-
y: n.top + t.y
|
|
481
|
-
} : void 0;
|
|
482
|
-
o(t.items, "drop", r);
|
|
483
|
-
}
|
|
484
|
-
}), { buttonProps: u } = V({
|
|
485
|
-
...c,
|
|
486
|
-
isDisabled: t || c?.isDisabled
|
|
487
|
-
}, i), { clipboardProps: d } = se({
|
|
488
|
-
isDisabled: t,
|
|
489
|
-
onPaste: (e) => void o(e, "paste")
|
|
490
|
-
}), { focusProps: f, isFocusVisible: p } = ce(), m = (e) => (t) => {
|
|
491
|
-
Y(t) && e?.(t);
|
|
492
|
-
};
|
|
493
|
-
return {
|
|
494
|
-
dropProps: {
|
|
495
|
-
onDragEnter: m(s.onDragEnter),
|
|
496
|
-
onDragOver: m(s.onDragOver),
|
|
497
|
-
onDragLeave: m(s.onDragLeave),
|
|
498
|
-
onDrop: m((e) => {
|
|
499
|
-
a.current = Array.from(e.dataTransfer.files ?? []), s.onDrop?.(e);
|
|
500
|
-
})
|
|
501
|
-
},
|
|
502
|
-
buttonProps: le(u, d, f),
|
|
503
|
-
buttonRef: i,
|
|
504
|
-
isDropTarget: l,
|
|
505
|
-
isFocusVisible: p
|
|
506
|
-
};
|
|
466
|
+
}), He = [], K = () => null;
|
|
467
|
+
function Ue(e, t, n) {
|
|
468
|
+
if (!t.length) return;
|
|
469
|
+
let r = n.reason === "drop" || n.reason === "paste" ? n.reason : "picker", i = n.event;
|
|
470
|
+
e(t, {
|
|
471
|
+
source: r,
|
|
472
|
+
point: r === "drop" && i && (i.clientX || i.clientY) ? {
|
|
473
|
+
x: i.clientX,
|
|
474
|
+
y: i.clientY
|
|
475
|
+
} : void 0,
|
|
476
|
+
event: n.event
|
|
477
|
+
});
|
|
507
478
|
}
|
|
508
|
-
function
|
|
509
|
-
return /* @__PURE__ */ N(
|
|
479
|
+
function We({ dragging: t, label: n, hint: r }) {
|
|
480
|
+
return /* @__PURE__ */ N("div", {
|
|
510
481
|
"data-slot": "composer-drop-overlay",
|
|
511
|
-
"data-
|
|
482
|
+
"data-dragging": t || void 0,
|
|
512
483
|
"aria-hidden": "true",
|
|
513
|
-
className: e("pointer-events-none absolute -inset-px z-4 flex items-center justify-center overflow-hidden rounded-[inherit] border-2 border-primary
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
opacity: 1,
|
|
520
|
-
scale: 1
|
|
521
|
-
},
|
|
522
|
-
exit: {
|
|
523
|
-
opacity: 0,
|
|
524
|
-
scale: .985
|
|
525
|
-
},
|
|
526
|
-
transition: a.snappy,
|
|
527
|
-
children: /* @__PURE__ */ P(O.div, {
|
|
528
|
-
className: "flex min-w-0 items-center gap-2.5 px-4",
|
|
529
|
-
initial: {
|
|
530
|
-
y: 8,
|
|
531
|
-
opacity: 0
|
|
532
|
-
},
|
|
533
|
-
animate: {
|
|
534
|
-
y: 0,
|
|
535
|
-
opacity: 1
|
|
536
|
-
},
|
|
537
|
-
exit: {
|
|
538
|
-
y: 8,
|
|
539
|
-
opacity: 0
|
|
540
|
-
},
|
|
541
|
-
transition: a.bouncy,
|
|
542
|
-
children: [/* @__PURE__ */ N(O.span, {
|
|
543
|
-
className: "grid size-8 shrink-0 place-items-center rounded-full bg-primary text-white shadow-[0_4px_14px_-4px_var(--primary)] group-data-[collapsed=compact]/composer:size-6",
|
|
544
|
-
initial: {
|
|
545
|
-
scale: .4,
|
|
546
|
-
rotate: -90
|
|
547
|
-
},
|
|
548
|
-
animate: {
|
|
549
|
-
scale: 1,
|
|
550
|
-
rotate: 0
|
|
551
|
-
},
|
|
552
|
-
exit: {
|
|
553
|
-
scale: .4,
|
|
554
|
-
rotate: -90
|
|
555
|
-
},
|
|
556
|
-
transition: a.bouncy,
|
|
557
|
-
children: /* @__PURE__ */ N(s, {
|
|
484
|
+
className: e("group/drop pointer-events-none absolute -inset-px z-4 flex items-center justify-center overflow-hidden rounded-[inherit] border-2 border-primary bg-[color-mix(in_srgb,var(--primary)_11%,var(--card))]", "invisible scale-[.985] opacity-0 transition-[opacity,scale,visibility] duration-spring-snappy ease-spring-snappy data-dragging:visible data-dragging:scale-100 data-dragging:opacity-100 motion-reduce:transition-none"),
|
|
485
|
+
children: /* @__PURE__ */ P("div", {
|
|
486
|
+
className: "flex min-w-0 translate-y-2 items-center gap-2.5 px-4 opacity-0 transition-[translate,opacity] duration-spring-bouncy ease-spring-bouncy group-data-dragging/drop:translate-y-0 group-data-dragging/drop:opacity-100 motion-reduce:transition-none",
|
|
487
|
+
children: [/* @__PURE__ */ N("span", {
|
|
488
|
+
className: "grid size-8 shrink-0 scale-40 -rotate-90 place-items-center rounded-full bg-primary text-primary-foreground shadow-[0_4px_14px_-4px_var(--primary)] transition-[scale,rotate] duration-spring-bouncy ease-spring-bouncy group-data-dragging/drop:scale-100 group-data-dragging/drop:rotate-0 group-data-[collapsed=compact]/composer:size-6 motion-reduce:transition-none",
|
|
489
|
+
children: /* @__PURE__ */ N(y, {
|
|
558
490
|
name: "plus",
|
|
559
491
|
size: 16,
|
|
560
492
|
sw: 2.6
|
|
@@ -562,63 +494,70 @@ function ke({ state: t, label: n, hint: r }) {
|
|
|
562
494
|
}), /* @__PURE__ */ P("span", {
|
|
563
495
|
className: "flex min-w-0 flex-col",
|
|
564
496
|
children: [/* @__PURE__ */ N("span", {
|
|
565
|
-
className: "truncate text-
|
|
566
|
-
children:
|
|
497
|
+
className: "truncate text-footnote font-semibold text-foreground",
|
|
498
|
+
children: n ?? "Drop to attach"
|
|
567
499
|
}), /* @__PURE__ */ N("span", {
|
|
568
|
-
className: "truncate text-
|
|
500
|
+
className: "truncate text-caption2 text-muted-foreground group-data-[collapsed=compact]/composer:hidden",
|
|
569
501
|
children: r
|
|
570
502
|
})]
|
|
571
503
|
})]
|
|
572
504
|
})
|
|
573
|
-
}
|
|
505
|
+
});
|
|
574
506
|
}
|
|
575
|
-
function
|
|
576
|
-
let { renderCard:
|
|
577
|
-
ref:
|
|
578
|
-
g.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
|
|
579
|
-
},
|
|
507
|
+
function Ge({ size: t, dropZone: n = !0, dropLabel: r, className: i, ref: a, children: o, ...s }) {
|
|
508
|
+
let { renderCard: c, collapsed: l, fab: u, accept: d, attachFiles: f, disabled: p } = D(), g = l === "fab" && !!u, _ = (c) => /* @__PURE__ */ P("div", {
|
|
509
|
+
ref: a,
|
|
580
510
|
"data-slot": "composer-card",
|
|
581
|
-
"data-folded":
|
|
582
|
-
"data-drop-zone":
|
|
583
|
-
"data-drop-target":
|
|
584
|
-
className: e(
|
|
585
|
-
...
|
|
511
|
+
"data-folded": g || void 0,
|
|
512
|
+
"data-drop-zone": n && !g || void 0,
|
|
513
|
+
"data-drop-target": c || void 0,
|
|
514
|
+
className: e(G({ size: t }), i),
|
|
515
|
+
...s,
|
|
586
516
|
children: [
|
|
587
517
|
/* @__PURE__ */ N("div", {
|
|
588
518
|
"data-slot": "composer-card-body",
|
|
589
519
|
className: "contents",
|
|
590
|
-
inert:
|
|
591
|
-
"aria-hidden":
|
|
592
|
-
children:
|
|
520
|
+
inert: g || void 0,
|
|
521
|
+
"aria-hidden": g || void 0,
|
|
522
|
+
children: o
|
|
593
523
|
}),
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
label:
|
|
597
|
-
hint:
|
|
598
|
-
})
|
|
599
|
-
|
|
600
|
-
"data-slot": "composer-drop-target",
|
|
601
|
-
"aria-label": "Attach files: drop or paste here",
|
|
602
|
-
..._.buttonProps
|
|
603
|
-
}) })] }) : null,
|
|
604
|
-
p ? /* @__PURE__ */ N(f, {
|
|
524
|
+
n ? /* @__PURE__ */ N(We, {
|
|
525
|
+
dragging: c,
|
|
526
|
+
label: r,
|
|
527
|
+
hint: d?.length ? he(d) : "Images, documents, code — any file"
|
|
528
|
+
}) : null,
|
|
529
|
+
u ? /* @__PURE__ */ N("span", {
|
|
605
530
|
"data-slot": "composer-fab",
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
531
|
+
className: "absolute inset-0 z-3 rounded-[inherit]",
|
|
532
|
+
children: /* @__PURE__ */ N(L, {
|
|
533
|
+
"aria-label": "Open composer",
|
|
534
|
+
"aria-hidden": !g || void 0,
|
|
535
|
+
tabIndex: g ? void 0 : -1,
|
|
536
|
+
onClick: u.restore,
|
|
537
|
+
className: e(m, h, "grid size-full cursor-pointer place-items-center rounded-[inherit] border-0 bg-transparent p-0 text-foreground"),
|
|
538
|
+
children: u.icon ?? /* @__PURE__ */ N(y, {
|
|
539
|
+
name: "square-pencil",
|
|
540
|
+
size: 21,
|
|
541
|
+
sw: 1.9
|
|
542
|
+
})
|
|
615
543
|
})
|
|
616
544
|
}) : null
|
|
617
545
|
]
|
|
618
|
-
})
|
|
619
|
-
|
|
546
|
+
}), v = n ? /* @__PURE__ */ N(z, {
|
|
547
|
+
className: "contents",
|
|
548
|
+
multiple: !0,
|
|
549
|
+
value: He,
|
|
550
|
+
onValueChange: (e, t) => Ue(f, t.added, t),
|
|
551
|
+
announcement: K,
|
|
552
|
+
disabled: g || p,
|
|
553
|
+
children: /* @__PURE__ */ N(Ee, {
|
|
554
|
+
className: "contents",
|
|
555
|
+
children: ({ dragging: e }) => _(e)
|
|
556
|
+
})
|
|
557
|
+
}) : _(!1);
|
|
558
|
+
return /* @__PURE__ */ N(M, { children: c ? c(v) : v });
|
|
620
559
|
}
|
|
621
|
-
var
|
|
560
|
+
var q = F("box-border flex min-w-0 items-center gap-[5px]", {
|
|
622
561
|
variants: { align: {
|
|
623
562
|
"block-start": "order-[-2] w-full px-3 pt-2.5",
|
|
624
563
|
"inline-start": "order-[-1] shrink-0 self-start pt-2 pl-2",
|
|
@@ -627,24 +566,24 @@ var je = B("box-border flex min-w-0 items-center gap-[5px]", {
|
|
|
627
566
|
} },
|
|
628
567
|
defaultVariants: { align: "block-end" }
|
|
629
568
|
});
|
|
630
|
-
function
|
|
569
|
+
function J({ align: t, className: n, ref: r, ...i }) {
|
|
631
570
|
return /* @__PURE__ */ N("div", {
|
|
632
571
|
ref: r,
|
|
633
572
|
"data-slot": "composer-addon",
|
|
634
573
|
"data-align": t ?? "block-end",
|
|
635
|
-
className: e(
|
|
574
|
+
className: e(q({ align: t }), n),
|
|
636
575
|
...i
|
|
637
576
|
});
|
|
638
577
|
}
|
|
639
|
-
function
|
|
640
|
-
return /* @__PURE__ */ N(
|
|
578
|
+
function Ke({ className: t, ...n }) {
|
|
579
|
+
return /* @__PURE__ */ N(J, {
|
|
641
580
|
"data-slot": "composer-footer",
|
|
642
581
|
align: "block-end",
|
|
643
582
|
className: e("flex-wrap group-data-[collapsed=compact]/composer:order-1 group-data-[collapsed=compact]/composer:[&>[data-slot=composer-spacer]]:hidden group-data-[collapsed=compact]/composer:w-auto group-data-[collapsed=compact]/composer:flex-nowrap group-data-[collapsed=compact]/composer:py-[7px] group-data-[collapsed=compact]/composer:pr-[7px] group-data-[collapsed=compact]/composer:pl-0", t),
|
|
644
583
|
...n
|
|
645
584
|
});
|
|
646
585
|
}
|
|
647
|
-
function
|
|
586
|
+
function qe({ className: t, ...n }) {
|
|
648
587
|
return /* @__PURE__ */ N("span", {
|
|
649
588
|
"data-slot": "composer-spacer",
|
|
650
589
|
"aria-hidden": "true",
|
|
@@ -652,169 +591,99 @@ function X({ className: t, ...n }) {
|
|
|
652
591
|
...n
|
|
653
592
|
});
|
|
654
593
|
}
|
|
655
|
-
function
|
|
656
|
-
return /* @__PURE__ */ N(
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
"aria-orientation": "vertical",
|
|
660
|
-
className: e("mx-0.5 h-4 w-px shrink-0 bg-border", t),
|
|
594
|
+
function Y({ className: e, ...n }) {
|
|
595
|
+
return /* @__PURE__ */ N(ee, {
|
|
596
|
+
orientation: "vertical",
|
|
597
|
+
className: t("mx-0.5 h-4 self-center", e),
|
|
661
598
|
...n
|
|
662
599
|
});
|
|
663
600
|
}
|
|
664
|
-
function
|
|
601
|
+
function Je({ icon: t, className: n, children: r, ...i }) {
|
|
665
602
|
return /* @__PURE__ */ P("span", {
|
|
666
603
|
"data-slot": "composer-text",
|
|
667
604
|
className: e("flex min-w-0 items-center gap-[7px] text-caption text-muted-foreground", n),
|
|
668
605
|
...i,
|
|
669
|
-
children: [t ? /* @__PURE__ */ N(
|
|
606
|
+
children: [typeof t == "string" ? /* @__PURE__ */ N(y, {
|
|
670
607
|
name: t,
|
|
671
608
|
size: 13.5,
|
|
672
609
|
sw: 1.9
|
|
673
|
-
}) :
|
|
610
|
+
}) : t, r]
|
|
674
611
|
});
|
|
675
612
|
}
|
|
676
|
-
var
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
},
|
|
684
|
-
size: {
|
|
685
|
-
icon: "size-7 rounded-[7px] p-0",
|
|
686
|
-
round: "size-[30px] rounded-[50%] p-0",
|
|
687
|
-
pill: ""
|
|
688
|
-
},
|
|
689
|
-
tint: {
|
|
690
|
-
true: "text-primary",
|
|
691
|
-
false: ""
|
|
692
|
-
}
|
|
693
|
-
},
|
|
694
|
-
compoundVariants: [{
|
|
695
|
-
variant: "primary",
|
|
696
|
-
tint: !0,
|
|
697
|
-
className: "text-white"
|
|
698
|
-
}],
|
|
699
|
-
defaultVariants: {
|
|
700
|
-
variant: "ghost",
|
|
701
|
-
size: "icon",
|
|
702
|
-
tint: !1
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
function Le({ variant: t, size: n, tint: r, className: i, ...a }) {
|
|
706
|
-
return /* @__PURE__ */ N(f, {
|
|
707
|
-
"data-slot": "composer-button",
|
|
708
|
-
className: e(Ie({
|
|
709
|
-
variant: t,
|
|
710
|
-
size: n ?? (t === "pill" ? "pill" : t === "primary" || t === "destructive" ? "round" : "icon"),
|
|
711
|
-
tint: !!r
|
|
712
|
-
}), i),
|
|
713
|
-
...a
|
|
714
|
-
});
|
|
613
|
+
var X = e(E({
|
|
614
|
+
variant: "quiet",
|
|
615
|
+
size: "icon-sm"
|
|
616
|
+
}), W), Z = "rounded-full";
|
|
617
|
+
function Ye(e) {
|
|
618
|
+
let t = O.useContext(ce);
|
|
619
|
+
return e ?? t?.disabled ?? !1;
|
|
715
620
|
}
|
|
716
|
-
function
|
|
717
|
-
return /* @__PURE__ */ P(
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
"data-slot": "composer-menu-item",
|
|
739
|
-
className: e(ze(), t),
|
|
740
|
-
...r,
|
|
741
|
-
children: re(n, (e, { isSelected: t, selectionMode: n }) => /* @__PURE__ */ P(M, { children: [n === "none" ? null : /* @__PURE__ */ N("span", {
|
|
742
|
-
className: "grid w-3.5 shrink-0 place-items-center text-primary",
|
|
743
|
-
children: /* @__PURE__ */ N(E, {
|
|
744
|
-
initial: !1,
|
|
745
|
-
children: t ? /* @__PURE__ */ N(O.span, {
|
|
746
|
-
className: "grid place-items-center",
|
|
747
|
-
initial: {
|
|
748
|
-
scale: .3,
|
|
749
|
-
opacity: 0
|
|
750
|
-
},
|
|
751
|
-
animate: {
|
|
752
|
-
scale: 1,
|
|
753
|
-
opacity: 1
|
|
754
|
-
},
|
|
755
|
-
exit: {
|
|
756
|
-
scale: .3,
|
|
757
|
-
opacity: 0
|
|
758
|
-
},
|
|
759
|
-
transition: a.bouncy,
|
|
760
|
-
children: /* @__PURE__ */ N(s, {
|
|
761
|
-
name: "checkmark",
|
|
762
|
-
size: 13,
|
|
763
|
-
sw: 2.6
|
|
764
|
-
})
|
|
765
|
-
}, "tick") : null
|
|
621
|
+
function Xe({ icon: e, disabled: n, className: r, children: i, ...a }) {
|
|
622
|
+
return /* @__PURE__ */ P(T, {
|
|
623
|
+
variant: "quiet",
|
|
624
|
+
size: "sm",
|
|
625
|
+
disabled: Ye(n),
|
|
626
|
+
className: t(["h-auto gap-[5px] rounded-md px-[7px] py-[5px] text-caption font-semibold", W], r),
|
|
627
|
+
...a,
|
|
628
|
+
children: [
|
|
629
|
+
typeof e == "string" ? /* @__PURE__ */ N(y, {
|
|
630
|
+
name: e,
|
|
631
|
+
size: 13.5,
|
|
632
|
+
sw: 2
|
|
633
|
+
}) : e,
|
|
634
|
+
N(typeof i == "string" ? f : "span", {
|
|
635
|
+
className: "whitespace-nowrap",
|
|
636
|
+
children: i
|
|
637
|
+
}),
|
|
638
|
+
/* @__PURE__ */ N(v, {
|
|
639
|
+
direction: "down",
|
|
640
|
+
size: 11,
|
|
641
|
+
strokeWidth: 2.4,
|
|
642
|
+
className: "opacity-60"
|
|
766
643
|
})
|
|
767
|
-
|
|
644
|
+
]
|
|
768
645
|
});
|
|
769
646
|
}
|
|
770
|
-
function
|
|
771
|
-
let [
|
|
772
|
-
return /* @__PURE__ */ P(
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
className: "truncate text-[11.5px] text-muted-foreground",
|
|
805
|
-
children: e.description
|
|
806
|
-
}) : null]
|
|
807
|
-
})
|
|
808
|
-
}, e.id))
|
|
809
|
-
})
|
|
810
|
-
})] });
|
|
647
|
+
function Ze({ "aria-label": e, items: t, value: n, defaultValue: r, onValueChange: i, disabled: a, icon: o, side: s = "top", align: c = "start", className: l, ref: u, ...d }) {
|
|
648
|
+
let [f, p] = A(r ?? t[0]?.value ?? ""), m = n ?? f, h = t.find((e) => e.value === m) ?? t[0], g = h?.short ?? h?.label ?? "";
|
|
649
|
+
return /* @__PURE__ */ P(b, {
|
|
650
|
+
...d,
|
|
651
|
+
children: [/* @__PURE__ */ N(w, {
|
|
652
|
+
render: /* @__PURE__ */ N(Xe, {
|
|
653
|
+
ref: u,
|
|
654
|
+
icon: o,
|
|
655
|
+
disabled: a,
|
|
656
|
+
"aria-label": `${e}: ${g}`,
|
|
657
|
+
className: l
|
|
658
|
+
}),
|
|
659
|
+
children: g
|
|
660
|
+
}), /* @__PURE__ */ N(x, {
|
|
661
|
+
size: "sm",
|
|
662
|
+
side: s,
|
|
663
|
+
align: c,
|
|
664
|
+
palette: "trigger",
|
|
665
|
+
children: /* @__PURE__ */ N(S, {
|
|
666
|
+
value: m,
|
|
667
|
+
onValueChange: (e, t) => {
|
|
668
|
+
i?.(e, t), !t.canceled && n === void 0 && p(e);
|
|
669
|
+
},
|
|
670
|
+
children: t.map((e) => /* @__PURE__ */ N(C, {
|
|
671
|
+
value: e.value,
|
|
672
|
+
label: e.label,
|
|
673
|
+
description: e.description,
|
|
674
|
+
disabled: e.disabled,
|
|
675
|
+
closeOnSelect: !0,
|
|
676
|
+
children: e.label
|
|
677
|
+
}, e.value))
|
|
678
|
+
})
|
|
679
|
+
})]
|
|
680
|
+
});
|
|
811
681
|
}
|
|
812
|
-
function
|
|
682
|
+
function Qe() {
|
|
813
683
|
return /* @__PURE__ */ P("svg", {
|
|
814
|
-
|
|
815
|
-
height: "30",
|
|
684
|
+
"aria-hidden": "true",
|
|
816
685
|
viewBox: "0 0 30 30",
|
|
817
|
-
className: "absolute inset-0 animate-[wbSpin_1s_linear_infinite] motion-reduce:animate-none",
|
|
686
|
+
className: "absolute inset-0 size-full animate-[wbSpin_1s_linear_infinite] motion-reduce:animate-none",
|
|
818
687
|
children: [/* @__PURE__ */ N("circle", {
|
|
819
688
|
cx: "15",
|
|
820
689
|
cy: "15",
|
|
@@ -834,95 +703,64 @@ function He() {
|
|
|
834
703
|
})]
|
|
835
704
|
});
|
|
836
705
|
}
|
|
837
|
-
function
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
children: /* @__PURE__ */ N(O.span, {
|
|
842
|
-
className: "relative grid size-full place-items-center",
|
|
843
|
-
initial: {
|
|
844
|
-
opacity: 0,
|
|
845
|
-
scale: .4,
|
|
846
|
-
filter: "blur(3px)"
|
|
847
|
-
},
|
|
848
|
-
animate: {
|
|
849
|
-
opacity: 1,
|
|
850
|
-
scale: 1,
|
|
851
|
-
filter: "blur(0px)"
|
|
852
|
-
},
|
|
853
|
-
exit: {
|
|
854
|
-
opacity: 0,
|
|
855
|
-
scale: .4,
|
|
856
|
-
filter: "blur(3px)"
|
|
857
|
-
},
|
|
858
|
-
transition: a.snappy,
|
|
859
|
-
children: t
|
|
860
|
-
}, e)
|
|
861
|
-
});
|
|
862
|
-
}
|
|
863
|
-
function We({ variant: n = "ring", forceMount: r, className: i, ...o }) {
|
|
864
|
-
let { streaming: c, stop: l } = U(), u = c || !!r, d = n === "solid" ? /* @__PURE__ */ N(Le, {
|
|
865
|
-
"data-slot": "composer-stop",
|
|
706
|
+
function $e({ variant: e = "ring", forceMount: n, className: r, ...i }) {
|
|
707
|
+
let { streaming: a, stop: o } = H(), s = u(a || !!n);
|
|
708
|
+
if (!s.mounted) return null;
|
|
709
|
+
let c = e === "solid" ? /* @__PURE__ */ N(T, {
|
|
866
710
|
variant: "destructive",
|
|
711
|
+
size: "icon-sm",
|
|
867
712
|
"aria-label": "Stop",
|
|
868
|
-
|
|
869
|
-
className:
|
|
870
|
-
...
|
|
871
|
-
children: /* @__PURE__ */ N("span", { className: "block size-[9px] rounded-
|
|
872
|
-
}) : /* @__PURE__ */ P(
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
onPress: l,
|
|
713
|
+
onClick: o,
|
|
714
|
+
className: t([Z], r),
|
|
715
|
+
...i,
|
|
716
|
+
children: /* @__PURE__ */ N("span", { className: "block size-[9px] rounded-xs bg-current" })
|
|
717
|
+
}) : /* @__PURE__ */ P(T, {
|
|
718
|
+
variant: "ghost",
|
|
719
|
+
size: "icon-sm",
|
|
876
720
|
"aria-label": "Stop",
|
|
877
|
-
|
|
878
|
-
|
|
721
|
+
onClick: o,
|
|
722
|
+
className: t([Z, "bg-transparent"], r),
|
|
723
|
+
...i,
|
|
724
|
+
children: [/* @__PURE__ */ N(Qe, {}), /* @__PURE__ */ N(y, {
|
|
879
725
|
name: "stop-square",
|
|
880
726
|
size: 12,
|
|
881
727
|
sw: 2.4
|
|
882
728
|
})]
|
|
883
729
|
});
|
|
884
|
-
return /* @__PURE__ */ N(
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
scale: .5
|
|
893
|
-
},
|
|
894
|
-
animate: {
|
|
895
|
-
width: "auto",
|
|
896
|
-
opacity: 1,
|
|
897
|
-
scale: 1
|
|
898
|
-
},
|
|
899
|
-
exit: {
|
|
900
|
-
width: 0,
|
|
901
|
-
opacity: 0,
|
|
902
|
-
scale: .5
|
|
903
|
-
},
|
|
904
|
-
transition: a.snappy,
|
|
905
|
-
children: d
|
|
906
|
-
}, "stop") : null
|
|
730
|
+
return /* @__PURE__ */ N("span", {
|
|
731
|
+
ref: s.ref,
|
|
732
|
+
"data-slot": "composer-stop-presence",
|
|
733
|
+
className: "grid shrink-0 grid-cols-[1fr] overflow-visible transition-[grid-template-columns,opacity,scale] duration-spring-snappy ease-spring-snappy data-starting-style:grid-cols-[0fr] data-starting-style:scale-50 data-starting-style:opacity-0 data-ending-style:grid-cols-[0fr] data-ending-style:scale-50 data-ending-style:opacity-0 motion-reduce:transition-none",
|
|
734
|
+
children: /* @__PURE__ */ N("span", {
|
|
735
|
+
className: "flex min-w-0 items-center justify-center",
|
|
736
|
+
children: c
|
|
737
|
+
})
|
|
907
738
|
});
|
|
908
739
|
}
|
|
909
|
-
function
|
|
910
|
-
let { streaming: o, canSend:
|
|
911
|
-
return /* @__PURE__ */ N(
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
"
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
740
|
+
function et({ morph: e = !0, stopVariant: n = "ring", disabled: r, className: i, ...a }) {
|
|
741
|
+
let { streaming: o, canSend: s, canQueue: c, send: l, stop: u, disabled: d } = H(), f = o && c && s, m = o && e && !f;
|
|
742
|
+
return /* @__PURE__ */ N(T, {
|
|
743
|
+
variant: m && n === "solid" ? "destructive" : "default",
|
|
744
|
+
size: "icon-sm",
|
|
745
|
+
"data-state": m ? "stop" : f ? "queue" : "send",
|
|
746
|
+
"aria-label": m ? "Stop" : f ? "Queue message" : "Send",
|
|
747
|
+
disabled: r ?? (m ? !1 : d || !s || o && !c),
|
|
748
|
+
onClick: (e) => m ? u() : l(e.nativeEvent),
|
|
749
|
+
className: t([
|
|
750
|
+
Z,
|
|
751
|
+
"overflow-visible [transition:background-color_var(--duration-spring-snappy)_var(--ease-spring-snappy),opacity_var(--duration-spring-snappy)_var(--ease-spring-snappy),color_var(--duration-spring-snappy)_var(--ease-spring-snappy),scale_var(--duration-spring-snappy)_var(--ease-spring-snappy)]",
|
|
752
|
+
m && n === "ring" && "bg-transparent text-foreground"
|
|
753
|
+
], i),
|
|
918
754
|
...a,
|
|
919
|
-
children: /* @__PURE__ */ N(
|
|
920
|
-
|
|
921
|
-
|
|
755
|
+
children: /* @__PURE__ */ N(p, {
|
|
756
|
+
effect: "pop",
|
|
757
|
+
value: m ? `stop-${n}` : "send",
|
|
758
|
+
className: "size-full",
|
|
759
|
+
children: m ? n === "solid" ? /* @__PURE__ */ N("span", { className: "block size-[9px] rounded-xs bg-current" }) : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(Qe, {}), /* @__PURE__ */ N(y, {
|
|
922
760
|
name: "stop-square",
|
|
923
761
|
size: 12,
|
|
924
762
|
sw: 2.4
|
|
925
|
-
})] }) : /* @__PURE__ */ N(
|
|
763
|
+
})] }) : /* @__PURE__ */ N(y, {
|
|
926
764
|
name: "arrow-up-compact",
|
|
927
765
|
size: 16,
|
|
928
766
|
sw: 2.4
|
|
@@ -930,55 +768,51 @@ function Ge({ morph: n = !0, stopVariant: r = "ring", className: i, ...a }) {
|
|
|
930
768
|
})
|
|
931
769
|
});
|
|
932
770
|
}
|
|
933
|
-
function
|
|
934
|
-
let { attachFiles: u,
|
|
935
|
-
return /* @__PURE__ */ N(
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
className:
|
|
771
|
+
function tt({ accept: e, multiple: n = !0, directory: r, capture: i, icon: a = "plus", "aria-label": o = "Add files", disabled: s, className: c, ...l }) {
|
|
772
|
+
let { attachFiles: u, accept: d, disabled: f } = H();
|
|
773
|
+
return /* @__PURE__ */ N(z, {
|
|
774
|
+
className: "contents",
|
|
775
|
+
accept: e ?? d,
|
|
776
|
+
multiple: n,
|
|
777
|
+
directory: r,
|
|
778
|
+
capture: i,
|
|
779
|
+
disabled: s ?? f,
|
|
780
|
+
value: He,
|
|
781
|
+
onValueChange: (e, t) => Ue(u, t.added, t),
|
|
782
|
+
onReject: (e) => u(e.map((e) => e.file), { source: "picker" }),
|
|
783
|
+
announcement: K,
|
|
784
|
+
children: /* @__PURE__ */ N(B, {
|
|
785
|
+
"aria-label": o,
|
|
786
|
+
title: o,
|
|
787
|
+
className: t(X, c),
|
|
950
788
|
...l,
|
|
951
|
-
children: typeof
|
|
952
|
-
name:
|
|
953
|
-
size:
|
|
789
|
+
children: typeof a == "string" ? /* @__PURE__ */ N(y, {
|
|
790
|
+
name: a,
|
|
791
|
+
size: a === "plus" ? 17 : 15.5,
|
|
954
792
|
sw: 2
|
|
955
|
-
}) :
|
|
793
|
+
}) : a
|
|
956
794
|
})
|
|
957
795
|
});
|
|
958
796
|
}
|
|
959
|
-
function
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
label: n,
|
|
964
|
-
acceptedFileTypes: t ?? (e ? e.split(",").map((e) => e.trim()).filter(Boolean) : void 0),
|
|
965
|
-
...r
|
|
966
|
-
});
|
|
967
|
-
}
|
|
968
|
-
function Je({ className: n }) {
|
|
969
|
-
let { expanded: r, setExpanded: i } = U(), a = r ? "Collapse composer" : "Expand composer";
|
|
970
|
-
return /* @__PURE__ */ N(p, {
|
|
971
|
-
"data-slot": "composer-expand",
|
|
972
|
-
className: e(t, "absolute top-[7px] right-2 z-2 grid size-7 cursor-pointer place-items-center rounded-[7px] border-0 bg-transparent p-0 text-muted-foreground hover:bg-secondary!", "group-data-[collapsed=compact]/composer:pointer-events-none group-data-[collapsed=compact]/composer:scale-75 group-data-[collapsed=compact]/composer:opacity-0 [transition:opacity_var(--duration-spring-snappy)_var(--ease-spring-snappy),scale_var(--duration-spring-snappy)_var(--ease-spring-snappy)] motion-reduce:transition-none", n),
|
|
797
|
+
function nt({ className: e, ...n }) {
|
|
798
|
+
let { expanded: r, setExpanded: i } = H(), a = r ? "Collapse composer" : "Expand composer";
|
|
799
|
+
return /* @__PURE__ */ N(R, {
|
|
800
|
+
"data-composer-expand": "",
|
|
973
801
|
"aria-label": a,
|
|
974
|
-
isSelected: r,
|
|
975
|
-
onPress: () => {
|
|
976
|
-
i(!r);
|
|
977
|
-
},
|
|
978
802
|
title: a,
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
803
|
+
...n,
|
|
804
|
+
pressed: r,
|
|
805
|
+
onPressedChange: (e, t) => i(e, t),
|
|
806
|
+
className: t([
|
|
807
|
+
X,
|
|
808
|
+
"absolute top-[7px] right-2 z-2",
|
|
809
|
+
"group-data-[collapsed=compact]/composer:pointer-events-none group-data-[collapsed=compact]/composer:scale-75 group-data-[collapsed=compact]/composer:opacity-0 [transition:opacity_var(--duration-spring-snappy)_var(--ease-spring-snappy),scale_var(--duration-spring-snappy)_var(--ease-spring-snappy),background-color_var(--duration-spring-snappy)_var(--ease-spring-snappy)] motion-reduce:transition-none"
|
|
810
|
+
], e),
|
|
811
|
+
children: /* @__PURE__ */ N(p, {
|
|
812
|
+
effect: "pop",
|
|
813
|
+
value: r ? "restore" : "expand",
|
|
814
|
+
className: "size-full",
|
|
815
|
+
children: /* @__PURE__ */ N(y, {
|
|
982
816
|
name: r ? "arrows-collapse" : "arrows-expand",
|
|
983
817
|
size: 14,
|
|
984
818
|
sw: 2
|
|
@@ -986,298 +820,249 @@ function Je({ className: n }) {
|
|
|
986
820
|
})
|
|
987
821
|
});
|
|
988
822
|
}
|
|
989
|
-
var
|
|
823
|
+
var rt = g({
|
|
990
824
|
scope: "terminal",
|
|
991
825
|
appearance: "dark"
|
|
992
|
-
})
|
|
993
|
-
|
|
994
|
-
appearance: "dark"
|
|
995
|
-
}), Z = {
|
|
996
|
-
image: {
|
|
997
|
-
icon: "photo",
|
|
998
|
-
color: "var(--success, oklch(0.723 0.191 149.6))",
|
|
999
|
-
label: "Image"
|
|
1000
|
-
},
|
|
1001
|
-
video: {
|
|
1002
|
-
icon: "video",
|
|
1003
|
-
color: "#AF52DE",
|
|
1004
|
-
label: "Video"
|
|
1005
|
-
},
|
|
1006
|
-
audio: {
|
|
1007
|
-
icon: "music-note",
|
|
1008
|
-
color: "#FF2D55",
|
|
1009
|
-
label: "Audio"
|
|
1010
|
-
},
|
|
1011
|
-
pdf: {
|
|
1012
|
-
icon: "doc",
|
|
1013
|
-
color: "var(--destructive)",
|
|
1014
|
-
label: "PDF"
|
|
1015
|
-
},
|
|
1016
|
-
text: {
|
|
1017
|
-
icon: "doc",
|
|
1018
|
-
color: "var(--primary)",
|
|
1019
|
-
label: "Text"
|
|
1020
|
-
},
|
|
1021
|
-
archive: {
|
|
1022
|
-
icon: "archivebox",
|
|
1023
|
-
color: "#A2845E",
|
|
1024
|
-
label: "Archive"
|
|
1025
|
-
},
|
|
1026
|
-
other: {
|
|
1027
|
-
icon: "doc",
|
|
1028
|
-
color: "var(--muted-foreground)",
|
|
1029
|
-
label: "File"
|
|
1030
|
-
}
|
|
1031
|
-
};
|
|
1032
|
-
function Ze(e, t) {
|
|
1033
|
-
let n = x(e.name).toUpperCase();
|
|
1034
|
-
return [n && n.length <= 5 ? n : Z[t].label, S(e.size)].filter(Boolean).join(" · ");
|
|
1035
|
-
}
|
|
1036
|
-
function Q({ children: t, className: n }) {
|
|
826
|
+
});
|
|
827
|
+
function it({ children: t, className: n }) {
|
|
1037
828
|
return /* @__PURE__ */ N("span", {
|
|
1038
|
-
className: e("pointer-events-none absolute bottom-1 left-1 grid h-[18px] min-w-[18px] place-items-center rounded-md bg-black/55 px-1 text-
|
|
829
|
+
className: e("pointer-events-none absolute bottom-1 left-1 grid h-[18px] min-w-[18px] place-items-center rounded-md bg-black/55 px-1 text-caption2 leading-none font-bold tracking-[.02em] text-white uppercase", n),
|
|
1039
830
|
children: t
|
|
1040
831
|
});
|
|
1041
832
|
}
|
|
1042
|
-
function
|
|
1043
|
-
let
|
|
1044
|
-
if (
|
|
833
|
+
function at({ a: t, kind: n }) {
|
|
834
|
+
let r = ge(t.name);
|
|
835
|
+
if (n === "video" && t.preview) return /* @__PURE__ */ P("span", {
|
|
1045
836
|
className: "relative block h-[58px] w-[104px]",
|
|
1046
837
|
children: [
|
|
1047
|
-
/* @__PURE__ */ N(
|
|
1048
|
-
src:
|
|
838
|
+
/* @__PURE__ */ N("img", {
|
|
839
|
+
src: t.preview,
|
|
1049
840
|
alt: "",
|
|
1050
|
-
className: "block size-full object-cover"
|
|
1051
|
-
initial: {
|
|
1052
|
-
opacity: 0,
|
|
1053
|
-
filter: "blur(6px)"
|
|
1054
|
-
},
|
|
1055
|
-
animate: {
|
|
1056
|
-
opacity: 1,
|
|
1057
|
-
filter: "blur(0px)"
|
|
1058
|
-
},
|
|
1059
|
-
transition: a.smooth
|
|
841
|
+
className: "block size-full object-cover transition-[opacity,filter] duration-spring-smooth ease-spring-smooth starting:opacity-0 starting:blur-[6px] motion-reduce:transition-none"
|
|
1060
842
|
}),
|
|
1061
843
|
/* @__PURE__ */ N("span", {
|
|
1062
844
|
className: "absolute top-1/2 left-1/2 grid size-[22px] -translate-1/2 place-items-center rounded-full bg-black/55 pl-px text-white",
|
|
1063
|
-
children: /* @__PURE__ */ N(
|
|
845
|
+
children: /* @__PURE__ */ N(y, {
|
|
1064
846
|
name: "play",
|
|
1065
847
|
size: 11,
|
|
1066
848
|
sw: 2,
|
|
1067
849
|
className: "[&_path]:fill-current"
|
|
1068
850
|
})
|
|
1069
851
|
}),
|
|
1070
|
-
|
|
852
|
+
r ? /* @__PURE__ */ N(it, { children: r }) : null
|
|
1071
853
|
]
|
|
1072
854
|
});
|
|
1073
|
-
if (
|
|
855
|
+
if (n === "text" && t.excerpt) return /* @__PURE__ */ P("span", {
|
|
1074
856
|
className: "relative block h-[58px] w-[112px] text-left",
|
|
1075
857
|
children: [/* @__PURE__ */ N("span", {
|
|
1076
858
|
className: "block h-full overflow-hidden px-[7px] pt-[6px] font-mono text-[6px] leading-[8px] whitespace-pre text-muted-foreground [mask-image:linear-gradient(to_bottom,#000_45%,transparent_92%)]",
|
|
1077
|
-
children:
|
|
1078
|
-
}),
|
|
859
|
+
children: t.excerpt
|
|
860
|
+
}), r ? /* @__PURE__ */ N(it, { children: r }) : null]
|
|
1079
861
|
});
|
|
1080
|
-
let
|
|
862
|
+
let i = pe[n];
|
|
1081
863
|
return /* @__PURE__ */ P("span", {
|
|
1082
864
|
className: "flex h-[58px] w-[164px] min-w-0 items-center gap-2.5 px-2.5 text-left",
|
|
1083
865
|
children: [/* @__PURE__ */ N("span", {
|
|
1084
|
-
className: "grid size-9 shrink-0 place-items-center rounded-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
name: r.icon,
|
|
866
|
+
className: e("grid size-9 shrink-0 place-items-center rounded-lg", i.tone),
|
|
867
|
+
children: /* @__PURE__ */ N(y, {
|
|
868
|
+
name: i.icon,
|
|
1088
869
|
size: 20,
|
|
1089
870
|
sw: 1.8
|
|
1090
871
|
})
|
|
1091
872
|
}), /* @__PURE__ */ P("span", {
|
|
1092
873
|
className: "flex min-w-0 flex-col gap-px",
|
|
1093
874
|
children: [/* @__PURE__ */ N("span", {
|
|
1094
|
-
className: "truncate text-
|
|
1095
|
-
children:
|
|
875
|
+
className: "truncate text-caption leading-[16px] font-medium text-foreground",
|
|
876
|
+
children: t.name
|
|
1096
877
|
}), /* @__PURE__ */ N("span", {
|
|
1097
878
|
className: "truncate text-caption2 leading-[14px] text-muted-foreground",
|
|
1098
|
-
children:
|
|
879
|
+
children: me(t, n)
|
|
1099
880
|
})]
|
|
1100
881
|
})]
|
|
1101
882
|
});
|
|
1102
883
|
}
|
|
1103
|
-
function
|
|
1104
|
-
let
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
884
|
+
function ot({ entry: e, recovery: t, children: n }) {
|
|
885
|
+
let r = k(null), i = e.item;
|
|
886
|
+
return O.useLayoutEffect(() => {
|
|
887
|
+
let n = r.current;
|
|
888
|
+
if (!(!n || !e.present)) return t.bind(n, {
|
|
889
|
+
key: e.key,
|
|
890
|
+
props: void 0
|
|
891
|
+
});
|
|
892
|
+
}, [
|
|
893
|
+
e.present,
|
|
894
|
+
e.key,
|
|
895
|
+
t
|
|
896
|
+
]), O.useLayoutEffect(() => {
|
|
897
|
+
let t = r.current;
|
|
898
|
+
if (!(!t || e.present)) return t.style.position = "absolute", t.style.left = `${t.offsetLeft}px`, t.style.top = `${t.offsetTop}px`, () => {
|
|
899
|
+
t.style.position = "", t.style.left = "", t.style.top = "";
|
|
900
|
+
};
|
|
901
|
+
}, [e.present]), l(r, e.present, {
|
|
902
|
+
appear: e.appear,
|
|
903
|
+
exited: e.exited
|
|
904
|
+
}), /* @__PURE__ */ N("div", {
|
|
905
|
+
ref: r,
|
|
906
|
+
"data-slot": "composer-attachment",
|
|
907
|
+
"data-attachment-id": i.id,
|
|
908
|
+
"data-kind": ke(i),
|
|
909
|
+
className: "relative transition-[opacity,scale,filter] duration-spring-snappy ease-spring-snappy data-starting-style:scale-60 data-starting-style:opacity-0 data-starting-style:blur-[4px] data-ending-style:scale-60 data-ending-style:opacity-0 data-ending-style:blur-[4px] motion-reduce:transition-none",
|
|
910
|
+
children: n
|
|
911
|
+
});
|
|
912
|
+
}
|
|
913
|
+
function st({ className: t, ...n }) {
|
|
914
|
+
let { attachments: r, annotate: i, canAnnotate: a, removeAttachment: c, editor: l, disabled: f } = H(), p = k(null), m = u(r.length > 0), g = d(r, (e) => e.id), _ = r.map((e) => e.id).join(), v = k(_), b = k(null);
|
|
915
|
+
_ !== v.current && !b.current && p.current && (b.current = s(p.current.querySelectorAll(":scope > [data-slot=\"composer-attachment\"]"))), O.useLayoutEffect(() => {
|
|
916
|
+
v.current = _;
|
|
917
|
+
let e = b.current;
|
|
918
|
+
b.current = null, e && o(e, { spring: "snappy" });
|
|
919
|
+
}, [_]);
|
|
920
|
+
let x = k(l);
|
|
921
|
+
x.current = l;
|
|
922
|
+
let S = O.useMemo(() => Ce({ fallback: (e) => {
|
|
923
|
+
let t = Array.from(p.current?.querySelectorAll("[data-slot=\"composer-attachment\"]:not([data-ending-style]) [data-attachment-open]") ?? []);
|
|
924
|
+
return (t.find((t) => e.el.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING) ?? t[t.length - 1]) || (x.current?.commands.focus("end"), null);
|
|
925
|
+
} }), []), C = (e) => (t) => {
|
|
926
|
+
(t.key === "Backspace" || t.key === "Delete") && (t.preventDefault(), c(e, {
|
|
927
|
+
reason: "remove",
|
|
928
|
+
event: t.nativeEvent
|
|
929
|
+
}));
|
|
1109
930
|
};
|
|
1110
|
-
return /* @__PURE__ */ N(
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
},
|
|
1119
|
-
animate: {
|
|
1120
|
-
height: "auto",
|
|
1121
|
-
opacity: 1
|
|
1122
|
-
},
|
|
1123
|
-
exit: {
|
|
1124
|
-
height: 0,
|
|
1125
|
-
opacity: 0
|
|
1126
|
-
},
|
|
1127
|
-
transition: a.smooth,
|
|
1128
|
-
children: /* @__PURE__ */ N(Me, {
|
|
1129
|
-
ref: u,
|
|
931
|
+
return m.mounted ? /* @__PURE__ */ N("div", {
|
|
932
|
+
ref: m.ref,
|
|
933
|
+
"data-slot": "composer-attachments-presence",
|
|
934
|
+
className: "order-[-2] grid w-full min-w-0 grid-rows-[1fr] transition-[grid-template-rows,opacity] duration-spring-smooth ease-spring-smooth data-starting-style:grid-rows-[0fr] data-starting-style:opacity-0 data-ending-style:grid-rows-[0fr] data-ending-style:opacity-0 group-data-[collapsed=compact]/composer:hidden motion-reduce:transition-none",
|
|
935
|
+
children: /* @__PURE__ */ N("div", {
|
|
936
|
+
className: "min-h-0 overflow-hidden",
|
|
937
|
+
children: /* @__PURE__ */ N(J, {
|
|
938
|
+
ref: p,
|
|
1130
939
|
"data-slot": "composer-attachments",
|
|
1131
940
|
align: "block-start",
|
|
1132
|
-
className: e("flex-wrap gap-2", t),
|
|
941
|
+
className: e("relative flex-wrap gap-2 group-has-[[data-composer-expand]]/composer-card:pr-10", t),
|
|
1133
942
|
...n,
|
|
1134
|
-
children:
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
"
|
|
1144
|
-
"
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
opacity: 0,
|
|
1158
|
-
scale: .6,
|
|
1159
|
-
filter: "blur(4px)"
|
|
1160
|
-
},
|
|
1161
|
-
transition: a.snappy,
|
|
1162
|
-
children: [l ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(f, {
|
|
1163
|
-
"data-slot": "composer-attachment-open",
|
|
1164
|
-
onPress: () => {
|
|
1165
|
-
i(t.id);
|
|
1166
|
-
},
|
|
1167
|
-
onKeyDown: p(t.id),
|
|
1168
|
-
title: `${o ? "Annotate" : "Preview"} ${t.name}`,
|
|
1169
|
-
"aria-label": `${o ? "Annotate" : "Preview"} ${t.name}`,
|
|
1170
|
-
"data-theme-scope": Ye["data-theme-scope"],
|
|
1171
|
-
className: e(Ye.className, "block cursor-pointer overflow-hidden rounded-ctl border border-border bg-background p-0"),
|
|
1172
|
-
children: t.src ? /* @__PURE__ */ N("img", {
|
|
1173
|
-
src: t.src,
|
|
1174
|
-
alt: t.name,
|
|
1175
|
-
className: "block h-[58px] max-w-[130px] object-cover"
|
|
1176
|
-
}) : /* @__PURE__ */ N("span", {
|
|
1177
|
-
className: "grid h-[58px] w-[72px] place-items-center text-tertiary-foreground",
|
|
1178
|
-
children: /* @__PURE__ */ N(s, {
|
|
1179
|
-
name: "doc-corner",
|
|
1180
|
-
size: 18,
|
|
1181
|
-
sw: 1.7
|
|
1182
|
-
})
|
|
1183
|
-
})
|
|
1184
|
-
}), /* @__PURE__ */ N("span", {
|
|
1185
|
-
className: "pointer-events-none absolute bottom-1 left-1 grid size-[18px] place-items-center rounded-md bg-black/55 text-white",
|
|
1186
|
-
children: /* @__PURE__ */ N("svg", {
|
|
1187
|
-
width: "11",
|
|
1188
|
-
height: "11",
|
|
1189
|
-
viewBox: "0 0 24 24",
|
|
1190
|
-
fill: "none",
|
|
1191
|
-
stroke: "currentColor",
|
|
1192
|
-
strokeWidth: "2.2",
|
|
1193
|
-
strokeLinecap: "round",
|
|
1194
|
-
strokeLinejoin: "round",
|
|
1195
|
-
children: /* @__PURE__ */ N("path", { d: "M14 4l6 6-10 10H4v-6z" })
|
|
1196
|
-
})
|
|
1197
|
-
})] }) : /* @__PURE__ */ N(f, {
|
|
1198
|
-
"data-slot": "composer-attachment-open",
|
|
1199
|
-
onPress: () => {
|
|
1200
|
-
t.src && typeof window < "u" && window.open(t.src, "_blank", "noopener");
|
|
1201
|
-
},
|
|
1202
|
-
onKeyDown: p(t.id),
|
|
1203
|
-
title: `${t.name}${u ? ` · ${u}` : ""}`,
|
|
1204
|
-
"aria-label": `Open ${t.name}${u ? `, ${u}` : ""}`,
|
|
1205
|
-
className: "block cursor-pointer overflow-hidden rounded-ctl border border-border bg-secondary p-0 font-sans outline-none data-focus-visible:ring-2 data-focus-visible:ring-primary/60",
|
|
1206
|
-
children: /* @__PURE__ */ N(Qe, {
|
|
1207
|
-
a: t,
|
|
1208
|
-
kind: n
|
|
943
|
+
children: g.map((t) => {
|
|
944
|
+
let n = t.item, r = ke(n), o = me(n, r);
|
|
945
|
+
return /* @__PURE__ */ P(ot, {
|
|
946
|
+
entry: t,
|
|
947
|
+
recovery: S,
|
|
948
|
+
children: [r === "image" ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(L, {
|
|
949
|
+
"data-attachment-open": "",
|
|
950
|
+
onClick: () => i(n.id),
|
|
951
|
+
onKeyDown: C(n.id),
|
|
952
|
+
title: `${a ? "Annotate" : "Preview"} ${n.name}`,
|
|
953
|
+
"aria-label": `${a ? "Annotate" : "Preview"} ${n.name}`,
|
|
954
|
+
"data-theme-scope": rt["data-theme-scope"],
|
|
955
|
+
className: e(rt.className, h, "block cursor-pointer overflow-hidden rounded-ctl border border-border bg-background p-0"),
|
|
956
|
+
children: n.src ? /* @__PURE__ */ N("img", {
|
|
957
|
+
src: n.src,
|
|
958
|
+
alt: n.name,
|
|
959
|
+
className: "block h-[58px] max-w-[130px] object-cover"
|
|
960
|
+
}) : /* @__PURE__ */ N("span", {
|
|
961
|
+
className: "grid h-[58px] w-[72px] place-items-center text-tertiary-foreground",
|
|
962
|
+
children: /* @__PURE__ */ N(y, {
|
|
963
|
+
name: "doc-corner",
|
|
964
|
+
size: 18,
|
|
965
|
+
sw: 1.7
|
|
1209
966
|
})
|
|
1210
|
-
})
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
967
|
+
})
|
|
968
|
+
}), a ? /* @__PURE__ */ N("span", {
|
|
969
|
+
"aria-hidden": "true",
|
|
970
|
+
className: "pointer-events-none absolute bottom-1 left-1 grid size-[18px] place-items-center rounded-md bg-black/55 text-white",
|
|
971
|
+
children: /* @__PURE__ */ N(y, {
|
|
972
|
+
name: "pencil",
|
|
973
|
+
size: 11,
|
|
974
|
+
sw: 2.2
|
|
975
|
+
})
|
|
976
|
+
}) : null] }) : /* @__PURE__ */ N(L, {
|
|
977
|
+
"data-attachment-open": "",
|
|
978
|
+
onClick: () => {
|
|
979
|
+
n.src && typeof window < "u" && window.open(n.src, "_blank", "noopener");
|
|
980
|
+
},
|
|
981
|
+
onKeyDown: C(n.id),
|
|
982
|
+
title: `${n.name}${o ? ` · ${o}` : ""}`,
|
|
983
|
+
"aria-label": `Open ${n.name}${o ? `, ${o}` : ""}`,
|
|
984
|
+
className: e(h, "block cursor-pointer overflow-hidden rounded-ctl border border-border bg-secondary p-0 font-sans"),
|
|
985
|
+
children: /* @__PURE__ */ N(at, {
|
|
986
|
+
a: n,
|
|
987
|
+
kind: r
|
|
988
|
+
})
|
|
989
|
+
}), /* @__PURE__ */ N(L, {
|
|
990
|
+
onClick: (e) => c(n.id, {
|
|
991
|
+
reason: "remove",
|
|
992
|
+
event: e.nativeEvent
|
|
993
|
+
}),
|
|
994
|
+
disabled: f,
|
|
995
|
+
"aria-label": `Remove ${n.name}`,
|
|
996
|
+
className: e(h, W, "absolute -top-[9px] -right-[9px] grid size-6 cursor-pointer place-items-center rounded-full border-0 bg-transparent p-0 text-muted-foreground data-disabled:hidden"),
|
|
997
|
+
children: /* @__PURE__ */ N("span", {
|
|
998
|
+
"aria-hidden": "true",
|
|
999
|
+
className: "grid size-[18px] place-items-center rounded-full border border-border bg-popover",
|
|
1000
|
+
children: /* @__PURE__ */ N(y, {
|
|
1001
|
+
name: "xmark",
|
|
1002
|
+
size: 9,
|
|
1003
|
+
sw: 2.6
|
|
1220
1004
|
})
|
|
1221
|
-
})
|
|
1222
|
-
}
|
|
1223
|
-
})
|
|
1005
|
+
})
|
|
1006
|
+
})]
|
|
1007
|
+
}, t.key);
|
|
1224
1008
|
})
|
|
1225
1009
|
})
|
|
1226
|
-
}
|
|
1227
|
-
});
|
|
1010
|
+
})
|
|
1011
|
+
}) : null;
|
|
1228
1012
|
}
|
|
1229
|
-
function
|
|
1013
|
+
function ct(e) {
|
|
1230
1014
|
let { $from: t, empty: n } = e.state.selection;
|
|
1231
1015
|
return n && t.depth === 1 && t.parent.type.name === "paragraph";
|
|
1232
1016
|
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
})
|
|
1239
|
-
|
|
1240
|
-
let c = U(), { value: l, setValue: f, expanded: p, attachments: m, addAttachment: h, setEditor: g, collapsed: _ } = c, v = A(c);
|
|
1241
|
-
v.current = c;
|
|
1242
|
-
let y = A(null), b = (e) => {
|
|
1243
|
-
let t = y.current;
|
|
1244
|
-
return !t || e.key !== "Enter" ? !1 : e.metaKey || e.ctrlKey ? (v.current.send(), !0) : e.shiftKey ? t.commands.insertContent({ type: "hardBreak" }) : document.querySelector(".slash-menu") || !et(t) ? !1 : (v.current.send(), !0);
|
|
1245
|
-
}, x = (e) => {
|
|
1017
|
+
function lt({ placeholder: t = "Ask anything — @ files, / commands, paste images", "aria-label": n = "Message", autoFocus: r, imagePaste: i = "chip", slashMenu: a = !0, references: o, className: s, ref: c, ...l }) {
|
|
1018
|
+
let u = D(), { value: d, setValue: f, expanded: p, attachments: m, addAttachment: h, setEditor: g, collapsed: _, disabled: v } = u, y = k(u);
|
|
1019
|
+
y.current = u;
|
|
1020
|
+
let b = k(null), x = (e) => {
|
|
1021
|
+
let t = b.current;
|
|
1022
|
+
return !t || e.key !== "Enter" ? !1 : e.metaKey || e.ctrlKey ? (y.current.send(e), !0) : e.shiftKey ? t.commands.insertContent({ type: "hardBreak" }) : ct(t) ? (y.current.send(e), !0) : !1;
|
|
1023
|
+
}, S = (e) => {
|
|
1246
1024
|
let t = e.clipboardData, n = Array.from(t?.files ?? []);
|
|
1247
|
-
if (n.length) return n.every((e) => e.type.startsWith("image/")) && (i === "inline" || t?.getData("text/plain").trim()) ? !1 : (e.preventDefault(),
|
|
1025
|
+
if (n.length) return e.stopPropagation(), n.every((e) => e.type.startsWith("image/")) && (i === "inline" || t?.getData("text/plain").trim()) ? !1 : (e.preventDefault(), y.current.attachFiles(n, {
|
|
1026
|
+
source: "paste",
|
|
1027
|
+
event: e
|
|
1028
|
+
}), !0);
|
|
1248
1029
|
let r = t?.getData("text/plain") ?? "";
|
|
1249
|
-
return !
|
|
1250
|
-
},
|
|
1251
|
-
|
|
1252
|
-
let
|
|
1030
|
+
return !se(r) || !b.current ? !1 : oe(b.current, r);
|
|
1031
|
+
}, C = k(n);
|
|
1032
|
+
C.current = n;
|
|
1033
|
+
let w = O.useCallback((e) => {
|
|
1253
1034
|
try {
|
|
1254
|
-
e && !e.isDestroyed && e.view.dom.setAttribute("aria-label",
|
|
1035
|
+
e && !e.isDestroyed && e.view.dom.setAttribute("aria-label", C.current);
|
|
1255
1036
|
} catch {}
|
|
1256
1037
|
}, []);
|
|
1257
|
-
|
|
1038
|
+
O.useEffect(() => w(b.current), [
|
|
1258
1039
|
n,
|
|
1259
|
-
|
|
1260
|
-
|
|
1040
|
+
w,
|
|
1041
|
+
u.editor
|
|
1261
1042
|
]);
|
|
1262
|
-
let
|
|
1263
|
-
|
|
1264
|
-
}, [g,
|
|
1265
|
-
|
|
1043
|
+
let T = O.useCallback((e) => {
|
|
1044
|
+
b.current = e, g(e), w(e);
|
|
1045
|
+
}, [g, w]), E = O.useCallback((e) => {
|
|
1046
|
+
y.current.annotate(e.id);
|
|
1266
1047
|
}, []);
|
|
1267
1048
|
return /* @__PURE__ */ N("div", {
|
|
1049
|
+
ref: c,
|
|
1268
1050
|
"data-slot": "composer-input",
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1051
|
+
"data-disabled": v || void 0,
|
|
1052
|
+
className: e("order-0 min-w-0 flex-1 basis-[60%] data-disabled:opacity-60", s),
|
|
1053
|
+
...l,
|
|
1054
|
+
children: /* @__PURE__ */ N(V, {
|
|
1055
|
+
markdown: d,
|
|
1056
|
+
editable: !v,
|
|
1057
|
+
onValueChange: (e) => f(e, { reason: "input-change" }),
|
|
1273
1058
|
toolbar: !1,
|
|
1274
1059
|
slashMenu: a,
|
|
1275
1060
|
references: o,
|
|
1276
1061
|
placeholder: t,
|
|
1277
|
-
|
|
1278
|
-
className: e("wb-composer-doc", p && _ === "none" && "wb-composer-doc-expanded", _ === "compact" && "wb-composer-doc-compact"
|
|
1279
|
-
onKeyDown:
|
|
1280
|
-
onPaste:
|
|
1062
|
+
autoFocus: r,
|
|
1063
|
+
className: e("wb-composer-doc", p && _ === "none" && "wb-composer-doc-expanded", _ === "compact" && "wb-composer-doc-compact"),
|
|
1064
|
+
onKeyDown: x,
|
|
1065
|
+
onPaste: S,
|
|
1281
1066
|
imagePaste: i,
|
|
1282
1067
|
attachments: m,
|
|
1283
1068
|
onAttachmentAdd: ({ file: e, ...t }) => {
|
|
@@ -1285,16 +1070,15 @@ function nt({ placeholder: t = "Ask anything — @ files, / commands, paste imag
|
|
|
1285
1070
|
...t,
|
|
1286
1071
|
kind: "image",
|
|
1287
1072
|
file: e
|
|
1288
|
-
});
|
|
1073
|
+
}, { reason: "drop" });
|
|
1289
1074
|
},
|
|
1290
|
-
onAttachmentRemove: (e) => e.forEach((e) =>
|
|
1291
|
-
onAttachmentOpen:
|
|
1292
|
-
onEditorReady:
|
|
1293
|
-
extensions: tt
|
|
1075
|
+
onAttachmentRemove: (e) => e.forEach((e) => y.current.removeAttachment(e)),
|
|
1076
|
+
onAttachmentOpen: E,
|
|
1077
|
+
onEditorReady: T
|
|
1294
1078
|
})
|
|
1295
1079
|
});
|
|
1296
1080
|
}
|
|
1297
|
-
var
|
|
1081
|
+
var Q = F("relative box-border flex min-w-0 flex-col text-caption text-muted-foreground", {
|
|
1298
1082
|
variants: {
|
|
1299
1083
|
side: {
|
|
1300
1084
|
top: "order-[-1]",
|
|
@@ -1302,8 +1086,8 @@ var $ = B("relative box-border flex min-w-0 flex-col text-caption text-muted-for
|
|
|
1302
1086
|
},
|
|
1303
1087
|
variant: {
|
|
1304
1088
|
attached: "border border-border bg-popover",
|
|
1305
|
-
detached: "rounded-
|
|
1306
|
-
|
|
1089
|
+
detached: "rounded-lg bg-secondary",
|
|
1090
|
+
plain: ""
|
|
1307
1091
|
}
|
|
1308
1092
|
},
|
|
1309
1093
|
compoundVariants: [
|
|
@@ -1329,12 +1113,12 @@ var $ = B("relative box-border flex min-w-0 flex-col text-caption text-muted-for
|
|
|
1329
1113
|
},
|
|
1330
1114
|
{
|
|
1331
1115
|
side: "top",
|
|
1332
|
-
variant: "
|
|
1116
|
+
variant: "plain",
|
|
1333
1117
|
className: "mb-1.5"
|
|
1334
1118
|
},
|
|
1335
1119
|
{
|
|
1336
1120
|
side: "bottom",
|
|
1337
|
-
variant: "
|
|
1121
|
+
variant: "plain",
|
|
1338
1122
|
className: "mt-1.5"
|
|
1339
1123
|
}
|
|
1340
1124
|
],
|
|
@@ -1342,317 +1126,212 @@ var $ = B("relative box-border flex min-w-0 flex-col text-caption text-muted-for
|
|
|
1342
1126
|
side: "bottom",
|
|
1343
1127
|
variant: "attached"
|
|
1344
1128
|
}
|
|
1345
|
-
}),
|
|
1346
|
-
function
|
|
1347
|
-
let e =
|
|
1129
|
+
}), ut = O.createContext(null);
|
|
1130
|
+
function dt() {
|
|
1131
|
+
let e = O.useContext(ut);
|
|
1348
1132
|
if (!e) throw Error("useComposerBump must be used within <ComposerBump>");
|
|
1349
1133
|
return e;
|
|
1350
1134
|
}
|
|
1351
|
-
function
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
if (e(
|
|
1362
|
-
let t = new ResizeObserver(e);
|
|
1363
|
-
d.current && t.observe(d.current);
|
|
1364
|
-
let n = T.current?.closest("[data-slot=\"composer\"]");
|
|
1365
|
-
return n && t.observe(n), () => t.disconnect();
|
|
1366
|
-
}, [
|
|
1367
|
-
i,
|
|
1368
|
-
d,
|
|
1369
|
-
f
|
|
1370
|
-
]);
|
|
1371
|
-
let M = d ? E ?? u : u, P = Math.max(0, Math.min(c, M * .75)), F = l({
|
|
1372
|
-
open: C,
|
|
1373
|
-
onOpenChange: w,
|
|
1374
|
-
peek: P,
|
|
1375
|
-
maxReveal: M,
|
|
1376
|
-
minimizable: p,
|
|
1377
|
-
minimized: m,
|
|
1378
|
-
onMinimizedChange: h
|
|
1379
|
-
}), I = i ? F.reveal : 0, L = M > P ? Math.max(0, (I - P) / (M - P)) : 0, ee = F.minimize, R = A(g);
|
|
1380
|
-
R.current = g, k.useEffect(() => {
|
|
1381
|
-
R.current?.({
|
|
1382
|
-
progress: L,
|
|
1383
|
-
reveal: I,
|
|
1384
|
-
minimize: ee,
|
|
1385
|
-
dragging: F.dragging,
|
|
1386
|
-
settling: F.settling
|
|
1387
|
-
});
|
|
1135
|
+
function ft() {
|
|
1136
|
+
return dt();
|
|
1137
|
+
}
|
|
1138
|
+
var pt = 200, mt = .4;
|
|
1139
|
+
function $({ open: e, onOpenChange: t, peek: n, maxReveal: r, windowRef: i }) {
|
|
1140
|
+
let a = e ? r : n, [o, s] = A(null), [c, l] = A(0), u = c > 0, d = k(null), f = O.useCallback(() => l((e) => e + 1), []), p = a, m = k(p);
|
|
1141
|
+
O.useEffect(() => {
|
|
1142
|
+
m.current !== p && (m.current = p, f());
|
|
1143
|
+
}, [p, f]), O.useLayoutEffect(() => {
|
|
1144
|
+
let e = i.current;
|
|
1145
|
+
if (c) return e ? be(e, () => l(0)) : l(0);
|
|
1388
1146
|
}, [
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1147
|
+
c,
|
|
1148
|
+
p,
|
|
1149
|
+
i
|
|
1150
|
+
]), O.useEffect(() => () => d.current?.(), []);
|
|
1151
|
+
let h = k({
|
|
1152
|
+
open: e,
|
|
1153
|
+
peek: n,
|
|
1154
|
+
maxReveal: r,
|
|
1155
|
+
onOpenChange: t
|
|
1156
|
+
});
|
|
1157
|
+
return h.current = {
|
|
1158
|
+
open: e,
|
|
1159
|
+
peek: n,
|
|
1160
|
+
maxReveal: r,
|
|
1161
|
+
onOpenChange: t
|
|
1162
|
+
}, {
|
|
1163
|
+
reveal: o ? o.reveal : a,
|
|
1164
|
+
dragging: !!o,
|
|
1165
|
+
settling: u,
|
|
1166
|
+
startDrag: (e) => {
|
|
1167
|
+
if (e.button !== 0) return;
|
|
1168
|
+
let t = i.current?.getBoundingClientRect().height ?? a, n = e.clientY, r = Te();
|
|
1169
|
+
r.add(e.timeStamp, n);
|
|
1170
|
+
let o = t, c = !1;
|
|
1171
|
+
d.current?.(), d.current = j(e.currentTarget, e.nativeEvent, {
|
|
1172
|
+
threshold: we,
|
|
1173
|
+
onStart: () => {
|
|
1174
|
+
c = !0, l(0);
|
|
1175
|
+
},
|
|
1176
|
+
onMove: ({ y: e, event: i }) => {
|
|
1177
|
+
r.add(i.timeStamp, e);
|
|
1178
|
+
let { peek: a, maxReveal: c } = h.current;
|
|
1179
|
+
o = t + (n - e);
|
|
1180
|
+
let l = Math.min(a, c), u = o > c ? c + I(o - c, c || 1) * .35 : o < l ? Math.max(0, l - I(l - o, c || 1)) : o;
|
|
1181
|
+
s({ reveal: Math.min(c + 24, u) });
|
|
1182
|
+
},
|
|
1183
|
+
onEnd: (e, t) => {
|
|
1184
|
+
if (d.current = null, !c) return;
|
|
1185
|
+
let { open: n, peek: i, maxReveal: a, onOpenChange: l } = h.current;
|
|
1186
|
+
if (s(null), f(), t) return;
|
|
1187
|
+
let u = -r.velocity(e.timeStamp), p = o + u * pt, m = [i, a], g = Math.max(0, Math.min(a, p)), _ = Math.abs(u) > mt ? m.filter((e) => u > 0 ? e > o + 1 : e < o - 1) : [], v = (_.length ? u > 0 ? Math.min(..._) : Math.max(..._) : m.reduce((e, t) => Math.abs(t - g) < Math.abs(e - g) ? t : e, m[0])) === a && a > i;
|
|
1188
|
+
v !== n && l(v, {
|
|
1189
|
+
reason: "drag",
|
|
1190
|
+
event: e
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
});
|
|
1194
|
+
},
|
|
1195
|
+
toggle: (n) => {
|
|
1196
|
+
t(!e, {
|
|
1197
|
+
reason: "press",
|
|
1198
|
+
event: n
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
function ht({ side: t = "bottom", variant: n, gutter: r = 12, draggable: i = !1, open: a, defaultOpen: o = !1, onOpenChange: s, peek: c = 0, maxReveal: l = 320, closeOnEscape: u = !0, className: d, style: f, children: p, ref: m, ...h }) {
|
|
1204
|
+
let [g, v] = _(a, o, s), y = k(null), b = k(null), x = O.useId(), S = Math.max(0, Math.min(c, l * .75)), C = $({
|
|
1205
|
+
open: g,
|
|
1206
|
+
onOpenChange: v,
|
|
1207
|
+
peek: S,
|
|
1208
|
+
maxReveal: l,
|
|
1209
|
+
windowRef: y
|
|
1210
|
+
}), w = i ? C.reveal : 0, T = l > S ? Math.max(0, (w - S) / (l - S)) : 0, E = k((e) => v(!1, {
|
|
1211
|
+
reason: "escape-key",
|
|
1212
|
+
event: e
|
|
1213
|
+
}));
|
|
1214
|
+
E.current = (e) => v(!1, {
|
|
1215
|
+
reason: "escape-key",
|
|
1216
|
+
event: e
|
|
1217
|
+
}), O.useEffect(() => {
|
|
1218
|
+
let e = b.current;
|
|
1219
|
+
if (!(!i || !g || !u || !e)) return Se(e, { onDismiss: (e, t) => {
|
|
1220
|
+
e === "escape-key" && E.current(t);
|
|
1221
|
+
} });
|
|
1402
1222
|
}, [
|
|
1403
1223
|
i,
|
|
1404
|
-
|
|
1405
|
-
|
|
1224
|
+
g,
|
|
1225
|
+
u
|
|
1406
1226
|
]);
|
|
1407
|
-
let
|
|
1227
|
+
let ee = {
|
|
1408
1228
|
side: t,
|
|
1409
1229
|
draggable: i,
|
|
1410
|
-
open:
|
|
1411
|
-
setOpen:
|
|
1412
|
-
reveal:
|
|
1413
|
-
progress:
|
|
1414
|
-
peek:
|
|
1415
|
-
maxReveal:
|
|
1416
|
-
dragging:
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1230
|
+
open: g,
|
|
1231
|
+
setOpen: v,
|
|
1232
|
+
reveal: w,
|
|
1233
|
+
progress: T,
|
|
1234
|
+
peek: S,
|
|
1235
|
+
maxReveal: l,
|
|
1236
|
+
dragging: C.dragging,
|
|
1237
|
+
settling: C.settling,
|
|
1238
|
+
startDrag: i ? C.startDrag : null,
|
|
1239
|
+
toggle: C.toggle,
|
|
1240
|
+
windowRef: y,
|
|
1241
|
+
contentId: x
|
|
1421
1242
|
};
|
|
1422
|
-
return /* @__PURE__ */ N(
|
|
1423
|
-
value:
|
|
1243
|
+
return /* @__PURE__ */ N(ut.Provider, {
|
|
1244
|
+
value: ee,
|
|
1424
1245
|
children: /* @__PURE__ */ N("div", {
|
|
1425
|
-
ref:
|
|
1246
|
+
ref: (e) => {
|
|
1247
|
+
b.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
|
|
1248
|
+
},
|
|
1426
1249
|
"data-slot": "composer-bump",
|
|
1427
1250
|
"data-side": t,
|
|
1428
1251
|
"data-variant": n ?? "attached",
|
|
1429
1252
|
"data-draggable": i || void 0,
|
|
1430
|
-
"data-open": i &&
|
|
1431
|
-
"data-dragging":
|
|
1432
|
-
"data-peeking": i &&
|
|
1433
|
-
className: e(
|
|
1253
|
+
"data-open": i && g || void 0,
|
|
1254
|
+
"data-dragging": C.dragging || void 0,
|
|
1255
|
+
"data-peeking": i && S > 0 && !g || void 0,
|
|
1256
|
+
className: e(Q({
|
|
1434
1257
|
side: t,
|
|
1435
1258
|
variant: n
|
|
1436
|
-
}), i && "has-[>[data-slot=composer-bump-handle]>[data-bump-grip]]:pt-3",
|
|
1259
|
+
}), i && "has-[>[data-slot=composer-bump-handle]>[data-bump-grip]]:pt-3", i && !C.dragging && "transition-[margin] duration-spring-tray ease-spring-tray motion-reduce:transition-none", d),
|
|
1437
1260
|
style: {
|
|
1438
|
-
"--bump-inset": `${r * (1 -
|
|
1439
|
-
"--bump-reveal": `${
|
|
1440
|
-
"--bump-max": `${
|
|
1441
|
-
"--bump-progress":
|
|
1442
|
-
...
|
|
1261
|
+
"--bump-inset": `${r * (1 - T)}px`,
|
|
1262
|
+
"--bump-reveal": `${w}px`,
|
|
1263
|
+
"--bump-max": `${l}px`,
|
|
1264
|
+
"--bump-progress": T,
|
|
1265
|
+
...f
|
|
1443
1266
|
},
|
|
1444
|
-
...
|
|
1445
|
-
children:
|
|
1267
|
+
...h,
|
|
1268
|
+
children: p
|
|
1446
1269
|
})
|
|
1447
1270
|
});
|
|
1448
1271
|
}
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
};
|
|
1454
|
-
if (!o.draggable) return /* @__PURE__ */ N("div", {
|
|
1272
|
+
var gt = "button,a,input,[role=button]";
|
|
1273
|
+
function _t({ grip: t = !0, "aria-label": n, className: r, children: i, onPointerDown: a, onClick: o, ...s }) {
|
|
1274
|
+
let c = dt();
|
|
1275
|
+
if (!c.draggable) return /* @__PURE__ */ N("div", {
|
|
1455
1276
|
"data-slot": "composer-bump-handle",
|
|
1277
|
+
role: n ? "group" : void 0,
|
|
1278
|
+
"aria-label": n,
|
|
1456
1279
|
className: e("flex min-w-0 items-center gap-[7px] px-[11px] py-1.5", r),
|
|
1457
|
-
|
|
1280
|
+
onPointerDown: a,
|
|
1281
|
+
onClick: o,
|
|
1282
|
+
...s,
|
|
1458
1283
|
children: i
|
|
1459
1284
|
});
|
|
1460
|
-
let
|
|
1285
|
+
let l = n ?? (c.open ? "Collapse" : "Expand"), u = (e) => {
|
|
1286
|
+
let t = e.closest?.(gt);
|
|
1287
|
+
return !!t && !t.hasAttribute("data-bump-grip");
|
|
1288
|
+
};
|
|
1461
1289
|
return /* @__PURE__ */ P("div", {
|
|
1462
1290
|
"data-slot": "composer-bump-handle",
|
|
1463
|
-
"data-dragging":
|
|
1464
|
-
className: e("group/handle flex min-w-0 touch-none flex-col select-none",
|
|
1465
|
-
...
|
|
1466
|
-
onPointerDown:
|
|
1291
|
+
"data-dragging": c.dragging || void 0,
|
|
1292
|
+
className: e("group/handle flex min-w-0 touch-none flex-col select-none", c.dragging ? "cursor-grabbing" : "cursor-grab", r),
|
|
1293
|
+
...s,
|
|
1294
|
+
onPointerDown: (e) => {
|
|
1295
|
+
a?.(e), !e.defaultPrevented && !u(e.target) && c.startDrag?.(e);
|
|
1296
|
+
},
|
|
1467
1297
|
onClick: (e) => {
|
|
1468
|
-
|
|
1469
|
-
t && !t.hasAttribute("data-bump-grip") || o.toggle();
|
|
1298
|
+
o?.(e), !e.defaultPrevented && !u(e.target) && c.toggle(e.nativeEvent);
|
|
1470
1299
|
},
|
|
1471
|
-
|
|
1472
|
-
onPointerUp: o.handleProps?.onPointerUp,
|
|
1473
|
-
onPointerCancel: o.handleProps?.onPointerCancel,
|
|
1474
|
-
onLostPointerCapture: o.handleProps?.onLostPointerCapture,
|
|
1475
|
-
children: [t ? /* @__PURE__ */ N("button", {
|
|
1476
|
-
type: "button",
|
|
1300
|
+
children: [t ? /* @__PURE__ */ N(L, {
|
|
1477
1301
|
"data-bump-grip": "",
|
|
1478
|
-
"
|
|
1479
|
-
"aria-
|
|
1480
|
-
"aria-
|
|
1481
|
-
"
|
|
1482
|
-
|
|
1483
|
-
children: /* @__PURE__ */ N("span", { className: e("block h-1 rounded-[999px] [transition:width_var(--duration-spring-bouncy)_var(--ease-spring-bouncy),background_var(--duration-spring-snappy)_var(--ease-spring-snappy)] motion-reduce:transition-none", o.open ? "w-10 bg-muted-foreground" : "w-8 bg-handle group-hover/handle:w-10 group-hover/handle:bg-tertiary-foreground") })
|
|
1302
|
+
"aria-label": l,
|
|
1303
|
+
"aria-expanded": c.open,
|
|
1304
|
+
"aria-controls": c.contentId,
|
|
1305
|
+
className: "absolute top-0 left-1/2 z-1 grid h-3 w-16 -translate-x-1/2 touch-none cursor-[inherit] place-items-center border-0 bg-transparent p-0 outline-none focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:-top-2 pointer-coarse:after:h-11 pointer-coarse:after:content-['']",
|
|
1306
|
+
children: /* @__PURE__ */ N("span", { className: e("block h-1 rounded-full [transition:width_var(--duration-spring-bouncy)_var(--ease-spring-bouncy),background_var(--duration-spring-snappy)_var(--ease-spring-snappy)] motion-reduce:transition-none", c.open ? "w-10 bg-muted-foreground" : "w-8 bg-handle group-hover/handle:w-10 group-hover/handle:bg-tertiary-foreground") })
|
|
1484
1307
|
}) : null, i ? /* @__PURE__ */ N("div", {
|
|
1485
1308
|
className: e("flex min-w-0 items-center gap-[7px] px-[11px] pb-1.5", !t && "pt-1.5"),
|
|
1486
1309
|
children: i
|
|
1487
1310
|
}) : null]
|
|
1488
1311
|
});
|
|
1489
1312
|
}
|
|
1490
|
-
function
|
|
1491
|
-
let
|
|
1313
|
+
function vt({ "aria-label": t = "Details", className: n, children: r, ref: i, ...a }) {
|
|
1314
|
+
let o = dt(), s = o.reveal > 0 || o.settling, c = o.windowRef, l = O.useCallback((e) => {
|
|
1315
|
+
c.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
1316
|
+
}, [c, i]);
|
|
1492
1317
|
return /* @__PURE__ */ N("div", {
|
|
1493
|
-
|
|
1494
|
-
|
|
1318
|
+
...a,
|
|
1319
|
+
ref: l,
|
|
1320
|
+
id: o.contentId,
|
|
1495
1321
|
role: "region",
|
|
1496
1322
|
"aria-label": t,
|
|
1497
|
-
"aria-hidden": !
|
|
1498
|
-
inert: !
|
|
1323
|
+
"aria-hidden": !s,
|
|
1324
|
+
inert: !s,
|
|
1499
1325
|
"data-slot": "composer-bump-content",
|
|
1500
|
-
"data-
|
|
1501
|
-
|
|
1326
|
+
"data-peek-host": "",
|
|
1327
|
+
"data-peeking": o.peek > 0 && !o.open || void 0,
|
|
1328
|
+
className: e("relative order-first h-(--bump-reveal) w-full shrink-0 overflow-hidden", !o.dragging && "transition-[height] duration-spring-tray ease-spring-tray motion-reduce:transition-none", s ? "visible" : "invisible", "data-peeking:[mask-image:linear-gradient(to_bottom,transparent,#000_34px)]", n),
|
|
1502
1329
|
children: /* @__PURE__ */ N("div", {
|
|
1503
1330
|
"data-slot": "composer-bump-body",
|
|
1504
1331
|
className: "absolute inset-x-0 bottom-0 flex h-(--bump-max) min-w-0 flex-col justify-end overflow-hidden",
|
|
1505
|
-
...i,
|
|
1506
1332
|
children: r
|
|
1507
1333
|
})
|
|
1508
1334
|
});
|
|
1509
1335
|
}
|
|
1510
|
-
function ct({ src: t, onClose: n, onSave: r, canvas: o, annotator: s, origin: c }) {
|
|
1511
|
-
let l = A(null), u = A(null), d = A(null), p = A(null), m = A(null), g = h(), _ = o === void 0 ? s === void 0 ? g : s : null, v = A(!1), y = A(null), b = () => {
|
|
1512
|
-
let e = l.current, t = c?.() ?? null;
|
|
1513
|
-
if (!e || !t) return null;
|
|
1514
|
-
let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
|
|
1515
|
-
if (!n.width || !r.width) return null;
|
|
1516
|
-
let i = Math.max(n.width / r.width, n.height / r.height), a = n.width / i, o = n.height / i, s = (r.width - a) / 2, u = (r.height - o) / 2, d = parseFloat(getComputedStyle(t.closest("button") ?? t).borderRadius) || 10;
|
|
1517
|
-
return {
|
|
1518
|
-
el: t,
|
|
1519
|
-
x: n.left + n.width / 2 - (r.left + r.width / 2),
|
|
1520
|
-
y: n.top + n.height / 2 - (r.top + r.height / 2),
|
|
1521
|
-
scale: i,
|
|
1522
|
-
clip: `inset(${u}px ${s}px ${u}px ${s}px round ${d / i}px)`
|
|
1523
|
-
};
|
|
1524
|
-
};
|
|
1525
|
-
k.useLayoutEffect(() => {
|
|
1526
|
-
let e = l.current, t = u.current;
|
|
1527
|
-
if (!e || !t) return;
|
|
1528
|
-
let n = i(), r = (e, t = 0) => e && D(e, {
|
|
1529
|
-
opacity: [0, 1],
|
|
1530
|
-
y: [n ? 0 : 10, 0]
|
|
1531
|
-
}, n ? { duration: .15 } : {
|
|
1532
|
-
...a.smooth,
|
|
1533
|
-
delay: t
|
|
1534
|
-
}), o = () => {
|
|
1535
|
-
D(m.current, { opacity: [0, 1] }, { duration: n ? .15 : .28 }), r(d.current, .08), r(p.current, .12);
|
|
1536
|
-
let t = n ? null : b();
|
|
1537
|
-
if (!t) {
|
|
1538
|
-
D(e, {
|
|
1539
|
-
opacity: [0, 1],
|
|
1540
|
-
scale: [n ? 1 : .94, 1]
|
|
1541
|
-
}, n ? { duration: .15 } : a.smooth);
|
|
1542
|
-
return;
|
|
1543
|
-
}
|
|
1544
|
-
y.current = t.el, t.el.style.visibility = "hidden", e.style.opacity = "1", D(e, {
|
|
1545
|
-
x: [t.x, 0],
|
|
1546
|
-
y: [t.y, 0],
|
|
1547
|
-
scale: [t.scale, 1],
|
|
1548
|
-
clipPath: [t.clip, "inset(0px 0px 0px 0px round 14px)"]
|
|
1549
|
-
}, a.smooth);
|
|
1550
|
-
};
|
|
1551
|
-
return e.style.opacity = "0", t.complete && t.naturalWidth ? o() : (t.addEventListener("load", o, { once: !0 }), t.addEventListener("error", o, { once: !0 })), () => {
|
|
1552
|
-
y.current && (y.current.style.visibility = "");
|
|
1553
|
-
};
|
|
1554
|
-
}, []);
|
|
1555
|
-
let x = (e) => {
|
|
1556
|
-
if (v.current) return;
|
|
1557
|
-
v.current = !0;
|
|
1558
|
-
let t = l.current, n = i();
|
|
1559
|
-
for (let e of [d.current, p.current]) e && D(e, { opacity: 0 }, { duration: .12 });
|
|
1560
|
-
m.current && D(m.current, { opacity: 0 }, { duration: n ? .12 : .3 }), y.current && (y.current.style.visibility = "");
|
|
1561
|
-
let r = !n && t ? b() : null;
|
|
1562
|
-
y.current && (y.current.style.visibility = "hidden");
|
|
1563
|
-
let o = () => {
|
|
1564
|
-
y.current && (y.current.style.visibility = ""), y.current = null, e();
|
|
1565
|
-
};
|
|
1566
|
-
if (!t) return o();
|
|
1567
|
-
if (!r) {
|
|
1568
|
-
D(t, {
|
|
1569
|
-
opacity: 0,
|
|
1570
|
-
scale: n ? 1 : .96
|
|
1571
|
-
}, { duration: .14 }).then(o);
|
|
1572
|
-
return;
|
|
1573
|
-
}
|
|
1574
|
-
D(t, {
|
|
1575
|
-
x: r.x,
|
|
1576
|
-
y: r.y,
|
|
1577
|
-
scale: r.scale,
|
|
1578
|
-
clipPath: r.clip
|
|
1579
|
-
}, {
|
|
1580
|
-
...a.smooth,
|
|
1581
|
-
restDelta: .5,
|
|
1582
|
-
restSpeed: 20
|
|
1583
|
-
}).then(o);
|
|
1584
|
-
}, S = () => {
|
|
1585
|
-
let e = u.current, t = l.current;
|
|
1586
|
-
if (!e || !t) return x(n);
|
|
1587
|
-
let i = e.clientWidth, a = e.clientHeight, o = Math.max(1, e.naturalWidth / i), s = document.createElement("canvas");
|
|
1588
|
-
s.width = i * o, s.height = a * o;
|
|
1589
|
-
let c = s.getContext("2d");
|
|
1590
|
-
if (!c) return x(n);
|
|
1591
|
-
c.drawImage(e, 0, 0, s.width, s.height);
|
|
1592
|
-
let d = () => {
|
|
1593
|
-
let e = s.toDataURL("image/png");
|
|
1594
|
-
x(() => r(e));
|
|
1595
|
-
}, f = t.querySelector("[data-slot=\"pencil-canvas\"] > svg") ?? t.querySelector("svg");
|
|
1596
|
-
if (!f) return d();
|
|
1597
|
-
let p = f.cloneNode(!0);
|
|
1598
|
-
p.setAttribute("width", String(i)), p.setAttribute("height", String(a)), p.setAttribute("viewBox", "0 0 " + i + " " + a), p.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
1599
|
-
let m = new Image();
|
|
1600
|
-
m.onload = () => {
|
|
1601
|
-
c.drawImage(m, 0, 0, s.width, s.height), d();
|
|
1602
|
-
}, m.onerror = d, m.src = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(new XMLSerializer().serializeToString(p));
|
|
1603
|
-
}, C = (t, n, r) => /* @__PURE__ */ N(f, {
|
|
1604
|
-
onPress: r,
|
|
1605
|
-
className: e("cursor-pointer rounded-[9px] px-3.5 py-[7px] font-sans text-[12.5px] font-[650] text-white", n ? "border-0 bg-primary" : "border border-white/20 bg-transparent"),
|
|
1606
|
-
children: t
|
|
1607
|
-
}), w = o === void 0 && !_, T = (e) => /* @__PURE__ */ P(M, { children: [
|
|
1608
|
-
/* @__PURE__ */ P("div", {
|
|
1609
|
-
ref: d,
|
|
1610
|
-
className: "flex items-center gap-2",
|
|
1611
|
-
children: [/* @__PURE__ */ N("span", {
|
|
1612
|
-
className: "flex-1 font-sans text-footnote font-[650] text-foreground",
|
|
1613
|
-
children: e ? e.title ?? "Annotate — strokes flatten into the image on save" : "Preview"
|
|
1614
|
-
}), e ? /* @__PURE__ */ P(M, { children: [C("Cancel", !1, () => x(n)), C("Save annotation", !0, S)] }) : C("Close", !0, () => x(n))]
|
|
1615
|
-
}),
|
|
1616
|
-
/* @__PURE__ */ P("div", {
|
|
1617
|
-
ref: l,
|
|
1618
|
-
"data-slot": "annotate-lightbox-image",
|
|
1619
|
-
className: "relative origin-center self-center overflow-hidden rounded-card border border-white/14 bg-code will-change-transform",
|
|
1620
|
-
children: [/* @__PURE__ */ N("img", {
|
|
1621
|
-
ref: u,
|
|
1622
|
-
src: t,
|
|
1623
|
-
alt: "",
|
|
1624
|
-
className: "block h-auto max-h-[68vh] w-auto max-w-[86vw] min-w-[min(340px,86vw)]"
|
|
1625
|
-
}), e?.canvas]
|
|
1626
|
-
}),
|
|
1627
|
-
e?.toolbar ? /* @__PURE__ */ N("div", {
|
|
1628
|
-
ref: p,
|
|
1629
|
-
children: e.toolbar
|
|
1630
|
-
}) : null
|
|
1631
|
-
] });
|
|
1632
|
-
return /* @__PURE__ */ P(te, {
|
|
1633
|
-
"data-slot": "annotate-lightbox",
|
|
1634
|
-
"data-preview": w || void 0,
|
|
1635
|
-
isOpen: !0,
|
|
1636
|
-
isDismissable: !0,
|
|
1637
|
-
onOpenChange: (e) => {
|
|
1638
|
-
e || x(n);
|
|
1639
|
-
},
|
|
1640
|
-
className: "fixed inset-0 z-400 grid place-items-center",
|
|
1641
|
-
children: [/* @__PURE__ */ N("div", {
|
|
1642
|
-
ref: m,
|
|
1643
|
-
"data-slot": "annotate-lightbox-backdrop",
|
|
1644
|
-
"aria-hidden": "true",
|
|
1645
|
-
className: "absolute inset-0 bg-black/74"
|
|
1646
|
-
}), /* @__PURE__ */ N(z, {
|
|
1647
|
-
className: "relative outline-none",
|
|
1648
|
-
children: /* @__PURE__ */ N(F, {
|
|
1649
|
-
"aria-label": w ? "Preview image" : "Annotate image",
|
|
1650
|
-
...Xe,
|
|
1651
|
-
className: e(Xe.className, "flex max-w-[90vw] flex-col gap-2.5 text-foreground outline-none"),
|
|
1652
|
-
children: _ ? /* @__PURE__ */ N(_, { children: T }) : T(o === void 0 ? null : { canvas: o })
|
|
1653
|
-
})
|
|
1654
|
-
})]
|
|
1655
|
-
});
|
|
1656
|
-
}
|
|
1657
1336
|
//#endregion
|
|
1658
|
-
export {
|
|
1337
|
+
export { Ae as Composer, tt as ComposerAdd, J as ComposerAddon, st as ComposerAttachments, ht as ComposerBump, vt as ComposerBumpContent, _t as ComposerBumpHandle, Ge as ComposerCard, nt as ComposerExpand, Ke as ComposerFooter, lt as ComposerInput, Be as ComposerOptions, Ve as ComposerOptionsOutlet, Xe as ComposerPill, Ze as ComposerSelect, et as ComposerSend, Y as ComposerSeparator, qe as ComposerSpacer, $e as ComposerStop, Je as ComposerText, q as composerAddonVariants, Q as composerBumpVariants, G as composerCardVariants, H as useComposer, ft as useComposerBump };
|