@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,2068 @@
|
|
|
1
|
+
import { centerOf as e, dist as t, distToPolyline as n, inFrame as r, rectOf as i, rotatePt as a, unionRect as o } from "./canvas-math.js";
|
|
2
|
+
//#region src/lib/diagram-model.ts
|
|
3
|
+
var s = [
|
|
4
|
+
"top",
|
|
5
|
+
"right",
|
|
6
|
+
"bottom",
|
|
7
|
+
"left"
|
|
8
|
+
], c = (e) => e.kind === "group" || e.kind === "region" || e.kind === "root", l = (e, t) => e.id ?? String(t), u = (e) => e.id ?? e.title, d = (e) => !e.forkOf && (!!e.title || !!e.sections?.some((e) => e.items.length));
|
|
9
|
+
function f(e) {
|
|
10
|
+
let t = new Map(e.map((e) => [e.id, e])), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
|
|
11
|
+
for (let i of e) {
|
|
12
|
+
let e = /* @__PURE__ */ new Set(), a = i;
|
|
13
|
+
for (; a && !r.has(a.id) && !n.has(a.id) && !e.has(a.id);) e.add(a.id), a = a.parent == null ? void 0 : t.get(a.parent);
|
|
14
|
+
if (a && e.has(a.id)) {
|
|
15
|
+
let e = a;
|
|
16
|
+
do
|
|
17
|
+
n.add(e.id), e = t.get(e.parent);
|
|
18
|
+
while (e !== a);
|
|
19
|
+
}
|
|
20
|
+
for (let t of e) n.has(t) || r.add(t);
|
|
21
|
+
}
|
|
22
|
+
let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
23
|
+
for (let r of e) {
|
|
24
|
+
let e = r.parent != null && t.has(r.parent) && !n.has(r.id) ? r.parent : null;
|
|
25
|
+
i.set(r.id, e);
|
|
26
|
+
let o = a.get(e);
|
|
27
|
+
o ? o.push(r) : a.set(e, [r]);
|
|
28
|
+
}
|
|
29
|
+
let o = /* @__PURE__ */ new Map(), s = (a.get(null) ?? []).map((e) => [e, 0]);
|
|
30
|
+
for (; s.length;) {
|
|
31
|
+
let [e, t] = s.pop();
|
|
32
|
+
if (!o.has(e.id)) {
|
|
33
|
+
o.set(e.id, t);
|
|
34
|
+
for (let n of a.get(e.id) ?? []) s.push([n, t + 1]);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
nodes: e,
|
|
39
|
+
byId: t,
|
|
40
|
+
parent: i,
|
|
41
|
+
children: a,
|
|
42
|
+
depth: o
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function p(e, t) {
|
|
46
|
+
let n = [];
|
|
47
|
+
for (let r = e.parent.get(t) ?? null; r !== null && !n.includes(r); r = e.parent.get(r) ?? null) n.push(r);
|
|
48
|
+
return n;
|
|
49
|
+
}
|
|
50
|
+
function m(e, t) {
|
|
51
|
+
let n = [], r = /* @__PURE__ */ new Set([t]), i = [...e.children.get(t) ?? []].reverse();
|
|
52
|
+
for (; i.length;) {
|
|
53
|
+
let t = i.pop();
|
|
54
|
+
if (r.has(t.id)) continue;
|
|
55
|
+
r.add(t.id), n.push(t.id);
|
|
56
|
+
let a = e.children.get(t.id);
|
|
57
|
+
if (a) for (let e = a.length - 1; e >= 0; e--) i.push(a[e]);
|
|
58
|
+
}
|
|
59
|
+
return n;
|
|
60
|
+
}
|
|
61
|
+
var h = (e, t, n) => t !== n && p(e, t).includes(n), g = {
|
|
62
|
+
top: {
|
|
63
|
+
x: 0,
|
|
64
|
+
y: -1
|
|
65
|
+
},
|
|
66
|
+
right: {
|
|
67
|
+
x: 1,
|
|
68
|
+
y: 0
|
|
69
|
+
},
|
|
70
|
+
bottom: {
|
|
71
|
+
x: 0,
|
|
72
|
+
y: 1
|
|
73
|
+
},
|
|
74
|
+
left: {
|
|
75
|
+
x: -1,
|
|
76
|
+
y: 0
|
|
77
|
+
}
|
|
78
|
+
}, _ = {
|
|
79
|
+
top: "bottom",
|
|
80
|
+
right: "left",
|
|
81
|
+
bottom: "top",
|
|
82
|
+
left: "right"
|
|
83
|
+
};
|
|
84
|
+
function v(t, n, r = .5) {
|
|
85
|
+
let i = n === "top" ? {
|
|
86
|
+
x: t.x + t.w * r,
|
|
87
|
+
y: t.y
|
|
88
|
+
} : n === "bottom" ? {
|
|
89
|
+
x: t.x + t.w * r,
|
|
90
|
+
y: t.y + t.h
|
|
91
|
+
} : n === "left" ? {
|
|
92
|
+
x: t.x,
|
|
93
|
+
y: t.y + t.h * r
|
|
94
|
+
} : {
|
|
95
|
+
x: t.x + t.w,
|
|
96
|
+
y: t.y + t.h * r
|
|
97
|
+
};
|
|
98
|
+
return t.rot ? a(i, e(t), t.rot) : i;
|
|
99
|
+
}
|
|
100
|
+
function y(e, t) {
|
|
101
|
+
let n = g[t];
|
|
102
|
+
return e.rot ? a(n, {
|
|
103
|
+
x: 0,
|
|
104
|
+
y: 0
|
|
105
|
+
}, e.rot) : n;
|
|
106
|
+
}
|
|
107
|
+
function b(e, n) {
|
|
108
|
+
let r = null;
|
|
109
|
+
for (let i of s) {
|
|
110
|
+
let a = v(e, i), o = t(a, n);
|
|
111
|
+
(!r || o < r.d) && (r = {
|
|
112
|
+
side: i,
|
|
113
|
+
point: a,
|
|
114
|
+
d: o
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
side: r.side,
|
|
119
|
+
point: r.point
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function x(e, t, n, i) {
|
|
123
|
+
for (let a = t.length - 1; a >= 0; a--) {
|
|
124
|
+
let o = t[a];
|
|
125
|
+
if (!(o.id === i || !r(e, o, n))) return {
|
|
126
|
+
id: o.id,
|
|
127
|
+
...b(o, e)
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
function S(e, t) {
|
|
133
|
+
let n = t.side === "left" || t.side === "right" ? e.h : e.w, r = t.offset === void 0 ? t.at ?? .5 : Math.min(1, Math.max(0, t.offset / (n || 1)));
|
|
134
|
+
return {
|
|
135
|
+
p: v(e, t.side, r),
|
|
136
|
+
n: y(e, t.side)
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
var C = (e) => {
|
|
140
|
+
let t = Math.hypot(e.x, e.y) || 1;
|
|
141
|
+
return {
|
|
142
|
+
x: e.x / t,
|
|
143
|
+
y: e.y / t
|
|
144
|
+
};
|
|
145
|
+
}, w = (e, t) => Math.abs(t.x - e.x) >= Math.abs(t.y - e.y) ? {
|
|
146
|
+
x: Math.sign(t.x - e.x) || 1,
|
|
147
|
+
y: 0
|
|
148
|
+
} : {
|
|
149
|
+
x: 0,
|
|
150
|
+
y: Math.sign(t.y - e.y) || 1
|
|
151
|
+
}, T = (e) => e.length ? "M" + e.map((e) => `${e.x} ${e.y}`).join("L") : "";
|
|
152
|
+
function E(e, t, n, r, i) {
|
|
153
|
+
let a = 1 - i;
|
|
154
|
+
return {
|
|
155
|
+
x: a * a * a * e.x + 3 * a * a * i * t.x + 3 * a * i * i * n.x + i * i * i * r.x,
|
|
156
|
+
y: a * a * a * e.y + 3 * a * a * i * t.y + 3 * a * i * i * n.y + i * i * i * r.y
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function D(e, t) {
|
|
160
|
+
let n = e.length - 1, r = t === "end" ? e[n] : e[0];
|
|
161
|
+
for (let i = 1; i <= n; i++) {
|
|
162
|
+
let a = t === "end" ? e[n - i] : e[i];
|
|
163
|
+
if (a.x !== r.x || a.y !== r.y) return C({
|
|
164
|
+
x: r.x - a.x,
|
|
165
|
+
y: r.y - a.y
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
return {
|
|
169
|
+
x: 0,
|
|
170
|
+
y: 0
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function O(e, n = .5) {
|
|
174
|
+
if (!e.length) return {
|
|
175
|
+
point: {
|
|
176
|
+
x: 0,
|
|
177
|
+
y: 0
|
|
178
|
+
},
|
|
179
|
+
dir: {
|
|
180
|
+
x: 0,
|
|
181
|
+
y: 0
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
let r = 0;
|
|
185
|
+
for (let n = 1; n < e.length; n++) r += t(e[n - 1], e[n]);
|
|
186
|
+
let i = Math.max(0, Math.min(1, n)) * r;
|
|
187
|
+
for (let n = 1; n < e.length; n++) {
|
|
188
|
+
let r = t(e[n - 1], e[n]);
|
|
189
|
+
if (r) {
|
|
190
|
+
if (i <= r) {
|
|
191
|
+
let t = i / r, a = e[n - 1], o = e[n];
|
|
192
|
+
return {
|
|
193
|
+
point: {
|
|
194
|
+
x: a.x + (o.x - a.x) * t,
|
|
195
|
+
y: a.y + (o.y - a.y) * t
|
|
196
|
+
},
|
|
197
|
+
dir: C({
|
|
198
|
+
x: o.x - a.x,
|
|
199
|
+
y: o.y - a.y
|
|
200
|
+
})
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
i -= r;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return {
|
|
207
|
+
point: e[e.length - 1],
|
|
208
|
+
dir: {
|
|
209
|
+
x: 0,
|
|
210
|
+
y: 0
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function k(e) {
|
|
215
|
+
let t = e.length ? e.length === 1 ? [e[0], e[0]] : [...e] : [{
|
|
216
|
+
x: 0,
|
|
217
|
+
y: 0
|
|
218
|
+
}, {
|
|
219
|
+
x: 0,
|
|
220
|
+
y: 0
|
|
221
|
+
}], n = D(t, "end");
|
|
222
|
+
return {
|
|
223
|
+
d: T(t),
|
|
224
|
+
pts: t,
|
|
225
|
+
start: t[0],
|
|
226
|
+
end: t[t.length - 1],
|
|
227
|
+
startDir: D(t, "start"),
|
|
228
|
+
endDir: n,
|
|
229
|
+
mid: O(t).point,
|
|
230
|
+
angle: Math.atan2(n.y, n.x)
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
function A(e, t, n, r, i = 24) {
|
|
234
|
+
let a = [];
|
|
235
|
+
for (let o = 0; o <= i; o++) a.push(E(e, t, n, r, o / i));
|
|
236
|
+
return {
|
|
237
|
+
d: `M${e.x} ${e.y}C${t.x} ${t.y} ${n.x} ${n.y} ${r.x} ${r.y}`,
|
|
238
|
+
pts: a,
|
|
239
|
+
start: e,
|
|
240
|
+
end: r,
|
|
241
|
+
startDir: D(a, "start"),
|
|
242
|
+
endDir: D(a, "end"),
|
|
243
|
+
mid: E(e, t, n, r, .5),
|
|
244
|
+
angle: Math.atan2(r.y - n.y, r.x - n.x)
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
var j = 28;
|
|
248
|
+
function M(e, n, r, i = 28, a = .5) {
|
|
249
|
+
if (e === "straight") return k([n.p, r.p]);
|
|
250
|
+
let o = n.n ?? w(n.p, r.p), s = r.n ?? w(r.p, n.p);
|
|
251
|
+
if (e === "curve") {
|
|
252
|
+
let e = Math.max(40, t(n.p, r.p) * .4);
|
|
253
|
+
return A(n.p, {
|
|
254
|
+
x: n.p.x + o.x * e,
|
|
255
|
+
y: n.p.y + o.y * e
|
|
256
|
+
}, {
|
|
257
|
+
x: r.p.x + s.x * e,
|
|
258
|
+
y: r.p.y + s.y * e
|
|
259
|
+
}, r.p);
|
|
260
|
+
}
|
|
261
|
+
let c = {
|
|
262
|
+
x: n.p.x + o.x * i,
|
|
263
|
+
y: n.p.y + o.y * i
|
|
264
|
+
}, l = {
|
|
265
|
+
x: r.p.x + s.x * i,
|
|
266
|
+
y: r.p.y + s.y * i
|
|
267
|
+
}, u = Math.abs(o.x) > .5, d = Math.abs(s.x) > .5, f, p = (e, t) => a === .5 ? (e + t) / 2 : e + (t - e) * a;
|
|
268
|
+
if (u && d) {
|
|
269
|
+
let e = p(c.x, l.x);
|
|
270
|
+
f = [{
|
|
271
|
+
x: e,
|
|
272
|
+
y: c.y
|
|
273
|
+
}, {
|
|
274
|
+
x: e,
|
|
275
|
+
y: l.y
|
|
276
|
+
}];
|
|
277
|
+
} else if (!u && !d) {
|
|
278
|
+
let e = p(c.y, l.y);
|
|
279
|
+
f = [{
|
|
280
|
+
x: c.x,
|
|
281
|
+
y: e
|
|
282
|
+
}, {
|
|
283
|
+
x: l.x,
|
|
284
|
+
y: e
|
|
285
|
+
}];
|
|
286
|
+
} else f = u ? [{
|
|
287
|
+
x: l.x,
|
|
288
|
+
y: c.y
|
|
289
|
+
}] : [{
|
|
290
|
+
x: c.x,
|
|
291
|
+
y: l.y
|
|
292
|
+
}];
|
|
293
|
+
return k([
|
|
294
|
+
n.p,
|
|
295
|
+
c,
|
|
296
|
+
...f,
|
|
297
|
+
l,
|
|
298
|
+
r.p
|
|
299
|
+
]);
|
|
300
|
+
}
|
|
301
|
+
function N(t, n, r, i) {
|
|
302
|
+
let a = e(t), o = e(n), s = o.x - a.x, c = o.y - a.y, l, u, d, f;
|
|
303
|
+
if (Math.abs(s) >= Math.abs(c) * .6) {
|
|
304
|
+
let e = s >= 0 ? 1 : -1;
|
|
305
|
+
l = r ? {
|
|
306
|
+
x: e > 0 ? r.x + r.w : r.x,
|
|
307
|
+
y: r.y + r.h / 2
|
|
308
|
+
} : {
|
|
309
|
+
x: e > 0 ? t.x + t.w : t.x,
|
|
310
|
+
y: a.y
|
|
311
|
+
}, u = {
|
|
312
|
+
x: e > 0 ? n.x - i : n.x + n.w + i,
|
|
313
|
+
y: Math.max(n.y + 40, Math.min(n.y + n.h - 40, l.y))
|
|
314
|
+
};
|
|
315
|
+
let o = Math.max(48, Math.abs(u.x - l.x) * .42);
|
|
316
|
+
d = {
|
|
317
|
+
x: l.x + o * e,
|
|
318
|
+
y: l.y
|
|
319
|
+
}, f = {
|
|
320
|
+
x: u.x - o * e,
|
|
321
|
+
y: u.y
|
|
322
|
+
};
|
|
323
|
+
} else {
|
|
324
|
+
let e = c >= 0 ? 1 : -1;
|
|
325
|
+
l = r ? {
|
|
326
|
+
x: r.x + r.w,
|
|
327
|
+
y: r.y + r.h / 2
|
|
328
|
+
} : {
|
|
329
|
+
x: a.x,
|
|
330
|
+
y: e > 0 ? t.y + t.h : t.y
|
|
331
|
+
}, u = {
|
|
332
|
+
x: o.x,
|
|
333
|
+
y: e > 0 ? n.y - i : n.y + n.h + i
|
|
334
|
+
};
|
|
335
|
+
let s = Math.max(60, Math.abs(u.y - l.y) * .45);
|
|
336
|
+
d = r ? {
|
|
337
|
+
x: l.x + s,
|
|
338
|
+
y: l.y
|
|
339
|
+
} : {
|
|
340
|
+
x: l.x,
|
|
341
|
+
y: l.y + s * e
|
|
342
|
+
}, f = {
|
|
343
|
+
x: u.x,
|
|
344
|
+
y: u.y - s * e
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
return A(l, d, f, u);
|
|
348
|
+
}
|
|
349
|
+
var P = (e, t, n) => Math.max(t, Math.min(n, e));
|
|
350
|
+
function ee(e, t, n = 0) {
|
|
351
|
+
let r = { ...e }, i, a, o;
|
|
352
|
+
if (t.x >= r.x + 60) {
|
|
353
|
+
i = {
|
|
354
|
+
x: t.x - 10,
|
|
355
|
+
y: P(r.y, t.y + 24, t.y + t.h - 24)
|
|
356
|
+
};
|
|
357
|
+
let e = Math.max(80, (i.x - r.x) * .45);
|
|
358
|
+
a = {
|
|
359
|
+
x: r.x + e,
|
|
360
|
+
y: r.y
|
|
361
|
+
}, o = {
|
|
362
|
+
x: i.x - e,
|
|
363
|
+
y: i.y
|
|
364
|
+
};
|
|
365
|
+
} else {
|
|
366
|
+
let e = t.y >= r.y;
|
|
367
|
+
i = {
|
|
368
|
+
x: t.x + Math.min(t.w / 2, 240),
|
|
369
|
+
y: e ? t.y - 10 : t.y + t.h + 10
|
|
370
|
+
};
|
|
371
|
+
let n = Math.max(160, Math.abs(i.y - r.y) * .4);
|
|
372
|
+
a = {
|
|
373
|
+
x: Math.max(r.x, i.x) + 220,
|
|
374
|
+
y: r.y
|
|
375
|
+
}, o = {
|
|
376
|
+
x: i.x,
|
|
377
|
+
y: e ? i.y - n : i.y + n
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
if (n) {
|
|
381
|
+
let e = Math.hypot(i.x - r.x, i.y - r.y) || 1, t = -(i.y - r.y) / e * n, s = (i.x - r.x) / e * n;
|
|
382
|
+
for (let e of [
|
|
383
|
+
r,
|
|
384
|
+
a,
|
|
385
|
+
o,
|
|
386
|
+
i
|
|
387
|
+
]) e.x += t, e.y += s;
|
|
388
|
+
}
|
|
389
|
+
return A(r, a, o, i);
|
|
390
|
+
}
|
|
391
|
+
var te = {
|
|
392
|
+
length: 1,
|
|
393
|
+
halfWidth: .55
|
|
394
|
+
}, ne = {
|
|
395
|
+
length: Math.cos(.45),
|
|
396
|
+
halfWidth: Math.sin(.45)
|
|
397
|
+
};
|
|
398
|
+
function re(e, t, n, r = te) {
|
|
399
|
+
let i = e.x - t.x * n * r.length, a = e.y - t.y * n * r.length, o = -t.y * n * r.halfWidth, s = t.x * n * r.halfWidth;
|
|
400
|
+
return [
|
|
401
|
+
e,
|
|
402
|
+
{
|
|
403
|
+
x: i + o,
|
|
404
|
+
y: a + s
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
x: i - o,
|
|
408
|
+
y: a - s
|
|
409
|
+
}
|
|
410
|
+
];
|
|
411
|
+
}
|
|
412
|
+
var ie = (e) => e.map((e) => `${e.x},${e.y}`).join(" "), ae = (e) => e.length ? `${T(e)}Z` : "", oe = (e) => ({
|
|
413
|
+
x: Math.cos(e),
|
|
414
|
+
y: Math.sin(e)
|
|
415
|
+
});
|
|
416
|
+
function se(e, t, { t: n = .5, gap: r = 2, flip: i = !1 } = {}) {
|
|
417
|
+
let { point: a, dir: o } = O(e, n), s = o.y, c = -o.x;
|
|
418
|
+
(c > 0 || c === 0 && s < 0) && (s = -s, c = -c), i && (s = -s, c = -c);
|
|
419
|
+
let l = r + Math.abs(s) * t.w / 2 + Math.abs(c) * t.h / 2;
|
|
420
|
+
return {
|
|
421
|
+
x: a.x + s * l - t.w / 2,
|
|
422
|
+
y: a.y + c * l - t.h / 2,
|
|
423
|
+
w: t.w,
|
|
424
|
+
h: t.h
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
function F(e, t, n = .5) {
|
|
428
|
+
let { point: r } = O(e, n);
|
|
429
|
+
return {
|
|
430
|
+
x: r.x - t.w / 2,
|
|
431
|
+
y: r.y - t.h / 2,
|
|
432
|
+
w: t.w,
|
|
433
|
+
h: t.h
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
var ce = [...[
|
|
437
|
+
.5,
|
|
438
|
+
.4,
|
|
439
|
+
.6,
|
|
440
|
+
.3,
|
|
441
|
+
.7,
|
|
442
|
+
.2,
|
|
443
|
+
.8
|
|
444
|
+
].map((e) => ({
|
|
445
|
+
t: e,
|
|
446
|
+
flip: !1,
|
|
447
|
+
step: -1
|
|
448
|
+
})), ...[
|
|
449
|
+
0,
|
|
450
|
+
1,
|
|
451
|
+
2
|
|
452
|
+
].flatMap((e) => [
|
|
453
|
+
.5,
|
|
454
|
+
.35,
|
|
455
|
+
.65,
|
|
456
|
+
.2,
|
|
457
|
+
.8
|
|
458
|
+
].flatMap((t) => [{
|
|
459
|
+
t,
|
|
460
|
+
flip: !1,
|
|
461
|
+
step: e
|
|
462
|
+
}, {
|
|
463
|
+
t,
|
|
464
|
+
flip: !0,
|
|
465
|
+
step: e
|
|
466
|
+
}]))];
|
|
467
|
+
function le(e, n, r, i) {
|
|
468
|
+
if (i && r(i) <= 0) return i;
|
|
469
|
+
let a = i ?? null, o = i ? r(i) : Infinity, s = [], c = $(e), l = -1, u = 0;
|
|
470
|
+
for (let e = 1; e < c.length; e++) {
|
|
471
|
+
let n = t(c[e - 1], c[e]);
|
|
472
|
+
n > u && (u = n, l = e);
|
|
473
|
+
}
|
|
474
|
+
for (let e of [
|
|
475
|
+
c.length - 1,
|
|
476
|
+
1,
|
|
477
|
+
l
|
|
478
|
+
]) {
|
|
479
|
+
if (e < 1 || s.includes(e)) continue;
|
|
480
|
+
let r = c[e - 1], i = c[e], a = Math.abs(r.x - i.x) < .5 ? n.h : Math.abs(r.y - i.y) < .5 ? n.w : Infinity;
|
|
481
|
+
t(r, i) >= a + 24 && s.push(e);
|
|
482
|
+
}
|
|
483
|
+
for (let e of s) {
|
|
484
|
+
let t = {
|
|
485
|
+
x: (c[e - 1].x + c[e].x) / 2,
|
|
486
|
+
y: (c[e - 1].y + c[e].y) / 2
|
|
487
|
+
}, i = {
|
|
488
|
+
x: t.x - n.w / 2,
|
|
489
|
+
y: t.y - n.h / 2,
|
|
490
|
+
w: n.w,
|
|
491
|
+
h: n.h
|
|
492
|
+
}, s = r(i);
|
|
493
|
+
if (s <= 0) return i;
|
|
494
|
+
s < o && (o = s, a = i);
|
|
495
|
+
}
|
|
496
|
+
for (let { t, flip: i, step: s } of ce) {
|
|
497
|
+
let c = s < 0 ? F(e, n, t) : se(e, n, {
|
|
498
|
+
t,
|
|
499
|
+
flip: i,
|
|
500
|
+
gap: 2 + s * (n.h + 8)
|
|
501
|
+
}), l = r(c);
|
|
502
|
+
if (l <= 0) return c;
|
|
503
|
+
l < o && (o = l, a = c);
|
|
504
|
+
}
|
|
505
|
+
return a;
|
|
506
|
+
}
|
|
507
|
+
function I(e, n = 8) {
|
|
508
|
+
if (e.length < 3 || n <= 0) return T(e);
|
|
509
|
+
let r = `M${e[0].x} ${e[0].y}`;
|
|
510
|
+
for (let i = 1; i < e.length - 1; i++) {
|
|
511
|
+
let a = e[i - 1], o = e[i], s = e[i + 1], c = t(a, o), l = t(o, s), u = Math.min(n, c / 2, l / 2);
|
|
512
|
+
if (u < .5) {
|
|
513
|
+
r += `L${o.x} ${o.y}`;
|
|
514
|
+
continue;
|
|
515
|
+
}
|
|
516
|
+
let d = {
|
|
517
|
+
x: o.x + (a.x - o.x) / c * u,
|
|
518
|
+
y: o.y + (a.y - o.y) / c * u
|
|
519
|
+
}, f = {
|
|
520
|
+
x: o.x + (s.x - o.x) / l * u,
|
|
521
|
+
y: o.y + (s.y - o.y) / l * u
|
|
522
|
+
};
|
|
523
|
+
r += `L${L(d.x)} ${L(d.y)}Q${o.x} ${o.y} ${L(f.x)} ${L(f.y)}`;
|
|
524
|
+
}
|
|
525
|
+
let i = e[e.length - 1];
|
|
526
|
+
return `${r}L${i.x} ${i.y}`;
|
|
527
|
+
}
|
|
528
|
+
var L = (e) => Math.round(e * 100) / 100;
|
|
529
|
+
function R(e, t = 160) {
|
|
530
|
+
let n = /* @__PURE__ */ new Map(), r = (e, n) => {
|
|
531
|
+
for (let r = Math.floor(e.x / t); r <= Math.floor((e.x + e.w) / t); r++) for (let i = Math.floor(e.y / t); i <= Math.floor((e.y + e.h) / t); i++) n(`${r},${i}`);
|
|
532
|
+
}, i = (e) => r(e, (t) => {
|
|
533
|
+
let r = n.get(t);
|
|
534
|
+
r ? r.push(e) : n.set(t, [e]);
|
|
535
|
+
});
|
|
536
|
+
for (let t of e) i(t);
|
|
537
|
+
return {
|
|
538
|
+
add: i,
|
|
539
|
+
overlap: (e, t) => {
|
|
540
|
+
let i = /* @__PURE__ */ new Set(), a = 0;
|
|
541
|
+
return r(e, (r) => {
|
|
542
|
+
for (let o of n.get(r) ?? []) {
|
|
543
|
+
if (i.has(o) || t?.(o)) continue;
|
|
544
|
+
i.add(o);
|
|
545
|
+
let n = Math.min(e.x + e.w, o.x + o.w) - Math.max(e.x, o.x), r = Math.min(e.y + e.h, o.y + o.h) - Math.max(e.y, o.y);
|
|
546
|
+
n > 0 && r > 0 && (a += n * r);
|
|
547
|
+
}
|
|
548
|
+
}), a;
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
var ue = 24;
|
|
553
|
+
function de(e, t, n, r = 24) {
|
|
554
|
+
let i = t.n ?? g.top, a = n.n ?? i, o = {
|
|
555
|
+
x: t.p.x + i.x * r,
|
|
556
|
+
y: t.p.y + i.y * r
|
|
557
|
+
}, s = {
|
|
558
|
+
x: n.p.x + a.x * r,
|
|
559
|
+
y: n.p.y + a.y * r
|
|
560
|
+
}, c = i.x * a.x + i.y * a.y, l = [];
|
|
561
|
+
if (Math.abs(c) < .5) l = [Math.abs(i.x) > .5 ? {
|
|
562
|
+
x: o.x,
|
|
563
|
+
y: s.y
|
|
564
|
+
} : {
|
|
565
|
+
x: s.x,
|
|
566
|
+
y: o.y
|
|
567
|
+
}];
|
|
568
|
+
else if (c < 0) {
|
|
569
|
+
if (Math.abs(i.x) > .5) {
|
|
570
|
+
let t = e.y - r;
|
|
571
|
+
l = [{
|
|
572
|
+
x: o.x,
|
|
573
|
+
y: t
|
|
574
|
+
}, {
|
|
575
|
+
x: s.x,
|
|
576
|
+
y: t
|
|
577
|
+
}];
|
|
578
|
+
} else {
|
|
579
|
+
let t = e.x + e.w + r;
|
|
580
|
+
l = [{
|
|
581
|
+
x: t,
|
|
582
|
+
y: o.y
|
|
583
|
+
}, {
|
|
584
|
+
x: t,
|
|
585
|
+
y: s.y
|
|
586
|
+
}];
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
return k([
|
|
590
|
+
t.p,
|
|
591
|
+
o,
|
|
592
|
+
...l,
|
|
593
|
+
s,
|
|
594
|
+
n.p
|
|
595
|
+
]);
|
|
596
|
+
}
|
|
597
|
+
function z(t, n) {
|
|
598
|
+
let r = e(t), i = e(n), a = i.x - r.x, o = i.y - r.y, s = Math.max(n.x - (t.x + t.w), t.x - (n.x + n.w)), c = Math.max(n.y - (t.y + t.h), t.y - (n.y + n.h)), l = (s > 0 || c > 0 ? s >= c : Math.abs(a) >= Math.abs(o)) ? a >= 0 ? "right" : "left" : o >= 0 ? "bottom" : "top";
|
|
599
|
+
return {
|
|
600
|
+
from: l,
|
|
601
|
+
to: _[l]
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
function B(t, n) {
|
|
605
|
+
let r = [
|
|
606
|
+
["top", n.y - t.y],
|
|
607
|
+
["right", t.x + t.w - (n.x + n.w)],
|
|
608
|
+
["bottom", t.y + t.h - (n.y + n.h)],
|
|
609
|
+
["left", n.x - t.x]
|
|
610
|
+
], i = "left", a = Infinity;
|
|
611
|
+
for (let [e, t] of r) t < a && (a = t, i = e);
|
|
612
|
+
let o = e(n), s = i === "top" ? {
|
|
613
|
+
x: o.x,
|
|
614
|
+
y: t.y
|
|
615
|
+
} : i === "bottom" ? {
|
|
616
|
+
x: o.x,
|
|
617
|
+
y: t.y + t.h
|
|
618
|
+
} : i === "left" ? {
|
|
619
|
+
x: t.x,
|
|
620
|
+
y: o.y
|
|
621
|
+
} : {
|
|
622
|
+
x: t.x + t.w,
|
|
623
|
+
y: o.y
|
|
624
|
+
}, c = a < 0 ? _[i] : i;
|
|
625
|
+
return {
|
|
626
|
+
wall: {
|
|
627
|
+
p: s,
|
|
628
|
+
n: g[c === i ? _[i] : i]
|
|
629
|
+
},
|
|
630
|
+
child: {
|
|
631
|
+
p: v(n, c),
|
|
632
|
+
n: g[c]
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
var V = (e, t) => t ? e.ports?.find((e) => e.id === t) : void 0, H = /* @__PURE__ */ new WeakMap();
|
|
637
|
+
function fe(e, t, n) {
|
|
638
|
+
if (e.points && e.points.length >= 2) {
|
|
639
|
+
let t = H.get(e);
|
|
640
|
+
return t || (t = k(e.points), H.set(e, t)), t;
|
|
641
|
+
}
|
|
642
|
+
let r = t.byId.get(e.from), i = t.byId.get(e.to);
|
|
643
|
+
if (!r || !i) return null;
|
|
644
|
+
let a = V(r, e.fromPort), o = V(i, e.toPort);
|
|
645
|
+
if (r === i) {
|
|
646
|
+
let e = n?.loop ?? 0, t = a || o ? [a ? S(r, a) : {
|
|
647
|
+
p: v(r, "right", .35),
|
|
648
|
+
n: g.right
|
|
649
|
+
}, o ? S(r, o) : {
|
|
650
|
+
p: v(r, "right", .65),
|
|
651
|
+
n: g.right
|
|
652
|
+
}] : [{
|
|
653
|
+
p: v(r, "right", .35 - Math.min(e, 3) * .08),
|
|
654
|
+
n: g.right
|
|
655
|
+
}, {
|
|
656
|
+
p: v(r, "right", .65 + Math.min(e, 3) * .08),
|
|
657
|
+
n: g.right
|
|
658
|
+
}];
|
|
659
|
+
return de(r, t[0], t[1], 24 + e * 12);
|
|
660
|
+
}
|
|
661
|
+
let s = e.route ?? "elbow";
|
|
662
|
+
if (!a && !o && (h(t, i.id, r.id) || h(t, r.id, i.id))) {
|
|
663
|
+
let e = h(t, i.id, r.id) ? r : i, { wall: n, child: a } = B(e, e === r ? i : r), o = s === "curve" ? "curve" : "straight";
|
|
664
|
+
return e === r ? M(o, n, a) : M(o, a, n);
|
|
665
|
+
}
|
|
666
|
+
let c = z(r, i), l = a ? S(r, a) : {
|
|
667
|
+
p: v(r, c.from, n?.from ?? .5),
|
|
668
|
+
n: y(r, c.from)
|
|
669
|
+
}, u = o ? S(i, o) : {
|
|
670
|
+
p: v(i, c.to, n?.to ?? .5),
|
|
671
|
+
n: y(i, c.to)
|
|
672
|
+
}, d = l.n ? (u.p.x - l.p.x) * l.n.x + (u.p.y - l.p.y) * l.n.y : Infinity, f = d > 0 && d < 56 ? d / 2 : 28;
|
|
673
|
+
if (s === "elbow") {
|
|
674
|
+
let e = pe(l, u, r, i, f);
|
|
675
|
+
if (e) return e;
|
|
676
|
+
}
|
|
677
|
+
return M(s, l, u, f, n?.turn);
|
|
678
|
+
}
|
|
679
|
+
function pe(e, t, n, r, i = 28) {
|
|
680
|
+
let a = e.n, o = t.n;
|
|
681
|
+
if (!a || !o) return null;
|
|
682
|
+
let s = Math.abs(a.x) > .5 && Math.abs(o.x) > .5, c = Math.abs(a.y) > .5 && Math.abs(o.y) > .5;
|
|
683
|
+
if (!s && !c) return null;
|
|
684
|
+
let l = (e) => s ? e.x : e.y, u = (e) => s ? e.y : e.x, d = (e, t) => s ? {
|
|
685
|
+
x: e,
|
|
686
|
+
y: t
|
|
687
|
+
} : {
|
|
688
|
+
x: t,
|
|
689
|
+
y: e
|
|
690
|
+
}, f = l(a), p = l(o), m = l(e.p) + f * i, h = l(t.p) + p * i;
|
|
691
|
+
if ((h - m) * f >= 0 && (m - h) * p >= 0) return null;
|
|
692
|
+
let g = (e) => s ? e.y : e.x, _ = (e) => s ? e.y + e.h : e.x + e.w, v;
|
|
693
|
+
if (_(n) + i <= g(r) - i || _(r) + i <= g(n) - i) v = _(n) <= g(r) ? (_(n) + g(r)) / 2 : (_(r) + g(n)) / 2;
|
|
694
|
+
else {
|
|
695
|
+
let a = Math.min(g(n), g(r)) - i, o = Math.max(_(n), _(r)) + i, s = (n) => Math.abs(u(e.p) - n) + Math.abs(u(t.p) - n);
|
|
696
|
+
v = s(a) <= s(o) ? a : o;
|
|
697
|
+
}
|
|
698
|
+
return k([
|
|
699
|
+
e.p,
|
|
700
|
+
d(m, u(e.p)),
|
|
701
|
+
d(m, v),
|
|
702
|
+
d(h, v),
|
|
703
|
+
d(h, u(t.p)),
|
|
704
|
+
t.p
|
|
705
|
+
]);
|
|
706
|
+
}
|
|
707
|
+
function U(e, t, n) {
|
|
708
|
+
let r = Math.min(e.x, t.x), i = Math.max(e.x, t.x), a = Math.min(e.y, t.y), o = Math.max(e.y, t.y);
|
|
709
|
+
return i > n.x + .5 && r < n.x + n.w - .5 && o > n.y + .5 && a < n.y + n.h - .5;
|
|
710
|
+
}
|
|
711
|
+
function me(e, t) {
|
|
712
|
+
for (let n = 1; n < e.length; n++) for (let r of t) if (U(e[n - 1], e[n], r)) return !0;
|
|
713
|
+
return !1;
|
|
714
|
+
}
|
|
715
|
+
var W = 14, he = 40;
|
|
716
|
+
function ge(e, t, n, r = 28) {
|
|
717
|
+
let i = e.n ?? w(e.p, t.p), a = t.n ?? w(t.p, e.p), o = {
|
|
718
|
+
x: e.p.x + i.x * r,
|
|
719
|
+
y: e.p.y + i.y * r
|
|
720
|
+
}, s = {
|
|
721
|
+
x: t.p.x + a.x * r,
|
|
722
|
+
y: t.p.y + a.y * r
|
|
723
|
+
};
|
|
724
|
+
if (n.some((n) => U(e.p, o, n) || U(s, t.p, n))) return null;
|
|
725
|
+
let c = /* @__PURE__ */ new Set([o.x, s.x]), l = /* @__PURE__ */ new Set([o.y, s.y]);
|
|
726
|
+
for (let e of n) c.add(e.x - W), c.add(e.x + e.w + W), l.add(e.y - W), l.add(e.y + e.h + W);
|
|
727
|
+
let u = [...c].sort((e, t) => e - t), d = [...l].sort((e, t) => e - t), f = (e, t) => n.some((n) => e > n.x && e < n.x + n.w && t > n.y && t < n.y + n.h), p = u.length, m = d.length, h = (e, t, n) => (t * p + e) * 4 + n, g = new Float64Array(p * m * 4).fill(Infinity), _ = new Int32Array(p * m * 4).fill(-1), v = u.indexOf(o.x), y = d.indexOf(o.y), b = u.indexOf(s.x), x = d.indexOf(s.y), S = i.x > .5 ? 0 : i.y > .5 ? 1 : i.x < -.5 ? 2 : 3, C = [], T = (e, t) => {
|
|
728
|
+
C.push([e, t]);
|
|
729
|
+
for (let e = C.length - 1; e > 0;) {
|
|
730
|
+
let t = e - 1 >> 1;
|
|
731
|
+
if (C[t][0] <= C[e][0]) break;
|
|
732
|
+
[C[t], C[e]] = [C[e], C[t]], e = t;
|
|
733
|
+
}
|
|
734
|
+
}, E = () => {
|
|
735
|
+
let e = C[0], t = C.pop();
|
|
736
|
+
if (C.length) {
|
|
737
|
+
C[0] = t;
|
|
738
|
+
for (let e = 0;;) {
|
|
739
|
+
let t = e * 2 + 1, n = t + 1, r = e;
|
|
740
|
+
if (t < C.length && C[t][0] < C[r][0] && (r = t), n < C.length && C[n][0] < C[r][0] && (r = n), r === e) break;
|
|
741
|
+
[C[r], C[e]] = [C[e], C[r]], e = r;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
return e;
|
|
745
|
+
};
|
|
746
|
+
g[h(v, y, S)] = 0, T(0, h(v, y, S));
|
|
747
|
+
let D = [
|
|
748
|
+
[1, 0],
|
|
749
|
+
[0, 1],
|
|
750
|
+
[-1, 0],
|
|
751
|
+
[0, -1]
|
|
752
|
+
], O = -1;
|
|
753
|
+
for (; C.length;) {
|
|
754
|
+
let [e, t] = E();
|
|
755
|
+
if (e > g[t]) continue;
|
|
756
|
+
let r = t % 4, i = (t - r) / 4, a = i % p, o = (i - a) / p;
|
|
757
|
+
if (a === b && o === x) {
|
|
758
|
+
O = t;
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
for (let i = 0; i < 4; i++) {
|
|
762
|
+
if (i === (r + 2) % 4) continue;
|
|
763
|
+
let s = a + D[i][0], c = o + D[i][1];
|
|
764
|
+
if (s < 0 || c < 0 || s >= p || c >= m) continue;
|
|
765
|
+
let l = {
|
|
766
|
+
x: u[a],
|
|
767
|
+
y: d[o]
|
|
768
|
+
}, v = {
|
|
769
|
+
x: u[s],
|
|
770
|
+
y: d[c]
|
|
771
|
+
};
|
|
772
|
+
if (f(v.x, v.y) || n.some((e) => U(l, v, e))) continue;
|
|
773
|
+
let y = e + Math.abs(v.x - l.x) + Math.abs(v.y - l.y) + (i === r ? 0 : he), b = h(s, c, i);
|
|
774
|
+
y < g[b] && (g[b] = y, _[b] = t, T(y, b));
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
if (O < 0) return null;
|
|
778
|
+
let k = [];
|
|
779
|
+
for (let e = O; e >= 0; e = _[e]) {
|
|
780
|
+
let t = (e - e % 4) / 4;
|
|
781
|
+
k.push({
|
|
782
|
+
x: u[t % p],
|
|
783
|
+
y: d[(t - t % p) / p]
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
return k.reverse(), $([
|
|
787
|
+
e.p,
|
|
788
|
+
...k,
|
|
789
|
+
t.p
|
|
790
|
+
]);
|
|
791
|
+
}
|
|
792
|
+
var G = 12, _e = 4, K = 16, ve = 40, ye = 30, be = 60, xe = 5e3, q = 6, Se = .05, Ce = 2e4, we = 6, Te = 12e3, Ee = 10, De = [
|
|
793
|
+
{
|
|
794
|
+
x: 1,
|
|
795
|
+
y: 0
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
x: 0,
|
|
799
|
+
y: 1
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
x: -1,
|
|
803
|
+
y: 0
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
x: 0,
|
|
807
|
+
y: -1
|
|
808
|
+
}
|
|
809
|
+
], Oe = (e) => e.x > .5 ? 0 : e.y > .5 ? 1 : e.x < -.5 ? 2 : 3;
|
|
810
|
+
function ke(e, t, n = []) {
|
|
811
|
+
let r = Y(e, t, n, !1);
|
|
812
|
+
if (e.length < 2 || e.length > Ae) return r;
|
|
813
|
+
let i = /* @__PURE__ */ new Map();
|
|
814
|
+
for (let t of e) for (let e of [t.fromKey, t.toKey]) e && i.set(e, (i.get(e) ?? 0) + 1);
|
|
815
|
+
let a = (e) => [e.fromKey, e.toKey].find((e) => e && i.get(e) > 1), o = [...e];
|
|
816
|
+
for (let t of new Set(e.map(a).filter(Boolean))) {
|
|
817
|
+
let e = o.flatMap((e, n) => a(e) === t ? [n] : []), n = e.map((e) => o[e]).reverse();
|
|
818
|
+
e.forEach((e, t) => {
|
|
819
|
+
o[e] = n[t];
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
let s = r, c = J(r), l = [
|
|
823
|
+
[e, !0],
|
|
824
|
+
[o, !1],
|
|
825
|
+
[o, !0],
|
|
826
|
+
[[...e].reverse(), !1]
|
|
827
|
+
];
|
|
828
|
+
for (let [e, r] of l) {
|
|
829
|
+
if (!c.crowded && !c.crossings) break;
|
|
830
|
+
let i = Y(e, t, n, r), a = J(i);
|
|
831
|
+
(a.crowded < c.crowded || a.crowded === c.crowded && (a.crossings < c.crossings || a.crossings === c.crossings && a.length < c.length - 1)) && (s = i, c = a);
|
|
832
|
+
}
|
|
833
|
+
return s;
|
|
834
|
+
}
|
|
835
|
+
var Ae = 40;
|
|
836
|
+
function J(e) {
|
|
837
|
+
let n = [...e.values()].map((e) => e.pts), r = [...e.values()].filter((e) => e.label && !e.clear).length, i = 0, a = 0;
|
|
838
|
+
for (let e of n) for (let n = 1; n < e.length; n++) a += t(e[n - 1], e[n]);
|
|
839
|
+
for (let e = 0; e < n.length; e++) for (let t = e + 1; t < n.length; t++) {
|
|
840
|
+
let r = n[e], a = n[t];
|
|
841
|
+
for (let e = 1; e < r.length; e++) for (let t = 1; t < a.length; t++) {
|
|
842
|
+
let n = r[e - 1], o = r[e], s = a[t - 1], c = a[t], l = Math.abs(n.y - o.y) < .5;
|
|
843
|
+
if (l === Math.abs(s.y - c.y) < .5) continue;
|
|
844
|
+
let [u, d, f, p] = l ? [
|
|
845
|
+
n,
|
|
846
|
+
o,
|
|
847
|
+
s,
|
|
848
|
+
c
|
|
849
|
+
] : [
|
|
850
|
+
s,
|
|
851
|
+
c,
|
|
852
|
+
n,
|
|
853
|
+
o
|
|
854
|
+
];
|
|
855
|
+
f.x > Math.min(u.x, d.x) + .5 && f.x < Math.max(u.x, d.x) - .5 && u.y > Math.min(f.y, p.y) + .5 && u.y < Math.max(f.y, p.y) - .5 && i++;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
return {
|
|
859
|
+
crowded: r,
|
|
860
|
+
crossings: i,
|
|
861
|
+
length: a
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
function Y(e, n, r, a) {
|
|
865
|
+
let s = /* @__PURE__ */ new Map();
|
|
866
|
+
if (!e.length) return s;
|
|
867
|
+
let c = /* @__PURE__ */ new Map();
|
|
868
|
+
for (let t of e) for (let e of ["from", "to"]) {
|
|
869
|
+
let n = e === "from" ? t.fromKey : t.toKey;
|
|
870
|
+
n && c.set(n, [...c.get(n) ?? [], {
|
|
871
|
+
req: t,
|
|
872
|
+
end: e
|
|
873
|
+
}]);
|
|
874
|
+
}
|
|
875
|
+
let l = new Map(e.map((e) => [e.id, {
|
|
876
|
+
from: e.from,
|
|
877
|
+
to: e.to
|
|
878
|
+
}]));
|
|
879
|
+
for (let e of c.values()) {
|
|
880
|
+
if (e.length < 2) continue;
|
|
881
|
+
let t = (e[0].end === "from" ? e[0].req.from : e[0].req.to).n ?? {
|
|
882
|
+
x: 1,
|
|
883
|
+
y: 0
|
|
884
|
+
}, n = {
|
|
885
|
+
x: Math.abs(t.y),
|
|
886
|
+
y: Math.abs(t.x)
|
|
887
|
+
}, r = (e) => e.end === "from" ? e.req.to.p : e.req.from.p;
|
|
888
|
+
e.sort((e, t) => (r(e).x - r(t).x) * n.x + (r(e).y - r(t).y) * n.y || (e.req.id < t.req.id ? -1 : 1)), a && e.reverse(), e.forEach((t, r) => {
|
|
889
|
+
let i = (r - (e.length - 1) / 2) * _e, a = l.get(t.req.id), o = a[t.end];
|
|
890
|
+
a[t.end] = {
|
|
891
|
+
...o,
|
|
892
|
+
p: {
|
|
893
|
+
x: L(o.p.x + n.x * i),
|
|
894
|
+
y: L(o.p.y + n.y * i)
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
let u = n.filter((e) => e.kind === "block"), d = R(u.map((e) => e.r));
|
|
900
|
+
for (let { r: e } of n.filter((e) => e.kind === "wall")) for (let t of [
|
|
901
|
+
{
|
|
902
|
+
x: e.x - 1,
|
|
903
|
+
y: e.y,
|
|
904
|
+
w: 2,
|
|
905
|
+
h: e.h
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
x: e.x + e.w - 1,
|
|
909
|
+
y: e.y,
|
|
910
|
+
w: 2,
|
|
911
|
+
h: e.h
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
x: e.x,
|
|
915
|
+
y: e.y - 1,
|
|
916
|
+
w: e.w,
|
|
917
|
+
h: 2
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
x: e.x,
|
|
921
|
+
y: e.y + e.h - 1,
|
|
922
|
+
w: e.w,
|
|
923
|
+
h: 2
|
|
924
|
+
}
|
|
925
|
+
]) d.add(t);
|
|
926
|
+
let f = (e, t) => ({
|
|
927
|
+
x: Math.min(e.x, t.x) - 1,
|
|
928
|
+
y: Math.min(e.y, t.y) - 1,
|
|
929
|
+
w: Math.abs(t.x - e.x) + 2,
|
|
930
|
+
h: Math.abs(t.y - e.y) + 2
|
|
931
|
+
});
|
|
932
|
+
for (let e of r) for (let t = 1; t < e.length; t++) d.add(f(e[t - 1], e[t]));
|
|
933
|
+
let p = /* @__PURE__ */ new Map();
|
|
934
|
+
for (let t of e) {
|
|
935
|
+
let { from: e, to: n } = l.get(t.id);
|
|
936
|
+
for (let r of [e, n]) {
|
|
937
|
+
let e = r.n ?? {
|
|
938
|
+
x: 0,
|
|
939
|
+
y: 0
|
|
940
|
+
}, n = f(r.p, {
|
|
941
|
+
x: r.p.x + e.x * K,
|
|
942
|
+
y: r.p.y + e.y * K
|
|
943
|
+
});
|
|
944
|
+
p.set(n, t.id), d.add(n);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
let m = [], h = n.filter((e) => e.kind === "wall"), g = r.flatMap((e) => e.slice(1).map((t, n) => ({
|
|
948
|
+
a: e[n],
|
|
949
|
+
b: t,
|
|
950
|
+
edge: ""
|
|
951
|
+
}))), _ = o([...n.map((e) => e.r), ...e.flatMap((e) => [i([e.from.p, e.to.p])])]) ?? {
|
|
952
|
+
x: 0,
|
|
953
|
+
y: 0,
|
|
954
|
+
w: 0,
|
|
955
|
+
h: 0
|
|
956
|
+
}, v = {
|
|
957
|
+
x: _.x - 80,
|
|
958
|
+
y: _.y - 80
|
|
959
|
+
}, y = {
|
|
960
|
+
x: _.x + _.w + 80,
|
|
961
|
+
y: _.y + _.h + 80
|
|
962
|
+
}, b = [], x = [];
|
|
963
|
+
for (let { r: e } of u) b.push(e.x - W, e.x + e.w + W), x.push(e.y - W, e.y + e.h + W);
|
|
964
|
+
for (let { r: e } of h) b.push(e.x - W, e.x + W, e.x + e.w - W, e.x + e.w + W, e.x + G, e.x + e.w - G), x.push(e.y - W, e.y + W, e.y + e.h - W, e.y + e.h + W, e.y + e.h - G);
|
|
965
|
+
let S = (e) => {
|
|
966
|
+
let t = [...new Set(e.flat())].sort((e, t) => e - t), n = [];
|
|
967
|
+
for (let e = 1; e < t.length; e++) t[e] - t[e - 1] > 56 && n.push((t[e] + t[e - 1]) / 2);
|
|
968
|
+
return n;
|
|
969
|
+
};
|
|
970
|
+
b.push(...S(u.map(({ r: e }) => [e.x, e.x + e.w]))), x.push(...S(u.map(({ r: e }) => [e.y, e.y + e.h])));
|
|
971
|
+
for (let n of e) {
|
|
972
|
+
let { from: e, to: r } = l.get(n.id), a = e.n ?? w(e.p, r.p), o = r.n ?? w(r.p, e.p), c = {
|
|
973
|
+
x: L(e.p.x + a.x * K),
|
|
974
|
+
y: L(e.p.y + a.y * K)
|
|
975
|
+
}, _ = {
|
|
976
|
+
x: L(r.p.x + o.x * K),
|
|
977
|
+
y: L(r.p.y + o.y * K)
|
|
978
|
+
}, S = (e, t) => t.x >= e.x && t.x <= e.x + e.w && t.y >= e.y && t.y <= e.y + e.h, C = h.map(({ r: t }) => {
|
|
979
|
+
let n = Number(S(t, e.p)) + Number(S(t, r.p));
|
|
980
|
+
return n === 2 ? 3e3 : n === 1 ? be : 180;
|
|
981
|
+
}), T = h.filter(({ r: t }) => !S(t, e.p) && !S(t, r.p)).map((e) => ({
|
|
982
|
+
...e,
|
|
983
|
+
id: `${e.id}\0box`,
|
|
984
|
+
kind: "block"
|
|
985
|
+
})), E = n.label ?? null, D = (e) => d.overlap({
|
|
986
|
+
x: e.x - q,
|
|
987
|
+
y: e.y - q,
|
|
988
|
+
w: e.w + 12,
|
|
989
|
+
h: e.h + 12
|
|
990
|
+
}, (e) => p.get(e) === n.id), O = (e, n) => {
|
|
991
|
+
let r = E;
|
|
992
|
+
if (!r) return null;
|
|
993
|
+
let i = t(e, n), a = i - (Math.abs(e.x - n.x) < .5 ? r.h : r.w) - 16;
|
|
994
|
+
if (a < 0) return null;
|
|
995
|
+
let o = {
|
|
996
|
+
x: (n.x - e.x) / i,
|
|
997
|
+
y: (n.y - e.y) / i
|
|
998
|
+
}, s = {
|
|
999
|
+
x: (e.x + n.x) / 2,
|
|
1000
|
+
y: (e.y + n.y) / 2
|
|
1001
|
+
};
|
|
1002
|
+
for (let e = 0; e <= a / 2; e += 8) for (let t of e ? [1, -1] : [1]) {
|
|
1003
|
+
let n = {
|
|
1004
|
+
x: L(s.x + o.x * e * t - r.w / 2),
|
|
1005
|
+
y: L(s.y + o.y * e * t - r.h / 2),
|
|
1006
|
+
w: r.w,
|
|
1007
|
+
h: r.h
|
|
1008
|
+
};
|
|
1009
|
+
if (D(n) <= 0) return n;
|
|
1010
|
+
}
|
|
1011
|
+
return null;
|
|
1012
|
+
}, k = (t, s, l, d, f = Infinity) => {
|
|
1013
|
+
let p = t ? E : null, v = [
|
|
1014
|
+
...u,
|
|
1015
|
+
...m,
|
|
1016
|
+
...T
|
|
1017
|
+
].filter((e) => !n.through.has(e.id)).map((e) => ({
|
|
1018
|
+
...e,
|
|
1019
|
+
r: {
|
|
1020
|
+
x: e.r.x - we,
|
|
1021
|
+
y: e.r.y - we,
|
|
1022
|
+
w: e.r.w + 12,
|
|
1023
|
+
h: e.r.h + 12
|
|
1024
|
+
}
|
|
1025
|
+
})), y = /* @__PURE__ */ new Set([
|
|
1026
|
+
c.x,
|
|
1027
|
+
_.x,
|
|
1028
|
+
...b
|
|
1029
|
+
]), S = /* @__PURE__ */ new Set([
|
|
1030
|
+
c.y,
|
|
1031
|
+
_.y,
|
|
1032
|
+
...x
|
|
1033
|
+
]);
|
|
1034
|
+
for (let { r: e } of m) y.add(e.x - W), y.add(e.x + e.w + W), S.add(e.y - W), S.add(e.y + e.h + W);
|
|
1035
|
+
if (p) {
|
|
1036
|
+
let e = p.w / 2 + q + 1, t = p.h / 2 + q + 1;
|
|
1037
|
+
for (let { r: n } of [...u, ...m]) y.add(n.x - e), y.add(n.x + n.w + e), S.add(n.y - t), S.add(n.y + n.h + t);
|
|
1038
|
+
}
|
|
1039
|
+
for (let e of g) Math.abs(e.a.x - e.b.x) < .5 ? (y.add(e.a.x - G), y.add(e.a.x + G), p && (y.add(e.a.x - p.w / 2 - q - 1), y.add(e.a.x + p.w / 2 + q + 1))) : (S.add(e.a.y - G), S.add(e.a.y + G), p && (S.add(e.a.y - p.h / 2 - q - 1), S.add(e.a.y + p.h / 2 + q + 1)));
|
|
1040
|
+
let w = (e, t, n, r) => {
|
|
1041
|
+
let i = [...e].filter((e) => e >= n && e <= r).map(L).sort((e, t) => e - t), a = [];
|
|
1042
|
+
for (let e of i) {
|
|
1043
|
+
let n = a[a.length - 1];
|
|
1044
|
+
n === void 0 || e - n >= 2 ? a.push(e) : t.includes(e) && (a[a.length - 1] = e);
|
|
1045
|
+
}
|
|
1046
|
+
for (let e of t) a.includes(e) || a.push(e);
|
|
1047
|
+
return a.sort((e, t) => e - t);
|
|
1048
|
+
}, D = w(y, [c.x, _.x], l.x, d.x), k = w(S, [c.y, _.y], l.y, d.y), A = D.length, j = k.length, M = D.indexOf(c.x), N = k.indexOf(c.y), P = D.indexOf(_.x), ee = k.indexOf(_.y);
|
|
1049
|
+
if (M < 0 || N < 0 || P < 0 || ee < 0) return null;
|
|
1050
|
+
let te = (e) => v.some(({ r: t }) => e.x > t.x && e.x < t.x + t.w && e.y > t.y && e.y < t.y + t.h), ne = (e, t, n) => {
|
|
1051
|
+
for (let r = Math.floor((e.x - t) / 64); r <= Math.floor((e.x + e.w + t) / 64); r++) for (let i = Math.floor((e.y - t) / 64); i <= Math.floor((e.y + e.h + t) / 64); i++) n(r * 100003 + i);
|
|
1052
|
+
}, re = (e, t, n) => {
|
|
1053
|
+
let r = /* @__PURE__ */ new Map();
|
|
1054
|
+
return e.forEach((e, i) => ne(t(e), n, (e) => {
|
|
1055
|
+
let t = r.get(e);
|
|
1056
|
+
t ? t.push(i) : r.set(e, [i]);
|
|
1057
|
+
})), r;
|
|
1058
|
+
}, ie = re(v, (e) => e.r, 0), ae = re(g, (e) => i([e.a, e.b]), G), oe = 0, se = new Int32Array(v.length), F = new Int32Array(g.length), ce = (e, t, n) => {
|
|
1059
|
+
oe++;
|
|
1060
|
+
let r = [];
|
|
1061
|
+
return ne(e, 0, (e) => {
|
|
1062
|
+
for (let i of t.get(e) ?? []) n[i] !== oe && (n[i] = oe, r.push(i));
|
|
1063
|
+
}), r;
|
|
1064
|
+
}, le = (e, t) => {
|
|
1065
|
+
let n = 0, r = i([e, t]);
|
|
1066
|
+
for (let i of ce(r, ie, se)) if (U(e, t, v[i].r)) {
|
|
1067
|
+
if (!s) return Infinity;
|
|
1068
|
+
n += Ce;
|
|
1069
|
+
}
|
|
1070
|
+
let a = Math.abs(e.y - t.y) < .5, o = Math.min(e.x, t.x), c = Math.max(e.x, t.x), l = Math.min(e.y, t.y), u = Math.max(e.y, t.y);
|
|
1071
|
+
for (let [t, { r }] of h.entries()) {
|
|
1072
|
+
let i = C[t];
|
|
1073
|
+
a ? e.y > r.y && e.y < r.y + r.h && (r.x > o && r.x < c && (n += i), r.x + r.w > o && r.x + r.w < c && (n += i)) : e.x > r.x && e.x < r.x + r.w && (r.y > l && r.y < u && (n += i), r.y + r.h > l && r.y + r.h < u && (n += i));
|
|
1074
|
+
let s = a ? Math.abs(e.y - r.y) < Ee || Math.abs(e.y - r.y - r.h) < Ee ? Math.min(c, r.x + r.w) - Math.max(o, r.x) : 0 : Math.abs(e.x - r.x) < Ee || Math.abs(e.x - r.x - r.w) < Ee ? Math.min(u, r.y + r.h) - Math.max(l, r.y) : 0;
|
|
1075
|
+
s > .5 && (n += xe + s * 20);
|
|
1076
|
+
}
|
|
1077
|
+
for (let t of ce(r, ae, F)) {
|
|
1078
|
+
let r = g[t], i = Math.abs(r.a.y - r.b.y) < .5, s = Math.min(r.a.x, r.b.x), d = Math.max(r.a.x, r.b.x), f = Math.min(r.a.y, r.b.y), p = Math.max(r.a.y, r.b.y);
|
|
1079
|
+
if (a && i) {
|
|
1080
|
+
let t = Math.min(c, d) - Math.max(o, s);
|
|
1081
|
+
Math.abs(r.a.y - e.y) < 11.5 && t > .5 && (n += xe + t * 20);
|
|
1082
|
+
} else if (!a && !i) {
|
|
1083
|
+
let t = Math.min(u, p) - Math.max(l, f);
|
|
1084
|
+
Math.abs(r.a.x - e.x) < 11.5 && t > .5 && (n += xe + t * 20);
|
|
1085
|
+
} else (a && r.a.x > o && r.a.x < c && e.y > f && e.y < p || !a && r.a.y > l && r.a.y < u && e.x > s && e.x < d) && (n += ye);
|
|
1086
|
+
}
|
|
1087
|
+
return n;
|
|
1088
|
+
}, I = A * j * 8, R = (e, t, n, r) => ((t * A + e) * 4 + n) * 2 + r, ue = new Float64Array(I).fill(Infinity), de = new Int32Array(I).fill(-1), z = new Float64Array(I), B = new Float64Array(I), V = /* @__PURE__ */ new Map(), H = [], fe = (e, t) => {
|
|
1089
|
+
H.push([e, t]);
|
|
1090
|
+
for (let e = H.length - 1; e > 0;) {
|
|
1091
|
+
let t = e - 1 >> 1;
|
|
1092
|
+
if (H[t][0] <= H[e][0]) break;
|
|
1093
|
+
[H[t], H[e]] = [H[e], H[t]], e = t;
|
|
1094
|
+
}
|
|
1095
|
+
}, pe = () => {
|
|
1096
|
+
let e = H[0], t = H.pop();
|
|
1097
|
+
if (H.length) {
|
|
1098
|
+
H[0] = t;
|
|
1099
|
+
for (let e = 0;;) {
|
|
1100
|
+
let t = e * 2 + 1, n = t + 1, r = e;
|
|
1101
|
+
if (t < H.length && H[t][0] < H[r][0] && (r = t), n < H.length && H[n][0] < H[r][0] && (r = n), r === e) break;
|
|
1102
|
+
[H[r], H[e]] = [H[e], H[r]], e = r;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
return e;
|
|
1106
|
+
}, me = new Float64Array(A * j * 4).fill(NaN), he = new Int8Array(A * j).fill(-1), ge = Oe(a), _e = Oe({
|
|
1107
|
+
x: -o.x,
|
|
1108
|
+
y: -o.y
|
|
1109
|
+
}), K = R(M, N, ge, +!p);
|
|
1110
|
+
ue[K] = 0, z[K] = e.p.x, B[K] = e.p.y;
|
|
1111
|
+
let be = (e) => {
|
|
1112
|
+
let t = ((e - e % 2) / 2 - (e - e % 2) / 2 % 4) / 4;
|
|
1113
|
+
return Math.abs(D[t % A] - _.x) + Math.abs(k[(t - t % A) / A] - _.y);
|
|
1114
|
+
};
|
|
1115
|
+
fe(be(K), K);
|
|
1116
|
+
let Te = (e, t, n, r, i, a) => {
|
|
1117
|
+
n >= ue[t] || (ue[t] = n, de[t] = e, z[t] = r, B[t] = i, a && V.set(t, a), fe(n + be(t), t));
|
|
1118
|
+
}, ke = /* @__PURE__ */ new Map(), Ae = (t, n, r, i) => {
|
|
1119
|
+
let a = ((t === e.p || t.x === e.p.x && t.y === e.p.y ? -1 : D.indexOf(t.x) + k.indexOf(t.y) * A) + 1) * (A * j + 1) + i * A + r, o = ke.get(a);
|
|
1120
|
+
return o === void 0 && (o = O(t, n), ke.set(a, o)), o;
|
|
1121
|
+
}, J = -1, Y = f, je = null;
|
|
1122
|
+
for (; H.length;) {
|
|
1123
|
+
let [e, t] = pe();
|
|
1124
|
+
if (e >= Y) break;
|
|
1125
|
+
let n = ue[t];
|
|
1126
|
+
if (e > n + be(t) + 1e-6) continue;
|
|
1127
|
+
let i = t % 2, a = (t - i) / 2 % 4, o = ((t - i) / 2 - a) / 4, l = o % A, u = (o - l) / A;
|
|
1128
|
+
if (l === P && u === ee) {
|
|
1129
|
+
let e = n + (a === _e ? 0 : ve), o = i ? null : a === _e ? O({
|
|
1130
|
+
x: z[t],
|
|
1131
|
+
y: B[t]
|
|
1132
|
+
}, r.p) : Ae({
|
|
1133
|
+
x: z[t],
|
|
1134
|
+
y: B[t]
|
|
1135
|
+
}, {
|
|
1136
|
+
x: D[l],
|
|
1137
|
+
y: k[u]
|
|
1138
|
+
}, l, u);
|
|
1139
|
+
(i || o) && e < Y && (Y = e, J = t, je = o);
|
|
1140
|
+
continue;
|
|
1141
|
+
}
|
|
1142
|
+
for (let e = 0; e < 4; e++) {
|
|
1143
|
+
if (e === (a + 2) % 4) continue;
|
|
1144
|
+
let r = l + De[e].x, o = u + De[e].y;
|
|
1145
|
+
if (r < 0 || o < 0 || r >= A || o >= j) continue;
|
|
1146
|
+
let d = {
|
|
1147
|
+
x: D[l],
|
|
1148
|
+
y: k[u]
|
|
1149
|
+
}, f = {
|
|
1150
|
+
x: D[r],
|
|
1151
|
+
y: k[o]
|
|
1152
|
+
}, p = o * A + r;
|
|
1153
|
+
if (!s && (he[p] < 0 && (he[p] = +!!te(f)), he[p])) continue;
|
|
1154
|
+
let m = (u * A + l) * 4 + e, h = me[m];
|
|
1155
|
+
if (Number.isNaN(h) && (h = le(d, f), me[m] = h), h === Infinity) continue;
|
|
1156
|
+
let g = e === ge && (ge % 2 == 0 ? Math.abs(d.y - c.y) < .5 : Math.abs(d.x - c.x) < .5), _ = n + Math.abs(f.x - d.x) + Math.abs(f.y - d.y) + (e === a ? 0 : ve) + h + (g ? (Math.abs(f.x - d.x) + Math.abs(f.y - d.y)) * Se : 0), v = e === a ? {
|
|
1157
|
+
x: z[t],
|
|
1158
|
+
y: B[t]
|
|
1159
|
+
} : d;
|
|
1160
|
+
if (Te(t, R(r, o, e, i), _, v.x, v.y, i ? V.get(t) : void 0), !i && e !== a) {
|
|
1161
|
+
let n = Ae({
|
|
1162
|
+
x: z[t],
|
|
1163
|
+
y: B[t]
|
|
1164
|
+
}, d, l, u);
|
|
1165
|
+
n && Te(t, R(r, o, e, 1), _, d.x, d.y, n);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
if (J < 0) return null;
|
|
1170
|
+
let X = [];
|
|
1171
|
+
for (let e = J; e >= 0; e = de[e]) {
|
|
1172
|
+
let t = ((e - e % 2) / 2 - (e - e % 2) / 2 % 4) / 4;
|
|
1173
|
+
X.push({
|
|
1174
|
+
x: D[t % A],
|
|
1175
|
+
y: k[(t - t % A) / A]
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
return X.reverse(), {
|
|
1179
|
+
pts: $([
|
|
1180
|
+
e.p,
|
|
1181
|
+
...X,
|
|
1182
|
+
r.p
|
|
1183
|
+
]),
|
|
1184
|
+
label: V.get(J) ?? je,
|
|
1185
|
+
cost: Y
|
|
1186
|
+
};
|
|
1187
|
+
}, A = 2 * (Math.abs(c.x - _.x) + Math.abs(c.y - _.y)) + Te, j = ((e) => (E ? k(!0, !1, e.lo, e.hi, A) : null) ?? k(!1, !1, e.lo, e.hi))({
|
|
1188
|
+
lo: v,
|
|
1189
|
+
hi: y
|
|
1190
|
+
}) ?? k(!1, !0, v, y), N = j?.pts ?? M("elbow", e, r).pts, P = j?.label ?? void 0, ee = !!P;
|
|
1191
|
+
E && !P && (P = je(N, E, D));
|
|
1192
|
+
for (let e = 1; e < N.length; e++) {
|
|
1193
|
+
let t = e === 1 ? n.fromKey : e === N.length - 1 ? n.toKey : void 0;
|
|
1194
|
+
g.push({
|
|
1195
|
+
a: N[e - 1],
|
|
1196
|
+
b: N[e],
|
|
1197
|
+
edge: n.id,
|
|
1198
|
+
key: t
|
|
1199
|
+
}), d.add(f(N[e - 1], N[e]));
|
|
1200
|
+
}
|
|
1201
|
+
P && (d.add(P), m.push({
|
|
1202
|
+
id: `\0label:${n.id}`,
|
|
1203
|
+
r: P,
|
|
1204
|
+
kind: "block"
|
|
1205
|
+
})), s.set(n.id, P ? {
|
|
1206
|
+
pts: N,
|
|
1207
|
+
label: P,
|
|
1208
|
+
clear: ee
|
|
1209
|
+
} : { pts: N });
|
|
1210
|
+
}
|
|
1211
|
+
return s;
|
|
1212
|
+
}
|
|
1213
|
+
function je(e, t, n) {
|
|
1214
|
+
let r = F(e, t, .5), i = n(r);
|
|
1215
|
+
for (let a = 1; a <= 8 && i > 0; a++) for (let o of [.5 + a * .05, .5 - a * .05]) {
|
|
1216
|
+
let a = F(e, t, o), s = n(a);
|
|
1217
|
+
s < i && (i = s, r = a);
|
|
1218
|
+
}
|
|
1219
|
+
return r;
|
|
1220
|
+
}
|
|
1221
|
+
function X(e, t, { headOf: n, captionOf: r, around: i = [], labels: a = [], labelSize: o }, s) {
|
|
1222
|
+
let l = [];
|
|
1223
|
+
for (let t of e.nodes) t.kind !== "marker" && (c(t) ? (l.push({
|
|
1224
|
+
id: t.id,
|
|
1225
|
+
r: Ie(t),
|
|
1226
|
+
kind: "wall"
|
|
1227
|
+
}), t.kind === "region" ? t.kind === "region" && t.title && r && l.push({
|
|
1228
|
+
id: `${t.id}\0head`,
|
|
1229
|
+
r: {
|
|
1230
|
+
x: t.x,
|
|
1231
|
+
y: t.y,
|
|
1232
|
+
w: Math.min(t.w, r(t)),
|
|
1233
|
+
h: Math.min(t.h, n(t))
|
|
1234
|
+
},
|
|
1235
|
+
kind: "block"
|
|
1236
|
+
}) : l.push({
|
|
1237
|
+
id: `${t.id}\0head`,
|
|
1238
|
+
r: {
|
|
1239
|
+
x: t.x,
|
|
1240
|
+
y: t.y,
|
|
1241
|
+
w: t.w,
|
|
1242
|
+
h: Math.min(t.h, n(t))
|
|
1243
|
+
},
|
|
1244
|
+
kind: "block"
|
|
1245
|
+
})) : l.push({
|
|
1246
|
+
id: t.id,
|
|
1247
|
+
r: Ie(t),
|
|
1248
|
+
kind: "block"
|
|
1249
|
+
}), t.entry && l.push({
|
|
1250
|
+
id: `${t.id}\0entry`,
|
|
1251
|
+
r: {
|
|
1252
|
+
x: t.x - 22,
|
|
1253
|
+
y: t.y - 16,
|
|
1254
|
+
w: 21,
|
|
1255
|
+
h: 33
|
|
1256
|
+
},
|
|
1257
|
+
kind: "block"
|
|
1258
|
+
}));
|
|
1259
|
+
a.forEach((e, t) => l.push({
|
|
1260
|
+
id: `\0label${t}`,
|
|
1261
|
+
r: e,
|
|
1262
|
+
kind: "block"
|
|
1263
|
+
}));
|
|
1264
|
+
let u = /* @__PURE__ */ new Set(), d = [];
|
|
1265
|
+
for (let n of t) {
|
|
1266
|
+
let t = e.byId.get(n.from), r = e.byId.get(n.to);
|
|
1267
|
+
if (!t || !r || t === r) continue;
|
|
1268
|
+
let i = V(t, n.fromPort), a = V(r, n.toPort), c = s?.get(n.id), l = i ? S(t, i) : c?.from, f = a ? S(r, a) : c?.to;
|
|
1269
|
+
!l || !f || d.push({
|
|
1270
|
+
id: n.id,
|
|
1271
|
+
from: l,
|
|
1272
|
+
to: f,
|
|
1273
|
+
through: u,
|
|
1274
|
+
label: o?.(n) ?? null,
|
|
1275
|
+
...i ? { fromKey: `${t.id}\0${i.id}` } : null,
|
|
1276
|
+
...a ? { toKey: `${r.id}\0${a.id}` } : null
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
let f = (e) => Math.abs(e.from.p.x - e.to.p.x) + Math.abs(e.from.p.y - e.to.p.y);
|
|
1280
|
+
return d.sort((e, t) => f(e) - f(t)), ke(d, l, i);
|
|
1281
|
+
}
|
|
1282
|
+
function Me(e, t, n = G) {
|
|
1283
|
+
for (let r = 1; r < e.length; r++) {
|
|
1284
|
+
let i = e[r - 1], a = e[r], o = Math.abs(i.y - a.y) < .5, s = Math.abs(i.x - a.x) < .5;
|
|
1285
|
+
if (!(!o && !s)) for (let e = 1; e < t.length; e++) {
|
|
1286
|
+
let r = t[e - 1], c = t[e];
|
|
1287
|
+
if (o && Math.abs(r.y - c.y) < .5 && Math.abs(r.y - i.y) < 2) {
|
|
1288
|
+
if (Math.min(Math.max(i.x, a.x), Math.max(r.x, c.x)) - Math.max(Math.min(i.x, a.x), Math.min(r.x, c.x)) > n) return !0;
|
|
1289
|
+
} else if (s && Math.abs(r.x - c.x) < .5 && Math.abs(r.x - i.x) < 2 && Math.min(Math.max(i.y, a.y), Math.max(r.y, c.y)) - Math.max(Math.min(i.y, a.y), Math.min(r.y, c.y)) > n) return !0;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
return !1;
|
|
1293
|
+
}
|
|
1294
|
+
function Ne(e, t) {
|
|
1295
|
+
let n = /* @__PURE__ */ new Map();
|
|
1296
|
+
for (let t of e) {
|
|
1297
|
+
if (!t.ports?.length) continue;
|
|
1298
|
+
let e = /* @__PURE__ */ new Set();
|
|
1299
|
+
for (let n of t.sections ?? []) for (let t of n.items) t.port && e.add(t.port);
|
|
1300
|
+
for (let n of t.ports) n.offset !== void 0 && e.add(n.id);
|
|
1301
|
+
e.size && n.set(t.id, e);
|
|
1302
|
+
}
|
|
1303
|
+
if (!n.size) return e;
|
|
1304
|
+
let r = new Map(e.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = (e, t, r) => {
|
|
1305
|
+
if (!e || !t || !r || e === r || !n.get(e.id)?.has(t)) return;
|
|
1306
|
+
let a = r.x + r.w / 2, o = a < e.x ? -1 : +(a > e.x + e.w);
|
|
1307
|
+
o && i.set(`${e.id}\0${t}`, (i.get(`${e.id}\0${t}`) ?? 0) + o);
|
|
1308
|
+
};
|
|
1309
|
+
for (let e of t) a(r.get(e.from), e.fromPort, r.get(e.to)), a(r.get(e.to), e.toPort, r.get(e.from));
|
|
1310
|
+
return i.size ? e.map((e) => {
|
|
1311
|
+
if (!n.has(e.id)) return e;
|
|
1312
|
+
let t = !1, r = (t) => e.ports.filter((e) => e.offset !== void 0 && e.side === t), a = (t) => t.reduce((t, n) => t + (i.get(`${e.id}\0${n.id}`) ?? 0), 0), o = r("left"), s = r("right"), c = a(o), l = a(s), u = o.length && s.length && c > 0 && l < 0 || !s.length && c > 0 || !o.length && l < 0, d = e.ports.map((n) => {
|
|
1313
|
+
if (n.offset !== void 0) return !u || n.side !== "left" && n.side !== "right" ? n : (t = !0, {
|
|
1314
|
+
...n,
|
|
1315
|
+
side: n.side === "left" ? "right" : "left"
|
|
1316
|
+
});
|
|
1317
|
+
let r = i.get(`${e.id}\0${n.id}`) ?? 0;
|
|
1318
|
+
if (n.side !== "left" && n.side !== "right" || !r) return n;
|
|
1319
|
+
let a = r < 0 ? "left" : "right";
|
|
1320
|
+
return a === n.side ? n : (t = !0, {
|
|
1321
|
+
...n,
|
|
1322
|
+
side: a
|
|
1323
|
+
});
|
|
1324
|
+
});
|
|
1325
|
+
return t ? {
|
|
1326
|
+
...e,
|
|
1327
|
+
ports: d
|
|
1328
|
+
} : e;
|
|
1329
|
+
}) : e;
|
|
1330
|
+
}
|
|
1331
|
+
function Pe(t, n, { avoid: r = !1, headOf: i, labelSize: a, labels: o, also: s = [] } = {}) {
|
|
1332
|
+
let l = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
|
|
1333
|
+
for (let r of t) {
|
|
1334
|
+
if (r.points && r.points.length >= 2 || r.fromPort || r.toPort) continue;
|
|
1335
|
+
let t = n.byId.get(r.from), i = n.byId.get(r.to);
|
|
1336
|
+
if (!t || !i) continue;
|
|
1337
|
+
if (t === i) {
|
|
1338
|
+
let e = u.get(t.id) ?? 0;
|
|
1339
|
+
u.set(t.id, e + 1), f.set(r.id, { loop: e });
|
|
1340
|
+
continue;
|
|
1341
|
+
}
|
|
1342
|
+
if (h(n, i.id, t.id) || h(n, t.id, i.id)) continue;
|
|
1343
|
+
let a = z(t, i), o = (t, n, i, a) => {
|
|
1344
|
+
let o = `${t.id}\0${n}`, s = l.get(o), c = {
|
|
1345
|
+
edge: r.id,
|
|
1346
|
+
end: i,
|
|
1347
|
+
other: e(a)
|
|
1348
|
+
};
|
|
1349
|
+
s ? s.push(c) : l.set(o, [c]);
|
|
1350
|
+
};
|
|
1351
|
+
o(t, a.from, "from", i), o(i, a.to, "to", t), m.set(r.id, [`${t.id}\0${a.from}`, `${i.id}\0${a.to}`]);
|
|
1352
|
+
}
|
|
1353
|
+
for (let [e, [t, n]] of m) {
|
|
1354
|
+
let r = l.get(t)?.length ?? 0, i = l.get(n)?.length ?? 0;
|
|
1355
|
+
r !== i && f.set(e, {
|
|
1356
|
+
...f.get(e),
|
|
1357
|
+
turn: r > i ? 0 : 1
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
for (let [e, t] of l) {
|
|
1361
|
+
if (t.length < 2) continue;
|
|
1362
|
+
let n = e.slice(e.lastIndexOf("\0") + 1), r = n === "top" || n === "bottom";
|
|
1363
|
+
t.sort((e, t) => (r ? e.other.x - t.other.x : e.other.y - t.other.y) || (e.edge < t.edge ? -1 : 1)), t.forEach((e, n) => {
|
|
1364
|
+
let r = f.get(e.edge) ?? {};
|
|
1365
|
+
r[e.end] = (n + 1) / (t.length + 1), f.set(e.edge, r);
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
let g = /* @__PURE__ */ new Map(), _ = r ? [...n.nodes.flatMap((e) => e.kind === "marker" || e.kind === "region" ? [] : c(e) ? e.kind === "root" ? [] : [{
|
|
1369
|
+
id: e.id,
|
|
1370
|
+
r: {
|
|
1371
|
+
x: e.x,
|
|
1372
|
+
y: e.y,
|
|
1373
|
+
w: e.w,
|
|
1374
|
+
h: Math.min(e.h, i ? i(e) : Fe)
|
|
1375
|
+
}
|
|
1376
|
+
}] : [{
|
|
1377
|
+
id: e.id,
|
|
1378
|
+
r: Ie(e)
|
|
1379
|
+
}]), ...s.map((e, t) => ({
|
|
1380
|
+
id: `\0also${t}`,
|
|
1381
|
+
r: e
|
|
1382
|
+
}))] : [];
|
|
1383
|
+
for (let e of t) {
|
|
1384
|
+
let t = fe(e, n, f.get(e.id));
|
|
1385
|
+
if (t && r && !e.points && e.from !== e.to && e.route !== "curve" && e.route !== "straight") {
|
|
1386
|
+
let r = /* @__PURE__ */ new Set([
|
|
1387
|
+
e.from,
|
|
1388
|
+
e.to,
|
|
1389
|
+
...p(n, e.from),
|
|
1390
|
+
...p(n, e.to)
|
|
1391
|
+
]), i = _.filter((e) => !r.has(e.id)).map((e) => e.r);
|
|
1392
|
+
if (me(t.pts, i)) {
|
|
1393
|
+
let e = t.pts[0], n = t.pts[t.pts.length - 1], r = ge({
|
|
1394
|
+
p: e,
|
|
1395
|
+
n: Le({
|
|
1396
|
+
x: -t.startDir.x,
|
|
1397
|
+
y: -t.startDir.y
|
|
1398
|
+
})
|
|
1399
|
+
}, {
|
|
1400
|
+
p: n,
|
|
1401
|
+
n: Le({
|
|
1402
|
+
x: -t.endDir.x,
|
|
1403
|
+
y: -t.endDir.y
|
|
1404
|
+
})
|
|
1405
|
+
}, i);
|
|
1406
|
+
r && (t = k(r));
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
t && g.set(e.id, t);
|
|
1410
|
+
}
|
|
1411
|
+
if (r && i) {
|
|
1412
|
+
let e = t.filter((e) => !e.points && e.from !== e.to && e.route !== "curve" && e.route !== "straight" && g.has(e.id) && (e.fromPort || e.toPort)), r = new Set(e.map((e) => e.id)), s = t.filter((e) => g.has(e.id) && !r.has(e.id));
|
|
1413
|
+
s.forEach((t, n) => {
|
|
1414
|
+
if (t.points || t.from === t.to || t.route === "curve" || t.route === "straight") return;
|
|
1415
|
+
let i = g.get(t.id);
|
|
1416
|
+
s.slice(0, n).some((e) => !r.has(e.id) && Me(i.pts, g.get(e.id).pts)) && (e.push(t), r.add(t.id));
|
|
1417
|
+
});
|
|
1418
|
+
let c = (e) => e.from < e.to ? `${e.from}\0${e.to}` : `${e.to}\0${e.from}`, l = /* @__PURE__ */ new Map();
|
|
1419
|
+
for (let e of s) !e.points && e.from !== e.to && e.route !== "curve" && e.route !== "straight" && d(e) && l.set(c(e), [...l.get(c(e)) ?? [], e]);
|
|
1420
|
+
for (let t of l.values()) if (t.length > 1) for (let n of t) r.has(n.id) || (e.push(n), r.add(n.id));
|
|
1421
|
+
if (e.length) {
|
|
1422
|
+
let s = new Map(e.map((e) => {
|
|
1423
|
+
let t = g.get(e.id);
|
|
1424
|
+
return [e.id, {
|
|
1425
|
+
from: {
|
|
1426
|
+
p: t.start,
|
|
1427
|
+
n: Le({
|
|
1428
|
+
x: -t.startDir.x,
|
|
1429
|
+
y: -t.startDir.y
|
|
1430
|
+
})
|
|
1431
|
+
},
|
|
1432
|
+
to: {
|
|
1433
|
+
p: t.end,
|
|
1434
|
+
n: Le({
|
|
1435
|
+
x: -t.endDir.x,
|
|
1436
|
+
y: -t.endDir.y
|
|
1437
|
+
})
|
|
1438
|
+
}
|
|
1439
|
+
}];
|
|
1440
|
+
})), c = X(n, e, {
|
|
1441
|
+
headOf: i,
|
|
1442
|
+
labelSize: a,
|
|
1443
|
+
around: t.filter((e) => !r.has(e.id) && g.has(e.id)).map((e) => g.get(e.id).pts)
|
|
1444
|
+
}, s);
|
|
1445
|
+
for (let [e, t] of c) g.set(e, k(t.pts)), t.label && o?.set(e, t.label);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
return g;
|
|
1449
|
+
}
|
|
1450
|
+
var Fe = 32, Ie = (e) => ({
|
|
1451
|
+
x: e.x,
|
|
1452
|
+
y: e.y,
|
|
1453
|
+
w: e.w,
|
|
1454
|
+
h: e.h
|
|
1455
|
+
}), Le = (e) => Math.abs(e.x) < 1e-6 && Math.abs(e.y) < 1e-6 ? null : Math.abs(e.x) >= Math.abs(e.y) ? {
|
|
1456
|
+
x: Math.sign(e.x),
|
|
1457
|
+
y: 0
|
|
1458
|
+
} : {
|
|
1459
|
+
x: 0,
|
|
1460
|
+
y: Math.sign(e.y)
|
|
1461
|
+
}, Re = (e, t) => n(t, e.pts), ze = (e) => i(e.pts);
|
|
1462
|
+
function Be(e, t, n = 0) {
|
|
1463
|
+
let i = null, a = -1;
|
|
1464
|
+
for (let o of t.nodes) {
|
|
1465
|
+
if (!r(e, o, n)) continue;
|
|
1466
|
+
let s = t.depth.get(o.id) ?? 0;
|
|
1467
|
+
s >= a && (i = o, a = s);
|
|
1468
|
+
}
|
|
1469
|
+
return i;
|
|
1470
|
+
}
|
|
1471
|
+
function Ve(e, t, n) {
|
|
1472
|
+
let r = He(e, t, n);
|
|
1473
|
+
return r.length ? r[r.length - 1] : null;
|
|
1474
|
+
}
|
|
1475
|
+
function He(e, t, n) {
|
|
1476
|
+
let r = [], i = Infinity;
|
|
1477
|
+
for (let [a, o] of t) {
|
|
1478
|
+
let t = Re(o, e);
|
|
1479
|
+
t > n || (t < i - 1e-9 ? (r = [a], i = t) : t <= i + 1e-9 && r.push(a));
|
|
1480
|
+
}
|
|
1481
|
+
return r;
|
|
1482
|
+
}
|
|
1483
|
+
function Ue(e) {
|
|
1484
|
+
let t = [];
|
|
1485
|
+
for (let n of e.nodes) {
|
|
1486
|
+
let r = (e.children.get(n.id) ?? []).filter((e) => e.kind === "region");
|
|
1487
|
+
if (r.length < 2) continue;
|
|
1488
|
+
let i = 0, a = 0;
|
|
1489
|
+
for (let e = 0; e < r.length; e++) for (let t = e + 1; t < r.length; t++) {
|
|
1490
|
+
let n = r[e], o = r[t];
|
|
1491
|
+
i += Math.max(0, Math.min(n.x + n.w, o.x + o.w) - Math.max(n.x, o.x)), a += Math.max(0, Math.min(n.y + n.h, o.y + o.h) - Math.max(n.y, o.y));
|
|
1492
|
+
}
|
|
1493
|
+
let o = i >= a, s = [...r].sort((e, t) => o ? e.y - t.y : e.x - t.x);
|
|
1494
|
+
for (let e = 1; e < s.length; e++) {
|
|
1495
|
+
let r = s[e - 1], i = s[e];
|
|
1496
|
+
if (o) {
|
|
1497
|
+
let a = (r.y + r.h + i.y) / 2;
|
|
1498
|
+
t.push({
|
|
1499
|
+
id: `${n.id}/${e}`,
|
|
1500
|
+
x1: n.x,
|
|
1501
|
+
x2: n.x + n.w,
|
|
1502
|
+
y1: a,
|
|
1503
|
+
y2: a
|
|
1504
|
+
});
|
|
1505
|
+
} else {
|
|
1506
|
+
let a = (r.x + r.w + i.x) / 2;
|
|
1507
|
+
t.push({
|
|
1508
|
+
id: `${n.id}/${e}`,
|
|
1509
|
+
x1: a,
|
|
1510
|
+
x2: a,
|
|
1511
|
+
y1: n.y,
|
|
1512
|
+
y2: n.y + n.h
|
|
1513
|
+
});
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
return t;
|
|
1518
|
+
}
|
|
1519
|
+
function We(e, t = [], n = []) {
|
|
1520
|
+
let r = [...e];
|
|
1521
|
+
for (let e of t) r.push(i(e.pts));
|
|
1522
|
+
for (let e of n) r.push(e);
|
|
1523
|
+
return o(r);
|
|
1524
|
+
}
|
|
1525
|
+
var Z = {
|
|
1526
|
+
headerX: 10,
|
|
1527
|
+
headerY: 6,
|
|
1528
|
+
glyph: 14,
|
|
1529
|
+
glyphGap: 6,
|
|
1530
|
+
trailingGap: 8,
|
|
1531
|
+
badgeX: 6,
|
|
1532
|
+
badgeY: 1,
|
|
1533
|
+
bodyX: 10,
|
|
1534
|
+
bodyTop: 8,
|
|
1535
|
+
bodyBottom: 10,
|
|
1536
|
+
descriptionGap: 8,
|
|
1537
|
+
sectionGap: 10,
|
|
1538
|
+
captionGap: 4,
|
|
1539
|
+
chipX: 8,
|
|
1540
|
+
chipY: 2,
|
|
1541
|
+
chipIcon: 12,
|
|
1542
|
+
chipIconGap: 6,
|
|
1543
|
+
chipDescriptionGap: 6,
|
|
1544
|
+
chipGap: 4,
|
|
1545
|
+
rowGap: 2,
|
|
1546
|
+
minW: 64,
|
|
1547
|
+
inlineMax: 560,
|
|
1548
|
+
pillX: 10,
|
|
1549
|
+
pillY: 4,
|
|
1550
|
+
labelX: 10,
|
|
1551
|
+
labelTop: 6,
|
|
1552
|
+
labelTitleGap: 6,
|
|
1553
|
+
labelBottom: 8
|
|
1554
|
+
}, Ge = 12, Ke = .875, qe = {
|
|
1555
|
+
side: 16,
|
|
1556
|
+
bottom: 16,
|
|
1557
|
+
top: 12
|
|
1558
|
+
}, Je = {
|
|
1559
|
+
w: 0,
|
|
1560
|
+
h: 0
|
|
1561
|
+
};
|
|
1562
|
+
function Ye(e, t, n) {
|
|
1563
|
+
return typeof e == "string" ? t : Math.max(t, n(e.text, "trailing").w + 4);
|
|
1564
|
+
}
|
|
1565
|
+
var Xe = /* @__PURE__ */ new Set(), Ze = (e, t) => !t || !e.description ? e.title : (e.title.endsWith(":") && !Xe.has(e.title) && (Xe.add(e.title), console.warn(`Diagram: the code item "${e.title}" ends in a colon, and a key in a code section gets one of its own ("${e.title}:"). Leave it off.`)), `${e.title}:`);
|
|
1566
|
+
function Qe(e, t, n) {
|
|
1567
|
+
let r = Z, i = t === "code", a = n(Ze(e, i), i ? "code" : "item"), o = e.description ? n(e.description, i ? "code" : "description") : Je, s = e.icon ? Ye(e.icon, r.chipIcon, n) : 0, c = (s ? s + r.chipIconGap : 0) + a.w + (e.description ? r.chipDescriptionGap + o.w : 0), l = Math.max(a.h, o.h, s ? r.chipIcon : 0);
|
|
1568
|
+
return !t || t === "default" || t === "inline" ? {
|
|
1569
|
+
w: c + r.chipX * 2 + 2,
|
|
1570
|
+
h: l + r.chipY * 2 + 2
|
|
1571
|
+
} : {
|
|
1572
|
+
w: c,
|
|
1573
|
+
h: l
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
function $e(e, t, n = Z.sectionGap) {
|
|
1577
|
+
let r = Z, i = /* @__PURE__ */ new Map(), a = 0, o = 0, s = !0;
|
|
1578
|
+
return e.forEach((e, c) => {
|
|
1579
|
+
if (!(!e.items.length && !e.title)) {
|
|
1580
|
+
if (s || (a += n), s = !1, e.title) {
|
|
1581
|
+
let n = t(e.title, "caption");
|
|
1582
|
+
o = Math.max(o, n.w), a += n.h + (e.items.length ? r.captionGap : 0);
|
|
1583
|
+
}
|
|
1584
|
+
if (e.variant === "inline") {
|
|
1585
|
+
let n = 0, s = 0;
|
|
1586
|
+
e.items.forEach((d) => {
|
|
1587
|
+
let f = Qe(d, e.variant, t);
|
|
1588
|
+
n && n + r.chipGap + f.w > r.inlineMax && (a += s + r.chipGap, n = 0, s = 0), n += (n ? r.chipGap : 0) + f.w, s = Math.max(s, f.h), i.set(`${l(e, c)}\0${u(d)}`, a + f.h / 2), o = Math.max(o, n);
|
|
1589
|
+
}), a += s;
|
|
1590
|
+
return;
|
|
1591
|
+
}
|
|
1592
|
+
e.items.forEach((n, s) => {
|
|
1593
|
+
s && (a += !e.variant || e.variant === "default" ? r.chipGap : r.rowGap);
|
|
1594
|
+
let d = Qe(n, e.variant, t);
|
|
1595
|
+
i.set(`${l(e, c)}\0${u(n)}`, a + d.h / 2), o = Math.max(o, d.w), a += d.h;
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
}), {
|
|
1599
|
+
w: o,
|
|
1600
|
+
h: a,
|
|
1601
|
+
rows: i
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
function et(e, t) {
|
|
1605
|
+
let n = Z, r = e.title ? t(e.title, "title") : Je, i = e.icon ? Ye(e.icon, n.glyph, t) : 0, a = e.trailing ? t(e.trailing, "trailing") : null;
|
|
1606
|
+
return {
|
|
1607
|
+
w: n.headerX * 2 + (i ? i + (r.w ? n.glyphGap : 0) : 0) + r.w + (a ? n.trailingGap + a.w + n.badgeX * 2 : 0),
|
|
1608
|
+
h: Math.max(r.h || t("M", "title").h, i ? n.glyph : 0, a ? a.h + n.badgeY * 2 : 0) + n.headerY * 2
|
|
1609
|
+
};
|
|
1610
|
+
}
|
|
1611
|
+
function tt(e, t) {
|
|
1612
|
+
let n = Z, r = e.sections?.filter((e) => e.items.length || e.title) ?? [];
|
|
1613
|
+
if (!e.description && !r.length) return null;
|
|
1614
|
+
let i = e.description ? t(e.description, "description") : Je, a = r.length ? $e(r, t) : {
|
|
1615
|
+
w: 0,
|
|
1616
|
+
h: 0,
|
|
1617
|
+
rows: /* @__PURE__ */ new Map()
|
|
1618
|
+
}, o = n.bodyTop + i.h + (e.description && r.length ? n.descriptionGap : 0), s = /* @__PURE__ */ new Map();
|
|
1619
|
+
for (let [e, t] of a.rows) s.set(e, o + t);
|
|
1620
|
+
return {
|
|
1621
|
+
w: Math.max(i.w, a.w) + n.bodyX * 2,
|
|
1622
|
+
h: o + a.h + n.bodyBottom,
|
|
1623
|
+
rows: s
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
function nt(e, t) {
|
|
1627
|
+
if (e.kind === "marker") return {
|
|
1628
|
+
w: 12,
|
|
1629
|
+
h: 12,
|
|
1630
|
+
border: 0,
|
|
1631
|
+
header: 0,
|
|
1632
|
+
top: 0,
|
|
1633
|
+
rows: /* @__PURE__ */ new Map()
|
|
1634
|
+
};
|
|
1635
|
+
let n = Z, r = e.variant === "double" ? 2 : e.kind === "region" ? 0 : 1, i = e.variant === "double" ? 4 : r * 2, a = e.title || e.icon || e.trailing || !c(e) ? et(e, t) : {
|
|
1636
|
+
w: 0,
|
|
1637
|
+
h: 0
|
|
1638
|
+
}, o = tt(e, t), s = /* @__PURE__ */ new Map(), l = r + a.h + (a.h && o ? 1 : 0);
|
|
1639
|
+
if (o) for (let [e, t] of o.rows) s.set(e, l + t);
|
|
1640
|
+
let u = l + (o?.h ?? 0);
|
|
1641
|
+
return {
|
|
1642
|
+
w: Math.ceil(Math.max(c(e) ? 0 : n.minW, a.w, o?.w ?? 0) + i),
|
|
1643
|
+
h: Math.ceil(u + r + (i - r * 2) / 2),
|
|
1644
|
+
border: r,
|
|
1645
|
+
header: a.h,
|
|
1646
|
+
top: u,
|
|
1647
|
+
rows: s
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
function rt(e, t) {
|
|
1651
|
+
let n = nt(e, t);
|
|
1652
|
+
return {
|
|
1653
|
+
w: n.w,
|
|
1654
|
+
h: n.h
|
|
1655
|
+
};
|
|
1656
|
+
}
|
|
1657
|
+
function it(e, t) {
|
|
1658
|
+
if (!d(e)) return null;
|
|
1659
|
+
let n = Z, r = e.title ? t(e.title, "edge") : Je, i = e.icon ? Ye(e.icon, n.chipIcon, t) : 0, a = {
|
|
1660
|
+
w: (i ? i + (r.w ? 4 : 0) : 0) + r.w,
|
|
1661
|
+
h: Math.max(r.h, i ? n.chipIcon : 0)
|
|
1662
|
+
}, o = e.sections?.filter((e) => e.items.length || e.title) ?? [];
|
|
1663
|
+
if (!o.length) return {
|
|
1664
|
+
w: Math.ceil(a.w + n.pillX * 2 + 2),
|
|
1665
|
+
h: Math.ceil(a.h + n.pillY * 2 + 2)
|
|
1666
|
+
};
|
|
1667
|
+
let s = $e(o, t, 8);
|
|
1668
|
+
return {
|
|
1669
|
+
w: Math.ceil(Math.max(a.w, s.w) + n.labelX * 2 + 2),
|
|
1670
|
+
h: Math.ceil(n.labelTop + a.h + (a.h ? n.labelTitleGap : 0) + s.h + n.labelBottom + 2)
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
function at(e, t, n) {
|
|
1674
|
+
if (!e.ports?.length || !e.sections?.length) return e;
|
|
1675
|
+
let r = /* @__PURE__ */ new Map();
|
|
1676
|
+
if (e.sections.forEach((e, n) => e.items.forEach((i) => {
|
|
1677
|
+
i.port && r.set(i.port, t.rows.get(`${l(e, n)}\0${u(i)}`) ?? -1);
|
|
1678
|
+
})), !r.size) return e;
|
|
1679
|
+
let i = !1, a = e.ports.map((e) => {
|
|
1680
|
+
let t = r.get(e.id);
|
|
1681
|
+
return e.at !== void 0 || e.offset !== void 0 || t === void 0 || t < 0 || e.side !== "left" && e.side !== "right" ? e : (i = !0, {
|
|
1682
|
+
...e,
|
|
1683
|
+
at: Math.round(t / (n || 1) * 1e3) / 1e3
|
|
1684
|
+
});
|
|
1685
|
+
});
|
|
1686
|
+
return i ? {
|
|
1687
|
+
...e,
|
|
1688
|
+
ports: a
|
|
1689
|
+
} : e;
|
|
1690
|
+
}
|
|
1691
|
+
function ot(e, t = []) {
|
|
1692
|
+
let n = [], r = (e) => {
|
|
1693
|
+
e && typeof e != "string" && n.push({
|
|
1694
|
+
text: e.text,
|
|
1695
|
+
kind: "trailing"
|
|
1696
|
+
});
|
|
1697
|
+
}, i = (e) => {
|
|
1698
|
+
for (let t of e ?? []) {
|
|
1699
|
+
t.title && n.push({
|
|
1700
|
+
text: t.title,
|
|
1701
|
+
kind: "caption"
|
|
1702
|
+
});
|
|
1703
|
+
let e = t.variant === "code";
|
|
1704
|
+
for (let i of t.items) n.push({
|
|
1705
|
+
text: Ze(i, e),
|
|
1706
|
+
kind: e ? "code" : "item"
|
|
1707
|
+
}), i.description && n.push({
|
|
1708
|
+
text: i.description,
|
|
1709
|
+
kind: e ? "code" : "description"
|
|
1710
|
+
}), r(i.icon);
|
|
1711
|
+
}
|
|
1712
|
+
};
|
|
1713
|
+
for (let t of e) t.kind !== "marker" && (t.title && n.push({
|
|
1714
|
+
text: t.title,
|
|
1715
|
+
kind: "title"
|
|
1716
|
+
}), t.trailing && n.push({
|
|
1717
|
+
text: t.trailing,
|
|
1718
|
+
kind: "trailing"
|
|
1719
|
+
}), t.description && n.push({
|
|
1720
|
+
text: t.description,
|
|
1721
|
+
kind: "description"
|
|
1722
|
+
}), r(t.icon), i(t.sections));
|
|
1723
|
+
for (let e of t) e.title && n.push({
|
|
1724
|
+
text: e.title,
|
|
1725
|
+
kind: "edge"
|
|
1726
|
+
}), r(e.icon), i(e.sections);
|
|
1727
|
+
return n;
|
|
1728
|
+
}
|
|
1729
|
+
function st(e, t) {
|
|
1730
|
+
return e.map((e) => {
|
|
1731
|
+
if (c(e)) return e;
|
|
1732
|
+
let n = nt(e, t), r = at(e, n, n.h);
|
|
1733
|
+
return n.w === e.w && n.h === e.h && r === e ? e : {
|
|
1734
|
+
...r,
|
|
1735
|
+
x: e.x + (e.w - n.w) / 2,
|
|
1736
|
+
y: e.y + (e.h - n.h) / 2,
|
|
1737
|
+
w: n.w,
|
|
1738
|
+
h: n.h
|
|
1739
|
+
};
|
|
1740
|
+
});
|
|
1741
|
+
}
|
|
1742
|
+
function ct(e, t, n = "DOWN") {
|
|
1743
|
+
let r = n === "RIGHT" || n === "LEFT", i = (e) => r ? {
|
|
1744
|
+
x: e.y,
|
|
1745
|
+
y: e.x
|
|
1746
|
+
} : e, a = (e) => r ? {
|
|
1747
|
+
x: e.y,
|
|
1748
|
+
y: e.x,
|
|
1749
|
+
w: e.h,
|
|
1750
|
+
h: e.w
|
|
1751
|
+
} : e, o = a(e), s = a(t), c = s.x + s.w / 2 < o.x + o.w / 2, l = c ? o.x : o.x + o.w, u = c ? s.x + s.w : s.x, d = (l + u) / 2, f = s.x + s.w / 2, p = Math.max(o.y + 8, s.y + 8), m = Math.min(Math.max(p, o.y + o.h * .3), o.y + o.h - 18, s.y + s.h - 8), h = Math.max(m + 10, o.y + o.h - Math.min(10, o.h / 4)), g = Math.max(s.y + s.h + 12, h + 12);
|
|
1752
|
+
return [
|
|
1753
|
+
{
|
|
1754
|
+
x: l,
|
|
1755
|
+
y: m
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
x: u,
|
|
1759
|
+
y: m
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
x: f,
|
|
1763
|
+
y: m
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
x: f,
|
|
1767
|
+
y: g
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
x: d,
|
|
1771
|
+
y: g
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
x: d,
|
|
1775
|
+
y: h
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
x: l,
|
|
1779
|
+
y: h
|
|
1780
|
+
}
|
|
1781
|
+
].map((e) => {
|
|
1782
|
+
let t = i(e);
|
|
1783
|
+
return {
|
|
1784
|
+
x: L(t.x),
|
|
1785
|
+
y: L(t.y)
|
|
1786
|
+
};
|
|
1787
|
+
});
|
|
1788
|
+
}
|
|
1789
|
+
function lt(e, t) {
|
|
1790
|
+
let n = /* @__PURE__ */ new Map(), r = {
|
|
1791
|
+
after: e.x + e.w,
|
|
1792
|
+
before: e.x
|
|
1793
|
+
};
|
|
1794
|
+
return t.forEach((t, i) => {
|
|
1795
|
+
let a = t.size ?? {
|
|
1796
|
+
w: 16,
|
|
1797
|
+
h: 8
|
|
1798
|
+
}, o = i % 2 == 0, s = {
|
|
1799
|
+
x: L(o ? r.after + 32 : r.before - 32 - a.w),
|
|
1800
|
+
y: L(e.y + e.h / 2 - a.h / 2),
|
|
1801
|
+
w: a.w,
|
|
1802
|
+
h: a.h
|
|
1803
|
+
};
|
|
1804
|
+
o ? r.after = s.x + s.w : r.before = s.x, n.set(t.id, {
|
|
1805
|
+
points: ct(e, s),
|
|
1806
|
+
...t.size ? { labelBox: s } : null
|
|
1807
|
+
});
|
|
1808
|
+
}), n;
|
|
1809
|
+
}
|
|
1810
|
+
function ut(e, t) {
|
|
1811
|
+
let n = !1, r = e.map((e) => {
|
|
1812
|
+
if (c(e) || e.kind === "marker" || !(e.title || e.description || e.sections?.length)) return e;
|
|
1813
|
+
let r = nt(e, t), i = Math.max(e.w, r.w), a = Math.max(e.h, r.h);
|
|
1814
|
+
return i - e.w < .5 && a - e.h < .5 ? e : (n = !0, {
|
|
1815
|
+
...e,
|
|
1816
|
+
x: e.x - (i - e.w) / 2,
|
|
1817
|
+
y: e.y - (a - e.h) / 2,
|
|
1818
|
+
w: i,
|
|
1819
|
+
h: a
|
|
1820
|
+
});
|
|
1821
|
+
});
|
|
1822
|
+
return n ? r : e;
|
|
1823
|
+
}
|
|
1824
|
+
var Q = (e, t) => Math.abs(e - t) < .01;
|
|
1825
|
+
function $(e) {
|
|
1826
|
+
let t = [];
|
|
1827
|
+
for (let n of e) {
|
|
1828
|
+
let e = t[t.length - 1], r = t[t.length - 2];
|
|
1829
|
+
e && Q(e.x, n.x) && Q(e.y, n.y) || (e && r && (Q(e.x, r.x) && Q(e.x, n.x) || Q(e.y, r.y) && Q(e.y, n.y)) && t.pop(), t.push(n));
|
|
1830
|
+
}
|
|
1831
|
+
return t;
|
|
1832
|
+
}
|
|
1833
|
+
function dt(e, t, n) {
|
|
1834
|
+
if (e.length < 2 || !t.x && !t.y && !n.x && !n.y) return [...e];
|
|
1835
|
+
if (t.x === n.x && t.y === n.y) return e.map((e) => ({
|
|
1836
|
+
x: e.x + t.x,
|
|
1837
|
+
y: e.y + t.y
|
|
1838
|
+
}));
|
|
1839
|
+
let r = $(e);
|
|
1840
|
+
if (r.length < 2) return e.map((r, i) => i === e.length - 1 ? {
|
|
1841
|
+
x: r.x + n.x,
|
|
1842
|
+
y: r.y + n.y
|
|
1843
|
+
} : {
|
|
1844
|
+
x: r.x + t.x,
|
|
1845
|
+
y: r.y + t.y
|
|
1846
|
+
});
|
|
1847
|
+
let i = r.length - 1, a = {
|
|
1848
|
+
x: r[0].x + t.x,
|
|
1849
|
+
y: r[0].y + t.y
|
|
1850
|
+
}, o = {
|
|
1851
|
+
x: r[i].x + n.x,
|
|
1852
|
+
y: r[i].y + n.y
|
|
1853
|
+
};
|
|
1854
|
+
if (i === 1) {
|
|
1855
|
+
if (Q(r[0].y, r[1].y) && !Q(a.y, o.y)) {
|
|
1856
|
+
let e = (a.x + o.x) / 2;
|
|
1857
|
+
return [
|
|
1858
|
+
a,
|
|
1859
|
+
{
|
|
1860
|
+
x: e,
|
|
1861
|
+
y: a.y
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
x: e,
|
|
1865
|
+
y: o.y
|
|
1866
|
+
},
|
|
1867
|
+
o
|
|
1868
|
+
];
|
|
1869
|
+
}
|
|
1870
|
+
if (Q(r[0].x, r[1].x) && !Q(a.x, o.x)) {
|
|
1871
|
+
let e = (a.y + o.y) / 2;
|
|
1872
|
+
return [
|
|
1873
|
+
a,
|
|
1874
|
+
{
|
|
1875
|
+
x: a.x,
|
|
1876
|
+
y: e
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
x: o.x,
|
|
1880
|
+
y: e
|
|
1881
|
+
},
|
|
1882
|
+
o
|
|
1883
|
+
];
|
|
1884
|
+
}
|
|
1885
|
+
return [a, o];
|
|
1886
|
+
}
|
|
1887
|
+
let s = r.map((e) => ({ ...e })), c = (e, t, n) => {
|
|
1888
|
+
Q(r[e].y, r[t].y) ? s[e] = {
|
|
1889
|
+
x: s[e].x,
|
|
1890
|
+
y: s[e].y + n.y
|
|
1891
|
+
} : Q(r[e].x, r[t].x) ? s[e] = {
|
|
1892
|
+
x: s[e].x + n.x,
|
|
1893
|
+
y: s[e].y
|
|
1894
|
+
} : s[e] = {
|
|
1895
|
+
x: s[e].x + n.x,
|
|
1896
|
+
y: s[e].y + n.y
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
return c(1, 0, t), c(i - 1, i, n), s[0] = a, s[i] = o, s;
|
|
1900
|
+
}
|
|
1901
|
+
function ft(t, r, i) {
|
|
1902
|
+
let a = e(t), o;
|
|
1903
|
+
if (r.length === i.length && r.length >= 2) {
|
|
1904
|
+
let e = 1, t = Infinity;
|
|
1905
|
+
for (let i = 1; i < r.length; i++) {
|
|
1906
|
+
let o = n(a, [r[i - 1], r[i]]);
|
|
1907
|
+
o < t && (t = o, e = i);
|
|
1908
|
+
}
|
|
1909
|
+
o = {
|
|
1910
|
+
x: (i[e - 1].x + i[e].x - r[e - 1].x - r[e].x) / 2,
|
|
1911
|
+
y: (i[e - 1].y + i[e].y - r[e - 1].y - r[e].y) / 2
|
|
1912
|
+
};
|
|
1913
|
+
} else {
|
|
1914
|
+
let e = O(r).point, t = O(i).point;
|
|
1915
|
+
o = {
|
|
1916
|
+
x: t.x - e.x,
|
|
1917
|
+
y: t.y - e.y
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
return {
|
|
1921
|
+
...t,
|
|
1922
|
+
x: t.x + o.x,
|
|
1923
|
+
y: t.y + o.y
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
var pt = {
|
|
1927
|
+
top: 32,
|
|
1928
|
+
side: 12
|
|
1929
|
+
};
|
|
1930
|
+
function mt(e, t, n, r, i, a = f(e)) {
|
|
1931
|
+
let o = /* @__PURE__ */ new Set(), s = [];
|
|
1932
|
+
for (let e of n) if (!(!a.byId.has(e) || o.has(e))) {
|
|
1933
|
+
s.push(e), o.add(e);
|
|
1934
|
+
for (let t of m(a, e)) o.add(t);
|
|
1935
|
+
}
|
|
1936
|
+
let c = /* @__PURE__ */ new Map(), l = (e, t) => {
|
|
1937
|
+
let n = a.parent.get(e);
|
|
1938
|
+
if (!n || o.has(n)) return;
|
|
1939
|
+
let r = c.get(n) ?? a.byId.get(n), i = Math.min(r.x, t.x - pt.side), s = Math.min(r.y, t.y - pt.top), u = Math.max(r.x + r.w, t.x + t.w + pt.side), d = Math.max(r.y + r.h, t.y + t.h + pt.side);
|
|
1940
|
+
if (i === r.x && s === r.y && u === r.x + r.w && d === r.y + r.h) return;
|
|
1941
|
+
let f = {
|
|
1942
|
+
x: i,
|
|
1943
|
+
y: s,
|
|
1944
|
+
w: u - i,
|
|
1945
|
+
h: d - s
|
|
1946
|
+
};
|
|
1947
|
+
c.set(n, f), l(n, f);
|
|
1948
|
+
};
|
|
1949
|
+
if (r || i) for (let e of s) {
|
|
1950
|
+
let t = a.byId.get(e);
|
|
1951
|
+
l(e, {
|
|
1952
|
+
x: t.x + r,
|
|
1953
|
+
y: t.y + i,
|
|
1954
|
+
w: t.w,
|
|
1955
|
+
h: t.h
|
|
1956
|
+
});
|
|
1957
|
+
}
|
|
1958
|
+
let u = e.map((e) => {
|
|
1959
|
+
if (o.has(e.id)) return r || i ? {
|
|
1960
|
+
...e,
|
|
1961
|
+
x: e.x + r,
|
|
1962
|
+
y: e.y + i
|
|
1963
|
+
} : e;
|
|
1964
|
+
let t = c.get(e.id);
|
|
1965
|
+
return t ? {
|
|
1966
|
+
...e,
|
|
1967
|
+
...t
|
|
1968
|
+
} : e;
|
|
1969
|
+
}), d = {
|
|
1970
|
+
x: r,
|
|
1971
|
+
y: i
|
|
1972
|
+
}, p = {
|
|
1973
|
+
x: 0,
|
|
1974
|
+
y: 0
|
|
1975
|
+
}, h = (e, t) => {
|
|
1976
|
+
if (o.has(e)) return d;
|
|
1977
|
+
let n = c.get(e);
|
|
1978
|
+
if (!n || !t) return p;
|
|
1979
|
+
let r = a.byId.get(e), i = Q(t.x, r.x), s = Q(t.x, r.x + r.w), l = Q(t.y, r.y), u = Q(t.y, r.y + r.h);
|
|
1980
|
+
return {
|
|
1981
|
+
x: i ? n.x - r.x : s ? n.x + n.w - r.x - r.w : 0,
|
|
1982
|
+
y: l ? n.y - r.y : u ? n.y + n.h - r.y - r.h : 0
|
|
1983
|
+
};
|
|
1984
|
+
};
|
|
1985
|
+
return {
|
|
1986
|
+
nodes: u,
|
|
1987
|
+
edges: t.map((e) => {
|
|
1988
|
+
let t = h(e.from, e.points?.[0]), n = h(e.to, e.points?.[e.points.length - 1]);
|
|
1989
|
+
if (!t.x && !t.y && !n.x && !n.y) return e;
|
|
1990
|
+
if (!e.points || e.points.length < 2) return e.labelBox ? {
|
|
1991
|
+
...e,
|
|
1992
|
+
labelBox: {
|
|
1993
|
+
...e.labelBox,
|
|
1994
|
+
x: e.labelBox.x + (t.x + n.x) / 2,
|
|
1995
|
+
y: e.labelBox.y + (t.y + n.y) / 2
|
|
1996
|
+
}
|
|
1997
|
+
} : e;
|
|
1998
|
+
let r = dt(e.points, t, n);
|
|
1999
|
+
return {
|
|
2000
|
+
...e,
|
|
2001
|
+
points: r,
|
|
2002
|
+
...e.labelBox ? { labelBox: ft(e.labelBox, $(e.points).length === r.length ? $(e.points) : e.points, r) } : null
|
|
2003
|
+
};
|
|
2004
|
+
})
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
var ht = {
|
|
2008
|
+
nodes: [],
|
|
2009
|
+
edges: []
|
|
2010
|
+
};
|
|
2011
|
+
function gt(e, t, n, r = f(e)) {
|
|
2012
|
+
let i = /* @__PURE__ */ new Set();
|
|
2013
|
+
for (let e of n.nodes) if (r.byId.has(e)) {
|
|
2014
|
+
i.add(e);
|
|
2015
|
+
for (let t of m(r, e)) i.add(t);
|
|
2016
|
+
}
|
|
2017
|
+
let a = new Set(n.edges);
|
|
2018
|
+
return {
|
|
2019
|
+
nodes: e.filter((e) => !i.has(e.id)),
|
|
2020
|
+
edges: t.filter((e) => !a.has(e.id) && !i.has(e.from) && !i.has(e.to))
|
|
2021
|
+
};
|
|
2022
|
+
}
|
|
2023
|
+
function _t(e, t, n) {
|
|
2024
|
+
let r = t.byId.get(e.from), i = t.byId.get(e.to);
|
|
2025
|
+
if (!r || !i) return "That isn’t there any more.";
|
|
2026
|
+
let a = e.fromPort ? r.ports?.find((t) => t.id === e.fromPort) : void 0, o = e.toPort ? i.ports?.find((t) => t.id === e.toPort) : void 0;
|
|
2027
|
+
return r.id === i.id && e.fromPort && e.fromPort === e.toPort ? "A port can’t connect to itself." : a?.direction === "in" ? `${a.label ?? a.id} only takes connections in.` : o?.direction === "out" ? `${o.label ?? o.id} only goes out.` : a?.kind && o?.kind && a.kind !== o.kind ? `${a.label ?? a.id} carries ${a.kind}, and ${o.label ?? o.id} takes ${o.kind}.` : !n.some((t) => t.id !== e.edge && t.from === e.from && t.to === e.to && (t.fromPort ?? "") === (e.fromPort ?? "") && (t.toPort ?? "") === (e.toPort ?? "")) || "Those are already connected.";
|
|
2028
|
+
}
|
|
2029
|
+
function vt(e, t, n) {
|
|
2030
|
+
if (n) return [...e, n(t)];
|
|
2031
|
+
let r = new Set(e.map((e) => e.id)), i = e.length + 1;
|
|
2032
|
+
for (; r.has(`edge-${i}`);) i++;
|
|
2033
|
+
return [...e, {
|
|
2034
|
+
id: `edge-${i}`,
|
|
2035
|
+
from: t.from,
|
|
2036
|
+
to: t.to,
|
|
2037
|
+
...t.fromPort ? { fromPort: t.fromPort } : null,
|
|
2038
|
+
...t.toPort ? { toPort: t.toPort } : null
|
|
2039
|
+
}];
|
|
2040
|
+
}
|
|
2041
|
+
function yt(e, t) {
|
|
2042
|
+
return e.map((e) => {
|
|
2043
|
+
if (e.id !== t.edge) return e;
|
|
2044
|
+
let { points: n, labelBox: r, fromPort: i, toPort: a, ...o } = e;
|
|
2045
|
+
return {
|
|
2046
|
+
...o,
|
|
2047
|
+
from: t.from,
|
|
2048
|
+
to: t.to,
|
|
2049
|
+
...t.fromPort ? { fromPort: t.fromPort } : null,
|
|
2050
|
+
...t.toPort ? { toPort: t.toPort } : null
|
|
2051
|
+
};
|
|
2052
|
+
});
|
|
2053
|
+
}
|
|
2054
|
+
var bt = .5;
|
|
2055
|
+
function xt(e, t, n = bt) {
|
|
2056
|
+
if (e) {
|
|
2057
|
+
let r = t.x >= e.x && t.y >= e.y && t.x + t.w <= e.x + e.w && t.y + t.h <= e.y + e.h, i = e.w <= t.w * (1 + n * 2) * 2 && e.h <= t.h * (1 + n * 2) * 2;
|
|
2058
|
+
if (r && i) return e;
|
|
2059
|
+
}
|
|
2060
|
+
return {
|
|
2061
|
+
x: t.x - t.w * n,
|
|
2062
|
+
y: t.y - t.h * n,
|
|
2063
|
+
w: t.w * (1 + n * 2),
|
|
2064
|
+
h: t.h * (1 + n * 2)
|
|
2065
|
+
};
|
|
2066
|
+
}
|
|
2067
|
+
//#endregion
|
|
2068
|
+
export { te as ARROW_BROAD, ne as ARROW_SLIM, qe as CONTAINER_PADDING, Z as DIAGRAM_CARD, Ke as DIAGRAM_LEGIBLE_ZOOM, s as DIAGRAM_SIDES, j as ELBOW_GAP, Ge as MARKER_SIZE, ht as NOTHING_SELECTED, ue as SELF_LOOP_SIZE, vt as addConnection, p as ancestorsOf, y as anchorNormal, v as anchorPoint, re as arrowHead, _t as checkConnection, ae as closedD, Ze as codeKey, ze as connectorBounds, M as connectorPath, E as cubicAt, A as curvePath, gt as deleteItems, m as descendantsOf, We as diagramBounds, ot as diagramTextRuns, oe as dirOf, Re as distToConnector, Ve as edgeAt, Pe as edgeGeometries, fe as edgeGeometry, it as edgeLabelSize, He as edgesAtPoint, pe as elbowAround, Ne as facePorts, N as facingCurve, z as facingSides, ut as growNodesToText, d as hasEdgeLabel, c as holdsNodes, f as indexDiagram, h as isInside, u as itemKey, se as labelBox, le as labelBoxAvoiding, F as labelBoxOnRoute, X as laneRoutes, ee as loopingCurve, lt as loopsBeside, yt as moveEdgeEnd, mt as moveNodes, x as nearestAnchor, b as nearestSide, nt as nodeAnatomy, Be as nodeAt, rt as nodeSize, at as placeItemPorts, O as pointAlong, ie as polygonPoints, T as polylineD, k as polylinePath, S as portPoint, R as rectIndex, Ue as regionDividers, xt as renderWindow, ft as rerouteLabel, dt as rerouteOrthogonal, I as roundedPolylineD, l as sectionKey, de as selfLoopPath, ct as sideLoopRoute, $ as simplifyRoute, st as sizeNodesToText };
|