@ripple-ui/svelte 0.0.0-stage → 0.8.2
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/NOTICE +94 -0
- package/README.md +316 -2
- package/dist/Ripple.svelte +483 -0
- package/dist/Ripple.svelte.d.ts +71 -0
- package/dist/actions/index.d.ts +7 -0
- package/dist/actions/index.js +7 -0
- package/dist/actions/reorderable.d.ts +27 -0
- package/dist/actions/reorderable.js +240 -0
- package/dist/actions/with-motion.d.ts +21 -0
- package/dist/actions/with-motion.js +522 -0
- package/dist/assets/favicon.svg +1 -0
- package/dist/assets/glass.css +46 -0
- package/dist/build/page-audit.d.ts +29 -0
- package/dist/build/page-audit.entry.d.ts +1 -0
- package/dist/build/page-audit.entry.js +7 -0
- package/dist/build/page-audit.js +178 -0
- package/dist/components/NodeRenderer.svelte +669 -0
- package/dist/components/NodeRenderer.svelte.d.ts +10 -0
- package/dist/components/ui/accordion/accordion-content.svelte +32 -0
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-item.svelte +17 -0
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte +32 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +8 -0
- package/dist/components/ui/accordion/accordion.svelte +19 -0
- package/dist/components/ui/accordion/accordion.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/index.d.ts +5 -0
- package/dist/components/ui/accordion/index.js +7 -0
- package/dist/components/ui/alert/alert-action.svelte +20 -0
- package/dist/components/ui/alert/alert-action.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert-description.svelte +23 -0
- package/dist/components/ui/alert/alert-description.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert-title.svelte +23 -0
- package/dist/components/ui/alert/alert-title.svelte.d.ts +5 -0
- package/dist/components/ui/alert/alert.svelte +49 -0
- package/dist/components/ui/alert/alert.svelte.d.ts +26 -0
- package/dist/components/ui/alert/index.d.ts +6 -0
- package/dist/components/ui/alert/index.js +8 -0
- package/dist/components/ui/avatar/avatar-badge.svelte +26 -0
- package/dist/components/ui/avatar/avatar-badge.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-fallback.svelte +20 -0
- package/dist/components/ui/avatar/avatar-fallback.svelte.d.ts +4 -0
- package/dist/components/ui/avatar/avatar-group-count.svelte +23 -0
- package/dist/components/ui/avatar/avatar-group-count.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-group.svelte +23 -0
- package/dist/components/ui/avatar/avatar-group.svelte.d.ts +5 -0
- package/dist/components/ui/avatar/avatar-image.svelte +17 -0
- package/dist/components/ui/avatar/avatar-image.svelte.d.ts +4 -0
- package/dist/components/ui/avatar/avatar.svelte +26 -0
- package/dist/components/ui/avatar/avatar.svelte.d.ts +7 -0
- package/dist/components/ui/avatar/index.d.ts +7 -0
- package/dist/components/ui/avatar/index.js +9 -0
- package/dist/components/ui/badge/badge.svelte +61 -0
- package/dist/components/ui/badge/badge.svelte.d.ts +44 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/button/button.svelte +92 -0
- package/dist/components/ui/button/button.svelte.d.ts +73 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button/index.js +4 -0
- package/dist/components/ui/card/card-action.svelte +23 -0
- package/dist/components/ui/card/card-action.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-content.svelte +20 -0
- package/dist/components/ui/card/card-content.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-description.svelte +20 -0
- package/dist/components/ui/card/card-description.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-footer.svelte +20 -0
- package/dist/components/ui/card/card-footer.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-header.svelte +23 -0
- package/dist/components/ui/card/card-header.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-title.svelte +15 -0
- package/dist/components/ui/card/card-title.svelte.d.ts +5 -0
- package/dist/components/ui/card/card.svelte +22 -0
- package/dist/components/ui/card/card.svelte.d.ts +8 -0
- package/dist/components/ui/card/index.d.ts +8 -0
- package/dist/components/ui/card/index.js +10 -0
- package/dist/components/ui/chart/chart-container.svelte +83 -0
- package/dist/components/ui/chart/chart-container.svelte.d.ts +9 -0
- package/dist/components/ui/chart/chart-style.svelte +37 -0
- package/dist/components/ui/chart/chart-style.svelte.d.ts +8 -0
- package/dist/components/ui/chart/chart-tooltip.svelte +166 -0
- package/dist/components/ui/chart/chart-tooltip.svelte.d.ts +27 -0
- package/dist/components/ui/chart/chart-utils.d.ts +36 -0
- package/dist/components/ui/chart/chart-utils.js +33 -0
- package/dist/components/ui/chart/index.d.ts +4 -0
- package/dist/components/ui/chart/index.js +4 -0
- package/dist/components/ui/checkbox/checkbox.svelte +44 -0
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -0
- package/dist/components/ui/checkbox/index.d.ts +2 -0
- package/dist/components/ui/checkbox/index.js +4 -0
- package/dist/components/ui/chip.d.ts +5 -0
- package/dist/components/ui/chip.js +12 -0
- package/dist/components/ui/command/command-dialog.svelte +45 -0
- package/dist/components/ui/command/command-dialog.svelte.d.ts +12 -0
- package/dist/components/ui/command/command-empty.svelte +17 -0
- package/dist/components/ui/command/command-empty.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-group.svelte +32 -0
- package/dist/components/ui/command/command-group.svelte.d.ts +7 -0
- package/dist/components/ui/command/command-input.svelte +26 -0
- package/dist/components/ui/command/command-input.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-item.svelte +20 -0
- package/dist/components/ui/command/command-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-link-item.svelte +20 -0
- package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-list.svelte +17 -0
- package/dist/components/ui/command/command-list.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-loading.svelte +7 -0
- package/dist/components/ui/command/command-loading.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-separator.svelte +17 -0
- package/dist/components/ui/command/command-separator.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-shortcut.svelte +20 -0
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/command/command.svelte +36 -0
- package/dist/components/ui/command/command.svelte.d.ts +8 -0
- package/dist/components/ui/command/index.d.ts +12 -0
- package/dist/components/ui/command/index.js +17 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte +44 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte.d.ts +18 -0
- package/dist/components/ui/confirm-dialog/confirm-dialog.svelte.js +75 -0
- package/dist/components/ui/confirm-dialog/index.d.ts +2 -0
- package/dist/components/ui/confirm-dialog/index.js +6 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +49 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +9 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte +38 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +10 -0
- package/dist/components/ui/context-menu/context-menu-group-heading.svelte +27 -0
- package/dist/components/ui/context-menu/context-menu-group-heading.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-group.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-group.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte +42 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte +29 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/context-menu/context-menu-portal.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-portal.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte +21 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +38 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte +22 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte +25 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte +28 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +35 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/context-menu/context-menu-sub.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-sub.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte +12 -0
- package/dist/components/ui/context-menu/context-menu-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/context-menu/context-menu.svelte +13 -0
- package/dist/components/ui/context-menu/context-menu.svelte.d.ts +3 -0
- package/dist/components/ui/context-menu/index.d.ts +17 -0
- package/dist/components/ui/context-menu/index.js +24 -0
- package/dist/components/ui/control.d.ts +4 -0
- package/dist/components/ui/control.js +11 -0
- package/dist/components/ui/dialog/dialog-close.svelte +11 -0
- package/dist/components/ui/dialog/dialog-close.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-content.svelte +68 -0
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +15 -0
- package/dist/components/ui/dialog/dialog-description.svelte +19 -0
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-footer.svelte +32 -0
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +8 -0
- package/dist/components/ui/dialog/dialog-header.svelte +20 -0
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte +22 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-portal.svelte +7 -0
- package/dist/components/ui/dialog/dialog-portal.svelte.d.ts +3 -0
- package/dist/components/ui/dialog/dialog-title.svelte +17 -0
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-trigger.svelte +11 -0
- package/dist/components/ui/dialog/dialog-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog.svelte +7 -0
- package/dist/components/ui/dialog/dialog.svelte.d.ts +3 -0
- package/dist/components/ui/dialog/index.d.ts +11 -0
- package/dist/components/ui/dialog/index.js +13 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +43 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +9 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +37 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +22 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +33 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +24 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +33 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +17 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +20 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +28 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +29 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.svelte +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.svelte.d.ts +3 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.js +21 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte +43 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +10 -0
- package/dist/components/ui/hover-card/hover-card-portal.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card-portal.svelte.d.ts +3 -0
- package/dist/components/ui/hover-card/hover-card-trigger.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/hover-card/hover-card.svelte +7 -0
- package/dist/components/ui/hover-card/hover-card.svelte.d.ts +3 -0
- package/dist/components/ui/hover-card/index.d.ts +5 -0
- package/dist/components/ui/hover-card/index.js +5 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/index.js +4 -0
- package/dist/components/ui/input/input.svelte +48 -0
- package/dist/components/ui/input/input.svelte.d.ts +13 -0
- package/dist/components/ui/label/index.d.ts +2 -0
- package/dist/components/ui/label/index.js +5 -0
- package/dist/components/ui/label/label.svelte +25 -0
- package/dist/components/ui/label/label.svelte.d.ts +4 -0
- package/dist/components/ui/popover/index.d.ts +9 -0
- package/dist/components/ui/popover/index.js +11 -0
- package/dist/components/ui/popover/popover-close.svelte +7 -0
- package/dist/components/ui/popover/popover-close.svelte.d.ts +4 -0
- package/dist/components/ui/popover/popover-content.svelte +43 -0
- package/dist/components/ui/popover/popover-content.svelte.d.ts +10 -0
- package/dist/components/ui/popover/popover-description.svelte +20 -0
- package/dist/components/ui/popover/popover-description.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-header.svelte +20 -0
- package/dist/components/ui/popover/popover-header.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-portal.svelte +7 -0
- package/dist/components/ui/popover/popover-portal.svelte.d.ts +3 -0
- package/dist/components/ui/popover/popover-title.svelte +20 -0
- package/dist/components/ui/popover/popover-title.svelte.d.ts +5 -0
- package/dist/components/ui/popover/popover-trigger.svelte +17 -0
- package/dist/components/ui/popover/popover-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/popover/popover.svelte +7 -0
- package/dist/components/ui/popover/popover.svelte.d.ts +3 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +4 -0
- package/dist/components/ui/progress/progress.svelte +34 -0
- package/dist/components/ui/progress/progress.svelte.d.ts +9 -0
- package/dist/components/ui/radio-group/index.d.ts +3 -0
- package/dist/components/ui/radio-group/index.js +5 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte +34 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -0
- package/dist/components/ui/radio-group/radio-group.svelte +19 -0
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/select/index.d.ts +12 -0
- package/dist/components/ui/select/index.js +14 -0
- package/dist/components/ui/select/select-content.svelte +50 -0
- package/dist/components/ui/select/select-content.svelte.d.ts +11 -0
- package/dist/components/ui/select/select-group-heading.svelte +21 -0
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +10 -0
- package/dist/components/ui/select/select-group.svelte +17 -0
- package/dist/components/ui/select/select-group.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-item.svelte +38 -0
- package/dist/components/ui/select/select-item.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-label.svelte +20 -0
- package/dist/components/ui/select/select-label.svelte.d.ts +6 -0
- package/dist/components/ui/select/select-portal.svelte +7 -0
- package/dist/components/ui/select/select-portal.svelte.d.ts +3 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte +20 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte +20 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-separator.svelte +18 -0
- package/dist/components/ui/select/select-separator.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-trigger.svelte +29 -0
- package/dist/components/ui/select/select-trigger.svelte.d.ts +8 -0
- package/dist/components/ui/select/select.svelte +11 -0
- package/dist/components/ui/select/select.svelte.d.ts +3 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.js +4 -0
- package/dist/components/ui/separator/separator.svelte +23 -0
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/index.d.ts +11 -0
- package/dist/components/ui/sheet/index.js +13 -0
- package/dist/components/ui/sheet/sheet-close.svelte +7 -0
- package/dist/components/ui/sheet/sheet-close.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-content.svelte +104 -0
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +18 -0
- package/dist/components/ui/sheet/sheet-description.svelte +17 -0
- package/dist/components/ui/sheet/sheet-description.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-footer.svelte +20 -0
- package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +5 -0
- package/dist/components/ui/sheet/sheet-header.svelte +20 -0
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +5 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte +17 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-portal.svelte +7 -0
- package/dist/components/ui/sheet/sheet-portal.svelte.d.ts +3 -0
- package/dist/components/ui/sheet/sheet-title.svelte +17 -0
- package/dist/components/ui/sheet/sheet-title.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet-trigger.svelte +7 -0
- package/dist/components/ui/sheet/sheet-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/sheet/sheet.svelte +7 -0
- package/dist/components/ui/sheet/sheet.svelte.d.ts +3 -0
- package/dist/components/ui/slider/index.d.ts +2 -0
- package/dist/components/ui/slider/index.js +4 -0
- package/dist/components/ui/slider/slider.svelte +65 -0
- package/dist/components/ui/slider/slider.svelte.d.ts +9 -0
- package/dist/components/ui/switch/index.d.ts +2 -0
- package/dist/components/ui/switch/index.js +4 -0
- package/dist/components/ui/switch/switch.svelte +36 -0
- package/dist/components/ui/switch/switch.svelte.d.ts +8 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/table/index.js +11 -0
- package/dist/components/ui/table/table-body.svelte +15 -0
- package/dist/components/ui/table/table-body.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-caption.svelte +20 -0
- package/dist/components/ui/table/table-caption.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-cell.svelte +15 -0
- package/dist/components/ui/table/table-cell.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-footer.svelte +20 -0
- package/dist/components/ui/table/table-footer.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-head.svelte +15 -0
- package/dist/components/ui/table/table-head.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-header.svelte +20 -0
- package/dist/components/ui/table/table-header.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-row.svelte +15 -0
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -0
- package/dist/components/ui/table/table.svelte +17 -0
- package/dist/components/ui/table/table.svelte.d.ts +5 -0
- package/dist/components/ui/tabs/index.d.ts +5 -0
- package/dist/components/ui/tabs/index.js +7 -0
- package/dist/components/ui/tabs/tabs-content.svelte +17 -0
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs-list.svelte +51 -0
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +25 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte +32 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs.svelte +19 -0
- package/dist/components/ui/tabs/tabs.svelte.d.ts +4 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/index.js +4 -0
- package/dist/components/ui/textarea/textarea.svelte +23 -0
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -0
- package/dist/components/ui/tooltip/index.d.ts +6 -0
- package/dist/components/ui/tooltip/index.js +8 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte +57 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +11 -0
- package/dist/components/ui/tooltip/tooltip-portal.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-portal.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip-provider.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-provider.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte +7 -0
- package/dist/components/ui/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/tooltip/tooltip.svelte +10 -0
- package/dist/components/ui/tooltip/tooltip.svelte.d.ts +4 -0
- package/dist/components/ui/trigger.d.ts +2 -0
- package/dist/components/ui/trigger.js +9 -0
- package/dist/core/state-manager.svelte.d.ts +26 -0
- package/dist/core/state-manager.svelte.js +104 -0
- package/dist/core/toast-bus.svelte.d.ts +25 -0
- package/dist/core/toast-bus.svelte.js +29 -0
- package/dist/discover/DetailMedia.svelte +37 -0
- package/dist/discover/DetailMedia.svelte.d.ts +8 -0
- package/dist/discover/DiscoverChips.svelte +38 -0
- package/dist/discover/DiscoverChips.svelte.d.ts +11 -0
- package/dist/discover/DiscoverEmpty.svelte +41 -0
- package/dist/discover/DiscoverEmpty.svelte.d.ts +11 -0
- package/dist/discover/DiscoverFilters.svelte +107 -0
- package/dist/discover/DiscoverFilters.svelte.d.ts +15 -0
- package/dist/discover/DiscoverGrid.svelte +31 -0
- package/dist/discover/DiscoverGrid.svelte.d.ts +12 -0
- package/dist/discover/DiscoverHeader.svelte +40 -0
- package/dist/discover/DiscoverHeader.svelte.d.ts +15 -0
- package/dist/discover/DiscoverPublish.svelte +42 -0
- package/dist/discover/DiscoverPublish.svelte.d.ts +12 -0
- package/dist/discover/DiscoverRow.svelte +70 -0
- package/dist/discover/DiscoverRow.svelte.d.ts +17 -0
- package/dist/discover/DiscoverSearch.svelte +54 -0
- package/dist/discover/DiscoverSearch.svelte.d.ts +14 -0
- package/dist/discover/DiscoverSection.svelte +53 -0
- package/dist/discover/DiscoverSection.svelte.d.ts +18 -0
- package/dist/discover/DiscoverSkeleton.svelte +50 -0
- package/dist/discover/DiscoverSkeleton.svelte.d.ts +10 -0
- package/dist/discover/DiscoverTile.svelte +75 -0
- package/dist/discover/DiscoverTile.svelte.d.ts +17 -0
- package/dist/discover/ItemActions.svelte +59 -0
- package/dist/discover/ItemActions.svelte.d.ts +11 -0
- package/dist/discover/ItemArt.svelte +83 -0
- package/dist/discover/ItemArt.svelte.d.ts +15 -0
- package/dist/discover/art.d.ts +3 -0
- package/dist/discover/art.js +22 -0
- package/dist/discover/href.d.ts +2 -0
- package/dist/discover/href.js +10 -0
- package/dist/discover/index.d.ts +18 -0
- package/dist/discover/index.js +23 -0
- package/dist/discover/item.d.ts +18 -0
- package/dist/discover/item.js +45 -0
- package/dist/discover/layout.d.ts +13 -0
- package/dist/discover/layout.js +9 -0
- package/dist/discover/types.d.ts +23 -0
- package/dist/discover/types.js +6 -0
- package/dist/editor/RippleDragLayer.svelte +267 -0
- package/dist/editor/RippleDragLayer.svelte.d.ts +30 -0
- package/dist/editor/RippleEditorOverlay.svelte +204 -0
- package/dist/editor/RippleEditorOverlay.svelte.d.ts +28 -0
- package/dist/editor/RippleInlineEditor.svelte +201 -0
- package/dist/editor/RippleInlineEditor.svelte.d.ts +21 -0
- package/dist/editor/RippleInspector.svelte +201 -0
- package/dist/editor/RippleInspector.svelte.d.ts +14 -0
- package/dist/editor/core/bounds-index.d.ts +60 -0
- package/dist/editor/core/bounds-index.js +138 -0
- package/dist/editor/core/drag-reorder.d.ts +52 -0
- package/dist/editor/core/drag-reorder.js +89 -0
- package/dist/editor/core/editable.d.ts +88 -0
- package/dist/editor/core/editable.js +167 -0
- package/dist/editor/core/editor-ops.d.ts +58 -0
- package/dist/editor/core/editor-ops.js +60 -0
- package/dist/editor/core/geometry.d.ts +35 -0
- package/dist/editor/core/geometry.js +38 -0
- package/dist/editor/core/index.d.ts +37 -0
- package/dist/editor/core/index.js +37 -0
- package/dist/editor/core/inline-editor-contenteditable.d.ts +3 -0
- package/dist/editor/core/inline-editor-contenteditable.js +94 -0
- package/dist/editor/core/inline-editor-source.d.ts +6 -0
- package/dist/editor/core/inline-editor-source.js +178 -0
- package/dist/editor/core/inline-editor-tiptap.d.ts +3 -0
- package/dist/editor/core/inline-editor-tiptap.js +192 -0
- package/dist/editor/core/inline-editor.d.ts +72 -0
- package/dist/editor/core/inline-editor.js +53 -0
- package/dist/editor/core/inspector-fields.d.ts +49 -0
- package/dist/editor/core/inspector-fields.js +110 -0
- package/dist/editor/core/lane-adapter.d.ts +109 -0
- package/dist/editor/core/lane-adapter.js +1 -0
- package/dist/editor/core/memory-persistence-adapter.d.ts +33 -0
- package/dist/editor/core/memory-persistence-adapter.js +90 -0
- package/dist/editor/core/ports.d.ts +77 -0
- package/dist/editor/core/ports.js +1 -0
- package/dist/editor/core/ripple-lane-adapter.d.ts +80 -0
- package/dist/editor/core/ripple-lane-adapter.js +197 -0
- package/dist/editor/core/selection-model.d.ts +36 -0
- package/dist/editor/core/selection-model.js +79 -0
- package/dist/editor/editor-selection.svelte.d.ts +28 -0
- package/dist/editor/editor-selection.svelte.js +61 -0
- package/dist/editor/index.d.ts +37 -0
- package/dist/editor/index.js +37 -0
- package/dist/figures/bike-gears/figure.d.ts +66 -0
- package/dist/figures/bike-gears/figure.js +712 -0
- package/dist/figures/bike-gears/index.d.ts +4 -0
- package/dist/figures/bike-gears/index.js +17 -0
- package/dist/figures/bike-gears/model.d.ts +46 -0
- package/dist/figures/bike-gears/model.js +67 -0
- package/dist/figures/fission-reactor/figure.d.ts +44 -0
- package/dist/figures/fission-reactor/figure.js +820 -0
- package/dist/figures/fission-reactor/index.d.ts +4 -0
- package/dist/figures/fission-reactor/index.js +16 -0
- package/dist/figures/fission-reactor/model.d.ts +48 -0
- package/dist/figures/fission-reactor/model.js +86 -0
- package/dist/figures/frame.d.ts +16 -0
- package/dist/figures/frame.js +39 -0
- package/dist/figures/heart/figure.d.ts +38 -0
- package/dist/figures/heart/figure.js +580 -0
- package/dist/figures/heart/index.d.ts +4 -0
- package/dist/figures/heart/index.js +18 -0
- package/dist/figures/heart/model.d.ts +76 -0
- package/dist/figures/heart/model.js +167 -0
- package/dist/figures/index.d.ts +7 -0
- package/dist/figures/index.js +9 -0
- package/dist/figures/ion-thruster/figure.d.ts +41 -0
- package/dist/figures/ion-thruster/figure.js +645 -0
- package/dist/figures/ion-thruster/index.d.ts +4 -0
- package/dist/figures/ion-thruster/index.js +16 -0
- package/dist/figures/ion-thruster/model.d.ts +52 -0
- package/dist/figures/ion-thruster/model.js +79 -0
- package/dist/figures/particle-collider/figure.d.ts +28 -0
- package/dist/figures/particle-collider/figure.js +782 -0
- package/dist/figures/particle-collider/index.d.ts +4 -0
- package/dist/figures/particle-collider/index.js +17 -0
- package/dist/figures/particle-collider/model.d.ts +81 -0
- package/dist/figures/particle-collider/model.js +147 -0
- package/dist/figures/rocket-engine/figure.d.ts +37 -0
- package/dist/figures/rocket-engine/figure.js +881 -0
- package/dist/figures/rocket-engine/index.d.ts +4 -0
- package/dist/figures/rocket-engine/index.js +16 -0
- package/dist/figures/rocket-engine/model.d.ts +73 -0
- package/dist/figures/rocket-engine/model.js +104 -0
- package/dist/figures/tokamak/figure.d.ts +40 -0
- package/dist/figures/tokamak/figure.js +770 -0
- package/dist/figures/tokamak/index.d.ts +4 -0
- package/dist/figures/tokamak/index.js +16 -0
- package/dist/figures/tokamak/model.d.ts +65 -0
- package/dist/figures/tokamak/model.js +132 -0
- package/dist/figures/types.d.ts +43 -0
- package/dist/figures/types.js +4 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +53 -0
- package/dist/intent/ChainProgress.svelte +224 -0
- package/dist/intent/ChainProgress.svelte.d.ts +19 -0
- package/dist/intent/DashboardRenderer.svelte +727 -0
- package/dist/intent/DashboardRenderer.svelte.d.ts +9 -0
- package/dist/intent/FlowRunner.svelte +550 -0
- package/dist/intent/FlowRunner.svelte.d.ts +28 -0
- package/dist/intent/IntentRenderer.svelte +325 -0
- package/dist/intent/IntentRenderer.svelte.d.ts +20 -0
- package/dist/intent/chain-executor.svelte.d.ts +266 -0
- package/dist/intent/chain-executor.svelte.js +461 -0
- package/dist/intent/dashboard-manager.svelte.d.ts +54 -0
- package/dist/intent/dashboard-manager.svelte.js +96 -0
- package/dist/intent/defaults-resolver.d.ts +115 -0
- package/dist/intent/defaults-resolver.js +288 -0
- package/dist/intent/fixtures/onboarding-wizard.d.ts +45 -0
- package/dist/intent/fixtures/onboarding-wizard.js +182 -0
- package/dist/intent/flow-options.d.ts +50 -0
- package/dist/intent/flow-options.js +111 -0
- package/dist/intent/index.d.ts +19 -0
- package/dist/intent/index.js +19 -0
- package/dist/intent/layout-adapter.d.ts +77 -0
- package/dist/intent/layout-adapter.js +135 -0
- package/dist/intent/layout-engine.d.ts +66 -0
- package/dist/intent/layout-engine.js +247 -0
- package/dist/intent/layouts/ArticleLayout.svelte +454 -0
- package/dist/intent/layouts/ArticleLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/CardGridLayout.svelte +101 -0
- package/dist/intent/layouts/CardGridLayout.svelte.d.ts +13 -0
- package/dist/intent/layouts/ChecklistIntentLayout.svelte +45 -0
- package/dist/intent/layouts/ChecklistIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/ComparisonIntentLayout.svelte +55 -0
- package/dist/intent/layouts/ComparisonIntentLayout.svelte.d.ts +8 -0
- package/dist/intent/layouts/DetailLayout.svelte +126 -0
- package/dist/intent/layouts/DetailLayout.svelte.d.ts +11 -0
- package/dist/intent/layouts/FormLayout.svelte +140 -0
- package/dist/intent/layouts/FormLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/InfoHeroLayout.svelte +103 -0
- package/dist/intent/layouts/InfoHeroLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/InvoiceIntentLayout.svelte +76 -0
- package/dist/intent/layouts/InvoiceIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/ListLayout.svelte +24 -0
- package/dist/intent/layouts/ListLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/ReportIntentLayout.svelte +104 -0
- package/dist/intent/layouts/ReportIntentLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/SearchLayout.svelte +65 -0
- package/dist/intent/layouts/SearchLayout.svelte.d.ts +14 -0
- package/dist/intent/layouts/SelectLayout.svelte +131 -0
- package/dist/intent/layouts/SelectLayout.svelte.d.ts +11 -0
- package/dist/intent/layouts/SlidesLayout.svelte +252 -0
- package/dist/intent/layouts/SlidesLayout.svelte.d.ts +8 -0
- package/dist/intent/layouts/SummaryLayout.svelte +84 -0
- package/dist/intent/layouts/SummaryLayout.svelte.d.ts +7 -0
- package/dist/intent/layouts/TableLayout.svelte +100 -0
- package/dist/intent/layouts/TableLayout.svelte.d.ts +9 -0
- package/dist/intent/layouts/TimelineLayout.svelte +81 -0
- package/dist/intent/layouts/TimelineLayout.svelte.d.ts +7 -0
- package/dist/intent/pattern-detector.d.ts +72 -0
- package/dist/intent/pattern-detector.js +102 -0
- package/dist/intent/slides-partition.d.ts +40 -0
- package/dist/intent/slides-partition.js +67 -0
- package/dist/manifest/actions.d.ts +7 -0
- package/dist/manifest/actions.js +7 -0
- package/dist/manifest/entries/accordion.d.ts +2 -0
- package/dist/manifest/entries/accordion.js +20 -0
- package/dist/manifest/entries/agenda.d.ts +2 -0
- package/dist/manifest/entries/agenda.js +30 -0
- package/dist/manifest/entries/alert.d.ts +2 -0
- package/dist/manifest/entries/alert.js +12 -0
- package/dist/manifest/entries/analyst-bar.d.ts +2 -0
- package/dist/manifest/entries/analyst-bar.js +13 -0
- package/dist/manifest/entries/analytics-dashboard.d.ts +2 -0
- package/dist/manifest/entries/analytics-dashboard.js +87 -0
- package/dist/manifest/entries/animated-beam.d.ts +2 -0
- package/dist/manifest/entries/animated-beam.js +16 -0
- package/dist/manifest/entries/api-key.d.ts +2 -0
- package/dist/manifest/entries/api-key.js +14 -0
- package/dist/manifest/entries/app-shell.d.ts +2 -0
- package/dist/manifest/entries/app-shell.js +68 -0
- package/dist/manifest/entries/approval-gate.d.ts +2 -0
- package/dist/manifest/entries/approval-gate.js +32 -0
- package/dist/manifest/entries/article-meta.d.ts +2 -0
- package/dist/manifest/entries/article-meta.js +13 -0
- package/dist/manifest/entries/ask-user-questions.d.ts +2 -0
- package/dist/manifest/entries/ask-user-questions.js +81 -0
- package/dist/manifest/entries/audio.d.ts +2 -0
- package/dist/manifest/entries/audio.js +17 -0
- package/dist/manifest/entries/audit-log.d.ts +2 -0
- package/dist/manifest/entries/audit-log.js +25 -0
- package/dist/manifest/entries/aurora.d.ts +2 -0
- package/dist/manifest/entries/aurora.js +14 -0
- package/dist/manifest/entries/avatar-group.d.ts +2 -0
- package/dist/manifest/entries/avatar-group.js +23 -0
- package/dist/manifest/entries/avatar.d.ts +2 -0
- package/dist/manifest/entries/avatar.js +11 -0
- package/dist/manifest/entries/badge.d.ts +2 -0
- package/dist/manifest/entries/badge.js +13 -0
- package/dist/manifest/entries/bento-grid.d.ts +2 -0
- package/dist/manifest/entries/bento-grid.js +20 -0
- package/dist/manifest/entries/bill-split.d.ts +2 -0
- package/dist/manifest/entries/bill-split.js +37 -0
- package/dist/manifest/entries/board-game.d.ts +2 -0
- package/dist/manifest/entries/board-game.js +43 -0
- package/dist/manifest/entries/booking.d.ts +2 -0
- package/dist/manifest/entries/booking.js +61 -0
- package/dist/manifest/entries/border-beam.d.ts +2 -0
- package/dist/manifest/entries/border-beam.js +16 -0
- package/dist/manifest/entries/breadcrumb.d.ts +2 -0
- package/dist/manifest/entries/breadcrumb.js +20 -0
- package/dist/manifest/entries/bulk-action-bar.d.ts +2 -0
- package/dist/manifest/entries/bulk-action-bar.js +24 -0
- package/dist/manifest/entries/button.d.ts +2 -0
- package/dist/manifest/entries/button.js +47 -0
- package/dist/manifest/entries/c4.d.ts +2 -0
- package/dist/manifest/entries/c4.js +73 -0
- package/dist/manifest/entries/calendar.d.ts +2 -0
- package/dist/manifest/entries/calendar.js +44 -0
- package/dist/manifest/entries/callout.d.ts +2 -0
- package/dist/manifest/entries/callout.js +11 -0
- package/dist/manifest/entries/card.d.ts +2 -0
- package/dist/manifest/entries/card.js +19 -0
- package/dist/manifest/entries/chart.d.ts +2 -0
- package/dist/manifest/entries/chart.js +27 -0
- package/dist/manifest/entries/checkbox-group.d.ts +2 -0
- package/dist/manifest/entries/checkbox-group.js +49 -0
- package/dist/manifest/entries/checkbox.d.ts +2 -0
- package/dist/manifest/entries/checkbox.js +30 -0
- package/dist/manifest/entries/checklist-layout.d.ts +2 -0
- package/dist/manifest/entries/checklist-layout.js +33 -0
- package/dist/manifest/entries/chip.d.ts +2 -0
- package/dist/manifest/entries/chip.js +15 -0
- package/dist/manifest/entries/citation.d.ts +2 -0
- package/dist/manifest/entries/citation.js +13 -0
- package/dist/manifest/entries/coachmark.d.ts +2 -0
- package/dist/manifest/entries/coachmark.js +47 -0
- package/dist/manifest/entries/code-block.d.ts +2 -0
- package/dist/manifest/entries/code-block.js +27 -0
- package/dist/manifest/entries/code-editor.d.ts +2 -0
- package/dist/manifest/entries/code-editor.js +39 -0
- package/dist/manifest/entries/code.d.ts +2 -0
- package/dist/manifest/entries/code.js +9 -0
- package/dist/manifest/entries/collapsible.d.ts +2 -0
- package/dist/manifest/entries/collapsible.js +18 -0
- package/dist/manifest/entries/color-picker.d.ts +2 -0
- package/dist/manifest/entries/color-picker.js +35 -0
- package/dist/manifest/entries/combobox.d.ts +2 -0
- package/dist/manifest/entries/combobox.js +48 -0
- package/dist/manifest/entries/command-palette.d.ts +2 -0
- package/dist/manifest/entries/command-palette.js +55 -0
- package/dist/manifest/entries/comment-thread.d.ts +2 -0
- package/dist/manifest/entries/comment-thread.js +27 -0
- package/dist/manifest/entries/company-header.d.ts +2 -0
- package/dist/manifest/entries/company-header.js +33 -0
- package/dist/manifest/entries/comparison-layout.d.ts +2 -0
- package/dist/manifest/entries/comparison-layout.js +81 -0
- package/dist/manifest/entries/comparison-table.d.ts +2 -0
- package/dist/manifest/entries/comparison-table.js +25 -0
- package/dist/manifest/entries/confirm-dialog.d.ts +2 -0
- package/dist/manifest/entries/confirm-dialog.js +50 -0
- package/dist/manifest/entries/container.d.ts +2 -0
- package/dist/manifest/entries/container.js +13 -0
- package/dist/manifest/entries/context-menu.d.ts +2 -0
- package/dist/manifest/entries/context-menu.js +22 -0
- package/dist/manifest/entries/copy.d.ts +2 -0
- package/dist/manifest/entries/copy.js +11 -0
- package/dist/manifest/entries/cta.d.ts +2 -0
- package/dist/manifest/entries/cta.js +17 -0
- package/dist/manifest/entries/dashboard-slot.d.ts +2 -0
- package/dist/manifest/entries/dashboard-slot.js +17 -0
- package/dist/manifest/entries/dashboard.d.ts +2 -0
- package/dist/manifest/entries/dashboard.js +48 -0
- package/dist/manifest/entries/data-grid.d.ts +2 -0
- package/dist/manifest/entries/data-grid.js +77 -0
- package/dist/manifest/entries/date-picker.d.ts +2 -0
- package/dist/manifest/entries/date-picker.js +31 -0
- package/dist/manifest/entries/definition-list.d.ts +2 -0
- package/dist/manifest/entries/definition-list.js +19 -0
- package/dist/manifest/entries/diff.d.ts +2 -0
- package/dist/manifest/entries/diff.js +16 -0
- package/dist/manifest/entries/discover-card.d.ts +2 -0
- package/dist/manifest/entries/discover-card.js +13 -0
- package/dist/manifest/entries/drawing-canvas.d.ts +2 -0
- package/dist/manifest/entries/drawing-canvas.js +18 -0
- package/dist/manifest/entries/dropdown-menu.d.ts +2 -0
- package/dist/manifest/entries/dropdown-menu.js +25 -0
- package/dist/manifest/entries/each.d.ts +2 -0
- package/dist/manifest/entries/each.js +34 -0
- package/dist/manifest/entries/embed.d.ts +2 -0
- package/dist/manifest/entries/embed.js +52 -0
- package/dist/manifest/entries/empty-state.d.ts +2 -0
- package/dist/manifest/entries/empty-state.js +11 -0
- package/dist/manifest/entries/entity-detail.d.ts +2 -0
- package/dist/manifest/entries/entity-detail.js +55 -0
- package/dist/manifest/entries/error-state.d.ts +2 -0
- package/dist/manifest/entries/error-state.js +24 -0
- package/dist/manifest/entries/exec-dashboard.d.ts +2 -0
- package/dist/manifest/entries/exec-dashboard.js +107 -0
- package/dist/manifest/entries/faq.d.ts +2 -0
- package/dist/manifest/entries/faq.js +21 -0
- package/dist/manifest/entries/feature-grid.d.ts +2 -0
- package/dist/manifest/entries/feature-grid.js +21 -0
- package/dist/manifest/entries/figure.d.ts +2 -0
- package/dist/manifest/entries/figure.js +34 -0
- package/dist/manifest/entries/file-upload.d.ts +2 -0
- package/dist/manifest/entries/file-upload.js +32 -0
- package/dist/manifest/entries/fill-grid.d.ts +2 -0
- package/dist/manifest/entries/fill-grid.js +19 -0
- package/dist/manifest/entries/filter-bar.d.ts +2 -0
- package/dist/manifest/entries/filter-bar.js +48 -0
- package/dist/manifest/entries/flashcard-deck.d.ts +2 -0
- package/dist/manifest/entries/flashcard-deck.js +36 -0
- package/dist/manifest/entries/flashcard.d.ts +2 -0
- package/dist/manifest/entries/flashcard.js +20 -0
- package/dist/manifest/entries/flex.d.ts +2 -0
- package/dist/manifest/entries/flex.js +20 -0
- package/dist/manifest/entries/focus-timer.d.ts +2 -0
- package/dist/manifest/entries/focus-timer.js +34 -0
- package/dist/manifest/entries/follow-up.d.ts +2 -0
- package/dist/manifest/entries/follow-up.js +11 -0
- package/dist/manifest/entries/footer.d.ts +2 -0
- package/dist/manifest/entries/footer.js +20 -0
- package/dist/manifest/entries/form-layout.d.ts +2 -0
- package/dist/manifest/entries/form-layout.js +43 -0
- package/dist/manifest/entries/form.d.ts +2 -0
- package/dist/manifest/entries/form.js +111 -0
- package/dist/manifest/entries/funnel.d.ts +2 -0
- package/dist/manifest/entries/funnel.js +24 -0
- package/dist/manifest/entries/gantt.d.ts +2 -0
- package/dist/manifest/entries/gantt.js +21 -0
- package/dist/manifest/entries/gauge.d.ts +2 -0
- package/dist/manifest/entries/gauge.js +16 -0
- package/dist/manifest/entries/glass-card.d.ts +2 -0
- package/dist/manifest/entries/glass-card.js +20 -0
- package/dist/manifest/entries/glyph-grid.d.ts +2 -0
- package/dist/manifest/entries/glyph-grid.js +19 -0
- package/dist/manifest/entries/grid.d.ts +2 -0
- package/dist/manifest/entries/grid.js +19 -0
- package/dist/manifest/entries/growth-projection.d.ts +2 -0
- package/dist/manifest/entries/growth-projection.js +36 -0
- package/dist/manifest/entries/habit-tracker.d.ts +2 -0
- package/dist/manifest/entries/habit-tracker.js +38 -0
- package/dist/manifest/entries/heading.d.ts +2 -0
- package/dist/manifest/entries/heading.js +10 -0
- package/dist/manifest/entries/heatmap.d.ts +2 -0
- package/dist/manifest/entries/heatmap.js +26 -0
- package/dist/manifest/entries/hero.d.ts +2 -0
- package/dist/manifest/entries/hero.js +15 -0
- package/dist/manifest/entries/highlight.d.ts +2 -0
- package/dist/manifest/entries/highlight.js +13 -0
- package/dist/manifest/entries/hover-card.d.ts +2 -0
- package/dist/manifest/entries/hover-card.js +14 -0
- package/dist/manifest/entries/icon.d.ts +2 -0
- package/dist/manifest/entries/icon.js +12 -0
- package/dist/manifest/entries/if.d.ts +2 -0
- package/dist/manifest/entries/if.js +20 -0
- package/dist/manifest/entries/illustration.d.ts +2 -0
- package/dist/manifest/entries/illustration.js +37 -0
- package/dist/manifest/entries/image.d.ts +2 -0
- package/dist/manifest/entries/image.js +14 -0
- package/dist/manifest/entries/input.d.ts +2 -0
- package/dist/manifest/entries/input.js +42 -0
- package/dist/manifest/entries/interval-workout.d.ts +2 -0
- package/dist/manifest/entries/interval-workout.js +44 -0
- package/dist/manifest/entries/invoice-layout.d.ts +2 -0
- package/dist/manifest/entries/invoice-layout.js +55 -0
- package/dist/manifest/entries/invoice-lines.d.ts +2 -0
- package/dist/manifest/entries/invoice-lines.js +30 -0
- package/dist/manifest/entries/iso-scene.d.ts +2 -0
- package/dist/manifest/entries/iso-scene.js +145 -0
- package/dist/manifest/entries/itinerary.d.ts +2 -0
- package/dist/manifest/entries/itinerary.js +61 -0
- package/dist/manifest/entries/kanban.d.ts +2 -0
- package/dist/manifest/entries/kanban.js +64 -0
- package/dist/manifest/entries/kbd.d.ts +2 -0
- package/dist/manifest/entries/kbd.js +10 -0
- package/dist/manifest/entries/kv-table.d.ts +2 -0
- package/dist/manifest/entries/kv-table.js +25 -0
- package/dist/manifest/entries/led-clock.d.ts +2 -0
- package/dist/manifest/entries/led-clock.js +20 -0
- package/dist/manifest/entries/link-preview.d.ts +2 -0
- package/dist/manifest/entries/link-preview.js +16 -0
- package/dist/manifest/entries/loading.d.ts +2 -0
- package/dist/manifest/entries/loading.js +12 -0
- package/dist/manifest/entries/location-picker.d.ts +2 -0
- package/dist/manifest/entries/location-picker.js +28 -0
- package/dist/manifest/entries/logo-cloud.d.ts +2 -0
- package/dist/manifest/entries/logo-cloud.js +21 -0
- package/dist/manifest/entries/map.d.ts +2 -0
- package/dist/manifest/entries/map.js +63 -0
- package/dist/manifest/entries/markdown.d.ts +2 -0
- package/dist/manifest/entries/markdown.js +11 -0
- package/dist/manifest/entries/marketing-hero.d.ts +2 -0
- package/dist/manifest/entries/marketing-hero.js +30 -0
- package/dist/manifest/entries/marquee.d.ts +2 -0
- package/dist/manifest/entries/marquee.js +20 -0
- package/dist/manifest/entries/master-detail.d.ts +2 -0
- package/dist/manifest/entries/master-detail.js +57 -0
- package/dist/manifest/entries/meal-plan.d.ts +2 -0
- package/dist/manifest/entries/meal-plan.js +44 -0
- package/dist/manifest/entries/media-grid.d.ts +2 -0
- package/dist/manifest/entries/media-grid.js +34 -0
- package/dist/manifest/entries/memory-match.d.ts +2 -0
- package/dist/manifest/entries/memory-match.js +39 -0
- package/dist/manifest/entries/mention.d.ts +2 -0
- package/dist/manifest/entries/mention.js +15 -0
- package/dist/manifest/entries/menu-order.d.ts +2 -0
- package/dist/manifest/entries/menu-order.js +48 -0
- package/dist/manifest/entries/metric.d.ts +2 -0
- package/dist/manifest/entries/metric.js +16 -0
- package/dist/manifest/entries/modal.d.ts +2 -0
- package/dist/manifest/entries/modal.js +56 -0
- package/dist/manifest/entries/model-viewer.d.ts +2 -0
- package/dist/manifest/entries/model-viewer.js +86 -0
- package/dist/manifest/entries/multi-select.d.ts +2 -0
- package/dist/manifest/entries/multi-select.js +57 -0
- package/dist/manifest/entries/music-player.d.ts +2 -0
- package/dist/manifest/entries/music-player.js +33 -0
- package/dist/manifest/entries/navbar.d.ts +2 -0
- package/dist/manifest/entries/navbar.js +17 -0
- package/dist/manifest/entries/news-card.d.ts +2 -0
- package/dist/manifest/entries/news-card.js +14 -0
- package/dist/manifest/entries/newsletter.d.ts +2 -0
- package/dist/manifest/entries/newsletter.js +20 -0
- package/dist/manifest/entries/notes.d.ts +2 -0
- package/dist/manifest/entries/notes.js +28 -0
- package/dist/manifest/entries/notification-center.d.ts +2 -0
- package/dist/manifest/entries/notification-center.js +21 -0
- package/dist/manifest/entries/number-input.d.ts +2 -0
- package/dist/manifest/entries/number-input.js +30 -0
- package/dist/manifest/entries/ops-dashboard.d.ts +2 -0
- package/dist/manifest/entries/ops-dashboard.js +134 -0
- package/dist/manifest/entries/order-status.d.ts +2 -0
- package/dist/manifest/entries/order-status.js +46 -0
- package/dist/manifest/entries/org-chart.d.ts +2 -0
- package/dist/manifest/entries/org-chart.js +31 -0
- package/dist/manifest/entries/otp-input.d.ts +2 -0
- package/dist/manifest/entries/otp-input.js +41 -0
- package/dist/manifest/entries/page-header.d.ts +2 -0
- package/dist/manifest/entries/page-header.js +14 -0
- package/dist/manifest/entries/parallax.d.ts +2 -0
- package/dist/manifest/entries/parallax.js +13 -0
- package/dist/manifest/entries/people-picker.d.ts +2 -0
- package/dist/manifest/entries/people-picker.js +28 -0
- package/dist/manifest/entries/permission-matrix.d.ts +2 -0
- package/dist/manifest/entries/permission-matrix.js +41 -0
- package/dist/manifest/entries/pipeline-dashboard.d.ts +2 -0
- package/dist/manifest/entries/pipeline-dashboard.js +91 -0
- package/dist/manifest/entries/place-results.d.ts +2 -0
- package/dist/manifest/entries/place-results.js +33 -0
- package/dist/manifest/entries/popover.d.ts +2 -0
- package/dist/manifest/entries/popover.js +13 -0
- package/dist/manifest/entries/pricing-table.d.ts +2 -0
- package/dist/manifest/entries/pricing-table.js +27 -0
- package/dist/manifest/entries/product-grid.d.ts +2 -0
- package/dist/manifest/entries/product-grid.js +33 -0
- package/dist/manifest/entries/progress-ring.d.ts +2 -0
- package/dist/manifest/entries/progress-ring.js +16 -0
- package/dist/manifest/entries/progress.d.ts +2 -0
- package/dist/manifest/entries/progress.js +13 -0
- package/dist/manifest/entries/project-dashboard.d.ts +2 -0
- package/dist/manifest/entries/project-dashboard.js +90 -0
- package/dist/manifest/entries/pros-cons.d.ts +2 -0
- package/dist/manifest/entries/pros-cons.js +18 -0
- package/dist/manifest/entries/qr.d.ts +2 -0
- package/dist/manifest/entries/qr.js +15 -0
- package/dist/manifest/entries/quiz.d.ts +2 -0
- package/dist/manifest/entries/quiz.js +38 -0
- package/dist/manifest/entries/quote.d.ts +2 -0
- package/dist/manifest/entries/quote.js +14 -0
- package/dist/manifest/entries/radio-group.d.ts +2 -0
- package/dist/manifest/entries/radio-group.js +31 -0
- package/dist/manifest/entries/range-bar.d.ts +2 -0
- package/dist/manifest/entries/range-bar.js +16 -0
- package/dist/manifest/entries/rating.d.ts +2 -0
- package/dist/manifest/entries/rating.js +37 -0
- package/dist/manifest/entries/reasoning-trace.d.ts +2 -0
- package/dist/manifest/entries/reasoning-trace.js +20 -0
- package/dist/manifest/entries/recipe.d.ts +2 -0
- package/dist/manifest/entries/recipe.js +55 -0
- package/dist/manifest/entries/report-layout.d.ts +2 -0
- package/dist/manifest/entries/report-layout.js +37 -0
- package/dist/manifest/entries/reveal.d.ts +2 -0
- package/dist/manifest/entries/reveal.js +14 -0
- package/dist/manifest/entries/rich-text.d.ts +2 -0
- package/dist/manifest/entries/rich-text.js +29 -0
- package/dist/manifest/entries/richtext.d.ts +2 -0
- package/dist/manifest/entries/richtext.js +14 -0
- package/dist/manifest/entries/ripple-frame.d.ts +2 -0
- package/dist/manifest/entries/ripple-frame.js +22 -0
- package/dist/manifest/entries/sankey.d.ts +2 -0
- package/dist/manifest/entries/sankey.js +25 -0
- package/dist/manifest/entries/saved-views.d.ts +2 -0
- package/dist/manifest/entries/saved-views.js +23 -0
- package/dist/manifest/entries/search.d.ts +2 -0
- package/dist/manifest/entries/search.js +54 -0
- package/dist/manifest/entries/section.d.ts +2 -0
- package/dist/manifest/entries/section.js +25 -0
- package/dist/manifest/entries/segmented.d.ts +2 -0
- package/dist/manifest/entries/segmented.js +50 -0
- package/dist/manifest/entries/seismograph.d.ts +2 -0
- package/dist/manifest/entries/seismograph.js +22 -0
- package/dist/manifest/entries/select.d.ts +2 -0
- package/dist/manifest/entries/select.js +50 -0
- package/dist/manifest/entries/separator.d.ts +2 -0
- package/dist/manifest/entries/separator.js +12 -0
- package/dist/manifest/entries/settings-list.d.ts +2 -0
- package/dist/manifest/entries/settings-list.js +18 -0
- package/dist/manifest/entries/sheet.d.ts +2 -0
- package/dist/manifest/entries/sheet.js +46 -0
- package/dist/manifest/entries/shimmer.d.ts +2 -0
- package/dist/manifest/entries/shimmer.js +20 -0
- package/dist/manifest/entries/sidebar.d.ts +2 -0
- package/dist/manifest/entries/sidebar.js +22 -0
- package/dist/manifest/entries/skeleton.d.ts +2 -0
- package/dist/manifest/entries/skeleton.js +9 -0
- package/dist/manifest/entries/slider.d.ts +2 -0
- package/dist/manifest/entries/slider.js +30 -0
- package/dist/manifest/entries/soul-status.d.ts +2 -0
- package/dist/manifest/entries/soul-status.js +18 -0
- package/dist/manifest/entries/source-card.d.ts +2 -0
- package/dist/manifest/entries/source-card.js +13 -0
- package/dist/manifest/entries/sources-bar.d.ts +2 -0
- package/dist/manifest/entries/sources-bar.js +24 -0
- package/dist/manifest/entries/sparkline.d.ts +2 -0
- package/dist/manifest/entries/sparkline.js +13 -0
- package/dist/manifest/entries/split.d.ts +2 -0
- package/dist/manifest/entries/split.js +19 -0
- package/dist/manifest/entries/spotlight.d.ts +2 -0
- package/dist/manifest/entries/spotlight.js +14 -0
- package/dist/manifest/entries/standup-board.d.ts +2 -0
- package/dist/manifest/entries/standup-board.js +40 -0
- package/dist/manifest/entries/stat.d.ts +2 -0
- package/dist/manifest/entries/stat.js +18 -0
- package/dist/manifest/entries/status-dot.d.ts +2 -0
- package/dist/manifest/entries/status-dot.js +13 -0
- package/dist/manifest/entries/steps.d.ts +2 -0
- package/dist/manifest/entries/steps.js +24 -0
- package/dist/manifest/entries/streak-bars.d.ts +2 -0
- package/dist/manifest/entries/streak-bars.js +18 -0
- package/dist/manifest/entries/stream-text.d.ts +2 -0
- package/dist/manifest/entries/stream-text.js +17 -0
- package/dist/manifest/entries/switch.d.ts +2 -0
- package/dist/manifest/entries/switch.js +30 -0
- package/dist/manifest/entries/table.d.ts +2 -0
- package/dist/manifest/entries/table.js +31 -0
- package/dist/manifest/entries/tabs.d.ts +2 -0
- package/dist/manifest/entries/tabs.js +54 -0
- package/dist/manifest/entries/terminal.d.ts +2 -0
- package/dist/manifest/entries/terminal.js +23 -0
- package/dist/manifest/entries/testimonial.d.ts +2 -0
- package/dist/manifest/entries/testimonial.js +16 -0
- package/dist/manifest/entries/text-effect.d.ts +2 -0
- package/dist/manifest/entries/text-effect.js +16 -0
- package/dist/manifest/entries/text.d.ts +2 -0
- package/dist/manifest/entries/text.js +13 -0
- package/dist/manifest/entries/textarea.d.ts +2 -0
- package/dist/manifest/entries/textarea.js +29 -0
- package/dist/manifest/entries/ticker.d.ts +2 -0
- package/dist/manifest/entries/ticker.js +18 -0
- package/dist/manifest/entries/time-picker.d.ts +2 -0
- package/dist/manifest/entries/time-picker.js +29 -0
- package/dist/manifest/entries/timeline.d.ts +2 -0
- package/dist/manifest/entries/timeline.js +28 -0
- package/dist/manifest/entries/timer.d.ts +2 -0
- package/dist/manifest/entries/timer.js +17 -0
- package/dist/manifest/entries/toast.d.ts +2 -0
- package/dist/manifest/entries/toast.js +10 -0
- package/dist/manifest/entries/todo-list.d.ts +2 -0
- package/dist/manifest/entries/todo-list.js +35 -0
- package/dist/manifest/entries/tool-call.d.ts +2 -0
- package/dist/manifest/entries/tool-call.js +26 -0
- package/dist/manifest/entries/tooltip.d.ts +2 -0
- package/dist/manifest/entries/tooltip.js +13 -0
- package/dist/manifest/entries/tree-table.d.ts +2 -0
- package/dist/manifest/entries/tree-table.js +36 -0
- package/dist/manifest/entries/tree.d.ts +2 -0
- package/dist/manifest/entries/tree.js +60 -0
- package/dist/manifest/entries/treemap.d.ts +2 -0
- package/dist/manifest/entries/treemap.js +23 -0
- package/dist/manifest/entries/trend.d.ts +2 -0
- package/dist/manifest/entries/trend.js +13 -0
- package/dist/manifest/entries/video.d.ts +2 -0
- package/dist/manifest/entries/video.js +18 -0
- package/dist/manifest/entries/virtual-list.d.ts +2 -0
- package/dist/manifest/entries/virtual-list.js +22 -0
- package/dist/manifest/entries/weather-forecast.d.ts +2 -0
- package/dist/manifest/entries/weather-forecast.js +51 -0
- package/dist/manifest/entries/week-schedule.d.ts +2 -0
- package/dist/manifest/entries/week-schedule.js +34 -0
- package/dist/manifest/entries/wizard-layout.d.ts +2 -0
- package/dist/manifest/entries/wizard-layout.js +90 -0
- package/dist/manifest/entries/word-guess.d.ts +2 -0
- package/dist/manifest/entries/word-guess.js +30 -0
- package/dist/manifest/entries/workflow.d.ts +2 -0
- package/dist/manifest/entries/workflow.js +30 -0
- package/dist/manifest/index.d.ts +110 -0
- package/dist/manifest/index.js +486 -0
- package/dist/manifest/motion-doc.d.ts +20 -0
- package/dist/manifest/motion-doc.js +60 -0
- package/dist/manifest.json +19649 -0
- package/dist/manifest.slim.json +329 -0
- package/dist/molecules/ItemCard.svelte +213 -0
- package/dist/molecules/ItemCard.svelte.d.ts +26 -0
- package/dist/molecules/PriceTag.svelte +89 -0
- package/dist/molecules/PriceTag.svelte.d.ts +14 -0
- package/dist/molecules/SelectionIndicator.svelte +58 -0
- package/dist/molecules/SelectionIndicator.svelte.d.ts +10 -0
- package/dist/molecules/index.d.ts +25 -0
- package/dist/molecules/index.js +26 -0
- package/dist/motion/moving-indicator.d.ts +44 -0
- package/dist/motion/moving-indicator.js +221 -0
- package/dist/organisms/FormSection.svelte +176 -0
- package/dist/organisms/FormSection.svelte.d.ts +28 -0
- package/dist/organisms/OptionList.svelte +269 -0
- package/dist/organisms/OptionList.svelte.d.ts +24 -0
- package/dist/organisms/OrganismRenderer.svelte +86 -0
- package/dist/organisms/OrganismRenderer.svelte.d.ts +10 -0
- package/dist/organisms/QuizQuestion.svelte +147 -0
- package/dist/organisms/QuizQuestion.svelte.d.ts +19 -0
- package/dist/organisms/ResultsSummary.svelte +97 -0
- package/dist/organisms/ResultsSummary.svelte.d.ts +22 -0
- package/dist/organisms/SourcesRow.svelte +68 -0
- package/dist/organisms/SourcesRow.svelte.d.ts +16 -0
- package/dist/organisms/index.d.ts +24 -0
- package/dist/organisms/index.js +24 -0
- package/dist/organisms/schema.d.ts +25 -0
- package/dist/organisms/schema.js +28 -0
- package/dist/primitives/index.d.ts +49 -0
- package/dist/primitives/index.js +51 -0
- package/dist/schema/index.d.ts +16 -0
- package/dist/schema/index.js +16 -0
- package/dist/security/illustration-svg.d.ts +29 -0
- package/dist/security/illustration-svg.js +473 -0
- package/dist/sound/index.d.ts +13 -0
- package/dist/sound/index.js +120 -0
- package/dist/sound/zzfx.d.ts +9 -0
- package/dist/sound/zzfx.js +118 -0
- package/dist/streaming/fixtures/chat-widget-stream.json +55 -0
- package/dist/streaming/fixtures/deep-children.json +75 -0
- package/dist/streaming/fixtures/nested-dashboard.json +74 -0
- package/dist/streaming/fixtures/simple-form.json +31 -0
- package/dist/streaming/fixtures/truncated-corpus.json +53 -0
- package/dist/streaming/index.d.ts +3 -0
- package/dist/streaming/index.js +9 -0
- package/dist/streaming/json-parse.d.ts +16 -0
- package/dist/streaming/json-parse.js +96 -0
- package/dist/streaming/stream-spec.svelte.d.ts +2 -0
- package/dist/streaming/stream-spec.svelte.js +162 -0
- package/dist/streaming/types.d.ts +57 -0
- package/dist/streaming/types.js +12 -0
- package/dist/styles.css +156 -0
- package/dist/systems/elevation.css +17 -0
- package/dist/systems/elevation.d.ts +8 -0
- package/dist/systems/elevation.js +29 -0
- package/dist/systems/index.d.ts +3 -0
- package/dist/systems/index.js +5 -0
- package/dist/systems/proximity-hover.d.ts +9 -0
- package/dist/systems/proximity-hover.js +47 -0
- package/dist/systems/variable-font-weight.d.ts +12 -0
- package/dist/systems/variable-font-weight.js +33 -0
- package/dist/theme.css +169 -0
- package/dist/ui/index.d.ts +113 -0
- package/dist/ui/index.js +126 -0
- package/dist/utils/safe-color.d.ts +4 -0
- package/dist/utils/safe-color.js +18 -0
- package/dist/utils/safe-props.d.ts +97 -0
- package/dist/utils/safe-props.js +170 -0
- package/dist/utils/sanitize-html.d.ts +8 -0
- package/dist/utils/sanitize-html.js +47 -0
- package/dist/utils/url-sanitizer.d.ts +2 -0
- package/dist/utils/url-sanitizer.js +9 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +13 -0
- package/dist/vendor-modules.d.ts +42 -0
- package/dist/version.d.ts +17 -0
- package/dist/version.js +17 -0
- package/dist/widgets/Workflow.svelte +379 -0
- package/dist/widgets/Workflow.svelte.d.ts +14 -0
- package/dist/widgets/ai/AnswerBlock.svelte +417 -0
- package/dist/widgets/ai/AnswerBlock.svelte.d.ts +42 -0
- package/dist/widgets/ai/ApprovalGate.svelte +506 -0
- package/dist/widgets/ai/ApprovalGate.svelte.d.ts +95 -0
- package/dist/widgets/ai/ContextCards.svelte +179 -0
- package/dist/widgets/ai/ContextCards.svelte.d.ts +29 -0
- package/dist/widgets/ai/FineTuneCard.svelte +316 -0
- package/dist/widgets/ai/FineTuneCard.svelte.d.ts +45 -0
- package/dist/widgets/ai/PixelLoader.svelte +199 -0
- package/dist/widgets/ai/PixelLoader.svelte.d.ts +17 -0
- package/dist/widgets/ai/PromptBar.svelte +701 -0
- package/dist/widgets/ai/PromptBar.svelte.d.ts +61 -0
- package/dist/widgets/ai/ReasoningTrace.svelte +286 -0
- package/dist/widgets/ai/ReasoningTrace.svelte.d.ts +22 -0
- package/dist/widgets/ai/RecommendationCard.svelte +330 -0
- package/dist/widgets/ai/RecommendationCard.svelte.d.ts +58 -0
- package/dist/widgets/ai/SelectionActions.svelte +401 -0
- package/dist/widgets/ai/SelectionActions.svelte.d.ts +32 -0
- package/dist/widgets/ai/SourceChip.svelte +139 -0
- package/dist/widgets/ai/SourceChip.svelte.d.ts +18 -0
- package/dist/widgets/ai/StreamText.svelte +257 -0
- package/dist/widgets/ai/StreamText.svelte.d.ts +19 -0
- package/dist/widgets/ai/TaskRows.svelte +437 -0
- package/dist/widgets/ai/TaskRows.svelte.d.ts +37 -0
- package/dist/widgets/ai/ToolCall.svelte +363 -0
- package/dist/widgets/ai/ToolCall.svelte.d.ts +25 -0
- package/dist/widgets/ai/index.d.ts +4 -0
- package/dist/widgets/ai/index.js +11 -0
- package/dist/widgets/c4/C4Diagram.svelte +1511 -0
- package/dist/widgets/c4/C4Diagram.svelte.d.ts +36 -0
- package/dist/widgets/c4/C4Edge.svelte +145 -0
- package/dist/widgets/c4/C4Edge.svelte.d.ts +4 -0
- package/dist/widgets/c4/C4LiveLayer.svelte +194 -0
- package/dist/widgets/c4/C4LiveLayer.svelte.d.ts +23 -0
- package/dist/widgets/c4/C4PortBadge.svelte +85 -0
- package/dist/widgets/c4/C4PortBadge.svelte.d.ts +8 -0
- package/dist/widgets/c4/activate.d.ts +2 -0
- package/dist/widgets/c4/activate.js +26 -0
- package/dist/widgets/c4/elk-layout.d.ts +103 -0
- package/dist/widgets/c4/elk-layout.js +455 -0
- package/dist/widgets/c4/elk-worker.d.ts +1 -0
- package/dist/widgets/c4/elk-worker.js +21 -0
- package/dist/widgets/c4/index.d.ts +5 -0
- package/dist/widgets/c4/index.js +6 -0
- package/dist/widgets/c4/live.d.ts +209 -0
- package/dist/widgets/c4/live.js +454 -0
- package/dist/widgets/c4/nodes/C4CodeNode.svelte +143 -0
- package/dist/widgets/c4/nodes/C4CodeNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ComponentNode.svelte +78 -0
- package/dist/widgets/c4/nodes/C4ComponentNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ContainerNode.svelte +70 -0
- package/dist/widgets/c4/nodes/C4ContainerNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4DatabaseNode.svelte +116 -0
- package/dist/widgets/c4/nodes/C4DatabaseNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4GroupNode.svelte +133 -0
- package/dist/widgets/c4/nodes/C4GroupNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4PersonNode.svelte +75 -0
- package/dist/widgets/c4/nodes/C4PersonNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4QueueNode.svelte +79 -0
- package/dist/widgets/c4/nodes/C4QueueNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4SystemNode.svelte +53 -0
- package/dist/widgets/c4/nodes/C4SystemNode.svelte.d.ts +7 -0
- package/dist/widgets/c4/nodes/C4ViewNode.svelte +21 -0
- package/dist/widgets/c4/nodes/C4ViewNode.svelte.d.ts +8 -0
- package/dist/widgets/c4/nodes/index.d.ts +35 -0
- package/dist/widgets/c4/nodes/index.js +22 -0
- package/dist/widgets/c4/semantic-flow.d.ts +19 -0
- package/dist/widgets/c4/semantic-flow.js +116 -0
- package/dist/widgets/c4/semantic.d.ts +92 -0
- package/dist/widgets/c4/semantic.js +241 -0
- package/dist/widgets/c4/types.d.ts +192 -0
- package/dist/widgets/c4/types.js +8 -0
- package/dist/widgets/c4/url-sanitizer.d.ts +1 -0
- package/dist/widgets/c4/url-sanitizer.js +6 -0
- package/dist/widgets/call/BottomSheet.svelte +184 -0
- package/dist/widgets/call/BottomSheet.svelte.d.ts +15 -0
- package/dist/widgets/call/ControlBar.svelte +81 -0
- package/dist/widgets/call/ControlBar.svelte.d.ts +11 -0
- package/dist/widgets/call/ControlButton.svelte +226 -0
- package/dist/widgets/call/ControlButton.svelte.d.ts +20 -0
- package/dist/widgets/call/CountBadge.svelte +57 -0
- package/dist/widgets/call/CountBadge.svelte.d.ts +9 -0
- package/dist/widgets/call/FloatingDock.svelte +176 -0
- package/dist/widgets/call/FloatingDock.svelte.d.ts +20 -0
- package/dist/widgets/call/IncomingCallCard.svelte +125 -0
- package/dist/widgets/call/IncomingCallCard.svelte.d.ts +16 -0
- package/dist/widgets/call/ParticipantTile.svelte +241 -0
- package/dist/widgets/call/ParticipantTile.svelte.d.ts +18 -0
- package/dist/widgets/composite/Agenda.svelte +340 -0
- package/dist/widgets/composite/Agenda.svelte.d.ts +25 -0
- package/dist/widgets/composite/AnalyticsDashboard.svelte +371 -0
- package/dist/widgets/composite/AnalyticsDashboard.svelte.d.ts +58 -0
- package/dist/widgets/composite/AskUserQuestions.svelte +568 -0
- package/dist/widgets/composite/AskUserQuestions.svelte.d.ts +41 -0
- package/dist/widgets/composite/AvatarGroup.svelte +79 -0
- package/dist/widgets/composite/AvatarGroup.svelte.d.ts +17 -0
- package/dist/widgets/composite/BillSplit.svelte +425 -0
- package/dist/widgets/composite/BillSplit.svelte.d.ts +29 -0
- package/dist/widgets/composite/BoardGame.svelte +596 -0
- package/dist/widgets/composite/BoardGame.svelte.d.ts +45 -0
- package/dist/widgets/composite/Booking.svelte +643 -0
- package/dist/widgets/composite/Booking.svelte.d.ts +30 -0
- package/dist/widgets/composite/ChecklistLayout.svelte +595 -0
- package/dist/widgets/composite/ChecklistLayout.svelte.d.ts +49 -0
- package/dist/widgets/composite/ComparisonLayout.svelte +809 -0
- package/dist/widgets/composite/ComparisonLayout.svelte.d.ts +78 -0
- package/dist/widgets/composite/EntityDetail.svelte +529 -0
- package/dist/widgets/composite/EntityDetail.svelte.d.ts +55 -0
- package/dist/widgets/composite/ExecDashboard.svelte +1543 -0
- package/dist/widgets/composite/ExecDashboard.svelte.d.ts +214 -0
- package/dist/widgets/composite/ExecDashboardRows.svelte +456 -0
- package/dist/widgets/composite/ExecDashboardRows.svelte.d.ts +21 -0
- package/dist/widgets/composite/Figure.svelte +230 -0
- package/dist/widgets/composite/Figure.svelte.d.ts +20 -0
- package/dist/widgets/composite/FlashcardDeck.svelte +589 -0
- package/dist/widgets/composite/FlashcardDeck.svelte.d.ts +33 -0
- package/dist/widgets/composite/FocusTimer.svelte +566 -0
- package/dist/widgets/composite/FocusTimer.svelte.d.ts +66 -0
- package/dist/widgets/composite/FormLayout.svelte +430 -0
- package/dist/widgets/composite/FormLayout.svelte.d.ts +35 -0
- package/dist/widgets/composite/GrowthProjection.svelte +628 -0
- package/dist/widgets/composite/GrowthProjection.svelte.d.ts +69 -0
- package/dist/widgets/composite/HabitTracker.svelte +489 -0
- package/dist/widgets/composite/HabitTracker.svelte.d.ts +28 -0
- package/dist/widgets/composite/IntervalWorkout.svelte +621 -0
- package/dist/widgets/composite/IntervalWorkout.svelte.d.ts +59 -0
- package/dist/widgets/composite/InvoiceLayout.svelte +615 -0
- package/dist/widgets/composite/InvoiceLayout.svelte.d.ts +48 -0
- package/dist/widgets/composite/IsoScene.svelte +614 -0
- package/dist/widgets/composite/IsoScene.svelte.d.ts +31 -0
- package/dist/widgets/composite/Itinerary.svelte +758 -0
- package/dist/widgets/composite/Itinerary.svelte.d.ts +70 -0
- package/dist/widgets/composite/MealPlan.svelte +518 -0
- package/dist/widgets/composite/MealPlan.svelte.d.ts +26 -0
- package/dist/widgets/composite/MediaGrid.svelte +277 -0
- package/dist/widgets/composite/MediaGrid.svelte.d.ts +41 -0
- package/dist/widgets/composite/MemoryMatch.svelte +613 -0
- package/dist/widgets/composite/MemoryMatch.svelte.d.ts +53 -0
- package/dist/widgets/composite/MenuOrder.svelte +876 -0
- package/dist/widgets/composite/MenuOrder.svelte.d.ts +30 -0
- package/dist/widgets/composite/MusicPlayer.svelte +581 -0
- package/dist/widgets/composite/MusicPlayer.svelte.d.ts +42 -0
- package/dist/widgets/composite/Notes.svelte +469 -0
- package/dist/widgets/composite/Notes.svelte.d.ts +28 -0
- package/dist/widgets/composite/OpsDashboard.svelte +626 -0
- package/dist/widgets/composite/OpsDashboard.svelte.d.ts +57 -0
- package/dist/widgets/composite/OrderStatus.svelte +1037 -0
- package/dist/widgets/composite/OrderStatus.svelte.d.ts +71 -0
- package/dist/widgets/composite/PipelineDashboard.svelte +258 -0
- package/dist/widgets/composite/PipelineDashboard.svelte.d.ts +50 -0
- package/dist/widgets/composite/PlaceResults.svelte +293 -0
- package/dist/widgets/composite/PlaceResults.svelte.d.ts +45 -0
- package/dist/widgets/composite/ProductGrid.svelte +249 -0
- package/dist/widgets/composite/ProductGrid.svelte.d.ts +44 -0
- package/dist/widgets/composite/ProjectDashboard.svelte +724 -0
- package/dist/widgets/composite/ProjectDashboard.svelte.d.ts +67 -0
- package/dist/widgets/composite/Quiz.svelte +540 -0
- package/dist/widgets/composite/Quiz.svelte.d.ts +25 -0
- package/dist/widgets/composite/Recipe.svelte +381 -0
- package/dist/widgets/composite/Recipe.svelte.d.ts +42 -0
- package/dist/widgets/composite/ReportLayout.svelte +379 -0
- package/dist/widgets/composite/ReportLayout.svelte.d.ts +39 -0
- package/dist/widgets/composite/RippleFrame.svelte +48 -0
- package/dist/widgets/composite/RippleFrame.svelte.d.ts +16 -0
- package/dist/widgets/composite/StandupBoard.svelte +400 -0
- package/dist/widgets/composite/StandupBoard.svelte.d.ts +21 -0
- package/dist/widgets/composite/Terminal.svelte +161 -0
- package/dist/widgets/composite/Terminal.svelte.d.ts +20 -0
- package/dist/widgets/composite/WeatherForecast.svelte +406 -0
- package/dist/widgets/composite/WeatherForecast.svelte.d.ts +35 -0
- package/dist/widgets/composite/WeatherIcon.svelte +226 -0
- package/dist/widgets/composite/WeatherIcon.svelte.d.ts +10 -0
- package/dist/widgets/composite/WeekSchedule.svelte +316 -0
- package/dist/widgets/composite/WeekSchedule.svelte.d.ts +27 -0
- package/dist/widgets/composite/WizardLayout.svelte +526 -0
- package/dist/widgets/composite/WizardLayout.svelte.d.ts +44 -0
- package/dist/widgets/composite/WordGuess.svelte +499 -0
- package/dist/widgets/composite/WordGuess.svelte.d.ts +52 -0
- package/dist/widgets/composite/agenda.d.ts +20 -0
- package/dist/widgets/composite/agenda.js +64 -0
- package/dist/widgets/composite/bill-split.d.ts +56 -0
- package/dist/widgets/composite/bill-split.js +117 -0
- package/dist/widgets/composite/board-game.d.ts +45 -0
- package/dist/widgets/composite/board-game.js +277 -0
- package/dist/widgets/composite/booking.d.ts +107 -0
- package/dist/widgets/composite/booking.js +210 -0
- package/dist/widgets/composite/cover-art.d.ts +17 -0
- package/dist/widgets/composite/cover-art.js +63 -0
- package/dist/widgets/composite/exec-dashboard.d.ts +117 -0
- package/dist/widgets/composite/exec-dashboard.js +314 -0
- package/dist/widgets/composite/exercise-figures.d.ts +19 -0
- package/dist/widgets/composite/exercise-figures.js +467 -0
- package/dist/widgets/composite/habit-tracker.d.ts +53 -0
- package/dist/widgets/composite/habit-tracker.js +149 -0
- package/dist/widgets/composite/index.d.ts +43 -0
- package/dist/widgets/composite/index.js +43 -0
- package/dist/widgets/composite/iso-scenes.d.ts +786 -0
- package/dist/widgets/composite/iso-scenes.js +122 -0
- package/dist/widgets/composite/menu-order.d.ts +146 -0
- package/dist/widgets/composite/menu-order.js +217 -0
- package/dist/widgets/composite/music-engine.d.ts +16 -0
- package/dist/widgets/composite/music-engine.js +376 -0
- package/dist/widgets/composite/notes.d.ts +49 -0
- package/dist/widgets/composite/notes.js +130 -0
- package/dist/widgets/composite/order-status-data.d.ts +74 -0
- package/dist/widgets/composite/order-status-data.js +202 -0
- package/dist/widgets/composite/pipeline-dashboard.d.ts +92 -0
- package/dist/widgets/composite/pipeline-dashboard.js +208 -0
- package/dist/widgets/composite/quiz.d.ts +63 -0
- package/dist/widgets/composite/quiz.js +107 -0
- package/dist/widgets/composite/recipe.d.ts +148 -0
- package/dist/widgets/composite/recipe.js +247 -0
- package/dist/widgets/composite/standup-board.d.ts +48 -0
- package/dist/widgets/composite/standup-board.js +171 -0
- package/dist/widgets/composite/weather-forecast.d.ts +75 -0
- package/dist/widgets/composite/weather-forecast.js +241 -0
- package/dist/widgets/composite/week-schedule.d.ts +28 -0
- package/dist/widgets/composite/week-schedule.js +134 -0
- package/dist/widgets/control/Each.svelte +6 -0
- package/dist/widgets/control/Each.svelte.d.ts +8 -0
- package/dist/widgets/control/If.svelte +6 -0
- package/dist/widgets/control/If.svelte.d.ts +8 -0
- package/dist/widgets/control/index.d.ts +2 -0
- package/dist/widgets/control/index.js +2 -0
- package/dist/widgets/craft/AssetPanel.svelte +300 -0
- package/dist/widgets/craft/AssetPanel.svelte.d.ts +28 -0
- package/dist/widgets/craft/CanvasViewport.svelte +528 -0
- package/dist/widgets/craft/CanvasViewport.svelte.d.ts +59 -0
- package/dist/widgets/craft/ContextToolbar.svelte +162 -0
- package/dist/widgets/craft/ContextToolbar.svelte.d.ts +26 -0
- package/dist/widgets/craft/EditorShell.svelte +196 -0
- package/dist/widgets/craft/EditorShell.svelte.d.ts +35 -0
- package/dist/widgets/craft/InspectorSection.svelte +64 -0
- package/dist/widgets/craft/InspectorSection.svelte.d.ts +14 -0
- package/dist/widgets/craft/PageStrip.svelte +280 -0
- package/dist/widgets/craft/PageStrip.svelte.d.ts +22 -0
- package/dist/widgets/craft/PropertyRow.svelte +59 -0
- package/dist/widgets/craft/PropertyRow.svelte.d.ts +14 -0
- package/dist/widgets/craft/ResizeHandle.svelte +67 -0
- package/dist/widgets/craft/ResizeHandle.svelte.d.ts +10 -0
- package/dist/widgets/craft/ToolRail.svelte +163 -0
- package/dist/widgets/craft/ToolRail.svelte.d.ts +19 -0
- package/dist/widgets/craft/TransformBox.svelte +254 -0
- package/dist/widgets/craft/TransformBox.svelte.d.ts +29 -0
- package/dist/widgets/craft/asset-panel.d.ts +53 -0
- package/dist/widgets/craft/asset-panel.js +53 -0
- package/dist/widgets/craft/page-strip.d.ts +12 -0
- package/dist/widgets/craft/page-strip.js +12 -0
- package/dist/widgets/craft/ruler-math.d.ts +12 -0
- package/dist/widgets/craft/ruler-math.js +43 -0
- package/dist/widgets/craft/toolbar-math.d.ts +19 -0
- package/dist/widgets/craft/toolbar-math.js +17 -0
- package/dist/widgets/craft/transform-math.d.ts +16 -0
- package/dist/widgets/craft/transform-math.js +37 -0
- package/dist/widgets/craft/types.d.ts +84 -0
- package/dist/widgets/craft/types.js +24 -0
- package/dist/widgets/craft/viewport-math.d.ts +14 -0
- package/dist/widgets/craft/viewport-math.js +20 -0
- package/dist/widgets/data/Calendar.svelte +771 -0
- package/dist/widgets/data/Calendar.svelte.d.ts +22 -0
- package/dist/widgets/data/Chart.svelte +571 -0
- package/dist/widgets/data/Chart.svelte.d.ts +33 -0
- package/dist/widgets/data/DataGrid.svelte +266 -0
- package/dist/widgets/data/DataGrid.svelte.d.ts +39 -0
- package/dist/widgets/data/DiffTable.svelte +406 -0
- package/dist/widgets/data/DiffTable.svelte.d.ts +33 -0
- package/dist/widgets/data/Funnel.svelte +425 -0
- package/dist/widgets/data/Funnel.svelte.d.ts +21 -0
- package/dist/widgets/data/GanttChart.svelte +717 -0
- package/dist/widgets/data/GanttChart.svelte.d.ts +25 -0
- package/dist/widgets/data/Gauge.svelte +238 -0
- package/dist/widgets/data/Gauge.svelte.d.ts +20 -0
- package/dist/widgets/data/Heatmap.svelte +600 -0
- package/dist/widgets/data/Heatmap.svelte.d.ts +27 -0
- package/dist/widgets/data/Kanban.svelte +585 -0
- package/dist/widgets/data/Kanban.svelte.d.ts +34 -0
- package/dist/widgets/data/Map.svelte +777 -0
- package/dist/widgets/data/Map.svelte.d.ts +82 -0
- package/dist/widgets/data/Sankey.svelte +519 -0
- package/dist/widgets/data/Sankey.svelte.d.ts +25 -0
- package/dist/widgets/data/Seismograph.svelte +269 -0
- package/dist/widgets/data/Seismograph.svelte.d.ts +28 -0
- package/dist/widgets/data/Sparkline.svelte +62 -0
- package/dist/widgets/data/Sparkline.svelte.d.ts +19 -0
- package/dist/widgets/data/Table.svelte +646 -0
- package/dist/widgets/data/Table.svelte.d.ts +59 -0
- package/dist/widgets/data/Tree.svelte +355 -0
- package/dist/widgets/data/Tree.svelte.d.ts +48 -0
- package/dist/widgets/data/TreeTable.svelte +221 -0
- package/dist/widgets/data/TreeTable.svelte.d.ts +26 -0
- package/dist/widgets/data/Treemap.svelte +650 -0
- package/dist/widgets/data/Treemap.svelte.d.ts +24 -0
- package/dist/widgets/data/VirtualList.svelte +137 -0
- package/dist/widgets/data/VirtualList.svelte.d.ts +20 -0
- package/dist/widgets/data/calendar-layout.d.ts +105 -0
- package/dist/widgets/data/calendar-layout.js +269 -0
- package/dist/widgets/data/chart-layout.d.ts +57 -0
- package/dist/widgets/data/chart-layout.js +130 -0
- package/dist/widgets/data/funnel-math.d.ts +57 -0
- package/dist/widgets/data/funnel-math.js +173 -0
- package/dist/widgets/data/gantt-scale.d.ts +86 -0
- package/dist/widgets/data/gantt-scale.js +344 -0
- package/dist/widgets/data/gauge-value.d.ts +43 -0
- package/dist/widgets/data/gauge-value.js +118 -0
- package/dist/widgets/data/heatmap-scale.d.ts +97 -0
- package/dist/widgets/data/heatmap-scale.js +260 -0
- package/dist/widgets/data/index.d.ts +17 -0
- package/dist/widgets/data/index.js +18 -0
- package/dist/widgets/data/kanban-board.d.ts +39 -0
- package/dist/widgets/data/kanban-board.js +118 -0
- package/dist/widgets/data/map-labels.d.ts +18 -0
- package/dist/widgets/data/map-labels.js +74 -0
- package/dist/widgets/data/sankey-layout.d.ts +120 -0
- package/dist/widgets/data/sankey-layout.js +744 -0
- package/dist/widgets/data/treemap.d.ts +72 -0
- package/dist/widgets/data/treemap.js +178 -0
- package/dist/widgets/data-kit/Delta.svelte +49 -0
- package/dist/widgets/data-kit/Delta.svelte.d.ts +15 -0
- package/dist/widgets/data-kit/PhotoTile.svelte +82 -0
- package/dist/widgets/data-kit/PhotoTile.svelte.d.ts +24 -0
- package/dist/widgets/data-kit/SectionCard.svelte +52 -0
- package/dist/widgets/data-kit/SectionCard.svelte.d.ts +14 -0
- package/dist/widgets/data-kit/SectionGrid.svelte +35 -0
- package/dist/widgets/data-kit/SectionGrid.svelte.d.ts +30 -0
- package/dist/widgets/data-kit/StageRail.svelte +166 -0
- package/dist/widgets/data-kit/StageRail.svelte.d.ts +10 -0
- package/dist/widgets/data-kit/StatChip.svelte +67 -0
- package/dist/widgets/data-kit/StatChip.svelte.d.ts +16 -0
- package/dist/widgets/data-kit/StatusPill.svelte +37 -0
- package/dist/widgets/data-kit/StatusPill.svelte.d.ts +9 -0
- package/dist/widgets/data-kit/VerdictLine.svelte +29 -0
- package/dist/widgets/data-kit/VerdictLine.svelte.d.ts +8 -0
- package/dist/widgets/data-kit/edit.d.ts +14 -0
- package/dist/widgets/data-kit/edit.js +27 -0
- package/dist/widgets/data-kit/format.d.ts +53 -0
- package/dist/widgets/data-kit/format.js +132 -0
- package/dist/widgets/data-kit/icons.d.ts +284 -0
- package/dist/widgets/data-kit/icons.js +511 -0
- package/dist/widgets/data-kit/index.d.ts +13 -0
- package/dist/widgets/data-kit/index.js +17 -0
- package/dist/widgets/data-kit/motion.d.ts +18 -0
- package/dist/widgets/data-kit/motion.js +29 -0
- package/dist/widgets/data-kit/pair.d.ts +3 -0
- package/dist/widgets/data-kit/pair.js +19 -0
- package/dist/widgets/data-kit/status.d.ts +18 -0
- package/dist/widgets/data-kit/status.js +49 -0
- package/dist/widgets/data-kit/tint.d.ts +3 -0
- package/dist/widgets/data-kit/tint.js +19 -0
- package/dist/widgets/data-kit/types.d.ts +23 -0
- package/dist/widgets/data-kit/types.js +5 -0
- package/dist/widgets/design-system/DesignSystemEditor.svelte +157 -0
- package/dist/widgets/design-system/DesignSystemEditor.svelte.d.ts +13 -0
- package/dist/widgets/design-system/brand-defaults.d.ts +20 -0
- package/dist/widgets/design-system/brand-defaults.js +96 -0
- package/dist/widgets/design-system/index.d.ts +10 -0
- package/dist/widgets/design-system/index.js +10 -0
- package/dist/widgets/display/ArticleMeta.svelte +84 -0
- package/dist/widgets/display/ArticleMeta.svelte.d.ts +13 -0
- package/dist/widgets/display/Avatar.svelte +87 -0
- package/dist/widgets/display/Avatar.svelte.d.ts +12 -0
- package/dist/widgets/display/Badge.svelte +72 -0
- package/dist/widgets/display/Badge.svelte.d.ts +10 -0
- package/dist/widgets/display/Chip.svelte +142 -0
- package/dist/widgets/display/Chip.svelte.d.ts +20 -0
- package/dist/widgets/display/Code.svelte +39 -0
- package/dist/widgets/display/Code.svelte.d.ts +12 -0
- package/dist/widgets/display/CodeBlock.svelte +234 -0
- package/dist/widgets/display/CodeBlock.svelte.d.ts +25 -0
- package/dist/widgets/display/ComparisonTable.svelte +74 -0
- package/dist/widgets/display/ComparisonTable.svelte.d.ts +23 -0
- package/dist/widgets/display/Copy.svelte +88 -0
- package/dist/widgets/display/Copy.svelte.d.ts +12 -0
- package/dist/widgets/display/DefinitionList.svelte +59 -0
- package/dist/widgets/display/DefinitionList.svelte.d.ts +15 -0
- package/dist/widgets/display/Diff.svelte +236 -0
- package/dist/widgets/display/Diff.svelte.d.ts +24 -0
- package/dist/widgets/display/EmptyState.svelte +119 -0
- package/dist/widgets/display/EmptyState.svelte.d.ts +23 -0
- package/dist/widgets/display/FillGrid.svelte +82 -0
- package/dist/widgets/display/FillGrid.svelte.d.ts +22 -0
- package/dist/widgets/display/GlyphGrid.svelte +149 -0
- package/dist/widgets/display/GlyphGrid.svelte.d.ts +23 -0
- package/dist/widgets/display/Heading.svelte +35 -0
- package/dist/widgets/display/Heading.svelte.d.ts +9 -0
- package/dist/widgets/display/Highlight.svelte +68 -0
- package/dist/widgets/display/Highlight.svelte.d.ts +18 -0
- package/dist/widgets/display/Icon.svelte +68 -0
- package/dist/widgets/display/Icon.svelte.d.ts +17 -0
- package/dist/widgets/display/Illustration.svelte +457 -0
- package/dist/widgets/display/Illustration.svelte.d.ts +29 -0
- package/dist/widgets/display/Image.svelte +37 -0
- package/dist/widgets/display/Image.svelte.d.ts +14 -0
- package/dist/widgets/display/InlineAlert.svelte +118 -0
- package/dist/widgets/display/InlineAlert.svelte.d.ts +22 -0
- package/dist/widgets/display/Kbd.svelte +33 -0
- package/dist/widgets/display/Kbd.svelte.d.ts +10 -0
- package/dist/widgets/display/LedClock.svelte +236 -0
- package/dist/widgets/display/LedClock.svelte.d.ts +24 -0
- package/dist/widgets/display/LinkPreview.svelte +112 -0
- package/dist/widgets/display/LinkPreview.svelte.d.ts +20 -0
- package/dist/widgets/display/Loading.svelte +45 -0
- package/dist/widgets/display/Loading.svelte.d.ts +12 -0
- package/dist/widgets/display/Markdown.svelte +64 -0
- package/dist/widgets/display/Markdown.svelte.d.ts +14 -0
- package/dist/widgets/display/Mention.svelte +139 -0
- package/dist/widgets/display/Mention.svelte.d.ts +21 -0
- package/dist/widgets/display/Metric.svelte +106 -0
- package/dist/widgets/display/Metric.svelte.d.ts +13 -0
- package/dist/widgets/display/Progress.svelte +72 -0
- package/dist/widgets/display/Progress.svelte.d.ts +17 -0
- package/dist/widgets/display/ProgressRing.svelte +116 -0
- package/dist/widgets/display/ProgressRing.svelte.d.ts +22 -0
- package/dist/widgets/display/ProsCons.svelte +60 -0
- package/dist/widgets/display/ProsCons.svelte.d.ts +12 -0
- package/dist/widgets/display/Qr.svelte +136 -0
- package/dist/widgets/display/Qr.svelte.d.ts +22 -0
- package/dist/widgets/display/Quote.svelte +54 -0
- package/dist/widgets/display/Quote.svelte.d.ts +16 -0
- package/dist/widgets/display/RichTextDisplay.svelte +73 -0
- package/dist/widgets/display/RichTextDisplay.svelte.d.ts +11 -0
- package/dist/widgets/display/Skeleton.svelte +36 -0
- package/dist/widgets/display/Skeleton.svelte.d.ts +7 -0
- package/dist/widgets/display/SoulStatus.svelte +148 -0
- package/dist/widgets/display/SoulStatus.svelte.d.ts +17 -0
- package/dist/widgets/display/Stat.svelte +232 -0
- package/dist/widgets/display/Stat.svelte.d.ts +22 -0
- package/dist/widgets/display/StatusDot.svelte +53 -0
- package/dist/widgets/display/StatusDot.svelte.d.ts +14 -0
- package/dist/widgets/display/Steps.svelte +117 -0
- package/dist/widgets/display/Steps.svelte.d.ts +20 -0
- package/dist/widgets/display/StreakBars.svelte +92 -0
- package/dist/widgets/display/StreakBars.svelte.d.ts +28 -0
- package/dist/widgets/display/Text.svelte +98 -0
- package/dist/widgets/display/Text.svelte.d.ts +13 -0
- package/dist/widgets/display/Trend.svelte +42 -0
- package/dist/widgets/display/Trend.svelte.d.ts +14 -0
- package/dist/widgets/display/diff-rows.d.ts +51 -0
- package/dist/widgets/display/diff-rows.js +107 -0
- package/dist/widgets/display/gutter.d.ts +5 -0
- package/dist/widgets/display/gutter.js +18 -0
- package/dist/widgets/display/illustration-contrast.d.ts +16 -0
- package/dist/widgets/display/illustration-contrast.js +162 -0
- package/dist/widgets/display/index.d.ts +39 -0
- package/dist/widgets/display/index.js +40 -0
- package/dist/widgets/display/linkify.d.ts +16 -0
- package/dist/widgets/display/linkify.js +47 -0
- package/dist/widgets/index.d.ts +30 -0
- package/dist/widgets/index.js +481 -0
- package/dist/widgets/input/Button.svelte +336 -0
- package/dist/widgets/input/Button.svelte.d.ts +27 -0
- package/dist/widgets/input/Checkbox.svelte +70 -0
- package/dist/widgets/input/Checkbox.svelte.d.ts +15 -0
- package/dist/widgets/input/CheckboxGroup.svelte +250 -0
- package/dist/widgets/input/CheckboxGroup.svelte.d.ts +20 -0
- package/dist/widgets/input/ChoiceGrid.svelte +150 -0
- package/dist/widgets/input/ChoiceGrid.svelte.d.ts +16 -0
- package/dist/widgets/input/CodeEditor.svelte +146 -0
- package/dist/widgets/input/CodeEditor.svelte.d.ts +17 -0
- package/dist/widgets/input/ColorPicker.svelte +511 -0
- package/dist/widgets/input/ColorPicker.svelte.d.ts +55 -0
- package/dist/widgets/input/Combobox.svelte +174 -0
- package/dist/widgets/input/Combobox.svelte.d.ts +22 -0
- package/dist/widgets/input/DatePicker.svelte +226 -0
- package/dist/widgets/input/DatePicker.svelte.d.ts +18 -0
- package/dist/widgets/input/FileUpload.svelte +197 -0
- package/dist/widgets/input/FileUpload.svelte.d.ts +32 -0
- package/dist/widgets/input/FilterBar.svelte +161 -0
- package/dist/widgets/input/FilterBar.svelte.d.ts +32 -0
- package/dist/widgets/input/Form.svelte +185 -0
- package/dist/widgets/input/Form.svelte.d.ts +55 -0
- package/dist/widgets/input/Input.svelte +190 -0
- package/dist/widgets/input/Input.svelte.d.ts +27 -0
- package/dist/widgets/input/LocationPicker.svelte +247 -0
- package/dist/widgets/input/LocationPicker.svelte.d.ts +28 -0
- package/dist/widgets/input/MultiSelect.svelte +233 -0
- package/dist/widgets/input/MultiSelect.svelte.d.ts +27 -0
- package/dist/widgets/input/NumberInput.svelte +193 -0
- package/dist/widgets/input/NumberInput.svelte.d.ts +30 -0
- package/dist/widgets/input/OtpInput.svelte +148 -0
- package/dist/widgets/input/OtpInput.svelte.d.ts +21 -0
- package/dist/widgets/input/RadioGroup.svelte +66 -0
- package/dist/widgets/input/RadioGroup.svelte.d.ts +20 -0
- package/dist/widgets/input/Rating.svelte +82 -0
- package/dist/widgets/input/Rating.svelte.d.ts +16 -0
- package/dist/widgets/input/RichText.svelte +179 -0
- package/dist/widgets/input/RichText.svelte.d.ts +17 -0
- package/dist/widgets/input/Search.svelte +255 -0
- package/dist/widgets/input/Search.svelte.d.ts +42 -0
- package/dist/widgets/input/Segmented.svelte +205 -0
- package/dist/widgets/input/Segmented.svelte.d.ts +34 -0
- package/dist/widgets/input/Select.svelte +90 -0
- package/dist/widgets/input/Select.svelte.d.ts +20 -0
- package/dist/widgets/input/Slider.svelte +92 -0
- package/dist/widgets/input/Slider.svelte.d.ts +17 -0
- package/dist/widgets/input/Switch.svelte +138 -0
- package/dist/widgets/input/Switch.svelte.d.ts +15 -0
- package/dist/widgets/input/Textarea.svelte +84 -0
- package/dist/widgets/input/Textarea.svelte.d.ts +20 -0
- package/dist/widgets/input/TimePicker.svelte +224 -0
- package/dist/widgets/input/TimePicker.svelte.d.ts +18 -0
- package/dist/widgets/input/choice-grid.d.ts +12 -0
- package/dist/widgets/input/choice-grid.js +1 -0
- package/dist/widgets/input/color-math.d.ts +25 -0
- package/dist/widgets/input/color-math.js +59 -0
- package/dist/widgets/input/field-name.d.ts +4 -0
- package/dist/widgets/input/field-name.js +14 -0
- package/dist/widgets/input/index.d.ts +25 -0
- package/dist/widgets/input/index.js +25 -0
- package/dist/widgets/interactive/DrawingCanvas.svelte +279 -0
- package/dist/widgets/interactive/DrawingCanvas.svelte.d.ts +14 -0
- package/dist/widgets/interactive/Flashcard.svelte +140 -0
- package/dist/widgets/interactive/Flashcard.svelte.d.ts +21 -0
- package/dist/widgets/interactive/Timer.svelte +157 -0
- package/dist/widgets/interactive/Timer.svelte.d.ts +15 -0
- package/dist/widgets/interactive/TodoList.svelte +181 -0
- package/dist/widgets/interactive/TodoList.svelte.d.ts +25 -0
- package/dist/widgets/interactive/index.d.ts +4 -0
- package/dist/widgets/interactive/index.js +10 -0
- package/dist/widgets/layout/Accordion.svelte +76 -0
- package/dist/widgets/layout/Accordion.svelte.d.ts +20 -0
- package/dist/widgets/layout/AppShell.svelte +56 -0
- package/dist/widgets/layout/AppShell.svelte.d.ts +15 -0
- package/dist/widgets/layout/Breadcrumb.svelte +92 -0
- package/dist/widgets/layout/Breadcrumb.svelte.d.ts +21 -0
- package/dist/widgets/layout/Card.svelte +143 -0
- package/dist/widgets/layout/Card.svelte.d.ts +19 -0
- package/dist/widgets/layout/Collapsible.svelte +76 -0
- package/dist/widgets/layout/Collapsible.svelte.d.ts +18 -0
- package/dist/widgets/layout/Container.svelte +44 -0
- package/dist/widgets/layout/Container.svelte.d.ts +11 -0
- package/dist/widgets/layout/Dashboard.svelte +97 -0
- package/dist/widgets/layout/Dashboard.svelte.d.ts +17 -0
- package/dist/widgets/layout/DashboardSlot.svelte +33 -0
- package/dist/widgets/layout/DashboardSlot.svelte.d.ts +12 -0
- package/dist/widgets/layout/Flex.svelte +101 -0
- package/dist/widgets/layout/Flex.svelte.d.ts +18 -0
- package/dist/widgets/layout/GlassCard.svelte +112 -0
- package/dist/widgets/layout/GlassCard.svelte.d.ts +17 -0
- package/dist/widgets/layout/Grid.svelte +105 -0
- package/dist/widgets/layout/Grid.svelte.d.ts +14 -0
- package/dist/widgets/layout/Hero.svelte +63 -0
- package/dist/widgets/layout/Hero.svelte.d.ts +16 -0
- package/dist/widgets/layout/ListRow.svelte +162 -0
- package/dist/widgets/layout/ListRow.svelte.d.ts +28 -0
- package/dist/widgets/layout/MasterDetail.svelte +136 -0
- package/dist/widgets/layout/MasterDetail.svelte.d.ts +35 -0
- package/dist/widgets/layout/Modal.svelte +104 -0
- package/dist/widgets/layout/Modal.svelte.d.ts +16 -0
- package/dist/widgets/layout/PageHeader.svelte +107 -0
- package/dist/widgets/layout/PageHeader.svelte.d.ts +26 -0
- package/dist/widgets/layout/PanelHeader.svelte +76 -0
- package/dist/widgets/layout/PanelHeader.svelte.d.ts +19 -0
- package/dist/widgets/layout/Section.svelte +41 -0
- package/dist/widgets/layout/Section.svelte.d.ts +13 -0
- package/dist/widgets/layout/SectionHeader.svelte +95 -0
- package/dist/widgets/layout/SectionHeader.svelte.d.ts +18 -0
- package/dist/widgets/layout/Separator.svelte +69 -0
- package/dist/widgets/layout/Separator.svelte.d.ts +10 -0
- package/dist/widgets/layout/Sheet.svelte +64 -0
- package/dist/widgets/layout/Sheet.svelte.d.ts +23 -0
- package/dist/widgets/layout/Sidebar.svelte +146 -0
- package/dist/widgets/layout/Sidebar.svelte.d.ts +31 -0
- package/dist/widgets/layout/Split.svelte +183 -0
- package/dist/widgets/layout/Split.svelte.d.ts +25 -0
- package/dist/widgets/layout/Tabs.svelte +90 -0
- package/dist/widgets/layout/Tabs.svelte.d.ts +23 -0
- package/dist/widgets/layout/index.d.ts +21 -0
- package/dist/widgets/layout/index.js +22 -0
- package/dist/widgets/marketing/Cta.svelte +22 -0
- package/dist/widgets/marketing/Cta.svelte.d.ts +13 -0
- package/dist/widgets/marketing/Faq.svelte +71 -0
- package/dist/widgets/marketing/Faq.svelte.d.ts +16 -0
- package/dist/widgets/marketing/FeatureGrid.svelte +52 -0
- package/dist/widgets/marketing/FeatureGrid.svelte.d.ts +16 -0
- package/dist/widgets/marketing/Footer.svelte +33 -0
- package/dist/widgets/marketing/Footer.svelte.d.ts +18 -0
- package/dist/widgets/marketing/Hero.svelte +206 -0
- package/dist/widgets/marketing/Hero.svelte.d.ts +31 -0
- package/dist/widgets/marketing/LogoCloud.svelte +30 -0
- package/dist/widgets/marketing/LogoCloud.svelte.d.ts +15 -0
- package/dist/widgets/marketing/Navbar.svelte +46 -0
- package/dist/widgets/marketing/Navbar.svelte.d.ts +23 -0
- package/dist/widgets/marketing/Newsletter.svelte +32 -0
- package/dist/widgets/marketing/Newsletter.svelte.d.ts +13 -0
- package/dist/widgets/marketing/Testimonial.svelte +26 -0
- package/dist/widgets/marketing/Testimonial.svelte.d.ts +12 -0
- package/dist/widgets/marketing/index.d.ts +9 -0
- package/dist/widgets/marketing/index.js +14 -0
- package/dist/widgets/media/AudioPlayer.svelte +236 -0
- package/dist/widgets/media/AudioPlayer.svelte.d.ts +19 -0
- package/dist/widgets/media/Embed.svelte +205 -0
- package/dist/widgets/media/Embed.svelte.d.ts +41 -0
- package/dist/widgets/media/ModelViewer.svelte +409 -0
- package/dist/widgets/media/ModelViewer.svelte.d.ts +36 -0
- package/dist/widgets/media/VideoPlayer.svelte +255 -0
- package/dist/widgets/media/VideoPlayer.svelte.d.ts +21 -0
- package/dist/widgets/media/index.d.ts +4 -0
- package/dist/widgets/media/index.js +12 -0
- package/dist/widgets/media/model-asset-types.d.ts +41 -0
- package/dist/widgets/media/model-asset-types.js +23 -0
- package/dist/widgets/media/model-assets.d.ts +2 -0
- package/dist/widgets/media/model-assets.js +501 -0
- package/dist/widgets/motion/Parallax.svelte +39 -0
- package/dist/widgets/motion/Parallax.svelte.d.ts +13 -0
- package/dist/widgets/motion/Reveal.svelte +44 -0
- package/dist/widgets/motion/Reveal.svelte.d.ts +15 -0
- package/dist/widgets/motion/index.d.ts +2 -0
- package/dist/widgets/motion/index.js +4 -0
- package/dist/widgets/overlay/Alert.svelte +77 -0
- package/dist/widgets/overlay/Alert.svelte.d.ts +18 -0
- package/dist/widgets/overlay/Coachmark.svelte +146 -0
- package/dist/widgets/overlay/Coachmark.svelte.d.ts +26 -0
- package/dist/widgets/overlay/CommandPalette.svelte +369 -0
- package/dist/widgets/overlay/CommandPalette.svelte.d.ts +35 -0
- package/dist/widgets/overlay/ConfirmDialog.svelte +77 -0
- package/dist/widgets/overlay/ConfirmDialog.svelte.d.ts +3 -0
- package/dist/widgets/overlay/ContextMenu.svelte +153 -0
- package/dist/widgets/overlay/ContextMenu.svelte.d.ts +24 -0
- package/dist/widgets/overlay/DropdownMenu.svelte +128 -0
- package/dist/widgets/overlay/DropdownMenu.svelte.d.ts +33 -0
- package/dist/widgets/overlay/ErrorState.svelte +121 -0
- package/dist/widgets/overlay/ErrorState.svelte.d.ts +19 -0
- package/dist/widgets/overlay/HoverCard.svelte +71 -0
- package/dist/widgets/overlay/HoverCard.svelte.d.ts +20 -0
- package/dist/widgets/overlay/NotificationCenter.svelte +178 -0
- package/dist/widgets/overlay/NotificationCenter.svelte.d.ts +28 -0
- package/dist/widgets/overlay/Popover.svelte +69 -0
- package/dist/widgets/overlay/Popover.svelte.d.ts +20 -0
- package/dist/widgets/overlay/Toast.svelte +91 -0
- package/dist/widgets/overlay/Toast.svelte.d.ts +11 -0
- package/dist/widgets/overlay/Tooltip.svelte +70 -0
- package/dist/widgets/overlay/Tooltip.svelte.d.ts +23 -0
- package/dist/widgets/overlay/index.d.ts +18 -0
- package/dist/widgets/overlay/index.js +18 -0
- package/dist/widgets/overlay/palette-search.d.ts +33 -0
- package/dist/widgets/overlay/palette-search.js +94 -0
- package/dist/widgets/premium/AnimatedBeam.svelte +63 -0
- package/dist/widgets/premium/AnimatedBeam.svelte.d.ts +16 -0
- package/dist/widgets/premium/Aurora.svelte +66 -0
- package/dist/widgets/premium/Aurora.svelte.d.ts +15 -0
- package/dist/widgets/premium/BentoGrid.svelte +46 -0
- package/dist/widgets/premium/BentoGrid.svelte.d.ts +20 -0
- package/dist/widgets/premium/BorderBeam.svelte +61 -0
- package/dist/widgets/premium/BorderBeam.svelte.d.ts +19 -0
- package/dist/widgets/premium/Marquee.svelte +52 -0
- package/dist/widgets/premium/Marquee.svelte.d.ts +19 -0
- package/dist/widgets/premium/Shimmer.svelte +106 -0
- package/dist/widgets/premium/Shimmer.svelte.d.ts +15 -0
- package/dist/widgets/premium/Spotlight.svelte +82 -0
- package/dist/widgets/premium/Spotlight.svelte.d.ts +15 -0
- package/dist/widgets/premium/TextEffect.svelte +63 -0
- package/dist/widgets/premium/TextEffect.svelte.d.ts +18 -0
- package/dist/widgets/premium/index.d.ts +8 -0
- package/dist/widgets/premium/index.js +11 -0
- package/dist/widgets/research/AnalystBar.svelte +141 -0
- package/dist/widgets/research/AnalystBar.svelte.d.ts +18 -0
- package/dist/widgets/research/Callout.svelte +84 -0
- package/dist/widgets/research/Callout.svelte.d.ts +14 -0
- package/dist/widgets/research/Citation.svelte +114 -0
- package/dist/widgets/research/Citation.svelte.d.ts +19 -0
- package/dist/widgets/research/CompanyHeader.svelte +236 -0
- package/dist/widgets/research/CompanyHeader.svelte.d.ts +30 -0
- package/dist/widgets/research/DiscoverCard.svelte +129 -0
- package/dist/widgets/research/DiscoverCard.svelte.d.ts +19 -0
- package/dist/widgets/research/FollowUp.svelte +123 -0
- package/dist/widgets/research/FollowUp.svelte.d.ts +15 -0
- package/dist/widgets/research/KvTable.svelte +95 -0
- package/dist/widgets/research/KvTable.svelte.d.ts +18 -0
- package/dist/widgets/research/NewsCard.svelte +144 -0
- package/dist/widgets/research/NewsCard.svelte.d.ts +21 -0
- package/dist/widgets/research/RangeBar.svelte +128 -0
- package/dist/widgets/research/RangeBar.svelte.d.ts +24 -0
- package/dist/widgets/research/SourceCard.svelte +129 -0
- package/dist/widgets/research/SourceCard.svelte.d.ts +19 -0
- package/dist/widgets/research/SourcesBar.svelte +477 -0
- package/dist/widgets/research/SourcesBar.svelte.d.ts +25 -0
- package/dist/widgets/research/Ticker.svelte +90 -0
- package/dist/widgets/research/Ticker.svelte.d.ts +16 -0
- package/dist/widgets/research/Timeline.svelte +154 -0
- package/dist/widgets/research/Timeline.svelte.d.ts +25 -0
- package/dist/widgets/research/index.d.ts +13 -0
- package/dist/widgets/research/index.js +13 -0
- package/dist/widgets/research/sources.d.ts +37 -0
- package/dist/widgets/research/sources.js +141 -0
- package/dist/widgets/text-coerce.d.ts +1 -0
- package/dist/widgets/text-coerce.js +7 -0
- package/dist/widgets/validate-catalog-bound.d.ts +26 -0
- package/dist/widgets/validate-catalog-bound.js +36 -0
- package/dist/widgets/vertical/ApiKey.svelte +131 -0
- package/dist/widgets/vertical/ApiKey.svelte.d.ts +21 -0
- package/dist/widgets/vertical/AuditLog.svelte +750 -0
- package/dist/widgets/vertical/AuditLog.svelte.d.ts +30 -0
- package/dist/widgets/vertical/BulkActionBar.svelte +406 -0
- package/dist/widgets/vertical/BulkActionBar.svelte.d.ts +24 -0
- package/dist/widgets/vertical/CommentThread.svelte +109 -0
- package/dist/widgets/vertical/CommentThread.svelte.d.ts +22 -0
- package/dist/widgets/vertical/InvoiceLines.svelte +220 -0
- package/dist/widgets/vertical/InvoiceLines.svelte.d.ts +20 -0
- package/dist/widgets/vertical/OrgChart.svelte +537 -0
- package/dist/widgets/vertical/OrgChart.svelte.d.ts +20 -0
- package/dist/widgets/vertical/PeoplePicker.svelte +233 -0
- package/dist/widgets/vertical/PeoplePicker.svelte.d.ts +26 -0
- package/dist/widgets/vertical/PermissionMatrix.svelte +119 -0
- package/dist/widgets/vertical/PermissionMatrix.svelte.d.ts +29 -0
- package/dist/widgets/vertical/PricingTable.svelte +174 -0
- package/dist/widgets/vertical/PricingTable.svelte.d.ts +32 -0
- package/dist/widgets/vertical/SavedViews.svelte +319 -0
- package/dist/widgets/vertical/SavedViews.svelte.d.ts +25 -0
- package/dist/widgets/vertical/SettingsList.svelte +84 -0
- package/dist/widgets/vertical/SettingsList.svelte.d.ts +20 -0
- package/dist/widgets/vertical/audit-log-data.d.ts +91 -0
- package/dist/widgets/vertical/audit-log-data.js +290 -0
- package/dist/widgets/vertical/bulk-action-bar.d.ts +37 -0
- package/dist/widgets/vertical/bulk-action-bar.js +105 -0
- package/dist/widgets/vertical/index.d.ts +11 -0
- package/dist/widgets/vertical/index.js +11 -0
- package/dist/widgets/vertical/invoice-math.d.ts +39 -0
- package/dist/widgets/vertical/invoice-math.js +67 -0
- package/dist/widgets/vertical/org-chart-layout.d.ts +52 -0
- package/dist/widgets/vertical/org-chart-layout.js +192 -0
- package/dist/widgets/vertical/saved-views.d.ts +22 -0
- package/dist/widgets/vertical/saved-views.js +77 -0
- package/dist/widgets/workflow/WorkflowEdge.svelte +77 -0
- package/dist/widgets/workflow/WorkflowEdge.svelte.d.ts +4 -0
- package/dist/widgets/workflow/WorkflowNode.svelte +173 -0
- package/dist/widgets/workflow/WorkflowNode.svelte.d.ts +9 -0
- package/dist/widgets/workflow/index.d.ts +4 -0
- package/dist/widgets/workflow/index.js +4 -0
- package/dist/widgets/workflow/layout.d.ts +192 -0
- package/dist/widgets/workflow/layout.js +845 -0
- package/dist/widgets/workflow/types.d.ts +40 -0
- package/dist/widgets/workflow/types.js +4 -0
- package/package.json +177 -4
|
@@ -0,0 +1,782 @@
|
|
|
1
|
+
// figures/particle-collider/figure.ts: a cutaway piece of a circular collider
|
|
2
|
+
// drawn with the @ripple-ui/core/iso kit. World: x along the
|
|
3
|
+
// straight section, y toward the viewer, z up. The ring is a straight section
|
|
4
|
+
// (|s| <= S0) with an arc of radius R on each side that curves toward the
|
|
5
|
+
// viewer, so we look from inside the ring. Every magnet is a straight body on
|
|
6
|
+
// a chord of that path, as real dipoles are; pipes turn a few degrees at the
|
|
7
|
+
// interconnects, where the bellows are.
|
|
8
|
+
//
|
|
9
|
+
// Beam 1 (blue) runs toward +s in the outer pipe, beam 2 (red) toward -s in the
|
|
10
|
+
// inner one. A separation dipole on each side brings them into one pipe, the
|
|
11
|
+
// final-focus quadrupoles squeeze them, and they cross at s = 0 inside the
|
|
12
|
+
// detector, whose front-top quadrant is cut away to show its layers. The arc
|
|
13
|
+
// magnet at the right end is cut through and shows its twin-bore cross-section.
|
|
14
|
+
//
|
|
15
|
+
// Painter's order is a sort on depth, which grows with s along the whole ring,
|
|
16
|
+
// so every item sits at its slot and nothing reorders. `colliderSvg()` is pure
|
|
17
|
+
// (strings only). `mount()` keeps the drawing and rewrites only the live slots
|
|
18
|
+
// each frame: bunches on each visible pipe, the collision burst, the RF
|
|
19
|
+
// cavities a bunch is passing and, on update, the field gauge needle. No DOM or
|
|
20
|
+
// work at module top level.
|
|
21
|
+
import * as k from '@ripple-ui/core/iso';
|
|
22
|
+
import { frameOf, framed, percentIn } from '../frame.js';
|
|
23
|
+
import { bunchesAt, burstsAt, clampParams, describe, fieldOf, readoutsOf, stillTime } from './model.js';
|
|
24
|
+
export const WIDTH = 640;
|
|
25
|
+
export const HEIGHT = 420;
|
|
26
|
+
const TAU = Math.PI * 2;
|
|
27
|
+
const S0 = 118; // half the straight section
|
|
28
|
+
const R = 260; // arc radius
|
|
29
|
+
const ZB = 66; // beam height above the floor
|
|
30
|
+
const SEP = 5; // half the distance between the twin pipes
|
|
31
|
+
const PIPE_R = 2;
|
|
32
|
+
const FLOOR_END = 296;
|
|
33
|
+
const DET = { half: 56, r: 58 };
|
|
34
|
+
const BUNCH_HALF = 4.6;
|
|
35
|
+
/** Radial bands of the detector, inside out. */
|
|
36
|
+
const LAYERS = [
|
|
37
|
+
{ id: 'tracker', r0: 3.2, r1: 16 },
|
|
38
|
+
{ id: 'ecal', r0: 17, r1: 24 },
|
|
39
|
+
{ id: 'hcal', r0: 25, r1: 33 },
|
|
40
|
+
{ id: 'solenoid', r0: 34, r1: 38 },
|
|
41
|
+
{ id: 'yoke', r0: 39, r1: 43 },
|
|
42
|
+
{ id: 'chamber', r0: 43, r1: 46.5 },
|
|
43
|
+
{ id: 'yoke', r0: 46.5, r1: 50 },
|
|
44
|
+
{ id: 'chamber', r0: 50, r1: 53.5 },
|
|
45
|
+
{ id: 'yoke', r0: 53.5, r1: 58 }
|
|
46
|
+
];
|
|
47
|
+
const SILICON = [4.5, 6.5, 8.5, 11, 13, 15];
|
|
48
|
+
let P = null;
|
|
49
|
+
let V = [0, 0, 1];
|
|
50
|
+
let K = 1;
|
|
51
|
+
const at = (p) => k.iso(p, P);
|
|
52
|
+
const S = (paths, style = {}) => k.solidSvg(paths, style);
|
|
53
|
+
const L = (d, style = {}) => k.lineSvg(d, style);
|
|
54
|
+
const D = (points, style = {}) => k.dotsSvg(points, style);
|
|
55
|
+
const depth = (p) => k.depthOf(p, P);
|
|
56
|
+
const lerp3 = (a, b, f) => [a[0] + (b[0] - a[0]) * f, a[1] + (b[1] - a[1]) * f, a[2] + (b[2] - a[2]) * f];
|
|
57
|
+
const ring = (pts) => k.pathOf(pts.map(at), true);
|
|
58
|
+
// ---- the ring path -----------------------------------------------------------
|
|
59
|
+
/** Plan position (z = 0), direction of +s, and outward normal at ring position s. */
|
|
60
|
+
function ringAt(s) {
|
|
61
|
+
const a = Math.abs(s);
|
|
62
|
+
let p;
|
|
63
|
+
let t;
|
|
64
|
+
if (a <= S0) {
|
|
65
|
+
p = [s, 0, 0];
|
|
66
|
+
t = [1, 0, 0];
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const f = (a - S0) / R;
|
|
70
|
+
const side = Math.sign(s);
|
|
71
|
+
p = [side * (S0 + R * Math.sin(f)), R * (1 - Math.cos(f)), 0];
|
|
72
|
+
t = [Math.cos(f), side * Math.sin(f), 0];
|
|
73
|
+
}
|
|
74
|
+
return { p, t, n: [t[1], -t[0], 0] };
|
|
75
|
+
}
|
|
76
|
+
/** A straight body from s0 to s1 at beam height: local u points inward (toward the viewer), v up. */
|
|
77
|
+
function chord(s0, s1, z = ZB) {
|
|
78
|
+
const a = k.add3(ringAt(s0).p, [0, 0, z]);
|
|
79
|
+
const b = k.add3(ringAt(s1).p, [0, 0, z]);
|
|
80
|
+
const T = k.unit3(k.sub3(b, a));
|
|
81
|
+
const N = [T[1], -T[0], 0];
|
|
82
|
+
return { a, b, T, N, len: k.len3(k.sub3(b, a)), F: { o: a, a: T, u: k.mul3(N, -1), v: [0, 0, 1] } };
|
|
83
|
+
}
|
|
84
|
+
/** Where beam `beam` (1 outer, 2 inner, 0 common) crosses the face of a chord at `end`. */
|
|
85
|
+
const boreAt = (c, end, beam) => k.add3(c[end], k.mul3(c.N, beam === 1 ? SEP : beam === 2 ? -SEP : 0));
|
|
86
|
+
// ---- small builders ----------------------------------------------------------
|
|
87
|
+
const tube = (a, b, r, steps = 28) => k.prismOf(k.frameAlong(a, k.sub3(b, a)), k.circlePolygon(r, steps), 0, k.len3(k.sub3(b, a)), P);
|
|
88
|
+
const disc = (F, s0, s1, r, steps = 48) => k.prismOf(F, k.circlePolygon(r, steps), s0, s1, P);
|
|
89
|
+
/** The visible half of a circle of radius r round a frame's axis at s, ending on the silhouette. */
|
|
90
|
+
function rimArc(F, s, r, from = -Infinity, to = Infinity, steps = 40) {
|
|
91
|
+
const c = Math.atan2(k.dot3(F.v, V), k.dot3(F.u, V));
|
|
92
|
+
const a0 = Math.max(c - Math.PI / 2, from);
|
|
93
|
+
const a1 = Math.min(c + Math.PI / 2, to);
|
|
94
|
+
if (a1 <= a0)
|
|
95
|
+
return '';
|
|
96
|
+
return k.pathOf(Array.from({ length: steps + 1 }, (_, i) => at(k.pointOf(F, s, r * Math.cos(a0 + ((a1 - a0) * i) / steps), r * Math.sin(a0 + ((a1 - a0) * i) / steps)))));
|
|
97
|
+
}
|
|
98
|
+
/** A closed circle in the plane of a frame's cross-section at s. */
|
|
99
|
+
const faceCircle = (F, s, cu, cv, r, steps = 40) => ring(Array.from({ length: steps }, (_, i) => k.pointOf(F, s, cu + r * Math.cos((i / steps) * TAU), cv + r * Math.sin((i / steps) * TAU))));
|
|
100
|
+
/** An annular sector in the cross-section plane at s, angles a0..a1. */
|
|
101
|
+
function faceSector(F, s, cu, cv, r0, r1, a0, a1, steps = 24) {
|
|
102
|
+
const outer = Array.from({ length: steps + 1 }, (_, i) => a0 + ((a1 - a0) * i) / steps);
|
|
103
|
+
const pts = [...outer.map((a) => k.pointOf(F, s, cu + r1 * Math.cos(a), cv + r1 * Math.sin(a))), ...outer.toReversed().map((a) => k.pointOf(F, s, cu + r0 * Math.cos(a), cv + r0 * Math.sin(a)))];
|
|
104
|
+
return ring(pts);
|
|
105
|
+
}
|
|
106
|
+
function halo(plan, far = false) {
|
|
107
|
+
return `<path class="iso-halo pc-shadow"${far ? ' data-far=""' : ''} d="${k.haloOf(plan, 0, 0.1, P)}"/>`;
|
|
108
|
+
}
|
|
109
|
+
/** A pipe from a to b with `bellows` thin rings in the middle; pieces painted far to near. */
|
|
110
|
+
function pipeSvg(a, b, bellows, className = '') {
|
|
111
|
+
const len = k.len3(k.sub3(b, a));
|
|
112
|
+
const parts = [];
|
|
113
|
+
const pitch = 1.7;
|
|
114
|
+
const first = len / 2 - ((bellows - 1) * pitch) / 2;
|
|
115
|
+
const cuts = [0];
|
|
116
|
+
for (let i = 0; i < bellows; i++)
|
|
117
|
+
cuts.push((first + i * pitch - 0.45) / len, (first + i * pitch + 0.45) / len);
|
|
118
|
+
cuts.push(1);
|
|
119
|
+
for (let i = 0; i < cuts.length - 1; i++) {
|
|
120
|
+
const p0 = lerp3(a, b, cuts[i]);
|
|
121
|
+
const p1 = lerp3(a, b, cuts[i + 1]);
|
|
122
|
+
const ringPiece = i % 2 === 1;
|
|
123
|
+
parts.push({ key: depth(lerp3(p0, p1, 0.5)), svg: S(tube(p0, p1, ringPiece ? PIPE_R + 0.9 : PIPE_R, ringPiece ? 36 : 28), { tone: 'mid', crease: 'none', className }) });
|
|
124
|
+
}
|
|
125
|
+
return parts.sort((x, y) => x.key - y.key).map((p) => p.svg).join('');
|
|
126
|
+
}
|
|
127
|
+
const CAVITIES = [-184, -171, -158, -145];
|
|
128
|
+
const BEAD = 4.2;
|
|
129
|
+
const IRIS = Math.sqrt(BEAD * BEAD - PIPE_R * PIPE_R);
|
|
130
|
+
const ELEMENTS = [
|
|
131
|
+
{ id: 'dipole-left', kind: 'dipole', s0: -282, s1: -232, r: 15, ends: ['two', 'two'] },
|
|
132
|
+
{ id: 'quad-left', kind: 'quad', s0: -222, s1: -204, r: 12.5, ends: ['two', 'two'] },
|
|
133
|
+
{ id: 'rf-plate-far', kind: 'plate', s0: -195, s1: -193, r: 13, ends: ['two', 'two'] },
|
|
134
|
+
...CAVITIES.map((c, i) => ({ id: `cavity-${i}`, kind: 'cavity', s0: c - IRIS, s1: c + IRIS, r: BEAD, ends: ['two', 'two'] })),
|
|
135
|
+
{ id: 'rf-plate-near', kind: 'plate', s0: -135, s1: -133, r: 13, ends: ['two', 'two'] },
|
|
136
|
+
{ id: 'separation-left', kind: 'separation', s0: -112, s1: -96, r: 10, ends: ['two', 'one'] },
|
|
137
|
+
{ id: 'triplet-left', kind: 'triplet', s0: -88, s1: -66, r: 10, ends: ['one', 'one'] },
|
|
138
|
+
{ id: 'detector', kind: 'detector', s0: -DET.half, s1: DET.half, r: DET.r, ends: ['one', 'one'] },
|
|
139
|
+
{ id: 'triplet-right', kind: 'triplet', s0: 66, s1: 88, r: 10, ends: ['one', 'one'] },
|
|
140
|
+
{ id: 'separation-right', kind: 'separation', s0: 96, s1: 112, r: 10, ends: ['one', 'two'] },
|
|
141
|
+
{ id: 'dipole-right', kind: 'dipole', s0: 124, s1: 188, r: 15, ends: ['two', 'two'] },
|
|
142
|
+
{ id: 'quad-right', kind: 'quad', s0: 198, s1: 218, r: 12.5, ends: ['two', 'two'] },
|
|
143
|
+
{ id: 'dipole-cut', kind: 'dipole', s0: 228, s1: 282, r: 15, ends: ['two', 'two'], cut: true }
|
|
144
|
+
];
|
|
145
|
+
function gapsOf() {
|
|
146
|
+
const out = [];
|
|
147
|
+
for (let i = 0; i < ELEMENTS.length - 1; i++) {
|
|
148
|
+
const e = ELEMENTS[i];
|
|
149
|
+
const f = ELEMENTS[i + 1];
|
|
150
|
+
const ce = chord(e.s0, e.s1);
|
|
151
|
+
const cf = chord(f.s0, f.s1);
|
|
152
|
+
const beams = e.ends[1] === 'one' ? [{ beam: 0, a: boreAt(ce, 'b', 0), b: boreAt(cf, 'a', 0) }] : [1, 2].map((beam) => ({ beam, a: boreAt(ce, 'b', beam), b: boreAt(cf, 'a', beam) }));
|
|
153
|
+
out.push({ id: `${e.id}~${f.id}`, s0: e.s1, s1: f.s0, beams });
|
|
154
|
+
}
|
|
155
|
+
out.push({ id: 'detector-pipe', s0: -DET.half, s1: DET.half, beams: [{ beam: 0, a: [-DET.half, 0, ZB], b: [DET.half, 0, ZB] }] });
|
|
156
|
+
return out;
|
|
157
|
+
}
|
|
158
|
+
/** The floor: the tunnel band along the ring, widened round the detector into its cavern. */
|
|
159
|
+
function floorRing() {
|
|
160
|
+
const OUT = 26;
|
|
161
|
+
const IN = 34;
|
|
162
|
+
const CAV = { x: 92, back: -70, front: 76 };
|
|
163
|
+
const steps = Math.ceil((2 * FLOOR_END) / 6);
|
|
164
|
+
const ss = Array.from({ length: steps + 1 }, (_, i) => -FLOOR_END + (2 * FLOOR_END * i) / steps);
|
|
165
|
+
const edge = (off) => ss.map((s) => {
|
|
166
|
+
const { p, n } = ringAt(s);
|
|
167
|
+
return k.add3(p, k.mul3(n, off));
|
|
168
|
+
});
|
|
169
|
+
const outer = edge(OUT).filter(([x]) => Math.abs(x) > CAV.x);
|
|
170
|
+
const inner = edge(-IN).filter(([x]) => Math.abs(x) > CAV.x).reverse();
|
|
171
|
+
const left = (pts) => pts.filter(([x]) => x < 0);
|
|
172
|
+
const right = (pts) => pts.filter(([x]) => x > 0);
|
|
173
|
+
return [
|
|
174
|
+
...left(outer),
|
|
175
|
+
[-CAV.x, -OUT, 0],
|
|
176
|
+
[-CAV.x, CAV.back, 0],
|
|
177
|
+
[CAV.x, CAV.back, 0],
|
|
178
|
+
[CAV.x, -OUT, 0],
|
|
179
|
+
...right(outer),
|
|
180
|
+
...right(inner),
|
|
181
|
+
[CAV.x, IN, 0],
|
|
182
|
+
[CAV.x, CAV.front, 0],
|
|
183
|
+
[-CAV.x, CAV.front, 0],
|
|
184
|
+
[-CAV.x, IN, 0],
|
|
185
|
+
...left(inner)
|
|
186
|
+
];
|
|
187
|
+
}
|
|
188
|
+
function floor() {
|
|
189
|
+
const ringPts = floorRing();
|
|
190
|
+
const plane = ringPts.map(([x, y]) => [x, y]);
|
|
191
|
+
const out = [];
|
|
192
|
+
out.push(`<path class="iso-halo" d="${k.extrude(plane, -16, 16, P, { convex: false }).fill}"/>`);
|
|
193
|
+
const feet = [-250, -170, 170, 250].map((s) => ringAt(s).p);
|
|
194
|
+
feet.push([-78, -58, 0], [78, -58, 0], [-78, 64, 0], [78, 64, 0]);
|
|
195
|
+
feet.sort((a, b) => depth(a) - depth(b));
|
|
196
|
+
for (const [x, y] of feet) {
|
|
197
|
+
out.push(S(k.cylinder(x, y, 7, -16, 1.6, P, 28), { tone: 'lo' }));
|
|
198
|
+
out.push(S(k.cylinder(x, y, 5.4, -14.4, 4.4, P, 28), { tone: 'lo' }));
|
|
199
|
+
}
|
|
200
|
+
const seam = k.ringSeam(plane, -6, P);
|
|
201
|
+
out.push(S(k.extrude(plane, -10, 10, P, { convex: false, bevel: 1.2 }), { tone: 'lo', inner: L(seam, { tone: 'faint' }) }));
|
|
202
|
+
// Transport-lane line along the inner edge, cut end to cut end.
|
|
203
|
+
const lane = [];
|
|
204
|
+
for (let s = -FLOOR_END; s <= FLOOR_END + 1e-9; s += 4) {
|
|
205
|
+
const { p, n } = ringAt(s);
|
|
206
|
+
lane.push(at(k.add3(p, k.mul3(n, -27))));
|
|
207
|
+
}
|
|
208
|
+
out.push(L(k.pathOf(lane), { tone: 'faint' }));
|
|
209
|
+
// Ruler strip and label plate on the cavern floor, in front of the detector.
|
|
210
|
+
const strip = { x: -60, y: 62, w: 120, d: 7, r: 1 };
|
|
211
|
+
out.push(S(k.slabOf(strip, 0, 0.6, P, 3), { tone: 'lo', crease: 'none' }));
|
|
212
|
+
const ticks = k.topTicks(strip.x + 4, strip.x + strip.w - 4, 4, 5, strip.y + 0.8, 0.6, [2, 3.6], P);
|
|
213
|
+
out.push(L(ticks.minor, { tone: 'lo' }), L(ticks.major, { tone: 'mid' }));
|
|
214
|
+
const label = { x: -86, y: 56, w: 20, d: 13, r: 1.2 };
|
|
215
|
+
out.push(S(k.slabOf(label, 0, 1, P, 3, 0.3), { tone: 'mid' }));
|
|
216
|
+
for (const [i, yy] of [3.6, 6.6, 9.6].entries())
|
|
217
|
+
out.push(L(k.lineOnTop([label.x + 0.4, label.y + yy], [label.x + label.w - (i ? 6 : 0.4), label.y + yy], 1, P), { tone: i === 0 ? 'lo' : 'faint', free: 'end' }));
|
|
218
|
+
out.push(D([at([label.x + 2.4, label.y + 1.8, 1]), at([label.x + label.w - 2.4, label.y + 1.8, 1])], { size: 0.45 }));
|
|
219
|
+
return out.join('');
|
|
220
|
+
}
|
|
221
|
+
/** Two jacks under a horizontal body of radius r on chord c. */
|
|
222
|
+
function jacks(c, r, fractions = [0.2, 0.8]) {
|
|
223
|
+
const pts = fractions.map((f) => k.add3(c.a, k.mul3(c.T, c.len * f))).sort((p, q) => depth(p) - depth(q));
|
|
224
|
+
return pts
|
|
225
|
+
.map(([x, y]) => {
|
|
226
|
+
const top = ZB - r;
|
|
227
|
+
return S(k.cylinder(x, y, 4.8, 0, 1.4, P, 28), { tone: 'lo' }) + S(k.cylinder(x, y, 2.8, 1.4, top - 1.4, P, 24), { tone: 'mid', crease: 'none', inner: L(k.sideArc(x, y, 2.8, top * 0.5, P, 16), { tone: 'faint' }) });
|
|
228
|
+
})
|
|
229
|
+
.join('');
|
|
230
|
+
}
|
|
231
|
+
/** The face of a magnet at its near end: flange, bolt circle and a collar round each bore. */
|
|
232
|
+
function endFace(c, r, bores) {
|
|
233
|
+
const out = [];
|
|
234
|
+
const holes = bores === 'one' ? [0] : [-SEP, SEP];
|
|
235
|
+
out.push(L(holes.map((u) => faceCircle(c.F, c.len + 0.2, u, 0, PIPE_R + 1.3, 28)).join(''), { tone: 'lo' }));
|
|
236
|
+
const bolts = [];
|
|
237
|
+
for (let i = 0; i < 12; i++)
|
|
238
|
+
bolts.push(at(k.pointOf(c.F, c.len + 0.2, (r + 0.5) * Math.cos((i / 12) * TAU), (r + 0.5) * Math.sin((i / 12) * TAU))));
|
|
239
|
+
out.push(D(bolts, { size: 0.45, tone: 'mid' }));
|
|
240
|
+
return out.join('');
|
|
241
|
+
}
|
|
242
|
+
function magnet(e) {
|
|
243
|
+
const c = chord(e.s0, e.s1);
|
|
244
|
+
const out = [jacks(c, e.r)];
|
|
245
|
+
const flange = e.r + 1.1;
|
|
246
|
+
out.push(S(disc(c.F, -0.2, 1.4, flange), { tone: 'mid' }));
|
|
247
|
+
const seams = [];
|
|
248
|
+
const bands = e.kind === 'dipole' ? [0.25, 0.5, 0.75] : [];
|
|
249
|
+
for (const f of bands)
|
|
250
|
+
seams.push(rimArc(c.F, c.len * f, e.r));
|
|
251
|
+
out.push(S(disc(c.F, 0, c.len, e.r, 64), { tone: 'mid', crease: 'none', inner: L(seams.join(''), { tone: 'faint' }) }));
|
|
252
|
+
if (e.kind === 'quad' || e.kind === 'triplet') {
|
|
253
|
+
for (const f of [0.3, 0.7])
|
|
254
|
+
out.push(S(disc(c.F, c.len * f - 1.3, c.len * f + 1.3, e.r + 0.9, 64), { tone: 'mid' }));
|
|
255
|
+
}
|
|
256
|
+
if (e.cut) {
|
|
257
|
+
out.push(cutFace(c, e.r));
|
|
258
|
+
}
|
|
259
|
+
else {
|
|
260
|
+
out.push(S(disc(c.F, c.len - 1.4, c.len + 0.2, flange), { tone: 'mid' }));
|
|
261
|
+
out.push(endFace(c, flange - 1.1, e.ends[1]));
|
|
262
|
+
}
|
|
263
|
+
return out.join('');
|
|
264
|
+
}
|
|
265
|
+
/** The arc dipole cut through: vacuum vessel, iron yoke, two collared coils round the twin beam pipes. */
|
|
266
|
+
function cutFace(c, r) {
|
|
267
|
+
const F = c.F;
|
|
268
|
+
const s = c.len;
|
|
269
|
+
const out = [];
|
|
270
|
+
out.push(`<path class="pc-void" d="${faceCircle(F, s, 0, 0, r - 1.4, 64)}"/>`);
|
|
271
|
+
out.push(L(faceCircle(F, s, 0, 0, r - 1.4, 64), { tone: 'mid' }));
|
|
272
|
+
out.push(L(faceCircle(F, s, 0, 0, r - 2.6, 64), { tone: 'faint' }));
|
|
273
|
+
// Support post the cold mass sits on.
|
|
274
|
+
const post = ring([k.pointOf(F, s, -1.6, -(r - 1.4)), k.pointOf(F, s, 1.6, -(r - 1.4)), k.pointOf(F, s, 1.6, -10.4), k.pointOf(F, s, -1.6, -10.4)]);
|
|
275
|
+
out.push(`<path class="pc-yoke" d="${post}"/>`, L(post, { tone: 'lo' }));
|
|
276
|
+
out.push(`<path class="pc-yoke" d="${faceCircle(F, s, 0, 0, 10.6, 64)}"/>`, L(faceCircle(F, s, 0, 0, 10.6, 64), { tone: 'mid' }));
|
|
277
|
+
// Heat-exchanger pipe and two bus-bar channels through the yoke.
|
|
278
|
+
for (const [u, v, rr] of [[0, 7.6, 1.2], [-6.4, -6, 0.8], [6.4, -6, 0.8]])
|
|
279
|
+
out.push(`<path class="pc-void" d="${faceCircle(F, s, u, v, rr, 20)}"/>`, L(faceCircle(F, s, u, v, rr, 20), { tone: 'lo' }));
|
|
280
|
+
for (const u of [-SEP, SEP]) {
|
|
281
|
+
out.push(`<path class="pc-collar" d="${faceCircle(F, s, u, 0, 4.3, 40)}"/>`, L(faceCircle(F, s, u, 0, 4.3, 40), { tone: 'lo' }));
|
|
282
|
+
for (const [a0, a1] of [[0.12, Math.PI - 0.12], [Math.PI + 0.12, TAU - 0.12]]) {
|
|
283
|
+
const d = faceSector(F, s, u, 0, PIPE_R + 0.4, 3.7, a0, a1);
|
|
284
|
+
out.push(`<path class="pc-coil" d="${d}"/>`, L(d, { tone: 'hi' }));
|
|
285
|
+
}
|
|
286
|
+
out.push(`<path class="pc-void" d="${faceCircle(F, s, u, 0, PIPE_R - 0.4, 24)}"/>`, L(faceCircle(F, s, u, 0, PIPE_R, 24), { tone: 'mid' }));
|
|
287
|
+
}
|
|
288
|
+
return out.join('');
|
|
289
|
+
}
|
|
290
|
+
function plate(e) {
|
|
291
|
+
const c = chord(e.s0, e.s1);
|
|
292
|
+
const w = 10;
|
|
293
|
+
const top = 10;
|
|
294
|
+
const shape = [];
|
|
295
|
+
for (let i = 0; i <= 8; i++) {
|
|
296
|
+
const a = (i / 8) * (Math.PI / 2);
|
|
297
|
+
shape.push([w - 3 + 3 * Math.cos(a), top - 3 + 3 * Math.sin(a)]);
|
|
298
|
+
}
|
|
299
|
+
for (let i = 0; i <= 8; i++) {
|
|
300
|
+
const a = Math.PI / 2 + (i / 8) * (Math.PI / 2);
|
|
301
|
+
shape.push([-w + 3 + 3 * Math.cos(a), top - 3 + 3 * Math.sin(a)]);
|
|
302
|
+
}
|
|
303
|
+
shape.push([-w - 3, -ZB], [w + 3, -ZB]);
|
|
304
|
+
const out = [halo({ x: c.a[0] - w, y: c.a[1] - 3, w: w * 2, d: 6, r: 2 }, true)];
|
|
305
|
+
out.push(S(k.prismOf(c.F, shape, 0, c.len, P), { tone: 'mid' }));
|
|
306
|
+
if (e.id === 'rf-plate-far') {
|
|
307
|
+
// The module's base girder, plate to plate, under the cavities.
|
|
308
|
+
const g = chord(-193, -135, 0);
|
|
309
|
+
const seam = k.pathOf([at(k.pointOf(g.F, 0, 8, 1.6)), at(k.pointOf(g.F, g.len, 8, 1.6))]);
|
|
310
|
+
out.push(S(k.prismOf(g.F, [[-8, 0], [8, 0], [8, 3.2], [-8, 3.2]], 0, g.len, P), { tone: 'lo', inner: L(seam, { tone: 'faint' }) }));
|
|
311
|
+
}
|
|
312
|
+
out.push(L([-SEP, SEP].map((u) => faceCircle(c.F, c.len, u, 0, PIPE_R + 1.2, 28)).join(''), { tone: 'lo' }));
|
|
313
|
+
out.push(D([at(k.pointOf(c.F, c.len, -w + 1, -ZB + 5)), at(k.pointOf(c.F, c.len, w - 1, -ZB + 5)), at(k.pointOf(c.F, c.len, -w + 2.6, top - 2.6)), at(k.pointOf(c.F, c.len, w - 2.6, top - 2.6))], { size: 0.5 }));
|
|
314
|
+
return out.join('');
|
|
315
|
+
}
|
|
316
|
+
/** One RF cavity per beam: a bead on each pipe with a power coupler standing on top. */
|
|
317
|
+
function cavity(e, i) {
|
|
318
|
+
const c = chord(e.s0, e.s1);
|
|
319
|
+
const mid = (beam) => k.add3(lerp3(c.a, c.b, 0.5), k.mul3(c.N, beam === 1 ? SEP : -SEP));
|
|
320
|
+
return [1, 2]
|
|
321
|
+
.map((beam) => ({ beam, p: mid(beam) }))
|
|
322
|
+
.sort((a, b) => depth(a.p) - depth(b.p))
|
|
323
|
+
.map(({ beam, p }) => {
|
|
324
|
+
const [x, y, z] = p;
|
|
325
|
+
const base = z + Math.sqrt(BEAD * BEAD - 1.3 * 1.3);
|
|
326
|
+
const coupler = S(k.cylinder(x, y, 1.3, base, ZB + 13 - base, P, 20), { tone: 'mid', crease: 'none' }) + S(k.cylinder(x, y, 2.3, ZB + 13, 1.2, P, 28), { tone: 'mid' }) + D([at([x, y, ZB + 14.2])], { size: 0.5, tone: 'hi' });
|
|
327
|
+
return `<g class="pc-cavity" data-cavity="${beam}-${i}">${S(k.sphereOf(p, BEAD, P, 48), { tone: 'mid' })}</g>${coupler}`;
|
|
328
|
+
})
|
|
329
|
+
.join('');
|
|
330
|
+
}
|
|
331
|
+
// ---- the detector ------------------------------------------------------------
|
|
332
|
+
const DF = { o: [0, 0, ZB], a: [1, 0, 0], u: [0, 1, 0], v: [0, 0, 1] };
|
|
333
|
+
const arcPts = (r, a0, a1, steps = 48) => Array.from({ length: steps + 1 }, (_, i) => [r * Math.cos(a0 + ((a1 - a0) * i) / steps), r * Math.sin(a0 + ((a1 - a0) * i) / steps)]);
|
|
334
|
+
const onWall = (x, along, r) => (along === 'y' ? [x, r, ZB] : [x, 0, ZB + r]);
|
|
335
|
+
function detector() {
|
|
336
|
+
const { half, r } = DET;
|
|
337
|
+
const out = [];
|
|
338
|
+
// Two saddle cradles, the far one first.
|
|
339
|
+
for (const x of [-34, 34]) {
|
|
340
|
+
const w = 44;
|
|
341
|
+
const saddle = [[-w, 0], [w, 0], ...Array.from({ length: 25 }, (_, i) => w - (2 * w * i) / 24).map((y) => [y, ZB - Math.sqrt(r * r - y * y)])];
|
|
342
|
+
out.push(halo({ x: x - 7, y: -w, w: 14, d: w * 2, r: 2 }, true));
|
|
343
|
+
const F = { o: [x - 6, 0, 0], a: [1, 0, 0], u: [0, 1, 0], v: [0, 0, 1] };
|
|
344
|
+
out.push(S(k.prismOf(F, saddle, 0, 12, P), { tone: 'mid' }));
|
|
345
|
+
out.push(D([at([x + 6, w - 4, 2]), at([x + 6, -w + 4, 2])], { size: 0.5 }));
|
|
346
|
+
}
|
|
347
|
+
// Bottom half, then the back-top quarter: what the cut leaves.
|
|
348
|
+
const seamsLow = [];
|
|
349
|
+
const seamsHigh = [];
|
|
350
|
+
for (const x of [-33.6, -11.2, 11.2, 33.6]) {
|
|
351
|
+
seamsLow.push(rimArc({ ...DF, o: [x, 0, ZB] }, 0, r, -Math.PI, 0));
|
|
352
|
+
seamsHigh.push(rimArc({ ...DF, o: [x, 0, ZB] }, 0, r, Math.PI / 2, Math.PI));
|
|
353
|
+
}
|
|
354
|
+
out.push(S(k.prismOf(DF, arcPts(r, Math.PI, TAU, 96), -half, half, P), { tone: 'hi', inner: L(seamsLow.join(''), { tone: 'lo' }) }));
|
|
355
|
+
out.push(S(k.prismOf(DF, [[0, 0], ...arcPts(r, Math.PI / 2, Math.PI, 48)], -half, half, P), { tone: 'hi', inner: L(seamsHigh.join(''), { tone: 'lo' }) }));
|
|
356
|
+
out.push(layers());
|
|
357
|
+
return out.join('');
|
|
358
|
+
}
|
|
359
|
+
/** The layers as they show on the two cut walls and the near end cap. */
|
|
360
|
+
function layers() {
|
|
361
|
+
const { half } = DET;
|
|
362
|
+
const out = [];
|
|
363
|
+
const quad = (pts) => ring(pts);
|
|
364
|
+
const walls = (r0, r1) => ['y', 'z'].map((w) => quad([onWall(-half, w, r0), onWall(half, w, r0), onWall(half, w, r1), onWall(-half, w, r1)])).join('');
|
|
365
|
+
const cap = (r0, r1) => {
|
|
366
|
+
const outer = arcPts(r1, Math.PI / 2, TAU, 72);
|
|
367
|
+
const inner = arcPts(r0, TAU, Math.PI / 2, 72);
|
|
368
|
+
return ring([...outer, ...inner].map(([u, v]) => k.pointOf(DF, half, u, v)));
|
|
369
|
+
};
|
|
370
|
+
for (const band of LAYERS)
|
|
371
|
+
out.push(`<path class="pc-layer" data-l="${band.id}" d="${walls(band.r0, band.r1)}${cap(band.r0, band.r1)}"/>`);
|
|
372
|
+
// Boundaries: along both walls and round the cap.
|
|
373
|
+
const edges = new Set();
|
|
374
|
+
for (const band of LAYERS)
|
|
375
|
+
edges.add(band.r0).add(band.r1);
|
|
376
|
+
const lines = [];
|
|
377
|
+
for (const rr of edges) {
|
|
378
|
+
if (rr >= DET.r)
|
|
379
|
+
continue;
|
|
380
|
+
for (const w of ['y', 'z'])
|
|
381
|
+
lines.push(k.segment(onWall(-half, w, rr), onWall(half, w, rr), P));
|
|
382
|
+
lines.push(k.pathOf(arcPts(rr, Math.PI / 2, TAU, 72).map(([u, v]) => at(k.pointOf(DF, half, u, v)))));
|
|
383
|
+
}
|
|
384
|
+
out.push(L(lines.join(''), { tone: 'lo' }));
|
|
385
|
+
// Silicon layers of the tracker.
|
|
386
|
+
const silicon = [];
|
|
387
|
+
for (const rr of SILICON) {
|
|
388
|
+
for (const w of ['y', 'z'])
|
|
389
|
+
silicon.push(k.segment(onWall(-half, w, rr), onWall(half, w, rr), P));
|
|
390
|
+
silicon.push(k.pathOf(arcPts(rr, Math.PI / 2, TAU, 60).map(([u, v]) => at(k.pointOf(DF, half, u, v)))));
|
|
391
|
+
}
|
|
392
|
+
out.push(L(silicon.join(''), { tone: 'mid' }));
|
|
393
|
+
// Crystals (ECAL), absorber plates (HCAL) and coil turns (solenoid): rungs across each band.
|
|
394
|
+
const rungs = (r0, r1, step, capStep) => {
|
|
395
|
+
const d = [];
|
|
396
|
+
for (let x = -half + step; x < half - 0.5; x += step)
|
|
397
|
+
for (const w of ['y', 'z'])
|
|
398
|
+
d.push(k.segment(onWall(x, w, r0), onWall(x, w, r1), P));
|
|
399
|
+
for (let a = Math.PI / 2 + capStep; a < TAU - 1e-6; a += capStep)
|
|
400
|
+
d.push(k.segment(k.pointOf(DF, half, r0 * Math.cos(a), r0 * Math.sin(a)), k.pointOf(DF, half, r1 * Math.cos(a), r1 * Math.sin(a)), P));
|
|
401
|
+
return d.join('');
|
|
402
|
+
};
|
|
403
|
+
out.push(L(rungs(17, 24, 3.5, (5 * Math.PI) / 180), { tone: 'faint' }));
|
|
404
|
+
out.push(L(rungs(25, 33, 7, (10 * Math.PI) / 180), { tone: 'lo' }));
|
|
405
|
+
out.push(L(rungs(34, 38, 1.75, (60 * Math.PI) / 180), { tone: 'faint' }));
|
|
406
|
+
// Drift-tube rows in the muon chambers.
|
|
407
|
+
const tubes = [];
|
|
408
|
+
for (const rr of [44.75, 51.75]) {
|
|
409
|
+
for (let x = -half + 2; x < half - 1; x += 3)
|
|
410
|
+
for (const w of ['y', 'z'])
|
|
411
|
+
tubes.push(at(onWall(x, w, rr)));
|
|
412
|
+
for (let a = Math.PI / 2 + 0.05; a < TAU - 0.03; a += 0.07)
|
|
413
|
+
tubes.push(at(k.pointOf(DF, half, rr * Math.cos(a), rr * Math.sin(a))));
|
|
414
|
+
}
|
|
415
|
+
out.push(D(tubes, { size: 0.42, tone: 'mid' }));
|
|
416
|
+
return out.join('');
|
|
417
|
+
}
|
|
418
|
+
// ---- the field gauge -----------------------------------------------------------
|
|
419
|
+
const GAUGE = { s: 156, off: 24, r: 4.8, z: 10, max: 10 };
|
|
420
|
+
const SWEEP = (130 * Math.PI) / 180;
|
|
421
|
+
function gaugeFrame() {
|
|
422
|
+
const c = chord(124, 188);
|
|
423
|
+
const centre = k.add3(k.add3(c.a, k.mul3(c.T, GAUGE.s - 124)), [0, 0, -ZB]);
|
|
424
|
+
return { c, centre };
|
|
425
|
+
}
|
|
426
|
+
/** A point on the dial face, angle 0 straight up, positive clockwise as seen. */
|
|
427
|
+
function onDial(r, a, lift = 0) {
|
|
428
|
+
const { c, centre } = gaugeFrame();
|
|
429
|
+
const face = k.add3(centre, k.mul3(c.N, -(GAUGE.off + 3.5 + lift)));
|
|
430
|
+
return k.add3(face, k.add3(k.mul3(c.T, Math.sin(a) * r), [0, 0, GAUGE.z + Math.cos(a) * r]));
|
|
431
|
+
}
|
|
432
|
+
const needleAngle = (b) => -SWEEP + (Math.min(GAUGE.max, Math.max(0, b)) / GAUGE.max) * SWEEP * 2;
|
|
433
|
+
function gauge() {
|
|
434
|
+
const { c, centre } = gaugeFrame();
|
|
435
|
+
const out = [];
|
|
436
|
+
const F = { o: k.add3(centre, k.mul3(c.T, -7)), a: c.T, u: k.mul3(c.N, -1), v: [0, 0, 1] };
|
|
437
|
+
const box = [[GAUGE.off - 3.5, 0], [GAUGE.off + 3.5, 0], [GAUGE.off + 3.5, 17], [GAUGE.off - 3.5, 17]];
|
|
438
|
+
const foot = k.add3(F.o, k.mul3(c.N, -GAUGE.off));
|
|
439
|
+
out.push(halo({ x: foot[0] - 2, y: foot[1] - 5, w: 18, d: 10, r: 2 }));
|
|
440
|
+
const seam = k.pathOf([at(k.pointOf(F, 0.01, GAUGE.off + 3.5, 3)), at(k.pointOf(F, 14, GAUGE.off + 3.5, 3))]);
|
|
441
|
+
out.push(S(k.prismOf(F, box, 0, 14, P), { tone: 'mid', inner: L(seam, { tone: 'faint' }) }));
|
|
442
|
+
const DFace = { o: onDial(0, 0, 0), a: k.mul3(c.N, -1), u: k.mul3(c.T, -1), v: [0, 0, 1] };
|
|
443
|
+
out.push(S(disc(DFace, 0, 1.2, GAUGE.r, 48), { tone: 'mid' }));
|
|
444
|
+
out.push(S(disc(DFace, 1.2, 1.5, GAUGE.r - 0.9, 48), { tone: 'hi', crease: 'none' }));
|
|
445
|
+
const minor = [];
|
|
446
|
+
const major = [];
|
|
447
|
+
for (let i = 0; i <= 20; i++) {
|
|
448
|
+
const a = -SWEEP + (i / 20) * SWEEP * 2;
|
|
449
|
+
const long = i % 5 === 0;
|
|
450
|
+
(long ? major : minor).push(k.segment(onDial(GAUGE.r - 1.2, a, 1.6), onDial(GAUGE.r - (long ? 2.4 : 1.8), a, 1.6), P));
|
|
451
|
+
}
|
|
452
|
+
out.push(L(k.pathOf(Array.from({ length: 41 }, (_, i) => at(onDial(GAUGE.r - 1.2, -SWEEP + (i / 40) * SWEEP * 2, 1.6)))), { tone: 'lo' }));
|
|
453
|
+
out.push(L(minor.join(''), { tone: 'lo' }), L(major.join(''), { tone: 'mid' }));
|
|
454
|
+
out.push(`<path class="iso-line" data-tone="lit" data-free="end" data-needle="" style="stroke-width:1"/>`);
|
|
455
|
+
out.push(D([at(onDial(0, 0, 1.7))], { size: 0.8, tone: 'hi' }));
|
|
456
|
+
return out.join('');
|
|
457
|
+
}
|
|
458
|
+
const needlePath = (b) => k.segment(onDial(0.9, needleAngle(b) + Math.PI, 1.7), onDial(GAUGE.r - 1.6, needleAngle(b), 1.7), P);
|
|
459
|
+
// ---- assembly ------------------------------------------------------------------
|
|
460
|
+
let ITEMS = [];
|
|
461
|
+
let GAPS = [];
|
|
462
|
+
function ready() {
|
|
463
|
+
if (P)
|
|
464
|
+
return;
|
|
465
|
+
const ends = [ringAt(-FLOOR_END), ringAt(FLOOR_END)].flatMap(({ p, n }) => [k.add3(p, k.mul3(n, 26)), k.add3(p, k.mul3(n, -34)), k.add3(p, [0, 0, ZB + 16])]);
|
|
466
|
+
P = k.fitProjection([...ends, [0, -70, -16], [0, 76, -16], [0, -DET.r, ZB + DET.r], [0, 0, ZB + DET.r], [-92, 76, -16], [92, -70, -16]], WIDTH, HEIGHT, { pad: 16, azimuth: 45, elevation: 30 });
|
|
467
|
+
V = k.viewOf(P);
|
|
468
|
+
K = k.cameraOf(P).k;
|
|
469
|
+
GAPS = gapsOf();
|
|
470
|
+
const items = [{ key: -1e6, svg: floor() }];
|
|
471
|
+
ELEMENTS.forEach((e) => {
|
|
472
|
+
const c = chord(e.s0, e.s1);
|
|
473
|
+
const key = depth(lerp3(c.a, c.b, 0.5));
|
|
474
|
+
if (e.kind === 'detector')
|
|
475
|
+
items.push({ key, svg: detector() });
|
|
476
|
+
else if (e.kind === 'plate')
|
|
477
|
+
items.push({ key, svg: plate(e) });
|
|
478
|
+
else if (e.kind === 'cavity')
|
|
479
|
+
items.push({ key, svg: cavity(e, CAVITIES.indexOf(Math.round((e.s0 + e.s1) / 2))) });
|
|
480
|
+
else
|
|
481
|
+
items.push({ key, svg: `<g class="pc-magnet" data-kind="${e.kind}">${magnet(e)}</g>` });
|
|
482
|
+
});
|
|
483
|
+
for (const g of GAPS) {
|
|
484
|
+
const pipes = g.beams
|
|
485
|
+
.map((b) => ({ ...b, key: depth(lerp3(b.a, b.b, 0.5)) }))
|
|
486
|
+
.sort((x, y) => x.key - y.key)
|
|
487
|
+
.map((b) => pipeSvg(b.a, b.b, g.id === 'detector-pipe' || k.len3(k.sub3(b.b, b.a)) < 9 ? 0 : 3) + `<g data-bunch="${g.id}|${b.beam}"></g>`)
|
|
488
|
+
.join('');
|
|
489
|
+
const mid = lerp3(g.beams[0].a, g.beams[0].b, 0.5);
|
|
490
|
+
// The pipe through the detector lies in the cut, so it paints after the detector body.
|
|
491
|
+
items.push({ key: g.id === 'detector-pipe' ? depth(mid) + 0.5 : depth(mid), svg: pipes });
|
|
492
|
+
}
|
|
493
|
+
items.push({ key: depth([0, 0, ZB]) + 1, svg: '<g class="pc-burst" data-burst=""></g>' });
|
|
494
|
+
const dipole = chord(124, 188);
|
|
495
|
+
items.push({ key: depth(lerp3(dipole.a, dipole.b, 0.5)) + 0.1, svg: gauge() });
|
|
496
|
+
ITEMS = items.sort((a, b) => a.key - b.key);
|
|
497
|
+
}
|
|
498
|
+
// ---- live slots ----------------------------------------------------------------
|
|
499
|
+
function capsule(a, b, w) {
|
|
500
|
+
const dx = b[0] - a[0];
|
|
501
|
+
const dy = b[1] - a[1];
|
|
502
|
+
const l = Math.hypot(dx, dy) || 1;
|
|
503
|
+
const nx = (-dy / l) * w;
|
|
504
|
+
const ny = (dx / l) * w;
|
|
505
|
+
const f = (v) => v.toFixed(1);
|
|
506
|
+
return `M${f(a[0] + nx)} ${f(a[1] + ny)}L${f(b[0] + nx)} ${f(b[1] + ny)}A${f(w)} ${f(w)} 0 0 1 ${f(b[0] - nx)} ${f(b[1] - ny)}L${f(a[0] - nx)} ${f(a[1] - ny)}A${f(w)} ${f(w)} 0 0 1 ${f(a[0] + nx)} ${f(a[1] + ny)}Z`;
|
|
507
|
+
}
|
|
508
|
+
/** The bunch marks on each visible pipe at time t, keyed by slot. */
|
|
509
|
+
function bunchSlots(params, t) {
|
|
510
|
+
const { one, two } = bunchesAt(params, t, -FLOOR_END, FLOOR_END);
|
|
511
|
+
const out = new Map();
|
|
512
|
+
for (const g of GAPS) {
|
|
513
|
+
for (const b of g.beams) {
|
|
514
|
+
const list = [];
|
|
515
|
+
if (b.beam !== 2)
|
|
516
|
+
for (const s of one)
|
|
517
|
+
list.push([s, 1]);
|
|
518
|
+
if (b.beam !== 1)
|
|
519
|
+
for (const s of two)
|
|
520
|
+
list.push([s, 2]);
|
|
521
|
+
const parts = [];
|
|
522
|
+
for (const [s, beam] of list) {
|
|
523
|
+
const lo = Math.max(g.s0, s - BUNCH_HALF);
|
|
524
|
+
const hi = Math.min(g.s1, s + BUNCH_HALF);
|
|
525
|
+
if (hi - lo < 0.3)
|
|
526
|
+
continue;
|
|
527
|
+
const pa = at(lerp3(b.a, b.b, (lo - g.s0) / (g.s1 - g.s0)));
|
|
528
|
+
const pb = at(lerp3(b.a, b.b, (hi - g.s0) / (g.s1 - g.s0)));
|
|
529
|
+
parts.push(`<path class="pc-bunch pc-glow" data-beam="${beam}" d="${capsule(pa, pb, 3.4 * K)}"/><path class="pc-bunch" data-beam="${beam}" d="${capsule(pa, pb, 1.7 * K)}"/>`);
|
|
530
|
+
}
|
|
531
|
+
out.set(`${g.id}|${b.beam}`, parts.join(''));
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
return out;
|
|
535
|
+
}
|
|
536
|
+
/** Which RF cavities a bunch is inside right now. */
|
|
537
|
+
function cavitiesOn(params, t) {
|
|
538
|
+
const { one, two } = bunchesAt(params, t, -200, -120);
|
|
539
|
+
const on = new Set();
|
|
540
|
+
CAVITIES.forEach((c, i) => {
|
|
541
|
+
if (one.some((s) => Math.abs(s - c) < BEAD + 1))
|
|
542
|
+
on.add(`1-${i}`);
|
|
543
|
+
if (two.some((s) => Math.abs(s - c) < BEAD + 1))
|
|
544
|
+
on.add(`2-${i}`);
|
|
545
|
+
});
|
|
546
|
+
return on;
|
|
547
|
+
}
|
|
548
|
+
/** A track: a helix seen in the cut quadrant, from the crossing point out to where it stops. */
|
|
549
|
+
function trackPoints(tr, upTo) {
|
|
550
|
+
const pts = [];
|
|
551
|
+
const steps = 18;
|
|
552
|
+
for (let i = 0; i <= steps; i++) {
|
|
553
|
+
const l = 1.2 + ((upTo - 1.2) * i) / steps;
|
|
554
|
+
const th = tr.angle + tr.curl * l;
|
|
555
|
+
const y = Math.abs(tr.curl) < 1e-6 ? l * Math.cos(tr.angle) : (Math.sin(th) - Math.sin(tr.angle)) / tr.curl;
|
|
556
|
+
const z = Math.abs(tr.curl) < 1e-6 ? l * Math.sin(tr.angle) : (Math.cos(tr.angle) - Math.cos(th)) / tr.curl;
|
|
557
|
+
pts.push([tr.slope * l, y, ZB + z]);
|
|
558
|
+
}
|
|
559
|
+
return pts;
|
|
560
|
+
}
|
|
561
|
+
function burstSvg(params, t) {
|
|
562
|
+
return burstsAt(params, t)
|
|
563
|
+
.map((b) => {
|
|
564
|
+
if (b.glow < 0.01)
|
|
565
|
+
return '';
|
|
566
|
+
const lines = [];
|
|
567
|
+
const heads = [];
|
|
568
|
+
const hits = [];
|
|
569
|
+
for (const tr of b.tracks) {
|
|
570
|
+
const upTo = Math.max(1.4, tr.reach * b.reach);
|
|
571
|
+
const pts = trackPoints(tr, upTo);
|
|
572
|
+
lines.push(k.pathOf(pts.map(at)));
|
|
573
|
+
heads.push(at(pts[pts.length - 1]));
|
|
574
|
+
for (const rr of SILICON)
|
|
575
|
+
if (rr < upTo - 0.5)
|
|
576
|
+
hits.push(at(trackPoints(tr, rr)[18]));
|
|
577
|
+
}
|
|
578
|
+
const flash = Math.max(0, 1 - b.age / 0.35);
|
|
579
|
+
return (`<g opacity="${b.glow.toFixed(2)}">` +
|
|
580
|
+
`<circle class="pc-flash" cx="${at([0, 0, ZB])[0].toFixed(1)}" cy="${at([0, 0, ZB])[1].toFixed(1)}" r="${(K * (1.3 + 1.5 * flash)).toFixed(2)}"/>` +
|
|
581
|
+
L(lines.join(''), { tone: 'lit', className: 'pc-track' }) +
|
|
582
|
+
D(hits, { size: 0.45, tone: 'hi' }) +
|
|
583
|
+
D(heads, { size: 0.85, tone: 'hi' }) +
|
|
584
|
+
`</g>`);
|
|
585
|
+
})
|
|
586
|
+
.join('');
|
|
587
|
+
}
|
|
588
|
+
// ---- svg -------------------------------------------------------------------------
|
|
589
|
+
export const COLLIDER_CSS = `
|
|
590
|
+
.pc-bunch[data-beam="1"]{fill:var(--iso-blue)}
|
|
591
|
+
.pc-bunch[data-beam="2"]{fill:var(--iso-red)}
|
|
592
|
+
.pc-bunch.pc-glow{opacity:.22}
|
|
593
|
+
.pc-flash{fill:var(--iso-lit);opacity:.9}
|
|
594
|
+
.pc-track{stroke-width:1}
|
|
595
|
+
.pc-layer{stroke:none;fill:var(--iso-shade-2)}
|
|
596
|
+
.pc-layer[data-l="tracker"]{fill:var(--iso-top)}
|
|
597
|
+
.pc-layer[data-l="ecal"]{fill:var(--iso-shade-3)}
|
|
598
|
+
.pc-layer[data-l="hcal"]{fill:var(--iso-shade-2)}
|
|
599
|
+
.pc-layer[data-l="solenoid"]{fill:var(--iso-lit-top)}
|
|
600
|
+
.pc-layer[data-l="yoke"]{fill:var(--iso-shade-0)}
|
|
601
|
+
.pc-layer[data-l="chamber"]{fill:var(--iso-shade-3)}
|
|
602
|
+
.pc-void{fill:var(--iso-shade-0)}
|
|
603
|
+
.pc-yoke{fill:var(--iso-shade-1)}
|
|
604
|
+
.pc-collar{fill:var(--iso-shade-3)}
|
|
605
|
+
.pc-coil{fill:var(--iso-top)}
|
|
606
|
+
.pc-cavity>.iso-edge{transition:stroke .25s}
|
|
607
|
+
.pc-cavity[data-on="1"]>.iso-edge{stroke:var(--iso-blue)}
|
|
608
|
+
.pc-cavity[data-on="2"]>.iso-edge{stroke:var(--iso-red)}
|
|
609
|
+
.iso-halo.pc-shadow{filter:blur(2.5px);opacity:calc(var(--iso-halo-opacity) * .5);transform:none}
|
|
610
|
+
.iso-halo.pc-shadow[data-far]{filter:blur(4px);opacity:calc(var(--iso-halo-opacity) * .3)}
|
|
611
|
+
@media (prefers-reduced-motion:reduce){.pc-cavity>.iso-edge{transition:none}}
|
|
612
|
+
`;
|
|
613
|
+
export const LABEL = 'A cutaway piece of a circular particle collider: twin beam pipes through dipole and quadrupole magnets and radio-frequency cavities, and a detector where the two beams cross.';
|
|
614
|
+
/** The whole figure at time t as an SVG string, framed to everything it draws. */
|
|
615
|
+
export function colliderSvg(params = clampParams(), t = stillTime(), standalone = false) {
|
|
616
|
+
return framed(rawSvg(params, t, standalone), frame());
|
|
617
|
+
}
|
|
618
|
+
function rawSvg(params, t, standalone) {
|
|
619
|
+
ready();
|
|
620
|
+
let body = ITEMS.map((i) => i.svg).join('');
|
|
621
|
+
for (const [slot, svg] of bunchSlots(params, t))
|
|
622
|
+
body = body.replace(`data-bunch="${slot}"></g>`, `data-bunch="${slot}">${svg}</g>`);
|
|
623
|
+
body = body.replace('data-burst=""></g>', `data-burst="">${burstSvg(params, t)}</g>`);
|
|
624
|
+
body = body.replace('data-needle=""', `data-needle="" d="${needlePath(fieldOf(params))}"`);
|
|
625
|
+
for (const id of cavitiesOn(params, t))
|
|
626
|
+
body = body.replace(`data-cavity="${id}"`, `data-cavity="${id}" data-on="${id[0]}"`);
|
|
627
|
+
const svg = k.figureSvg({ width: WIDTH, height: HEIGHT, label: LABEL, body, standalone });
|
|
628
|
+
return standalone ? svg.replace('</style>', `${COLLIDER_CSS}</style>`).replace('class="iso-svg iso"', 'class="iso-svg iso" data-figure-host="particle-collider"') : svg;
|
|
629
|
+
}
|
|
630
|
+
let FRAME = null;
|
|
631
|
+
/** The viewBox: the drawing with a burst at full reach, plus the pins. */
|
|
632
|
+
function frame() {
|
|
633
|
+
if (FRAME)
|
|
634
|
+
return FRAME;
|
|
635
|
+
ready();
|
|
636
|
+
const p = clampParams({ energy: 7, rate: 40 });
|
|
637
|
+
FRAME = frameOf([0.3, 0.6].map((t) => rawSvg(p, t, false)), anchorPoints().map(([, , pt]) => at(pt)));
|
|
638
|
+
return FRAME;
|
|
639
|
+
}
|
|
640
|
+
export function anchorsOf() {
|
|
641
|
+
return anchorPoints().map(([id, label, p]) => ({ id, label, ...percentIn(frame(), at(p)) }));
|
|
642
|
+
}
|
|
643
|
+
function anchorPoints() {
|
|
644
|
+
ready();
|
|
645
|
+
const top = (s0, s1, r, f = 0.5) => {
|
|
646
|
+
const c = chord(s0, s1);
|
|
647
|
+
return k.add3(lerp3(c.a, c.b, f), [0, 0, r]);
|
|
648
|
+
};
|
|
649
|
+
const cut = chord(228, 282);
|
|
650
|
+
const capPoint = (r, a) => k.pointOf(DF, DET.half, r * Math.cos(a), r * Math.sin(a));
|
|
651
|
+
return [
|
|
652
|
+
['collision-point', 'Collision point', [16, 3, ZB]],
|
|
653
|
+
['detector', 'Detector', [-20, DET.r * Math.cos(2.05), ZB + DET.r * Math.sin(2.05)]],
|
|
654
|
+
['tracker', 'Tracker', [-48, 0, ZB + 9.5]],
|
|
655
|
+
['ecal', 'Electromagnetic calorimeter', [-14, 0, ZB + 20.5]],
|
|
656
|
+
['hcal', 'Hadron calorimeter', [26, 0, ZB + 29]],
|
|
657
|
+
['solenoid', 'Solenoid magnet', capPoint(36, (258 * Math.PI) / 180)],
|
|
658
|
+
['muon-chambers', 'Muon chambers', capPoint(51.75, (300 * Math.PI) / 180)],
|
|
659
|
+
['beam-pipes', 'Beam pipes', boreAt(chord(112, 124), 'a', 2).map((v, i) => (i === 2 ? v + PIPE_R : v))],
|
|
660
|
+
['dipole', 'Dipole magnet', top(124, 188, 15, 0.4)],
|
|
661
|
+
['quadrupole', 'Quadrupole magnet', top(198, 218, 13.4)],
|
|
662
|
+
['final-focus', 'Final focus magnets', top(66, 88, 10.9)],
|
|
663
|
+
['separation-magnet', 'Separation magnet', top(96, 112, 10)],
|
|
664
|
+
['rf-cavities', 'RF cavities', top(CAVITIES[2] - IRIS, CAVITIES[2] + IRIS, 14.2)],
|
|
665
|
+
['magnet-coils', 'Superconducting coils', k.pointOf(cut.F, cut.len, SEP, 3.7)],
|
|
666
|
+
['field-gauge', 'Field gauge', onDial(0, 0, 1.7)]
|
|
667
|
+
];
|
|
668
|
+
}
|
|
669
|
+
const STYLE_ID = 'ripple-iso-collider-css';
|
|
670
|
+
export function mount(el, { theme = 'dark', params: initial, onReadout } = {}) {
|
|
671
|
+
const doc = el.ownerDocument;
|
|
672
|
+
if (!doc.getElementById(STYLE_ID)) {
|
|
673
|
+
const style = doc.createElement('style');
|
|
674
|
+
style.id = STYLE_ID;
|
|
675
|
+
style.textContent = k.ISO_CSS + COLLIDER_CSS;
|
|
676
|
+
doc.head.appendChild(style);
|
|
677
|
+
}
|
|
678
|
+
let params = clampParams(initial);
|
|
679
|
+
const win = doc.defaultView;
|
|
680
|
+
const still = win?.matchMedia?.('(prefers-reduced-motion: reduce)');
|
|
681
|
+
let t = stillTime();
|
|
682
|
+
const svg = doc.importNode(new DOMParser().parseFromString(colliderSvg(params, t), 'image/svg+xml').documentElement, true);
|
|
683
|
+
el.classList.add('iso');
|
|
684
|
+
el.dataset.figureHost = 'particle-collider';
|
|
685
|
+
el.dataset.theme = theme;
|
|
686
|
+
el.replaceChildren(svg);
|
|
687
|
+
const slots = new Map();
|
|
688
|
+
for (const g of svg.querySelectorAll('[data-bunch]'))
|
|
689
|
+
slots.set(g.dataset.bunch, g);
|
|
690
|
+
const burst = svg.querySelector('[data-burst]');
|
|
691
|
+
const needle = svg.querySelector('[data-needle]');
|
|
692
|
+
const cavities = [...svg.querySelectorAll('[data-cavity]')];
|
|
693
|
+
const shown = new Map();
|
|
694
|
+
let lastKey = '';
|
|
695
|
+
let parked = false;
|
|
696
|
+
function draw() {
|
|
697
|
+
for (const [id, html] of bunchSlots(params, t)) {
|
|
698
|
+
if (shown.get(id) === html)
|
|
699
|
+
continue;
|
|
700
|
+
shown.set(id, html);
|
|
701
|
+
const g = slots.get(id);
|
|
702
|
+
if (g)
|
|
703
|
+
g.innerHTML = html;
|
|
704
|
+
}
|
|
705
|
+
if (burst)
|
|
706
|
+
burst.innerHTML = burstSvg(params, t);
|
|
707
|
+
const on = cavitiesOn(params, t);
|
|
708
|
+
for (const g of cavities) {
|
|
709
|
+
const id = g.dataset.cavity;
|
|
710
|
+
if (on.has(id))
|
|
711
|
+
g.dataset.on = id[0];
|
|
712
|
+
else
|
|
713
|
+
delete g.dataset.on;
|
|
714
|
+
}
|
|
715
|
+
const readouts = readoutsOf(params);
|
|
716
|
+
const key = JSON.stringify(readouts);
|
|
717
|
+
if (key !== lastKey) {
|
|
718
|
+
lastKey = key;
|
|
719
|
+
needle?.setAttribute('d', needlePath(fieldOf(params)));
|
|
720
|
+
onReadout?.(readouts);
|
|
721
|
+
svg.setAttribute('aria-label', describe(params));
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
let frameId = 0;
|
|
725
|
+
let last = 0;
|
|
726
|
+
let visible = true;
|
|
727
|
+
const loop = (now) => {
|
|
728
|
+
const dt = last ? Math.min((now - last) / 1000, 1 / 20) : 1 / 60;
|
|
729
|
+
last = now;
|
|
730
|
+
t += dt;
|
|
731
|
+
draw();
|
|
732
|
+
frameId = win.requestAnimationFrame(loop);
|
|
733
|
+
};
|
|
734
|
+
const stop = () => {
|
|
735
|
+
if (frameId)
|
|
736
|
+
win?.cancelAnimationFrame(frameId);
|
|
737
|
+
frameId = 0;
|
|
738
|
+
};
|
|
739
|
+
const run = () => {
|
|
740
|
+
if (frameId || parked || !visible || doc.hidden || still?.matches || !win?.requestAnimationFrame)
|
|
741
|
+
return;
|
|
742
|
+
last = 0;
|
|
743
|
+
frameId = win.requestAnimationFrame(loop);
|
|
744
|
+
};
|
|
745
|
+
const sync = () => (visible && !doc.hidden && !still?.matches && !parked ? run() : stop());
|
|
746
|
+
const io = win && 'IntersectionObserver' in win ? new win.IntersectionObserver((entries) => ((visible = entries[entries.length - 1].isIntersecting), sync())) : null;
|
|
747
|
+
io?.observe(el);
|
|
748
|
+
doc.addEventListener('visibilitychange', sync);
|
|
749
|
+
const onStill = () => {
|
|
750
|
+
if (still?.matches)
|
|
751
|
+
t = stillTime();
|
|
752
|
+
draw();
|
|
753
|
+
sync();
|
|
754
|
+
};
|
|
755
|
+
still?.addEventListener?.('change', onStill);
|
|
756
|
+
draw();
|
|
757
|
+
run();
|
|
758
|
+
return {
|
|
759
|
+
update(next) {
|
|
760
|
+
params = clampParams({ ...params, ...next });
|
|
761
|
+
if (still?.matches)
|
|
762
|
+
t = stillTime();
|
|
763
|
+
draw();
|
|
764
|
+
},
|
|
765
|
+
setTheme(next) {
|
|
766
|
+
el.dataset.theme = next;
|
|
767
|
+
},
|
|
768
|
+
seek(time) {
|
|
769
|
+
parked = true;
|
|
770
|
+
stop();
|
|
771
|
+
t = time;
|
|
772
|
+
draw();
|
|
773
|
+
},
|
|
774
|
+
destroy() {
|
|
775
|
+
stop();
|
|
776
|
+
io?.disconnect();
|
|
777
|
+
doc.removeEventListener('visibilitychange', sync);
|
|
778
|
+
still?.removeEventListener?.('change', onStill);
|
|
779
|
+
el.replaceChildren();
|
|
780
|
+
}
|
|
781
|
+
};
|
|
782
|
+
}
|