@brett_lamy/ui 5.17.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 +33 -41
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +210 -234
- 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 +35 -13
- package/dist/components/debug-toolbar.d.ts.map +1 -1
- package/dist/components/debug-toolbar.js +82 -70
- 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 -6
- 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 -54
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +539 -496
- 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/gpu-cron.js +5 -2
- package/dist/lib/gpu-query/index.d.ts +1 -1
- package/dist/lib/gpu-query/index.d.ts.map +1 -1
- package/dist/lib/gpu-query/index.js +123 -41
- package/dist/lib/gpu-query/kernel.wgsl.js +189 -0
- package/dist/lib/gpu-query/webgpu.js +135 -0
- package/dist/lib/gpu-time.js +42 -38
- package/dist/lib/grid-behaviors.d.ts +191 -0
- package/dist/lib/grid-behaviors.d.ts.map +1 -0
- package/dist/lib/grid-behaviors.js +329 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -1
- package/dist/lib/icon-shapes/docs.d.ts +205 -0
- package/dist/lib/icon-shapes/docs.d.ts.map +1 -0
- package/dist/lib/icon-shapes/docs.js +235 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -1
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -1
- package/dist/lib/icon.d.ts +244 -6
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.js +271 -180
- package/dist/lib/index-bar-primitive.d.ts +626 -0
- package/dist/lib/index-bar-primitive.d.ts.map +1 -0
- package/dist/lib/index-bar-primitive.js +187 -0
- package/dist/lib/inline-edit-primitive.d.ts +386 -0
- package/dist/lib/inline-edit-primitive.d.ts.map +1 -0
- package/dist/lib/inline-edit-primitive.js +110 -0
- package/dist/lib/kept-children.d.ts +15 -0
- package/dist/lib/kept-children.d.ts.map +1 -0
- package/dist/lib/kept-children.js +21 -0
- package/dist/lib/list-primitive.d.ts +2049 -0
- package/dist/lib/list-primitive.d.ts.map +1 -0
- package/dist/lib/list-primitive.js +285 -0
- package/dist/lib/log-list-model.d.ts +0 -48
- package/dist/lib/log-list-model.d.ts.map +1 -1
- package/dist/lib/log-list-model.js +5 -118
- package/dist/lib/log-list-primitive.d.ts +4026 -0
- package/dist/lib/log-list-primitive.d.ts.map +1 -0
- package/dist/lib/log-list-primitive.js +487 -0
- package/dist/lib/message-scroller-context.d.ts +9 -0
- package/dist/lib/message-scroller-context.d.ts.map +1 -0
- package/dist/lib/message-scroller-context.js +9 -0
- package/dist/lib/message-scroller-primitive.d.ts +362 -0
- package/dist/lib/message-scroller-primitive.d.ts.map +1 -0
- package/dist/lib/message-scroller-primitive.js +185 -0
- package/dist/lib/motion-engine.d.ts +2 -0
- package/dist/lib/motion-engine.d.ts.map +1 -0
- package/dist/lib/motion-engine.js +3 -0
- package/dist/lib/motion-lazy.d.ts +16 -0
- package/dist/lib/motion-lazy.d.ts.map +1 -0
- package/dist/lib/motion-lazy.js +35 -0
- package/dist/lib/motion.d.ts +13 -10
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/motion.js +44 -32
- package/dist/lib/nav-bar.d.ts +35 -0
- package/dist/lib/nav-bar.d.ts.map +1 -0
- package/dist/lib/nav-bar.js +70 -0
- package/dist/lib/navigation-stack-primitive.d.ts +3308 -0
- package/dist/lib/navigation-stack-primitive.d.ts.map +1 -0
- package/dist/lib/navigation-stack-primitive.js +254 -0
- package/dist/lib/object-tree-model.d.ts +4 -2
- package/dist/lib/object-tree-model.d.ts.map +1 -1
- package/dist/lib/object-tree-model.js +51 -48
- package/dist/lib/object-tree-value.d.ts +3 -3
- package/dist/lib/object-tree-value.d.ts.map +1 -1
- package/dist/lib/object-tree-value.js +100 -99
- package/dist/lib/option-row.d.ts +76 -0
- package/dist/lib/option-row.d.ts.map +1 -0
- package/dist/lib/option-row.js +108 -0
- package/dist/lib/option-search-primitive.d.ts +760 -0
- package/dist/lib/option-search-primitive.d.ts.map +1 -0
- package/dist/lib/option-search-primitive.js +126 -0
- package/dist/lib/pglite-schema.d.ts +28 -1
- package/dist/lib/pglite-schema.d.ts.map +1 -1
- package/dist/lib/pglite-schema.js +42 -2
- package/dist/lib/pglite.d.ts +3 -3
- package/dist/lib/pglite.d.ts.map +1 -1
- package/dist/lib/pglite.js +5 -5
- package/dist/lib/presence.d.ts +43 -0
- package/dist/lib/presence.d.ts.map +1 -0
- package/dist/lib/presence.js +89 -0
- package/dist/lib/primitives.d.ts +81 -8
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/primitives.js +34 -6
- package/dist/lib/pull-to-refresh.d.ts +26 -21
- package/dist/lib/pull-to-refresh.d.ts.map +1 -1
- package/dist/lib/pull-to-refresh.js +50 -67
- package/dist/lib/qr.d.ts +2 -2
- package/dist/lib/qr.d.ts.map +1 -1
- package/dist/lib/reduced-motion.d.ts +4 -0
- package/dist/lib/reduced-motion.d.ts.map +1 -0
- package/dist/lib/reduced-motion.js +6 -0
- package/dist/lib/request-table-model.d.ts +11 -41
- package/dist/lib/request-table-model.d.ts.map +1 -1
- package/dist/lib/request-table-model.js +9 -53
- package/dist/lib/sandbox/command-line.d.ts +27 -0
- package/dist/lib/sandbox/command-line.d.ts.map +1 -0
- package/dist/lib/sandbox/command-line.js +68 -0
- package/dist/lib/sandbox/disk.d.ts +25 -0
- package/dist/lib/sandbox/disk.d.ts.map +1 -0
- package/dist/lib/sandbox/disk.js +158 -0
- package/dist/lib/sandbox/error.d.ts +12 -0
- package/dist/lib/sandbox/error.d.ts.map +1 -0
- package/dist/lib/sandbox/error.js +9 -0
- package/dist/lib/sandbox/host-fetch.d.ts +4 -0
- package/dist/lib/sandbox/host-fetch.d.ts.map +1 -0
- package/dist/lib/sandbox/host-fetch.js +35 -0
- package/dist/lib/sandbox/host.d.ts +83 -0
- package/dist/lib/sandbox/host.d.ts.map +1 -0
- package/dist/lib/sandbox/host.js +385 -0
- package/dist/lib/sandbox/index.d.ts +75 -0
- package/dist/lib/sandbox/index.d.ts.map +1 -0
- package/dist/lib/sandbox/index.js +165 -0
- package/dist/lib/sandbox/model.d.ts +117 -0
- package/dist/lib/sandbox/model.d.ts.map +1 -0
- package/dist/lib/sandbox/protocol.d.ts +133 -0
- package/dist/lib/sandbox/protocol.d.ts.map +1 -0
- package/dist/lib/sandbox/react.d.ts +18 -0
- package/dist/lib/sandbox/react.d.ts.map +1 -0
- package/dist/lib/sandbox/react.js +46 -0
- package/dist/lib/sandbox/serve.d.ts +32 -0
- package/dist/lib/sandbox/serve.d.ts.map +1 -0
- package/dist/lib/sandbox/serve.js +411 -0
- package/dist/lib/sandbox/spawn.d.ts +26 -0
- package/dist/lib/sandbox/spawn.d.ts.map +1 -0
- package/dist/lib/sandbox/spawn.js +75 -0
- package/dist/lib/sandbox/worker.d.ts +8 -0
- package/dist/lib/sandbox/worker.d.ts.map +1 -0
- package/dist/lib/sandbox/worker.js +8 -0
- package/dist/lib/schedule-preview.d.ts +37 -0
- package/dist/lib/schedule-preview.d.ts.map +1 -0
- package/dist/lib/schedule-preview.js +76 -0
- package/dist/lib/scroll-edge.d.ts +16 -0
- package/dist/lib/scroll-edge.d.ts.map +1 -0
- package/dist/lib/scroll-edge.js +35 -0
- package/dist/lib/search-input-primitive.d.ts +152 -0
- package/dist/lib/search-input-primitive.d.ts.map +1 -0
- package/dist/lib/search-input-primitive.js +42 -0
- package/dist/lib/selection-indicator-primitive.d.ts +83 -0
- package/dist/lib/selection-indicator-primitive.d.ts.map +1 -0
- package/dist/lib/selection-indicator-primitive.js +75 -0
- package/dist/lib/session-recorder.d.ts.map +1 -1
- package/dist/lib/session-recorder.js +1 -1
- package/dist/lib/shortcut-text.d.ts +10 -0
- package/dist/lib/shortcut-text.d.ts.map +1 -0
- package/dist/lib/shortcut-text.js +19 -0
- package/dist/lib/sidebar-primitive.d.ts +228 -0
- package/dist/lib/sidebar-primitive.d.ts.map +1 -0
- package/dist/lib/sidebar-primitive.js +101 -0
- package/dist/lib/size-class.d.ts +28 -0
- package/dist/lib/size-class.d.ts.map +1 -0
- package/dist/lib/size-class.js +17 -0
- package/dist/lib/spinner-shapes.d.ts +299 -0
- package/dist/lib/spinner-shapes.d.ts.map +1 -0
- package/dist/lib/spinner-shapes.js +876 -0
- package/dist/lib/split-view-primitive.d.ts +6137 -0
- package/dist/lib/split-view-primitive.d.ts.map +1 -0
- package/dist/lib/split-view-primitive.js +726 -0
- package/dist/lib/spreadsheet-primitive.d.ts +7518 -0
- package/dist/lib/spreadsheet-primitive.d.ts.map +1 -0
- package/dist/lib/spreadsheet-primitive.js +830 -0
- package/dist/lib/stack-parent.d.ts +29 -0
- package/dist/lib/stack-parent.d.ts.map +1 -0
- package/dist/lib/stack-parent.js +26 -0
- package/dist/lib/stack.d.ts +92 -0
- package/dist/lib/stack.d.ts.map +1 -0
- package/dist/lib/stack.js +217 -0
- package/dist/lib/state-diagram-edit.d.ts +93 -0
- package/dist/lib/state-diagram-edit.d.ts.map +1 -0
- package/dist/lib/state-diagram-edit.js +461 -0
- package/dist/lib/state-diagram-model.d.ts +251 -0
- package/dist/lib/state-diagram-model.d.ts.map +1 -0
- package/dist/lib/state-diagram-model.js +462 -0
- package/dist/lib/state-diagram-simulation.d.ts +115 -0
- package/dist/lib/state-diagram-simulation.d.ts.map +1 -0
- package/dist/lib/state-diagram-simulation.js +265 -0
- package/dist/lib/state-diagram-source.d.ts +4 -0
- package/dist/lib/state-diagram-source.d.ts.map +1 -0
- package/dist/lib/state-diagram-source.js +316 -0
- package/dist/lib/surface-flow.d.ts +28 -0
- package/dist/lib/surface-flow.d.ts.map +1 -0
- package/dist/lib/surface-flow.js +66 -0
- package/dist/lib/surface.d.ts +34 -0
- package/dist/lib/surface.d.ts.map +1 -0
- package/dist/lib/surface.js +43 -0
- package/dist/lib/syntax-lexer.d.ts +23 -0
- package/dist/lib/syntax-lexer.d.ts.map +1 -0
- package/dist/lib/syntax-lexer.js +400 -0
- package/dist/lib/syntax.d.ts +8 -21
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +51 -78
- package/dist/lib/tailscale-policy.js +32 -19
- package/dist/lib/tailscale-react.d.ts +1 -1
- package/dist/lib/tailscale-react.d.ts.map +1 -1
- package/dist/lib/theme-context.d.ts +14 -0
- package/dist/lib/theme-context.d.ts.map +1 -0
- package/dist/lib/theme-context.js +12 -0
- package/dist/lib/theme.d.ts +47 -25
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +128 -62
- package/dist/lib/title-flight.d.ts +30 -10
- package/dist/lib/title-flight.d.ts.map +1 -1
- package/dist/lib/title-flight.js +73 -53
- package/dist/lib/tokens.generated.d.ts +5 -5
- package/dist/lib/tokens.generated.d.ts.map +1 -1
- package/dist/lib/tokens.generated.js +15 -4
- package/dist/lib/trace-timeline-draw.d.ts +3 -2
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -1
- package/dist/lib/trace-timeline-draw.js +96 -89
- package/dist/lib/trace-timeline-model.d.ts +17 -15
- package/dist/lib/trace-timeline-model.d.ts.map +1 -1
- package/dist/lib/trace-timeline-model.js +130 -130
- package/dist/lib/trace-timeline-primitive.d.ts +502 -0
- package/dist/lib/trace-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/trace-timeline-primitive.js +264 -0
- package/dist/lib/trigger-palette.d.ts +22 -0
- package/dist/lib/trigger-palette.d.ts.map +1 -0
- package/dist/lib/trigger-palette.js +35 -0
- package/dist/lib/use-copy.d.ts +16 -0
- package/dist/lib/use-copy.d.ts.map +1 -0
- package/dist/lib/use-copy.js +32 -0
- package/dist/lib/use-file-upload.d.ts +61 -0
- package/dist/lib/use-file-upload.d.ts.map +1 -0
- package/dist/lib/use-file-upload.js +65 -0
- package/dist/lib/use-font-version.d.ts +7 -0
- package/dist/lib/use-font-version.d.ts.map +1 -0
- package/dist/lib/use-font-version.js +22 -0
- package/dist/lib/use-paced.d.ts +2 -0
- package/dist/lib/use-paced.d.ts.map +1 -0
- package/dist/lib/use-paced.js +30 -0
- package/dist/lib/use-virtual-rows.d.ts +30 -0
- package/dist/lib/use-virtual-rows.d.ts.map +1 -0
- package/dist/lib/use-virtual-rows.js +40 -0
- package/dist/lib/utils.d.ts +5 -9
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +4 -2
- package/dist/lib/vault-react.d.ts +1 -1
- package/dist/lib/vault-react.d.ts.map +1 -1
- package/dist/lib/vault.js +64 -64
- package/dist/lib/video-render.js +24 -24
- package/dist/lib/video-timeline-model.d.ts +13 -2
- package/dist/lib/video-timeline-model.d.ts.map +1 -1
- package/dist/lib/video-timeline-primitive.d.ts +2066 -0
- package/dist/lib/video-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/video-timeline-primitive.js +464 -0
- package/dist/lib/wave-rail.d.ts +35 -0
- package/dist/lib/wave-rail.d.ts.map +1 -0
- package/dist/lib/wave-rail.js +49 -0
- package/dist/lib/workspace-model.d.ts +126 -0
- package/dist/lib/workspace-model.d.ts.map +1 -0
- package/dist/lib/workspace-model.js +278 -0
- package/dist/lib/workspace-primitive.d.ts +2762 -0
- package/dist/lib/workspace-primitive.d.ts.map +1 -0
- package/dist/lib/workspace-primitive.js +567 -0
- package/dist/libraries/audio.d.ts +5 -0
- package/dist/libraries/audio.d.ts.map +1 -0
- package/dist/libraries/audio.js +5 -0
- package/dist/libraries/canvas.d.ts +4 -0
- package/dist/libraries/canvas.d.ts.map +1 -0
- package/dist/libraries/canvas.js +10 -0
- package/dist/libraries/composer.d.ts +5 -0
- package/dist/libraries/composer.d.ts.map +1 -0
- package/dist/libraries/composer.js +6 -0
- package/dist/libraries/diagram.d.ts +11 -0
- package/dist/libraries/diagram.d.ts.map +1 -0
- package/dist/libraries/diagram.js +13 -0
- package/dist/libraries/filter.d.ts +6 -0
- package/dist/libraries/filter.d.ts.map +1 -0
- package/dist/libraries/filter.js +7 -0
- package/dist/libraries/icons.d.ts +3 -0
- package/dist/libraries/icons.d.ts.map +1 -0
- package/dist/libraries/icons.js +3 -0
- package/dist/libraries/markdown.d.ts +5 -0
- package/dist/libraries/markdown.d.ts.map +1 -0
- package/dist/libraries/markdown.js +5 -0
- package/dist/libraries/motion.d.ts +11 -0
- package/dist/libraries/motion.d.ts.map +1 -0
- package/dist/libraries/motion.js +12 -0
- package/dist/libraries/pglite.d.ts +8 -0
- package/dist/libraries/pglite.d.ts.map +1 -0
- package/dist/libraries/pglite.js +8 -0
- package/dist/libraries/replay.d.ts +4 -0
- package/dist/libraries/replay.d.ts.map +1 -0
- package/dist/libraries/replay.js +22 -0
- package/dist/libraries/sandbox.d.ts +4 -0
- package/dist/libraries/sandbox.d.ts.map +1 -0
- package/dist/libraries/sandbox.js +5 -0
- package/dist/libraries/sql.d.ts +2 -0
- package/dist/libraries/sql.d.ts.map +1 -0
- package/dist/libraries/sql.js +2 -0
- package/dist/libraries/sync.d.ts +4 -0
- package/dist/libraries/sync.d.ts.map +1 -0
- package/dist/libraries/sync.js +4 -0
- package/dist/libraries/tailscale.d.ts +10 -0
- package/dist/libraries/tailscale.d.ts.map +1 -0
- package/dist/libraries/tailscale.js +10 -0
- package/dist/libraries/time.d.ts +9 -0
- package/dist/libraries/time.d.ts.map +1 -0
- package/dist/libraries/time.js +9 -0
- package/dist/libraries/tokens.d.ts +8 -0
- package/dist/libraries/tokens.d.ts.map +1 -0
- package/dist/libraries/tokens.js +10 -0
- package/dist/libraries/vault.d.ts +6 -0
- package/dist/libraries/vault.d.ts.map +1 -0
- package/dist/libraries/vault.js +6 -0
- package/dist/libraries/video.d.ts +9 -0
- package/dist/libraries/video.d.ts.map +1 -0
- package/dist/libraries/video.js +10 -0
- package/dist/opencode.d.ts +1 -2
- package/dist/opencode.d.ts.map +1 -1
- package/dist/opencode.js +3 -3
- package/dist/sdk/core/accordion.d.ts +2 -0
- package/dist/sdk/core/accordion.d.ts.map +1 -0
- package/dist/sdk/core/accordion.js +1 -0
- package/dist/sdk/core/agent.d.ts +2 -0
- package/dist/sdk/core/agent.d.ts.map +1 -0
- package/dist/sdk/core/agent.js +1 -0
- package/dist/sdk/core/alert-dialog.d.ts +2 -0
- package/dist/sdk/core/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/core/alert-dialog.js +1 -0
- package/dist/sdk/core/async-options.d.ts +2 -0
- package/dist/sdk/core/async-options.d.ts.map +1 -0
- package/dist/sdk/core/async-options.js +1 -0
- package/dist/sdk/core/autocomplete.d.ts +2 -0
- package/dist/sdk/core/autocomplete.d.ts.map +1 -0
- package/dist/sdk/core/autocomplete.js +1 -0
- package/dist/sdk/core/avatar.d.ts +2 -0
- package/dist/sdk/core/avatar.d.ts.map +1 -0
- package/dist/sdk/core/avatar.js +1 -0
- package/dist/sdk/core/button.d.ts +2 -0
- package/dist/sdk/core/button.d.ts.map +1 -0
- package/dist/sdk/core/button.js +1 -0
- package/dist/sdk/core/calendar.d.ts +2 -0
- package/dist/sdk/core/calendar.d.ts.map +1 -0
- package/dist/sdk/core/calendar.js +1 -0
- package/dist/sdk/core/carousel.d.ts +2 -0
- package/dist/sdk/core/carousel.d.ts.map +1 -0
- package/dist/sdk/core/carousel.js +1 -0
- package/dist/sdk/core/checkbox.d.ts +2 -0
- package/dist/sdk/core/checkbox.d.ts.map +1 -0
- package/dist/sdk/core/checkbox.js +1 -0
- package/dist/sdk/core/collapsible.d.ts +2 -0
- package/dist/sdk/core/collapsible.d.ts.map +1 -0
- package/dist/sdk/core/collapsible.js +1 -0
- package/dist/sdk/core/color-picker.d.ts +2 -0
- package/dist/sdk/core/color-picker.d.ts.map +1 -0
- package/dist/sdk/core/color-picker.js +1 -0
- package/dist/sdk/core/color.d.ts +2 -0
- package/dist/sdk/core/color.d.ts.map +1 -0
- package/dist/sdk/core/color.js +1 -0
- package/dist/sdk/core/combobox.d.ts +2 -0
- package/dist/sdk/core/combobox.d.ts.map +1 -0
- package/dist/sdk/core/combobox.js +1 -0
- package/dist/sdk/core/command.d.ts +2 -0
- package/dist/sdk/core/command.d.ts.map +1 -0
- package/dist/sdk/core/command.js +1 -0
- package/dist/sdk/core/date-input.d.ts +2 -0
- package/dist/sdk/core/date-input.d.ts.map +1 -0
- package/dist/sdk/core/date-input.js +1 -0
- package/dist/sdk/core/date-picker.d.ts +2 -0
- package/dist/sdk/core/date-picker.d.ts.map +1 -0
- package/dist/sdk/core/date-picker.js +1 -0
- package/dist/sdk/core/date.d.ts +2 -0
- package/dist/sdk/core/date.d.ts.map +1 -0
- package/dist/sdk/core/date.js +1 -0
- package/dist/sdk/core/dialog.d.ts +2 -0
- package/dist/sdk/core/dialog.d.ts.map +1 -0
- package/dist/sdk/core/dialog.js +1 -0
- package/dist/sdk/core/drawer.d.ts +2 -0
- package/dist/sdk/core/drawer.d.ts.map +1 -0
- package/dist/sdk/core/drawer.js +1 -0
- package/dist/sdk/core/field.d.ts +2 -0
- package/dist/sdk/core/field.d.ts.map +1 -0
- package/dist/sdk/core/field.js +1 -0
- package/dist/sdk/core/file-input.d.ts +2 -0
- package/dist/sdk/core/file-input.d.ts.map +1 -0
- package/dist/sdk/core/file-input.js +1 -0
- package/dist/sdk/core/gesture.d.ts +2 -0
- package/dist/sdk/core/gesture.d.ts.map +1 -0
- package/dist/sdk/core/gesture.js +1 -0
- package/dist/sdk/core/history.d.ts +2 -0
- package/dist/sdk/core/history.d.ts.map +1 -0
- package/dist/sdk/core/history.js +1 -0
- package/dist/sdk/core/hover-card.d.ts +2 -0
- package/dist/sdk/core/hover-card.d.ts.map +1 -0
- package/dist/sdk/core/hover-card.js +1 -0
- package/dist/sdk/core/image-cropper.d.ts +2 -0
- package/dist/sdk/core/image-cropper.d.ts.map +1 -0
- package/dist/sdk/core/image-cropper.js +1 -0
- package/dist/sdk/core/image.d.ts +2 -0
- package/dist/sdk/core/image.d.ts.map +1 -0
- package/dist/sdk/core/image.js +1 -0
- package/dist/sdk/core/index.d.ts +2 -0
- package/dist/sdk/core/index.d.ts.map +1 -0
- package/dist/sdk/core/index.js +1 -0
- package/dist/sdk/core/input.d.ts +2 -0
- package/dist/sdk/core/input.d.ts.map +1 -0
- package/dist/sdk/core/input.js +1 -0
- package/dist/sdk/core/label.d.ts +2 -0
- package/dist/sdk/core/label.d.ts.map +1 -0
- package/dist/sdk/core/label.js +1 -0
- package/dist/sdk/core/listbox.d.ts +2 -0
- package/dist/sdk/core/listbox.d.ts.map +1 -0
- package/dist/sdk/core/listbox.js +1 -0
- package/dist/sdk/core/menu.d.ts +2 -0
- package/dist/sdk/core/menu.d.ts.map +1 -0
- package/dist/sdk/core/menu.js +1 -0
- package/dist/sdk/core/menubar.d.ts +2 -0
- package/dist/sdk/core/menubar.d.ts.map +1 -0
- package/dist/sdk/core/menubar.js +1 -0
- package/dist/sdk/core/meter.d.ts +2 -0
- package/dist/sdk/core/meter.d.ts.map +1 -0
- package/dist/sdk/core/meter.js +1 -0
- package/dist/sdk/core/navigation-menu.d.ts +2 -0
- package/dist/sdk/core/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/core/navigation-menu.js +1 -0
- package/dist/sdk/core/number-input.d.ts +2 -0
- package/dist/sdk/core/number-input.d.ts.map +1 -0
- package/dist/sdk/core/number-input.js +1 -0
- package/dist/sdk/core/number.d.ts +2 -0
- package/dist/sdk/core/number.d.ts.map +1 -0
- package/dist/sdk/core/number.js +1 -0
- package/dist/sdk/core/observe.d.ts +2 -0
- package/dist/sdk/core/observe.d.ts.map +1 -0
- package/dist/sdk/core/observe.js +1 -0
- package/dist/sdk/core/otp-input.d.ts +2 -0
- package/dist/sdk/core/otp-input.d.ts.map +1 -0
- package/dist/sdk/core/otp-input.js +1 -0
- package/dist/sdk/core/overlays.d.ts +2 -0
- package/dist/sdk/core/overlays.d.ts.map +1 -0
- package/dist/sdk/core/overlays.js +1 -0
- package/dist/sdk/core/pagination.d.ts +2 -0
- package/dist/sdk/core/pagination.d.ts.map +1 -0
- package/dist/sdk/core/pagination.js +1 -0
- package/dist/sdk/core/password-input.d.ts +2 -0
- package/dist/sdk/core/password-input.d.ts.map +1 -0
- package/dist/sdk/core/password-input.js +1 -0
- package/dist/sdk/core/popover.d.ts +2 -0
- package/dist/sdk/core/popover.d.ts.map +1 -0
- package/dist/sdk/core/popover.js +1 -0
- package/dist/sdk/core/progress.d.ts +2 -0
- package/dist/sdk/core/progress.d.ts.map +1 -0
- package/dist/sdk/core/progress.js +1 -0
- package/dist/sdk/core/radio.d.ts +2 -0
- package/dist/sdk/core/radio.d.ts.map +1 -0
- package/dist/sdk/core/radio.js +1 -0
- package/dist/sdk/core/rating.d.ts +2 -0
- package/dist/sdk/core/rating.d.ts.map +1 -0
- package/dist/sdk/core/rating.js +1 -0
- package/dist/sdk/core/renderer.d.ts +2 -0
- package/dist/sdk/core/renderer.d.ts.map +1 -0
- package/dist/sdk/core/renderer.js +1 -0
- package/dist/sdk/core/resizable.d.ts +2 -0
- package/dist/sdk/core/resizable.d.ts.map +1 -0
- package/dist/sdk/core/resizable.js +1 -0
- package/dist/sdk/core/scroll-area.d.ts +2 -0
- package/dist/sdk/core/scroll-area.d.ts.map +1 -0
- package/dist/sdk/core/scroll-area.js +1 -0
- package/dist/sdk/core/segmented-control.d.ts +2 -0
- package/dist/sdk/core/segmented-control.d.ts.map +1 -0
- package/dist/sdk/core/segmented-control.js +1 -0
- package/dist/sdk/core/select.d.ts +2 -0
- package/dist/sdk/core/select.d.ts.map +1 -0
- package/dist/sdk/core/select.js +1 -0
- package/dist/sdk/core/separator.d.ts +2 -0
- package/dist/sdk/core/separator.d.ts.map +1 -0
- package/dist/sdk/core/separator.js +1 -0
- package/dist/sdk/core/shortcuts.d.ts +2 -0
- package/dist/sdk/core/shortcuts.d.ts.map +1 -0
- package/dist/sdk/core/shortcuts.js +1 -0
- package/dist/sdk/core/slider.d.ts +2 -0
- package/dist/sdk/core/slider.d.ts.map +1 -0
- package/dist/sdk/core/slider.js +1 -0
- package/dist/sdk/core/switch.d.ts +2 -0
- package/dist/sdk/core/switch.d.ts.map +1 -0
- package/dist/sdk/core/switch.js +1 -0
- package/dist/sdk/core/tabs.d.ts +2 -0
- package/dist/sdk/core/tabs.d.ts.map +1 -0
- package/dist/sdk/core/tabs.js +1 -0
- package/dist/sdk/core/testing.d.ts +2 -0
- package/dist/sdk/core/testing.d.ts.map +1 -0
- package/dist/sdk/core/testing.js +1 -0
- package/dist/sdk/core/text-match.d.ts +2 -0
- package/dist/sdk/core/text-match.d.ts.map +1 -0
- package/dist/sdk/core/text-match.js +1 -0
- package/dist/sdk/core/time-input.d.ts +2 -0
- package/dist/sdk/core/time-input.d.ts.map +1 -0
- package/dist/sdk/core/time-input.js +1 -0
- package/dist/sdk/core/timeline.d.ts +2 -0
- package/dist/sdk/core/timeline.d.ts.map +1 -0
- package/dist/sdk/core/timeline.js +1 -0
- package/dist/sdk/core/toast.d.ts +2 -0
- package/dist/sdk/core/toast.d.ts.map +1 -0
- package/dist/sdk/core/toast.js +1 -0
- package/dist/sdk/core/toggle.d.ts +2 -0
- package/dist/sdk/core/toggle.d.ts.map +1 -0
- package/dist/sdk/core/toggle.js +1 -0
- package/dist/sdk/core/token-input.d.ts +2 -0
- package/dist/sdk/core/token-input.d.ts.map +1 -0
- package/dist/sdk/core/token-input.js +1 -0
- package/dist/sdk/core/toolbar.d.ts +2 -0
- package/dist/sdk/core/toolbar.d.ts.map +1 -0
- package/dist/sdk/core/toolbar.js +1 -0
- package/dist/sdk/core/tooltip.d.ts +2 -0
- package/dist/sdk/core/tooltip.d.ts.map +1 -0
- package/dist/sdk/core/tooltip.js +1 -0
- package/dist/sdk/core/tree.d.ts +2 -0
- package/dist/sdk/core/tree.d.ts.map +1 -0
- package/dist/sdk/core/tree.js +1 -0
- package/dist/sdk/core/trigger-menu.d.ts +2 -0
- package/dist/sdk/core/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/core/trigger-menu.js +1 -0
- package/dist/sdk/core/waterfall.d.ts +2 -0
- package/dist/sdk/core/waterfall.d.ts.map +1 -0
- package/dist/sdk/core/waterfall.js +1 -0
- package/dist/sdk/react/accordion.d.ts +2 -0
- package/dist/sdk/react/accordion.d.ts.map +1 -0
- package/dist/sdk/react/accordion.js +1 -0
- package/dist/sdk/react/agent.d.ts +2 -0
- package/dist/sdk/react/agent.d.ts.map +1 -0
- package/dist/sdk/react/agent.js +1 -0
- package/dist/sdk/react/alert-dialog.d.ts +2 -0
- package/dist/sdk/react/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/react/alert-dialog.js +1 -0
- package/dist/sdk/react/async-options.d.ts +2 -0
- package/dist/sdk/react/async-options.d.ts.map +1 -0
- package/dist/sdk/react/async-options.js +1 -0
- package/dist/sdk/react/autocomplete.d.ts +2 -0
- package/dist/sdk/react/autocomplete.d.ts.map +1 -0
- package/dist/sdk/react/autocomplete.js +1 -0
- package/dist/sdk/react/avatar.d.ts +2 -0
- package/dist/sdk/react/avatar.d.ts.map +1 -0
- package/dist/sdk/react/avatar.js +1 -0
- package/dist/sdk/react/button.d.ts +2 -0
- package/dist/sdk/react/button.d.ts.map +1 -0
- package/dist/sdk/react/button.js +1 -0
- package/dist/sdk/react/calendar.d.ts +2 -0
- package/dist/sdk/react/calendar.d.ts.map +1 -0
- package/dist/sdk/react/calendar.js +1 -0
- package/dist/sdk/react/carousel.d.ts +2 -0
- package/dist/sdk/react/carousel.d.ts.map +1 -0
- package/dist/sdk/react/carousel.js +1 -0
- package/dist/sdk/react/checkbox.d.ts +2 -0
- package/dist/sdk/react/checkbox.d.ts.map +1 -0
- package/dist/sdk/react/checkbox.js +1 -0
- package/dist/sdk/react/collapsible.d.ts +2 -0
- package/dist/sdk/react/collapsible.d.ts.map +1 -0
- package/dist/sdk/react/collapsible.js +1 -0
- package/dist/sdk/react/color-picker.d.ts +2 -0
- package/dist/sdk/react/color-picker.d.ts.map +1 -0
- package/dist/sdk/react/color-picker.js +1 -0
- package/dist/sdk/react/color.d.ts +2 -0
- package/dist/sdk/react/color.d.ts.map +1 -0
- package/dist/sdk/react/color.js +1 -0
- package/dist/sdk/react/combobox.d.ts +2 -0
- package/dist/sdk/react/combobox.d.ts.map +1 -0
- package/dist/sdk/react/combobox.js +1 -0
- package/dist/sdk/react/command.d.ts +2 -0
- package/dist/sdk/react/command.d.ts.map +1 -0
- package/dist/sdk/react/command.js +1 -0
- package/dist/sdk/react/date-input.d.ts +2 -0
- package/dist/sdk/react/date-input.d.ts.map +1 -0
- package/dist/sdk/react/date-input.js +1 -0
- package/dist/sdk/react/date-picker.d.ts +2 -0
- package/dist/sdk/react/date-picker.d.ts.map +1 -0
- package/dist/sdk/react/date-picker.js +1 -0
- package/dist/sdk/react/date.d.ts +2 -0
- package/dist/sdk/react/date.d.ts.map +1 -0
- package/dist/sdk/react/date.js +1 -0
- package/dist/sdk/react/dialog.d.ts +2 -0
- package/dist/sdk/react/dialog.d.ts.map +1 -0
- package/dist/sdk/react/dialog.js +1 -0
- package/dist/sdk/react/drawer.d.ts +2 -0
- package/dist/sdk/react/drawer.d.ts.map +1 -0
- package/dist/sdk/react/drawer.js +1 -0
- package/dist/sdk/react/field.d.ts +2 -0
- package/dist/sdk/react/field.d.ts.map +1 -0
- package/dist/sdk/react/field.js +1 -0
- package/dist/sdk/react/file-input.d.ts +2 -0
- package/dist/sdk/react/file-input.d.ts.map +1 -0
- package/dist/sdk/react/file-input.js +1 -0
- package/dist/sdk/react/gesture.d.ts +2 -0
- package/dist/sdk/react/gesture.d.ts.map +1 -0
- package/dist/sdk/react/gesture.js +1 -0
- package/dist/sdk/react/history.d.ts +2 -0
- package/dist/sdk/react/history.d.ts.map +1 -0
- package/dist/sdk/react/history.js +1 -0
- package/dist/sdk/react/hover-card.d.ts +2 -0
- package/dist/sdk/react/hover-card.d.ts.map +1 -0
- package/dist/sdk/react/hover-card.js +1 -0
- package/dist/sdk/react/image-cropper.d.ts +2 -0
- package/dist/sdk/react/image-cropper.d.ts.map +1 -0
- package/dist/sdk/react/image-cropper.js +1 -0
- package/dist/sdk/react/image.d.ts +2 -0
- package/dist/sdk/react/image.d.ts.map +1 -0
- package/dist/sdk/react/image.js +1 -0
- package/dist/sdk/react/input.d.ts +2 -0
- package/dist/sdk/react/input.d.ts.map +1 -0
- package/dist/sdk/react/input.js +1 -0
- package/dist/sdk/react/label.d.ts +2 -0
- package/dist/sdk/react/label.d.ts.map +1 -0
- package/dist/sdk/react/label.js +1 -0
- package/dist/sdk/react/listbox.d.ts +2 -0
- package/dist/sdk/react/listbox.d.ts.map +1 -0
- package/dist/sdk/react/listbox.js +1 -0
- package/dist/sdk/react/menu.d.ts +2 -0
- package/dist/sdk/react/menu.d.ts.map +1 -0
- package/dist/sdk/react/menu.js +1 -0
- package/dist/sdk/react/menubar.d.ts +2 -0
- package/dist/sdk/react/menubar.d.ts.map +1 -0
- package/dist/sdk/react/menubar.js +1 -0
- package/dist/sdk/react/meter.d.ts +2 -0
- package/dist/sdk/react/meter.d.ts.map +1 -0
- package/dist/sdk/react/meter.js +1 -0
- package/dist/sdk/react/navigation-menu.d.ts +2 -0
- package/dist/sdk/react/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/react/navigation-menu.js +1 -0
- package/dist/sdk/react/number-input.d.ts +2 -0
- package/dist/sdk/react/number-input.d.ts.map +1 -0
- package/dist/sdk/react/number-input.js +1 -0
- package/dist/sdk/react/number.d.ts +2 -0
- package/dist/sdk/react/number.d.ts.map +1 -0
- package/dist/sdk/react/number.js +1 -0
- package/dist/sdk/react/observe.d.ts +2 -0
- package/dist/sdk/react/observe.d.ts.map +1 -0
- package/dist/sdk/react/observe.js +1 -0
- package/dist/sdk/react/otp-input.d.ts +2 -0
- package/dist/sdk/react/otp-input.d.ts.map +1 -0
- package/dist/sdk/react/otp-input.js +1 -0
- package/dist/sdk/react/overlays.d.ts +2 -0
- package/dist/sdk/react/overlays.d.ts.map +1 -0
- package/dist/sdk/react/overlays.js +1 -0
- package/dist/sdk/react/pagination.d.ts +2 -0
- package/dist/sdk/react/pagination.d.ts.map +1 -0
- package/dist/sdk/react/pagination.js +1 -0
- package/dist/sdk/react/password-input.d.ts +2 -0
- package/dist/sdk/react/password-input.d.ts.map +1 -0
- package/dist/sdk/react/password-input.js +1 -0
- package/dist/sdk/react/popover.d.ts +2 -0
- package/dist/sdk/react/popover.d.ts.map +1 -0
- package/dist/sdk/react/popover.js +1 -0
- package/dist/sdk/react/preferences.d.ts +2 -0
- package/dist/sdk/react/preferences.d.ts.map +1 -0
- package/dist/sdk/react/preferences.js +1 -0
- package/dist/sdk/react/primitive.d.ts +2 -0
- package/dist/sdk/react/primitive.d.ts.map +1 -0
- package/dist/sdk/react/primitive.js +1 -0
- package/dist/sdk/react/progress.d.ts +2 -0
- package/dist/sdk/react/progress.d.ts.map +1 -0
- package/dist/sdk/react/progress.js +1 -0
- package/dist/sdk/react/radio.d.ts +2 -0
- package/dist/sdk/react/radio.d.ts.map +1 -0
- package/dist/sdk/react/radio.js +1 -0
- package/dist/sdk/react/rating.d.ts +2 -0
- package/dist/sdk/react/rating.d.ts.map +1 -0
- package/dist/sdk/react/rating.js +1 -0
- package/dist/sdk/react/resizable.d.ts +2 -0
- package/dist/sdk/react/resizable.d.ts.map +1 -0
- package/dist/sdk/react/resizable.js +1 -0
- package/dist/sdk/react/scroll-area.d.ts +2 -0
- package/dist/sdk/react/scroll-area.d.ts.map +1 -0
- package/dist/sdk/react/scroll-area.js +1 -0
- package/dist/sdk/react/segmented-control.d.ts +2 -0
- package/dist/sdk/react/segmented-control.d.ts.map +1 -0
- package/dist/sdk/react/segmented-control.js +1 -0
- package/dist/sdk/react/select.d.ts +2 -0
- package/dist/sdk/react/select.d.ts.map +1 -0
- package/dist/sdk/react/select.js +1 -0
- package/dist/sdk/react/separator.d.ts +2 -0
- package/dist/sdk/react/separator.d.ts.map +1 -0
- package/dist/sdk/react/separator.js +1 -0
- package/dist/sdk/react/shortcuts.d.ts +2 -0
- package/dist/sdk/react/shortcuts.d.ts.map +1 -0
- package/dist/sdk/react/shortcuts.js +1 -0
- package/dist/sdk/react/slider.d.ts +2 -0
- package/dist/sdk/react/slider.d.ts.map +1 -0
- package/dist/sdk/react/slider.js +1 -0
- package/dist/sdk/react/switch.d.ts +2 -0
- package/dist/sdk/react/switch.d.ts.map +1 -0
- package/dist/sdk/react/switch.js +1 -0
- package/dist/sdk/react/tabs.d.ts +2 -0
- package/dist/sdk/react/tabs.d.ts.map +1 -0
- package/dist/sdk/react/tabs.js +1 -0
- package/dist/sdk/react/text-match.d.ts +2 -0
- package/dist/sdk/react/text-match.d.ts.map +1 -0
- package/dist/sdk/react/text-match.js +1 -0
- package/dist/sdk/react/textarea.d.ts +2 -0
- package/dist/sdk/react/textarea.d.ts.map +1 -0
- package/dist/sdk/react/textarea.js +1 -0
- package/dist/sdk/react/time-input.d.ts +2 -0
- package/dist/sdk/react/time-input.d.ts.map +1 -0
- package/dist/sdk/react/time-input.js +1 -0
- package/dist/sdk/react/timeline.d.ts +2 -0
- package/dist/sdk/react/timeline.d.ts.map +1 -0
- package/dist/sdk/react/timeline.js +1 -0
- package/dist/sdk/react/toast.d.ts +2 -0
- package/dist/sdk/react/toast.d.ts.map +1 -0
- package/dist/sdk/react/toast.js +1 -0
- package/dist/sdk/react/toggle.d.ts +2 -0
- package/dist/sdk/react/toggle.d.ts.map +1 -0
- package/dist/sdk/react/toggle.js +1 -0
- package/dist/sdk/react/token-input.d.ts +2 -0
- package/dist/sdk/react/token-input.d.ts.map +1 -0
- package/dist/sdk/react/token-input.js +1 -0
- package/dist/sdk/react/toolbar.d.ts +2 -0
- package/dist/sdk/react/toolbar.d.ts.map +1 -0
- package/dist/sdk/react/toolbar.js +1 -0
- package/dist/sdk/react/tooltip.d.ts +2 -0
- package/dist/sdk/react/tooltip.d.ts.map +1 -0
- package/dist/sdk/react/tooltip.js +1 -0
- package/dist/sdk/react/tree.d.ts +2 -0
- package/dist/sdk/react/tree.d.ts.map +1 -0
- package/dist/sdk/react/tree.js +1 -0
- package/dist/sdk/react/trigger-menu.d.ts +2 -0
- package/dist/sdk/react/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/react/trigger-menu.js +1 -0
- package/dist/sdk/react/waterfall.d.ts +2 -0
- package/dist/sdk/react/waterfall.d.ts.map +1 -0
- package/dist/sdk/react/waterfall.js +1 -0
- package/dist/theme.css +23 -4
- package/dist/vendor/ui-sdk/LICENSE +202 -0
- package/dist/vendor/ui-sdk/NOTICE.md +14 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.d.ts +597 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.js +446 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.js +445 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.js +254 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.d.ts +1011 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.js +71 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.d.ts +268 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.js +146 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.js +13 -0
- package/dist/vendor/ui-sdk/core/components/button/button.d.ts +275 -0
- package/dist/vendor/ui-sdk/core/components/button/button.js +116 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.js +686 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.js +161 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.d.ts +877 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.js +85 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.js +500 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.js +74 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.js +113 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.js +91 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.js +47 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.d.ts +123 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.js +193 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.js +132 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.js +443 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.d.ts +661 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.js +265 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.d.ts +371 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.js +253 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.js +257 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.d.ts +651 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.js +177 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.js +413 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.js +154 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.js +553 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.d.ts +516 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.js +37 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.d.ts +267 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.js +830 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.js +110 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.js +165 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.d.ts +200 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.js +540 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.d.ts +1278 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.js +81 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.d.ts +142 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.js +328 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.js +65 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.js +215 -0
- package/dist/vendor/ui-sdk/core/components/command/command.d.ts +846 -0
- package/dist/vendor/ui-sdk/core/components/command/command.js +57 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.d.ts +136 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.js +462 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.js +386 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.js +289 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.d.ts +331 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.js +27 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.d.ts +320 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.js +28 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.js +356 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.js +320 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.d.ts +678 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.js +78 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.d.ts +244 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.js +71 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.d.ts +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.js +253 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.js +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.js +60 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.d.ts +855 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.js +53 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.js +331 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.d.ts +689 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.js +306 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.js +176 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.js +43 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.js +77 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.js +115 -0
- package/dist/vendor/ui-sdk/core/components/field/field.d.ts +224 -0
- package/dist/vendor/ui-sdk/core/components/field/field.js +413 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.js +189 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.js +370 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.js +140 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.d.ts +484 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.js +224 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.d.ts +464 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.js +76 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.js +581 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.js +224 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.js +335 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.d.ts +527 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.js +39 -0
- package/dist/vendor/ui-sdk/core/components/input/input.d.ts +770 -0
- package/dist/vendor/ui-sdk/core/components/input/input.js +281 -0
- package/dist/vendor/ui-sdk/core/components/label/label.d.ts +62 -0
- package/dist/vendor/ui-sdk/core/components/label/label.js +159 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.d.ts +161 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.js +325 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.js +184 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.d.ts +654 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.js +50 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.js +754 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.js +750 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.d.ts +802 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.js +86 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.d.ts +338 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.js +274 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.d.ts +246 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.js +86 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.js +646 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.js +181 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.js +125 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.js +73 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.d.ts +732 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.js +240 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.js +440 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.d.ts +569 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.js +259 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.js +395 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.d.ts +76 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.js +135 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.d.ts +749 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.js +229 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.js +50 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.d.ts +1026 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.js +218 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.d.ts +634 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.js +317 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.d.ts +648 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.js +153 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.d.ts +248 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.js +118 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.js +206 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.js +171 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.d.ts +366 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.js +104 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.d.ts +493 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.js +208 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.js +480 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.js +220 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.js +190 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.d.ts +119 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.js +276 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.js +42 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.d.ts +411 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.js +234 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.js +126 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.js +201 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.d.ts +47 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.js +614 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.d.ts +826 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.js +301 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.d.ts +432 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.js +107 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.d.ts +270 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.js +499 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.js +230 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.d.ts +180 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.js +420 -0
- package/dist/vendor/ui-sdk/core/components/select/select.d.ts +1128 -0
- package/dist/vendor/ui-sdk/core/components/select/select.js +77 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.d.ts +189 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.js +32 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.js +377 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.js +118 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.d.ts +631 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.js +338 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.d.ts +347 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.js +48 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.js +17 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.d.ts +525 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.js +501 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.js +291 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.js +99 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.js +677 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.js +147 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.js +150 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.js +111 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.d.ts +854 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.js +42 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.js +180 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.d.ts +472 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.js +204 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.d.ts +458 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.js +257 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.js +405 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.js +440 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.js +219 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.js +194 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.js +341 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.d.ts +640 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.js +53 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.js +26 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.d.ts +344 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.js +345 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.d.ts +5178 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.js +286 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.d.ts +103 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.js +899 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.d.ts +928 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.js +359 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.js +143 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.js +586 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.js +78 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.js +190 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.js +354 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.js +246 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.d.ts +785 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.js +54 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.d.ts +114 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.js +410 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.js +87 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.d.ts +571 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.js +260 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.js +211 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.d.ts +160 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.js +369 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.js +239 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.js +86 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.js +62 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.js +5 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.js +63 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.js +99 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.js +229 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.js +155 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.d.ts +91 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.js +173 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.d.ts +124 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.d.ts +75 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.d.ts +198 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.js +245 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.d.ts +202 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.js +485 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.js +243 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.js +64 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.js +89 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.js +79 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.js +19 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.d.ts +109 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.js +308 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.d.ts +174 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.js +390 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.d.ts +145 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.js +337 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.d.ts +187 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.js +416 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.js +93 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.d.ts +113 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.d.ts +147 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.js +281 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.js +52 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.js +148 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.js +34 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.d.ts +104 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.js +105 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.js +360 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.js +102 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.js +140 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.d.ts +131 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.js +206 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.js +104 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.js +98 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.js +111 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.js +160 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.d.ts +260 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.js +447 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.js +16 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.js +131 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.d.ts +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.js +112 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.js +223 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.js +8 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.js +133 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.d.ts +155 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.js +493 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.d.ts +524 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.js +335 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.d.ts +64 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.js +157 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.d.ts +66 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.js +235 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.js +9 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.js +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.js +50 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.d.ts +81 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.d.ts +257 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.js +263 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.js +350 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.d.ts +74 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.d.ts +169 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.js +569 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.js +17 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.d.ts +321 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.js +318 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.d.ts +140 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.d.ts +115 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.js +251 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.js +167 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.d.ts +120 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.js +165 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.d.ts +121 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.js +398 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.js +95 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.js +363 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.js +138 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.js +46 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.js +76 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.js +113 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.js +71 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.js +107 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.js +145 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.js +53 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.js +72 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.js +110 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.js +91 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.js +127 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.js +188 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.d.ts +201 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.js +553 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.js +43 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.js +146 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.js +215 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.js +41 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.d.ts +238 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.js +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.js +31 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.js +77 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.js +118 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.js +29 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.js +269 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.js +36 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.js +349 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.js +109 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.js +217 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.d.ts +122 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.js +181 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.d.ts +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.js +977 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.js +85 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.d.ts +71 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.js +288 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.js +557 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.js +440 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.js +151 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.d.ts +152 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.js +174 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.d.ts +176 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.js +384 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.js +40 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.d.ts +90 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.js +136 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.d.ts +83 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.js +154 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.js +20 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.d.ts +177 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.js +256 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.js +121 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.js +272 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.js +38 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.d.ts +51 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.js +170 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.js +72 -0
- package/dist/vendor/ui-sdk/core/index.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/index.js +322 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.d.ts +252 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.js +1326 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.js +5 -0
- package/dist/vendor/ui-sdk/core/page/history/history.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/page/history/history.js +233 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.js +58 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.js +38 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.js +26 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.d.ts +72 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.js +265 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.js +69 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.js +17 -0
- package/dist/vendor/ui-sdk/core/renderer.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/renderer.js +155 -0
- package/dist/vendor/ui-sdk/core/testing/aria.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/testing/aria.js +138 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.js +80 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.js +64 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.js +164 -0
- package/dist/vendor/ui-sdk/core/testing/composite.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/testing/composite.js +200 -0
- package/dist/vendor/ui-sdk/core/testing/input.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/testing/input.js +235 -0
- package/dist/vendor/ui-sdk/core/testing/markup.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/markup.js +67 -0
- package/dist/vendor/ui-sdk/core/testing/mount.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/testing/mount.js +312 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.js +186 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.js +317 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.js +535 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.js +383 -0
- package/dist/vendor/ui-sdk/core/testing/schema.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/testing/schema.js +80 -0
- package/dist/vendor/ui-sdk/core/testing.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/testing.js +21 -0
- package/dist/vendor/ui-sdk/core/web.css +3378 -0
- package/dist/vendor/ui-sdk/react/accordion.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/accordion.js +25 -0
- package/dist/vendor/ui-sdk/react/agent.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/agent.js +8 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.js +45 -0
- package/dist/vendor/ui-sdk/react/async-options.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/async-options.js +56 -0
- package/dist/vendor/ui-sdk/react/autocomplete.d.ts +102 -0
- package/dist/vendor/ui-sdk/react/autocomplete.js +195 -0
- package/dist/vendor/ui-sdk/react/avatar.d.ts +301 -0
- package/dist/vendor/ui-sdk/react/avatar.js +17 -0
- package/dist/vendor/ui-sdk/react/button.d.ts +21 -0
- package/dist/vendor/ui-sdk/react/button.js +50 -0
- package/dist/vendor/ui-sdk/react/calendar-context.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/calendar-context.js +9 -0
- package/dist/vendor/ui-sdk/react/calendar.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/calendar.js +257 -0
- package/dist/vendor/ui-sdk/react/carousel.d.ts +52 -0
- package/dist/vendor/ui-sdk/react/carousel.js +151 -0
- package/dist/vendor/ui-sdk/react/checkbox.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/checkbox.js +98 -0
- package/dist/vendor/ui-sdk/react/children.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/children.js +63 -0
- package/dist/vendor/ui-sdk/react/collapsible.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/collapsible.js +19 -0
- package/dist/vendor/ui-sdk/react/color-picker.d.ts +72 -0
- package/dist/vendor/ui-sdk/react/color-picker.js +133 -0
- package/dist/vendor/ui-sdk/react/color.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/color.js +22 -0
- package/dist/vendor/ui-sdk/react/combobox.d.ts +152 -0
- package/dist/vendor/ui-sdk/react/combobox.js +338 -0
- package/dist/vendor/ui-sdk/react/command.d.ts +88 -0
- package/dist/vendor/ui-sdk/react/command.js +233 -0
- package/dist/vendor/ui-sdk/react/controller-target.d.ts +3 -0
- package/dist/vendor/ui-sdk/react/controller-target.js +59 -0
- package/dist/vendor/ui-sdk/react/date-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/date-input.js +58 -0
- package/dist/vendor/ui-sdk/react/date-picker.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/date-picker.js +310 -0
- package/dist/vendor/ui-sdk/react/date.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/date.js +60 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.js +142 -0
- package/dist/vendor/ui-sdk/react/dialog.d.ts +57 -0
- package/dist/vendor/ui-sdk/react/dialog.js +32 -0
- package/dist/vendor/ui-sdk/react/drawer.d.ts +70 -0
- package/dist/vendor/ui-sdk/react/drawer.js +158 -0
- package/dist/vendor/ui-sdk/react/editor-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/editor-context.js +9 -0
- package/dist/vendor/ui-sdk/react/field-context.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/field-context.js +87 -0
- package/dist/vendor/ui-sdk/react/field.d.ts +49 -0
- package/dist/vendor/ui-sdk/react/field.js +169 -0
- package/dist/vendor/ui-sdk/react/file-input.d.ts +46 -0
- package/dist/vendor/ui-sdk/react/file-input.js +170 -0
- package/dist/vendor/ui-sdk/react/form-inputs.d.ts +5 -0
- package/dist/vendor/ui-sdk/react/form-inputs.js +22 -0
- package/dist/vendor/ui-sdk/react/gesture.d.ts +1 -0
- package/dist/vendor/ui-sdk/react/gesture.js +16 -0
- package/dist/vendor/ui-sdk/react/history.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/history.js +12 -0
- package/dist/vendor/ui-sdk/react/hover-card.d.ts +33 -0
- package/dist/vendor/ui-sdk/react/hover-card.js +84 -0
- package/dist/vendor/ui-sdk/react/image-cropper.d.ts +333 -0
- package/dist/vendor/ui-sdk/react/image-cropper.js +37 -0
- package/dist/vendor/ui-sdk/react/image.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/image.js +6 -0
- package/dist/vendor/ui-sdk/react/input.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/input.js +51 -0
- package/dist/vendor/ui-sdk/react/label.d.ts +294 -0
- package/dist/vendor/ui-sdk/react/label.js +9 -0
- package/dist/vendor/ui-sdk/react/list-items.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/list-items.js +39 -0
- package/dist/vendor/ui-sdk/react/list-text.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/list-text.js +15 -0
- package/dist/vendor/ui-sdk/react/listbox.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/listbox.js +122 -0
- package/dist/vendor/ui-sdk/react/menu.d.ts +116 -0
- package/dist/vendor/ui-sdk/react/menu.js +426 -0
- package/dist/vendor/ui-sdk/react/menubar-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/menubar-context.js +7 -0
- package/dist/vendor/ui-sdk/react/menubar.d.ts +11 -0
- package/dist/vendor/ui-sdk/react/menubar.js +32 -0
- package/dist/vendor/ui-sdk/react/meter.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/meter.js +30 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.d.ts +61 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.js +169 -0
- package/dist/vendor/ui-sdk/react/number-input.d.ts +44 -0
- package/dist/vendor/ui-sdk/react/number-input.js +185 -0
- package/dist/vendor/ui-sdk/react/number.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/number.js +40 -0
- package/dist/vendor/ui-sdk/react/observe.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/observe.js +8 -0
- package/dist/vendor/ui-sdk/react/otp-input.d.ts +29 -0
- package/dist/vendor/ui-sdk/react/otp-input.js +94 -0
- package/dist/vendor/ui-sdk/react/overlays.d.ts +26 -0
- package/dist/vendor/ui-sdk/react/overlays.js +82 -0
- package/dist/vendor/ui-sdk/react/pagination.d.ts +336 -0
- package/dist/vendor/ui-sdk/react/pagination.js +71 -0
- package/dist/vendor/ui-sdk/react/password-input.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/password-input.js +65 -0
- package/dist/vendor/ui-sdk/react/popover.d.ts +54 -0
- package/dist/vendor/ui-sdk/react/popover.js +151 -0
- package/dist/vendor/ui-sdk/react/popup.d.ts +41 -0
- package/dist/vendor/ui-sdk/react/popup.js +180 -0
- package/dist/vendor/ui-sdk/react/preferences.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/preferences.js +93 -0
- package/dist/vendor/ui-sdk/react/primitive.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/primitive.js +14 -0
- package/dist/vendor/ui-sdk/react/progress.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/progress.js +30 -0
- package/dist/vendor/ui-sdk/react/radio.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/radio.js +86 -0
- package/dist/vendor/ui-sdk/react/rating.d.ts +20 -0
- package/dist/vendor/ui-sdk/react/rating.js +94 -0
- package/dist/vendor/ui-sdk/react/render-element.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/render-element.js +103 -0
- package/dist/vendor/ui-sdk/react/resizable.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/resizable.js +23 -0
- package/dist/vendor/ui-sdk/react/scroll-area.d.ts +324 -0
- package/dist/vendor/ui-sdk/react/scroll-area.js +49 -0
- package/dist/vendor/ui-sdk/react/segmented-control.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/segmented-control.js +78 -0
- package/dist/vendor/ui-sdk/react/segmented-input.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/segmented-input.js +48 -0
- package/dist/vendor/ui-sdk/react/select.d.ts +125 -0
- package/dist/vendor/ui-sdk/react/select.js +344 -0
- package/dist/vendor/ui-sdk/react/separator.d.ts +290 -0
- package/dist/vendor/ui-sdk/react/separator.js +9 -0
- package/dist/vendor/ui-sdk/react/shortcuts.d.ts +32 -0
- package/dist/vendor/ui-sdk/react/shortcuts.js +61 -0
- package/dist/vendor/ui-sdk/react/slider.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/slider.js +163 -0
- package/dist/vendor/ui-sdk/react/switch.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/switch.js +39 -0
- package/dist/vendor/ui-sdk/react/tabs.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/tabs.js +28 -0
- package/dist/vendor/ui-sdk/react/text-control.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/text-control.js +24 -0
- package/dist/vendor/ui-sdk/react/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/text-match.js +8 -0
- package/dist/vendor/ui-sdk/react/textarea.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/textarea.js +48 -0
- package/dist/vendor/ui-sdk/react/time-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/time-input.js +63 -0
- package/dist/vendor/ui-sdk/react/timeline.d.ts +327 -0
- package/dist/vendor/ui-sdk/react/timeline.js +31 -0
- package/dist/vendor/ui-sdk/react/toast-parts.d.ts +63 -0
- package/dist/vendor/ui-sdk/react/toast-parts.js +144 -0
- package/dist/vendor/ui-sdk/react/toast.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/toast.js +22 -0
- package/dist/vendor/ui-sdk/react/toggle.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/toggle.js +76 -0
- package/dist/vendor/ui-sdk/react/token-input.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/token-input.js +100 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.d.ts +6 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.js +16 -0
- package/dist/vendor/ui-sdk/react/toolbar.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/toolbar.js +63 -0
- package/dist/vendor/ui-sdk/react/tooltip.d.ts +39 -0
- package/dist/vendor/ui-sdk/react/tooltip.js +108 -0
- package/dist/vendor/ui-sdk/react/tree.d.ts +51 -0
- package/dist/vendor/ui-sdk/react/tree.js +150 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.d.ts +83 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.js +167 -0
- package/dist/vendor/ui-sdk/react/use-primitive.d.ts +178 -0
- package/dist/vendor/ui-sdk/react/use-primitive.js +674 -0
- package/dist/vendor/ui-sdk/react/waterfall.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/waterfall.js +108 -0
- package/package.json +2016 -23
- package/dist/components/chat-column.d.ts +0 -8
- package/dist/components/chat-column.d.ts.map +0 -1
- package/dist/components/chat-column.js +0 -26
- package/dist/components/code-editor-window.d.ts +0 -191
- package/dist/components/code-editor-window.d.ts.map +0 -1
- package/dist/components/code-editor-window.js +0 -1474
- package/dist/components/color-field.d.ts +0 -22
- package/dist/components/color-field.d.ts.map +0 -1
- package/dist/components/color-field.js +0 -60
- package/dist/components/composer/annotator.d.ts +0 -22
- package/dist/components/composer/annotator.d.ts.map +0 -1
- package/dist/components/composer/annotator.js +0 -17
- package/dist/components/composer/composer-popover.d.ts +0 -9
- package/dist/components/composer/composer-popover.d.ts.map +0 -1
- package/dist/components/composer/composer-popover.js +0 -29
- package/dist/components/context-menu.d.ts +0 -25
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/context-menu.js +0 -127
- package/dist/components/credenza.d.ts +0 -24
- package/dist/components/credenza.d.ts.map +0 -1
- package/dist/components/credenza.js +0 -256
- package/dist/components/date-field.d.ts +0 -19
- package/dist/components/date-field.d.ts.map +0 -1
- package/dist/components/date-field.js +0 -79
- package/dist/components/edge-drawer.d.ts +0 -34
- package/dist/components/edge-drawer.d.ts.map +0 -1
- package/dist/components/edge-drawer.js +0 -77
- package/dist/components/edit-bar.d.ts +0 -11
- package/dist/components/edit-bar.d.ts.map +0 -1
- package/dist/components/edit-bar.js +0 -33
- package/dist/components/floating-chat.d.ts +0 -94
- package/dist/components/floating-chat.d.ts.map +0 -1
- package/dist/components/floating-chat.js +0 -271
- package/dist/components/form.d.ts +0 -9
- package/dist/components/form.d.ts.map +0 -1
- package/dist/components/form.js +0 -32
- package/dist/components/icon-swap.d.ts +0 -27
- package/dist/components/icon-swap.d.ts.map +0 -1
- package/dist/components/icon-swap.js +0 -80
- package/dist/components/list-box.d.ts +0 -28
- package/dist/components/list-box.d.ts.map +0 -1
- package/dist/components/list-box.js +0 -104
- package/dist/components/passkey-enroll-dialog.d.ts +0 -36
- package/dist/components/passkey-enroll-dialog.d.ts.map +0 -1
- package/dist/components/passkey-enroll-dialog.js +0 -234
- package/dist/components/plain-button.d.ts +0 -10
- package/dist/components/plain-button.d.ts.map +0 -1
- package/dist/components/plain-button.js +0 -23
- package/dist/components/qr-svg.d.ts +0 -37
- package/dist/components/qr-svg.d.ts.map +0 -1
- package/dist/components/qr-svg.js +0 -74
- package/dist/components/result-table.d.ts +0 -38
- package/dist/components/result-table.d.ts.map +0 -1
- package/dist/components/result-table.js +0 -161
- package/dist/components/schema-tree.d.ts +0 -19
- package/dist/components/schema-tree.d.ts.map +0 -1
- package/dist/components/schema-tree.js +0 -103
- package/dist/components/search-field.d.ts +0 -20
- package/dist/components/search-field.d.ts.map +0 -1
- package/dist/components/search-field.js +0 -44
- package/dist/components/side-drawer.d.ts +0 -27
- package/dist/components/side-drawer.d.ts.map +0 -1
- package/dist/components/side-drawer.js +0 -221
- package/dist/components/spinner-shapes.d.ts +0 -299
- package/dist/components/spinner-shapes.d.ts.map +0 -1
- package/dist/components/spinner-shapes.js +0 -876
- package/dist/components/sql-editor.d.ts +0 -47
- package/dist/components/sql-editor.d.ts.map +0 -1
- package/dist/components/sql-editor.js +0 -170
- package/dist/components/strudel-rack.d.ts +0 -3
- package/dist/components/strudel-rack.d.ts.map +0 -1
- package/dist/components/strudel-rack.js +0 -2
- package/dist/components/strudel-syntax.d.ts +0 -3
- package/dist/components/strudel-syntax.d.ts.map +0 -1
- package/dist/components/strudel-syntax.js +0 -2
- package/dist/components/syntax-highlighting.d.ts +0 -70
- package/dist/components/syntax-highlighting.d.ts.map +0 -1
- package/dist/components/syntax-highlighting.js +0 -54
- package/dist/components/tab-bar.d.ts +0 -18
- package/dist/components/tab-bar.d.ts.map +0 -1
- package/dist/components/tab-bar.js +0 -28
- package/dist/components/tab-view.d.ts +0 -94
- package/dist/components/tab-view.d.ts.map +0 -1
- package/dist/components/tab-view.js +0 -321
- package/dist/components/tailscale-login-button.d.ts +0 -53
- package/dist/components/tailscale-login-button.d.ts.map +0 -1
- package/dist/components/tailscale-login-button.js +0 -197
- package/dist/components/tailscale-menu.d.ts +0 -69
- package/dist/components/tailscale-menu.d.ts.map +0 -1
- package/dist/components/tailscale-menu.js +0 -202
- package/dist/components/text-field.d.ts +0 -9
- package/dist/components/text-field.d.ts.map +0 -1
- package/dist/components/text-field.js +0 -29
- package/dist/components/time-input.d.ts +0 -46
- package/dist/components/time-input.d.ts.map +0 -1
- package/dist/components/time-input.js +0 -258
- package/dist/components/toggle-group.d.ts +0 -15
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle-group.js +0 -48
- package/dist/components/workbench-theme.d.ts +0 -15
- package/dist/components/workbench-theme.d.ts.map +0 -1
- package/dist/components/workbench-theme.js +0 -34
- package/dist/lib/back-history.d.ts +0 -5
- package/dist/lib/back-history.d.ts.map +0 -1
- package/dist/lib/back-history.js +0 -44
- package/dist/lib/drawer-swipe.d.ts +0 -31
- package/dist/lib/drawer-swipe.d.ts.map +0 -1
- package/dist/lib/drawer-swipe.js +0 -68
- package/dist/lib/format-bytes.d.ts +0 -3
- package/dist/lib/format-bytes.d.ts.map +0 -1
- package/dist/lib/format-bytes.js +0 -16
- package/dist/lib/log-list-window.d.ts +0 -121
- package/dist/lib/log-list-window.d.ts.map +0 -1
- package/dist/lib/log-list-window.js +0 -245
- package/dist/lib/persistent-host.d.ts +0 -29
- package/dist/lib/persistent-host.d.ts.map +0 -1
- package/dist/lib/persistent-host.js +0 -41
- package/dist/lib/scroll-hidden.d.ts +0 -6
- package/dist/lib/scroll-hidden.d.ts.map +0 -1
- package/dist/lib/scroll-hidden.js +0 -21
- package/dist/lib/sheet-drag.d.ts +0 -61
- package/dist/lib/sheet-drag.d.ts.map +0 -1
- package/dist/lib/sheet-drag.js +0 -131
|
@@ -0,0 +1,1724 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../lib/utils.js";
|
|
3
|
+
import { prefersReducedMotion as t } from "../lib/reduced-motion.js";
|
|
4
|
+
import { useContainerSize as n } from "../lib/container.js";
|
|
5
|
+
import { Icon as r } from "../lib/icon.js";
|
|
6
|
+
import { formatShortcutText as i } from "../lib/shortcut-text.js";
|
|
7
|
+
import { Spinner as a } from "./spinner.js";
|
|
8
|
+
import { renderEmptyState as o } from "./empty-state.js";
|
|
9
|
+
import { Toolbar as s, ToolbarButton as c, ToolbarSeparator as l } from "./toolbar.js";
|
|
10
|
+
import { Tooltip as u, TooltipContent as d, TooltipShortcut as f, TooltipTrigger as p } from "./tooltip.js";
|
|
11
|
+
import { centerOf as m, intersects as h, rectOf as ee, toBoard as te } from "../lib/canvas-math.js";
|
|
12
|
+
import { createCanvasController as ne } from "../lib/canvas-primitive.js";
|
|
13
|
+
import { Canvas as re, CanvasGuides as ie, CanvasMarquee as ae, CanvasMiniMap as oe } from "./canvas.js";
|
|
14
|
+
import { DIAGRAM_CARD as se, DIAGRAM_SIDES as ce, NOTHING_SELECTED as le, anchorNormal as ue, anchorPoint as de, codeKey as fe, connectorPath as pe, diagramTextRuns as me, edgeGeometries as he, edgeGeometry as ge, growNodesToText as _e, hasEdgeLabel as ve, holdsNodes as ye, indexDiagram as be, itemKey as xe, moveNodes as Se, nearestSide as Ce, nodeAnatomy as we, portPoint as Te, renderWindow as Ee, sectionKey as De, sizeNodesToText as Oe } from "../lib/diagram-model.js";
|
|
15
|
+
import { connectionOf as ke, connectionTargetAt as Ae, hitTestDiagram as je, movableNodes as Me, offerConnection as Ne, stepDiagramGesture as Pe } from "../lib/diagram-gesture.js";
|
|
16
|
+
import { describeEdge as Fe, describeItem as Ie, describeNode as Le, fitViewport as Re, nearestNode as ze, stepFocus as Be, viewportToShow as Ve } from "../lib/diagram-keyboard.js";
|
|
17
|
+
import { diagramContentHeight as He, diagramEye as Ue, diagramStartEye as We, drawDiagram as Ge, drawingCorner as Ke, firstView as qe, keepInView as Je } from "../lib/diagram-drawing.js";
|
|
18
|
+
import { DiagramChromeProvider as Ye, useDiagramChrome as Xe, useDiagramChromeInset as Ze, useDiagramChromeScope as Qe } from "../lib/diagram-chrome.js";
|
|
19
|
+
import { createDiagramController as $e, diagram as et } from "../lib/diagram-primitive.js";
|
|
20
|
+
import { DIAGRAM_TEXT_CLASS as g, estimateText as tt, measureText as _ } from "../lib/diagram-text.js";
|
|
21
|
+
import { useFontVersion as nt, useShownVersion as rt } from "../lib/use-font-version.js";
|
|
22
|
+
import { useDiagramHistory as it } from "../lib/diagram-history.js";
|
|
23
|
+
import { createContext as at, memo as ot, useCallback as v, useContext as st, useEffect as ct, useId as lt, useLayoutEffect as y, useMemo as b, useRef as x, useState as S, useSyncExternalStore as ut } from "react";
|
|
24
|
+
import { Fragment as dt, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
25
|
+
import { usePart as ft, usePrimitive as pt } from "../vendor/ui-sdk/react/primitive.js";
|
|
26
|
+
import { cva as T } from "class-variance-authority";
|
|
27
|
+
//#region src/components/diagram.tsx
|
|
28
|
+
var mt = "[stroke-width:calc(1.25px/var(--diagram-z))] [stroke-linejoin:round]", ht = T("relative size-full", {
|
|
29
|
+
variants: {
|
|
30
|
+
kind: {
|
|
31
|
+
node: "flex flex-col overflow-hidden rounded-ctl border border-border bg-card text-card-foreground shadow-hairline",
|
|
32
|
+
group: "flex flex-col overflow-hidden rounded-card border border-border bg-secondary/35 text-card-foreground",
|
|
33
|
+
region: "flex flex-col rounded-card text-card-foreground",
|
|
34
|
+
root: "flex flex-col overflow-hidden rounded-card border border-border bg-background/60 text-card-foreground",
|
|
35
|
+
marker: "rounded-full bg-foreground"
|
|
36
|
+
},
|
|
37
|
+
variant: {
|
|
38
|
+
default: "",
|
|
39
|
+
dashed: "border-dashed",
|
|
40
|
+
double: "outline-1 -outline-offset-4 outline-border"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
defaultVariants: {
|
|
44
|
+
kind: "node",
|
|
45
|
+
variant: "default"
|
|
46
|
+
}
|
|
47
|
+
}), gt = T(`fill-none ${mt}`, {
|
|
48
|
+
variants: {
|
|
49
|
+
variant: {
|
|
50
|
+
default: "stroke-muted-foreground",
|
|
51
|
+
dashed: "stroke-muted-foreground [stroke-dasharray:calc(5px/var(--diagram-z))_calc(3px/var(--diagram-z))]",
|
|
52
|
+
dotted: "stroke-muted-foreground [stroke-dasharray:calc(1.5px/var(--diagram-z))_calc(3px/var(--diagram-z))] [stroke-linecap:round]",
|
|
53
|
+
strong: "stroke-foreground"
|
|
54
|
+
},
|
|
55
|
+
tone: {
|
|
56
|
+
default: "",
|
|
57
|
+
destructive: "stroke-destructive"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
compoundVariants: [{
|
|
61
|
+
variant: ["default", "strong"],
|
|
62
|
+
tone: "destructive",
|
|
63
|
+
className: "[stroke-dasharray:calc(6px/var(--diagram-z))_calc(3px/var(--diagram-z))]"
|
|
64
|
+
}],
|
|
65
|
+
defaultVariants: {
|
|
66
|
+
variant: "default",
|
|
67
|
+
tone: "default"
|
|
68
|
+
}
|
|
69
|
+
}), E = [
|
|
70
|
+
"default",
|
|
71
|
+
"dashed",
|
|
72
|
+
"dotted",
|
|
73
|
+
"strong"
|
|
74
|
+
], _t = (e) => e && E.includes(e) ? e : "default", vt = (e) => e === "destructive" ? "destructive" : "default", yt = (e) => {
|
|
75
|
+
let t = /* @__PURE__ */ new Map();
|
|
76
|
+
return (n) => {
|
|
77
|
+
let r = t.get(n);
|
|
78
|
+
return r === void 0 && (r = e(n), t.set(n, r)), r;
|
|
79
|
+
};
|
|
80
|
+
}, bt = yt((t) => {
|
|
81
|
+
let [n, r, i, a] = t.split(":");
|
|
82
|
+
return e(gt({
|
|
83
|
+
variant: n,
|
|
84
|
+
tone: r
|
|
85
|
+
}), i && "stroke-primary [stroke-width:calc(2px/var(--diagram-z))]", a && "stroke-primary [stroke-width:calc(2.5px/var(--diagram-z))]", "outline-none");
|
|
86
|
+
}), xt = yt((e) => {
|
|
87
|
+
let [t, n] = e.split(":");
|
|
88
|
+
return ht({
|
|
89
|
+
kind: t,
|
|
90
|
+
variant: n
|
|
91
|
+
});
|
|
92
|
+
}), St = ye, Ct = yt((t) => e("absolute outline-none", t)), wt = .25, Tt = .4, D = "group-data-[zoom=far]/diagram:invisible", Et = T("flex max-w-full min-w-0 items-center gap-1.5", {
|
|
93
|
+
variants: {
|
|
94
|
+
variant: {
|
|
95
|
+
default: "rounded-md border border-border bg-background px-2 py-0.5 text-foreground shadow-hairline",
|
|
96
|
+
list: "text-foreground",
|
|
97
|
+
code: "text-foreground"
|
|
98
|
+
},
|
|
99
|
+
tone: {
|
|
100
|
+
default: "[&_[data-part=glyph]]:text-muted-foreground",
|
|
101
|
+
success: "border-success/40 [&_[data-part=glyph]]:text-success",
|
|
102
|
+
warning: "border-warning/50 [&_[data-part=glyph]]:text-warning",
|
|
103
|
+
destructive: "border-destructive/40 text-destructive [&_[data-part=glyph]]:text-destructive",
|
|
104
|
+
muted: "text-muted-foreground [&_[data-part=glyph]]:text-muted-foreground"
|
|
105
|
+
},
|
|
106
|
+
pressable: {
|
|
107
|
+
true: "pointer-events-auto cursor-pointer motion-safe:transition-colors hover:bg-accent active:bg-secondary-strong",
|
|
108
|
+
false: ""
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
compoundVariants: [{
|
|
112
|
+
variant: ["list", "code"],
|
|
113
|
+
pressable: !0,
|
|
114
|
+
className: "rounded-xs hover:bg-accent"
|
|
115
|
+
}],
|
|
116
|
+
defaultVariants: {
|
|
117
|
+
variant: "default",
|
|
118
|
+
tone: "default",
|
|
119
|
+
pressable: !1
|
|
120
|
+
}
|
|
121
|
+
}), Dt = T("absolute border border-border bg-card text-card-foreground shadow-hairline", {
|
|
122
|
+
variants: { variant: {
|
|
123
|
+
pill: "flex items-center justify-center gap-1 rounded-full px-2.5 py-1 whitespace-nowrap",
|
|
124
|
+
card: "flex flex-col items-start gap-1.5 rounded-ctl px-2.5 pt-1.5 pb-2"
|
|
125
|
+
} },
|
|
126
|
+
defaultVariants: { variant: "pill" }
|
|
127
|
+
}), Ot = {
|
|
128
|
+
default: "",
|
|
129
|
+
success: "[box-shadow:inset_0_2px_0_var(--success)] [&>[data-slot=diagram-node-icon]]:text-success",
|
|
130
|
+
warning: "[box-shadow:inset_0_2px_0_var(--warning)] [&>[data-slot=diagram-node-icon]]:text-warning",
|
|
131
|
+
destructive: "[box-shadow:inset_0_2px_0_var(--destructive)] [&>[data-slot=diagram-node-icon]]:text-destructive",
|
|
132
|
+
muted: "text-muted-foreground"
|
|
133
|
+
};
|
|
134
|
+
function kt({ glyph: t, size: n }) {
|
|
135
|
+
return typeof t == "string" ? /* @__PURE__ */ C(r, {
|
|
136
|
+
name: t,
|
|
137
|
+
size: n
|
|
138
|
+
}) : /* @__PURE__ */ C("span", {
|
|
139
|
+
className: e("px-0.5 text-center", g.trailing),
|
|
140
|
+
children: t.text
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function At({ node: t, children: n, className: r }) {
|
|
144
|
+
return /* @__PURE__ */ w("div", {
|
|
145
|
+
"data-slot": "diagram-node-header",
|
|
146
|
+
"data-tone": t.tone && t.tone !== "default" ? t.tone : void 0,
|
|
147
|
+
className: e("flex min-w-0 items-center gap-1.5 px-2.5 py-1.5", Ot[t.tone ?? "default"], r),
|
|
148
|
+
children: [
|
|
149
|
+
t.icon ? /* @__PURE__ */ C("span", {
|
|
150
|
+
"data-slot": "diagram-node-icon",
|
|
151
|
+
className: e("flex min-w-3.5 shrink-0 items-center justify-center text-muted-foreground", D),
|
|
152
|
+
children: /* @__PURE__ */ C(kt, {
|
|
153
|
+
glyph: t.icon,
|
|
154
|
+
size: 14
|
|
155
|
+
})
|
|
156
|
+
}) : null,
|
|
157
|
+
t.title ? /* @__PURE__ */ C("span", {
|
|
158
|
+
"data-slot": "diagram-node-title",
|
|
159
|
+
className: e("min-w-0 flex-1 [overflow-wrap:anywhere]", g.title, D),
|
|
160
|
+
children: t.title
|
|
161
|
+
}) : /* @__PURE__ */ C("span", { className: "flex-1" }),
|
|
162
|
+
t.trailing ? /* @__PURE__ */ C("span", {
|
|
163
|
+
"data-slot": "diagram-node-trailing",
|
|
164
|
+
className: e("ms-0.5 shrink-0 rounded-full bg-foreground/8 px-1.5 py-px whitespace-nowrap text-muted-foreground", g.trailing, D),
|
|
165
|
+
children: t.trailing
|
|
166
|
+
}) : null,
|
|
167
|
+
n
|
|
168
|
+
]
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
function jt({ sections: t, owner: n, pressable: r = !1, focused: i, className: a }) {
|
|
172
|
+
return /* @__PURE__ */ C("div", {
|
|
173
|
+
"data-slot": "diagram-sections",
|
|
174
|
+
className: e("flex min-w-0 flex-col items-stretch gap-2.5", a),
|
|
175
|
+
children: t.map((t, a) => {
|
|
176
|
+
if (!t.items.length && !t.title) return null;
|
|
177
|
+
let o = De(t, a), s = t.variant ?? "default", c = s === "inline", l = c ? "default" : s;
|
|
178
|
+
return /* @__PURE__ */ w("div", {
|
|
179
|
+
"data-slot": "diagram-section",
|
|
180
|
+
"data-section": o,
|
|
181
|
+
"data-variant": s,
|
|
182
|
+
className: "flex min-w-0 flex-col items-start",
|
|
183
|
+
children: [t.title ? /* @__PURE__ */ C("div", {
|
|
184
|
+
"data-slot": "diagram-section-title",
|
|
185
|
+
className: e("text-muted-foreground", t.items.length && "mb-1", g.caption, D),
|
|
186
|
+
children: t.title
|
|
187
|
+
}) : null, /* @__PURE__ */ C("div", {
|
|
188
|
+
className: e("flex min-w-0", c ? "flex-row flex-wrap items-center gap-1" : "flex-col items-start", s === "default" ? "gap-1" : !c && "gap-0.5"),
|
|
189
|
+
style: c ? { maxWidth: se.inlineMax + 8 } : void 0,
|
|
190
|
+
children: t.items.map((t) => {
|
|
191
|
+
let a = xe(t), c = t.tone ?? "default";
|
|
192
|
+
return /* @__PURE__ */ w("div", {
|
|
193
|
+
"data-slot": "diagram-item",
|
|
194
|
+
"data-owner": n.id,
|
|
195
|
+
"data-section": o,
|
|
196
|
+
"data-item": a,
|
|
197
|
+
"data-tone": c === "default" ? void 0 : c,
|
|
198
|
+
"data-pressable": r ? "" : void 0,
|
|
199
|
+
"data-focused": i === `${o}\0${a}` ? "" : void 0,
|
|
200
|
+
"aria-hidden": "true",
|
|
201
|
+
className: e(Et({
|
|
202
|
+
variant: l,
|
|
203
|
+
tone: c,
|
|
204
|
+
pressable: r
|
|
205
|
+
}), Mt, D),
|
|
206
|
+
children: [
|
|
207
|
+
t.icon ? /* @__PURE__ */ C("span", {
|
|
208
|
+
"data-part": "glyph",
|
|
209
|
+
className: "flex min-w-3 shrink-0 items-center justify-center",
|
|
210
|
+
children: /* @__PURE__ */ C(kt, {
|
|
211
|
+
glyph: t.icon,
|
|
212
|
+
size: 12
|
|
213
|
+
})
|
|
214
|
+
}) : null,
|
|
215
|
+
/* @__PURE__ */ C("span", {
|
|
216
|
+
className: e("min-w-0 [overflow-wrap:anywhere]", s === "code" ? g.code : g.item),
|
|
217
|
+
children: fe(t, s === "code")
|
|
218
|
+
}),
|
|
219
|
+
t.description ? /* @__PURE__ */ C("span", {
|
|
220
|
+
className: e("min-w-0 text-muted-foreground [overflow-wrap:anywhere]", s === "code" ? g.code : g.description),
|
|
221
|
+
children: t.description
|
|
222
|
+
}) : null
|
|
223
|
+
]
|
|
224
|
+
}, a);
|
|
225
|
+
})
|
|
226
|
+
})]
|
|
227
|
+
}, o);
|
|
228
|
+
})
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
var Mt = "data-[focused]:[box-shadow:0_0_0_2px_var(--background),0_0_0_4px_var(--ring)]";
|
|
232
|
+
function O({ className: t }) {
|
|
233
|
+
return /* @__PURE__ */ w("svg", {
|
|
234
|
+
"data-slot": "diagram-entry",
|
|
235
|
+
"aria-hidden": "true",
|
|
236
|
+
width: 1,
|
|
237
|
+
height: 1,
|
|
238
|
+
className: e("pointer-events-none absolute top-0 left-0 overflow-visible", t),
|
|
239
|
+
children: [
|
|
240
|
+
/* @__PURE__ */ C("circle", {
|
|
241
|
+
cx: -16,
|
|
242
|
+
cy: -10,
|
|
243
|
+
r: 4,
|
|
244
|
+
className: "fill-foreground"
|
|
245
|
+
}),
|
|
246
|
+
/* @__PURE__ */ C("path", {
|
|
247
|
+
d: "M-16 -6C-16 6 -12 14 -4 14",
|
|
248
|
+
className: "fill-none stroke-foreground [stroke-width:1.5]"
|
|
249
|
+
}),
|
|
250
|
+
/* @__PURE__ */ C("path", {
|
|
251
|
+
d: "M-1 14L-6 11L-6 17Z",
|
|
252
|
+
className: "fill-foreground"
|
|
253
|
+
})
|
|
254
|
+
]
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
function Nt({ node: t, pressable: n, focusedItem: r, children: i, className: a, style: o }) {
|
|
258
|
+
let s = st(k), c = n ?? s.pressable, l = r ?? s.focused, u = t.kind ?? "node", d = xt(`${u}:${t.variant ?? "default"}`), f = a ? e(d, a) : d;
|
|
259
|
+
if (u === "marker") return /* @__PURE__ */ C("div", {
|
|
260
|
+
"data-slot": "diagram-node-body",
|
|
261
|
+
className: f,
|
|
262
|
+
style: o,
|
|
263
|
+
children: i
|
|
264
|
+
});
|
|
265
|
+
let p = t.sections?.some((e) => e.items.length || e.title) ? t.sections : void 0, m = t.description || p, h = !!(t.title || t.icon || t.trailing), ee = St(t);
|
|
266
|
+
return /* @__PURE__ */ w("div", {
|
|
267
|
+
"data-slot": "diagram-node-body",
|
|
268
|
+
className: f,
|
|
269
|
+
style: o,
|
|
270
|
+
children: [
|
|
271
|
+
h || !ee ? /* @__PURE__ */ C(At, {
|
|
272
|
+
node: t,
|
|
273
|
+
className: e(m && u !== "region" && "border-b border-border", u === "region" ? "text-muted-foreground" : "bg-secondary-strong", !m && !ee && "flex-1 justify-center [&>[data-slot=diagram-node-title]]:flex-initial [&>[data-slot=diagram-node-title]]:text-center", u === "region" && "[&>[data-slot=diagram-node-title]]:font-medium")
|
|
274
|
+
}) : null,
|
|
275
|
+
m ? /* @__PURE__ */ w("div", {
|
|
276
|
+
"data-slot": "diagram-node-content",
|
|
277
|
+
className: e("flex min-w-0 flex-col gap-2 px-2.5 pt-2 pb-2.5", ee && u !== "region" && "[box-shadow:inset_0_-1px_0_var(--border)]"),
|
|
278
|
+
children: [t.description ? /* @__PURE__ */ C("div", {
|
|
279
|
+
"data-slot": "diagram-node-description",
|
|
280
|
+
className: e("[overflow-wrap:anywhere] text-muted-foreground", g.description, D),
|
|
281
|
+
children: t.description
|
|
282
|
+
}) : null, p ? /* @__PURE__ */ C(jt, {
|
|
283
|
+
sections: p,
|
|
284
|
+
owner: {
|
|
285
|
+
kind: "node",
|
|
286
|
+
id: t.id
|
|
287
|
+
},
|
|
288
|
+
pressable: c,
|
|
289
|
+
focused: l
|
|
290
|
+
}) : null]
|
|
291
|
+
}) : null,
|
|
292
|
+
i
|
|
293
|
+
]
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
var k = at({ pressable: !1 }), A = "bg-primary/12 [box-shadow:0_0_0_calc(1.5px/var(--diagram-z))_var(--primary)]", j = "[box-shadow:0_0_0_calc(2px/var(--diagram-z))_var(--primary)]", Pt = "[box-shadow:0_0_0_calc(2px/var(--diagram-z))_var(--background),0_0_0_calc(4.5px/var(--diagram-z))_var(--ring)]", Ft = "bg-primary/12 [box-shadow:0_0_0_calc(1.5px/var(--diagram-z))_var(--primary),0_0_0_calc(3.5px/var(--diagram-z))_var(--background),0_0_0_calc(6px/var(--diagram-z))_var(--ring)]", It = "[box-shadow:0_0_0_calc(2px/var(--diagram-z))_var(--primary),0_0_0_calc(4px/var(--diagram-z))_var(--background),0_0_0_calc(6.5px/var(--diagram-z))_var(--ring)]", Lt = "[box-shadow:inset_calc(4px/var(--diagram-z))_0_0_0_var(--primary),0_0_0_calc(1px/var(--diagram-z))_var(--primary)]", Rt = "[box-shadow:inset_calc(4px/var(--diagram-z))_0_0_0_var(--primary)]", zt = (e, t, n) => n && t ? e ? It : Ft : n ? Pt : e ? j : A, Bt = (e) => St(e) ? "rounded-card" : e.kind === "marker" ? "rounded-full" : "rounded-ctl", Vt = (e, t) => e === t || e.id === t.id && e.x === t.x && e.y === t.y && e.w === t.w && e.h === t.h && e.kind === t.kind && e.variant === t.variant && e.title === t.title && e.description === t.description && e.icon === t.icon && e.trailing === t.trailing && e.sections === t.sections && e.entry === t.entry && e.tone === t.tone && e.parent === t.parent && e.data === t.data && e.ports === t.ports, Ht = ot(function({ node: e, selected: t, selectable: n, current: r, label: i, pressable: a = !1, focusedItem: o, renderNode: s }) {
|
|
297
|
+
let c = b(() => ({
|
|
298
|
+
pressable: a,
|
|
299
|
+
focused: o
|
|
300
|
+
}), [a, o]);
|
|
301
|
+
return /* @__PURE__ */ w("div", {
|
|
302
|
+
"data-slot": "diagram-node",
|
|
303
|
+
"data-node": e.id,
|
|
304
|
+
"data-kind": e.kind ?? "node",
|
|
305
|
+
"data-variant": e.variant,
|
|
306
|
+
"data-selected": t ? "" : void 0,
|
|
307
|
+
"data-current": r ? "" : void 0,
|
|
308
|
+
role: "button",
|
|
309
|
+
tabIndex: -1,
|
|
310
|
+
"aria-label": i,
|
|
311
|
+
"aria-pressed": n ? !!t : void 0,
|
|
312
|
+
"aria-current": r || void 0,
|
|
313
|
+
className: Ct(Bt(e)),
|
|
314
|
+
style: {
|
|
315
|
+
left: e.x,
|
|
316
|
+
top: e.y,
|
|
317
|
+
width: e.w,
|
|
318
|
+
height: e.h
|
|
319
|
+
},
|
|
320
|
+
children: [/* @__PURE__ */ C(k.Provider, {
|
|
321
|
+
value: c,
|
|
322
|
+
children: s ? s(e) : /* @__PURE__ */ C(Nt, { node: e })
|
|
323
|
+
}), e.entry ? /* @__PURE__ */ C(O, {}) : null]
|
|
324
|
+
});
|
|
325
|
+
}, (e, t) => e.selected === t.selected && e.selectable === t.selectable && e.current === t.current && e.label === t.label && e.renderNode === t.renderNode && e.pressable === t.pressable && e.focusedItem === t.focusedItem && Vt(e.node, t.node)), Ut = ot(function({ edge: e, d: t, arrow: n, selected: r, selectable: i, current: a, label: o, origin: s }) {
|
|
326
|
+
let c = _t(e.variant), l = vt(e.tone), u = r || a ? "-selected" : l === "destructive" ? "-problem" : c === "strong" ? "-strong" : "";
|
|
327
|
+
return /* @__PURE__ */ C("path", {
|
|
328
|
+
"data-slot": "diagram-edge",
|
|
329
|
+
"data-edge": e.id,
|
|
330
|
+
"data-variant": e.variant,
|
|
331
|
+
"data-tone": e.tone,
|
|
332
|
+
"data-selected": r ? "" : void 0,
|
|
333
|
+
"data-current": a ? "" : void 0,
|
|
334
|
+
role: "button",
|
|
335
|
+
tabIndex: -1,
|
|
336
|
+
"aria-label": o,
|
|
337
|
+
"aria-pressed": i ? !!r : void 0,
|
|
338
|
+
"aria-current": a || void 0,
|
|
339
|
+
d: t,
|
|
340
|
+
markerEnd: `url(#${n}${u})`,
|
|
341
|
+
markerStart: s ? `url(#${n}-origin${u})` : void 0,
|
|
342
|
+
className: bt(`${c}:${l}:${r ? "1" : ""}:${a ? "1" : ""}`)
|
|
343
|
+
});
|
|
344
|
+
}, (e, t) => e.d === t.d && e.arrow === t.arrow && e.selected === t.selected && e.selectable === t.selectable && e.current === t.current && e.label === t.label && e.origin === t.origin && e.edge.id === t.edge.id && e.edge.variant === t.edge.variant && e.edge.tone === t.edge.tone), M = (e, t) => e.edge.id === t.edge.id && e.edge.title === t.edge.title && e.edge.icon === t.edge.icon && e.edge.sections === t.edge.sections && e.edge.tone === t.edge.tone && e.box.x === t.box.x && e.box.y === t.box.y && e.box.w === t.box.w && e.box.h === t.box.h && e.selected === t.selected && e.focused === t.focused && e.current === t.current && e.pressable === t.pressable && e.pressableLabel === t.pressableLabel && e.focusedItem === t.focusedItem, Wt = "border-primary [box-shadow:0_0_0_1px_var(--primary)]", N = "pointer-events-auto cursor-pointer border-primary [box-shadow:0_0_0_1px_var(--primary)] motion-safe:transition-colors hover:bg-primary/8 active:bg-primary/15", Gt = "[box-shadow:0_0_0_2px_var(--background),0_0_0_4px_var(--ring)]", Kt = "border-primary [box-shadow:0_0_0_1px_var(--primary),0_0_0_3px_var(--background),0_0_0_5px_var(--ring)]", qt = ot(function({ edge: t, box: n, selected: i, focused: a, current: o, pressable: s = !1, pressableLabel: c = !1, focusedItem: l }) {
|
|
345
|
+
let u = t.sections?.some((e) => e.items.length || e.title) ? t.sections : void 0, d = u ? "card" : "pill";
|
|
346
|
+
return /* @__PURE__ */ w("div", {
|
|
347
|
+
"data-slot": "diagram-edge-label",
|
|
348
|
+
"data-edge": t.id,
|
|
349
|
+
"data-variant": d,
|
|
350
|
+
"data-tone": t.tone,
|
|
351
|
+
"data-selected": i ? "" : void 0,
|
|
352
|
+
"data-focused": a ? "" : void 0,
|
|
353
|
+
"data-current": o ? "" : void 0,
|
|
354
|
+
"data-pressable": c ? "" : void 0,
|
|
355
|
+
"aria-hidden": "true",
|
|
356
|
+
className: e(Dt({ variant: d }), c && N, "group-data-[zoom=far]/diagram:hidden group-data-[zoom=mid]/diagram:hidden", t.tone === "destructive" && "border-dashed border-destructive/60", o && "border-primary", a && i ? Kt : a ? Gt : i ? Wt : ""),
|
|
357
|
+
style: {
|
|
358
|
+
left: n.x,
|
|
359
|
+
top: n.y,
|
|
360
|
+
width: n.w,
|
|
361
|
+
height: n.h
|
|
362
|
+
},
|
|
363
|
+
children: [
|
|
364
|
+
t.title || t.icon ? /* @__PURE__ */ w("div", {
|
|
365
|
+
"data-slot": "diagram-edge-label-title",
|
|
366
|
+
className: e("flex min-w-0 items-center gap-1 whitespace-nowrap", g.edge, t.tone === "destructive" && "text-destructive"),
|
|
367
|
+
children: [t.icon ? /* @__PURE__ */ C("span", {
|
|
368
|
+
"data-part": "glyph",
|
|
369
|
+
className: "flex min-w-3 shrink-0 items-center justify-center text-muted-foreground",
|
|
370
|
+
children: /* @__PURE__ */ C(kt, {
|
|
371
|
+
glyph: t.icon,
|
|
372
|
+
size: 12
|
|
373
|
+
})
|
|
374
|
+
}) : null, t.title]
|
|
375
|
+
}) : null,
|
|
376
|
+
u ? /* @__PURE__ */ C(jt, {
|
|
377
|
+
sections: u,
|
|
378
|
+
owner: {
|
|
379
|
+
kind: "edge",
|
|
380
|
+
id: t.id
|
|
381
|
+
},
|
|
382
|
+
pressable: s && !c,
|
|
383
|
+
focused: l,
|
|
384
|
+
className: "gap-2 self-stretch"
|
|
385
|
+
}) : null,
|
|
386
|
+
c ? /* @__PURE__ */ C("span", {
|
|
387
|
+
"data-part": "press",
|
|
388
|
+
className: "pointer-events-none absolute -top-2 -left-2 grid size-4 place-items-center rounded-full bg-primary text-primary-foreground shadow-hairline",
|
|
389
|
+
children: /* @__PURE__ */ C(r, {
|
|
390
|
+
name: "play",
|
|
391
|
+
size: 9
|
|
392
|
+
})
|
|
393
|
+
}) : null
|
|
394
|
+
]
|
|
395
|
+
});
|
|
396
|
+
}, M);
|
|
397
|
+
function Jt({ id: t, className: n }) {
|
|
398
|
+
return /* @__PURE__ */ C("marker", {
|
|
399
|
+
id: t,
|
|
400
|
+
viewBox: "0 0 7 7.7",
|
|
401
|
+
refX: "7",
|
|
402
|
+
refY: "3.85",
|
|
403
|
+
markerWidth: "5.6",
|
|
404
|
+
markerHeight: "6.16",
|
|
405
|
+
markerUnits: "strokeWidth",
|
|
406
|
+
orient: "auto",
|
|
407
|
+
overflow: "visible",
|
|
408
|
+
children: /* @__PURE__ */ C("path", {
|
|
409
|
+
d: "M0 0L7 3.85L0 7.7Z",
|
|
410
|
+
className: e("origin-[7px_3.85px] [transform:scale(clamp(0.4,var(--diagram-z),1))]", n)
|
|
411
|
+
})
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
function Yt({ id: t, className: n }) {
|
|
415
|
+
return /* @__PURE__ */ C("marker", {
|
|
416
|
+
id: t,
|
|
417
|
+
viewBox: "-4 -4 8 8",
|
|
418
|
+
refX: "0",
|
|
419
|
+
refY: "0",
|
|
420
|
+
markerWidth: "4.4",
|
|
421
|
+
markerHeight: "4.4",
|
|
422
|
+
markerUnits: "strokeWidth",
|
|
423
|
+
orient: "auto",
|
|
424
|
+
overflow: "visible",
|
|
425
|
+
children: /* @__PURE__ */ C("circle", {
|
|
426
|
+
r: "4",
|
|
427
|
+
className: e("[transform:scale(clamp(0.4,var(--diagram-z),1))]", n)
|
|
428
|
+
})
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
var Xt = "pointer-events-none absolute rounded-full [transform:translate(-50%,-50%)]", Zt = "size-[min(calc(6px/var(--diagram-z)),7px)] [box-shadow:inset_0_0_0_min(calc(1.2px/var(--diagram-z)),1.4px)_var(--muted-foreground)]", Qt = "size-[min(calc(10px/var(--diagram-z)),11px)] [box-shadow:inset_0_0_0_min(calc(1.6px/var(--diagram-z)),1.8px)_var(--primary)]", $t = ot(function({ at: t, node: n, port: r, side: i, active: a }) {
|
|
432
|
+
return /* @__PURE__ */ C("span", {
|
|
433
|
+
"data-slot": "diagram-port",
|
|
434
|
+
"data-port-of": n,
|
|
435
|
+
"data-port": r,
|
|
436
|
+
"data-side": i,
|
|
437
|
+
"aria-hidden": "true",
|
|
438
|
+
className: e(Xt, "bg-background", a ? Qt : Zt),
|
|
439
|
+
style: {
|
|
440
|
+
left: t.x,
|
|
441
|
+
top: t.y
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
}), en = e(Xt, "size-[calc(12px/var(--diagram-z))] bg-background [box-shadow:inset_0_0_0_calc(2px/var(--diagram-z))_var(--primary)]");
|
|
445
|
+
function tn({ d: t, valid: n }) {
|
|
446
|
+
return /* @__PURE__ */ C("svg", {
|
|
447
|
+
"aria-hidden": "true",
|
|
448
|
+
className: "pointer-events-none absolute top-0 left-0 overflow-visible",
|
|
449
|
+
width: 1,
|
|
450
|
+
height: 1,
|
|
451
|
+
children: /* @__PURE__ */ C("path", {
|
|
452
|
+
"data-slot": "diagram-connection",
|
|
453
|
+
"data-valid": n,
|
|
454
|
+
"data-invalid": n ? void 0 : "",
|
|
455
|
+
d: t,
|
|
456
|
+
className: e("fill-none [stroke-dasharray:calc(5px/var(--diagram-z))_calc(4px/var(--diagram-z))] [stroke-width:calc(1.6px/var(--diagram-z))]", n ? "stroke-primary" : "stroke-destructive")
|
|
457
|
+
})
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
var nn = 200;
|
|
461
|
+
function rn(e, t, n) {
|
|
462
|
+
let r = n?.kind === "node" ? n.id : null, i = n?.kind === "edge" ? n.id : null, a = (e) => h(e, t) || e.id === r;
|
|
463
|
+
return {
|
|
464
|
+
...e,
|
|
465
|
+
containers: e.containers.filter(a),
|
|
466
|
+
leaves: e.leaves.filter(a),
|
|
467
|
+
edges: e.edges.filter((e) => h(e.box, t) || e.edge.id === i),
|
|
468
|
+
labels: e.labels.filter((e) => h(e.box, t)),
|
|
469
|
+
dividers: e.dividers.filter((e) => h({
|
|
470
|
+
x: Math.min(e.x1, e.x2),
|
|
471
|
+
y: Math.min(e.y1, e.y2),
|
|
472
|
+
w: Math.abs(e.x2 - e.x1),
|
|
473
|
+
h: Math.abs(e.y2 - e.y1)
|
|
474
|
+
}, t))
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
var an = at(null);
|
|
478
|
+
function on() {
|
|
479
|
+
let e = st(an);
|
|
480
|
+
if (!e) throw Error("useDiagram must be used within <Diagram>.");
|
|
481
|
+
return e;
|
|
482
|
+
}
|
|
483
|
+
var sn = [], cn = [], ln = 256, un = 2500, P = 260;
|
|
484
|
+
function dn(e, t) {
|
|
485
|
+
if (e.length >= t || e.length < 2) return [...e];
|
|
486
|
+
let n = e.slice(0, -1);
|
|
487
|
+
for (; n.length < t - 1;) n.push(e[e.length - 2]);
|
|
488
|
+
return n.push(e[e.length - 1]), n;
|
|
489
|
+
}
|
|
490
|
+
var F = (e, t, n) => e + (t - e) * n, fn = (e, t, n) => ({
|
|
491
|
+
...t,
|
|
492
|
+
x: F(e.x, t.x, n),
|
|
493
|
+
y: F(e.y, t.y, n),
|
|
494
|
+
w: F(e.w, t.w, n),
|
|
495
|
+
h: F(e.h, t.h, n)
|
|
496
|
+
});
|
|
497
|
+
function I(e, t, n) {
|
|
498
|
+
let r = new Map(e.nodes.map((e) => [e.id, e])), i = new Map(e.edges.map((e) => [e.id, e]));
|
|
499
|
+
return {
|
|
500
|
+
nodes: t.nodes.map((e) => {
|
|
501
|
+
let t = r.get(e.id);
|
|
502
|
+
return t ? fn(t, e, n) : e;
|
|
503
|
+
}),
|
|
504
|
+
edges: t.edges.map((e) => {
|
|
505
|
+
let t = i.get(e.id);
|
|
506
|
+
if (!t?.points || !e.points || t.points.length < 2 || e.points.length < 2) return e;
|
|
507
|
+
let r = Math.max(t.points.length, e.points.length), a = dn(t.points, r), o = dn(e.points, r);
|
|
508
|
+
return {
|
|
509
|
+
...e,
|
|
510
|
+
points: o.map((e, t) => ({
|
|
511
|
+
x: F(a[t].x, e.x, n),
|
|
512
|
+
y: F(a[t].y, e.y, n)
|
|
513
|
+
})),
|
|
514
|
+
...e.labelBox && t.labelBox ? { labelBox: fn(t.labelBox, e.labelBox, n) } : null
|
|
515
|
+
};
|
|
516
|
+
})
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
function pn(e, n, r) {
|
|
520
|
+
let [i, a] = S(null), o = x(e), s = x(0);
|
|
521
|
+
return y(() => {
|
|
522
|
+
r && (cancelAnimationFrame(s.current), o.current = r, a(null));
|
|
523
|
+
}, [r]), y(() => {
|
|
524
|
+
let i = o.current;
|
|
525
|
+
if (i === e || r) return;
|
|
526
|
+
let c = new Map(i.nodes.map((e) => [e.id, e])), l = e.nodes.some((e) => {
|
|
527
|
+
let t = c.get(e.id);
|
|
528
|
+
return !!t && (Math.abs(t.x - e.x) > .5 || Math.abs(t.y - e.y) > .5);
|
|
529
|
+
});
|
|
530
|
+
if (!n || !l || typeof requestAnimationFrame != "function" || t()) {
|
|
531
|
+
o.current = e, a(null);
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
let u = performance.now(), d = () => {
|
|
535
|
+
let t = Math.min(1, (performance.now() - u) / P), n = 1 - (1 - t) ** 3;
|
|
536
|
+
if (t >= 1) {
|
|
537
|
+
o.current = e, a(null);
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
let r = I(i, e, n);
|
|
541
|
+
o.current = r, a(r), s.current = requestAnimationFrame(d);
|
|
542
|
+
};
|
|
543
|
+
return d(), () => cancelAnimationFrame(s.current);
|
|
544
|
+
}, [e, n]), i ?? e;
|
|
545
|
+
}
|
|
546
|
+
function mn(e, t, n, r) {
|
|
547
|
+
let i = nt(), a = rt(e), [o, s] = S(() => tt), c = b(() => r ? me(t, n) : [], [
|
|
548
|
+
r,
|
|
549
|
+
t,
|
|
550
|
+
n
|
|
551
|
+
]), l = b(() => c.map((e) => `${e.kind}:${e.text}`).join("\0"), [c]);
|
|
552
|
+
return y(() => {
|
|
553
|
+
r && s(() => _(c, e.current));
|
|
554
|
+
}, [
|
|
555
|
+
e,
|
|
556
|
+
l,
|
|
557
|
+
r,
|
|
558
|
+
i,
|
|
559
|
+
a
|
|
560
|
+
]), o;
|
|
561
|
+
}
|
|
562
|
+
var hn = {
|
|
563
|
+
width: 720,
|
|
564
|
+
height: 600
|
|
565
|
+
}, gn = .8;
|
|
566
|
+
function _n({ nodes: t, edges: s, defaultNodes: c = sn, defaultEdges: l = sn, onDataChange: u, selectable: d = !0, editable: f = !1, movable: p, history: h, portsOnly: se = !1, connectable: fe, isValidConnection: me, createEdge: ye, selection: xe, defaultSelection: De = le, current: Ze = le, onSelectionChange: $e, onAction: g, pressable: _, noun: nt, describeNode: rt, describeEdge: it, viewport: at, defaultViewport: ot, onViewportChange: st, fitPadding: T = 24, autoSize: mt, animate: ht = !1, cull: gt, minimap: E, renderNode: _t, emptyState: vt, loading: yt = !1, error: bt, controller: xt, background: Ct, panning: D, autoFocus: Et, "aria-label": Dt = "Diagram", overlay: Ot, children: kt, className: At, style: jt, ref: Mt }) {
|
|
567
|
+
let O = fe ?? f, Nt = p ?? f, k = f && !h, [A, j] = n({
|
|
568
|
+
width: 1e3,
|
|
569
|
+
height: 700
|
|
570
|
+
}), Pt = v((e) => {
|
|
571
|
+
A.current = e, typeof Mt == "function" ? Mt(e) : Mt && (Mt.current = e);
|
|
572
|
+
}, [A, Mt]), [Ft, It] = S(ot ?? null), Vt = lt().replace(/[^a-zA-Z0-9_-]/g, ""), M = `diagram-arrow-${Vt}`, Wt = `diagram-keys-${Vt}`, [N] = S(ne), Gt = t !== void 0, Kt = b(() => Gt ? {
|
|
573
|
+
nodes: t,
|
|
574
|
+
edges: s ?? sn
|
|
575
|
+
} : void 0, [
|
|
576
|
+
Gt,
|
|
577
|
+
t,
|
|
578
|
+
s
|
|
579
|
+
]), [Zt] = S(() => ({
|
|
580
|
+
nodes: c,
|
|
581
|
+
edges: l
|
|
582
|
+
})), Qt = pt(et, {
|
|
583
|
+
data: Kt,
|
|
584
|
+
defaultData: Kt ? void 0 : Zt,
|
|
585
|
+
onDataChange: u,
|
|
586
|
+
selection: xe,
|
|
587
|
+
defaultSelection: xe ? void 0 : De,
|
|
588
|
+
onSelectionChange: $e,
|
|
589
|
+
selectable: d,
|
|
590
|
+
editable: f || Nt || O,
|
|
591
|
+
undoable: k,
|
|
592
|
+
history: h,
|
|
593
|
+
isValidConnection: me,
|
|
594
|
+
createEdge: ye,
|
|
595
|
+
controller: xt
|
|
596
|
+
}), { instance: on, api: P } = Qt, dn = v((e) => on.subscribe(e), [on]), F = v(() => on.get(), [on]), fn = ut(dn, F, F), I = Kt ?? fn.data, _n = x(I);
|
|
597
|
+
_n.current = I;
|
|
598
|
+
let L = xe ?? fn.selection, vn = k && fn.past > 0, yn = k && fn.future > 0, bn = b(() => h ?? (k ? {
|
|
599
|
+
canUndo: vn,
|
|
600
|
+
canRedo: yn,
|
|
601
|
+
undo: (e) => {
|
|
602
|
+
P.undo(e);
|
|
603
|
+
},
|
|
604
|
+
redo: (e) => {
|
|
605
|
+
P.redo(e);
|
|
606
|
+
}
|
|
607
|
+
} : null), [
|
|
608
|
+
h,
|
|
609
|
+
k,
|
|
610
|
+
vn,
|
|
611
|
+
yn,
|
|
612
|
+
P
|
|
613
|
+
]), [xn, Sn] = S(null), [Cn, wn] = S([]), [Tn, En] = S(null), [R, Dn] = S(null), [On, z] = S(""), kn = v((e) => z((t) => t === e ? `${e}\u00a0` : e), []), An = x(null), jn = v(() => {
|
|
614
|
+
An.current = _n.current;
|
|
615
|
+
}, []), Mn = pn(I, ht, xn), B = xn ?? Mn, V = mn(A, B.nodes, B.edges, !!mt || B.nodes.length <= 200 || B.edges.some((e) => !e.labelBox && ve(e))), Nn = f && !!g || _ === !0, H = b(() => typeof _ == "object" ? {
|
|
616
|
+
nodes: new Set(_.nodes),
|
|
617
|
+
edges: new Set(_.edges)
|
|
618
|
+
} : null, [_]), Pn = (e) => Nn || !!H?.nodes.has(e), Fn = (e) => _ === !0 || !!H?.edges.has(e), In = Nn || !!H?.nodes.size, Ln = b(() => mt ? Oe(B.nodes, V) : B.nodes.length <= 200 ? _e(B.nodes, V) : B.nodes, [
|
|
619
|
+
mt,
|
|
620
|
+
B.nodes,
|
|
621
|
+
V
|
|
622
|
+
]), U = b(() => Ge(Ln, B.edges, V, !!xn), [
|
|
623
|
+
Ln,
|
|
624
|
+
B.edges,
|
|
625
|
+
V,
|
|
626
|
+
xn
|
|
627
|
+
]), Rn = Xe(), zn = Qe(A, { frame: !!Rn?.frame }), Bn = typeof T == "number" ? {
|
|
628
|
+
top: T,
|
|
629
|
+
right: T,
|
|
630
|
+
bottom: T,
|
|
631
|
+
left: T
|
|
632
|
+
} : {
|
|
633
|
+
top: 24,
|
|
634
|
+
right: 24,
|
|
635
|
+
bottom: 24,
|
|
636
|
+
left: 24,
|
|
637
|
+
...T
|
|
638
|
+
}, Vn = typeof E == "object" && E.side === "top" ? "top" : "bottom", Hn = (typeof E == "object" ? E.height ?? 120 : 120) + 12, Un = Vn === "bottom" ? Rn?.insets.bottom ?? 0 : 0, Wn = (e, t) => {
|
|
639
|
+
let n = t && e === Vn ? Hn + Un : 0, r = Math.max(zn.insets[e], Rn?.insets[e] ?? 0, n);
|
|
640
|
+
return r ? Math.max(Bn[e], r + 12) : Bn[e];
|
|
641
|
+
}, Gn = (e) => ({
|
|
642
|
+
top: Wn("top", e),
|
|
643
|
+
right: Wn("right", e),
|
|
644
|
+
bottom: Wn("bottom", e),
|
|
645
|
+
left: Wn("left", e)
|
|
646
|
+
}), Kn = E === "auto" ? !!U.bounds && j.width >= hn.width && j.height >= hn.height && Re(U.bounds, j, Gn(!1)).zoom < .875 * gn : !!E, qn = Gn(Kn), Jn = `${qn.top},${qn.right},${qn.bottom},${qn.left}`, W = b(() => qn, [Jn]), Yn = Rn?.frame ? He(U.bounds, j.width, W) : null, Xn = Rn?.reportContent;
|
|
647
|
+
y(() => {
|
|
648
|
+
Xn?.(Yn);
|
|
649
|
+
}, [Xn, Yn]), y(() => () => Xn?.(null), [Xn]);
|
|
650
|
+
let Zn = b(() => Ke(U, V), [U, V]), Qn = `${L.nodes.join("\0")}\0\0${L.edges.join("\0")}`, $n = `${Ze.nodes.join("\0")}\0\0${Ze.edges.join("\0")}`, er = x({
|
|
651
|
+
selection: Qn,
|
|
652
|
+
current: $n,
|
|
653
|
+
on: L.nodes.length || L.edges.length ? "selection" : "current"
|
|
654
|
+
});
|
|
655
|
+
er.current.selection !== Qn && (er.current = {
|
|
656
|
+
...er.current,
|
|
657
|
+
selection: Qn,
|
|
658
|
+
on: L.nodes.length || L.edges.length ? "selection" : "current"
|
|
659
|
+
}), er.current.current !== $n && (er.current = {
|
|
660
|
+
...er.current,
|
|
661
|
+
current: $n,
|
|
662
|
+
on: "current"
|
|
663
|
+
});
|
|
664
|
+
let tr = !(er.current.on === "selection" && (L.nodes.length || L.edges.length)), nr = tr ? Ze : L, G = b(() => Ue(U, nr, tr ? H?.edges : null, { ends: !tr }), [
|
|
665
|
+
nr,
|
|
666
|
+
tr,
|
|
667
|
+
H,
|
|
668
|
+
U
|
|
669
|
+
]), rr = qe(U.bounds, j, W), ir = b(() => G ? null : We(U), [G, U]), ar = G ?? ir, K = at ?? Ft ?? (ar ? Je(rr, ar, Zn, j, W) : rr), or = x(K);
|
|
670
|
+
or.current = K;
|
|
671
|
+
let sr = (e, t) => {
|
|
672
|
+
st?.(e, t), t.canceled || It(e);
|
|
673
|
+
};
|
|
674
|
+
ct(() => {
|
|
675
|
+
if (!An.current || An.current === I) return;
|
|
676
|
+
An.current = null;
|
|
677
|
+
let e = Ge(mt ? Oe(I.nodes, V) : I.nodes, I.edges, V).bounds;
|
|
678
|
+
N.setViewport(qe(e, j, W), { reason: "imperative" });
|
|
679
|
+
}, [
|
|
680
|
+
I,
|
|
681
|
+
mt,
|
|
682
|
+
V,
|
|
683
|
+
j,
|
|
684
|
+
W,
|
|
685
|
+
N
|
|
686
|
+
]);
|
|
687
|
+
let cr = (e) => e ? `${Math.round(e.x)},${Math.round(e.y)},${Math.round(e.w)},${Math.round(e.h)}` : "", lr = G ? `${cr(G.must)}|${cr(G.want)}|${j.width}x${j.height}|${Jn}` : null, ur = x(null);
|
|
688
|
+
ct(() => {
|
|
689
|
+
if (!lr || ur.current === lr || (ur.current = lr, !G || xn || Y.current.k !== "idle" || !at && !Ft)) return;
|
|
690
|
+
let e = or.current, t = Je(e, G, Zn, j, W);
|
|
691
|
+
t !== e && N.setViewport(t, { reason: "imperative" });
|
|
692
|
+
}, [lr, xn]);
|
|
693
|
+
let dr = x(L);
|
|
694
|
+
dr.current = L;
|
|
695
|
+
let fr = (e, t, n) => {
|
|
696
|
+
P.select(e, {
|
|
697
|
+
reason: t,
|
|
698
|
+
event: n
|
|
699
|
+
}) && (dr.current = e);
|
|
700
|
+
}, q = b(() => ({
|
|
701
|
+
nodes: new Set(L.nodes),
|
|
702
|
+
edges: new Set(L.edges)
|
|
703
|
+
}), [L]), J = b(() => ({
|
|
704
|
+
nodes: new Set(Ze.nodes),
|
|
705
|
+
edges: new Set(Ze.edges)
|
|
706
|
+
}), [Ze]), pr = (e, t, n) => P.internal.commit(e, t, n), [mr, hr] = S(null), gr = x(null), _r = (e) => {
|
|
707
|
+
gr.current && clearTimeout(gr.current), gr.current = e ? setTimeout(() => hr(null), un) : null, hr(e);
|
|
708
|
+
};
|
|
709
|
+
ct(() => () => {
|
|
710
|
+
gr.current && clearTimeout(gr.current);
|
|
711
|
+
}, []), ct(() => {
|
|
712
|
+
hr(null);
|
|
713
|
+
}, [I]);
|
|
714
|
+
let Y = x({ k: "idle" }), vr = O ? {
|
|
715
|
+
targetAt: (e) => Ae(e, U.index, K.zoom),
|
|
716
|
+
check: P.internal.check,
|
|
717
|
+
edgeEnds: (e) => {
|
|
718
|
+
let t = B.edges.find((t) => t.id === e);
|
|
719
|
+
return t ? {
|
|
720
|
+
from: {
|
|
721
|
+
node: t.from,
|
|
722
|
+
...t.fromPort ? { port: t.fromPort } : null
|
|
723
|
+
},
|
|
724
|
+
to: {
|
|
725
|
+
node: t.to,
|
|
726
|
+
...t.toPort ? { port: t.toPort } : null
|
|
727
|
+
}
|
|
728
|
+
} : null;
|
|
729
|
+
}
|
|
730
|
+
} : void 0, yr = () => ({
|
|
731
|
+
index: U.index,
|
|
732
|
+
selection: dr.current,
|
|
733
|
+
zoom: K.zoom,
|
|
734
|
+
editable: Nt,
|
|
735
|
+
connect: vr
|
|
736
|
+
}), br = (e) => U.index.byId.get(e)?.title || e, xr = x(null), Sr = (e, t) => {
|
|
737
|
+
e.type === "down" && !at && !Ft && It(K), e.type === "down" && mr && _r(null);
|
|
738
|
+
let n = Y.current, r = n.k, i = Pe(Y.current, e, yr()), a = i.gesture;
|
|
739
|
+
if (Y.current = a, i.selection && fr(i.selection, r === "marquee" ? "marquee" : "press", t), a.k === "move") {
|
|
740
|
+
let e = I;
|
|
741
|
+
Sn(Se(e.nodes, e.edges, a.ids, a.delta.x, a.delta.y, be(e.nodes))), wn(a.guides);
|
|
742
|
+
} else Sn(null), wn(cn);
|
|
743
|
+
En(a.k === "marquee" ? a.rect : null), Dn(a.k === "connect" ? a : null), z(a.k === "connect" && typeof a.valid == "string" ? `Can’t connect: ${a.valid}` : ""), i.commit && pr(Se(I.nodes, I.edges, i.commit.ids, i.commit.delta.x, i.commit.delta.y), "move", t), i.connect && P.connect(i.connect, t), n.k === "connect" && a.k !== "connect" && e.type === "up" && typeof n.valid == "string" && _r({
|
|
744
|
+
node: n.over?.node ?? null,
|
|
745
|
+
at: n.at,
|
|
746
|
+
text: n.valid
|
|
747
|
+
});
|
|
748
|
+
}, Cr = () => {
|
|
749
|
+
Y.current.k !== "idle" && Sr({ type: "cancel" });
|
|
750
|
+
}, wr = b(() => {
|
|
751
|
+
let e = [];
|
|
752
|
+
for (let t of U.index.nodes) for (let n of t.ports ?? []) e.push({
|
|
753
|
+
hit: {
|
|
754
|
+
kind: "port",
|
|
755
|
+
id: t.id,
|
|
756
|
+
port: n.id
|
|
757
|
+
},
|
|
758
|
+
at: Te(t, n).p
|
|
759
|
+
});
|
|
760
|
+
if (!O || se) return e;
|
|
761
|
+
if (L.nodes.length === 1 && !L.edges.length) {
|
|
762
|
+
let t = U.index.byId.get(L.nodes[0]);
|
|
763
|
+
if (t && !t.ports?.length && t.kind !== "root") for (let n of ce) e.push({
|
|
764
|
+
hit: {
|
|
765
|
+
kind: "port",
|
|
766
|
+
id: t.id,
|
|
767
|
+
side: n
|
|
768
|
+
},
|
|
769
|
+
at: de(t, n)
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
if (L.edges.length === 1 && !L.nodes.length) {
|
|
773
|
+
let t = U.geometries.get(L.edges[0]);
|
|
774
|
+
t && e.push({
|
|
775
|
+
hit: {
|
|
776
|
+
kind: "end",
|
|
777
|
+
id: L.edges[0],
|
|
778
|
+
end: "from"
|
|
779
|
+
},
|
|
780
|
+
at: t.start
|
|
781
|
+
}, {
|
|
782
|
+
hit: {
|
|
783
|
+
kind: "end",
|
|
784
|
+
id: L.edges[0],
|
|
785
|
+
end: "to"
|
|
786
|
+
},
|
|
787
|
+
at: t.end
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
return e;
|
|
791
|
+
}, [
|
|
792
|
+
U,
|
|
793
|
+
L,
|
|
794
|
+
O,
|
|
795
|
+
se
|
|
796
|
+
]), Tr = b(() => U.labels.map((e) => ({
|
|
797
|
+
id: e.edge.id,
|
|
798
|
+
box: e.box
|
|
799
|
+
})), [U]), Er = (e, t = !1) => je(e, {
|
|
800
|
+
index: U.index,
|
|
801
|
+
geometries: U.geometries,
|
|
802
|
+
labels: Tr,
|
|
803
|
+
handles: O ? wr : void 0,
|
|
804
|
+
selectedEdges: L.edges,
|
|
805
|
+
cycle: t
|
|
806
|
+
}, K.zoom), Dr = d || f || O ? {
|
|
807
|
+
onCanvasPointerDown: (e, { board: t, screen: n }) => {
|
|
808
|
+
let r = Er(t, !0), i = e.target, a = i?.closest?.("[data-slot=diagram-item][data-pressable]"), o = a?.closest("[data-slot=diagram-node],[data-slot=diagram-edge-label]"), s = a ? null : i?.closest?.("[data-slot=diagram-edge-label][data-pressable]");
|
|
809
|
+
xr.current = a && o ? {
|
|
810
|
+
item: {
|
|
811
|
+
kind: o.getAttribute("data-slot") === "diagram-node" ? "node" : "edge",
|
|
812
|
+
id: o.getAttribute(o.getAttribute("data-slot") === "diagram-node" ? "data-node" : "data-edge") ?? "",
|
|
813
|
+
section: a.getAttribute("data-section") ?? "",
|
|
814
|
+
item: a.getAttribute("data-item") ?? ""
|
|
815
|
+
},
|
|
816
|
+
part: "item",
|
|
817
|
+
at: {
|
|
818
|
+
x: e.clientX,
|
|
819
|
+
y: e.clientY
|
|
820
|
+
}
|
|
821
|
+
} : s ? {
|
|
822
|
+
item: {
|
|
823
|
+
kind: "edge",
|
|
824
|
+
id: s.getAttribute("data-edge") ?? ""
|
|
825
|
+
},
|
|
826
|
+
part: "label",
|
|
827
|
+
at: {
|
|
828
|
+
x: e.clientX,
|
|
829
|
+
y: e.clientY
|
|
830
|
+
}
|
|
831
|
+
} : null, Cr(), Ar(null), (r?.kind === "node" || r?.kind === "edge") && (X.current = {
|
|
832
|
+
kind: r.kind,
|
|
833
|
+
id: r.id
|
|
834
|
+
}, Nr.current = t), Sr({
|
|
835
|
+
type: "down",
|
|
836
|
+
hit: r,
|
|
837
|
+
board: t,
|
|
838
|
+
screen: n,
|
|
839
|
+
additive: e.shiftKey || e.metaKey || e.ctrlKey
|
|
840
|
+
}, e);
|
|
841
|
+
},
|
|
842
|
+
onCanvasPointerMove: (e, { board: t, screen: n }) => {
|
|
843
|
+
Y.current.k !== "idle" && Sr({
|
|
844
|
+
type: "move",
|
|
845
|
+
board: t,
|
|
846
|
+
screen: n,
|
|
847
|
+
noSnap: e.metaKey || e.ctrlKey
|
|
848
|
+
}, e);
|
|
849
|
+
},
|
|
850
|
+
onCanvasPointerUp: (e) => {
|
|
851
|
+
Sr(e.type === "pointercancel" ? { type: "cancel" } : { type: "up" }, e);
|
|
852
|
+
let t = xr.current;
|
|
853
|
+
xr.current = null, t && e.type !== "pointercancel" && Math.hypot(e.clientX - t.at.x, e.clientY - t.at.y) < 6 && g?.(t.item, {
|
|
854
|
+
reason: "press",
|
|
855
|
+
event: e,
|
|
856
|
+
part: t.part
|
|
857
|
+
});
|
|
858
|
+
},
|
|
859
|
+
onNavigationStart: Cr
|
|
860
|
+
} : {}, X = x(null), [Or, kr] = S(null), [Z, Ar] = S(null), jr = x(null), Mr = x(!1), Nr = x(null), Pr = (e) => {
|
|
861
|
+
if (e.kind === "node") return U.index.byId.get(e.id) ?? null;
|
|
862
|
+
let t = U.geometries.get(e.id);
|
|
863
|
+
if (!t) return null;
|
|
864
|
+
let n = ee(t.pts);
|
|
865
|
+
return n.w * K.zoom > j.width || n.h * K.zoom > j.height ? {
|
|
866
|
+
x: t.mid.x - 1,
|
|
867
|
+
y: t.mid.y - 1,
|
|
868
|
+
w: 2,
|
|
869
|
+
h: 2
|
|
870
|
+
} : n;
|
|
871
|
+
}, Fr = (e) => {
|
|
872
|
+
kr(e), jr.current = { item: e };
|
|
873
|
+
};
|
|
874
|
+
y(() => {
|
|
875
|
+
let e = jr.current, t = A.current;
|
|
876
|
+
if (!e || !t) return;
|
|
877
|
+
jr.current = null;
|
|
878
|
+
let { item: n } = e;
|
|
879
|
+
((n ? t.querySelector(n.kind === "node" ? `[data-slot=diagram-node][data-node="${CSS.escape(n.id)}"]` : `[data-slot=diagram-edge][data-edge="${CSS.escape(n.id)}"]`) : null) ?? t.querySelector("[data-slot=canvas]"))?.focus({ preventScroll: !0 });
|
|
880
|
+
});
|
|
881
|
+
let Ir = (e, t) => {
|
|
882
|
+
X.current = e, Ar(e);
|
|
883
|
+
let n = Pr(e);
|
|
884
|
+
if (n) {
|
|
885
|
+
Nr.current = m(n);
|
|
886
|
+
let e = Ve(K, n, j);
|
|
887
|
+
e !== K && N.setViewport(e, {
|
|
888
|
+
reason: "move-key",
|
|
889
|
+
event: t
|
|
890
|
+
});
|
|
891
|
+
}
|
|
892
|
+
if (e.item !== void 0) {
|
|
893
|
+
let t = e.kind === "node" ? U.index.byId.get(e.id) : U.edges.find((t) => t.edge.id === e.id)?.edge, n = e.kind === "node" ? br(e.id) : t?.title || "edge";
|
|
894
|
+
z(`${Ie(e, t?.sections, n)}.${In ? " Enter presses it." : ""}`);
|
|
895
|
+
}
|
|
896
|
+
Fr(e);
|
|
897
|
+
}, Lr = () => {
|
|
898
|
+
let e = dr.current;
|
|
899
|
+
if (e.nodes.length) return {
|
|
900
|
+
kind: "node",
|
|
901
|
+
id: e.nodes[0]
|
|
902
|
+
};
|
|
903
|
+
if (e.edges.length) return {
|
|
904
|
+
kind: "edge",
|
|
905
|
+
id: e.edges[0]
|
|
906
|
+
};
|
|
907
|
+
let t = ze(U.index, te(K, j.width / 2, j.height / 2));
|
|
908
|
+
return t ? {
|
|
909
|
+
kind: "node",
|
|
910
|
+
id: t
|
|
911
|
+
} : null;
|
|
912
|
+
}, Rr = (e, t) => {
|
|
913
|
+
let n = X.current, r = n && (n.kind === "node" ? U.index.byId.has(n.id) : U.geometries.has(n.id)) ? n : null, i = {
|
|
914
|
+
index: U.index,
|
|
915
|
+
edges: U.edges.map((e) => e.edge),
|
|
916
|
+
items: In
|
|
917
|
+
}, a = r ? Be(r, e, i) : e === "first" || e === "last" ? Be(null, e, i) : Lr();
|
|
918
|
+
a && Ir(a, t), a?.kind === "node" && zr({ node: a.id });
|
|
919
|
+
}, zr = (e) => {
|
|
920
|
+
let t = Y.current;
|
|
921
|
+
if (t.k !== "connect" || !t.keyboard) return;
|
|
922
|
+
let n = e ? U.index.byId.get(e.node) : null, r = Ne(t, n ? m(n) : t.at, e, yr());
|
|
923
|
+
if (Y.current = r, Dn(r), e) {
|
|
924
|
+
let t = e.port ? `, ${e.port}` : "";
|
|
925
|
+
z(r.valid === !0 ? `To ${br(e.node)}${t}. Enter connects.` : `To ${br(e.node)}${t}. Can’t connect: ${r.valid}`);
|
|
926
|
+
}
|
|
927
|
+
}, Br = (e) => {
|
|
928
|
+
let t = X.current;
|
|
929
|
+
if (!t || !O) return;
|
|
930
|
+
if (t.kind === "node") {
|
|
931
|
+
let e = U.index.byId.get(t.id);
|
|
932
|
+
if (!e || e.kind === "root") return;
|
|
933
|
+
let n = e.ports?.find((e) => e.direction !== "in")?.id;
|
|
934
|
+
if (se && !n) return;
|
|
935
|
+
let r = {
|
|
936
|
+
k: "connect",
|
|
937
|
+
fixed: {
|
|
938
|
+
node: e.id,
|
|
939
|
+
...n ? { port: n } : null
|
|
940
|
+
},
|
|
941
|
+
end: "to",
|
|
942
|
+
at: m(e),
|
|
943
|
+
over: null,
|
|
944
|
+
valid: null,
|
|
945
|
+
keyboard: !0
|
|
946
|
+
};
|
|
947
|
+
Y.current = r, Dn(r), z(`Connecting from ${br(e.id)}. Arrows choose what to connect to, P changes port, Enter connects, Escape cancels.`);
|
|
948
|
+
return;
|
|
949
|
+
}
|
|
950
|
+
if (se) return;
|
|
951
|
+
let n = vr?.edgeEnds(t.id), r = U.geometries.get(t.id);
|
|
952
|
+
if (!n || !r) return;
|
|
953
|
+
let i = {
|
|
954
|
+
k: "connect",
|
|
955
|
+
fixed: e ? n.to : n.from,
|
|
956
|
+
edge: t.id,
|
|
957
|
+
end: e ? "from" : "to",
|
|
958
|
+
at: e ? r.start : r.end,
|
|
959
|
+
over: null,
|
|
960
|
+
valid: null,
|
|
961
|
+
keyboard: !0
|
|
962
|
+
};
|
|
963
|
+
Y.current = i, Dn(i), z(`Moving this edge’s ${e ? "start" : "end"}. Arrows choose where to, P changes port, Enter moves it, Escape cancels.`);
|
|
964
|
+
}, Vr = () => {
|
|
965
|
+
let e = Y.current;
|
|
966
|
+
if (e.k !== "connect" || !e.keyboard) return;
|
|
967
|
+
if (!e.over) {
|
|
968
|
+
let t = (U.index.byId.get(e.fixed.node)?.ports ?? []).filter((e) => e.direction !== "in");
|
|
969
|
+
if (!t.length) return;
|
|
970
|
+
let n = t.findIndex((t) => t.id === e.fixed.port), r = {
|
|
971
|
+
node: e.fixed.node,
|
|
972
|
+
port: t[(n + 1) % t.length].id
|
|
973
|
+
}, i = {
|
|
974
|
+
...e,
|
|
975
|
+
fixed: r
|
|
976
|
+
};
|
|
977
|
+
Y.current = i, Dn(i), z(`From ${r.port}.`);
|
|
978
|
+
return;
|
|
979
|
+
}
|
|
980
|
+
let t = U.index.byId.get(e.over.node)?.ports ?? [];
|
|
981
|
+
if (!t.length) return;
|
|
982
|
+
let n = t.findIndex((t) => t.id === e.over.port);
|
|
983
|
+
zr({
|
|
984
|
+
node: e.over.node,
|
|
985
|
+
port: t[(n + 1) % t.length].id
|
|
986
|
+
});
|
|
987
|
+
};
|
|
988
|
+
y(() => {
|
|
989
|
+
let e = X.current;
|
|
990
|
+
if (!e || !Mr.current || (e.kind === "node" ? U.index.byId.has(e.id) : U.geometries.has(e.id))) return;
|
|
991
|
+
let t = Nr.current ? ze(U.index, Nr.current) : null, n = t ? {
|
|
992
|
+
kind: "node",
|
|
993
|
+
id: t
|
|
994
|
+
} : null;
|
|
995
|
+
X.current = n, Ar(n), Fr(n);
|
|
996
|
+
}, [U]);
|
|
997
|
+
let Hr = (e) => {
|
|
998
|
+
if (e.target?.closest?.("input, textarea, select, [contenteditable]:not([contenteditable=\"false\"])")) return;
|
|
999
|
+
mr && _r(null);
|
|
1000
|
+
let t = e.metaKey || e.ctrlKey, n = e.key.toLowerCase(), r = Y.current;
|
|
1001
|
+
if (r.k === "connect" && r.keyboard) {
|
|
1002
|
+
if (n === "p") {
|
|
1003
|
+
e.preventDefault(), Vr();
|
|
1004
|
+
return;
|
|
1005
|
+
}
|
|
1006
|
+
if (e.key === "Enter") {
|
|
1007
|
+
if (e.preventDefault(), r.over && r.valid === !0) {
|
|
1008
|
+
let t = ke(r, r.over);
|
|
1009
|
+
Y.current = { k: "idle" }, Dn(null), z(`Connected ${br(t.from)} to ${br(t.to)}.`), P.connect(t, e);
|
|
1010
|
+
} else z(r.over ? `Can’t connect: ${r.valid}` : "Choose what to connect to first.");
|
|
1011
|
+
return;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
if (n === "escape") {
|
|
1015
|
+
Y.current.k === "idle" ? X.current?.item === void 0 ? L.nodes.length || L.edges.length ? fr(le, "escape-key", e) : Fr(null) : Rr("out", e) : (Cr(), z("Cancelled."));
|
|
1016
|
+
return;
|
|
1017
|
+
}
|
|
1018
|
+
let i = e.key === "ArrowRight" || e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "ArrowUp";
|
|
1019
|
+
if (i && t) {
|
|
1020
|
+
e.preventDefault(), N.panBy(e.key === "ArrowLeft" ? 80 : e.key === "ArrowRight" ? -80 : 0, e.key === "ArrowUp" ? 80 : e.key === "ArrowDown" ? -80 : 0, {
|
|
1021
|
+
reason: "move-key",
|
|
1022
|
+
event: e
|
|
1023
|
+
});
|
|
1024
|
+
return;
|
|
1025
|
+
}
|
|
1026
|
+
if (i && e.shiftKey && Nt) {
|
|
1027
|
+
e.preventDefault();
|
|
1028
|
+
let t = dr.current.nodes, n = X.current, r = Me(U.index, t.length ? t : n?.kind === "node" ? [n.id] : []), i = e.altKey ? 1 : 8;
|
|
1029
|
+
P.moveNodes(r, e.key === "ArrowLeft" ? -i : e.key === "ArrowRight" ? i : 0, e.key === "ArrowUp" ? -i : e.key === "ArrowDown" ? i : 0, e);
|
|
1030
|
+
return;
|
|
1031
|
+
}
|
|
1032
|
+
if (i && e.altKey) {
|
|
1033
|
+
e.preventDefault(), Rr(e.key === "ArrowDown" ? "in" : e.key === "ArrowUp" ? "out" : e.key, e);
|
|
1034
|
+
return;
|
|
1035
|
+
}
|
|
1036
|
+
if (i) {
|
|
1037
|
+
e.preventDefault(), Rr(e.key, e);
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
if (e.key === "[" || e.key === "]") {
|
|
1041
|
+
e.preventDefault(), Rr(e.key === "]" ? "edge+" : "edge-", e);
|
|
1042
|
+
return;
|
|
1043
|
+
}
|
|
1044
|
+
if (e.key === "PageDown" || e.key === "PageUp") {
|
|
1045
|
+
e.preventDefault(), Rr(e.key === "PageDown" ? "next" : "previous", e);
|
|
1046
|
+
return;
|
|
1047
|
+
}
|
|
1048
|
+
if (e.key === "Home" || e.key === "End") {
|
|
1049
|
+
e.preventDefault(), Rr(e.key === "Home" ? "first" : "last", e);
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1052
|
+
if (e.key === "Enter") {
|
|
1053
|
+
let t = X.current;
|
|
1054
|
+
if (!t) {
|
|
1055
|
+
Rr("first", e);
|
|
1056
|
+
return;
|
|
1057
|
+
}
|
|
1058
|
+
if (e.preventDefault(), t.item !== void 0) {
|
|
1059
|
+
d && fr(t.kind === "node" ? {
|
|
1060
|
+
nodes: [t.id],
|
|
1061
|
+
edges: []
|
|
1062
|
+
} : {
|
|
1063
|
+
nodes: [],
|
|
1064
|
+
edges: [t.id]
|
|
1065
|
+
}, "keyboard", e), g?.(t, {
|
|
1066
|
+
reason: "enter-key",
|
|
1067
|
+
event: e
|
|
1068
|
+
});
|
|
1069
|
+
return;
|
|
1070
|
+
}
|
|
1071
|
+
if (d) {
|
|
1072
|
+
let n = dr.current, r = t.kind === "node" ? n.nodes : n.edges;
|
|
1073
|
+
e.shiftKey ? fr(t.kind === "node" ? {
|
|
1074
|
+
...n,
|
|
1075
|
+
nodes: r.includes(t.id) ? r.filter((e) => e !== t.id) : [...r, t.id]
|
|
1076
|
+
} : {
|
|
1077
|
+
...n,
|
|
1078
|
+
edges: r.includes(t.id) ? r.filter((e) => e !== t.id) : [...r, t.id]
|
|
1079
|
+
}, "keyboard", e) : fr(t.kind === "node" ? {
|
|
1080
|
+
nodes: [t.id],
|
|
1081
|
+
edges: []
|
|
1082
|
+
} : {
|
|
1083
|
+
nodes: [],
|
|
1084
|
+
edges: [t.id]
|
|
1085
|
+
}, "keyboard", e);
|
|
1086
|
+
}
|
|
1087
|
+
e.shiftKey || g?.(t, {
|
|
1088
|
+
reason: "enter-key",
|
|
1089
|
+
event: e
|
|
1090
|
+
});
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1093
|
+
if (n === "c" && !t && O && r.k === "idle") {
|
|
1094
|
+
e.preventDefault(), Br(e.shiftKey);
|
|
1095
|
+
return;
|
|
1096
|
+
}
|
|
1097
|
+
if (t && n === "a" && d) {
|
|
1098
|
+
e.preventDefault(), P.selectAll();
|
|
1099
|
+
return;
|
|
1100
|
+
}
|
|
1101
|
+
if (f && (n === "delete" || n === "backspace")) {
|
|
1102
|
+
e.preventDefault(), Cr();
|
|
1103
|
+
let t = dr.current;
|
|
1104
|
+
if (!t.nodes.length && !t.edges.length && X.current) {
|
|
1105
|
+
let e = X.current;
|
|
1106
|
+
t = e.kind === "node" ? {
|
|
1107
|
+
nodes: [e.id],
|
|
1108
|
+
edges: []
|
|
1109
|
+
} : {
|
|
1110
|
+
nodes: [],
|
|
1111
|
+
edges: [e.id]
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
P.internal.remove(t, e) && z("Deleted.");
|
|
1115
|
+
}
|
|
1116
|
+
}, Ur = gt ?? U.index.nodes.length + U.edges.length > nn, Wr = x(null);
|
|
1117
|
+
Wr.current = Ur ? Ee(Wr.current, {
|
|
1118
|
+
x: -K.x / K.zoom,
|
|
1119
|
+
y: -K.y / K.zoom,
|
|
1120
|
+
w: j.width / K.zoom,
|
|
1121
|
+
h: j.height / K.zoom
|
|
1122
|
+
}) : null;
|
|
1123
|
+
let Q = Wr.current, $ = b(() => Q ? rn(U, Q, Or) : U, [
|
|
1124
|
+
U,
|
|
1125
|
+
Q,
|
|
1126
|
+
Or
|
|
1127
|
+
]), Gr = (e) => /* @__PURE__ */ C(Ht, {
|
|
1128
|
+
node: e,
|
|
1129
|
+
selected: q.nodes.has(e.id),
|
|
1130
|
+
selectable: d,
|
|
1131
|
+
current: J.nodes.has(e.id),
|
|
1132
|
+
pressable: Pn(e.id),
|
|
1133
|
+
focusedItem: Z?.kind === "node" && Z.id === e.id && Z.item !== void 0 ? `${Z.section}\0${Z.item}` : void 0,
|
|
1134
|
+
renderNode: _t,
|
|
1135
|
+
label: rt?.(e) ?? Le(e, U.index, U.edgesAt.get(e.id), nt)
|
|
1136
|
+
}, e.id), Kr = b(() => $.containers.map(Gr), [
|
|
1137
|
+
$.containers,
|
|
1138
|
+
q.nodes,
|
|
1139
|
+
J.nodes,
|
|
1140
|
+
d,
|
|
1141
|
+
Nn,
|
|
1142
|
+
H,
|
|
1143
|
+
Z,
|
|
1144
|
+
_t,
|
|
1145
|
+
rt,
|
|
1146
|
+
nt,
|
|
1147
|
+
U.edgesAt
|
|
1148
|
+
]), qr = b(() => $.leaves.map(Gr), [
|
|
1149
|
+
$.leaves,
|
|
1150
|
+
q.nodes,
|
|
1151
|
+
J.nodes,
|
|
1152
|
+
d,
|
|
1153
|
+
Nn,
|
|
1154
|
+
H,
|
|
1155
|
+
Z,
|
|
1156
|
+
_t,
|
|
1157
|
+
rt,
|
|
1158
|
+
nt,
|
|
1159
|
+
U.edgesAt
|
|
1160
|
+
]), Jr = b(() => /* @__PURE__ */ w(dt, { children: [
|
|
1161
|
+
/* @__PURE__ */ w("defs", { children: [
|
|
1162
|
+
/* @__PURE__ */ C(Jt, {
|
|
1163
|
+
id: M,
|
|
1164
|
+
className: "fill-muted-foreground"
|
|
1165
|
+
}),
|
|
1166
|
+
/* @__PURE__ */ C(Jt, {
|
|
1167
|
+
id: `${M}-strong`,
|
|
1168
|
+
className: "fill-foreground"
|
|
1169
|
+
}),
|
|
1170
|
+
/* @__PURE__ */ C(Jt, {
|
|
1171
|
+
id: `${M}-selected`,
|
|
1172
|
+
className: "fill-primary"
|
|
1173
|
+
}),
|
|
1174
|
+
/* @__PURE__ */ C(Jt, {
|
|
1175
|
+
id: `${M}-problem`,
|
|
1176
|
+
className: "fill-destructive"
|
|
1177
|
+
}),
|
|
1178
|
+
/* @__PURE__ */ C(Yt, {
|
|
1179
|
+
id: `${M}-origin`,
|
|
1180
|
+
className: "fill-muted-foreground"
|
|
1181
|
+
}),
|
|
1182
|
+
/* @__PURE__ */ C(Yt, {
|
|
1183
|
+
id: `${M}-origin-strong`,
|
|
1184
|
+
className: "fill-foreground"
|
|
1185
|
+
}),
|
|
1186
|
+
/* @__PURE__ */ C(Yt, {
|
|
1187
|
+
id: `${M}-origin-selected`,
|
|
1188
|
+
className: "fill-primary"
|
|
1189
|
+
}),
|
|
1190
|
+
/* @__PURE__ */ C(Yt, {
|
|
1191
|
+
id: `${M}-origin-problem`,
|
|
1192
|
+
className: "fill-destructive"
|
|
1193
|
+
})
|
|
1194
|
+
] }),
|
|
1195
|
+
$.dividers.map((e) => /* @__PURE__ */ C("line", {
|
|
1196
|
+
"data-slot": "diagram-divider",
|
|
1197
|
+
"aria-hidden": "true",
|
|
1198
|
+
x1: e.x1,
|
|
1199
|
+
y1: e.y1,
|
|
1200
|
+
x2: e.x2,
|
|
1201
|
+
y2: e.y2,
|
|
1202
|
+
className: "stroke-border [stroke-dasharray:calc(6px/var(--diagram-z))_calc(4px/var(--diagram-z))] [stroke-width:calc(1px/var(--diagram-z))]"
|
|
1203
|
+
}, e.id)),
|
|
1204
|
+
$.edges.map(({ edge: e, d: t }) => /* @__PURE__ */ C(Ut, {
|
|
1205
|
+
edge: e,
|
|
1206
|
+
d: t,
|
|
1207
|
+
arrow: M,
|
|
1208
|
+
origin: U.origins.has(e.id),
|
|
1209
|
+
selected: q.edges.has(e.id),
|
|
1210
|
+
selectable: d,
|
|
1211
|
+
current: J.edges.has(e.id),
|
|
1212
|
+
label: it?.(e) ?? Fe(e, U.index)
|
|
1213
|
+
}, e.id))
|
|
1214
|
+
] }), [
|
|
1215
|
+
$.dividers,
|
|
1216
|
+
$.edges,
|
|
1217
|
+
M,
|
|
1218
|
+
q.edges,
|
|
1219
|
+
J.edges,
|
|
1220
|
+
d,
|
|
1221
|
+
it,
|
|
1222
|
+
U.index,
|
|
1223
|
+
U.origins
|
|
1224
|
+
]), Yr = b(() => $.labels.map(({ edge: e, box: t }) => {
|
|
1225
|
+
let n = Z?.kind === "edge" && Z.id === e.id ? Z : null;
|
|
1226
|
+
return /* @__PURE__ */ C(qt, {
|
|
1227
|
+
edge: e,
|
|
1228
|
+
box: t,
|
|
1229
|
+
selected: q.edges.has(e.id),
|
|
1230
|
+
current: J.edges.has(e.id),
|
|
1231
|
+
pressable: Nn,
|
|
1232
|
+
pressableLabel: Fn(e.id),
|
|
1233
|
+
focused: !!n && n.item === void 0,
|
|
1234
|
+
focusedItem: n && n.item !== void 0 ? `${n.section}\0${n.item}` : void 0
|
|
1235
|
+
}, e.id);
|
|
1236
|
+
}), [
|
|
1237
|
+
$.labels,
|
|
1238
|
+
q.edges,
|
|
1239
|
+
J.edges,
|
|
1240
|
+
Nn,
|
|
1241
|
+
_,
|
|
1242
|
+
H,
|
|
1243
|
+
Z
|
|
1244
|
+
]), Xr = b(() => {
|
|
1245
|
+
let t = $.containers.concat($.leaves), n = t.filter((e) => J.nodes.has(e.id)).map((t) => /* @__PURE__ */ C("span", {
|
|
1246
|
+
"data-slot": "diagram-current",
|
|
1247
|
+
"data-current-of": t.id,
|
|
1248
|
+
"aria-hidden": "true",
|
|
1249
|
+
className: e("absolute", Bt(t), St(t) ? Rt : Lt),
|
|
1250
|
+
style: {
|
|
1251
|
+
left: t.x,
|
|
1252
|
+
top: t.y,
|
|
1253
|
+
width: t.w,
|
|
1254
|
+
height: t.h
|
|
1255
|
+
}
|
|
1256
|
+
}, `current:${t.id}`)), r = (e) => Z?.kind === "node" && Z.id === e.id && Z.item === void 0, i = t.filter((e) => q.nodes.has(e.id) || r(e));
|
|
1257
|
+
return n.concat(i.map((t) => /* @__PURE__ */ C("span", {
|
|
1258
|
+
"data-slot": "diagram-ring",
|
|
1259
|
+
"data-ring-of": t.id,
|
|
1260
|
+
"data-focused": r(t) ? "" : void 0,
|
|
1261
|
+
"data-selected": q.nodes.has(t.id) ? "" : void 0,
|
|
1262
|
+
"aria-hidden": "true",
|
|
1263
|
+
className: e("absolute", Bt(t), zt(St(t), q.nodes.has(t.id), r(t))),
|
|
1264
|
+
style: {
|
|
1265
|
+
left: t.x,
|
|
1266
|
+
top: t.y,
|
|
1267
|
+
width: t.w,
|
|
1268
|
+
height: t.h
|
|
1269
|
+
}
|
|
1270
|
+
}, t.id)));
|
|
1271
|
+
}, [
|
|
1272
|
+
$.containers,
|
|
1273
|
+
$.leaves,
|
|
1274
|
+
q.nodes,
|
|
1275
|
+
J.nodes,
|
|
1276
|
+
Z
|
|
1277
|
+
]), Zr = Z?.kind === "edge" && Z.item === void 0 ? U.edges.find((e) => e.edge.id === Z.id)?.d ?? null : null, Qr = b(() => Kn ? Ln.filter((e) => e.kind !== "root").map((e) => ({
|
|
1278
|
+
id: e.id,
|
|
1279
|
+
x: e.x,
|
|
1280
|
+
y: e.y,
|
|
1281
|
+
w: e.w,
|
|
1282
|
+
h: e.h
|
|
1283
|
+
})) : [], [Kn, Ln]), $r = K.zoom < wt ? "far" : K.zoom < Tt ? "mid" : "near", ei = 2 ** (Math.round(Math.log2(K.zoom) * 8) / 8), ti = b(() => wr.length ? /* @__PURE__ */ C("div", {
|
|
1284
|
+
"data-slot": "diagram-ports",
|
|
1285
|
+
className: "pointer-events-none absolute top-0 left-0",
|
|
1286
|
+
style: { "--diagram-z": K.zoom },
|
|
1287
|
+
children: (Q ? wr.filter((e) => e.at.x >= Q.x && e.at.x <= Q.x + Q.w && e.at.y >= Q.y && e.at.y <= Q.y + Q.h) : wr).map((e) => e.hit.kind === "end" ? /* @__PURE__ */ C("span", {
|
|
1288
|
+
"data-slot": "diagram-edge-end",
|
|
1289
|
+
"data-end": e.hit.end,
|
|
1290
|
+
"aria-hidden": "true",
|
|
1291
|
+
className: en,
|
|
1292
|
+
style: {
|
|
1293
|
+
left: e.at.x,
|
|
1294
|
+
top: e.at.y
|
|
1295
|
+
}
|
|
1296
|
+
}, `end:${e.hit.end}`) : e.hit.kind === "port" ? /* @__PURE__ */ C($t, {
|
|
1297
|
+
at: e.at,
|
|
1298
|
+
node: e.hit.id,
|
|
1299
|
+
port: e.hit.port,
|
|
1300
|
+
side: e.hit.side,
|
|
1301
|
+
active: O
|
|
1302
|
+
}, `${e.hit.id}/${e.hit.port ?? e.hit.side}`) : null)
|
|
1303
|
+
}) : null, [
|
|
1304
|
+
wr,
|
|
1305
|
+
O,
|
|
1306
|
+
K.zoom,
|
|
1307
|
+
Q
|
|
1308
|
+
]), ni = v((e) => we(e, V).top, [V]), ri = v((e) => e.nodes.filter((e) => e.kind === "root").map((e) => ({
|
|
1309
|
+
x: e.x,
|
|
1310
|
+
y: e.y,
|
|
1311
|
+
w: e.w,
|
|
1312
|
+
h: Math.min(e.h, we(e, V).top)
|
|
1313
|
+
})), [V]), ii = b(() => {
|
|
1314
|
+
if (!R) return null;
|
|
1315
|
+
let t = U.index, n = t.byId.get(R.fixed.node);
|
|
1316
|
+
if (!n) return null;
|
|
1317
|
+
let r = R.over ? ke(R, R.over) : null, i = null;
|
|
1318
|
+
if (r) i = he([{
|
|
1319
|
+
id: "connecting",
|
|
1320
|
+
from: r.from,
|
|
1321
|
+
fromPort: r.fromPort,
|
|
1322
|
+
to: r.to,
|
|
1323
|
+
toPort: r.toPort
|
|
1324
|
+
}], t, {
|
|
1325
|
+
avoid: !0,
|
|
1326
|
+
headOf: ni,
|
|
1327
|
+
also: [...U.labels.map((e) => e.box), ...ri(t)]
|
|
1328
|
+
}).get("connecting") ?? ge({
|
|
1329
|
+
id: "connecting",
|
|
1330
|
+
from: r.from,
|
|
1331
|
+
fromPort: r.fromPort,
|
|
1332
|
+
to: r.to,
|
|
1333
|
+
toPort: r.toPort
|
|
1334
|
+
}, t);
|
|
1335
|
+
else {
|
|
1336
|
+
let e = R.fixed.port ? n.ports?.find((e) => e.id === R.fixed.port) : void 0, t = R.side ?? Ce(n, R.at).side, r = e ? Te(n, e) : {
|
|
1337
|
+
p: de(n, t),
|
|
1338
|
+
n: ue(n, t)
|
|
1339
|
+
}, a = {
|
|
1340
|
+
p: R.at,
|
|
1341
|
+
n: null
|
|
1342
|
+
};
|
|
1343
|
+
i = R.end === "to" ? pe("elbow", r, a) : pe("elbow", a, r);
|
|
1344
|
+
}
|
|
1345
|
+
let a = R.over ? t.byId.get(R.over.node) : null, o = R.over?.port && a ? a.ports?.find((e) => e.id === R.over.port) : void 0, s = R.valid === null || R.valid === !0;
|
|
1346
|
+
return /* @__PURE__ */ w("div", {
|
|
1347
|
+
className: "pointer-events-none absolute top-0 left-0",
|
|
1348
|
+
style: { "--diagram-z": K.zoom },
|
|
1349
|
+
children: [i ? /* @__PURE__ */ C(tn, {
|
|
1350
|
+
d: i.d,
|
|
1351
|
+
valid: s
|
|
1352
|
+
}) : null, o && a ? /* @__PURE__ */ C("span", {
|
|
1353
|
+
"data-slot": "diagram-connection-target",
|
|
1354
|
+
"data-valid": s,
|
|
1355
|
+
"aria-hidden": "true",
|
|
1356
|
+
className: e(Xt, "size-[calc(16px/var(--diagram-z))]", s ? "bg-primary/40" : "bg-destructive/40"),
|
|
1357
|
+
style: {
|
|
1358
|
+
left: Te(a, o).p.x,
|
|
1359
|
+
top: Te(a, o).p.y
|
|
1360
|
+
}
|
|
1361
|
+
}) : a ? /* @__PURE__ */ C("span", {
|
|
1362
|
+
"data-slot": "diagram-connection-target",
|
|
1363
|
+
"data-valid": s,
|
|
1364
|
+
"aria-hidden": "true",
|
|
1365
|
+
className: e("absolute rounded-ctl", s ? "[box-shadow:0_0_0_calc(3px/var(--diagram-z))_var(--primary)]" : "[box-shadow:0_0_0_calc(3px/var(--diagram-z))_var(--destructive)]"),
|
|
1366
|
+
style: {
|
|
1367
|
+
left: a.x,
|
|
1368
|
+
top: a.y,
|
|
1369
|
+
width: a.w,
|
|
1370
|
+
height: a.h
|
|
1371
|
+
}
|
|
1372
|
+
}) : null]
|
|
1373
|
+
});
|
|
1374
|
+
}, [
|
|
1375
|
+
R,
|
|
1376
|
+
U,
|
|
1377
|
+
K.zoom,
|
|
1378
|
+
ni,
|
|
1379
|
+
ri
|
|
1380
|
+
]), ai = (() => {
|
|
1381
|
+
let e = R && typeof R.valid == "string" ? {
|
|
1382
|
+
node: R.over?.node ?? null,
|
|
1383
|
+
at: R.at,
|
|
1384
|
+
text: R.valid
|
|
1385
|
+
} : mr;
|
|
1386
|
+
if (!e) return null;
|
|
1387
|
+
let t = e.node ? U.index.byId.get(e.node) : null, n = K.zoom, i = (e) => ({
|
|
1388
|
+
x: e.x * n + K.x,
|
|
1389
|
+
y: e.y * n + K.y,
|
|
1390
|
+
w: e.w * n,
|
|
1391
|
+
h: e.h * n
|
|
1392
|
+
}), a = tt(e.text, "item").w * 1.15, o = Math.min(ln, a + 40), s = Math.ceil(a / 216) * 17 + 12, c = t ? i(t) : {
|
|
1393
|
+
x: e.at.x * n + K.x,
|
|
1394
|
+
y: e.at.y * n + K.y,
|
|
1395
|
+
w: 0,
|
|
1396
|
+
h: 0
|
|
1397
|
+
}, l = [
|
|
1398
|
+
{
|
|
1399
|
+
x: c.x + c.w / 2 - o / 2,
|
|
1400
|
+
y: c.y - 8 - s,
|
|
1401
|
+
w: o,
|
|
1402
|
+
h: s
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
x: c.x + c.w / 2 - o / 2,
|
|
1406
|
+
y: c.y + c.h + 8,
|
|
1407
|
+
w: o,
|
|
1408
|
+
h: s
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
x: c.x + c.w + 8,
|
|
1412
|
+
y: c.y + c.h / 2 - s / 2,
|
|
1413
|
+
w: o,
|
|
1414
|
+
h: s
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
x: c.x - 8 - o,
|
|
1418
|
+
y: c.y + c.h / 2 - s / 2,
|
|
1419
|
+
w: o,
|
|
1420
|
+
h: s
|
|
1421
|
+
}
|
|
1422
|
+
], u = U.leaves.filter((t) => t.id !== e.node && t.kind !== "marker").map(i), d = (e) => e.y >= Math.max(8, zn.insets.top + 4) && e.x >= 8 && e.x + e.w <= j.width - 8 && e.y + e.h <= j.height - 8, f = (e) => u.reduce((t, n) => t + Math.max(0, Math.min(e.x + e.w, n.x + n.w) - Math.max(e.x, n.x)) * Math.max(0, Math.min(e.y + e.h, n.y + n.h) - Math.max(e.y, n.y)), 0), p = l.find((e) => d(e) && f(e) === 0) ?? [...l].sort((e, t) => Number(!d(e)) - Number(!d(t)) || f(e) - f(t))[0], m = l.indexOf(p), h = m < 2 ? Math.min(Math.max(p.x, 8), Math.max(8, j.width - o - 8)) : m === 2 ? c.x + c.w + 8 : c.x - 8, ee = m === 0 ? c.y - 8 : m === 1 ? c.y + c.h + 8 : c.y + c.h / 2;
|
|
1423
|
+
return /* @__PURE__ */ w("div", {
|
|
1424
|
+
"data-slot": "diagram-refusal",
|
|
1425
|
+
"aria-hidden": "true",
|
|
1426
|
+
className: "pointer-events-none absolute z-20 box-border flex w-max max-w-64 items-start gap-1.5 rounded-ctl bg-foreground px-2.5 py-1.5 text-footnote leading-[17px] font-medium text-background shadow-tooltip",
|
|
1427
|
+
style: {
|
|
1428
|
+
left: h,
|
|
1429
|
+
top: ee,
|
|
1430
|
+
transform: m === 0 ? "translateY(-100%)" : m === 2 ? "translateY(-50%)" : m === 3 ? "translate(-100%, -50%)" : void 0
|
|
1431
|
+
},
|
|
1432
|
+
children: [/* @__PURE__ */ C(r, {
|
|
1433
|
+
name: "nosign",
|
|
1434
|
+
size: 14,
|
|
1435
|
+
className: "mt-0.5 shrink-0"
|
|
1436
|
+
}), /* @__PURE__ */ C("span", { children: e.text })]
|
|
1437
|
+
});
|
|
1438
|
+
})(), oi = b(() => ({
|
|
1439
|
+
getData: P.getData,
|
|
1440
|
+
getSelection: P.getSelection,
|
|
1441
|
+
select: P.select,
|
|
1442
|
+
selectAll: P.selectAll,
|
|
1443
|
+
clearSelection: P.clearSelection,
|
|
1444
|
+
deleteSelection: P.deleteSelection,
|
|
1445
|
+
moveNodes: P.moveNodes,
|
|
1446
|
+
connect: P.connect,
|
|
1447
|
+
undo: P.undo,
|
|
1448
|
+
redo: P.redo,
|
|
1449
|
+
canUndo: P.canUndo,
|
|
1450
|
+
canRedo: P.canRedo
|
|
1451
|
+
}), [P]), si = b(() => ({
|
|
1452
|
+
diagram: oi,
|
|
1453
|
+
canvas: N,
|
|
1454
|
+
history: bn,
|
|
1455
|
+
zoom: K.zoom,
|
|
1456
|
+
announce: kn,
|
|
1457
|
+
reframe: jn
|
|
1458
|
+
}), [
|
|
1459
|
+
oi,
|
|
1460
|
+
N,
|
|
1461
|
+
bn,
|
|
1462
|
+
K.zoom,
|
|
1463
|
+
kn,
|
|
1464
|
+
jn
|
|
1465
|
+
]), ci = !yt && !bt && !U.index.nodes.length, [li, ui] = S(!1);
|
|
1466
|
+
ct(() => {
|
|
1467
|
+
ui(void 0);
|
|
1468
|
+
}, []);
|
|
1469
|
+
let di = [
|
|
1470
|
+
"Arrows move between nodes and along edges; [ and ] step through a node’s edges; Page Up and Page Down go through everything; Enter selects and opens",
|
|
1471
|
+
O ? "; C connects from what has focus, Shift+C moves an edge’s start" : "",
|
|
1472
|
+
Nt ? "; Shift and an arrow moves it" : "",
|
|
1473
|
+
f ? "; Delete deletes" : "",
|
|
1474
|
+
bn ? `; ${i("mod+z", li)} undoes and ${i("mod+shift+z", li)} redoes` : "",
|
|
1475
|
+
`. Plus and minus zoom, ${i("mod+0", li)} fits.`
|
|
1476
|
+
].join(""), fi = (e) => {
|
|
1477
|
+
let t = A.current?.querySelector("[data-slot=canvas]");
|
|
1478
|
+
return !!t && e instanceof Node && t.contains(e);
|
|
1479
|
+
};
|
|
1480
|
+
return ft(Qt, "root", {}, {
|
|
1481
|
+
ref: Pt,
|
|
1482
|
+
"aria-label": Dt,
|
|
1483
|
+
className: e("absolute inset-0", At),
|
|
1484
|
+
style: jt,
|
|
1485
|
+
onKeyDownCapture: (e) => {
|
|
1486
|
+
e.key === " " && Cr();
|
|
1487
|
+
},
|
|
1488
|
+
onKeyDown: (e) => {
|
|
1489
|
+
if (!bn || e.defaultPrevented || !(e.metaKey || e.ctrlKey) || e.altKey || e.target?.closest?.("input, textarea, select, [contenteditable]:not([contenteditable=\"false\"])")) return;
|
|
1490
|
+
let t = e.key.toLowerCase();
|
|
1491
|
+
(t === "z" || t === "y") && (e.preventDefault(), Cr(), t === "y" || e.shiftKey ? bn.redo(e.nativeEvent) : bn.undo(e.nativeEvent));
|
|
1492
|
+
},
|
|
1493
|
+
onLostPointerCapture: Cr,
|
|
1494
|
+
onPointerDownCapture: () => {
|
|
1495
|
+
mr && _r(null);
|
|
1496
|
+
},
|
|
1497
|
+
onFocus: (e) => {
|
|
1498
|
+
Mr.current = fi(e.target);
|
|
1499
|
+
},
|
|
1500
|
+
onBlur: (e) => {
|
|
1501
|
+
fi(e.relatedTarget) || (Mr.current = !1, Ar(null));
|
|
1502
|
+
},
|
|
1503
|
+
children: /* @__PURE__ */ C(an.Provider, {
|
|
1504
|
+
value: si,
|
|
1505
|
+
children: /* @__PURE__ */ w(Ye, {
|
|
1506
|
+
value: zn,
|
|
1507
|
+
children: [
|
|
1508
|
+
/* @__PURE__ */ w(re, {
|
|
1509
|
+
viewport: K,
|
|
1510
|
+
onViewportChange: (e, t) => {
|
|
1511
|
+
if (t.reason === "focus-in") {
|
|
1512
|
+
t.cancel();
|
|
1513
|
+
return;
|
|
1514
|
+
}
|
|
1515
|
+
sr(e, t);
|
|
1516
|
+
},
|
|
1517
|
+
controller: N,
|
|
1518
|
+
fit: U.bounds,
|
|
1519
|
+
fitPadding: W,
|
|
1520
|
+
zoomVariable: !1,
|
|
1521
|
+
background: Ct,
|
|
1522
|
+
panning: D,
|
|
1523
|
+
autoFocus: Et,
|
|
1524
|
+
"aria-label": `${Dt} board`,
|
|
1525
|
+
"aria-describedby": Wt,
|
|
1526
|
+
onCanvasKeyDown: Hr,
|
|
1527
|
+
onCanvasDoubleClick: g ? (e, { board: t }) => {
|
|
1528
|
+
let n = Er(t);
|
|
1529
|
+
(n?.kind === "node" || n?.kind === "edge") && g({
|
|
1530
|
+
kind: n.kind,
|
|
1531
|
+
id: n.id
|
|
1532
|
+
}, {
|
|
1533
|
+
reason: "double-click",
|
|
1534
|
+
event: e
|
|
1535
|
+
});
|
|
1536
|
+
} : void 0,
|
|
1537
|
+
...Dr,
|
|
1538
|
+
overlay: Kn ? /* @__PURE__ */ C(oe, {
|
|
1539
|
+
items: Qr,
|
|
1540
|
+
...typeof E == "object" ? E : null,
|
|
1541
|
+
...Un ? { style: {
|
|
1542
|
+
bottom: Un + 8,
|
|
1543
|
+
...typeof E == "object" ? E.style : null
|
|
1544
|
+
} } : null
|
|
1545
|
+
}) : null,
|
|
1546
|
+
children: [
|
|
1547
|
+
/* @__PURE__ */ w("div", {
|
|
1548
|
+
"data-slot": "diagram-layer",
|
|
1549
|
+
"data-zoom": $r,
|
|
1550
|
+
className: "group/diagram pointer-events-none absolute top-0 left-0",
|
|
1551
|
+
children: [
|
|
1552
|
+
Kr,
|
|
1553
|
+
Zr ? /* @__PURE__ */ C("svg", {
|
|
1554
|
+
"data-slot": "diagram-edge-focus",
|
|
1555
|
+
"aria-hidden": "true",
|
|
1556
|
+
className: "absolute top-0 left-0 overflow-visible",
|
|
1557
|
+
width: 1,
|
|
1558
|
+
height: 1,
|
|
1559
|
+
style: { "--diagram-z": ei },
|
|
1560
|
+
children: /* @__PURE__ */ C("path", {
|
|
1561
|
+
d: Zr,
|
|
1562
|
+
className: "fill-none stroke-ring/35 [stroke-width:calc(9px/var(--diagram-z))] [stroke-linecap:round] [stroke-linejoin:round]"
|
|
1563
|
+
})
|
|
1564
|
+
}) : null,
|
|
1565
|
+
/* @__PURE__ */ C("svg", {
|
|
1566
|
+
"data-slot": "diagram-edges",
|
|
1567
|
+
role: "group",
|
|
1568
|
+
"aria-label": "Edges",
|
|
1569
|
+
className: "absolute top-0 left-0 overflow-visible",
|
|
1570
|
+
width: 1,
|
|
1571
|
+
height: 1,
|
|
1572
|
+
style: { "--diagram-z": ei },
|
|
1573
|
+
children: Jr
|
|
1574
|
+
}),
|
|
1575
|
+
qr,
|
|
1576
|
+
Yr,
|
|
1577
|
+
Xr.length ? /* @__PURE__ */ C("div", {
|
|
1578
|
+
"data-slot": "diagram-rings",
|
|
1579
|
+
className: "absolute top-0 left-0",
|
|
1580
|
+
style: { "--diagram-z": ei },
|
|
1581
|
+
children: Xr
|
|
1582
|
+
}) : null
|
|
1583
|
+
]
|
|
1584
|
+
}),
|
|
1585
|
+
ti,
|
|
1586
|
+
ii,
|
|
1587
|
+
/* @__PURE__ */ w("div", {
|
|
1588
|
+
"data-part": "board-parts",
|
|
1589
|
+
className: "absolute top-0 left-0",
|
|
1590
|
+
style: { "--canvas-zoom": ei },
|
|
1591
|
+
children: [
|
|
1592
|
+
Cn.length ? /* @__PURE__ */ C(ie, { guides: Cn }) : null,
|
|
1593
|
+
Tn ? /* @__PURE__ */ C(ae, { rect: Tn }) : null,
|
|
1594
|
+
kt
|
|
1595
|
+
]
|
|
1596
|
+
})
|
|
1597
|
+
]
|
|
1598
|
+
}),
|
|
1599
|
+
/* @__PURE__ */ w("div", {
|
|
1600
|
+
"data-slot": "diagram-overlay",
|
|
1601
|
+
className: "pointer-events-none absolute inset-0 z-10 *:pointer-events-auto",
|
|
1602
|
+
children: [
|
|
1603
|
+
yt ? /* @__PURE__ */ w("div", {
|
|
1604
|
+
"data-slot": "diagram-loading",
|
|
1605
|
+
role: "status",
|
|
1606
|
+
className: "absolute start-3 top-3 flex items-center gap-2 rounded-ctl bg-popover px-3 py-2 text-footnote text-popover-foreground shadow-hairline",
|
|
1607
|
+
children: [/* @__PURE__ */ C(a, { size: 14 }), "Laying out…"]
|
|
1608
|
+
}) : null,
|
|
1609
|
+
bt ? /* @__PURE__ */ C("div", {
|
|
1610
|
+
"data-slot": "diagram-error",
|
|
1611
|
+
role: "alert",
|
|
1612
|
+
className: "pointer-events-auto absolute inset-x-3 rounded-ctl bg-popover p-3 text-footnote text-destructive shadow-raised",
|
|
1613
|
+
style: { top: Math.max(12, zn.insets.top + 8) },
|
|
1614
|
+
children: bt
|
|
1615
|
+
}) : null,
|
|
1616
|
+
ci ? /* @__PURE__ */ C("div", {
|
|
1617
|
+
"data-slot": "diagram-empty",
|
|
1618
|
+
className: "absolute inset-0 grid place-items-center p-6 *:pointer-events-auto",
|
|
1619
|
+
children: o(vt, {
|
|
1620
|
+
icon: /* @__PURE__ */ C(r, {
|
|
1621
|
+
name: "grid-fill",
|
|
1622
|
+
size: 28
|
|
1623
|
+
}),
|
|
1624
|
+
title: "Nothing here yet",
|
|
1625
|
+
description: f ? "Add a node to start." : void 0
|
|
1626
|
+
})
|
|
1627
|
+
}) : null,
|
|
1628
|
+
Ot
|
|
1629
|
+
]
|
|
1630
|
+
}),
|
|
1631
|
+
/* @__PURE__ */ C("p", {
|
|
1632
|
+
id: Wt,
|
|
1633
|
+
"data-slot": "diagram-keys",
|
|
1634
|
+
hidden: !0,
|
|
1635
|
+
children: di
|
|
1636
|
+
}),
|
|
1637
|
+
ai,
|
|
1638
|
+
/* @__PURE__ */ C("div", {
|
|
1639
|
+
"data-slot": "diagram-status",
|
|
1640
|
+
role: "status",
|
|
1641
|
+
className: "sr-only",
|
|
1642
|
+
children: On
|
|
1643
|
+
})
|
|
1644
|
+
]
|
|
1645
|
+
})
|
|
1646
|
+
})
|
|
1647
|
+
}, "div");
|
|
1648
|
+
}
|
|
1649
|
+
function L({ label: e, shortcut: t, icon: n, disabled: i, onClick: a }) {
|
|
1650
|
+
return /* @__PURE__ */ w(u, {
|
|
1651
|
+
type: "label",
|
|
1652
|
+
shortcut: t,
|
|
1653
|
+
children: [/* @__PURE__ */ C(p, {
|
|
1654
|
+
render: /* @__PURE__ */ C(c, {
|
|
1655
|
+
"data-action": e.toLowerCase().replace(/ /g, "-"),
|
|
1656
|
+
"aria-label": e,
|
|
1657
|
+
size: "icon-sm",
|
|
1658
|
+
disabled: i,
|
|
1659
|
+
onClick: (e) => a(e.nativeEvent)
|
|
1660
|
+
}),
|
|
1661
|
+
children: /* @__PURE__ */ C(r, {
|
|
1662
|
+
name: n,
|
|
1663
|
+
size: 16
|
|
1664
|
+
})
|
|
1665
|
+
}), /* @__PURE__ */ w(d, { children: [e, /* @__PURE__ */ C(f, {})] })]
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1668
|
+
function vn({ side: t, align: n = "start", variant: r = "floating", size: i = "sm", className: a, children: o, "aria-label": c = "Diagram tools", ref: u, ...d }) {
|
|
1669
|
+
let { canvas: f, history: p } = on(), m = Xe(), h = t ?? (m?.frame ? "top" : "bottom"), ee = x(null);
|
|
1670
|
+
Ze(ee, h);
|
|
1671
|
+
let te = v((e) => {
|
|
1672
|
+
ee.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
1673
|
+
}, [u]);
|
|
1674
|
+
return /* @__PURE__ */ w(s, {
|
|
1675
|
+
ref: te,
|
|
1676
|
+
"aria-label": c,
|
|
1677
|
+
variant: r,
|
|
1678
|
+
size: i,
|
|
1679
|
+
"data-side": h,
|
|
1680
|
+
"data-align": n,
|
|
1681
|
+
className: e("absolute", h === "top" ? "top-3" : "bottom-3", n === "start" ? "start-3" : "end-3", a),
|
|
1682
|
+
...d,
|
|
1683
|
+
children: [
|
|
1684
|
+
/* @__PURE__ */ C(L, {
|
|
1685
|
+
label: "Zoom out",
|
|
1686
|
+
shortcut: "mod+-",
|
|
1687
|
+
icon: "minus",
|
|
1688
|
+
onClick: () => f.zoomBy(.8)
|
|
1689
|
+
}),
|
|
1690
|
+
/* @__PURE__ */ C(L, {
|
|
1691
|
+
label: "Zoom in",
|
|
1692
|
+
shortcut: "mod+=",
|
|
1693
|
+
icon: "plus",
|
|
1694
|
+
onClick: () => f.zoomBy(1.25)
|
|
1695
|
+
}),
|
|
1696
|
+
/* @__PURE__ */ C(L, {
|
|
1697
|
+
label: "Fit",
|
|
1698
|
+
shortcut: "mod+0",
|
|
1699
|
+
icon: "arrows-expand",
|
|
1700
|
+
onClick: () => f.fit()
|
|
1701
|
+
}),
|
|
1702
|
+
p ? /* @__PURE__ */ w(dt, { children: [
|
|
1703
|
+
/* @__PURE__ */ C(l, {}),
|
|
1704
|
+
/* @__PURE__ */ C(L, {
|
|
1705
|
+
label: "Undo",
|
|
1706
|
+
shortcut: "mod+z",
|
|
1707
|
+
icon: "arrow-uturn-backward",
|
|
1708
|
+
disabled: !p.canUndo,
|
|
1709
|
+
onClick: (e) => p.undo(e)
|
|
1710
|
+
}),
|
|
1711
|
+
/* @__PURE__ */ C(L, {
|
|
1712
|
+
label: "Redo",
|
|
1713
|
+
shortcut: "mod+shift+z",
|
|
1714
|
+
icon: "arrow-uturn-forward",
|
|
1715
|
+
disabled: !p.canRedo,
|
|
1716
|
+
onClick: (e) => p.redo(e)
|
|
1717
|
+
})
|
|
1718
|
+
] }) : null,
|
|
1719
|
+
o
|
|
1720
|
+
]
|
|
1721
|
+
});
|
|
1722
|
+
}
|
|
1723
|
+
//#endregion
|
|
1724
|
+
export { _n as Diagram, O as DiagramEntryMarker, Nt as DiagramNodeBody, At as DiagramNodeHeader, jt as DiagramSections, vn as DiagramToolbar, L as DiagramToolbarButton, $e as createDiagramController, Dt as diagramEdgeLabelVariants, gt as diagramEdgeVariants, Et as diagramItemVariants, ht as diagramNodeVariants, on as useDiagram, it as useDiagramHistory };
|