@bysages/svelte 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion-ChCzhYPl.mjs +147 -0
- package/dist/AngleSlider-_DsaxreA.mjs +167 -0
- package/dist/{avatar-LR0CZ1Iz.mjs → Avatar-RTIHq1px.mjs} +7 -9
- package/dist/Carousel-BbMJNLY3.mjs +171 -0
- package/dist/Checkbox-BlbCL1T1.mjs +126 -0
- package/dist/ChevronIcon-BrLZJ0NH.mjs +10 -0
- package/dist/Clipboard-BUeJPGSX.mjs +116 -0
- package/dist/Collapsible-DJ8B-4w0.mjs +121 -0
- package/dist/ColorPicker-BHj_4m8H.mjs +248 -0
- package/dist/Combobox-CI0zJOm_.mjs +259 -0
- package/dist/DateInput-CYNt1ltj.mjs +154 -0
- package/dist/DatePicker-B8AQBgUp.mjs +346 -0
- package/dist/Dialog-DOxZ3eye.mjs +178 -0
- package/dist/Drawer-qpsQNpLj.mjs +178 -0
- package/dist/Editable-Die4QZWo.mjs +176 -0
- package/dist/Field-CO2VK0f_.mjs +143 -0
- package/dist/Fieldset-DMp5m8vW.mjs +118 -0
- package/dist/FileUpload-DZE4CRxe.mjs +232 -0
- package/dist/FloatingPanel-B5-5flGu.mjs +253 -0
- package/dist/HoverCard-CzkvDJbI.mjs +154 -0
- package/dist/ImageCropper-CC9AyFBi.mjs +155 -0
- package/dist/ImageViewer-DEMg26LY.mjs +294 -0
- package/dist/InternalIcon-Clwbj4MY.mjs +19 -0
- package/dist/JsonTreeViewTree-DPRObG7r.mjs +160 -0
- package/dist/Listbox-BcF6Uk8j.mjs +189 -0
- package/dist/Marquee-DWGGrLlz.mjs +123 -0
- package/dist/Menu-bJv3fB0Z.mjs +200 -0
- package/dist/{menubar-2MPo9w5z.mjs → Menubar-D-UDLqtm.mjs} +2 -12
- package/dist/NavigationMenu-CgC0GMdq.mjs +158 -0
- package/dist/NumberInput-OX9IP5KS.mjs +174 -0
- package/dist/Pagination-D6vDzhVj.mjs +180 -0
- package/dist/PasswordInput-CKUqwouu.mjs +167 -0
- package/dist/PinInput-Ey0sJSwB.mjs +142 -0
- package/dist/Popover-Ct9y-0D-.mjs +231 -0
- package/dist/Progress-nBx2pMFh.mjs +115 -0
- package/dist/QrCode-C3gAYPIv.mjs +100 -0
- package/dist/RadioGroup-Czoicfnb.mjs +161 -0
- package/dist/RatingGroup-Bkliw7CU.mjs +157 -0
- package/dist/ScrollArea-BtAH_cdM.mjs +115 -0
- package/dist/SegmentGroup-BnHGitgF.mjs +158 -0
- package/dist/Select-CnNtViJ4.mjs +263 -0
- package/dist/SignaturePad-DBM5JNGh.mjs +170 -0
- package/dist/Slider-B-_5UxAX.mjs +166 -0
- package/dist/Splitter-lP3ibWns.mjs +146 -0
- package/dist/StepsItem-DT1XQX0x.mjs +174 -0
- package/dist/Swap-De-Zlnr6.mjs +130 -0
- package/dist/Switch-CJ-yBZVQ.mjs +133 -0
- package/dist/Tabs-V6R7R-F8.mjs +146 -0
- package/dist/TagsInput-CPbGeQZd.mjs +231 -0
- package/dist/Timer-CQJIx4Y0.mjs +141 -0
- package/dist/Toast-UTFPPLb1.mjs +129 -0
- package/dist/TocContent-DYks7TeI.mjs +207 -0
- package/dist/Toggle-fuL8Qi6H.mjs +101 -0
- package/dist/ToggleGroup-BB8BqcLo.mjs +142 -0
- package/dist/Tooltip-D-uRFl6m.mjs +194 -0
- package/dist/TreeViewNodeCheckbox-DbJ2jfGV.mjs +292 -0
- package/dist/{affix-BtL4lBPi.mjs → affix-Cog56FQH.mjs} +4 -3
- package/dist/{ai-action-DKsvxilp.mjs → ai-action-DziA_BN_.mjs} +3 -2
- package/dist/{ai-attachments-C0YVIKUc.mjs → ai-attachments-BalNjKhf.mjs} +22 -23
- package/dist/{ai-message-DBs1fdFm.mjs → ai-message-aIyT-RXH.mjs} +2 -1
- package/dist/{ai-prompt-input-vh89e9EX.mjs → ai-prompt-input-jB3RQ9Q8.mjs} +28 -25
- package/dist/{ai-reasoning-C4YsB2hQ.mjs → ai-reasoning-CQx7rye9.mjs} +3 -2
- package/dist/{ai-response-BPQPjMlC.mjs → ai-response-D_eFsV6G.mjs} +14 -6
- package/dist/{ai-source-CvglcFw1.mjs → ai-source-B9ZfhWOl.mjs} +3 -2
- package/dist/{ai-suggestion-zGAQ1kkf.mjs → ai-suggestion-CrZ5Ol4-.mjs} +3 -2
- package/dist/{ai-tool-DY_iNbMk.mjs → ai-tool-0vdpM2Aq.mjs} +3 -2
- package/dist/{alert-Xp8I8IY9.mjs → alert-D9oBDEBE.mjs} +15 -12
- package/dist/{aspect-ratio-COOgu44A.mjs → aspect-ratio-Ca2csfG1.mjs} +2 -1
- package/dist/{autocomplete-Dhuhqp-6.mjs → autocomplete-CS7ZVq_o.mjs} +8 -3
- package/dist/{avatar-group-BgIxNuVj.mjs → avatar-group-BnyaymLu.mjs} +2 -1
- package/dist/{back-top-rbP0aP47.mjs → back-top-DNwTF40O.mjs} +7 -7
- package/dist/{badge-DKa-8Pv0.mjs → badge-BFZgNgbw.mjs} +2 -1
- package/dist/{banner-Bj3FFB-O.mjs → banner-Ko97JhS3.mjs} +5 -1
- package/dist/{block-ui-CxsMoEoa.mjs → block-ui-DTG19xuY.mjs} +2 -1
- package/dist/{browser-gmPTH6mJ.mjs → browser-Dlqvffp6.mjs} +1 -0
- package/dist/{button-BCcX7lHq.mjs → button-CghWQD3J.mjs} +2 -1
- package/dist/{button-group-CVLqPMlR.mjs → button-group-BV7Ces1o.mjs} +2 -1
- package/dist/{calendar-BMXmRdwJ.mjs → calendar-BXWvgkjq.mjs} +99 -101
- package/dist/{cascade-select-CfvWchiN.mjs → cascade-select-CKStvgjR.mjs} +30 -19
- package/dist/checkbox-group-Bu27PIve.mjs +143 -0
- package/dist/{chip-mjLlbQ2t.mjs → chip-CZAgD6LS.mjs} +2 -1
- package/dist/{command-CZRC1T-6.mjs → command-CJ6jk-9b.mjs} +3 -2
- package/dist/{comment-C91xgrtK.mjs → comment-DM1fOXro.mjs} +2 -1
- package/dist/components/accordion/index.d.mts +4 -1
- package/dist/components/accordion/index.mjs +6 -3
- package/dist/components/affix/index.d.mts +1 -1
- package/dist/components/affix/index.mjs +1 -1
- package/dist/components/ai/index.d.mts +2 -2
- package/dist/components/ai/index.mjs +9 -8
- package/dist/components/ai-action/index.d.mts +3 -1
- package/dist/components/ai-action/index.mjs +1 -1
- package/dist/components/ai-attachments/index.d.mts +1 -1
- package/dist/components/ai-attachments/index.mjs +1 -1
- package/dist/components/ai-message/index.d.mts +3 -1
- package/dist/components/ai-message/index.mjs +1 -1
- package/dist/components/ai-prompt-input/index.d.mts +4 -2
- package/dist/components/ai-prompt-input/index.mjs +1 -1
- package/dist/components/ai-reasoning/index.d.mts +3 -1
- package/dist/components/ai-reasoning/index.mjs +1 -1
- package/dist/components/ai-response/index.d.mts +3 -1
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-source/index.d.mts +6 -2
- package/dist/components/ai-source/index.mjs +1 -1
- package/dist/components/ai-suggestion/index.d.mts +3 -1
- package/dist/components/ai-suggestion/index.mjs +1 -1
- package/dist/components/ai-tool/index.d.mts +3 -1
- package/dist/components/ai-tool/index.mjs +1 -1
- package/dist/components/alert/index.mjs +1 -1
- package/dist/components/angle-slider/index.d.mts +2 -2
- package/dist/components/angle-slider/index.mjs +4 -3
- package/dist/components/aspect-ratio/index.d.mts +1 -1
- package/dist/components/aspect-ratio/index.mjs +1 -1
- package/dist/components/autocomplete/index.d.mts +1 -1
- package/dist/components/autocomplete/index.mjs +1 -1
- package/dist/components/avatar/index.d.mts +12 -2
- package/dist/components/avatar/index.mjs +14 -1
- package/dist/components/avatar-group/index.d.mts +1 -1
- package/dist/components/avatar-group/index.mjs +1 -1
- package/dist/components/back-top/index.d.mts +1 -1
- package/dist/components/back-top/index.mjs +1 -1
- package/dist/components/badge/index.d.mts +1 -1
- package/dist/components/badge/index.mjs +1 -1
- package/dist/components/banner/index.mjs +1 -1
- package/dist/components/block-ui/index.d.mts +1 -1
- package/dist/components/block-ui/index.mjs +1 -1
- package/dist/components/browser/index.d.mts +1 -0
- package/dist/components/browser/index.mjs +1 -1
- package/dist/components/button/index.d.mts +1 -1
- package/dist/components/button/index.mjs +1 -1
- package/dist/components/button-group/index.d.mts +1 -1
- package/dist/components/button-group/index.mjs +1 -1
- package/dist/components/calendar/index.d.mts +1 -1
- package/dist/components/calendar/index.mjs +1 -1
- package/dist/components/carousel/index.d.mts +4 -1
- package/dist/components/carousel/index.mjs +6 -3
- package/dist/components/cascade-select/index.d.mts +1 -1
- package/dist/components/cascade-select/index.mjs +1 -1
- package/dist/components/checkbox/index.d.mts +2 -2
- package/dist/components/checkbox/index.mjs +4 -3
- package/dist/components/checkbox-group/index.d.mts +1 -1
- package/dist/components/checkbox-group/index.mjs +1 -1
- package/dist/components/chip/index.d.mts +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/client-only/index.d.mts +7 -2
- package/dist/components/client-only/index.mjs +8 -1
- package/dist/components/clipboard/index.d.mts +1 -1
- package/dist/components/clipboard/index.mjs +4 -3
- package/dist/components/collapsible/index.d.mts +4 -1
- package/dist/components/collapsible/index.mjs +6 -3
- package/dist/components/color-picker/index.d.mts +2 -2
- package/dist/components/color-picker/index.mjs +4 -3
- package/dist/components/combobox/index.d.mts +2 -2
- package/dist/components/combobox/index.mjs +4 -3
- package/dist/components/command/index.d.mts +1 -1
- package/dist/components/command/index.mjs +1 -1
- package/dist/components/comment/index.d.mts +1 -1
- package/dist/components/comment/index.mjs +1 -1
- package/dist/components/config-provider/index.d.mts +1 -1
- package/dist/components/config-provider/index.mjs +1 -1
- package/dist/components/container/index.d.mts +1 -1
- package/dist/components/container/index.mjs +1 -1
- package/dist/components/data-view/index.d.mts +1 -1
- package/dist/components/data-view/index.mjs +1 -1
- package/dist/components/date-input/index.d.mts +2 -2
- package/dist/components/date-input/index.mjs +4 -3
- package/dist/components/date-picker/index.d.mts +2 -2
- package/dist/components/date-picker/index.mjs +4 -3
- package/dist/components/deferred-content/index.d.mts +1 -1
- package/dist/components/deferred-content/index.mjs +1 -1
- package/dist/components/descriptions/index.d.mts +1 -1
- package/dist/components/descriptions/index.mjs +1 -1
- package/dist/components/dialog/index.d.mts +4 -1
- package/dist/components/dialog/index.mjs +6 -3
- package/dist/components/download-trigger/index.d.mts +13 -2
- package/dist/components/download-trigger/index.mjs +8 -1
- package/dist/components/drawer/index.d.mts +4 -1
- package/dist/components/drawer/index.mjs +6 -3
- package/dist/components/dynamic-input/index.d.mts +1 -1
- package/dist/components/dynamic-input/index.mjs +1 -1
- package/dist/components/editable/index.d.mts +2 -2
- package/dist/components/editable/index.mjs +4 -3
- package/dist/components/ellipsis/index.d.mts +1 -1
- package/dist/components/ellipsis/index.mjs +1 -1
- package/dist/components/field/index.d.mts +4 -1
- package/dist/components/field/index.mjs +6 -3
- package/dist/components/fieldset/index.d.mts +4 -1
- package/dist/components/fieldset/index.mjs +6 -3
- package/dist/components/file-upload/index.d.mts +2 -2
- package/dist/components/file-upload/index.mjs +4 -3
- package/dist/components/float-button/index.mjs +1 -1
- package/dist/components/floating-panel/index.d.mts +4 -1
- package/dist/components/floating-panel/index.mjs +6 -3
- package/dist/components/focus-trap/index.d.mts +7 -2
- package/dist/components/focus-trap/index.mjs +8 -1
- package/dist/components/form/index.d.mts +1 -1
- package/dist/components/form/index.mjs +1 -1
- package/dist/components/frame/index.d.mts +3 -1
- package/dist/components/frame/index.mjs +2 -1
- package/dist/components/grid/index.d.mts +1 -1
- package/dist/components/grid/index.mjs +1 -1
- package/dist/components/highlight/index.d.mts +3 -1
- package/dist/components/highlight/index.mjs +2 -1
- package/dist/components/hover-card/index.d.mts +4 -1
- package/dist/components/hover-card/index.mjs +6 -3
- package/dist/components/icon/index.d.mts +1 -1
- package/dist/components/icon/index.mjs +1 -1
- package/dist/components/image/index.d.mts +1 -1
- package/dist/components/image/index.mjs +1 -1
- package/dist/components/image-cropper/index.d.mts +4 -1
- package/dist/components/image-cropper/index.mjs +6 -3
- package/dist/components/image-viewer/index.d.mts +2 -2
- package/dist/components/image-viewer/index.mjs +12 -1
- package/dist/components/input/index.d.mts +1 -1
- package/dist/components/input/index.mjs +2 -1
- package/dist/components/json-tree-view/index.d.mts +6 -2
- package/dist/components/json-tree-view/index.mjs +6 -6
- package/dist/components/kbd/index.d.mts +1 -1
- package/dist/components/kbd/index.mjs +1 -1
- package/dist/components/layout/index.mjs +1 -1
- package/dist/components/link/index.d.mts +1 -1
- package/dist/components/link/index.mjs +1 -1
- package/dist/components/listbox/index.d.mts +1 -1
- package/dist/components/listbox/index.mjs +4 -3
- package/dist/components/marquee/index.d.mts +4 -1
- package/dist/components/marquee/index.mjs +6 -3
- package/dist/components/masonry/index.d.mts +1 -1
- package/dist/components/masonry/index.mjs +1 -1
- package/dist/components/media-player/index.d.mts +3 -0
- package/dist/components/media-player/index.mjs +3 -0
- package/dist/components/mentions/index.d.mts +1 -1
- package/dist/components/mentions/index.mjs +1 -1
- package/dist/components/menu/index.d.mts +2 -2
- package/dist/components/menu/index.mjs +4 -3
- package/dist/components/menubar/index.d.mts +1 -1
- package/dist/components/menubar/index.mjs +13 -1
- package/dist/components/navigation-menu/index.d.mts +6 -2
- package/dist/components/navigation-menu/index.mjs +8 -4
- package/dist/components/number-input/index.d.mts +2 -2
- package/dist/components/number-input/index.mjs +4 -3
- package/dist/components/order-list/index.d.mts +1 -1
- package/dist/components/order-list/index.mjs +1 -1
- package/dist/components/pagination/index.d.mts +2 -2
- package/dist/components/pagination/index.mjs +4 -3
- package/dist/components/password-input/index.d.mts +2 -2
- package/dist/components/password-input/index.mjs +4 -3
- package/dist/components/pin-input/index.d.mts +2 -2
- package/dist/components/pin-input/index.mjs +4 -3
- package/dist/components/popconfirm/index.d.mts +1 -1
- package/dist/components/popconfirm/index.mjs +1 -1
- package/dist/components/popover/index.d.mts +4 -1
- package/dist/components/popover/index.mjs +6 -3
- package/dist/components/presence/index.d.mts +8 -2
- package/dist/components/presence/index.mjs +9 -1
- package/dist/components/progress/index.d.mts +2 -2
- package/dist/components/progress/index.mjs +4 -3
- package/dist/components/progress-group/index.d.mts +1 -1
- package/dist/components/progress-group/index.mjs +1 -1
- package/dist/components/qr-code/index.d.mts +4 -1
- package/dist/components/qr-code/index.mjs +6 -3
- package/dist/components/radio-group/index.d.mts +2 -2
- package/dist/components/radio-group/index.mjs +4 -3
- package/dist/components/rating-group/index.d.mts +2 -2
- package/dist/components/rating-group/index.mjs +5 -4
- package/dist/components/result/index.d.mts +3 -0
- package/dist/components/result/index.mjs +1 -1
- package/dist/components/scroll-area/index.d.mts +4 -1
- package/dist/components/scroll-area/index.mjs +6 -3
- package/dist/components/segment-group/index.d.mts +2 -2
- package/dist/components/segment-group/index.mjs +4 -3
- package/dist/components/select/index.d.mts +1 -1
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/separator/index.d.mts +1 -1
- package/dist/components/separator/index.mjs +1 -1
- package/dist/components/signature-pad/index.d.mts +4 -1
- package/dist/components/signature-pad/index.mjs +6 -3
- package/dist/components/skeleton/index.d.mts +1 -1
- package/dist/components/skeleton/index.mjs +1 -1
- package/dist/components/slider/index.d.mts +2 -2
- package/dist/components/slider/index.mjs +4 -3
- package/dist/components/spinner/index.d.mts +1 -1
- package/dist/components/spinner/index.mjs +2 -1
- package/dist/components/split-button/index.d.mts +1 -1
- package/dist/components/split-button/index.mjs +1 -1
- package/dist/components/splitter/index.d.mts +4 -1
- package/dist/components/splitter/index.mjs +6 -3
- package/dist/components/spotlight/index.d.mts +1 -1
- package/dist/components/spotlight/index.mjs +1 -1
- package/dist/components/stack/index.d.mts +1 -1
- package/dist/components/stack/index.mjs +1 -1
- package/dist/components/steps/index.d.mts +2 -2
- package/dist/components/steps/index.mjs +4 -3
- package/dist/components/swap/index.d.mts +8 -5
- package/dist/components/swap/index.mjs +10 -5
- package/dist/components/switch/index.d.mts +2 -2
- package/dist/components/switch/index.mjs +4 -3
- package/dist/components/table/index.d.mts +1 -1
- package/dist/components/table/index.mjs +1 -1
- package/dist/components/tabs/index.d.mts +2 -2
- package/dist/components/tabs/index.mjs +4 -3
- package/dist/components/tags-input/index.d.mts +2 -2
- package/dist/components/tags-input/index.mjs +4 -3
- package/dist/components/terminal/index.d.mts +1 -1
- package/dist/components/terminal/index.mjs +1 -1
- package/dist/components/textarea/index.d.mts +1 -1
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/timer/index.d.mts +4 -1
- package/dist/components/timer/index.mjs +6 -3
- package/dist/components/toast/index.d.mts +7 -2
- package/dist/components/toast/index.mjs +7 -4
- package/dist/components/toc/index.d.mts +5 -3
- package/dist/components/toc/index.mjs +8 -7
- package/dist/components/toggle/index.d.mts +4 -1
- package/dist/components/toggle/index.mjs +6 -3
- package/dist/components/toggle-group/index.d.mts +2 -2
- package/dist/components/toggle-group/index.mjs +4 -3
- package/dist/components/toolbar/index.d.mts +1 -1
- package/dist/components/toolbar/index.mjs +1 -1
- package/dist/components/tooltip/index.d.mts +4 -1
- package/dist/components/tooltip/index.mjs +6 -3
- package/dist/components/tour/index.d.mts +10 -8
- package/dist/components/tour/index.mjs +12 -8
- package/dist/components/transfer/index.d.mts +1 -1
- package/dist/components/transfer/index.mjs +1 -1
- package/dist/components/tree-select/index.d.mts +1 -1
- package/dist/components/tree-select/index.mjs +1 -1
- package/dist/components/tree-view/index.d.mts +1 -1
- package/dist/components/tree-view/index.mjs +4 -3
- package/dist/components/typography/index.d.mts +1 -1
- package/dist/components/typography/index.mjs +1 -1
- package/dist/components/user/index.d.mts +1 -1
- package/dist/components/user/index.mjs +1 -1
- package/dist/components/virtual-list/index.d.mts +1 -1
- package/dist/components/virtual-list/index.mjs +1 -1
- package/dist/components/watermark/index.d.mts +1 -1
- package/dist/components/watermark/index.mjs +1 -1
- package/dist/{config-provider-CZJyd3MX.mjs → config-provider-Ca8wCLcK.mjs} +2 -1
- package/dist/{container-Cmiu_3W5.mjs → container-ZF0UMlIJ.mjs} +2 -1
- package/dist/{data-view-BORK23XZ.mjs → data-view-B3cJiuVC.mjs} +2 -1
- package/dist/{deferred-content-CO9YsKMQ.mjs → deferred-content-BYDuJ6NQ.mjs} +2 -1
- package/dist/{descriptions-DgkA_9B-.mjs → descriptions-BeZtDMzt.mjs} +90 -43
- package/dist/{dynamic-input-D1a-5vy-.mjs → dynamic-input-Bt1CeSq4.mjs} +9 -9
- package/dist/{ellipsis-CLaZ9Grh.mjs → ellipsis-CPs9IHbU.mjs} +2 -1
- package/dist/family-CzLaku1F.mjs +12 -0
- package/dist/{float-button-BLIHnw2u.mjs → float-button-B6J8RQMu.mjs} +15 -7
- package/dist/{form-BTL9S1gn.mjs → form-CCjPDJmO.mjs} +77 -97
- package/dist/{grid-DNgTWYSL.mjs → grid-ClJBYO96.mjs} +2 -1
- package/dist/{icon-D7AeDq0M.mjs → icon-DmeRO0e6.mjs} +10 -7
- package/dist/icon-lWVQxDG6.mjs +18 -0
- package/dist/id-Alz497yI.mjs +7 -0
- package/dist/{image-u_H4LtAC.mjs → image-BngY6J6J.mjs} +12 -9
- package/dist/{index-KxuOZGfm.d.mts → index-0aDSXVgl.d.mts} +2 -2
- package/dist/{index-KoqiUxmN.d.mts → index-3TmqYBnT.d.mts} +3 -1
- package/dist/index-9GiGGnGa.d.mts +136 -0
- package/dist/{index-ZUvVz2Fd.d.mts → index-BFKqgbq-.d.mts} +3 -1
- package/dist/index-BH-LkvzT.d.mts +35 -0
- package/dist/{index-CY4EuxyF.d.mts → index-BIHw8Gzt.d.mts} +3 -1
- package/dist/{index-DGOBhwXN.d.mts → index-BKZC0MtK.d.mts} +3 -1
- package/dist/{index-zZy5ZnA5.d.mts → index-BhTdJwBA.d.mts} +3 -1
- package/dist/{index-0k-VxNRm.d.mts → index-BhXsxcRN.d.mts} +5 -1
- package/dist/{index-BIIMyeLK.d.mts → index-BiwW7REL.d.mts} +3 -1
- package/dist/{index-k0ac5WNj.d.mts → index-ByxBpSC4.d.mts} +3 -1
- package/dist/{index-D1tQgtT0.d.mts → index-C-sa4baY.d.mts} +5 -3
- package/dist/{index-D_cE3qK2.d.mts → index-C-wU4kAX.d.mts} +3 -1
- package/dist/{index-D88v0BF1.d.mts → index-C0b8N_Aa.d.mts} +3 -1
- package/dist/{index-D9UBDdoA.d.mts → index-C5hCBtt4.d.mts} +3 -1
- package/dist/{index-CaVBzPln.d.mts → index-C6UrUbj8.d.mts} +3 -1
- package/dist/{index-BJvo4qep.d.mts → index-CBB8fpMT.d.mts} +2 -2
- package/dist/{index-C84DUNp9.d.mts → index-CC_yY588.d.mts} +3 -1
- package/dist/{index-Dy335EhR.d.mts → index-CI4acsws.d.mts} +2 -2
- package/dist/{index-DOcn6bMd.d.mts → index-CKaCfx0p.d.mts} +3 -1
- package/dist/{index-D1U7Svy2.d.mts → index-CMVb7mmq.d.mts} +6 -2
- package/dist/{index-BTndXl0q.d.mts → index-COWyuYkn.d.mts} +3 -1
- package/dist/{index-BFL_M4PT.d.mts → index-CV5LaGMy.d.mts} +3 -1
- package/dist/{index-BwFSueFx.d.mts → index-CWzdSZ-F.d.mts} +3 -1
- package/dist/{index-wDHiUpr6.d.mts → index-CXbdZAgD.d.mts} +7 -3
- package/dist/{index-DBbjFiDd.d.mts → index-CYtinraa.d.mts} +3 -1
- package/dist/{index-CeIQyZkc.d.mts → index-CZ0P3C6E.d.mts} +1 -0
- package/dist/{index-BEfqqxjl.d.mts → index-Cbc4doAM.d.mts} +7 -0
- package/dist/{index-BolxaoaW.d.mts → index-Cbd88ftD.d.mts} +3 -1
- package/dist/{index-BmFfkztS.d.mts → index-ChqP3kbL.d.mts} +3 -1
- package/dist/{index-CLoTtvcO.d.mts → index-CuonhYXR.d.mts} +3 -1
- package/dist/{index-CwM-SPPz.d.mts → index-CvDp7tiS.d.mts} +3 -1
- package/dist/{index-YCVah82j.d.mts → index-CyVykdGO.d.mts} +3 -1
- package/dist/{index-D0lEVqZc.d.mts → index-D2B6EH5P.d.mts} +3 -1
- package/dist/{index--K4P_QKU.d.mts → index-D61_Lx9o.d.mts} +3 -1
- package/dist/{index-Bj2IsU9D.d.mts → index-DAnDXxRZ.d.mts} +3 -1
- package/dist/{index-CKFfSEBR.d.mts → index-DC6AI8rV.d.mts} +3 -1
- package/dist/{index-OElK7gw7.d.mts → index-DCpx_Rui.d.mts} +3 -1
- package/dist/{index-_kQsvJKo.d.mts → index-DEWaAoNb.d.mts} +8 -7
- package/dist/{index-DfTAYXUT.d.mts → index-DGsu3J-2.d.mts} +3 -1
- package/dist/{index-oI4U-72X.d.mts → index-DQAelfXy.d.mts} +3 -1
- package/dist/{index-Cd4UxWsz.d.mts → index-DWlpILHb.d.mts} +3 -1
- package/dist/{index-Dr-T8jsb.d.mts → index-DXXhfdQC.d.mts} +3 -1
- package/dist/{index-DKDpZraB.d.mts → index-D_fO4kp1.d.mts} +11 -2
- package/dist/{index-CtbGSRNw.d.mts → index-DiTKkiJ-.d.mts} +29 -10
- package/dist/{index-C8WNp4wI.d.mts → index-DpxOnkTQ.d.mts} +3 -1
- package/dist/{index-B1iBag3L.d.mts → index-DpzuwMB7.d.mts} +3 -1
- package/dist/{index-DjaHpB21.d.mts → index-Dq4bm9bV.d.mts} +3 -1
- package/dist/{index-nfkt_cP_.d.mts → index-DwVr4QfC.d.mts} +3 -1
- package/dist/{index-CAb_-2Bn.d.mts → index-Dxktk3O7.d.mts} +3 -1
- package/dist/{index-8JoOZcM6.d.mts → index-DzohdB6p.d.mts} +3 -1
- package/dist/{index-CM6inLqu.d.mts → index-IR-e1YzH.d.mts} +4 -2
- package/dist/{index-CkFXH_oG.d.mts → index-LXovbafa.d.mts} +3 -1
- package/dist/{index-D6eYSdmD.d.mts → index-W2Op578F.d.mts} +5 -3
- package/dist/{index-mshFOd-j.d.mts → index-e1MA6eIk.d.mts} +3 -1
- package/dist/{index-BkGvErBJ.d.mts → index-eQIdP9QO.d.mts} +3 -1
- package/dist/{index-XHTt8I1B.d.mts → index-evrdvWRI.d.mts} +3 -1
- package/dist/{index-CjNUtqX_.d.mts → index-oF_zauHL.d.mts} +3 -1
- package/dist/{index-B2JKtCzc.d.mts → index-znAFQEmQ.d.mts} +9 -5
- package/dist/index.d.mts +65 -62
- package/dist/index.mjs +72 -69
- package/dist/{kbd-LXHpi4GM.mjs → kbd-C2kft-a5.mjs} +2 -1
- package/dist/{layout-GfxGYYhg.mjs → layout-CvseQjaj.mjs} +1 -1
- package/dist/{link-CuNiatc7.mjs → link-xMyEhImB.mjs} +2 -1
- package/dist/{masonry-B4-v4kJ0.mjs → masonry-lGCtykYE.mjs} +2 -1
- package/dist/media-player-D1cymqXf.mjs +808 -0
- package/dist/mentions-L0Z29LV8.mjs +256 -0
- package/dist/{order-list-D3EhH7EX.mjs → order-list-CoE45N5_.mjs} +2 -1
- package/dist/{popconfirm-NK5BPbrN.mjs → popconfirm-C6VCMgtZ.mjs} +52 -25
- package/dist/{progress-group-BQMAQWXh.mjs → progress-group-OR53RKfW.mjs} +3 -2
- package/dist/{props-U567RIQo.d.mts → props-DL-XfEtS.d.mts} +1 -1
- package/dist/{result-4Oee2ndu.mjs → result-1kEBWRai.mjs} +1 -0
- package/dist/{select-8ume4i2e.mjs → select-DQQ0bSN9.mjs} +11 -6
- package/dist/{separator-4JWXConE.mjs → separator-doDccxti.mjs} +2 -1
- package/dist/{skeleton-DOfOrlmL.mjs → skeleton-CKLyMSAV.mjs} +2 -1
- package/dist/{split-button-DnmVc_J0.mjs → split-button-D_OqAXW0.mjs} +20 -15
- package/dist/{spotlight-DMC5E1eS.mjs → spotlight-COA_C9G5.mjs} +2 -1
- package/dist/{stack-DCKrejZp.mjs → stack-qBPmVt5S.mjs} +5 -4
- package/dist/{table-BsdqRuvj.mjs → table-geA12h-I.mjs} +214 -180
- package/dist/{terminal-Dgw5JEz4.mjs → terminal-C0XnhwEh.mjs} +2 -1
- package/dist/{textarea-DzDc678j.mjs → textarea-BUzu42K0.mjs} +2 -1
- package/dist/{toolbar-SNwuRrJr.mjs → toolbar-CiXQAM_F.mjs} +2 -1
- package/dist/{transfer-C0FLA8W1.mjs → transfer-B0EAGhLK.mjs} +13 -17
- package/dist/{tree-select-CSYSYZDN.mjs → tree-select-BEK7cdxE.mjs} +64 -61
- package/dist/{typography-Cygr9XaD.mjs → typography-Bl6MxaeI.mjs} +1 -0
- package/dist/use-media-controls-BYYG0DgO.mjs +149 -0
- package/dist/use-tour-BLNlDu27.mjs +180 -0
- package/dist/{user-BjJSjDYV.mjs → user-CAqrd4B7.mjs} +2 -1
- package/dist/{virtual-list-_10ypBUP.mjs → virtual-list-BLb78vlm.mjs} +12 -6
- package/dist/{watermark-C2d3-EAM.mjs → watermark-Bv3kvHIB.mjs} +3 -2
- package/package.json +3 -3
- package/dist/AngleSliderRoot-CUe5sgWU.mjs +0 -37
- package/dist/CheckboxRoot-BP4ynFLq.mjs +0 -37
- package/dist/ChevronIcon-CVJJYda-.mjs +0 -11
- package/dist/ClipboardRoot-UmyQFn27.mjs +0 -37
- package/dist/ColorPickerRoot-DLgI9s3u.mjs +0 -37
- package/dist/ComboboxRoot-BsVcmUOj.mjs +0 -37
- package/dist/DateInputRoot-nROaFmB7.mjs +0 -37
- package/dist/DatePickerRoot-CkeHEAcG.mjs +0 -37
- package/dist/EditableRoot-CLmP5sIH.mjs +0 -37
- package/dist/FileUploadTrigger-BgAcpLXx.mjs +0 -73
- package/dist/JsonTreeViewTree-CqRP_PwV.mjs +0 -71
- package/dist/ListboxRoot-DhFAnZ_c.mjs +0 -37
- package/dist/MenuRoot-C4zG0iw2.mjs +0 -80
- package/dist/NumberInputRoot-BQz2HHGb.mjs +0 -37
- package/dist/PaginationRoot-DnXcEZCa.mjs +0 -37
- package/dist/PasswordInputRoot-4yR0Aig4.mjs +0 -37
- package/dist/PinInputRoot-B8fTxTlv.mjs +0 -37
- package/dist/ProgressRoot-DwhwW31T.mjs +0 -37
- package/dist/RadioGroupRoot-BD_mxWjX.mjs +0 -37
- package/dist/RatingGroupRoot-iUWUAKtV.mjs +0 -37
- package/dist/SegmentGroupRoot-798Amg4S.mjs +0 -37
- package/dist/SelectRoot-l-rb18FH.mjs +0 -37
- package/dist/SliderRoot-BBIlf6Uw.mjs +0 -37
- package/dist/StepsRoot-C_FYfShw.mjs +0 -63
- package/dist/SwitchRoot-C7rPmjEA.mjs +0 -37
- package/dist/TabsRoot-DXd41HqW.mjs +0 -41
- package/dist/TagsInputRoot-COSQdHRz.mjs +0 -37
- package/dist/TocIndicator-DPnZxTJ2.mjs +0 -30
- package/dist/ToggleGroupRoot-D0ob9z4u.mjs +0 -37
- package/dist/TreeViewRoot-RBynRAly.mjs +0 -108
- package/dist/checkbox-group-ARW_z7gp.mjs +0 -130
- package/dist/image-viewer-DzoEcVSn.mjs +0 -202
- package/dist/index-CV1LSzq5.d.mts +0 -25
- package/dist/index-DG4OAuIf.d.mts +0 -26
- package/dist/mentions-DjhgNRmY.mjs +0 -204
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
1
3
|
import { n as useComponentMessages, t as formatMessage } from "./messages-DNzA55pH.mjs";
|
|
2
4
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
5
|
import "svelte/internal/disclose-version";
|
|
@@ -13,10 +15,8 @@ var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
|
13
15
|
"onRemove",
|
|
14
16
|
"aria-label"
|
|
15
17
|
]);
|
|
16
|
-
var root$1 = $.
|
|
17
|
-
var root_1 = $.
|
|
18
|
-
var root_2 = $.from_html(`<span> </span>`);
|
|
19
|
-
var root_3 = $.from_html(`<span><!> <span> </span> <!> <button type="button" data-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><path d="M4 4l8 8M12 4l-8 8"></path></svg></button></span>`);
|
|
18
|
+
var root$1 = $.from_html(`<span> </span>`);
|
|
19
|
+
var root_1 = $.from_html(`<span><!> <span> </span> <!> <button type="button" data-remove=""><!></button></span>`);
|
|
20
20
|
function Attachment$1($$anchor, $$props) {
|
|
21
21
|
$.push($$props, true);
|
|
22
22
|
injectComponentStyle("ai");
|
|
@@ -50,7 +50,7 @@ function Attachment$1($$anchor, $$props) {
|
|
|
50
50
|
let status = $.prop($$props, "status", 3, "ready"), rest = $.rest_props($$props, rest_excludes$1);
|
|
51
51
|
const messages = useComponentMessages();
|
|
52
52
|
const removeLabel = $.derived(() => $$props["aria-label"] ?? formatMessage(messages().ai.removeAttachment, { name: $$props.name }));
|
|
53
|
-
var span =
|
|
53
|
+
var span = root_1();
|
|
54
54
|
$.attribute_effect(span, () => ({
|
|
55
55
|
...rest,
|
|
56
56
|
"data-scope": "ai",
|
|
@@ -58,32 +58,31 @@ function Attachment$1($$anchor, $$props) {
|
|
|
58
58
|
"data-status": status()
|
|
59
59
|
}));
|
|
60
60
|
var node = $.child(span);
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var svg_1 = root_1();
|
|
68
|
-
$.append($$anchor, svg_1);
|
|
69
|
-
};
|
|
70
|
-
$.if(node, ($$render) => {
|
|
71
|
-
if ($.get(d)) $$render(consequent);
|
|
72
|
-
else $$render(alternate, -1);
|
|
73
|
-
});
|
|
61
|
+
{
|
|
62
|
+
let $0 = $.derived(() => isImage($$props.name) ? "image" : "file");
|
|
63
|
+
InternalIcon(node, { get name() {
|
|
64
|
+
return $.get($0);
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
74
67
|
var span_1 = $.sibling(node, 2);
|
|
75
68
|
var text = $.only_child(span_1, true);
|
|
76
69
|
var node_1 = $.sibling(span_1, 2);
|
|
77
|
-
var
|
|
78
|
-
var span_2 =
|
|
70
|
+
var consequent = ($$anchor) => {
|
|
71
|
+
var span_2 = root$1();
|
|
79
72
|
var text_1 = $.only_child(span_2, true);
|
|
80
73
|
$.template_effect(($0) => $.set_text(text_1, $0), [() => humanSize($$props.size)]);
|
|
81
74
|
$.append($$anchor, span_2);
|
|
82
75
|
};
|
|
83
76
|
$.if(node_1, ($$render) => {
|
|
84
|
-
if ($$props.size !== void 0) $$render(
|
|
77
|
+
if ($$props.size !== void 0) $$render(consequent);
|
|
85
78
|
});
|
|
86
79
|
var button = $.sibling(node_1, 2);
|
|
80
|
+
var node_2 = $.child(button);
|
|
81
|
+
InternalIcon(node_2, {
|
|
82
|
+
name: "x",
|
|
83
|
+
size: "sm"
|
|
84
|
+
});
|
|
85
|
+
$.reset(button);
|
|
87
86
|
$.reset(span);
|
|
88
87
|
$.template_effect(() => {
|
|
89
88
|
$.set_text(text, $$props.name);
|
|
@@ -121,7 +120,7 @@ function Attachments$1($$anchor, $$props) {
|
|
|
121
120
|
}
|
|
122
121
|
//#endregion
|
|
123
122
|
//#region src/components/ai-attachments/index.ts
|
|
124
|
-
const Attachment = Attachment$1;
|
|
125
|
-
const Attachments = Attachments$1;
|
|
123
|
+
const Attachment = withSelfRoot(Attachment$1);
|
|
124
|
+
const Attachments = withSelfRoot(Attachments$1);
|
|
126
125
|
//#endregion
|
|
127
126
|
export { Attachments as n, Attachment as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -31,6 +32,6 @@ function AiMessage$1($$anchor, $$props) {
|
|
|
31
32
|
//#region src/components/ai-message/index.ts
|
|
32
33
|
/** Whose stroke this is — the user's words sit in a recessed bubble,
|
|
33
34
|
* the assistant speaks flat on the paper. */
|
|
34
|
-
const AiMessage = AiMessage$1;
|
|
35
|
+
const AiMessage = withSelfRoot(AiMessage$1);
|
|
35
36
|
//#endregion
|
|
36
37
|
export { AiMessage as t };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
3
|
+
import { t as Button } from "./button-CghWQD3J.mjs";
|
|
2
4
|
import { Field } from "./components/field/index.mjs";
|
|
3
|
-
import { n as MentionsVessel } from "./mentions-
|
|
5
|
+
import { n as MentionsVessel } from "./mentions-L0Z29LV8.mjs";
|
|
4
6
|
import { t as useMentions } from "./use-mentions-DeF_38di.mjs";
|
|
5
7
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
6
8
|
import { injectComponentStyle } from "@bysages/core";
|
|
@@ -26,12 +28,11 @@ var rest_excludes = /* @__PURE__ */ new Set([
|
|
|
26
28
|
"footerEnd"
|
|
27
29
|
]);
|
|
28
30
|
var root = $.from_svg(`<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><rect x="4.5" y="4.5" width="7" height="7" fill="currentColor"></rect></svg>`);
|
|
29
|
-
var root_1 = $.
|
|
30
|
-
var root_2 = $.from_html(`<div data-scope="ai" data-part="prompt-
|
|
31
|
-
var root_3 = $.from_html(`<div data-scope="ai" data-part="prompt-
|
|
32
|
-
var root_4 = $.from_html(`<div data-scope="ai" data-part="prompt-
|
|
33
|
-
var root_5 = $.from_html(`<
|
|
34
|
-
var root_6 = $.from_html(`<form><!> <div data-scope="ai" data-part="prompt-main"><!> <!> <!> <!></div> <!></form>`);
|
|
31
|
+
var root_1 = $.from_html(`<div data-scope="ai" data-part="prompt-header"><!></div>`);
|
|
32
|
+
var root_2 = $.from_html(`<div data-scope="ai" data-part="prompt-leading"><!></div>`);
|
|
33
|
+
var root_3 = $.from_html(`<div data-scope="ai" data-part="prompt-trailing"><!> <!></div>`);
|
|
34
|
+
var root_4 = $.from_html(`<div data-scope="ai" data-part="prompt-footer"><!> <div data-scope="ai" data-part="prompt-end"><!> <!></div></div>`);
|
|
35
|
+
var root_5 = $.from_html(`<form><!> <div data-scope="ai" data-part="prompt-main"><!> <!> <!> <!></div> <!></form>`);
|
|
35
36
|
function AiPromptInput$1($$anchor, $$props) {
|
|
36
37
|
$.push($$props, true);
|
|
37
38
|
const seal = ($$anchor) => {
|
|
@@ -76,8 +77,10 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
76
77
|
return $.get($1);
|
|
77
78
|
},
|
|
78
79
|
children: ($$anchor, $$slotProps) => {
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
InternalIcon($$anchor, {
|
|
81
|
+
name: "arrow-up",
|
|
82
|
+
size: "sm"
|
|
83
|
+
});
|
|
81
84
|
},
|
|
82
85
|
$$slots: { default: true }
|
|
83
86
|
});
|
|
@@ -113,7 +116,7 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
113
116
|
$$props.onValueChange?.("");
|
|
114
117
|
}
|
|
115
118
|
const hasFooter = $.derived(() => $$props.footer != null);
|
|
116
|
-
var form =
|
|
119
|
+
var form = root_5();
|
|
117
120
|
var event_handler = (event) => {
|
|
118
121
|
event.preventDefault();
|
|
119
122
|
send();
|
|
@@ -126,7 +129,7 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
126
129
|
}));
|
|
127
130
|
var node_1 = $.child(form);
|
|
128
131
|
var consequent_1 = ($$anchor) => {
|
|
129
|
-
var div =
|
|
132
|
+
var div = root_1();
|
|
130
133
|
var node_2 = $.child(div);
|
|
131
134
|
$.snippet(node_2, () => $$props.header);
|
|
132
135
|
$.reset(div);
|
|
@@ -138,7 +141,7 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
138
141
|
var div_1 = $.sibling(node_1, 2);
|
|
139
142
|
var node_3 = $.child(div_1);
|
|
140
143
|
var consequent_2 = ($$anchor) => {
|
|
141
|
-
var div_2 =
|
|
144
|
+
var div_2 = root_2();
|
|
142
145
|
var node_4 = $.child(div_2);
|
|
143
146
|
$.snippet(node_4, () => $$props.leading);
|
|
144
147
|
$.reset(div_2);
|
|
@@ -151,8 +154,8 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
151
154
|
$.component(node_5, () => Field.Root, ($$anchor, Field_Root) => {
|
|
152
155
|
Field_Root($$anchor, {
|
|
153
156
|
children: ($$anchor, $$slotProps) => {
|
|
154
|
-
var
|
|
155
|
-
var node_6 = $.first_child(
|
|
157
|
+
var fragment_4 = $.comment();
|
|
158
|
+
var node_6 = $.first_child(fragment_4);
|
|
156
159
|
{
|
|
157
160
|
let $0 = $.derived(() => messages().ai.conversation);
|
|
158
161
|
$.component(node_6, () => Field.Textarea, ($$anchor, Field_Textarea) => {
|
|
@@ -191,7 +194,7 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
191
194
|
});
|
|
192
195
|
});
|
|
193
196
|
}
|
|
194
|
-
$.append($$anchor,
|
|
197
|
+
$.append($$anchor, fragment_4);
|
|
195
198
|
},
|
|
196
199
|
$$slots: { default: true }
|
|
197
200
|
});
|
|
@@ -225,13 +228,13 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
225
228
|
});
|
|
226
229
|
var node_8 = $.sibling(node_7, 2);
|
|
227
230
|
var consequent_6 = ($$anchor) => {
|
|
228
|
-
var div_3 =
|
|
231
|
+
var div_3 = root_3();
|
|
229
232
|
var node_9 = $.child(div_3);
|
|
230
233
|
var consequent_4 = ($$anchor) => {
|
|
231
|
-
var
|
|
232
|
-
var node_10 = $.first_child(
|
|
234
|
+
var fragment_6 = $.comment();
|
|
235
|
+
var node_10 = $.first_child(fragment_6);
|
|
233
236
|
$.snippet(node_10, () => $$props.trailing);
|
|
234
|
-
$.append($$anchor,
|
|
237
|
+
$.append($$anchor, fragment_6);
|
|
235
238
|
};
|
|
236
239
|
$.if(node_9, ($$render) => {
|
|
237
240
|
if ($$props.trailing) $$render(consequent_4);
|
|
@@ -252,16 +255,16 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
252
255
|
$.reset(div_1);
|
|
253
256
|
var node_12 = $.sibling(div_1, 2);
|
|
254
257
|
var consequent_8 = ($$anchor) => {
|
|
255
|
-
var div_4 =
|
|
258
|
+
var div_4 = root_4();
|
|
256
259
|
var node_13 = $.child(div_4);
|
|
257
260
|
$.snippet(node_13, () => $$props.footer);
|
|
258
261
|
var div_5 = $.sibling(node_13, 2);
|
|
259
262
|
var node_14 = $.child(div_5);
|
|
260
263
|
var consequent_7 = ($$anchor) => {
|
|
261
|
-
var
|
|
262
|
-
var node_15 = $.first_child(
|
|
264
|
+
var fragment_8 = $.comment();
|
|
265
|
+
var node_15 = $.first_child(fragment_8);
|
|
263
266
|
$.snippet(node_15, () => $$props.footerEnd);
|
|
264
|
-
$.append($$anchor,
|
|
267
|
+
$.append($$anchor, fragment_8);
|
|
265
268
|
};
|
|
266
269
|
$.if(node_14, ($$render) => {
|
|
267
270
|
if ($$props.footerEnd) $$render(consequent_7);
|
|
@@ -283,6 +286,6 @@ function AiPromptInput$1($$anchor, $$props) {
|
|
|
283
286
|
//#region src/components/ai-prompt-input/index.ts
|
|
284
287
|
/** The prompt vessel: the shared field textarea — self-growing on the
|
|
285
288
|
* machine's autoresize — over a footer row carrying the submit seal. */
|
|
286
|
-
const AiPromptInput = AiPromptInput$1;
|
|
289
|
+
const AiPromptInput = withSelfRoot(AiPromptInput$1);
|
|
287
290
|
//#endregion
|
|
288
291
|
export { AiPromptInput as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { Collapsible } from "./components/collapsible/index.mjs";
|
|
2
|
-
import { t as ChevronIcon } from "./ChevronIcon-
|
|
3
|
+
import { t as ChevronIcon } from "./ChevronIcon-BrLZJ0NH.mjs";
|
|
3
4
|
import { injectComponentStyle } from "@bysages/core";
|
|
4
5
|
import "svelte/internal/disclose-version";
|
|
5
6
|
import * as $ from "svelte/internal/client";
|
|
@@ -72,6 +73,6 @@ function AiReasoning$1($$anchor, $$props) {
|
|
|
72
73
|
//#region src/components/ai-reasoning/index.ts
|
|
73
74
|
/** The model's thought, folded by the shared collapsible in its quiet
|
|
74
75
|
* register. */
|
|
75
|
-
const AiReasoning = AiReasoning$1;
|
|
76
|
+
const AiReasoning = withSelfRoot(AiReasoning$1);
|
|
76
77
|
//#endregion
|
|
77
78
|
export { AiReasoning as t };
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as iconHtml } from "./icon-lWVQxDG6.mjs";
|
|
1
3
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
2
4
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
5
|
import "svelte/internal/disclose-version";
|
|
4
6
|
import * as $ from "svelte/internal/client";
|
|
5
7
|
import { renderHtml } from "@tanstack/markdown/html";
|
|
6
8
|
//#region src/components/ai-response/code-copy.ts
|
|
7
|
-
/** The two
|
|
8
|
-
*
|
|
9
|
-
* it lives beside the renderer's generated code HTML. */
|
|
10
|
-
const COPY_CODE_ICON =
|
|
11
|
-
|
|
9
|
+
/** The two icons a copy affordance needs: the stamp and its confirmation,
|
|
10
|
+
* drawn from the house icon set. Inline SVG keeps the enhancement
|
|
11
|
+
* framework-agnostic — it lives beside the renderer's generated code HTML. */
|
|
12
|
+
const COPY_CODE_ICON = iconHtml("copy", {
|
|
13
|
+
width: "14",
|
|
14
|
+
height: "14"
|
|
15
|
+
});
|
|
16
|
+
const COPIED_CODE_ICON = iconHtml("check", {
|
|
17
|
+
width: "14",
|
|
18
|
+
height: "14"
|
|
19
|
+
});
|
|
12
20
|
/** How long the confirmation stays before the stamp returns. */
|
|
13
21
|
const REVERT_MS = 1500;
|
|
14
22
|
/** Make sure every fenced block under `host` carries its copy stamp.
|
|
@@ -145,6 +153,6 @@ function AiResponse$1($$anchor, $$props) {
|
|
|
145
153
|
//#endregion
|
|
146
154
|
//#region src/components/ai-response/index.ts
|
|
147
155
|
/** Markdown set on the paper — streaming-safe by construction. */
|
|
148
|
-
const AiResponse = AiResponse$1;
|
|
156
|
+
const AiResponse = withSelfRoot(AiResponse$1);
|
|
149
157
|
//#endregion
|
|
150
158
|
export { AiResponse as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -72,7 +73,7 @@ function AiSources$1($$anchor, $$props) {
|
|
|
72
73
|
//#region src/components/ai-source/index.ts
|
|
73
74
|
/** One place the ink came from, and the reading list that gathers
|
|
74
75
|
* them under a response. */
|
|
75
|
-
const AiSource = AiSource$1;
|
|
76
|
-
const AiSources = AiSources$1;
|
|
76
|
+
const AiSource = withSelfRoot(AiSource$1);
|
|
77
|
+
const AiSources = withSelfRoot(AiSources$1);
|
|
77
78
|
//#endregion
|
|
78
79
|
export { AiSources as n, AiSource as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as Button } from "./button-CghWQD3J.mjs";
|
|
2
3
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
4
|
import "svelte/internal/disclose-version";
|
|
4
5
|
import * as $ from "svelte/internal/client";
|
|
@@ -33,6 +34,6 @@ function AiSuggestion$1($$anchor, $$props) {
|
|
|
33
34
|
//#region src/components/ai-suggestion/index.ts
|
|
34
35
|
/** A seal-cut button proposing the next stroke; selection hands back
|
|
35
36
|
* the prompt. */
|
|
36
|
-
const AiSuggestion = AiSuggestion$1;
|
|
37
|
+
const AiSuggestion = withSelfRoot(AiSuggestion$1);
|
|
37
38
|
//#endregion
|
|
38
39
|
export { AiSuggestion as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { Collapsible } from "./components/collapsible/index.mjs";
|
|
2
|
-
import { t as ChevronIcon } from "./ChevronIcon-
|
|
3
|
+
import { t as ChevronIcon } from "./ChevronIcon-BrLZJ0NH.mjs";
|
|
3
4
|
import { injectComponentStyle } from "@bysages/core";
|
|
4
5
|
import "svelte/internal/disclose-version";
|
|
5
6
|
import * as $ from "svelte/internal/client";
|
|
@@ -112,6 +113,6 @@ function AiTool$1($$anchor, $$props) {
|
|
|
112
113
|
/** A tool call: the shared collapsible as the vessel — the name it
|
|
113
114
|
* was reached by and the state it reached in on the trigger, its
|
|
114
115
|
* input and output folded inside. */
|
|
115
|
-
const AiTool = AiTool$1;
|
|
116
|
+
const AiTool = withSelfRoot(AiTool$1);
|
|
116
117
|
//#endregion
|
|
117
118
|
export { AiTool as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -87,18 +88,18 @@ var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
|
87
88
|
"$$events",
|
|
88
89
|
"$$legacy"
|
|
89
90
|
]);
|
|
90
|
-
var root$1 = $.from_html(`<span
|
|
91
|
+
var root$1 = $.from_html(`<span><!></span>`);
|
|
91
92
|
function AlertIcon($$anchor, $$props) {
|
|
92
93
|
$.push($$props, true);
|
|
93
94
|
injectComponentStyle("alert");
|
|
94
95
|
let rest = $.rest_props($$props, rest_excludes$1);
|
|
95
96
|
const readStatus = getContext("alert:status");
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
const statusIcons = {
|
|
98
|
+
ink: "info",
|
|
99
|
+
info: "info",
|
|
100
|
+
success: "circle-check",
|
|
101
|
+
warning: "triangle-alert",
|
|
102
|
+
danger: "circle-x"
|
|
102
103
|
};
|
|
103
104
|
var span = root$1();
|
|
104
105
|
$.attribute_effect(span, () => ({
|
|
@@ -106,12 +107,14 @@ function AlertIcon($$anchor, $$props) {
|
|
|
106
107
|
"data-scope": "alert",
|
|
107
108
|
"data-part": "icon"
|
|
108
109
|
}));
|
|
109
|
-
var
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
var node = $.child(span);
|
|
111
|
+
{
|
|
112
|
+
let $0 = $.derived(() => statusIcons[readStatus()]);
|
|
113
|
+
InternalIcon(node, { get name() {
|
|
114
|
+
return $.get($0);
|
|
115
|
+
} });
|
|
116
|
+
}
|
|
113
117
|
$.reset(span);
|
|
114
|
-
$.template_effect(($0) => $.set_attribute(path, "d", $0), [() => paths[readStatus()]]);
|
|
115
118
|
$.append($$anchor, span);
|
|
116
119
|
$.pop();
|
|
117
120
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -31,6 +32,6 @@ function AspectRatio$1($$anchor, $$props) {
|
|
|
31
32
|
//#region src/components/aspect-ratio/index.ts
|
|
32
33
|
/** A frame that keeps its shape: the box holds the given ratio whatever
|
|
33
34
|
* the width it is dealt, and the child fills the frame it is given. */
|
|
34
|
-
const AspectRatio = AspectRatio$1;
|
|
35
|
+
const AspectRatio = withSelfRoot(AspectRatio$1);
|
|
35
36
|
//#endregion
|
|
36
37
|
export { AspectRatio as t };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
2
3
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
4
|
import "svelte/internal/disclose-version";
|
|
4
5
|
import * as $ from "svelte/internal/client";
|
|
5
6
|
import { Portal } from "@ark-ui/svelte/portal";
|
|
7
|
+
import { untrack } from "svelte";
|
|
6
8
|
import { Combobox } from "@ark-ui/svelte/combobox";
|
|
7
9
|
import { useListCollection } from "@ark-ui/svelte/collection";
|
|
8
10
|
//#region src/components/autocomplete/AutoComplete.svelte
|
|
@@ -22,10 +24,13 @@ function AutoComplete$1($$anchor, $$props) {
|
|
|
22
24
|
injectComponentStyle("combobox");
|
|
23
25
|
let value = $.prop($$props, "value", 15, ""), items = $.prop($$props, "items", 19, () => []), size = $.prop($$props, "size", 3, "md"), rest = $.rest_props($$props, rest_excludes);
|
|
24
26
|
const messages = useComponentMessages();
|
|
25
|
-
const { collection, filter: filterItems } = useListCollection({
|
|
26
|
-
initialItems: items(),
|
|
27
|
+
const { collection, filter: filterItems, set } = useListCollection({
|
|
28
|
+
initialItems: untrack(() => items()),
|
|
27
29
|
filter: (item, input) => $$props.filter ? $$props.filter(item, input) : item.toLowerCase().includes(input.toLowerCase())
|
|
28
30
|
});
|
|
31
|
+
$.user_effect(() => {
|
|
32
|
+
set(items());
|
|
33
|
+
});
|
|
29
34
|
var fragment = $.comment();
|
|
30
35
|
var node = $.first_child(fragment);
|
|
31
36
|
$.component(node, () => Combobox.Root, ($$anchor, ArkCombobox_Root) => {
|
|
@@ -151,6 +156,6 @@ function AutoComplete$1($$anchor, $$props) {
|
|
|
151
156
|
/** Free text with suggestions: the reader types anything, the list
|
|
152
157
|
* narrows to help, and both a pick and a custom value end up in the
|
|
153
158
|
* same `value`. A preset of the combobox machinery. */
|
|
154
|
-
const AutoComplete = AutoComplete$1;
|
|
159
|
+
const AutoComplete = withSelfRoot(AutoComplete$1);
|
|
155
160
|
//#endregion
|
|
156
161
|
export { AutoComplete as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -31,6 +32,6 @@ function AvatarGroup$1($$anchor, $$props) {
|
|
|
31
32
|
//#region src/components/avatar-group/index.ts
|
|
32
33
|
/** Avatars overlapping one row, each rimmed in the ground so the pile
|
|
33
34
|
* stays legible. */
|
|
34
|
-
const AvatarGroup = AvatarGroup$1;
|
|
35
|
+
const AvatarGroup = withSelfRoot(AvatarGroup$1);
|
|
35
36
|
//#endregion
|
|
36
37
|
export { AvatarGroup as t };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
3
|
+
import { t as Button } from "./button-CghWQD3J.mjs";
|
|
2
4
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
5
|
import "svelte/internal/disclose-version";
|
|
4
6
|
import * as $ from "svelte/internal/client";
|
|
@@ -12,8 +14,7 @@ var rest_excludes = /* @__PURE__ */ new Set([
|
|
|
12
14
|
"scrollEl",
|
|
13
15
|
"children"
|
|
14
16
|
]);
|
|
15
|
-
var root = $.
|
|
16
|
-
var root_1 = $.from_html(`<div><!></div>`);
|
|
17
|
+
var root = $.from_html(`<div><!></div>`);
|
|
17
18
|
function BackTop$1($$anchor, $$props) {
|
|
18
19
|
$.push($$props, true);
|
|
19
20
|
injectComponentStyle("back-top");
|
|
@@ -43,7 +44,7 @@ function BackTop$1($$anchor, $$props) {
|
|
|
43
44
|
behavior: reduce ? "auto" : "smooth"
|
|
44
45
|
});
|
|
45
46
|
};
|
|
46
|
-
var div =
|
|
47
|
+
var div = root();
|
|
47
48
|
$.attribute_effect(div, () => ({
|
|
48
49
|
"data-scope": "back-top",
|
|
49
50
|
"data-part": "root",
|
|
@@ -79,8 +80,7 @@ function BackTop$1($$anchor, $$props) {
|
|
|
79
80
|
$.append($$anchor, fragment_1);
|
|
80
81
|
};
|
|
81
82
|
var alternate = ($$anchor) => {
|
|
82
|
-
|
|
83
|
-
$.append($$anchor, svg);
|
|
83
|
+
InternalIcon($$anchor, { name: "chevron-up" });
|
|
84
84
|
};
|
|
85
85
|
$.if(node_1, ($$render) => {
|
|
86
86
|
if ($$props.children) $$render(consequent);
|
|
@@ -104,6 +104,6 @@ function BackTop$1($$anchor, $$props) {
|
|
|
104
104
|
* back into an instant jump. The control itself is the shared `Button`
|
|
105
105
|
* (outline, square) — the paper, hairline and halo are its; this family
|
|
106
106
|
* owns only the floating and the entrance. */
|
|
107
|
-
const BackTop = BackTop$1;
|
|
107
|
+
const BackTop = withSelfRoot(BackTop$1);
|
|
108
108
|
//#endregion
|
|
109
109
|
export { BackTop as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -33,6 +34,6 @@ function Badge$1($$anchor, $$props) {
|
|
|
33
34
|
//#region src/components/badge/index.ts
|
|
34
35
|
/** A small seal of state. Ink is the neutral tone; the four semantic
|
|
35
36
|
* pigments are fixed. Subtle and outline re-register the same pigment. */
|
|
36
|
-
const Badge = Badge$1;
|
|
37
|
+
const Badge = withSelfRoot(Badge$1);
|
|
37
38
|
//#endregion
|
|
38
39
|
export { Badge as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
1
2
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
2
3
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
4
|
import "svelte/internal/disclose-version";
|
|
@@ -88,7 +89,7 @@ var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
|
88
89
|
"type",
|
|
89
90
|
"aria-label"
|
|
90
91
|
]);
|
|
91
|
-
var root$3 = $.from_html(`<button
|
|
92
|
+
var root$3 = $.from_html(`<button><!></button>`);
|
|
92
93
|
function BannerClose($$anchor, $$props) {
|
|
93
94
|
$.push($$props, true);
|
|
94
95
|
injectComponentStyle("banner");
|
|
@@ -102,6 +103,9 @@ function BannerClose($$anchor, $$props) {
|
|
|
102
103
|
"data-scope": "banner",
|
|
103
104
|
"data-part": "close"
|
|
104
105
|
}), [() => $$props["aria-label"] ?? messages().banner.dismiss]);
|
|
106
|
+
var node = $.child(button);
|
|
107
|
+
InternalIcon(node, { name: "x" });
|
|
108
|
+
$.reset(button);
|
|
105
109
|
$.append($$anchor, button);
|
|
106
110
|
$.pop();
|
|
107
111
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { t as Spinner } from "./Spinner-DGAzGJ_8.mjs";
|
|
2
3
|
import { injectComponentStyle } from "@bysages/core";
|
|
3
4
|
import "svelte/internal/disclose-version";
|
|
@@ -45,6 +46,6 @@ function BlockUI$1($$anchor, $$props) {
|
|
|
45
46
|
//#region src/components/block-ui/index.ts
|
|
46
47
|
/** A curtain over content that must wait: frosted paper and one
|
|
47
48
|
* quiet wheel. */
|
|
48
|
-
const BlockUI = BlockUI$1;
|
|
49
|
+
const BlockUI = withSelfRoot(BlockUI$1);
|
|
49
50
|
//#endregion
|
|
50
51
|
export { BlockUI as t };
|
|
@@ -137,6 +137,7 @@ function BrowserUrlBar($$anchor, $$props) {
|
|
|
137
137
|
//#region src/components/browser/index.ts
|
|
138
138
|
/** A browser window as a vessel: Root, TitleBar, Dots, UrlBar, Body. */
|
|
139
139
|
const Browser = Object.assign(Browser$1, {
|
|
140
|
+
Root: Browser$1,
|
|
140
141
|
TitleBar: BrowserTitleBar,
|
|
141
142
|
Dots: BrowserDots,
|
|
142
143
|
UrlBar: BrowserUrlBar,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -47,6 +48,6 @@ function Button$1($$anchor, $$props) {
|
|
|
47
48
|
/** The control recipe as a standalone button: the variant chooses how it
|
|
48
49
|
* rests, the tone chooses the pigment. Ink is the solemn default; any
|
|
49
50
|
* action can carry the primary weight. */
|
|
50
|
-
const Button = Button$1;
|
|
51
|
+
const Button = withSelfRoot(Button$1);
|
|
51
52
|
//#endregion
|
|
52
53
|
export { Button as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -36,6 +37,6 @@ function ButtonGroup$1($$anchor, $$props) {
|
|
|
36
37
|
//#region src/components/button-group/index.ts
|
|
37
38
|
/** Buttons fused into one control: the group owns only the joinery, so
|
|
38
39
|
* members keep every variant they were given. */
|
|
39
|
-
const ButtonGroup = ButtonGroup$1;
|
|
40
|
+
const ButtonGroup = withSelfRoot(ButtonGroup$1);
|
|
40
41
|
//#endregion
|
|
41
42
|
export { ButtonGroup as t };
|