@kestack/web-platform 0.0.0-stage → 0.0.1
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/LICENSE +21 -0
- package/README.md +523 -2
- package/dist/_virtual/_rolldown/runtime.js +27 -0
- package/dist/app/apis/apis.d.ts +55 -0
- package/dist/app/apis/apis.d.ts.map +1 -0
- package/dist/app/apis/apis.js +43 -0
- package/dist/app/apis/apis.js.map +1 -0
- package/dist/app/apis/index.d.ts +2 -0
- package/dist/app/apis/index.js +2 -0
- package/dist/app/app.d.ts +77 -0
- package/dist/app/app.d.ts.map +1 -0
- package/dist/app/app.js +118 -0
- package/dist/app/app.js.map +1 -0
- package/dist/app/assemble/assemble.d.ts +167 -0
- package/dist/app/assemble/assemble.d.ts.map +1 -0
- package/dist/app/assemble/assemble.js +186 -0
- package/dist/app/assemble/assemble.js.map +1 -0
- package/dist/app/assemble/index.d.ts +2 -0
- package/dist/app/assemble/index.js +2 -0
- package/dist/app/assemble/public.d.ts +18 -0
- package/dist/app/assemble/public.d.ts.map +1 -0
- package/dist/app/assemble/public.js +41 -0
- package/dist/app/assemble/public.js.map +1 -0
- package/dist/app/gate/domain/check.d.ts +33 -0
- package/dist/app/gate/domain/check.d.ts.map +1 -0
- package/dist/app/gate/domain/check.js +50 -0
- package/dist/app/gate/domain/check.js.map +1 -0
- package/dist/app/gate/domain/index.d.ts +4 -0
- package/dist/app/gate/domain/index.js +3 -0
- package/dist/app/gate/domain/machine.d.ts +180 -0
- package/dist/app/gate/domain/machine.d.ts.map +1 -0
- package/dist/app/gate/domain/machine.js +383 -0
- package/dist/app/gate/domain/machine.js.map +1 -0
- package/dist/app/gate/domain/services.d.ts +37 -0
- package/dist/app/gate/domain/services.d.ts.map +1 -0
- package/dist/app/gate/domain/services.js +13 -0
- package/dist/app/gate/domain/services.js.map +1 -0
- package/dist/app/gate/domain/types.d.ts +44 -0
- package/dist/app/gate/domain/types.d.ts.map +1 -0
- package/dist/app/gate/domain/types.js +0 -0
- package/dist/app/gate/gate.d.ts +86 -0
- package/dist/app/gate/gate.d.ts.map +1 -0
- package/dist/app/gate/gate.js +351 -0
- package/dist/app/gate/gate.js.map +1 -0
- package/dist/app/gate/index.d.ts +5 -0
- package/dist/app/gate/index.js +3 -0
- package/dist/app/gate/memory.d.ts +97 -0
- package/dist/app/gate/memory.d.ts.map +1 -0
- package/dist/app/gate/memory.js +48 -0
- package/dist/app/gate/memory.js.map +1 -0
- package/dist/app/gate/react.d.ts +74 -0
- package/dist/app/gate/react.d.ts.map +1 -0
- package/dist/app/gate/react.js +107 -0
- package/dist/app/gate/react.js.map +1 -0
- package/dist/app/host/host.d.ts +90 -0
- package/dist/app/host/host.d.ts.map +1 -0
- package/dist/app/host/host.js +75 -0
- package/dist/app/host/host.js.map +1 -0
- package/dist/app/host/index.d.ts +2 -0
- package/dist/app/host/index.js +2 -0
- package/dist/app/index.d.ts +4 -0
- package/dist/app/index.js +2 -0
- package/dist/app/session/define.d.ts +60 -0
- package/dist/app/session/define.d.ts.map +1 -0
- package/dist/app/session/define.js +31 -0
- package/dist/app/session/define.js.map +1 -0
- package/dist/app/session/index.d.ts +6 -0
- package/dist/app/session/index.js +6 -0
- package/dist/app/session/keeper.d.ts +17 -0
- package/dist/app/session/keeper.d.ts.map +1 -0
- package/dist/app/session/keeper.js +21 -0
- package/dist/app/session/keeper.js.map +1 -0
- package/dist/app/session/open.d.ts +44 -0
- package/dist/app/session/open.d.ts.map +1 -0
- package/dist/app/session/open.js +70 -0
- package/dist/app/session/open.js.map +1 -0
- package/dist/app/session/react.d.ts +17 -0
- package/dist/app/session/react.d.ts.map +1 -0
- package/dist/app/session/react.js +28 -0
- package/dist/app/session/react.js.map +1 -0
- package/dist/app/session/status.d.ts +24 -0
- package/dist/app/session/status.d.ts.map +1 -0
- package/dist/app/session/status.js +25 -0
- package/dist/app/session/status.js.map +1 -0
- package/dist/app/web-host.d.ts +16 -0
- package/dist/app/web-host.d.ts.map +1 -0
- package/dist/app/web-host.js +85 -0
- package/dist/app/web-host.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.js +2 -0
- package/dist/client/root/index.d.ts +2 -0
- package/dist/client/root/index.js +2 -0
- package/dist/client/root/root.d.ts +62 -0
- package/dist/client/root/root.d.ts.map +1 -0
- package/dist/client/root/root.js +92 -0
- package/dist/client/root/root.js.map +1 -0
- package/dist/client/server.d.ts +2 -0
- package/dist/client/server.js +2 -0
- package/dist/client/theme/index.d.ts +2 -0
- package/dist/client/theme/index.js +2 -0
- package/dist/client/theme/tanstack-start.d.ts +5 -0
- package/dist/client/theme/tanstack-start.d.ts.map +1 -0
- package/dist/client/theme/tanstack-start.js +9 -0
- package/dist/client/theme/tanstack-start.js.map +1 -0
- package/dist/components/hooks/use-element-width.d.ts +9 -0
- package/dist/components/hooks/use-element-width.d.ts.map +1 -0
- package/dist/components/hooks/use-element-width.js +26 -0
- package/dist/components/hooks/use-element-width.js.map +1 -0
- package/dist/components/hooks/use-mobile.d.ts +6 -0
- package/dist/components/hooks/use-mobile.d.ts.map +1 -0
- package/dist/components/hooks/use-mobile.js +16 -0
- package/dist/components/hooks/use-mobile.js.map +1 -0
- package/dist/components/hooks/use-scroll.d.ts +12 -0
- package/dist/components/hooks/use-scroll.d.ts.map +1 -0
- package/dist/components/hooks/use-scroll.js +198 -0
- package/dist/components/hooks/use-scroll.js.map +1 -0
- package/dist/components/lib/lucide.d.ts +1 -0
- package/dist/components/lib/lucide.js +10 -0
- package/dist/components/lib/lucide.js.map +1 -0
- package/dist/components/lib/motion.d.ts +1 -0
- package/dist/components/lib/motion.js +1 -0
- package/dist/components/lib/scrollStyles.d.ts +13 -0
- package/dist/components/lib/scrollStyles.d.ts.map +1 -0
- package/dist/components/lib/scrollStyles.js +19 -0
- package/dist/components/lib/scrollStyles.js.map +1 -0
- package/dist/components/lib/shadow-dom.d.ts +17 -0
- package/dist/components/lib/shadow-dom.d.ts.map +1 -0
- package/dist/components/lib/shadow-dom.js +50 -0
- package/dist/components/lib/shadow-dom.js.map +1 -0
- package/dist/components/lib/utils.d.ts +5 -0
- package/dist/components/lib/utils.d.ts.map +1 -0
- package/dist/components/lib/utils.js +10 -0
- package/dist/components/lib/utils.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +9 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +55 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +96 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +13 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +45 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +7 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +15 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/attachment.d.ts +26 -0
- package/dist/components/ui/attachment.d.ts.map +1 -0
- package/dist/components/ui/attachment.js +106 -0
- package/dist/components/ui/attachment.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +14 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +52 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +31 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +13 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +74 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/bubble.d.ts +19 -0
- package/dist/components/ui/bubble.d.ts.map +1 -0
- package/dist/components/ui/bubble.js +75 -0
- package/dist/components/ui/bubble.js.map +1 -0
- package/dist/components/ui/button-group.d.ts +13 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +43 -0
- package/dist/components/ui/button-group.js.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +46 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +13 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +110 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +14 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +58 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.d.ts +31 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +133 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/chart.d.ts +47 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +150 -0
- package/dist/components/ui/chart.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +22 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +8 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +25 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/combobox.d.ts +27 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +163 -0
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/command.d.ts +22 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +90 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +32 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +135 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +94 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/direction.d.ts +2 -0
- package/dist/components/ui/direction.js +2 -0
- package/dist/components/ui/drawer.d.ts +19 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +125 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +35 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +141 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty.d.ts +14 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/empty.js +61 -0
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/field.d.ts +27 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +111 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/file-tree.d.ts +62 -0
- package/dist/components/ui/file-tree.d.ts.map +1 -0
- package/dist/components/ui/file-tree.js +300 -0
- package/dist/components/ui/file-tree.js.map +1 -0
- package/dist/components/ui/google-button.d.ts +9 -0
- package/dist/components/ui/google-button.d.ts.map +1 -0
- package/dist/components/ui/google-button.js +183 -0
- package/dist/components/ui/google-button.js.map +1 -0
- package/dist/components/ui/hover-card.d.ts +8 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +38 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +21 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +81 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input-otp.d.ts +14 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input-otp.js +48 -0
- package/dist/components/ui/input-otp.js.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/item.d.ts +25 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +123 -0
- package/dist/components/ui/item.js.map +1 -0
- package/dist/components/ui/kbd.d.ts +6 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/kbd.js +21 -0
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +16 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/marker.d.ts +13 -0
- package/dist/components/ui/marker.d.ts.map +1 -0
- package/dist/components/ui/marker.js +45 -0
- package/dist/components/ui/marker.js.map +1 -0
- package/dist/components/ui/menubar.d.ts +32 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +138 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/message-scroller.d.ts +13 -0
- package/dist/components/ui/message-scroller.d.ts.map +1 -0
- package/dist/components/ui/message-scroller.js +62 -0
- package/dist/components/ui/message-scroller.js.map +1 -0
- package/dist/components/ui/message.d.ts +13 -0
- package/dist/components/ui/message.d.ts.map +1 -0
- package/dist/components/ui/message.js +51 -0
- package/dist/components/ui/message.js.map +1 -0
- package/dist/components/ui/native-select.d.ts +11 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/native-select.js +40 -0
- package/dist/components/ui/native-select.js.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +14 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +84 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination.d.ts +20 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +82 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.d.ts +12 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +56 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +10 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +46 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/questionnaire.d.ts +22 -0
- package/dist/components/ui/questionnaire.d.ts.map +1 -0
- package/dist/components/ui/questionnaire.js +172 -0
- package/dist/components/ui/questionnaire.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +8 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +28 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.d.ts +10 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +30 -0
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +10 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +38 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +18 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +100 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +6 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +16 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +17 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +90 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +5 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +14 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +6 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +6 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +28 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +5 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +17 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +21 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +13 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +68 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +13 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +47 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +15 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toast.d.ts +19 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +125 -0
- package/dist/components/ui/toast.js.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +14 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +53 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +11 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +37 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +43 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/viewers/diff-viewer/align.d.ts +23 -0
- package/dist/components/viewers/diff-viewer/align.d.ts.map +1 -0
- package/dist/components/viewers/diff-viewer/align.js +68 -0
- package/dist/components/viewers/diff-viewer/align.js.map +1 -0
- package/dist/components/viewers/diff-viewer/collapse.d.ts +20 -0
- package/dist/components/viewers/diff-viewer/collapse.d.ts.map +1 -0
- package/dist/components/viewers/diff-viewer/collapse.js +84 -0
- package/dist/components/viewers/diff-viewer/collapse.js.map +1 -0
- package/dist/components/viewers/diff-viewer/diff-viewer.d.ts +34 -0
- package/dist/components/viewers/diff-viewer/diff-viewer.d.ts.map +1 -0
- package/dist/components/viewers/diff-viewer/diff-viewer.js +373 -0
- package/dist/components/viewers/diff-viewer/diff-viewer.js.map +1 -0
- package/dist/components/viewers/diff-viewer/index.d.ts +2 -0
- package/dist/components/viewers/diff-viewer/index.js +2 -0
- package/dist/components/viewers/diff-viewer/render-model.d.ts +27 -0
- package/dist/components/viewers/diff-viewer/render-model.d.ts.map +1 -0
- package/dist/components/viewers/diff-viewer/render-model.js +83 -0
- package/dist/components/viewers/diff-viewer/render-model.js.map +1 -0
- package/dist/components/viewers/diff-viewer/sync-rows.d.ts +8 -0
- package/dist/components/viewers/diff-viewer/sync-rows.d.ts.map +1 -0
- package/dist/components/viewers/diff-viewer/sync-rows.js +32 -0
- package/dist/components/viewers/diff-viewer/sync-rows.js.map +1 -0
- package/dist/components/viewers/file-tree/expand.d.ts +7 -0
- package/dist/components/viewers/file-tree/expand.d.ts.map +1 -0
- package/dist/components/viewers/file-tree/expand.js +37 -0
- package/dist/components/viewers/file-tree/expand.js.map +1 -0
- package/dist/components/viewers/file-tree/file-tree.d.ts +20 -0
- package/dist/components/viewers/file-tree/file-tree.d.ts.map +1 -0
- package/dist/components/viewers/file-tree/file-tree.js +116 -0
- package/dist/components/viewers/file-tree/file-tree.js.map +1 -0
- package/dist/components/viewers/file-tree/index.d.ts +3 -0
- package/dist/components/viewers/file-tree/index.js +3 -0
- package/dist/components/viewers/git-changes/git-changes.d.ts +40 -0
- package/dist/components/viewers/git-changes/git-changes.d.ts.map +1 -0
- package/dist/components/viewers/git-changes/git-changes.js +170 -0
- package/dist/components/viewers/git-changes/git-changes.js.map +1 -0
- package/dist/components/viewers/git-changes/index.d.ts +2 -0
- package/dist/components/viewers/git-changes/index.js +2 -0
- package/dist/components/viewers/json/index.d.ts +4 -0
- package/dist/components/viewers/json/index.js +4 -0
- package/dist/components/viewers/json/json-editor.d.ts +14 -0
- package/dist/components/viewers/json/json-editor.d.ts.map +1 -0
- package/dist/components/viewers/json/json-editor.js +84 -0
- package/dist/components/viewers/json/json-editor.js.map +1 -0
- package/dist/components/viewers/json/json-tree.d.ts +11 -0
- package/dist/components/viewers/json/json-tree.d.ts.map +1 -0
- package/dist/components/viewers/json/json-tree.js +88 -0
- package/dist/components/viewers/json/json-tree.js.map +1 -0
- package/dist/components/viewers/json/json-viewer.d.ts +10 -0
- package/dist/components/viewers/json/json-viewer.d.ts.map +1 -0
- package/dist/components/viewers/json/json-viewer.js +48 -0
- package/dist/components/viewers/json/json-viewer.js.map +1 -0
- package/dist/components/viewers/markdown-viewer/index.d.ts +2 -0
- package/dist/components/viewers/markdown-viewer/index.js +2 -0
- package/dist/components/viewers/markdown-viewer/markdown-viewer.d.ts +8 -0
- package/dist/components/viewers/markdown-viewer/markdown-viewer.d.ts.map +1 -0
- package/dist/components/viewers/markdown-viewer/markdown-viewer.js +65 -0
- package/dist/components/viewers/markdown-viewer/markdown-viewer.js.map +1 -0
- package/dist/components/viewers/source-explorer/index.d.ts +2 -0
- package/dist/components/viewers/source-explorer/index.js +2 -0
- package/dist/components/viewers/source-explorer/initial-selection.d.ts +6 -0
- package/dist/components/viewers/source-explorer/initial-selection.d.ts.map +1 -0
- package/dist/components/viewers/source-explorer/initial-selection.js +13 -0
- package/dist/components/viewers/source-explorer/initial-selection.js.map +1 -0
- package/dist/components/viewers/source-explorer/snapshot-tree.d.ts +11 -0
- package/dist/components/viewers/source-explorer/snapshot-tree.d.ts.map +1 -0
- package/dist/components/viewers/source-explorer/snapshot-tree.js +21 -0
- package/dist/components/viewers/source-explorer/snapshot-tree.js.map +1 -0
- package/dist/components/viewers/source-explorer/source-explorer.d.ts +49 -0
- package/dist/components/viewers/source-explorer/source-explorer.d.ts.map +1 -0
- package/dist/components/viewers/source-explorer/source-explorer.js +364 -0
- package/dist/components/viewers/source-explorer/source-explorer.js.map +1 -0
- package/dist/components/viewers/source-viewer/index.d.ts +2 -0
- package/dist/components/viewers/source-viewer/index.js +2 -0
- package/dist/components/viewers/source-viewer/source-viewer.d.ts +33 -0
- package/dist/components/viewers/source-viewer/source-viewer.d.ts.map +1 -0
- package/dist/components/viewers/source-viewer/source-viewer.js +224 -0
- package/dist/components/viewers/source-viewer/source-viewer.js.map +1 -0
- package/dist/define/index.d.ts +10 -0
- package/dist/define/index.js +4 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +2 -0
- package/dist/feedback/sound.d.ts +28 -0
- package/dist/feedback/sound.d.ts.map +1 -0
- package/dist/feedback/sound.js +150 -0
- package/dist/feedback/sound.js.map +1 -0
- package/dist/form/components/submit-button.d.ts +11 -0
- package/dist/form/components/submit-button.d.ts.map +1 -0
- package/dist/form/components/submit-button.js +26 -0
- package/dist/form/components/submit-button.js.map +1 -0
- package/dist/form/context.d.ts +8 -0
- package/dist/form/context.d.ts.map +1 -0
- package/dist/form/context.js +11 -0
- package/dist/form/context.js.map +1 -0
- package/dist/form/create-form-hook.d.ts +62 -0
- package/dist/form/create-form-hook.d.ts.map +1 -0
- package/dist/form/create-form-hook.js +51 -0
- package/dist/form/create-form-hook.js.map +1 -0
- package/dist/form/fields/date-picker-field.d.ts +9 -0
- package/dist/form/fields/date-picker-field.d.ts.map +1 -0
- package/dist/form/fields/date-picker-field.js +84 -0
- package/dist/form/fields/date-picker-field.js.map +1 -0
- package/dist/form/fields/select-field.d.ts +15 -0
- package/dist/form/fields/select-field.d.ts.map +1 -0
- package/dist/form/fields/select-field.js +65 -0
- package/dist/form/fields/select-field.js.map +1 -0
- package/dist/form/fields/switch-field.d.ts +9 -0
- package/dist/form/fields/switch-field.d.ts.map +1 -0
- package/dist/form/fields/switch-field.js +56 -0
- package/dist/form/fields/switch-field.js.map +1 -0
- package/dist/form/fields/text-field.d.ts +10 -0
- package/dist/form/fields/text-field.d.ts.map +1 -0
- package/dist/form/fields/text-field.js +58 -0
- package/dist/form/fields/text-field.js.map +1 -0
- package/dist/form/fields/textarea-field.d.ts +10 -0
- package/dist/form/fields/textarea-field.d.ts.map +1 -0
- package/dist/form/fields/textarea-field.js +58 -0
- package/dist/form/fields/textarea-field.js.map +1 -0
- package/dist/form/index.d.ts +10 -0
- package/dist/form/index.js +3 -0
- package/dist/form/types.d.ts +51 -0
- package/dist/form/types.d.ts.map +1 -0
- package/dist/form/types.js +23 -0
- package/dist/form/types.js.map +1 -0
- package/dist/input/device/device.d.ts +21 -0
- package/dist/input/device/device.d.ts.map +1 -0
- package/dist/input/device/device.js +61 -0
- package/dist/input/device/device.js.map +1 -0
- package/dist/input/device/index.d.ts +2 -0
- package/dist/input/device/index.js +2 -0
- package/dist/input/gesture/index.d.ts +9 -0
- package/dist/input/gesture/index.js +5 -0
- package/dist/input/gesture/patterns/index.d.ts +5 -0
- package/dist/input/gesture/patterns/index.js +3 -0
- package/dist/input/gesture/patterns/pull-to-refresh/index.d.ts +2 -0
- package/dist/input/gesture/patterns/pull-to-refresh/index.js +2 -0
- package/dist/input/gesture/patterns/pull-to-refresh/use-pull-to-refresh.d.ts +32 -0
- package/dist/input/gesture/patterns/pull-to-refresh/use-pull-to-refresh.d.ts.map +1 -0
- package/dist/input/gesture/patterns/pull-to-refresh/use-pull-to-refresh.js +75 -0
- package/dist/input/gesture/patterns/pull-to-refresh/use-pull-to-refresh.js.map +1 -0
- package/dist/input/gesture/patterns/sidebar/index.d.ts +2 -0
- package/dist/input/gesture/patterns/sidebar/index.js +2 -0
- package/dist/input/gesture/patterns/sidebar/use-sidebar.d.ts +41 -0
- package/dist/input/gesture/patterns/sidebar/use-sidebar.d.ts.map +1 -0
- package/dist/input/gesture/patterns/sidebar/use-sidebar.js +131 -0
- package/dist/input/gesture/patterns/sidebar/use-sidebar.js.map +1 -0
- package/dist/input/gesture/recognizers/index.d.ts +3 -0
- package/dist/input/gesture/recognizers/index.js +2 -0
- package/dist/input/gesture/recognizers/swipe/index.d.ts +2 -0
- package/dist/input/gesture/recognizers/swipe/index.js +2 -0
- package/dist/input/gesture/recognizers/swipe/use-swipe.d.ts +56 -0
- package/dist/input/gesture/recognizers/swipe/use-swipe.d.ts.map +1 -0
- package/dist/input/gesture/recognizers/swipe/use-swipe.js +150 -0
- package/dist/input/gesture/recognizers/swipe/use-swipe.js.map +1 -0
- package/dist/input/gesture/zones/index.d.ts +4 -0
- package/dist/input/gesture/zones/index.js +2 -0
- package/dist/input/gesture/zones/touch-input/index.d.ts +3 -0
- package/dist/input/gesture/zones/touch-input/index.js +3 -0
- package/dist/input/gesture/zones/touch-input/native-scroll.d.ts +28 -0
- package/dist/input/gesture/zones/touch-input/native-scroll.d.ts.map +1 -0
- package/dist/input/gesture/zones/touch-input/native-scroll.js +61 -0
- package/dist/input/gesture/zones/touch-input/native-scroll.js.map +1 -0
- package/dist/input/gesture/zones/touch-input/touch-input.d.ts +54 -0
- package/dist/input/gesture/zones/touch-input/touch-input.d.ts.map +1 -0
- package/dist/input/gesture/zones/touch-input/touch-input.js +243 -0
- package/dist/input/gesture/zones/touch-input/touch-input.js.map +1 -0
- package/dist/input/gesture/zones/zone/index.d.ts +3 -0
- package/dist/input/gesture/zones/zone/index.js +2 -0
- package/dist/input/gesture/zones/zone/motion-pointers.d.ts +33 -0
- package/dist/input/gesture/zones/zone/motion-pointers.d.ts.map +1 -0
- package/dist/input/gesture/zones/zone/motion-pointers.js +52 -0
- package/dist/input/gesture/zones/zone/motion-pointers.js.map +1 -0
- package/dist/input/gesture/zones/zone/zone.d.ts +93 -0
- package/dist/input/gesture/zones/zone/zone.d.ts.map +1 -0
- package/dist/input/gesture/zones/zone/zone.js +169 -0
- package/dist/input/gesture/zones/zone/zone.js.map +1 -0
- package/dist/input/index.d.ts +8 -0
- package/dist/input/index.js +6 -0
- package/dist/pwa/browser/dom-events.d.ts +9 -0
- package/dist/pwa/browser/dom-events.d.ts.map +1 -0
- package/dist/pwa/browser/dom-events.js +10 -0
- package/dist/pwa/browser/dom-events.js.map +1 -0
- package/dist/pwa/browser/subscription-ref.d.ts +6 -0
- package/dist/pwa/browser/subscription-ref.d.ts.map +1 -0
- package/dist/pwa/browser/subscription-ref.js +19 -0
- package/dist/pwa/browser/subscription-ref.js.map +1 -0
- package/dist/pwa/client/client.d.ts +32 -0
- package/dist/pwa/client/client.d.ts.map +1 -0
- package/dist/pwa/client/client.js +36 -0
- package/dist/pwa/client/client.js.map +1 -0
- package/dist/pwa/client/commands/commands.d.ts +9 -0
- package/dist/pwa/client/commands/commands.d.ts.map +1 -0
- package/dist/pwa/client/commands/commands.js +21 -0
- package/dist/pwa/client/commands/commands.js.map +1 -0
- package/dist/pwa/client/commands/index.d.ts +2 -0
- package/dist/pwa/client/commands/index.js +2 -0
- package/dist/pwa/client/index.d.ts +3 -0
- package/dist/pwa/client/index.js +3 -0
- package/dist/pwa/client/registration.d.ts +14 -0
- package/dist/pwa/client/registration.d.ts.map +1 -0
- package/dist/pwa/client/registration.js +36 -0
- package/dist/pwa/client/registration.js.map +1 -0
- package/dist/pwa/client/runtime-cache.d.ts +9 -0
- package/dist/pwa/client/runtime-cache.d.ts.map +1 -0
- package/dist/pwa/client/runtime-cache.js +15 -0
- package/dist/pwa/client/runtime-cache.js.map +1 -0
- package/dist/pwa/client/status/index.d.ts +2 -0
- package/dist/pwa/client/status/index.js +2 -0
- package/dist/pwa/client/status/status.d.ts +136 -0
- package/dist/pwa/client/status/status.d.ts.map +1 -0
- package/dist/pwa/client/status/status.js +83 -0
- package/dist/pwa/client/status/status.js.map +1 -0
- package/dist/pwa/extras/display-mode/display-mode.d.ts +18 -0
- package/dist/pwa/extras/display-mode/display-mode.d.ts.map +1 -0
- package/dist/pwa/extras/display-mode/display-mode.js +42 -0
- package/dist/pwa/extras/display-mode/display-mode.js.map +1 -0
- package/dist/pwa/extras/display-mode/index.d.ts +2 -0
- package/dist/pwa/extras/display-mode/index.js +2 -0
- package/dist/pwa/extras/index.d.ts +13 -0
- package/dist/pwa/extras/index.js +9 -0
- package/dist/pwa/extras/install/index.d.ts +5 -0
- package/dist/pwa/extras/install/index.js +5 -0
- package/dist/pwa/extras/install/install-content.d.ts +12 -0
- package/dist/pwa/extras/install/install-content.d.ts.map +1 -0
- package/dist/pwa/extras/install/install-content.js +57 -0
- package/dist/pwa/extras/install/install-content.js.map +1 -0
- package/dist/pwa/extras/install/install-dismissal.d.ts +5 -0
- package/dist/pwa/extras/install/install-dismissal.d.ts.map +1 -0
- package/dist/pwa/extras/install/install-dismissal.js +20 -0
- package/dist/pwa/extras/install/install-dismissal.js.map +1 -0
- package/dist/pwa/extras/install/install-prompt.d.ts +12 -0
- package/dist/pwa/extras/install/install-prompt.d.ts.map +1 -0
- package/dist/pwa/extras/install/install-prompt.js +66 -0
- package/dist/pwa/extras/install/install-prompt.js.map +1 -0
- package/dist/pwa/extras/install/install.d.ts +125 -0
- package/dist/pwa/extras/install/install.d.ts.map +1 -0
- package/dist/pwa/extras/install/install.js +80 -0
- package/dist/pwa/extras/install/install.js.map +1 -0
- package/dist/pwa/extras/install/ios.d.ts +8 -0
- package/dist/pwa/extras/install/ios.d.ts.map +1 -0
- package/dist/pwa/extras/install/ios.js +10 -0
- package/dist/pwa/extras/install/ios.js.map +1 -0
- package/dist/pwa/extras/install/media-query.d.ts +5 -0
- package/dist/pwa/extras/install/media-query.d.ts.map +1 -0
- package/dist/pwa/extras/install/media-query.js +15 -0
- package/dist/pwa/extras/install/media-query.js.map +1 -0
- package/dist/pwa/extras/lazy-service/index.d.ts +2 -0
- package/dist/pwa/extras/lazy-service/index.js +2 -0
- package/dist/pwa/extras/lazy-service/lazy-service.d.ts +11 -0
- package/dist/pwa/extras/lazy-service/lazy-service.d.ts.map +1 -0
- package/dist/pwa/extras/lazy-service/lazy-service.js +30 -0
- package/dist/pwa/extras/lazy-service/lazy-service.js.map +1 -0
- package/dist/pwa/extras/online/index.d.ts +3 -0
- package/dist/pwa/extras/online/index.js +3 -0
- package/dist/pwa/extras/online/offline-indicator.d.ts +11 -0
- package/dist/pwa/extras/online/offline-indicator.d.ts.map +1 -0
- package/dist/pwa/extras/online/offline-indicator.js +26 -0
- package/dist/pwa/extras/online/offline-indicator.js.map +1 -0
- package/dist/pwa/extras/online/online.d.ts +15 -0
- package/dist/pwa/extras/online/online.d.ts.map +1 -0
- package/dist/pwa/extras/online/online.js +27 -0
- package/dist/pwa/extras/online/online.js.map +1 -0
- package/dist/pwa/extras/storage/index.d.ts +2 -0
- package/dist/pwa/extras/storage/index.js +2 -0
- package/dist/pwa/extras/storage/storage.d.ts +28 -0
- package/dist/pwa/extras/storage/storage.d.ts.map +1 -0
- package/dist/pwa/extras/storage/storage.js +51 -0
- package/dist/pwa/extras/storage/storage.js.map +1 -0
- package/dist/pwa/index.d.ts +8 -0
- package/dist/pwa/index.js +5 -0
- package/dist/pwa/react/head.d.ts +33 -0
- package/dist/pwa/react/head.d.ts.map +1 -0
- package/dist/pwa/react/head.js +43 -0
- package/dist/pwa/react/head.js.map +1 -0
- package/dist/pwa/react/index.d.ts +4 -0
- package/dist/pwa/react/index.js +3 -0
- package/dist/pwa/react/react.d.ts +33 -0
- package/dist/pwa/react/react.d.ts.map +1 -0
- package/dist/pwa/react/react.js +67 -0
- package/dist/pwa/react/react.js.map +1 -0
- package/dist/pwa/react/update-prompt.d.ts +12 -0
- package/dist/pwa/react/update-prompt.d.ts.map +1 -0
- package/dist/pwa/react/update-prompt.js +23 -0
- package/dist/pwa/react/update-prompt.js.map +1 -0
- package/dist/pwa/react/update-toast.d.ts +15 -0
- package/dist/pwa/react/update-toast.d.ts.map +1 -0
- package/dist/pwa/react/update-toast.js +52 -0
- package/dist/pwa/react/update-toast.js.map +1 -0
- package/dist/pwa/root/index.d.ts +2 -0
- package/dist/pwa/root/index.js +2 -0
- package/dist/pwa/root/root.d.ts +14 -0
- package/dist/pwa/root/root.d.ts.map +1 -0
- package/dist/pwa/root/root.js +35 -0
- package/dist/pwa/root/root.js.map +1 -0
- package/dist/pwa/rpc/client/client.d.ts +49 -0
- package/dist/pwa/rpc/client/client.d.ts.map +1 -0
- package/dist/pwa/rpc/client/client.js +55 -0
- package/dist/pwa/rpc/client/client.js.map +1 -0
- package/dist/pwa/rpc/client/index.d.ts +3 -0
- package/dist/pwa/rpc/client/index.js +3 -0
- package/dist/pwa/rpc/client/page-environment.d.ts +25 -0
- package/dist/pwa/rpc/client/page-environment.d.ts.map +1 -0
- package/dist/pwa/rpc/client/page-environment.js +46 -0
- package/dist/pwa/rpc/client/page-environment.js.map +1 -0
- package/dist/pwa/rpc/client/platform.d.ts +26 -0
- package/dist/pwa/rpc/client/platform.d.ts.map +1 -0
- package/dist/pwa/rpc/client/platform.js +144 -0
- package/dist/pwa/rpc/client/platform.js.map +1 -0
- package/dist/pwa/rpc/client/version-skew.d.ts +24 -0
- package/dist/pwa/rpc/client/version-skew.d.ts.map +1 -0
- package/dist/pwa/rpc/client/version-skew.js +63 -0
- package/dist/pwa/rpc/client/version-skew.js.map +1 -0
- package/dist/pwa/rpc/handshake/handshake.d.ts +74 -0
- package/dist/pwa/rpc/handshake/handshake.d.ts.map +1 -0
- package/dist/pwa/rpc/handshake/handshake.js +104 -0
- package/dist/pwa/rpc/handshake/handshake.js.map +1 -0
- package/dist/pwa/rpc/handshake/index.d.ts +2 -0
- package/dist/pwa/rpc/handshake/index.js +2 -0
- package/dist/pwa/rpc/worker/connections.d.ts +31 -0
- package/dist/pwa/rpc/worker/connections.d.ts.map +1 -0
- package/dist/pwa/rpc/worker/connections.js +48 -0
- package/dist/pwa/rpc/worker/connections.js.map +1 -0
- package/dist/pwa/rpc/worker/index.d.ts +2 -0
- package/dist/pwa/rpc/worker/index.js +2 -0
- package/dist/pwa/rpc/worker/keep-alive.d.ts +11 -0
- package/dist/pwa/rpc/worker/keep-alive.d.ts.map +1 -0
- package/dist/pwa/rpc/worker/keep-alive.js +30 -0
- package/dist/pwa/rpc/worker/keep-alive.js.map +1 -0
- package/dist/pwa/rpc/worker/runner-platform.d.ts +18 -0
- package/dist/pwa/rpc/worker/runner-platform.d.ts.map +1 -0
- package/dist/pwa/rpc/worker/runner-platform.js +113 -0
- package/dist/pwa/rpc/worker/runner-platform.js.map +1 -0
- package/dist/pwa/rpc/worker/worker.d.ts +22 -0
- package/dist/pwa/rpc/worker/worker.d.ts.map +1 -0
- package/dist/pwa/rpc/worker/worker.js +23 -0
- package/dist/pwa/rpc/worker/worker.js.map +1 -0
- package/dist/pwa/shared/build/build.d.ts +55 -0
- package/dist/pwa/shared/build/build.d.ts.map +1 -0
- package/dist/pwa/shared/build/build.js +55 -0
- package/dist/pwa/shared/build/build.js.map +1 -0
- package/dist/pwa/shared/build/canonical-json.d.ts +5 -0
- package/dist/pwa/shared/build/canonical-json.d.ts.map +1 -0
- package/dist/pwa/shared/build/canonical-json.js +7 -0
- package/dist/pwa/shared/build/canonical-json.js.map +1 -0
- package/dist/pwa/shared/build/fnv1a.d.ts +5 -0
- package/dist/pwa/shared/build/fnv1a.d.ts.map +1 -0
- package/dist/pwa/shared/build/fnv1a.js +17 -0
- package/dist/pwa/shared/build/fnv1a.js.map +1 -0
- package/dist/pwa/shared/build/index.d.ts +2 -0
- package/dist/pwa/shared/build/index.js +2 -0
- package/dist/pwa/shared/commands/commands.d.ts +39 -0
- package/dist/pwa/shared/commands/commands.d.ts.map +1 -0
- package/dist/pwa/shared/commands/commands.js +51 -0
- package/dist/pwa/shared/commands/commands.js.map +1 -0
- package/dist/pwa/shared/commands/index.d.ts +2 -0
- package/dist/pwa/shared/commands/index.js +2 -0
- package/dist/pwa/shared/config/config.d.ts +231 -0
- package/dist/pwa/shared/config/config.d.ts.map +1 -0
- package/dist/pwa/shared/config/config.js +136 -0
- package/dist/pwa/shared/config/config.js.map +1 -0
- package/dist/pwa/shared/config/index.d.ts +2 -0
- package/dist/pwa/shared/config/index.js +2 -0
- package/dist/pwa/shared/config/presets.d.ts +19 -0
- package/dist/pwa/shared/config/presets.d.ts.map +1 -0
- package/dist/pwa/shared/config/presets.js +45 -0
- package/dist/pwa/shared/config/presets.js.map +1 -0
- package/dist/pwa/shared/manifest/index.d.ts +2 -0
- package/dist/pwa/shared/manifest/index.js +2 -0
- package/dist/pwa/shared/manifest/manifest.d.ts +53 -0
- package/dist/pwa/shared/manifest/manifest.d.ts.map +1 -0
- package/dist/pwa/shared/manifest/manifest.js +87 -0
- package/dist/pwa/shared/manifest/manifest.js.map +1 -0
- package/dist/pwa/shared/strategy/index.d.ts +2 -0
- package/dist/pwa/shared/strategy/index.js +2 -0
- package/dist/pwa/shared/strategy/pattern.d.ts +6 -0
- package/dist/pwa/shared/strategy/pattern.d.ts.map +1 -0
- package/dist/pwa/shared/strategy/pattern.js +23 -0
- package/dist/pwa/shared/strategy/pattern.js.map +1 -0
- package/dist/pwa/shared/strategy/strategy.d.ts +41 -0
- package/dist/pwa/shared/strategy/strategy.d.ts.map +1 -0
- package/dist/pwa/shared/strategy/strategy.js +60 -0
- package/dist/pwa/shared/strategy/strategy.js.map +1 -0
- package/dist/pwa/shared/worker-host/index.d.ts +2 -0
- package/dist/pwa/shared/worker-host/index.js +2 -0
- package/dist/pwa/shared/worker-host/worker-host.d.ts +22 -0
- package/dist/pwa/shared/worker-host/worker-host.d.ts.map +1 -0
- package/dist/pwa/shared/worker-host/worker-host.js +11 -0
- package/dist/pwa/shared/worker-host/worker-host.js.map +1 -0
- package/dist/pwa/splash/devices.d.ts +85 -0
- package/dist/pwa/splash/devices.d.ts.map +1 -0
- package/dist/pwa/splash/devices.js +109 -0
- package/dist/pwa/splash/devices.js.map +1 -0
- package/dist/pwa/splash/index.d.ts +2 -0
- package/dist/pwa/splash/index.js +2 -0
- package/dist/pwa/splash/splash.d.ts +29 -0
- package/dist/pwa/splash/splash.d.ts.map +1 -0
- package/dist/pwa/splash/splash.js +38 -0
- package/dist/pwa/splash/splash.js.map +1 -0
- package/dist/pwa/vite/build/build-plugin.d.ts +15 -0
- package/dist/pwa/vite/build/build-plugin.d.ts.map +1 -0
- package/dist/pwa/vite/build/build-plugin.js +105 -0
- package/dist/pwa/vite/build/build-plugin.js.map +1 -0
- package/dist/pwa/vite/build/build-state.d.ts +17 -0
- package/dist/pwa/vite/build/build-state.d.ts.map +1 -0
- package/dist/pwa/vite/build/build-state.js +9 -0
- package/dist/pwa/vite/build/build-state.js.map +1 -0
- package/dist/pwa/vite/build/headers.d.ts +10 -0
- package/dist/pwa/vite/build/headers.d.ts.map +1 -0
- package/dist/pwa/vite/build/headers.js +26 -0
- package/dist/pwa/vite/build/headers.js.map +1 -0
- package/dist/pwa/vite/build/index.d.ts +3 -0
- package/dist/pwa/vite/build/index.js +3 -0
- package/dist/pwa/vite/build/output-files.d.ts +12 -0
- package/dist/pwa/vite/build/output-files.d.ts.map +1 -0
- package/dist/pwa/vite/build/output-files.js +35 -0
- package/dist/pwa/vite/build/output-files.js.map +1 -0
- package/dist/pwa/vite/build/start-setup.d.ts +19 -0
- package/dist/pwa/vite/build/start-setup.d.ts.map +1 -0
- package/dist/pwa/vite/build/start-setup.js +27 -0
- package/dist/pwa/vite/build/start-setup.js.map +1 -0
- package/dist/pwa/vite/client-module/build-version.d.ts +15 -0
- package/dist/pwa/vite/client-module/build-version.d.ts.map +1 -0
- package/dist/pwa/vite/client-module/build-version.js +45 -0
- package/dist/pwa/vite/client-module/build-version.js.map +1 -0
- package/dist/pwa/vite/client-module/client-info.d.ts +22 -0
- package/dist/pwa/vite/client-module/client-info.d.ts.map +1 -0
- package/dist/pwa/vite/client-module/client-info.js +38 -0
- package/dist/pwa/vite/client-module/client-info.js.map +1 -0
- package/dist/pwa/vite/client-module/client-module.d.ts +16 -0
- package/dist/pwa/vite/client-module/client-module.d.ts.map +1 -0
- package/dist/pwa/vite/client-module/client-module.js +47 -0
- package/dist/pwa/vite/client-module/client-module.js.map +1 -0
- package/dist/pwa/vite/client-module/index.d.ts +2 -0
- package/dist/pwa/vite/client-module/index.js +2 -0
- package/dist/pwa/vite/dev/dev-plugin.d.ts +13 -0
- package/dist/pwa/vite/dev/dev-plugin.d.ts.map +1 -0
- package/dist/pwa/vite/dev/dev-plugin.js +61 -0
- package/dist/pwa/vite/dev/dev-plugin.js.map +1 -0
- package/dist/pwa/vite/dev/index.d.ts +2 -0
- package/dist/pwa/vite/dev/index.js +2 -0
- package/dist/pwa/vite/index.d.ts +2 -0
- package/dist/pwa/vite/index.js +2 -0
- package/dist/pwa/vite/precache/asset-kind.d.ts +7 -0
- package/dist/pwa/vite/precache/asset-kind.d.ts.map +1 -0
- package/dist/pwa/vite/precache/asset-kind.js +24 -0
- package/dist/pwa/vite/precache/asset-kind.js.map +1 -0
- package/dist/pwa/vite/precache/index.d.ts +2 -0
- package/dist/pwa/vite/precache/index.js +2 -0
- package/dist/pwa/vite/precache/precache.d.ts +39 -0
- package/dist/pwa/vite/precache/precache.d.ts.map +1 -0
- package/dist/pwa/vite/precache/precache.js +60 -0
- package/dist/pwa/vite/precache/precache.js.map +1 -0
- package/dist/pwa/vite/precache/revision.d.ts +5 -0
- package/dist/pwa/vite/precache/revision.d.ts.map +1 -0
- package/dist/pwa/vite/precache/revision.js +8 -0
- package/dist/pwa/vite/precache/revision.js.map +1 -0
- package/dist/pwa/vite/precache/url-path.d.ts +12 -0
- package/dist/pwa/vite/precache/url-path.d.ts.map +1 -0
- package/dist/pwa/vite/precache/url-path.js +23 -0
- package/dist/pwa/vite/precache/url-path.js.map +1 -0
- package/dist/pwa/vite/vite.d.ts +14 -0
- package/dist/pwa/vite/vite.d.ts.map +1 -0
- package/dist/pwa/vite/vite.js +27 -0
- package/dist/pwa/vite/vite.js.map +1 -0
- package/dist/pwa/vite/worker-bundle/build-module.d.ts +11 -0
- package/dist/pwa/vite/worker-bundle/build-module.d.ts.map +1 -0
- package/dist/pwa/vite/worker-bundle/build-module.js +23 -0
- package/dist/pwa/vite/worker-bundle/build-module.js.map +1 -0
- package/dist/pwa/vite/worker-bundle/entry.d.ts +10 -0
- package/dist/pwa/vite/worker-bundle/entry.d.ts.map +1 -0
- package/dist/pwa/vite/worker-bundle/entry.js +25 -0
- package/dist/pwa/vite/worker-bundle/entry.js.map +1 -0
- package/dist/pwa/vite/worker-bundle/index.d.ts +2 -0
- package/dist/pwa/vite/worker-bundle/index.js +2 -0
- package/dist/pwa/vite/worker-bundle/kill-switch.d.ts +9 -0
- package/dist/pwa/vite/worker-bundle/kill-switch.d.ts.map +1 -0
- package/dist/pwa/vite/worker-bundle/kill-switch.js +27 -0
- package/dist/pwa/vite/worker-bundle/kill-switch.js.map +1 -0
- package/dist/pwa/vite/worker-bundle/worker-bundle.d.ts +25 -0
- package/dist/pwa/vite/worker-bundle/worker-bundle.d.ts.map +1 -0
- package/dist/pwa/vite/worker-bundle/worker-bundle.js +49 -0
- package/dist/pwa/vite/worker-bundle/worker-bundle.js.map +1 -0
- package/dist/pwa/worker/commands/commands.d.ts +13 -0
- package/dist/pwa/worker/commands/commands.d.ts.map +1 -0
- package/dist/pwa/worker/commands/commands.js +23 -0
- package/dist/pwa/worker/commands/commands.js.map +1 -0
- package/dist/pwa/worker/commands/index.d.ts +2 -0
- package/dist/pwa/worker/commands/index.js +2 -0
- package/dist/pwa/worker/global-scope/global-scope.d.ts +35 -0
- package/dist/pwa/worker/global-scope/global-scope.d.ts.map +1 -0
- package/dist/pwa/worker/global-scope/global-scope.js +45 -0
- package/dist/pwa/worker/global-scope/global-scope.js.map +1 -0
- package/dist/pwa/worker/global-scope/index.d.ts +2 -0
- package/dist/pwa/worker/global-scope/index.js +2 -0
- package/dist/pwa/worker/index.d.ts +3 -0
- package/dist/pwa/worker/index.js +3 -0
- package/dist/pwa/worker/lifecycle/index.d.ts +2 -0
- package/dist/pwa/worker/lifecycle/index.js +2 -0
- package/dist/pwa/worker/lifecycle/lifecycle.d.ts +19 -0
- package/dist/pwa/worker/lifecycle/lifecycle.d.ts.map +1 -0
- package/dist/pwa/worker/lifecycle/lifecycle.js +32 -0
- package/dist/pwa/worker/lifecycle/lifecycle.js.map +1 -0
- package/dist/pwa/worker/messages/index.d.ts +2 -0
- package/dist/pwa/worker/messages/index.js +2 -0
- package/dist/pwa/worker/messages/messages.d.ts +16 -0
- package/dist/pwa/worker/messages/messages.d.ts.map +1 -0
- package/dist/pwa/worker/messages/messages.js +59 -0
- package/dist/pwa/worker/messages/messages.js.map +1 -0
- package/dist/pwa/worker/precache/download.d.ts +11 -0
- package/dist/pwa/worker/precache/download.d.ts.map +1 -0
- package/dist/pwa/worker/precache/download.js +26 -0
- package/dist/pwa/worker/precache/download.js.map +1 -0
- package/dist/pwa/worker/precache/index.d.ts +2 -0
- package/dist/pwa/worker/precache/index.js +2 -0
- package/dist/pwa/worker/precache/precache.d.ts +21 -0
- package/dist/pwa/worker/precache/precache.d.ts.map +1 -0
- package/dist/pwa/worker/precache/precache.js +35 -0
- package/dist/pwa/worker/precache/precache.js.map +1 -0
- package/dist/pwa/worker/requests/index.d.ts +2 -0
- package/dist/pwa/worker/requests/index.js +2 -0
- package/dist/pwa/worker/requests/pages/index.d.ts +2 -0
- package/dist/pwa/worker/requests/pages/index.js +2 -0
- package/dist/pwa/worker/requests/pages/pages.d.ts +25 -0
- package/dist/pwa/worker/requests/pages/pages.d.ts.map +1 -0
- package/dist/pwa/worker/requests/pages/pages.js +74 -0
- package/dist/pwa/worker/requests/pages/pages.js.map +1 -0
- package/dist/pwa/worker/requests/requests.d.ts +17 -0
- package/dist/pwa/worker/requests/requests.d.ts.map +1 -0
- package/dist/pwa/worker/requests/requests.js +28 -0
- package/dist/pwa/worker/requests/requests.js.map +1 -0
- package/dist/pwa/worker/requests/strategies/cache-store.d.ts +19 -0
- package/dist/pwa/worker/requests/strategies/cache-store.d.ts.map +1 -0
- package/dist/pwa/worker/requests/strategies/cache-store.js +50 -0
- package/dist/pwa/worker/requests/strategies/cache-store.js.map +1 -0
- package/dist/pwa/worker/requests/strategies/index.d.ts +3 -0
- package/dist/pwa/worker/requests/strategies/index.js +3 -0
- package/dist/pwa/worker/requests/strategies/kinds.d.ts +11 -0
- package/dist/pwa/worker/requests/strategies/kinds.d.ts.map +1 -0
- package/dist/pwa/worker/requests/strategies/kinds.js +35 -0
- package/dist/pwa/worker/requests/strategies/kinds.js.map +1 -0
- package/dist/pwa/worker/requests/strategies/network-first.d.ts +18 -0
- package/dist/pwa/worker/requests/strategies/network-first.d.ts.map +1 -0
- package/dist/pwa/worker/requests/strategies/network-first.js +30 -0
- package/dist/pwa/worker/requests/strategies/network-first.js.map +1 -0
- package/dist/pwa/worker/requests/strategies/strategies.d.ts +16 -0
- package/dist/pwa/worker/requests/strategies/strategies.d.ts.map +1 -0
- package/dist/pwa/worker/requests/strategies/strategies.js +22 -0
- package/dist/pwa/worker/requests/strategies/strategies.js.map +1 -0
- package/dist/pwa/worker/worker.d.ts +23 -0
- package/dist/pwa/worker/worker.d.ts.map +1 -0
- package/dist/pwa/worker/worker.js +53 -0
- package/dist/pwa/worker/worker.js.map +1 -0
- package/dist/recipes/account-lost/account-lost.d.ts +24 -0
- package/dist/recipes/account-lost/account-lost.d.ts.map +1 -0
- package/dist/recipes/account-lost/account-lost.js +35 -0
- package/dist/recipes/account-lost/account-lost.js.map +1 -0
- package/dist/recipes/account-lost/index.d.ts +2 -0
- package/dist/recipes/account-lost/index.js +2 -0
- package/dist/recipes/account-switcher/account-switcher.d.ts +25 -0
- package/dist/recipes/account-switcher/account-switcher.d.ts.map +1 -0
- package/dist/recipes/account-switcher/account-switcher.js +124 -0
- package/dist/recipes/account-switcher/account-switcher.js.map +1 -0
- package/dist/recipes/account-switcher/index.d.ts +2 -0
- package/dist/recipes/account-switcher/index.js +2 -0
- package/dist/recipes/frame/app-shell.d.ts +37 -0
- package/dist/recipes/frame/app-shell.d.ts.map +1 -0
- package/dist/recipes/frame/app-shell.js +46 -0
- package/dist/recipes/frame/app-shell.js.map +1 -0
- package/dist/recipes/frame/frame/frame.d.ts +32 -0
- package/dist/recipes/frame/frame/frame.d.ts.map +1 -0
- package/dist/recipes/frame/frame/frame.js +135 -0
- package/dist/recipes/frame/frame/frame.js.map +1 -0
- package/dist/recipes/frame/frame/geometry.d.ts +22 -0
- package/dist/recipes/frame/frame/geometry.d.ts.map +1 -0
- package/dist/recipes/frame/frame/geometry.js +36 -0
- package/dist/recipes/frame/frame/geometry.js.map +1 -0
- package/dist/recipes/frame/frame/index.d.ts +2 -0
- package/dist/recipes/frame/frame/index.js +2 -0
- package/dist/recipes/frame/frame/motion.d.ts +20 -0
- package/dist/recipes/frame/frame/motion.d.ts.map +1 -0
- package/dist/recipes/frame/frame/motion.js +58 -0
- package/dist/recipes/frame/frame/motion.js.map +1 -0
- package/dist/recipes/frame/frame/state.d.ts +17 -0
- package/dist/recipes/frame/frame/state.d.ts.map +1 -0
- package/dist/recipes/frame/frame/state.js +27 -0
- package/dist/recipes/frame/frame/state.js.map +1 -0
- package/dist/recipes/frame/header.d.ts +18 -0
- package/dist/recipes/frame/header.d.ts.map +1 -0
- package/dist/recipes/frame/header.js +43 -0
- package/dist/recipes/frame/header.js.map +1 -0
- package/dist/recipes/frame/index.d.ts +4 -0
- package/dist/recipes/frame/index.js +4 -0
- package/dist/recipes/frame/sidebar/blocks.d.ts +31 -0
- package/dist/recipes/frame/sidebar/blocks.d.ts.map +1 -0
- package/dist/recipes/frame/sidebar/blocks.js +126 -0
- package/dist/recipes/frame/sidebar/blocks.js.map +1 -0
- package/dist/recipes/frame/sidebar/index.d.ts +4 -0
- package/dist/recipes/frame/sidebar/index.js +4 -0
- package/dist/recipes/frame/sidebar/nav.d.ts +22 -0
- package/dist/recipes/frame/sidebar/nav.d.ts.map +1 -0
- package/dist/recipes/frame/sidebar/nav.js +14 -0
- package/dist/recipes/frame/sidebar/nav.js.map +1 -0
- package/dist/recipes/frame/sidebar/resize-handle.d.ts +12 -0
- package/dist/recipes/frame/sidebar/resize-handle.d.ts.map +1 -0
- package/dist/recipes/frame/sidebar/resize-handle.js +90 -0
- package/dist/recipes/frame/sidebar/resize-handle.js.map +1 -0
- package/dist/recipes/frame/sidebar/sidebar.d.ts +24 -0
- package/dist/recipes/frame/sidebar/sidebar.d.ts.map +1 -0
- package/dist/recipes/frame/sidebar/sidebar.js +30 -0
- package/dist/recipes/frame/sidebar/sidebar.js.map +1 -0
- package/dist/recipes/frame/sidebar/width.d.ts +9 -0
- package/dist/recipes/frame/sidebar/width.d.ts.map +1 -0
- package/dist/recipes/frame/sidebar/width.js +22 -0
- package/dist/recipes/frame/sidebar/width.js.map +1 -0
- package/dist/recipes/gate-screens/gate-screens.d.ts +52 -0
- package/dist/recipes/gate-screens/gate-screens.d.ts.map +1 -0
- package/dist/recipes/gate-screens/gate-screens.js +192 -0
- package/dist/recipes/gate-screens/gate-screens.js.map +1 -0
- package/dist/recipes/gate-screens/index.d.ts +2 -0
- package/dist/recipes/gate-screens/index.js +2 -0
- package/dist/recipes/kabuki-devtools/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/index.js +2 -0
- package/dist/recipes/kabuki-devtools/ink/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/ink/index.js +2 -0
- package/dist/recipes/kabuki-devtools/ink/ink.d.ts +37 -0
- package/dist/recipes/kabuki-devtools/ink/ink.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/ink/ink.js +37 -0
- package/dist/recipes/kabuki-devtools/ink/ink.js.map +1 -0
- package/dist/recipes/kabuki-devtools/kabuki-devtools.d.ts +40 -0
- package/dist/recipes/kabuki-devtools/kabuki-devtools.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/kabuki-devtools.js +279 -0
- package/dist/recipes/kabuki-devtools/kabuki-devtools.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/beat/beat.d.ts +13 -0
- package/dist/recipes/kabuki-devtools/map/beat/beat.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/beat/beat.js +223 -0
- package/dist/recipes/kabuki-devtools/map/beat/beat.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/beat/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/beat/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/canvas/canvas.d.ts +29 -0
- package/dist/recipes/kabuki-devtools/map/canvas/canvas.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/canvas/canvas.js +221 -0
- package/dist/recipes/kabuki-devtools/map/canvas/canvas.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/canvas/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/canvas/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/link/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/link/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/link/link.d.ts +22 -0
- package/dist/recipes/kabuki-devtools/map/link/link.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/link/link.js +72 -0
- package/dist/recipes/kabuki-devtools/map/link/link.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/map.d.ts +26 -0
- package/dist/recipes/kabuki-devtools/map/map.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/map.js +362 -0
- package/dist/recipes/kabuki-devtools/map/map.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/node/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/node/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/node/node.d.ts +25 -0
- package/dist/recipes/kabuki-devtools/map/node/node.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/node/node.js +251 -0
- package/dist/recipes/kabuki-devtools/map/node/node.js.map +1 -0
- package/dist/recipes/kabuki-devtools/map/popup/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/map/popup/index.js +2 -0
- package/dist/recipes/kabuki-devtools/map/popup/popup.d.ts +12 -0
- package/dist/recipes/kabuki-devtools/map/popup/popup.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/map/popup/popup.js +72 -0
- package/dist/recipes/kabuki-devtools/map/popup/popup.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/beats.d.ts +36 -0
- package/dist/recipes/kabuki-devtools/scene/beats.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/beats.js +46 -0
- package/dist/recipes/kabuki-devtools/scene/beats.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/index.d.ts +5 -0
- package/dist/recipes/kabuki-devtools/scene/index.js +3 -0
- package/dist/recipes/kabuki-devtools/scene/layout/index.d.ts +3 -0
- package/dist/recipes/kabuki-devtools/scene/layout/index.js +2 -0
- package/dist/recipes/kabuki-devtools/scene/layout/layout.d.ts +6 -0
- package/dist/recipes/kabuki-devtools/scene/layout/layout.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/layout.js +8 -0
- package/dist/recipes/kabuki-devtools/scene/layout/layout.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/outline.d.ts +5 -0
- package/dist/recipes/kabuki-devtools/scene/layout/outline.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/outline.js +84 -0
- package/dist/recipes/kabuki-devtools/scene/layout/outline.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/shapes.d.ts +57 -0
- package/dist/recipes/kabuki-devtools/scene/layout/shapes.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/shapes.js +38 -0
- package/dist/recipes/kabuki-devtools/scene/layout/shapes.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/tree.d.ts +5 -0
- package/dist/recipes/kabuki-devtools/scene/layout/tree.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/layout/tree.js +146 -0
- package/dist/recipes/kabuki-devtools/scene/layout/tree.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/nodes.d.ts +67 -0
- package/dist/recipes/kabuki-devtools/scene/nodes.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/nodes.js +39 -0
- package/dist/recipes/kabuki-devtools/scene/nodes.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/scene.d.ts +78 -0
- package/dist/recipes/kabuki-devtools/scene/scene.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/scene.js +128 -0
- package/dist/recipes/kabuki-devtools/scene/scene.js.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/tree.d.ts +20 -0
- package/dist/recipes/kabuki-devtools/scene/tree.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/scene/tree.js +85 -0
- package/dist/recipes/kabuki-devtools/scene/tree.js.map +1 -0
- package/dist/recipes/kabuki-devtools/sheet/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/sheet/index.js +2 -0
- package/dist/recipes/kabuki-devtools/sheet/sheet.d.ts +33 -0
- package/dist/recipes/kabuki-devtools/sheet/sheet.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/sheet/sheet.js +129 -0
- package/dist/recipes/kabuki-devtools/sheet/sheet.js.map +1 -0
- package/dist/recipes/kabuki-devtools/timeline/index.d.ts +2 -0
- package/dist/recipes/kabuki-devtools/timeline/index.js +2 -0
- package/dist/recipes/kabuki-devtools/timeline/timeline.d.ts +25 -0
- package/dist/recipes/kabuki-devtools/timeline/timeline.d.ts.map +1 -0
- package/dist/recipes/kabuki-devtools/timeline/timeline.js +122 -0
- package/dist/recipes/kabuki-devtools/timeline/timeline.js.map +1 -0
- package/dist/recipes/key-bindings/index.d.ts +2 -0
- package/dist/recipes/key-bindings/index.js +2 -0
- package/dist/recipes/key-bindings/key-bindings.d.ts +19 -0
- package/dist/recipes/key-bindings/key-bindings.d.ts.map +1 -0
- package/dist/recipes/key-bindings/key-bindings.js +61 -0
- package/dist/recipes/key-bindings/key-bindings.js.map +1 -0
- package/dist/recipes/local-sign-in/index.d.ts +2 -0
- package/dist/recipes/local-sign-in/index.js +2 -0
- package/dist/recipes/local-sign-in/local-sign-in.d.ts +18 -0
- package/dist/recipes/local-sign-in/local-sign-in.d.ts.map +1 -0
- package/dist/recipes/local-sign-in/local-sign-in.js +109 -0
- package/dist/recipes/local-sign-in/local-sign-in.js.map +1 -0
- package/dist/recipes/parts/email-privacy/email-privacy.d.ts +24 -0
- package/dist/recipes/parts/email-privacy/email-privacy.d.ts.map +1 -0
- package/dist/recipes/parts/email-privacy/email-privacy.js +35 -0
- package/dist/recipes/parts/email-privacy/email-privacy.js.map +1 -0
- package/dist/recipes/parts/email-privacy/index.d.ts +2 -0
- package/dist/recipes/parts/email-privacy/index.js +2 -0
- package/dist/recipes/swipe-row/index.d.ts +2 -0
- package/dist/recipes/swipe-row/index.js +2 -0
- package/dist/recipes/swipe-row/swipe-row.d.ts +16 -0
- package/dist/recipes/swipe-row/swipe-row.d.ts.map +1 -0
- package/dist/recipes/swipe-row/swipe-row.js +96 -0
- package/dist/recipes/swipe-row/swipe-row.js.map +1 -0
- package/dist/recipes/thumb-picker/choice.d.ts +18 -0
- package/dist/recipes/thumb-picker/choice.d.ts.map +1 -0
- package/dist/recipes/thumb-picker/choice.js +0 -0
- package/dist/recipes/thumb-picker/index.d.ts +3 -0
- package/dist/recipes/thumb-picker/index.js +2 -0
- package/dist/recipes/thumb-picker/list.d.ts +18 -0
- package/dist/recipes/thumb-picker/list.d.ts.map +1 -0
- package/dist/recipes/thumb-picker/list.js +48 -0
- package/dist/recipes/thumb-picker/list.js.map +1 -0
- package/dist/recipes/thumb-picker/lock.d.ts +18 -0
- package/dist/recipes/thumb-picker/lock.d.ts.map +1 -0
- package/dist/recipes/thumb-picker/lock.js +71 -0
- package/dist/recipes/thumb-picker/lock.js.map +1 -0
- package/dist/recipes/thumb-picker/menu.d.ts +19 -0
- package/dist/recipes/thumb-picker/menu.d.ts.map +1 -0
- package/dist/recipes/thumb-picker/menu.js +127 -0
- package/dist/recipes/thumb-picker/menu.js.map +1 -0
- package/dist/recipes/thumb-picker/thumb-picker.d.ts +31 -0
- package/dist/recipes/thumb-picker/thumb-picker.d.ts.map +1 -0
- package/dist/recipes/thumb-picker/thumb-picker.js +65 -0
- package/dist/recipes/thumb-picker/thumb-picker.js.map +1 -0
- package/dist/server/index.d.ts +7 -0
- package/dist/server/index.js +5 -0
- package/dist/server/live/index.d.ts +2 -0
- package/dist/server/live/index.js +2 -0
- package/dist/server/live/live.d.ts +56 -0
- package/dist/server/live/live.d.ts.map +1 -0
- package/dist/server/live/live.js +98 -0
- package/dist/server/live/live.js.map +1 -0
- package/dist/server/serve/index.d.ts +2 -0
- package/dist/server/serve/index.js +2 -0
- package/dist/server/serve/serve.d.ts +48 -0
- package/dist/server/serve/serve.d.ts.map +1 -0
- package/dist/server/serve/serve.js +47 -0
- package/dist/server/serve/serve.js.map +1 -0
- package/dist/server/stage/index.d.ts +2 -0
- package/dist/server/stage/index.js +2 -0
- package/dist/server/stage/stage.d.ts +14 -0
- package/dist/server/stage/stage.d.ts.map +1 -0
- package/dist/server/stage/stage.js +28 -0
- package/dist/server/stage/stage.js.map +1 -0
- package/dist/server/worker/index.d.ts +2 -0
- package/dist/server/worker/index.js +2 -0
- package/dist/server/worker/worker.d.ts +19 -0
- package/dist/server/worker/worker.d.ts.map +1 -0
- package/dist/server/worker/worker.js +18 -0
- package/dist/server/worker/worker.js.map +1 -0
- package/dist/theme/cookie.d.ts +6 -0
- package/dist/theme/cookie.d.ts.map +1 -0
- package/dist/theme/cookie.js +21 -0
- package/dist/theme/cookie.js.map +1 -0
- package/dist/theme/css/font-inter.css +2 -0
- package/dist/theme/css/global.css +62 -0
- package/dist/theme/css/shiki.css +71 -0
- package/dist/theme/css/sources.css +6 -0
- package/dist/theme/css/theme.css +170 -0
- package/dist/theme/css/typography.css +1 -0
- package/dist/theme/document.d.ts +6 -0
- package/dist/theme/document.d.ts.map +1 -0
- package/dist/theme/document.js +26 -0
- package/dist/theme/document.js.map +1 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.js +4 -0
- package/dist/theme/model.d.ts +9 -0
- package/dist/theme/model.d.ts.map +1 -0
- package/dist/theme/model.js +13 -0
- package/dist/theme/model.js.map +1 -0
- package/dist/theme/status-bar.d.ts +10 -0
- package/dist/theme/status-bar.d.ts.map +1 -0
- package/dist/theme/status-bar.js +19 -0
- package/dist/theme/status-bar.js.map +1 -0
- package/dist/theme/store.d.ts +6 -0
- package/dist/theme/store.d.ts.map +1 -0
- package/dist/theme/store.js +45 -0
- package/dist/theme/store.js.map +1 -0
- package/dist/theme/theme.d.ts +22 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/theme.js +37 -0
- package/dist/theme/theme.js.map +1 -0
- package/package.json +255 -3
- package/src/app/apis/apis.ts +109 -0
- package/src/app/apis/index.ts +13 -0
- package/src/app/app.tsx +232 -0
- package/src/app/assemble/assemble.tsx +339 -0
- package/src/app/assemble/index.ts +7 -0
- package/src/app/assemble/public.ts +98 -0
- package/src/app/gate/domain/check.ts +76 -0
- package/src/app/gate/domain/index.ts +3 -0
- package/src/app/gate/domain/machine.ts +439 -0
- package/src/app/gate/domain/services.ts +46 -0
- package/src/app/gate/domain/types.ts +36 -0
- package/src/app/gate/gate.ts +501 -0
- package/src/app/gate/index.ts +3 -0
- package/src/app/gate/memory.ts +56 -0
- package/src/app/gate/react.tsx +139 -0
- package/src/app/host/host.ts +166 -0
- package/src/app/host/index.ts +10 -0
- package/src/app/index.ts +10 -0
- package/src/app/session/define.ts +75 -0
- package/src/app/session/index.ts +17 -0
- package/src/app/session/keeper.ts +34 -0
- package/src/app/session/open.ts +207 -0
- package/src/app/session/react.tsx +38 -0
- package/src/app/session/status.ts +46 -0
- package/src/app/web-host.ts +104 -0
- package/src/client/index.ts +9 -0
- package/src/client/root/index.ts +7 -0
- package/src/client/root/root.tsx +149 -0
- package/src/client/server.ts +3 -0
- package/src/client/theme/index.ts +1 -0
- package/src/client/theme/tanstack-start.ts +5 -0
- package/src/components/hooks/use-element-width.ts +24 -0
- package/src/components/hooks/use-mobile.ts +21 -0
- package/src/components/hooks/use-scroll.ts +292 -0
- package/src/components/lib/lucide.ts +1 -0
- package/src/components/lib/motion.ts +1 -0
- package/src/components/lib/scrollStyles.ts +44 -0
- package/src/components/lib/shadow-dom.tsx +86 -0
- package/src/components/lib/utils.ts +6 -0
- package/src/components/ui/accordion.tsx +71 -0
- package/src/components/ui/alert-dialog.tsx +185 -0
- package/src/components/ui/alert.tsx +75 -0
- package/src/components/ui/aspect-ratio.tsx +22 -0
- package/src/components/ui/attachment.tsx +207 -0
- package/src/components/ui/avatar.tsx +106 -0
- package/src/components/ui/badge.tsx +51 -0
- package/src/components/ui/breadcrumb.tsx +124 -0
- package/src/components/ui/bubble.tsx +127 -0
- package/src/components/ui/button-group.tsx +87 -0
- package/src/components/ui/button.tsx +57 -0
- package/src/components/ui/calendar.tsx +221 -0
- package/src/components/ui/card.tsx +102 -0
- package/src/components/ui/carousel.tsx +240 -0
- package/src/components/ui/chart.tsx +370 -0
- package/src/components/ui/checkbox.tsx +28 -0
- package/src/components/ui/collapsible.tsx +19 -0
- package/src/components/ui/combobox.tsx +295 -0
- package/src/components/ui/command.tsx +196 -0
- package/src/components/ui/context-menu.tsx +270 -0
- package/src/components/ui/dialog.tsx +157 -0
- package/src/components/ui/direction.tsx +4 -0
- package/src/components/ui/drawer.tsx +224 -0
- package/src/components/ui/dropdown-menu.tsx +275 -0
- package/src/components/ui/empty.tsx +103 -0
- package/src/components/ui/field.tsx +236 -0
- package/src/components/ui/file-tree.tsx +619 -0
- package/src/components/ui/google-button.tsx +194 -0
- package/src/components/ui/hover-card.tsx +50 -0
- package/src/components/ui/input-group.tsx +158 -0
- package/src/components/ui/input-otp.tsx +84 -0
- package/src/components/ui/input.tsx +19 -0
- package/src/components/ui/item.tsx +201 -0
- package/src/components/ui/kbd.tsx +26 -0
- package/src/components/ui/label.tsx +19 -0
- package/src/components/ui/marker.tsx +70 -0
- package/src/components/ui/menubar.tsx +280 -0
- package/src/components/ui/message-scroller.tsx +129 -0
- package/src/components/ui/message.tsx +91 -0
- package/src/components/ui/native-select.tsx +60 -0
- package/src/components/ui/navigation-menu.tsx +167 -0
- package/src/components/ui/pagination.tsx +130 -0
- package/src/components/ui/popover.tsx +87 -0
- package/src/components/ui/progress.tsx +82 -0
- package/src/components/ui/questionnaire.tsx +324 -0
- package/src/components/ui/radio-group.tsx +35 -0
- package/src/components/ui/resizable.tsx +49 -0
- package/src/components/ui/scroll-area.tsx +60 -0
- package/src/components/ui/select.tsx +200 -0
- package/src/components/ui/separator.tsx +22 -0
- package/src/components/ui/sheet.tsx +133 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/slider.tsx +51 -0
- package/src/components/ui/sonner.tsx +43 -0
- package/src/components/ui/spinner.tsx +10 -0
- package/src/components/ui/switch.tsx +31 -0
- package/src/components/ui/table.tsx +113 -0
- package/src/components/ui/tabs.tsx +81 -0
- package/src/components/ui/textarea.tsx +17 -0
- package/src/components/ui/toast.tsx +234 -0
- package/src/components/ui/toggle-group.tsx +87 -0
- package/src/components/ui/toggle.tsx +42 -0
- package/src/components/ui/tooltip.tsx +65 -0
- package/src/components/viewers/diff-viewer/align.ts +83 -0
- package/src/components/viewers/diff-viewer/collapse.ts +102 -0
- package/src/components/viewers/diff-viewer/diff-viewer.tsx +605 -0
- package/src/components/viewers/diff-viewer/index.ts +8 -0
- package/src/components/viewers/diff-viewer/render-model.ts +123 -0
- package/src/components/viewers/diff-viewer/sync-rows.ts +41 -0
- package/src/components/viewers/file-tree/expand.ts +58 -0
- package/src/components/viewers/file-tree/file-tree.tsx +199 -0
- package/src/components/viewers/file-tree/index.ts +2 -0
- package/src/components/viewers/git-changes/git-changes.tsx +287 -0
- package/src/components/viewers/git-changes/index.ts +11 -0
- package/src/components/viewers/json/index.ts +3 -0
- package/src/components/viewers/json/json-editor.tsx +94 -0
- package/src/components/viewers/json/json-tree.tsx +110 -0
- package/src/components/viewers/json/json-viewer.tsx +61 -0
- package/src/components/viewers/markdown-viewer/index.ts +1 -0
- package/src/components/viewers/markdown-viewer/markdown-viewer.tsx +83 -0
- package/src/components/viewers/source-explorer/index.ts +11 -0
- package/src/components/viewers/source-explorer/initial-selection.ts +21 -0
- package/src/components/viewers/source-explorer/snapshot-tree.ts +39 -0
- package/src/components/viewers/source-explorer/source-explorer.tsx +598 -0
- package/src/components/viewers/source-viewer/index.ts +7 -0
- package/src/components/viewers/source-viewer/source-viewer.tsx +437 -0
- package/src/cosmos.decorator.tsx +38 -0
- package/src/css.d.ts +1 -0
- package/src/define/index.ts +26 -0
- package/src/feedback/index.ts +1 -0
- package/src/feedback/sound.ts +167 -0
- package/src/form/components/submit-button.tsx +52 -0
- package/src/form/context.ts +8 -0
- package/src/form/create-form-hook.ts +50 -0
- package/src/form/fields/date-picker-field.tsx +125 -0
- package/src/form/fields/select-field.tsx +110 -0
- package/src/form/fields/switch-field.tsx +72 -0
- package/src/form/fields/text-field.tsx +82 -0
- package/src/form/fields/textarea-field.tsx +82 -0
- package/src/form/index.ts +56 -0
- package/src/form/types.ts +76 -0
- package/src/input/device/device.ts +83 -0
- package/src/input/device/index.ts +1 -0
- package/src/input/gesture/index.ts +26 -0
- package/src/input/gesture/patterns/index.ts +3 -0
- package/src/input/gesture/patterns/pull-to-refresh/index.ts +6 -0
- package/src/input/gesture/patterns/pull-to-refresh/use-pull-to-refresh.ts +101 -0
- package/src/input/gesture/patterns/sidebar/index.ts +2 -0
- package/src/input/gesture/patterns/sidebar/use-sidebar.ts +201 -0
- package/src/input/gesture/recognizers/index.ts +12 -0
- package/src/input/gesture/recognizers/swipe/index.ts +12 -0
- package/src/input/gesture/recognizers/swipe/use-swipe.ts +224 -0
- package/src/input/gesture/zones/index.ts +11 -0
- package/src/input/gesture/zones/touch-input/index.ts +10 -0
- package/src/input/gesture/zones/touch-input/native-scroll.ts +74 -0
- package/src/input/gesture/zones/touch-input/touch-input.ts +322 -0
- package/src/input/gesture/zones/zone/index.ts +11 -0
- package/src/input/gesture/zones/zone/motion-pointers.ts +74 -0
- package/src/input/gesture/zones/zone/zone.tsx +291 -0
- package/src/input/index.ts +4 -0
- package/src/pwa/browser/dom-events.ts +17 -0
- package/src/pwa/browser/subscription-ref.ts +29 -0
- package/src/pwa/client/client.ts +43 -0
- package/src/pwa/client/commands/commands.ts +28 -0
- package/src/pwa/client/commands/index.ts +1 -0
- package/src/pwa/client/index.ts +1 -0
- package/src/pwa/client/registration.ts +63 -0
- package/src/pwa/client/runtime-cache.ts +24 -0
- package/src/pwa/client/status/index.ts +1 -0
- package/src/pwa/client/status/status.ts +155 -0
- package/src/pwa/extras/display-mode/display-mode.ts +64 -0
- package/src/pwa/extras/display-mode/index.ts +6 -0
- package/src/pwa/extras/index.ts +15 -0
- package/src/pwa/extras/install/index.ts +4 -0
- package/src/pwa/extras/install/install-content.tsx +45 -0
- package/src/pwa/extras/install/install-dismissal.ts +20 -0
- package/src/pwa/extras/install/install-prompt.tsx +93 -0
- package/src/pwa/extras/install/install.ts +134 -0
- package/src/pwa/extras/install/ios.ts +13 -0
- package/src/pwa/extras/install/media-query.ts +18 -0
- package/src/pwa/extras/lazy-service/index.ts +1 -0
- package/src/pwa/extras/lazy-service/lazy-service.ts +38 -0
- package/src/pwa/extras/online/index.ts +2 -0
- package/src/pwa/extras/online/offline-indicator.tsx +26 -0
- package/src/pwa/extras/online/online.ts +35 -0
- package/src/pwa/extras/storage/index.ts +1 -0
- package/src/pwa/extras/storage/storage.ts +101 -0
- package/src/pwa/index.ts +5 -0
- package/src/pwa/react/head.ts +69 -0
- package/src/pwa/react/index.ts +3 -0
- package/src/pwa/react/react.tsx +98 -0
- package/src/pwa/react/update-prompt.tsx +26 -0
- package/src/pwa/react/update-toast.ts +57 -0
- package/src/pwa/root/index.ts +1 -0
- package/src/pwa/root/root.tsx +39 -0
- package/src/pwa/rpc/client/client.ts +105 -0
- package/src/pwa/rpc/client/index.ts +1 -0
- package/src/pwa/rpc/client/page-environment.ts +88 -0
- package/src/pwa/rpc/client/platform.ts +213 -0
- package/src/pwa/rpc/client/version-skew.ts +71 -0
- package/src/pwa/rpc/handshake/handshake.ts +125 -0
- package/src/pwa/rpc/handshake/index.ts +11 -0
- package/src/pwa/rpc/worker/connections.ts +62 -0
- package/src/pwa/rpc/worker/index.ts +1 -0
- package/src/pwa/rpc/worker/keep-alive.ts +26 -0
- package/src/pwa/rpc/worker/runner-platform.ts +200 -0
- package/src/pwa/rpc/worker/worker.ts +44 -0
- package/src/pwa/shared/build/build.ts +78 -0
- package/src/pwa/shared/build/canonical-json.ts +11 -0
- package/src/pwa/shared/build/fnv1a.ts +13 -0
- package/src/pwa/shared/build/index.ts +19 -0
- package/src/pwa/shared/commands/commands.ts +60 -0
- package/src/pwa/shared/commands/index.ts +11 -0
- package/src/pwa/shared/config/config.ts +185 -0
- package/src/pwa/shared/config/index.ts +11 -0
- package/src/pwa/shared/config/presets.ts +45 -0
- package/src/pwa/shared/manifest/index.ts +5 -0
- package/src/pwa/shared/manifest/manifest.ts +102 -0
- package/src/pwa/shared/strategy/index.ts +8 -0
- package/src/pwa/shared/strategy/pattern.ts +20 -0
- package/src/pwa/shared/strategy/strategy.ts +107 -0
- package/src/pwa/shared/worker-host/index.ts +1 -0
- package/src/pwa/shared/worker-host/worker-host.ts +22 -0
- package/src/pwa/splash/devices.ts +28 -0
- package/src/pwa/splash/index.ts +1 -0
- package/src/pwa/splash/splash.ts +44 -0
- package/src/pwa/virtual.d.ts +13 -0
- package/src/pwa/vite/build/build-plugin.ts +153 -0
- package/src/pwa/vite/build/build-state.ts +17 -0
- package/src/pwa/vite/build/headers.ts +34 -0
- package/src/pwa/vite/build/index.ts +2 -0
- package/src/pwa/vite/build/output-files.ts +49 -0
- package/src/pwa/vite/build/start-setup.ts +50 -0
- package/src/pwa/vite/client-module/build-version.ts +43 -0
- package/src/pwa/vite/client-module/client-info.ts +58 -0
- package/src/pwa/vite/client-module/client-module.ts +67 -0
- package/src/pwa/vite/client-module/index.ts +1 -0
- package/src/pwa/vite/dev/dev-plugin.ts +72 -0
- package/src/pwa/vite/dev/index.ts +1 -0
- package/src/pwa/vite/index.ts +1 -0
- package/src/pwa/vite/precache/asset-kind.ts +25 -0
- package/src/pwa/vite/precache/index.ts +6 -0
- package/src/pwa/vite/precache/precache.ts +97 -0
- package/src/pwa/vite/precache/revision.ts +5 -0
- package/src/pwa/vite/precache/url-path.ts +21 -0
- package/src/pwa/vite/vite.ts +25 -0
- package/src/pwa/vite/worker-bundle/build-module.ts +28 -0
- package/src/pwa/vite/worker-bundle/entry.ts +29 -0
- package/src/pwa/vite/worker-bundle/index.ts +1 -0
- package/src/pwa/vite/worker-bundle/kill-switch.ts +23 -0
- package/src/pwa/vite/worker-bundle/worker-bundle.ts +71 -0
- package/src/pwa/worker/commands/commands.ts +31 -0
- package/src/pwa/worker/commands/index.ts +1 -0
- package/src/pwa/worker/global-scope/global-scope.ts +99 -0
- package/src/pwa/worker/global-scope/index.ts +9 -0
- package/src/pwa/worker/index.ts +1 -0
- package/src/pwa/worker/lifecycle/index.ts +1 -0
- package/src/pwa/worker/lifecycle/lifecycle.ts +52 -0
- package/src/pwa/worker/messages/index.ts +1 -0
- package/src/pwa/worker/messages/messages.ts +67 -0
- package/src/pwa/worker/precache/download.ts +38 -0
- package/src/pwa/worker/precache/index.ts +7 -0
- package/src/pwa/worker/precache/precache.ts +72 -0
- package/src/pwa/worker/requests/index.ts +1 -0
- package/src/pwa/worker/requests/pages/index.ts +1 -0
- package/src/pwa/worker/requests/pages/pages.ts +116 -0
- package/src/pwa/worker/requests/requests.ts +39 -0
- package/src/pwa/worker/requests/strategies/cache-store.ts +82 -0
- package/src/pwa/worker/requests/strategies/index.ts +2 -0
- package/src/pwa/worker/requests/strategies/kinds.ts +63 -0
- package/src/pwa/worker/requests/strategies/network-first.ts +40 -0
- package/src/pwa/worker/requests/strategies/strategies.ts +40 -0
- package/src/pwa/worker/worker.ts +99 -0
- package/src/recipes/account-lost/account-lost.tsx +66 -0
- package/src/recipes/account-lost/index.ts +5 -0
- package/src/recipes/account-switcher/account-switcher.tsx +199 -0
- package/src/recipes/account-switcher/index.ts +5 -0
- package/src/recipes/frame/app-shell.tsx +74 -0
- package/src/recipes/frame/frame/frame.tsx +204 -0
- package/src/recipes/frame/frame/geometry.ts +60 -0
- package/src/recipes/frame/frame/index.ts +1 -0
- package/src/recipes/frame/frame/motion.ts +85 -0
- package/src/recipes/frame/frame/state.ts +29 -0
- package/src/recipes/frame/header.tsx +54 -0
- package/src/recipes/frame/index.ts +16 -0
- package/src/recipes/frame/sidebar/blocks.tsx +214 -0
- package/src/recipes/frame/sidebar/index.ts +15 -0
- package/src/recipes/frame/sidebar/nav.tsx +46 -0
- package/src/recipes/frame/sidebar/resize-handle.tsx +94 -0
- package/src/recipes/frame/sidebar/sidebar.tsx +44 -0
- package/src/recipes/frame/sidebar/width.ts +23 -0
- package/src/recipes/gate-screens/gate-screens.tsx +213 -0
- package/src/recipes/gate-screens/index.ts +5 -0
- package/src/recipes/kabuki-devtools/index.ts +1 -0
- package/src/recipes/kabuki-devtools/ink/index.ts +2 -0
- package/src/recipes/kabuki-devtools/ink/ink.ts +53 -0
- package/src/recipes/kabuki-devtools/kabuki-devtools.tsx +419 -0
- package/src/recipes/kabuki-devtools/map/beat/beat.tsx +243 -0
- package/src/recipes/kabuki-devtools/map/beat/index.ts +1 -0
- package/src/recipes/kabuki-devtools/map/canvas/canvas.tsx +320 -0
- package/src/recipes/kabuki-devtools/map/canvas/index.ts +2 -0
- package/src/recipes/kabuki-devtools/map/index.ts +2 -0
- package/src/recipes/kabuki-devtools/map/link/index.ts +1 -0
- package/src/recipes/kabuki-devtools/map/link/link.tsx +107 -0
- package/src/recipes/kabuki-devtools/map/map.tsx +474 -0
- package/src/recipes/kabuki-devtools/map/node/index.ts +2 -0
- package/src/recipes/kabuki-devtools/map/node/node.tsx +437 -0
- package/src/recipes/kabuki-devtools/map/popup/index.ts +1 -0
- package/src/recipes/kabuki-devtools/map/popup/popup.tsx +73 -0
- package/src/recipes/kabuki-devtools/scene/beats.ts +110 -0
- package/src/recipes/kabuki-devtools/scene/index.ts +11 -0
- package/src/recipes/kabuki-devtools/scene/layout/index.ts +3 -0
- package/src/recipes/kabuki-devtools/scene/layout/layout.ts +14 -0
- package/src/recipes/kabuki-devtools/scene/layout/outline.ts +80 -0
- package/src/recipes/kabuki-devtools/scene/layout/shapes.ts +93 -0
- package/src/recipes/kabuki-devtools/scene/layout/tree.ts +181 -0
- package/src/recipes/kabuki-devtools/scene/nodes.ts +116 -0
- package/src/recipes/kabuki-devtools/scene/scene.ts +268 -0
- package/src/recipes/kabuki-devtools/scene/tree.ts +191 -0
- package/src/recipes/kabuki-devtools/sheet/index.ts +1 -0
- package/src/recipes/kabuki-devtools/sheet/sheet.tsx +193 -0
- package/src/recipes/kabuki-devtools/timeline/index.ts +2 -0
- package/src/recipes/kabuki-devtools/timeline/timeline.tsx +206 -0
- package/src/recipes/key-bindings/index.ts +1 -0
- package/src/recipes/key-bindings/key-bindings.tsx +80 -0
- package/src/recipes/local-sign-in/index.ts +5 -0
- package/src/recipes/local-sign-in/local-sign-in.tsx +148 -0
- package/src/recipes/parts/email-privacy/email-privacy.tsx +52 -0
- package/src/recipes/parts/email-privacy/index.ts +1 -0
- package/src/recipes/swipe-row/index.ts +1 -0
- package/src/recipes/swipe-row/swipe-row.tsx +97 -0
- package/src/recipes/thumb-picker/choice.ts +14 -0
- package/src/recipes/thumb-picker/index.ts +1 -0
- package/src/recipes/thumb-picker/list.tsx +73 -0
- package/src/recipes/thumb-picker/lock.ts +86 -0
- package/src/recipes/thumb-picker/menu.tsx +105 -0
- package/src/recipes/thumb-picker/thumb-picker.tsx +84 -0
- package/src/server/index.ts +21 -0
- package/src/server/live/index.ts +9 -0
- package/src/server/live/live.ts +219 -0
- package/src/server/serve/index.ts +6 -0
- package/src/server/serve/serve.ts +115 -0
- package/src/server/stage/index.ts +6 -0
- package/src/server/stage/stage.ts +43 -0
- package/src/server/worker/index.ts +1 -0
- package/src/server/worker/worker.ts +26 -0
- package/src/theme/cookie.ts +22 -0
- package/src/theme/css/font-inter.css +2 -0
- package/src/theme/css/global.css +62 -0
- package/src/theme/css/shiki.css +71 -0
- package/src/theme/css/sources.css +6 -0
- package/src/theme/css/theme.css +170 -0
- package/src/theme/css/typography.css +1 -0
- package/src/theme/document.ts +37 -0
- package/src/theme/index.ts +3 -0
- package/src/theme/model.ts +12 -0
- package/src/theme/status-bar.ts +28 -0
- package/src/theme/store.ts +66 -0
- package/src/theme/theme.ts +45 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import { useMemo, useRef, useState } from 'react';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import { AnimatePresence } from 'motion/react';
|
|
4
|
+
import { handle, isRestore } from '@kestack/kabuki';
|
|
5
|
+
import type {
|
|
6
|
+
ActorDefinition,
|
|
7
|
+
Entry,
|
|
8
|
+
Instance,
|
|
9
|
+
Snapshot,
|
|
10
|
+
} from '@kestack/kabuki';
|
|
11
|
+
import type { AppRuntime } from '@kestack/kabuki/react';
|
|
12
|
+
import { cn } from '#lib/utils';
|
|
13
|
+
import { INK } from './ink/index.ts';
|
|
14
|
+
import type { Tone } from './ink/index.ts';
|
|
15
|
+
import { AppMap } from './map/index.ts';
|
|
16
|
+
import type { Pick } from './map/index.ts';
|
|
17
|
+
import { sceneOf } from './scene/index.ts';
|
|
18
|
+
import type {
|
|
19
|
+
Kind,
|
|
20
|
+
Placed,
|
|
21
|
+
Said,
|
|
22
|
+
Scene,
|
|
23
|
+
WorkerKey,
|
|
24
|
+
WorkerStatus,
|
|
25
|
+
} from './scene/index.ts';
|
|
26
|
+
import { Sheet } from './sheet/index.ts';
|
|
27
|
+
import { Timeline } from './timeline/index.ts';
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* The Inspector: the Step shown, drawn as a Map, with the Sheet and the
|
|
31
|
+
* Timeline under it. It fills whatever holds it, and lays itself out by its
|
|
32
|
+
* own width, not the screen's.
|
|
33
|
+
*
|
|
34
|
+
* 1. Scene the Map of the Step shown, from the Actors and its Snapshot,
|
|
35
|
+
* with the live app's Workers laid over it when it is live.
|
|
36
|
+
* 2. Pick a card, a State or Worker on it, one of its Instances, or the
|
|
37
|
+
* Step's Message; a pick gone from the Step shown closes the
|
|
38
|
+
* Sheet.
|
|
39
|
+
* 3. Sheet what is picked, taken apart.
|
|
40
|
+
* 4. Timeline which Step is shown, and whether it is live.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
type Statuses = NonNullable<Parameters<typeof sceneOf>[0]['statuses']>;
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* The Kabuki devtools: the Inspector on a running app, from its
|
|
47
|
+
* runtime (`App.useRuntime()`). It fills whatever holds it.
|
|
48
|
+
*
|
|
49
|
+
* 1. Steps init, then every entry on the Branch shown: the Head's, or
|
|
50
|
+
* the one a Step shown from another Branch is on.
|
|
51
|
+
* 2. Step the Step shown is the app's own: picking one on the Timeline
|
|
52
|
+
* Time Travels the app, and going live comes back to the Head.
|
|
53
|
+
* Its Snapshot is replayed from the History; the Commands its
|
|
54
|
+
* Message asked for are worked out again from the Step before,
|
|
55
|
+
* once each.
|
|
56
|
+
* 3. Workers live and running, what each Instance's Workers are doing.
|
|
57
|
+
*/
|
|
58
|
+
export function KabukiDevtools({
|
|
59
|
+
runtime,
|
|
60
|
+
layout,
|
|
61
|
+
dotted,
|
|
62
|
+
className,
|
|
63
|
+
}: {
|
|
64
|
+
/** The running app: `App.useRuntime()`. */
|
|
65
|
+
readonly runtime: AppRuntime;
|
|
66
|
+
/** How the Map is laid out: a packed tree, or an outline. */
|
|
67
|
+
readonly layout?: Kind;
|
|
68
|
+
/** Dots under the Map. On by default; off, a background given by `className` shows through. */
|
|
69
|
+
readonly dotted?: boolean;
|
|
70
|
+
/** Classes for its root, merged over its own: a see-through background over the app. */
|
|
71
|
+
readonly className?: string;
|
|
72
|
+
}) {
|
|
73
|
+
const { history, branch, shown, running } = runtime;
|
|
74
|
+
const definition = history.actor.definition;
|
|
75
|
+
|
|
76
|
+
// 1. Steps
|
|
77
|
+
const steps =
|
|
78
|
+
typeof shown === 'number' && !branch.some((entry) => entry.id === shown)
|
|
79
|
+
? history.branch(shown)
|
|
80
|
+
: branch;
|
|
81
|
+
const live = shown === null;
|
|
82
|
+
const at =
|
|
83
|
+
shown === null
|
|
84
|
+
? steps.length
|
|
85
|
+
: shown === 'init'
|
|
86
|
+
? 0
|
|
87
|
+
: steps.findIndex((entry) => entry.id === shown) + 1;
|
|
88
|
+
const entry = at === 0 ? undefined : steps[at - 1];
|
|
89
|
+
|
|
90
|
+
// 2. Step
|
|
91
|
+
// By the entry itself, not its id: ids start again in another runtime, or
|
|
92
|
+
// once the History is cleared.
|
|
93
|
+
const asked = useRef(new WeakMap<Entry, ReadonlyArray<unknown>>());
|
|
94
|
+
const commandsOf = (of: Entry) => {
|
|
95
|
+
const known = asked.current.get(of);
|
|
96
|
+
if (known) return known;
|
|
97
|
+
const commands = isRestore(of.message)
|
|
98
|
+
? []
|
|
99
|
+
: handle(definition, history.snapshotAt(of.parent), of).commands;
|
|
100
|
+
asked.current.set(of, commands);
|
|
101
|
+
return commands;
|
|
102
|
+
};
|
|
103
|
+
const step = useMemo(
|
|
104
|
+
() => ({
|
|
105
|
+
snapshot: history.snapshotAt(entry?.id ?? null),
|
|
106
|
+
...(entry
|
|
107
|
+
? { said: { envelope: entry, commands: commandsOf(entry) } }
|
|
108
|
+
: {}),
|
|
109
|
+
}),
|
|
110
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- an entry never changes once written.
|
|
111
|
+
[history, entry],
|
|
112
|
+
);
|
|
113
|
+
|
|
114
|
+
return (
|
|
115
|
+
<Inspector
|
|
116
|
+
definition={definition}
|
|
117
|
+
step={step}
|
|
118
|
+
{...(layout ? { layout } : {})}
|
|
119
|
+
{...(className ? { className } : {})}
|
|
120
|
+
{...(dotted === undefined ? {} : { dotted })}
|
|
121
|
+
// 3. Workers
|
|
122
|
+
{...(live && running ? { statuses: runtime.workers } : {})}
|
|
123
|
+
timeline={{
|
|
124
|
+
steps: [
|
|
125
|
+
{ id: 'init', label: 'init' },
|
|
126
|
+
...steps.map((each) => ({
|
|
127
|
+
id: `${each.id}`,
|
|
128
|
+
label: each.message._tag,
|
|
129
|
+
})),
|
|
130
|
+
],
|
|
131
|
+
shown: at,
|
|
132
|
+
live,
|
|
133
|
+
onShow: (index) =>
|
|
134
|
+
runtime.show(index === 0 ? 'init' : steps[index - 1]!.id),
|
|
135
|
+
onLive: () => runtime.show(null),
|
|
136
|
+
}}
|
|
137
|
+
/>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function Inspector({
|
|
142
|
+
definition,
|
|
143
|
+
step,
|
|
144
|
+
statuses,
|
|
145
|
+
layout,
|
|
146
|
+
timeline,
|
|
147
|
+
dotted,
|
|
148
|
+
className,
|
|
149
|
+
}: {
|
|
150
|
+
/** The root Actor's definition. */
|
|
151
|
+
readonly definition: ActorDefinition;
|
|
152
|
+
/** The Step shown: its Snapshot, and the Message that made it; none for init. */
|
|
153
|
+
readonly step: { readonly snapshot: Snapshot; readonly said?: Said };
|
|
154
|
+
/** What the live app says of each Instance's Workers, while the Step shown is live. */
|
|
155
|
+
readonly statuses?: Statuses;
|
|
156
|
+
/** How the Map is laid out: a packed tree, or an outline. */
|
|
157
|
+
readonly layout?: Kind;
|
|
158
|
+
readonly timeline: ComponentProps<typeof Timeline>;
|
|
159
|
+
/** Dots under the Map. On by default. */
|
|
160
|
+
readonly dotted?: boolean;
|
|
161
|
+
/** Classes for its root, merged over its own. */
|
|
162
|
+
readonly className?: string;
|
|
163
|
+
}) {
|
|
164
|
+
const [picked, setPicked] = useState<Pick | undefined>(undefined);
|
|
165
|
+
const [chosen, setChosen] = useState<ReadonlyMap<string, string>>(
|
|
166
|
+
() => new Map(),
|
|
167
|
+
);
|
|
168
|
+
const [folded, setFolded] = useState<ReadonlySet<string>>(() => new Set());
|
|
169
|
+
|
|
170
|
+
// 1. Scene
|
|
171
|
+
const scene = useMemo(
|
|
172
|
+
() =>
|
|
173
|
+
sceneOf({
|
|
174
|
+
definition,
|
|
175
|
+
snapshot: step.snapshot,
|
|
176
|
+
...(step.said ? { said: step.said } : {}),
|
|
177
|
+
...(statuses ? { statuses } : {}),
|
|
178
|
+
...(layout ? { layout } : {}),
|
|
179
|
+
chosen,
|
|
180
|
+
folded,
|
|
181
|
+
}),
|
|
182
|
+
[definition, step, statuses, layout, chosen, folded],
|
|
183
|
+
);
|
|
184
|
+
|
|
185
|
+
// 2. Pick and 3. Sheet
|
|
186
|
+
const sheet = picked && sheetOf(scene, picked);
|
|
187
|
+
|
|
188
|
+
return (
|
|
189
|
+
<div
|
|
190
|
+
className={cn(
|
|
191
|
+
'@container bg-background text-foreground relative flex h-full w-full flex-col overflow-clip',
|
|
192
|
+
className,
|
|
193
|
+
)}
|
|
194
|
+
style={INK}
|
|
195
|
+
>
|
|
196
|
+
<div className="relative flex min-h-0 flex-1 flex-col">
|
|
197
|
+
<div className="relative min-h-0 flex-1">
|
|
198
|
+
<AppMap
|
|
199
|
+
scene={scene}
|
|
200
|
+
{...(dotted === undefined ? {} : { dotted })}
|
|
201
|
+
picked={sheet ? picked : undefined}
|
|
202
|
+
onPick={setPicked}
|
|
203
|
+
onChoose={(place, instance) =>
|
|
204
|
+
setChosen((was) => new Map(was).set(place, instance))
|
|
205
|
+
}
|
|
206
|
+
onFold={(place) =>
|
|
207
|
+
setFolded((was) => {
|
|
208
|
+
const next = new Set(was);
|
|
209
|
+
if (!next.delete(place)) next.add(place);
|
|
210
|
+
return next;
|
|
211
|
+
})
|
|
212
|
+
}
|
|
213
|
+
/>
|
|
214
|
+
</div>
|
|
215
|
+
<AnimatePresence>
|
|
216
|
+
{sheet && (
|
|
217
|
+
<Sheet
|
|
218
|
+
key="sheet"
|
|
219
|
+
{...sheet}
|
|
220
|
+
onClose={() => setPicked(undefined)}
|
|
221
|
+
/>
|
|
222
|
+
)}
|
|
223
|
+
</AnimatePresence>
|
|
224
|
+
</div>
|
|
225
|
+
{/* 4. Timeline */}
|
|
226
|
+
<Timeline {...timeline} />
|
|
227
|
+
</div>
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
type SheetOf = Omit<ComponentProps<typeof Sheet>, 'onClose'>;
|
|
232
|
+
|
|
233
|
+
const dataOf = ({ _tag, ...data }: { readonly _tag: string }) => data;
|
|
234
|
+
const hasFields = (value: object) => Object.keys(value).length > 0;
|
|
235
|
+
const isEmpty = (value: unknown) =>
|
|
236
|
+
value !== null && typeof value === 'object' && !hasFields(value);
|
|
237
|
+
|
|
238
|
+
const TONE: Record<WorkerStatus, Tone> = {
|
|
239
|
+
running: 'running',
|
|
240
|
+
finished: 'dim',
|
|
241
|
+
failed: 'failed',
|
|
242
|
+
on: 'lit',
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
const keyName = (name: string, key: WorkerKey) =>
|
|
246
|
+
key.key === '' ? name : `${name}#${key.key}`;
|
|
247
|
+
|
|
248
|
+
/** Who Sent the Message, in words. */
|
|
249
|
+
const fromOf = ({ source, send }: NonNullable<Scene['beats']>) => {
|
|
250
|
+
switch (source.kind) {
|
|
251
|
+
case 'view':
|
|
252
|
+
return 'its View';
|
|
253
|
+
case 'command':
|
|
254
|
+
return `Command ${send?.by ?? source.name}`;
|
|
255
|
+
case 'worker':
|
|
256
|
+
return `Worker ${send?.by ?? source.name}`;
|
|
257
|
+
case 'provide':
|
|
258
|
+
return 'what it Provides';
|
|
259
|
+
case 'outside':
|
|
260
|
+
return 'outside the app';
|
|
261
|
+
case 'restore':
|
|
262
|
+
return 'a Restore';
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
/** What the Sheet shows of a pick, or nothing if it is not in this Step. */
|
|
267
|
+
const sheetOf = (scene: Scene, pick: Pick): SheetOf | undefined => {
|
|
268
|
+
if ('message' in pick) {
|
|
269
|
+
const beats = scene.beats;
|
|
270
|
+
if (!beats) return undefined;
|
|
271
|
+
return {
|
|
272
|
+
kind: 'Message',
|
|
273
|
+
tone: 'message',
|
|
274
|
+
title: beats.tag,
|
|
275
|
+
facts: [
|
|
276
|
+
{
|
|
277
|
+
label: 'To',
|
|
278
|
+
value: beats.to ? scene.at.get(beats.to)!.name : 'dropped',
|
|
279
|
+
},
|
|
280
|
+
{ label: 'From', value: fromOf(beats) },
|
|
281
|
+
{ label: 'Time', value: `${(beats.at / 1000).toFixed(2)}s` },
|
|
282
|
+
],
|
|
283
|
+
sections: [
|
|
284
|
+
{ title: 'Payload', value: beats.payload },
|
|
285
|
+
...(beats.commands.length
|
|
286
|
+
? [{ title: 'Commands asked for', value: beats.commands }]
|
|
287
|
+
: []),
|
|
288
|
+
],
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
const node = scene.at.get(pick.node);
|
|
293
|
+
if (!node) return undefined;
|
|
294
|
+
const { part } = pick;
|
|
295
|
+
if (part && 'worker' in part)
|
|
296
|
+
return workerSheet(node, part.worker, scene.live);
|
|
297
|
+
if (part && 'state' in part) return stateSheet(node, part.state);
|
|
298
|
+
|
|
299
|
+
const one =
|
|
300
|
+
pick.instance !== undefined
|
|
301
|
+
? node.instances.find((each) => each.id === pick.instance)
|
|
302
|
+
: !node.many
|
|
303
|
+
? node.instances[0]
|
|
304
|
+
: undefined;
|
|
305
|
+
if (one) return instanceSheet(node.name, one);
|
|
306
|
+
if (node.instances.length === 0)
|
|
307
|
+
return {
|
|
308
|
+
kind: 'Actor',
|
|
309
|
+
tone: 'dim',
|
|
310
|
+
title: node.name,
|
|
311
|
+
facts: [{ label: 'Running', value: 'no Instance here at this Step' }],
|
|
312
|
+
};
|
|
313
|
+
return {
|
|
314
|
+
kind: 'Actor',
|
|
315
|
+
title: node.name,
|
|
316
|
+
facts: [
|
|
317
|
+
{ label: 'Instances', value: node.instances.length },
|
|
318
|
+
...(node.states
|
|
319
|
+
? [
|
|
320
|
+
{
|
|
321
|
+
label: 'In each State',
|
|
322
|
+
value: node.states
|
|
323
|
+
.flat()
|
|
324
|
+
.map((option) => `${option.tag} ${option.count}`)
|
|
325
|
+
.join(' · '),
|
|
326
|
+
},
|
|
327
|
+
]
|
|
328
|
+
: []),
|
|
329
|
+
],
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/** One Instance taken apart. */
|
|
334
|
+
const instanceSheet = (name: string, instance: Instance): SheetOf => {
|
|
335
|
+
const state = dataOf(instance.state);
|
|
336
|
+
return {
|
|
337
|
+
kind: 'Instance',
|
|
338
|
+
title: instance.key === undefined ? name : `${name}#${instance.key}`,
|
|
339
|
+
facts: [
|
|
340
|
+
{ label: 'ID', value: instance.id },
|
|
341
|
+
...(instance.state._tag === 'Single'
|
|
342
|
+
? []
|
|
343
|
+
: [{ label: 'State', value: instance.state._tag }]),
|
|
344
|
+
...(instance.key === undefined
|
|
345
|
+
? []
|
|
346
|
+
: [{ label: 'Key', value: instance.key }]),
|
|
347
|
+
],
|
|
348
|
+
sections: [
|
|
349
|
+
...(isEmpty(instance.model)
|
|
350
|
+
? []
|
|
351
|
+
: [{ title: 'Model', value: instance.model }]),
|
|
352
|
+
...(hasFields(state)
|
|
353
|
+
? [{ title: `State ${instance.state._tag}`, value: state }]
|
|
354
|
+
: []),
|
|
355
|
+
...(instance.props === undefined
|
|
356
|
+
? []
|
|
357
|
+
: [{ title: 'Props', value: instance.props }]),
|
|
358
|
+
],
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
/** One State of a card: which Instances are in it, and its data if one is. */
|
|
363
|
+
const stateSheet = (node: Placed, tag: string): SheetOf => {
|
|
364
|
+
const inIt = node.instances.filter((each) => each.state._tag === tag);
|
|
365
|
+
const data = !node.many && inIt[0] ? dataOf(inIt[0].state) : {};
|
|
366
|
+
return {
|
|
367
|
+
kind: 'State',
|
|
368
|
+
tone: inIt.length ? 'active' : 'dim',
|
|
369
|
+
title: tag,
|
|
370
|
+
facts: [
|
|
371
|
+
{ label: 'Of', value: node.name },
|
|
372
|
+
node.many
|
|
373
|
+
? { label: 'Instances in it', value: inIt.length }
|
|
374
|
+
: {
|
|
375
|
+
label: 'Active',
|
|
376
|
+
value: inIt.length
|
|
377
|
+
? 'yes'
|
|
378
|
+
: node.instances[0]
|
|
379
|
+
? `no, it is in ${node.instances[0].state._tag}`
|
|
380
|
+
: 'not running at this Step',
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
sections: hasFields(data) ? [{ title: 'Data', value: data }] : [],
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
/** One Worker of a card: where it is written, and each key it runs now. */
|
|
388
|
+
const workerSheet = (node: Placed, name: string, live: boolean): SheetOf => {
|
|
389
|
+
const row = node.workers.find((each) => each.name === name);
|
|
390
|
+
const keys = row?.keys ?? [];
|
|
391
|
+
return {
|
|
392
|
+
kind: 'Worker',
|
|
393
|
+
tone: keys.some((each) => each.status === 'failed')
|
|
394
|
+
? 'failed'
|
|
395
|
+
: keys.length
|
|
396
|
+
? 'running'
|
|
397
|
+
: 'dim',
|
|
398
|
+
title: name,
|
|
399
|
+
facts: [
|
|
400
|
+
{ label: 'Of', value: node.name },
|
|
401
|
+
{
|
|
402
|
+
label: 'Written',
|
|
403
|
+
value: row?.state ? `in ${row.state}` : 'at its top',
|
|
404
|
+
},
|
|
405
|
+
{ label: 'Keys on', value: keys.length || 'none' },
|
|
406
|
+
],
|
|
407
|
+
rows: {
|
|
408
|
+
title: live ? 'Keys, live' : 'Keys on at this Step',
|
|
409
|
+
items: keys.map((key) => ({
|
|
410
|
+
label:
|
|
411
|
+
key.instance.key === undefined
|
|
412
|
+
? keyName(name, key)
|
|
413
|
+
: `${keyName(name, key)} · ${key.instance.key}`,
|
|
414
|
+
detail: key.status,
|
|
415
|
+
tone: TONE[key.status],
|
|
416
|
+
})),
|
|
417
|
+
},
|
|
418
|
+
};
|
|
419
|
+
};
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { motion, useReducedMotion } from 'motion/react';
|
|
2
|
+
import { ArrowUpRight, Zap } from 'lucide-react';
|
|
3
|
+
import { ink } from '../../ink/index.ts';
|
|
4
|
+
import { CARD } from '../../scene/index.ts';
|
|
5
|
+
import type { Beats, Placed } from '../../scene/index.ts';
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* The Beats of a Step, laid over the Map, played again for each new Message.
|
|
9
|
+
*
|
|
10
|
+
* 1. Send the Message's tag sits on the top edge of the card it went
|
|
11
|
+
* to, with who Sent it. A Worker that Sent it has its row lit.
|
|
12
|
+
* 2. Arrow an arrow draws itself from exactly what Sent it, the Worker's
|
|
13
|
+
* row or the Sender's name, out to the right and into the name
|
|
14
|
+
* of the card it went to: across cards for a Request, a small
|
|
15
|
+
* loop for a Worker Sending to its own Instance.
|
|
16
|
+
* 3. Command one chip per Command the Update asked for, on the card's
|
|
17
|
+
* bottom edge.
|
|
18
|
+
*
|
|
19
|
+
* Each sits on its own card's edges, so it never covers another card.
|
|
20
|
+
*
|
|
21
|
+
* The arrow draws itself, the tag lands as it arrives, the Commands after.
|
|
22
|
+
* When the cards move, a fold say, all of it glides with them. With reduced
|
|
23
|
+
* motion it is simply there.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/** In from a card's right edge. */
|
|
27
|
+
const INSET = 10;
|
|
28
|
+
|
|
29
|
+
const OUT = [0.23, 1, 0.32, 1] as const;
|
|
30
|
+
/** The cards' glide to a new place, which everything here rides with. */
|
|
31
|
+
const MOVE = { duration: 0.42, ease: [0.32, 0.72, 0, 1] } as const;
|
|
32
|
+
|
|
33
|
+
/** Where on a card's right edge its name is, or one of its Worker's rows. */
|
|
34
|
+
const edgeAt = (card: Placed, worker?: string) => {
|
|
35
|
+
const name = card.y + CARD.pad + CARD.header / 2;
|
|
36
|
+
const index = worker
|
|
37
|
+
? card.workers.findIndex((row) => row.name === worker)
|
|
38
|
+
: -1;
|
|
39
|
+
const states = card.states ? CARD.gap + card.states.length * CARD.line : 0;
|
|
40
|
+
return {
|
|
41
|
+
x: card.x + card.width,
|
|
42
|
+
y:
|
|
43
|
+
index < 0
|
|
44
|
+
? name
|
|
45
|
+
: card.y +
|
|
46
|
+
CARD.pad +
|
|
47
|
+
CARD.header +
|
|
48
|
+
states +
|
|
49
|
+
CARD.gap +
|
|
50
|
+
index * CARD.row +
|
|
51
|
+
CARD.row / 2,
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/** From what Sent it to the name of the card it went to, out to the right. */
|
|
56
|
+
const arrowOf = (
|
|
57
|
+
from: { x: number; y: number },
|
|
58
|
+
to: { x: number; y: number },
|
|
59
|
+
) => {
|
|
60
|
+
const side =
|
|
61
|
+
Math.max(from.x, to.x) + (Math.abs(from.y - to.y) < 80 ? 30 : 52);
|
|
62
|
+
return `M ${from.x + 3} ${from.y} C ${side} ${from.y}, ${side} ${to.y}, ${to.x + 9} ${to.y}`;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export function Beat({
|
|
66
|
+
beats,
|
|
67
|
+
where,
|
|
68
|
+
onPick,
|
|
69
|
+
}: {
|
|
70
|
+
readonly beats: Beats;
|
|
71
|
+
/** Where a card is drawn. */
|
|
72
|
+
readonly where: (id: string) => Placed | undefined;
|
|
73
|
+
/** Open the Message. */
|
|
74
|
+
readonly onPick: () => void;
|
|
75
|
+
}) {
|
|
76
|
+
const still = useReducedMotion();
|
|
77
|
+
const target = beats.to ? where(beats.to) : undefined;
|
|
78
|
+
const sent = beats.send ? where(beats.send.at) : undefined;
|
|
79
|
+
const from = beats.request ? where(beats.request.from) : undefined;
|
|
80
|
+
const anchor = target
|
|
81
|
+
? {
|
|
82
|
+
right: target.x + target.width,
|
|
83
|
+
top: target.y,
|
|
84
|
+
bottom: target.y + target.height,
|
|
85
|
+
}
|
|
86
|
+
: sent && {
|
|
87
|
+
right: sent.x + sent.width,
|
|
88
|
+
top: sent.y,
|
|
89
|
+
bottom: sent.y + sent.height,
|
|
90
|
+
};
|
|
91
|
+
// An arrow wherever its start is not already the name it ends at.
|
|
92
|
+
const start = sent && edgeAt(sent, beats.send?.worker);
|
|
93
|
+
const end = target && edgeAt(target);
|
|
94
|
+
const arrow =
|
|
95
|
+
start && end && (start.x !== end.x || start.y !== end.y)
|
|
96
|
+
? { start, d: arrowOf(start, end) }
|
|
97
|
+
: undefined;
|
|
98
|
+
// The arrow draws itself; the tag lands as it arrives; the Commands after.
|
|
99
|
+
const landing = still ? 0 : arrow ? 0.3 : 0;
|
|
100
|
+
const enter = (delay: number) =>
|
|
101
|
+
still
|
|
102
|
+
? { initial: false as const }
|
|
103
|
+
: {
|
|
104
|
+
initial: { opacity: 0, scale: 0.92 },
|
|
105
|
+
animate: { opacity: 1, scale: 1 },
|
|
106
|
+
transition: { duration: 0.2, ease: OUT, delay },
|
|
107
|
+
};
|
|
108
|
+
// Everything rides with the cards when the Map moves.
|
|
109
|
+
const ride = still ? { duration: 0 } : MOVE;
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<div className="pointer-events-none absolute top-0 left-0">
|
|
113
|
+
{/* 2. Arrow */}
|
|
114
|
+
{arrow && (
|
|
115
|
+
<svg
|
|
116
|
+
className="absolute top-0 left-0 overflow-visible"
|
|
117
|
+
width={1}
|
|
118
|
+
height={1}
|
|
119
|
+
aria-hidden
|
|
120
|
+
>
|
|
121
|
+
<defs>
|
|
122
|
+
<marker
|
|
123
|
+
id={`kabuki-arrow-${beats.key}`}
|
|
124
|
+
viewBox="0 0 8 8"
|
|
125
|
+
refX="6"
|
|
126
|
+
refY="4"
|
|
127
|
+
markerWidth="7"
|
|
128
|
+
markerHeight="7"
|
|
129
|
+
orient="auto-start-reverse"
|
|
130
|
+
>
|
|
131
|
+
<path d="M 0 0 L 8 4 L 0 8 z" style={{ fill: ink('message') }} />
|
|
132
|
+
</marker>
|
|
133
|
+
</defs>
|
|
134
|
+
<motion.circle
|
|
135
|
+
r={3}
|
|
136
|
+
style={{ fill: ink('message') }}
|
|
137
|
+
initial={{
|
|
138
|
+
cx: arrow.start.x,
|
|
139
|
+
cy: arrow.start.y,
|
|
140
|
+
scale: still ? 1 : 0,
|
|
141
|
+
}}
|
|
142
|
+
animate={{ cx: arrow.start.x, cy: arrow.start.y, scale: 1 }}
|
|
143
|
+
transition={{
|
|
144
|
+
cx: ride,
|
|
145
|
+
cy: ride,
|
|
146
|
+
scale: { duration: 0.15, ease: OUT },
|
|
147
|
+
}}
|
|
148
|
+
/>
|
|
149
|
+
<motion.path
|
|
150
|
+
fill="none"
|
|
151
|
+
strokeWidth={1.75}
|
|
152
|
+
strokeLinecap="round"
|
|
153
|
+
style={{ stroke: ink('message') }}
|
|
154
|
+
markerEnd={`url(#kabuki-arrow-${beats.key})`}
|
|
155
|
+
initial={{ d: arrow.d, pathLength: still ? 1 : 0 }}
|
|
156
|
+
animate={{ d: arrow.d, pathLength: 1 }}
|
|
157
|
+
transition={{
|
|
158
|
+
d: ride,
|
|
159
|
+
pathLength: { duration: 0.45, ease: OUT, delay: 0.05 },
|
|
160
|
+
}}
|
|
161
|
+
/>
|
|
162
|
+
</svg>
|
|
163
|
+
)}
|
|
164
|
+
|
|
165
|
+
{anchor && (
|
|
166
|
+
<>
|
|
167
|
+
<motion.div
|
|
168
|
+
className="absolute top-0 left-0"
|
|
169
|
+
initial={{ x: anchor.right - INSET, y: anchor.top }}
|
|
170
|
+
animate={{ x: anchor.right - INSET, y: anchor.top }}
|
|
171
|
+
transition={ride}
|
|
172
|
+
>
|
|
173
|
+
{/* 1. Send */}
|
|
174
|
+
<motion.button
|
|
175
|
+
type="button"
|
|
176
|
+
onClick={onPick}
|
|
177
|
+
className="pointer-events-auto flex h-[22px] origin-right items-center gap-1.5 rounded-full border pr-2.5 pl-2 text-[11px] whitespace-nowrap shadow-xs outline-none focus-visible:ring-2"
|
|
178
|
+
style={{
|
|
179
|
+
translate: '-100% -50%',
|
|
180
|
+
backgroundColor: ink('message-soft'),
|
|
181
|
+
borderColor: `color-mix(in oklch, ${ink('message')} 30%, transparent)`,
|
|
182
|
+
}}
|
|
183
|
+
{...enter(landing)}
|
|
184
|
+
>
|
|
185
|
+
{from ? (
|
|
186
|
+
<ArrowUpRight
|
|
187
|
+
className="size-3"
|
|
188
|
+
style={{ color: ink('message') }}
|
|
189
|
+
/>
|
|
190
|
+
) : (
|
|
191
|
+
<span
|
|
192
|
+
className="size-1.5 rounded-full"
|
|
193
|
+
style={{ backgroundColor: ink('message') }}
|
|
194
|
+
/>
|
|
195
|
+
)}
|
|
196
|
+
<span className="font-medium" style={{ color: ink('message') }}>
|
|
197
|
+
{beats.tag}
|
|
198
|
+
</span>
|
|
199
|
+
{beats.send && (
|
|
200
|
+
<span className="text-muted-foreground">
|
|
201
|
+
{from ? 'asked by' : 'from'} {beats.send.by}
|
|
202
|
+
</span>
|
|
203
|
+
)}
|
|
204
|
+
{!beats.to && (
|
|
205
|
+
<span className="text-muted-foreground">· dropped</span>
|
|
206
|
+
)}
|
|
207
|
+
</motion.button>
|
|
208
|
+
</motion.div>
|
|
209
|
+
{beats.commands.length > 0 && (
|
|
210
|
+
<motion.div
|
|
211
|
+
className="absolute top-0 left-0"
|
|
212
|
+
initial={{ x: anchor.right - INSET, y: anchor.bottom }}
|
|
213
|
+
animate={{ x: anchor.right - INSET, y: anchor.bottom }}
|
|
214
|
+
transition={ride}
|
|
215
|
+
>
|
|
216
|
+
<div
|
|
217
|
+
className="flex flex-row-reverse gap-1"
|
|
218
|
+
style={{ translate: '-100% -50%' }}
|
|
219
|
+
>
|
|
220
|
+
{/* 3. Command */}
|
|
221
|
+
{beats.commands.map((command, index) => (
|
|
222
|
+
<motion.span
|
|
223
|
+
key={`${command.name}-${index}`}
|
|
224
|
+
className="flex h-5 origin-top items-center gap-1 rounded-full border px-2 font-mono text-[10.5px] whitespace-nowrap"
|
|
225
|
+
style={{
|
|
226
|
+
backgroundColor: ink('command-soft'),
|
|
227
|
+
borderColor: `color-mix(in oklch, ${ink('command')} 35%, transparent)`,
|
|
228
|
+
color: ink('command'),
|
|
229
|
+
}}
|
|
230
|
+
{...enter(landing + 0.12 + index * 0.05)}
|
|
231
|
+
>
|
|
232
|
+
<Zap className="size-2.5" />
|
|
233
|
+
{command.name}
|
|
234
|
+
</motion.span>
|
|
235
|
+
))}
|
|
236
|
+
</div>
|
|
237
|
+
</motion.div>
|
|
238
|
+
)}
|
|
239
|
+
</>
|
|
240
|
+
)}
|
|
241
|
+
</div>
|
|
242
|
+
);
|
|
243
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Beat } from './beat.tsx';
|