@bysages/svelte 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{Accordion-DUUod-V6.mjs → Accordion-uJ1bTltg.mjs} +4 -6
- package/dist/AiLoader-gWAgLlVT.mjs +184 -0
- package/dist/{AngleSlider-BDmLIZcL.mjs → AngleSlider-1HJ7tzno.mjs} +3 -5
- package/dist/{autocomplete-b65dChlK.mjs → AutoComplete-BY270ouT.mjs} +3 -11
- package/dist/{AvatarFacade-BNErD2uE.mjs → AvatarFacade-CBILxhOm.mjs} +3 -5
- package/dist/{BannerIcon-DpvxwWCc.mjs → BannerIcon-BTkMzpWu.mjs} +10 -18
- package/dist/{BreadcrumbList-BdLId9vL.mjs → BreadcrumbList-DRHZcJHW.mjs} +8 -15
- package/dist/{Calendar-MQdoAnJK.mjs → Calendar-BEdhUb-8.mjs} +2 -3
- package/dist/{Carousel-DNMQMvm6.mjs → Carousel-D_NYkQcN.mjs} +4 -6
- package/dist/{Checkbox-z4EXYH9a.mjs → Checkbox-DMjIIQFH.mjs} +4 -6
- package/dist/{checkbox-group-DESN0Y8Y.mjs → CheckboxGroup-D2rQc9D9.mjs} +8 -14
- package/dist/{ChevronIcon-hvMd0d_i.mjs → ChevronIcon-O4SEvOw3.mjs} +2 -3
- package/dist/{Clipboard-Bdui0U6I.mjs → Clipboard-Dbbt5clT.mjs} +4 -6
- package/dist/{Collapsible-t6m_LqHZ.mjs → Collapsible-Brrm-Skp.mjs} +4 -6
- package/dist/{ColorPicker-tGU9q8oC.mjs → ColorPicker-DvaN4rQi.mjs} +4 -6
- package/dist/{Combobox-8BSw_3Ab.mjs → Combobox-Cc8Rb5cQ.mjs} +4 -6
- package/dist/{command-CG6IfFZO.mjs → Command-Dc4-z9YE.mjs} +3 -16
- package/dist/{DateInput-BpCL_GE-.mjs → DateInput-Dca8fTIE.mjs} +3 -5
- package/dist/{DatePicker-DJDUqjiE.mjs → DatePicker-BYktdigv.mjs} +4 -6
- package/dist/{Descriptions-C1qZ05Ph.mjs → Descriptions-DQ-53bH0.mjs} +4 -8
- package/dist/DialogFooter-B_sDX4Dz.mjs +276 -0
- package/dist/{Drawer-DkFAYikg.mjs → Drawer-I1dtgAYo.mjs} +4 -6
- package/dist/{Editable-lC-REFTP.mjs → Editable-DsphXV9A.mjs} +4 -6
- package/dist/{Field-CEUQfFAn.mjs → Field-BDu5Li-Z.mjs} +3 -5
- package/dist/{Fieldset-BWqjtIBF.mjs → Fieldset-DgdSwUWb.mjs} +3 -5
- package/dist/{FileUpload-7LgqVD7x.mjs → FileUpload-22CRez-p.mjs} +5 -8
- package/dist/{FloatButtonFacade-C8nGcXe0.mjs → FloatButtonFacade-DWEaxhZ-.mjs} +8 -13
- package/dist/{FloatingPanel-nsymgBI7.mjs → FloatingPanel-Bzh9Xcpq.mjs} +4 -6
- package/dist/{HoverCard-c3tT648V.mjs → HoverCard-UD0UpoU2.mjs} +3 -5
- package/dist/{ImageCropper-Dgyj2byr.mjs → ImageCropper-B0_WmsYX.mjs} +3 -5
- package/dist/{ImageViewer-s41DessS.mjs → ImageViewer-CJZnrFdu.mjs} +15 -20
- package/dist/{Input-DLfLshYU.mjs → Input-DTXzYJnH.mjs} +2 -4
- package/dist/{InternalIcon-Dr81WIG1.mjs → InternalIcon-34cw8jr_.mjs} +2 -3
- package/dist/{JsonTreeViewTree-DkD987Zf.mjs → JsonTreeViewTree-DONQc4hx.mjs} +5 -8
- package/dist/{Listbox-C-u5WxHv.mjs → Listbox-B6AR7Q42.mjs} +4 -6
- package/dist/{Marquee-BOpZFSCo.mjs → Marquee-D78rmIoV.mjs} +3 -5
- package/dist/Mentions-wRPCCvkr.mjs +517 -0
- package/dist/{Menu-DA7CeDYL.mjs → Menu-dVdsNqPd.mjs} +6 -10
- package/dist/{Menubar-BC-ByvNh.mjs → Menubar-DgnjVxe2.mjs} +1 -2
- package/dist/{NavigationMenu-BpQJwrv3.mjs → NavigationMenu-5ZIyBjeF.mjs} +4 -7
- package/dist/{NumberInput-BDbTmUgg.mjs → NumberInput-D55VBFQc.mjs} +4 -6
- package/dist/{Pagination-BmFNV_Vu.mjs → Pagination-U8EheOtR.mjs} +4 -6
- package/dist/{PasswordInput-Cas4e19J.mjs → PasswordInput-UiXeV0Vy.mjs} +4 -6
- package/dist/{PinInput-CgpLwgNu.mjs → PinInput-BCQTaa_7.mjs} +3 -5
- package/dist/{popconfirm-BVTFOLDu.mjs → Popconfirm-B28uwDcI.mjs} +3 -10
- package/dist/{Popover-BQeFwet4.mjs → Popover-CtibWZei.mjs} +4 -6
- package/dist/{Progress-Byx2qRcT.mjs → Progress-B5qhfR5z.mjs} +3 -5
- package/dist/{QrCode-1i33zrFY.mjs → QrCode-DnrcIXDR.mjs} +3 -5
- package/dist/{RadioGroup-COvt4pCJ.mjs → RadioGroup-C8PEu7ec.mjs} +3 -5
- package/dist/{RatingGroup-DSzJ56Yw.mjs → RatingGroup-5WnFsX6T.mjs} +4 -6
- package/dist/{ScrollArea-QeA9Z68Y.mjs → ScrollArea-BL6EBKHt.mjs} +12 -5
- package/dist/{SegmentGroup-BG8A5JPz.mjs → SegmentGroup-IhYo60zG.mjs} +3 -5
- package/dist/{Select-D4rBviRL.mjs → Select-BbQQihFi.mjs} +4 -6
- package/dist/{SignaturePad-DSVTGy9D.mjs → SignaturePad-BIQhddws.mjs} +4 -6
- package/dist/{Slider-QPKs7Ub5.mjs → Slider-CB0utTvZ.mjs} +3 -5
- package/dist/{Spinner-D-Lrgjmo.mjs → Spinner-Dj5AWiFo.mjs} +2 -3
- package/dist/{split-button-BEgDY4EZ.mjs → SplitButton-BMqXeYAV.mjs} +5 -14
- package/dist/{Splitter-BXyqbcwY.mjs → Splitter-D88dgj4Y.mjs} +3 -5
- package/dist/{StepsItem-KwQ6SrNR.mjs → StepsItem-BgjdE8VO.mjs} +4 -7
- package/dist/{Swap-CkhKz3Ue.mjs → Swap-DgvGJ2lH.mjs} +4 -6
- package/dist/{Switch-AxmjfTNx.mjs → Switch-4z2OyHSJ.mjs} +3 -5
- package/dist/Tabs-DRHAw_3y.mjs +251 -0
- package/dist/{TagsInput-BPrJLeuZ.mjs → TagsInput-CUy_cZiW.mjs} +4 -6
- package/dist/{Timer-CXPRBF49.mjs → Timer-BXZkNc4v.mjs} +3 -5
- package/dist/{Toast-mxbydOO8.mjs → Toast-lYgJajNr.mjs} +4 -6
- package/dist/{TocContent-DVP0_twz.mjs → TocContent-CMiVQXiM.mjs} +5 -9
- package/dist/{Toggle-CP2UGolY.mjs → Toggle-CttcwDuy.mjs} +3 -5
- package/dist/{ToggleGroup-BfW1gjVm.mjs → ToggleGroup-DGCd6qvY.mjs} +4 -6
- package/dist/{Tooltip-BMFCR30g.mjs → Tooltip-DAj4cqTb.mjs} +3 -5
- package/dist/{transfer-CnfoiJ8O.mjs → Transfer-CgqqDOc7.mjs} +5 -14
- package/dist/{tree-select-CR2-Jskd.mjs → TreeSelect-o3KT1Ixj.mjs} +5 -13
- package/dist/{TreeViewNodeCheckbox-t2i6iaiq.mjs → TreeViewNodeCheckbox-BNwGbFEv.mjs} +148 -48
- package/dist/{affix-zZj9e2iB.mjs → affix-DVDIxtxN.mjs} +3 -5
- package/dist/ai-Dl0sf36w.mjs +454 -0
- package/dist/{ai-action-D3kQhycd.mjs → ai-action-CN_38CTn.mjs} +4 -6
- package/dist/{ai-attachments-ksKxDHG2.mjs → ai-attachments-CMTc9qoY.mjs} +6 -9
- package/dist/{ai-message-DyQZXA7q.mjs → ai-message-Bl8E6VQu.mjs} +7 -6
- package/dist/ai-prompt-input-BeovJUY8.mjs +580 -0
- package/dist/{ai-reasoning-DA6bWwlo.mjs → ai-reasoning-bh5sTx49.mjs} +4 -6
- package/dist/{ai-response-DrsGpVej.mjs → ai-response-pB9Xjn9l.mjs} +10 -13
- package/dist/{ai-source-2eYEEt6r.mjs → ai-source-Dl1J6ml2.mjs} +4 -7
- package/dist/{ai-suggestion-BtlG02Sz.mjs → ai-suggestion-_ICqZem2.mjs} +4 -6
- package/dist/ai-tool-CwODrt-l.mjs +228 -0
- package/dist/{alert-pTPh9zID.mjs → alert-Dj3k9PIZ.mjs} +7 -13
- package/dist/{aspect-ratio-CIjPsfel.mjs → aspect-ratio-D7IG1R7i.mjs} +3 -5
- package/dist/{avatar-group-BL7PyLo1.mjs → avatar-group-DkKnKe-Q.mjs} +3 -5
- package/dist/{back-top-FpXkOE3N.mjs → back-top-V5tDyic7.mjs} +5 -7
- package/dist/{badge-N_KoQG_c.mjs → badge-aB6Ew84r.mjs} +3 -5
- package/dist/{bento-ChsvZJOE.mjs → bento-DBRH60s5.mjs} +3 -6
- package/dist/{block-ui-CHajwHI5.mjs → block-ui-CDdInTdI.mjs} +4 -6
- package/dist/{browser-KnMt333t.mjs → browser-DhUye17R.mjs} +6 -12
- package/dist/{button-Cl45zjdj.mjs → button-D-u911qp.mjs} +3 -5
- package/dist/{button-group-D9mgSVlR.mjs → button-group-DTHZTPnA.mjs} +3 -5
- package/dist/{card-DPVT_VaK.mjs → card-ihj2ejBR.mjs} +7 -14
- package/dist/{cascade-select-BhdGSRCa.mjs → cascade-select-B2NVNu_A.mjs} +12 -12
- package/dist/{chip-DputaHcF.mjs → chip-BaLIM7h1.mjs} +3 -5
- package/dist/{comment-DZ9l7mDZ.mjs → comment-_Lt7IR2M.mjs} +3 -5
- package/dist/components/accordion/index.d.mts +2 -4
- package/dist/components/accordion/index.mjs +3 -4
- package/dist/components/affix/index.d.mts +1 -1
- package/dist/components/affix/index.mjs +1 -2
- package/dist/components/ai/index.d.mts +10 -11
- package/dist/components/ai/index.mjs +3 -28
- package/dist/components/ai-action/index.d.mts +1 -3
- package/dist/components/ai-action/index.mjs +1 -2
- package/dist/components/ai-attachments/index.d.mts +1 -1
- package/dist/components/ai-attachments/index.mjs +1 -2
- package/dist/components/ai-message/index.d.mts +2 -9
- package/dist/components/ai-message/index.mjs +1 -2
- package/dist/components/ai-prompt-input/index.d.mts +1 -3
- package/dist/components/ai-prompt-input/index.mjs +1 -2
- package/dist/components/ai-reasoning/index.d.mts +1 -3
- package/dist/components/ai-reasoning/index.mjs +1 -2
- package/dist/components/ai-response/index.d.mts +1 -3
- package/dist/components/ai-response/index.mjs +1 -2
- package/dist/components/ai-source/index.d.mts +1 -3
- package/dist/components/ai-source/index.mjs +1 -2
- package/dist/components/ai-suggestion/index.d.mts +1 -3
- package/dist/components/ai-suggestion/index.mjs +1 -2
- package/dist/components/ai-tool/index.d.mts +2 -10
- package/dist/components/ai-tool/index.mjs +1 -2
- package/dist/components/alert/index.d.mts +1 -1
- package/dist/components/alert/index.mjs +1 -2
- package/dist/components/angle-slider/index.d.mts +2 -4
- package/dist/components/angle-slider/index.mjs +3 -4
- package/dist/components/aspect-ratio/index.d.mts +1 -1
- package/dist/components/aspect-ratio/index.mjs +1 -2
- package/dist/components/autocomplete/index.d.mts +1 -1
- package/dist/components/autocomplete/index.mjs +8 -1
- package/dist/components/avatar/index.d.mts +1 -1
- package/dist/components/avatar/index.mjs +3 -4
- package/dist/components/avatar-group/index.d.mts +1 -1
- package/dist/components/avatar-group/index.mjs +1 -2
- package/dist/components/back-top/index.d.mts +1 -1
- package/dist/components/back-top/index.mjs +1 -2
- package/dist/components/badge/index.d.mts +1 -1
- package/dist/components/badge/index.mjs +1 -2
- package/dist/components/banner/index.d.mts +1 -1
- package/dist/components/banner/index.mjs +3 -4
- package/dist/components/bento/index.d.mts +1 -1
- package/dist/components/bento/index.mjs +1 -2
- package/dist/components/block-ui/index.d.mts +1 -1
- package/dist/components/block-ui/index.mjs +1 -2
- package/dist/components/breadcrumb/index.d.mts +1 -1
- package/dist/components/breadcrumb/index.mjs +3 -4
- package/dist/components/browser/index.d.mts +1 -3
- package/dist/components/browser/index.mjs +1 -2
- package/dist/components/button/index.d.mts +1 -1
- package/dist/components/button/index.mjs +1 -2
- package/dist/components/button-group/index.d.mts +1 -1
- package/dist/components/button-group/index.mjs +1 -2
- package/dist/components/calendar/index.d.mts +1 -1
- package/dist/components/calendar/index.mjs +3 -4
- package/dist/components/card/index.d.mts +1 -1
- package/dist/components/card/index.mjs +1 -2
- package/dist/components/carousel/index.d.mts +2 -4
- package/dist/components/carousel/index.mjs +3 -4
- package/dist/components/cascade-select/index.d.mts +1 -1
- package/dist/components/cascade-select/index.mjs +1 -2
- package/dist/components/checkbox/index.d.mts +2 -4
- package/dist/components/checkbox/index.mjs +3 -4
- package/dist/components/checkbox-group/index.d.mts +1 -1
- package/dist/components/checkbox-group/index.mjs +9 -1
- package/dist/components/chip/index.d.mts +1 -1
- package/dist/components/chip/index.mjs +1 -2
- package/dist/components/client-only/index.d.mts +0 -2
- package/dist/components/client-only/index.mjs +2 -3
- package/dist/components/clipboard/index.d.mts +1 -1
- package/dist/components/clipboard/index.mjs +3 -4
- package/dist/components/collapsible/index.d.mts +2 -4
- package/dist/components/collapsible/index.mjs +3 -4
- package/dist/components/collection/index.mjs +1 -2
- package/dist/components/color-picker/index.d.mts +2 -4
- package/dist/components/color-picker/index.mjs +3 -4
- package/dist/components/combobox/index.d.mts +2 -4
- package/dist/components/combobox/index.mjs +3 -4
- package/dist/components/command/index.d.mts +1 -1
- package/dist/components/command/index.mjs +14 -1
- package/dist/components/comment/index.d.mts +1 -1
- package/dist/components/comment/index.mjs +1 -2
- package/dist/components/config-provider/index.d.mts +1 -1
- package/dist/components/config-provider/index.mjs +2 -2
- package/dist/components/container/index.d.mts +1 -1
- package/dist/components/container/index.mjs +1 -2
- package/dist/components/data-view/index.d.mts +1 -1
- package/dist/components/data-view/index.mjs +1 -2
- package/dist/components/date-input/index.d.mts +2 -4
- package/dist/components/date-input/index.mjs +3 -4
- package/dist/components/date-picker/index.d.mts +2 -4
- package/dist/components/date-picker/index.mjs +3 -4
- package/dist/components/deferred-content/index.d.mts +1 -1
- package/dist/components/deferred-content/index.mjs +1 -2
- package/dist/components/descriptions/index.d.mts +1 -1
- package/dist/components/descriptions/index.mjs +3 -4
- package/dist/components/dialog/index.d.mts +7 -5
- package/dist/components/dialog/index.mjs +10 -7
- package/dist/components/dock/index.d.mts +1 -1
- package/dist/components/dock/index.mjs +1 -2
- package/dist/components/download-trigger/index.d.mts +0 -2
- package/dist/components/download-trigger/index.mjs +2 -3
- package/dist/components/drawer/index.d.mts +2 -4
- package/dist/components/drawer/index.mjs +3 -4
- package/dist/components/dynamic-input/index.d.mts +1 -1
- package/dist/components/dynamic-input/index.mjs +1 -2
- package/dist/components/editable/index.d.mts +2 -4
- package/dist/components/editable/index.mjs +3 -4
- package/dist/components/ellipsis/index.d.mts +1 -1
- package/dist/components/ellipsis/index.mjs +1 -2
- package/dist/components/empty/index.d.mts +1 -1
- package/dist/components/empty/index.mjs +1 -2
- package/dist/components/field/index.d.mts +2 -4
- package/dist/components/field/index.mjs +3 -4
- package/dist/components/fieldset/index.d.mts +2 -4
- package/dist/components/fieldset/index.mjs +3 -4
- package/dist/components/file-upload/index.d.mts +2 -4
- package/dist/components/file-upload/index.mjs +3 -4
- package/dist/components/float-button/index.d.mts +1 -1
- package/dist/components/float-button/index.mjs +3 -4
- package/dist/components/floating-panel/index.d.mts +2 -4
- package/dist/components/floating-panel/index.mjs +3 -4
- package/dist/components/focus-trap/index.d.mts +0 -2
- package/dist/components/focus-trap/index.mjs +2 -3
- package/dist/components/form/index.d.mts +1 -1
- package/dist/components/form/index.mjs +1 -2
- package/dist/components/format/index.d.mts +1 -3
- package/dist/components/format/index.mjs +1 -2
- package/dist/components/frame/index.d.mts +1 -3
- package/dist/components/frame/index.mjs +2 -3
- package/dist/components/grid/index.d.mts +1 -1
- package/dist/components/grid/index.mjs +1 -2
- package/dist/components/highlight/index.d.mts +1 -3
- package/dist/components/highlight/index.mjs +2 -3
- package/dist/components/hover-card/index.d.mts +2 -4
- package/dist/components/hover-card/index.mjs +3 -4
- package/dist/components/icon/index.d.mts +1 -1
- package/dist/components/icon/index.mjs +1 -2
- package/dist/components/image/index.d.mts +1 -1
- package/dist/components/image/index.mjs +1 -2
- package/dist/components/image-cropper/index.d.mts +2 -4
- package/dist/components/image-cropper/index.mjs +3 -4
- package/dist/components/image-viewer/index.d.mts +1 -1
- package/dist/components/image-viewer/index.mjs +3 -4
- package/dist/components/input/index.d.mts +1 -1
- package/dist/components/input/index.mjs +3 -4
- package/dist/components/input-group/index.d.mts +1 -1
- package/dist/components/input-group/index.mjs +1 -2
- package/dist/components/json-tree-view/index.d.mts +2 -4
- package/dist/components/json-tree-view/index.mjs +3 -4
- package/dist/components/kbd/index.d.mts +1 -1
- package/dist/components/kbd/index.mjs +1 -2
- package/dist/components/layout/index.d.mts +1 -1
- package/dist/components/layout/index.mjs +1 -2
- package/dist/components/link/index.d.mts +1 -1
- package/dist/components/link/index.mjs +1 -2
- package/dist/components/list/index.d.mts +1 -1
- package/dist/components/list/index.mjs +1 -2
- package/dist/components/listbox/index.d.mts +1 -1
- package/dist/components/listbox/index.mjs +3 -4
- package/dist/components/marquee/index.d.mts +2 -4
- package/dist/components/marquee/index.mjs +3 -4
- package/dist/components/masonry/index.d.mts +1 -1
- package/dist/components/masonry/index.mjs +1 -2
- package/dist/components/media-player/index.d.mts +2 -2
- package/dist/components/media-player/index.mjs +2 -2
- package/dist/components/mentions/index.d.mts +3 -3
- package/dist/components/mentions/index.mjs +14 -2
- package/dist/components/menu/index.d.mts +2 -4
- package/dist/components/menu/index.mjs +3 -4
- package/dist/components/menubar/index.d.mts +1 -1
- package/dist/components/menubar/index.mjs +3 -4
- package/dist/components/meter/index.d.mts +1 -1
- package/dist/components/meter/index.mjs +1 -2
- package/dist/components/navigation-menu/index.d.mts +2 -4
- package/dist/components/navigation-menu/index.mjs +3 -4
- package/dist/components/number-input/index.d.mts +2 -4
- package/dist/components/number-input/index.mjs +3 -4
- package/dist/components/order-list/index.d.mts +1 -1
- package/dist/components/order-list/index.mjs +1 -2
- package/dist/components/page-header/index.d.mts +1 -1
- package/dist/components/page-header/index.mjs +1 -2
- package/dist/components/pagination/index.d.mts +2 -4
- package/dist/components/pagination/index.mjs +3 -4
- package/dist/components/password-input/index.d.mts +2 -4
- package/dist/components/password-input/index.mjs +3 -4
- package/dist/components/pin-input/index.d.mts +2 -4
- package/dist/components/pin-input/index.mjs +3 -4
- package/dist/components/popconfirm/index.d.mts +1 -1
- package/dist/components/popconfirm/index.mjs +7 -1
- package/dist/components/popover/index.d.mts +2 -11
- package/dist/components/popover/index.mjs +3 -4
- package/dist/components/presence/index.d.mts +0 -2
- package/dist/components/presence/index.mjs +2 -3
- package/dist/components/progress/index.d.mts +2 -4
- package/dist/components/progress/index.mjs +3 -4
- package/dist/components/progress-group/index.d.mts +1 -1
- package/dist/components/progress-group/index.mjs +1 -2
- package/dist/components/qr-code/index.d.mts +2 -4
- package/dist/components/qr-code/index.mjs +3 -4
- package/dist/components/radio-group/index.d.mts +2 -4
- package/dist/components/radio-group/index.mjs +3 -4
- package/dist/components/rating-group/index.d.mts +2 -4
- package/dist/components/rating-group/index.mjs +3 -4
- package/dist/components/result/index.d.mts +1 -3
- package/dist/components/result/index.mjs +1 -2
- package/dist/components/scroll-area/index.d.mts +2 -4
- package/dist/components/scroll-area/index.mjs +3 -4
- package/dist/components/segment-group/index.d.mts +2 -4
- package/dist/components/segment-group/index.mjs +3 -4
- package/dist/components/select/index.d.mts +1 -1
- package/dist/components/select/index.mjs +1 -2
- package/dist/components/separator/index.d.mts +1 -1
- package/dist/components/separator/index.mjs +1 -2
- package/dist/components/signature-pad/index.d.mts +2 -4
- package/dist/components/signature-pad/index.mjs +3 -4
- package/dist/components/skeleton/index.d.mts +1 -1
- package/dist/components/skeleton/index.mjs +1 -2
- package/dist/components/slider/index.d.mts +2 -4
- package/dist/components/slider/index.mjs +3 -4
- package/dist/components/spinner/index.d.mts +1 -1
- package/dist/components/spinner/index.mjs +3 -4
- package/dist/components/split-button/index.d.mts +1 -1
- package/dist/components/split-button/index.mjs +10 -1
- package/dist/components/splitter/index.d.mts +2 -4
- package/dist/components/splitter/index.mjs +3 -4
- package/dist/components/spotlight/index.d.mts +1 -1
- package/dist/components/spotlight/index.mjs +1 -2
- package/dist/components/stack/index.d.mts +1 -1
- package/dist/components/stack/index.mjs +1 -2
- package/dist/components/stat/index.d.mts +1 -1
- package/dist/components/stat/index.mjs +1 -2
- package/dist/components/steps/index.d.mts +2 -4
- package/dist/components/steps/index.mjs +3 -4
- package/dist/components/swap/index.d.mts +2 -4
- package/dist/components/swap/index.mjs +3 -4
- package/dist/components/switch/index.d.mts +2 -4
- package/dist/components/switch/index.mjs +3 -4
- package/dist/components/table/index.d.mts +1 -1
- package/dist/components/table/index.mjs +1 -2
- package/dist/components/tabs/index.d.mts +2 -4
- package/dist/components/tabs/index.mjs +3 -4
- package/dist/components/tag/index.d.mts +1 -1
- package/dist/components/tag/index.mjs +1 -2
- package/dist/components/tags-input/index.d.mts +2 -4
- package/dist/components/tags-input/index.mjs +3 -4
- package/dist/components/terminal/index.d.mts +1 -1
- package/dist/components/terminal/index.mjs +1 -2
- package/dist/components/textarea/index.d.mts +1 -1
- package/dist/components/textarea/index.mjs +1 -2
- package/dist/components/timeline/index.d.mts +1 -1
- package/dist/components/timeline/index.mjs +1 -2
- package/dist/components/timer/index.d.mts +2 -4
- package/dist/components/timer/index.mjs +3 -4
- package/dist/components/toast/index.d.mts +1 -3
- package/dist/components/toast/index.mjs +3 -4
- package/dist/components/toc/index.d.mts +2 -4
- package/dist/components/toc/index.mjs +3 -4
- package/dist/components/toggle/index.d.mts +2 -4
- package/dist/components/toggle/index.mjs +3 -4
- package/dist/components/toggle-group/index.d.mts +2 -4
- package/dist/components/toggle-group/index.mjs +3 -4
- package/dist/components/toolbar/index.d.mts +1 -1
- package/dist/components/toolbar/index.mjs +1 -2
- package/dist/components/tooltip/index.d.mts +2 -4
- package/dist/components/tooltip/index.mjs +3 -4
- package/dist/components/tour/index.d.mts +1 -3
- package/dist/components/tour/index.mjs +3 -4
- package/dist/components/transfer/index.d.mts +1 -1
- package/dist/components/transfer/index.mjs +10 -1
- package/dist/components/tree-select/index.d.mts +1 -1
- package/dist/components/tree-select/index.mjs +9 -1
- package/dist/components/tree-view/index.d.mts +2 -2
- package/dist/components/tree-view/index.mjs +3 -4
- package/dist/components/typography/index.d.mts +1 -1
- package/dist/components/typography/index.mjs +1 -2
- package/dist/components/user/index.d.mts +1 -1
- package/dist/components/user/index.mjs +1 -2
- package/dist/components/virtual-list/index.d.mts +1 -1
- package/dist/components/virtual-list/index.mjs +1 -2
- package/dist/components/watermark/index.d.mts +1 -1
- package/dist/components/watermark/index.mjs +1 -2
- package/dist/{config-provider-Ca8wCLcK.mjs → config-provider-U05Gby9j.mjs} +4 -6
- package/dist/{container-CkhoYrC5.mjs → container-B-FLzlPR.mjs} +3 -5
- package/dist/{context-Da-QMQRq.mjs → context-Ds8BTSHZ.mjs} +1 -2
- package/dist/{data-view-Ls3J45mK.mjs → data-view-zSR4B01l.mjs} +4 -6
- package/dist/{deferred-content-SoEpwCs-.mjs → deferred-content-Bue-jQuC.mjs} +3 -5
- package/dist/{dock-BFyqUHAo.mjs → dock-BiSx545H.mjs} +3 -6
- package/dist/{dynamic-input-BpzL0Fe-.mjs → dynamic-input-DZRTIHK6.mjs} +6 -8
- package/dist/{ellipsis-ChktH2CQ.mjs → ellipsis-Cln7LMuU.mjs} +3 -5
- package/dist/{empty-CINZ_PLj.mjs → empty-bTEJeiAO.mjs} +6 -12
- package/dist/family-Dc5a-Kr6.d.mts +5 -0
- package/dist/{family-CzLaku1F.mjs → family-lE_Nnow1.mjs} +1 -2
- package/dist/{form-pjuBsPy-.mjs → form-DovYD07u.mjs} +5 -9
- package/dist/generative/index.d.mts +0 -2
- package/dist/generative/index.mjs +58 -105
- package/dist/{grid-CinYh-s4.mjs → grid-BMaN0mMs.mjs} +3 -5
- package/dist/{icon-CKL_BxrZ.mjs → icon-CF5OqvV3.mjs} +1 -2
- package/dist/{icon-BF1JO1ek.mjs → icon-_OfVFx2E.mjs} +3 -5
- package/dist/{id-Alz497yI.mjs → id-Cu5GNK9U.mjs} +1 -2
- package/dist/{image-BpWDMvNm.mjs → image-A6Dv3smu.mjs} +4 -6
- package/dist/{index-Cbd88ftD.d.mts → index-454z2oXL.d.mts} +0 -4
- package/dist/{index-DEWaAoNb.d.mts → index-4q1Yim5e.d.mts} +0 -4
- package/dist/{index-BiwW7REL.d.mts → index-51WOrICo.d.mts} +0 -4
- package/dist/{index-CXbdZAgD.d.mts → index-52MdT-oe.d.mts} +0 -4
- package/dist/{index-g_LJvZJ-.d.mts → index-Acprq4-Y.d.mts} +1 -5
- package/dist/{index-FRLzt_CK.d.mts → index-B06szRQ2.d.mts} +1 -7
- package/dist/{index-BIHw8Gzt.d.mts → index-B1xVmgtV.d.mts} +4 -7
- package/dist/{index-CgnQmll5.d.mts → index-B2UV8SoD.d.mts} +1 -5
- package/dist/{index-Dxktk3O7.d.mts → index-B3UON-jd.d.mts} +0 -4
- package/dist/{index-DC6AI8rV.d.mts → index-B78gmnDf.d.mts} +0 -4
- package/dist/{index-9GiGGnGa.d.mts → index-B9EH2i9C.d.mts} +5 -8
- package/dist/{index-oF_zauHL.d.mts → index-B9YuWZp_.d.mts} +0 -4
- package/dist/{index-ChqP3kbL.d.mts → index-BAMNM_YL.d.mts} +0 -4
- package/dist/{index-DQAelfXy.d.mts → index-BLH7JTCS.d.mts} +0 -4
- package/dist/{index-DzohdB6p.d.mts → index-BMETg0NK.d.mts} +0 -4
- package/dist/{index-ByxBpSC4.d.mts → index-BWnNmvFT.d.mts} +0 -4
- package/dist/{index-C0CAf6mV.d.mts → index-B_6PeZPm.d.mts} +1 -5
- package/dist/{index-C0aalhwd.d.mts → index-BdEUm3El.d.mts} +0 -4
- package/dist/{index-CWzdSZ-F.d.mts → index-BkP683Vc.d.mts} +4 -7
- package/dist/index-Bq0kkOF3.d.mts +163 -0
- package/dist/{index-DpzuwMB7.d.mts → index-Bs4iuOZe.d.mts} +0 -4
- package/dist/index-BvmZ-09N.d.mts +40 -0
- package/dist/{index-e1MA6eIk.d.mts → index-BvmhwD1f.d.mts} +0 -4
- package/dist/{index-DQL1l90b.d.mts → index-C0wl90jI.d.mts} +0 -6
- package/dist/{index-DkvQPyaW.d.mts → index-C2E8HzWy.d.mts} +0 -4
- package/dist/{index-C-wU4kAX.d.mts → index-C3ERrn0b.d.mts} +4 -7
- package/dist/{index-DwVr4QfC.d.mts → index-C3FVLNny.d.mts} +0 -4
- package/dist/{index-CJsLok79.d.mts → index-C5FsU-Bk.d.mts} +0 -4
- package/dist/{index-njppQnYT.d.mts → index-C6r0idvG.d.mts} +1 -5
- package/dist/{index-IR-e1YzH.d.mts → index-C84Xq9qE.d.mts} +0 -4
- package/dist/{index-C6UrUbj8.d.mts → index-C9phZHZu.d.mts} +0 -4
- package/dist/{index-BoR_54C_.d.mts → index-CNCXZaJM.d.mts} +0 -4
- package/dist/{index-CGk6TYb-.d.mts → index-COZdosac.d.mts} +1 -5
- package/dist/index-CXyumzqL.d.mts +10 -0
- package/dist/{index-BahdqXg4.d.mts → index-C_57Toe4.d.mts} +0 -6
- package/dist/{index-C-sa4baY.d.mts → index-CbZkYEl2.d.mts} +0 -4
- package/dist/{index-CRdyjHjx.d.mts → index-CgizXbKv.d.mts} +0 -4
- package/dist/{index-DWlpILHb.d.mts → index-CiiYxdTw.d.mts} +4 -7
- package/dist/{index-CWNmeq0b.d.mts → index-CkrhLano.d.mts} +0 -4
- package/dist/{index-D61_Lx9o.d.mts → index-CoG_0s0h.d.mts} +0 -4
- package/dist/{index-CnrohEXe.d.mts → index-CrxAEBUN.d.mts} +0 -4
- package/dist/{index-pV9TgrxW.d.mts → index-CsYYt6LG.d.mts} +1 -5
- package/dist/{index-C0b8N_Aa.d.mts → index-CyIlqhTC.d.mts} +0 -4
- package/dist/{index-CZ0P3C6E.d.mts → index-CyJAivLR.d.mts} +0 -4
- package/dist/{index-LXovbafa.d.mts → index-D-rxqV4A.d.mts} +0 -4
- package/dist/{index-CYtinraa.d.mts → index-D2Z80Kar.d.mts} +0 -4
- package/dist/{index-BhXsxcRN.d.mts → index-D8jtp6LD.d.mts} +0 -4
- package/dist/{index-CA0W58ZE.d.mts → index-DAQufCol.d.mts} +0 -4
- package/dist/{index-FmT_lwS7.d.mts → index-DE5qWf39.d.mts} +1 -5
- package/dist/{index-DyAQSYqR.d.mts → index-DMQckZVI.d.mts} +12 -6
- package/dist/{index-DeW7Jrci.d.mts → index-DQeW9BMx.d.mts} +1 -5
- package/dist/{index-DlHvtlYT.d.mts → index-DRW1B8V1.d.mts} +0 -4
- package/dist/{index-BFKqgbq-.d.mts → index-D_vjUc8T.d.mts} +0 -4
- package/dist/{index-CV5LaGMy.d.mts → index-DaBrJozP.d.mts} +0 -4
- package/dist/{index-3TmqYBnT.d.mts → index-DcMmNDU-.d.mts} +0 -4
- package/dist/{index-DH0ecZNW.d.mts → index-DdgeN0Ng.d.mts} +0 -4
- package/dist/{index-CKaCfx0p.d.mts → index-Di2WJqT-.d.mts} +0 -4
- package/dist/{index-DCpx_Rui.d.mts → index-DjdtGK_P.d.mts} +0 -4
- package/dist/{index-BpC1s3zv.d.mts → index-DlHC7607.d.mts} +1 -5
- package/dist/{index-CyVykdGO.d.mts → index-DrhjTobH.d.mts} +0 -4
- package/dist/{index-DKfQGayE.d.mts → index-Dti8xErb.d.mts} +0 -4
- package/dist/{index-DAnDXxRZ.d.mts → index-Duxepy4v.d.mts} +4 -7
- package/dist/{index-CvDp7tiS.d.mts → index-DvNqmeZC.d.mts} +0 -4
- package/dist/{index-znAFQEmQ.d.mts → index-HDYhCKfZ.d.mts} +4 -7
- package/dist/{index-BhTdJwBA.d.mts → index-IJmdYb5n.d.mts} +0 -4
- package/dist/{index-eQIdP9QO.d.mts → index-ItZp2Plw.d.mts} +0 -6
- package/dist/{index-BwUGTQag.d.mts → index-ND9pqiYE.d.mts} +1 -5
- package/dist/{index-D2B6EH5P.d.mts → index-NDFoxs3W.d.mts} +0 -4
- package/dist/{index-evrdvWRI.d.mts → index-Q3Db9wEN.d.mts} +0 -4
- package/dist/{index-BHlsL8ta.d.mts → index-Q9VgvJLD.d.mts} +0 -4
- package/dist/{index-CC_yY588.d.mts → index-_v_fp4pa.d.mts} +4 -7
- package/dist/{index-DGsu3J-2.d.mts → index-bEBDXZ4B.d.mts} +0 -4
- package/dist/{index-C5hCBtt4.d.mts → index-kvWVDke1.d.mts} +2 -4
- package/dist/{index-CmskeLd_.d.mts → index-qyo1-I2l.d.mts} +0 -4
- package/dist/{index-BKZC0MtK.d.mts → index-seXcaHyL.d.mts} +0 -4
- package/dist/index-xveVUurC.d.mts +123 -0
- package/dist/{index-Dq4bm9bV.d.mts → index-ymBJyo20.d.mts} +0 -4
- package/dist/{index-fIWQxtE9.d.mts → index-yuJTtYOg.d.mts} +0 -4
- package/dist/index.d.mts +91 -94
- package/dist/index.mjs +83 -83
- package/dist/{input-group-B-F5Gpvl.mjs → input-group-DiPl6WrU.mjs} +3 -6
- package/dist/{kbd-aFsisVbG.mjs → kbd-BFo9FSAl.mjs} +3 -5
- package/dist/{layout-DquD9Olk.mjs → layout-CAGRxpGd.mjs} +31 -29
- package/dist/{link-qWntJ94C.mjs → link-D8AaAyGj.mjs} +3 -5
- package/dist/{list-C-2CqZtn.mjs → list-C0gqAPZY.mjs} +6 -12
- package/dist/{masonry-CDKPD9gL.mjs → masonry-BXagROhe.mjs} +3 -5
- package/dist/{media-player-DkAUU7NN.mjs → media-player-CKfDuIMr.mjs} +24 -44
- package/dist/{messages-DNzA55pH.mjs → messages-BZoDXYu3.mjs} +2 -3
- package/dist/{meter-BUcdK4Ln.mjs → meter-D4FA9a6M.mjs} +5 -10
- package/dist/{order-list-C8O2NdGR.mjs → order-list-CoS4H4Wf.mjs} +5 -7
- package/dist/{page-header-ByucbXX7.mjs → page-header-gnsRDFEc.mjs} +7 -14
- package/dist/{progress-group-CkFZNtnC.mjs → progress-group-DEnTE2rG.mjs} +3 -5
- package/dist/{props-BZcE7LP_.d.mts → props-B3JgnaIu.d.mts} +0 -2
- package/dist/{props-C2OWII_8.d.mts → props-BCGeiPkX.d.mts} +0 -2
- package/dist/{props-Dr7ABUbp.d.mts → props-BCaZ82OV.d.mts} +0 -2
- package/dist/{props-DL-XfEtS.d.mts → props-BTFG2WVw.d.mts} +15 -7
- package/dist/{props-D93CbAiS.d.mts → props-D_5q9QQF.d.mts} +0 -2
- package/dist/{props-BvDM6-cm.d.mts → props-_GN94tW2.d.mts} +0 -2
- package/dist/{result-BRbQTUeW.mjs → result-BT9cir7u.mjs} +7 -13
- package/dist/{select-DuSzjsoK.mjs → select-DqF4a1Ek.mjs} +5 -7
- package/dist/{separator-I0MEoHjO.mjs → separator-uapnB2RA.mjs} +3 -5
- package/dist/{skeleton-BHn0Emeh.mjs → skeleton-CgYKQ7Hp.mjs} +3 -5
- package/dist/{spotlight-Apoc1iQX.mjs → spotlight-D-55UCwc.mjs} +3 -5
- package/dist/{stack-uMjCwn_2.mjs → stack-DQuY60M4.mjs} +3 -5
- package/dist/{stat-DQ-5P4Gr.mjs → stat-CGmsB4Gt.mjs} +6 -12
- package/dist/{table-N8W6Jcaj.mjs → table-DN7VR65O.mjs} +8 -11
- package/dist/{tag-CXAD4ox2.mjs → tag-DpuHqCaX.mjs} +4 -6
- package/dist/terminal-ZGRocdIt.mjs +90 -0
- package/dist/{textarea-ClX5LWLE.mjs → textarea-D10nUiTa.mjs} +3 -5
- package/dist/{timeline-RyLnUiMA.mjs → timeline-DWk02xFJ.mjs} +5 -10
- package/dist/{toolbar-BTM5B0Nt.mjs → toolbar-CbnuHMXx.mjs} +3 -5
- package/dist/{typography-DUWj7wex.mjs → typography-Cr4CXUpW.mjs} +7 -14
- package/dist/{use-media-controls-BYYG0DgO.mjs → use-media-controls-Bqz-x0MH.mjs} +1 -2
- package/dist/{use-tour-BfS5dCZb.mjs → use-tour-DkVIh_cp.mjs} +4 -7
- package/dist/{user--GneY3yN.mjs → user-SbqJ1Iyq.mjs} +3 -5
- package/dist/{virtual-list-h85_wJw5.mjs → virtual-list-BkDk6-W8.mjs} +3 -5
- package/dist/{watermark-CHUTjZ6E.mjs → watermark-dyob2zlj.mjs} +3 -5
- package/package.json +13 -13
- package/dist/AiLoader-C7LALoXc.mjs +0 -113
- package/dist/Dialog-91oyw8Pi.mjs +0 -178
- package/dist/Tabs-qsZIc6by.mjs +0 -146
- package/dist/ai-prompt-input-CMVRbC0T.mjs +0 -296
- package/dist/ai-tool-Dew8XiYk.mjs +0 -118
- package/dist/index-CacS_uni.d.mts +0 -10418
- package/dist/index-D_fO4kp1.d.mts +0 -76
- package/dist/mentions-fRKivTvN.mjs +0 -256
- package/dist/props-B9YcQX8X.d.mts +0 -18
- package/dist/props-CIwO25eA.d.mts +0 -12
- package/dist/terminal-DQAU6DW7.mjs +0 -81
- package/dist/use-mentions-DeF_38di.mjs +0 -93
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/progress-group/ProgressGroup.svelte
|
|
6
6
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -70,13 +70,11 @@ function ProgressGroup$1($$anchor, $$props) {
|
|
|
70
70
|
$.append($$anchor, div);
|
|
71
71
|
$.pop();
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
//#region src/components/progress-group/index.ts
|
|
73
|
+
// src/components/progress-group/index.ts
|
|
75
74
|
/** One bar, several verdicts: the segments stand shoulder to shoulder,
|
|
76
75
|
* each as wide as its share of the whole and speaking its own pigment;
|
|
77
76
|
* the legend reads them back beneath (swatch, label, value) unless the
|
|
78
77
|
* caller declines it. The whole is the sum of the parts unless the
|
|
79
78
|
* caller brings a larger one — the remainder then shows as groove. */
|
|
80
79
|
const ProgressGroup = withSelfRoot(ProgressGroup$1);
|
|
81
|
-
//#endregion
|
|
82
80
|
export { ProgressGroup as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Snippet } from "svelte";
|
|
2
2
|
import { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
//#region src/components/ai-reasoning/props.d.ts
|
|
4
3
|
interface ReasoningProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
4
|
/** The trigger's words — the fold arrives open under them. */
|
|
6
5
|
label?: string;
|
|
@@ -8,5 +7,4 @@ interface ReasoningProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
8
7
|
defaultOpen?: boolean;
|
|
9
8
|
children?: Snippet;
|
|
10
9
|
}
|
|
11
|
-
//#endregion
|
|
12
10
|
export { ReasoningProps as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Snippet } from "svelte";
|
|
2
2
|
import { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
//#region src/components/ai-source/props.d.ts
|
|
4
3
|
interface SourceProps extends HTMLAttributes<HTMLAnchorElement> {
|
|
5
4
|
/** Where the ink came from — also the link text when no children
|
|
6
5
|
* are given; opens in a new tab, referrer-free. */
|
|
@@ -10,5 +9,4 @@ interface SourceProps extends HTMLAttributes<HTMLAnchorElement> {
|
|
|
10
9
|
interface SourcesProps extends HTMLAttributes<HTMLOListElement> {
|
|
11
10
|
children?: Snippet;
|
|
12
11
|
}
|
|
13
|
-
//#endregion
|
|
14
12
|
export { SourcesProps as n, SourceProps as t };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes } from "svelte/elements";
|
|
2
|
-
//#region src/components/ai-suggestion/props.d.ts
|
|
3
2
|
interface SuggestionProps extends HTMLAttributes<HTMLButtonElement> {
|
|
4
3
|
/** The next stroke this seal proposes — also its label; handed
|
|
5
4
|
* back whole on `onSelect`. */
|
|
6
5
|
prompt: string;
|
|
7
6
|
onSelect?: (prompt: string) => void;
|
|
8
7
|
}
|
|
9
|
-
//#endregion
|
|
10
8
|
export { SuggestionProps as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as MentionPlacement, i as MentionEntry, o as MentionTriggers, r as MentionCommitKey } from "./index-xveVUurC.mjs";
|
|
2
2
|
import { Snippet } from "svelte";
|
|
3
3
|
import { HTMLAttributes } from "svelte/elements";
|
|
4
|
-
//#region src/components/ai-prompt-input/props.d.ts
|
|
5
4
|
interface PromptInputProps extends HTMLAttributes<HTMLFormElement> {
|
|
6
5
|
/** The draft in the vessel — bind `value`; it clears itself on a
|
|
7
6
|
* successful submit. */
|
|
@@ -17,14 +16,24 @@ interface PromptInputProps extends HTMLAttributes<HTMLFormElement> {
|
|
|
17
16
|
/** The machine is working — the seal becomes a stop seal and Enter
|
|
18
17
|
* holds its breath. */
|
|
19
18
|
busy?: boolean;
|
|
20
|
-
/** Mention candidates for the field: pass the roster
|
|
21
|
-
* character (`@` unless told otherwise) and
|
|
22
|
-
*
|
|
23
|
-
* waits. */
|
|
19
|
+
/** Mention candidates for the field: pass the roster, the summon
|
|
20
|
+
* character(s) (`@` unless told otherwise), and whether a selection
|
|
21
|
+
* rewrites the composer text. While candidates are up, a configured
|
|
22
|
+
* commit key inserts and the send waits. */
|
|
24
23
|
mentions?: {
|
|
25
24
|
items: MentionEntry[];
|
|
26
25
|
trigger?: string;
|
|
26
|
+
triggers?: MentionTriggers;
|
|
27
|
+
insertOnSelect?: boolean;
|
|
28
|
+
/** Defaults to Enter, Space and Tab for the composer. */
|
|
29
|
+
commitKeys?: MentionCommitKey[];
|
|
30
|
+
/** Defaults above the composer. */
|
|
31
|
+
placement?: MentionPlacement;
|
|
32
|
+
/** Remove the live `/command` query after a no-insert selection. */
|
|
33
|
+
clearQueryOnSelect?: boolean;
|
|
27
34
|
};
|
|
35
|
+
/** A candidate was confirmed; the whole entry rides back. */
|
|
36
|
+
onSelect?: (entry: MentionEntry) => void;
|
|
28
37
|
/** Attachments riding above the text. */
|
|
29
38
|
header?: Snippet;
|
|
30
39
|
/** The tools at the text's left. */
|
|
@@ -38,5 +47,4 @@ interface PromptInputProps extends HTMLAttributes<HTMLFormElement> {
|
|
|
38
47
|
* default when a footer is present. */
|
|
39
48
|
footerEnd?: Snippet;
|
|
40
49
|
}
|
|
41
|
-
//#endregion
|
|
42
50
|
export { PromptInputProps as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes } from "svelte/elements";
|
|
2
|
-
//#region src/components/ai-response/props.d.ts
|
|
3
2
|
interface ResponseProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
3
|
/** The markdown text to set on the paper — streamed in freely; raw
|
|
5
4
|
* HTML and executable links stay inert. */
|
|
@@ -12,5 +11,4 @@ interface ResponseProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
12
11
|
/** The copy stamp's accessible name once the text has landed. */
|
|
13
12
|
copiedLabel?: string;
|
|
14
13
|
}
|
|
15
|
-
//#endregion
|
|
16
14
|
export { ResponseProps as t };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Snippet } from "svelte";
|
|
2
2
|
import { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
//#region src/components/ai-action/props.d.ts
|
|
4
3
|
interface ActionProps extends HTMLAttributes<HTMLButtonElement> {
|
|
5
4
|
/** What the button does, spoken to assistive tech and shown as the
|
|
6
5
|
* hover title — copy, retry, thumbs. */
|
|
7
6
|
label: string;
|
|
8
7
|
children?: Snippet;
|
|
9
8
|
}
|
|
10
|
-
//#endregion
|
|
11
9
|
export { ActionProps as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as iconBody } from "./icon-
|
|
1
|
+
import { t as iconBody } from "./icon-CF5OqvV3.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/result/Description.svelte
|
|
6
6
|
var rest_excludes$4 = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -26,8 +26,7 @@ function Description($$anchor, $$props) {
|
|
|
26
26
|
$.append($$anchor, p);
|
|
27
27
|
$.pop();
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
//#region src/components/result/Extra.svelte
|
|
29
|
+
// src/components/result/Extra.svelte
|
|
31
30
|
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
32
31
|
"$$slots",
|
|
33
32
|
"$$events",
|
|
@@ -51,8 +50,7 @@ function Extra($$anchor, $$props) {
|
|
|
51
50
|
$.append($$anchor, div);
|
|
52
51
|
$.pop();
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
//#region src/components/result/Result.svelte
|
|
53
|
+
// src/components/result/Result.svelte
|
|
56
54
|
var rest_excludes$2 = /* @__PURE__ */ new Set([
|
|
57
55
|
"$$slots",
|
|
58
56
|
"$$events",
|
|
@@ -79,8 +77,7 @@ function Result$1($$anchor, $$props) {
|
|
|
79
77
|
$.append($$anchor, div);
|
|
80
78
|
$.pop();
|
|
81
79
|
}
|
|
82
|
-
|
|
83
|
-
//#region src/components/result/ResultIcon.svelte
|
|
80
|
+
// src/components/result/ResultIcon.svelte
|
|
84
81
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
85
82
|
"$$slots",
|
|
86
83
|
"$$events",
|
|
@@ -121,8 +118,7 @@ function ResultIcon($$anchor, $$props) {
|
|
|
121
118
|
$.append($$anchor, div);
|
|
122
119
|
$.pop();
|
|
123
120
|
}
|
|
124
|
-
|
|
125
|
-
//#region src/components/result/Title.svelte
|
|
121
|
+
// src/components/result/Title.svelte
|
|
126
122
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
127
123
|
"$$slots",
|
|
128
124
|
"$$events",
|
|
@@ -146,8 +142,7 @@ function Title($$anchor, $$props) {
|
|
|
146
142
|
$.append($$anchor, h3);
|
|
147
143
|
$.pop();
|
|
148
144
|
}
|
|
149
|
-
|
|
150
|
-
//#region src/components/result/index.ts
|
|
145
|
+
// src/components/result/index.ts
|
|
151
146
|
/** A verdict drawn after the deed — Result, Result.Icon, Result.Title,
|
|
152
147
|
* Result.Description, Result.Extra. */
|
|
153
148
|
const Result = Object.assign(Result$1, {
|
|
@@ -157,5 +152,4 @@ const Result = Object.assign(Result$1, {
|
|
|
157
152
|
Description,
|
|
158
153
|
Extra
|
|
159
154
|
});
|
|
160
|
-
//#endregion
|
|
161
155
|
export { Result as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as withSelfRoot, t as defineFamily } from "./family-
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
3
|
-
import { n as SelectRoot, t as Select$2 } from "./Select-
|
|
1
|
+
import { n as withSelfRoot, t as defineFamily } from "./family-lE_Nnow1.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-34cw8jr_.mjs";
|
|
3
|
+
import { n as SelectRoot, t as Select$2 } from "./Select-BbQQihFi.mjs";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as $ from "svelte/internal/client";
|
|
6
6
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
7
7
|
import { useFieldContext } from "@ark-ui/svelte/field";
|
|
8
8
|
import { Select } from "@ark-ui/svelte/select";
|
|
9
|
-
|
|
9
|
+
// src/components/select/NativeSelect.svelte
|
|
10
10
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
11
11
|
"$$slots",
|
|
12
12
|
"$$events",
|
|
@@ -87,8 +87,7 @@ function NativeSelect$1($$anchor, $$props) {
|
|
|
87
87
|
$.append($$anchor, span);
|
|
88
88
|
$.pop();
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
//#region src/components/select/index.ts
|
|
90
|
+
// src/components/select/index.ts
|
|
92
91
|
/** Ark's Select, dressed in the paper-and-ink system: the trigger is the
|
|
93
92
|
* whole control and its list dissolves open as a paper vessel, the checked
|
|
94
93
|
* row taking the flat ink fill. The API is Ark's own — Root, Label, Control,
|
|
@@ -100,5 +99,4 @@ const Select$1 = defineFamily(Select$2, {
|
|
|
100
99
|
});
|
|
101
100
|
/** The platform's own list wearing the control recipe. */
|
|
102
101
|
const NativeSelect = withSelfRoot(NativeSelect$1);
|
|
103
|
-
//#endregion
|
|
104
102
|
export { Select$1 as n, NativeSelect as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/separator/Separator.svelte
|
|
6
6
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -27,11 +27,9 @@ function Separator$1($$anchor, $$props) {
|
|
|
27
27
|
$.append($$anchor, div);
|
|
28
28
|
$.pop();
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
//#region src/components/separator/index.ts
|
|
30
|
+
// src/components/separator/index.ts
|
|
32
31
|
/** The paper-ink hairline as a component: a named rule between sections.
|
|
33
32
|
* Decorative separators drop the separator role, since the page reads
|
|
34
33
|
* fine without them. */
|
|
35
34
|
const Separator = withSelfRoot(Separator$1);
|
|
36
|
-
//#endregion
|
|
37
35
|
export { Separator as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/skeleton/Skeleton.svelte
|
|
6
6
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -22,10 +22,8 @@ function Skeleton$1($$anchor, $$props) {
|
|
|
22
22
|
$.append($$anchor, div);
|
|
23
23
|
$.pop();
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
//#region src/components/skeleton/index.ts
|
|
25
|
+
// src/components/skeleton/index.ts
|
|
27
26
|
/** A waiting sheet of unset paper. Size it from the outside; the breath
|
|
28
27
|
* is the component's own. */
|
|
29
28
|
const Skeleton = withSelfRoot(Skeleton$1);
|
|
30
|
-
//#endregion
|
|
31
29
|
export { Skeleton as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/spotlight/Spotlight.svelte
|
|
6
6
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -43,10 +43,8 @@ function Spotlight$1($$anchor, $$props) {
|
|
|
43
43
|
$.append($$anchor, div);
|
|
44
44
|
$.pop();
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
//#region src/components/spotlight/index.ts
|
|
46
|
+
// src/components/spotlight/index.ts
|
|
48
47
|
/** The ink-light card: a vessel whose rim and face take light from the
|
|
49
48
|
* reader's hand. */
|
|
50
49
|
const Spotlight = withSelfRoot(Spotlight$1);
|
|
51
|
-
//#endregion
|
|
52
50
|
export { Spotlight as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
|
|
5
|
+
// src/components/stack/Stack.svelte
|
|
6
6
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
7
7
|
"$$slots",
|
|
8
8
|
"$$events",
|
|
@@ -49,10 +49,8 @@ function Stack$1($$anchor, $$props) {
|
|
|
49
49
|
$.append($$anchor, div);
|
|
50
50
|
$.pop();
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
//#region src/components/stack/index.ts
|
|
52
|
+
// src/components/stack/index.ts
|
|
54
53
|
/** Whitespace chosen by name: the named steps point at the space ramp
|
|
55
54
|
* so siblings are held apart by one token, never by ad-hoc margins. */
|
|
56
55
|
const Stack = withSelfRoot(Stack$1);
|
|
57
|
-
//#endregion
|
|
58
56
|
export { Stack as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as $ from "svelte/internal/client";
|
|
3
3
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
|
-
|
|
4
|
+
// src/components/stat/Stat.svelte
|
|
5
5
|
var rest_excludes$4 = /* @__PURE__ */ new Set([
|
|
6
6
|
"$$slots",
|
|
7
7
|
"$$events",
|
|
@@ -25,8 +25,7 @@ function Stat$1($$anchor, $$props) {
|
|
|
25
25
|
$.append($$anchor, div);
|
|
26
26
|
$.pop();
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
//#region src/components/stat/StatDelta.svelte
|
|
28
|
+
// src/components/stat/StatDelta.svelte
|
|
30
29
|
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
31
30
|
"$$slots",
|
|
32
31
|
"$$events",
|
|
@@ -52,8 +51,7 @@ function StatDelta($$anchor, $$props) {
|
|
|
52
51
|
$.append($$anchor, span);
|
|
53
52
|
$.pop();
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
//#region src/components/stat/StatDescription.svelte
|
|
54
|
+
// src/components/stat/StatDescription.svelte
|
|
57
55
|
var rest_excludes$2 = /* @__PURE__ */ new Set([
|
|
58
56
|
"$$slots",
|
|
59
57
|
"$$events",
|
|
@@ -77,8 +75,7 @@ function StatDescription($$anchor, $$props) {
|
|
|
77
75
|
$.append($$anchor, p);
|
|
78
76
|
$.pop();
|
|
79
77
|
}
|
|
80
|
-
|
|
81
|
-
//#region src/components/stat/StatLabel.svelte
|
|
78
|
+
// src/components/stat/StatLabel.svelte
|
|
82
79
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
83
80
|
"$$slots",
|
|
84
81
|
"$$events",
|
|
@@ -102,8 +99,7 @@ function StatLabel($$anchor, $$props) {
|
|
|
102
99
|
$.append($$anchor, p);
|
|
103
100
|
$.pop();
|
|
104
101
|
}
|
|
105
|
-
|
|
106
|
-
//#region src/components/stat/StatValue.svelte
|
|
102
|
+
// src/components/stat/StatValue.svelte
|
|
107
103
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
108
104
|
"$$slots",
|
|
109
105
|
"$$events",
|
|
@@ -127,8 +123,7 @@ function StatValue($$anchor, $$props) {
|
|
|
127
123
|
$.append($$anchor, div);
|
|
128
124
|
$.pop();
|
|
129
125
|
}
|
|
130
|
-
|
|
131
|
-
//#region src/components/stat/index.ts
|
|
126
|
+
// src/components/stat/index.ts
|
|
132
127
|
/** One figure on the page: the label whispers what it is, the value
|
|
133
128
|
* states it plainly in tabular figures, the delta reads the direction
|
|
134
129
|
* in the fixed semantic pigments. */
|
|
@@ -139,5 +134,4 @@ const Stat = Object.assign(Stat$1, {
|
|
|
139
134
|
Delta: StatDelta,
|
|
140
135
|
Description: StatDescription
|
|
141
136
|
});
|
|
142
|
-
//#endregion
|
|
143
137
|
export { Stat as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
2
|
-
import { n as iconHtml } from "./icon-
|
|
3
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
4
|
-
import { n as useComponentMessages, t as formatMessage } from "./messages-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
|
+
import { n as iconHtml } from "./icon-CF5OqvV3.mjs";
|
|
3
|
+
import { t as InternalIcon } from "./InternalIcon-34cw8jr_.mjs";
|
|
4
|
+
import { n as useComponentMessages, t as formatMessage } from "./messages-BZoDXYu3.mjs";
|
|
5
5
|
import { Pagination } from "./components/pagination/index.mjs";
|
|
6
|
-
import { n as Select$1 } from "./select-
|
|
6
|
+
import { n as Select$1 } from "./select-DqF4a1Ek.mjs";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as $ from "svelte/internal/client";
|
|
9
9
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
@@ -11,7 +11,7 @@ import { untrack } from "svelte";
|
|
|
11
11
|
import { createListCollection } from "@ark-ui/svelte/select";
|
|
12
12
|
import { FlexRender, FlexRender as FlexRender$1, cellSpanningFeature, columnFilteringFeature, columnOrderingFeature, columnPinningFeature, columnSizingFeature, columnVisibilityFeature, createColumnHelper, createExpandedRowModel, createFilteredRowModel, createPaginatedRowModel, createSortedRowModel, createTable, filterFn_arrIncludes, filterFn_equals, filterFn_inDateRange, filterFn_inNumberRange, filterFn_includesString, filterFn_weakEquals, globalFilteringFeature, rowExpandingFeature, rowPaginationFeature, rowSelectionFeature, rowSortingFeature, sortFn_alphanumeric, sortFn_alphanumericCaseSensitive, sortFn_basic, sortFn_datetime, sortFn_text, sortFn_textCaseSensitive, tableFeatures } from "@tanstack/svelte-table";
|
|
13
13
|
import { createVirtualizer } from "@tanstack/svelte-virtual";
|
|
14
|
-
|
|
14
|
+
// src/components/table/table-utils.ts
|
|
15
15
|
/** The list holding `id` and the index inside it, or null when absent. */
|
|
16
16
|
function findNode(rows, id) {
|
|
17
17
|
for (let index = 0; index < rows.length; index++) {
|
|
@@ -60,8 +60,7 @@ function mark(el, attr, on) {
|
|
|
60
60
|
if (on) el.setAttribute(attr, "");
|
|
61
61
|
else el.removeAttribute(attr);
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
//#region src/components/table/DataTable.svelte
|
|
63
|
+
// src/components/table/DataTable.svelte
|
|
65
64
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
66
65
|
"$$slots",
|
|
67
66
|
"$$events",
|
|
@@ -1037,11 +1036,9 @@ $.delegate([
|
|
|
1037
1036
|
"click",
|
|
1038
1037
|
"input"
|
|
1039
1038
|
]);
|
|
1040
|
-
|
|
1041
|
-
//#region src/components/table/index.ts
|
|
1039
|
+
// src/components/table/index.ts
|
|
1042
1040
|
/** The control recipe as a one-stop data table: sorting, filtering,
|
|
1043
1041
|
* pinning, merging, virtualization, and drag-to-reorder behind one
|
|
1044
1042
|
* component. The API is TanStack's own — columns ride `ColumnDef`. */
|
|
1045
1043
|
const DataTable = withSelfRoot(DataTable$1);
|
|
1046
|
-
//#endregion
|
|
1047
1044
|
export { FlexRender$1 as n, createColumnHelper as r, DataTable as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-34cw8jr_.mjs";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as $ from "svelte/internal/client";
|
|
5
5
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
|
-
|
|
6
|
+
// src/components/tag/Tag.svelte
|
|
7
7
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -130,12 +130,10 @@ function Tag$1($$anchor, $$props) {
|
|
|
130
130
|
$.pop();
|
|
131
131
|
}
|
|
132
132
|
$.delegate(["click"]);
|
|
133
|
-
|
|
134
|
-
//#region src/components/tag/index.ts
|
|
133
|
+
// src/components/tag/index.ts
|
|
135
134
|
/** A small named seal for filtering and cataloguing. The resting shape
|
|
136
135
|
* is a span; `checkable` raises it to a pressed button, and `closable`
|
|
137
136
|
* hangs the removal seal inside — dismissal stays the consumer's state,
|
|
138
137
|
* the way the banner's does. */
|
|
139
138
|
const Tag = withSelfRoot(Tag$1);
|
|
140
|
-
//#endregion
|
|
141
139
|
export { Tag as t };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
|
+
import { n as useComponentMessages } from "./messages-BZoDXYu3.mjs";
|
|
3
|
+
import "svelte/internal/disclose-version";
|
|
4
|
+
import * as $ from "svelte/internal/client";
|
|
5
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
|
+
// src/components/terminal/Terminal.svelte
|
|
7
|
+
var rest_excludes = /* @__PURE__ */ new Set([
|
|
8
|
+
"$$slots",
|
|
9
|
+
"$$events",
|
|
10
|
+
"$$legacy",
|
|
11
|
+
"lines",
|
|
12
|
+
"prompt",
|
|
13
|
+
"placeholder",
|
|
14
|
+
"label",
|
|
15
|
+
"readOnly",
|
|
16
|
+
"onCommand"
|
|
17
|
+
]);
|
|
18
|
+
var root = $.from_html(`<div data-scope="terminal" data-part="line"> </div>`);
|
|
19
|
+
var root_1 = $.from_html(`<div data-scope="terminal" data-part="entry"><span data-scope="terminal" data-part="sigil" aria-hidden="true"> </span> <input data-scope="terminal" data-part="input" spellcheck="false" autocomplete="off"/></div>`);
|
|
20
|
+
var root_2 = $.from_html(`<div><div data-scope="terminal" data-part="scroll"></div> <!></div>`);
|
|
21
|
+
function Terminal$1($$anchor, $$props) {
|
|
22
|
+
$.push($$props, true);
|
|
23
|
+
injectComponentStyle("terminal");
|
|
24
|
+
let lines = $.prop($$props, "lines", 19, () => []), prompt = $.prop($$props, "prompt", 3, "$"), readOnly = $.prop($$props, "readOnly", 3, false), rest = $.rest_props($$props, rest_excludes);
|
|
25
|
+
const messages = useComponentMessages();
|
|
26
|
+
let draft = $.state("");
|
|
27
|
+
let scroll = $.state(void 0);
|
|
28
|
+
const transcript = $.derived(() => lines().join("\n"));
|
|
29
|
+
$.user_effect(() => {
|
|
30
|
+
$.get(transcript);
|
|
31
|
+
$.get(scroll)?.scrollTo({ top: $.get(scroll).scrollHeight });
|
|
32
|
+
});
|
|
33
|
+
function submit() {
|
|
34
|
+
const text = $.get(draft).trim();
|
|
35
|
+
if (!text) return;
|
|
36
|
+
$.set(draft, "");
|
|
37
|
+
$$props.onCommand?.(text);
|
|
38
|
+
}
|
|
39
|
+
var div = root_2();
|
|
40
|
+
$.attribute_effect(div, () => ({
|
|
41
|
+
...rest,
|
|
42
|
+
role: "log",
|
|
43
|
+
"aria-label": $$props.label,
|
|
44
|
+
"data-scope": "terminal",
|
|
45
|
+
"data-part": "root",
|
|
46
|
+
"data-readonly": readOnly() ? "" : void 0
|
|
47
|
+
}));
|
|
48
|
+
var div_1 = $.child(div);
|
|
49
|
+
$.each(div_1, 21, lines, $.index, ($$anchor, line) => {
|
|
50
|
+
var div_2 = root();
|
|
51
|
+
var text_1 = $.only_child(div_2, true);
|
|
52
|
+
$.template_effect(() => $.set_text(text_1, $.get(line)));
|
|
53
|
+
$.append($$anchor, div_2);
|
|
54
|
+
});
|
|
55
|
+
$.reset(div_1);
|
|
56
|
+
$.bind_this(div_1, ($$value) => $.set(scroll, $$value), () => $.get(scroll));
|
|
57
|
+
var node = $.sibling(div_1, 2);
|
|
58
|
+
var consequent = ($$anchor) => {
|
|
59
|
+
var div_3 = root_1();
|
|
60
|
+
var span = $.child(div_3);
|
|
61
|
+
var text_2 = $.only_child(span, true);
|
|
62
|
+
var input = $.sibling(span, 2);
|
|
63
|
+
$.remove_input_defaults(input);
|
|
64
|
+
$.reset(div_3);
|
|
65
|
+
$.template_effect(($0) => {
|
|
66
|
+
$.set_text(text_2, prompt());
|
|
67
|
+
$.set_attribute(input, "placeholder", $$props.placeholder);
|
|
68
|
+
$.set_attribute(input, "aria-label", $0);
|
|
69
|
+
}, [() => $$props.label ?? messages().terminal.commandLine]);
|
|
70
|
+
$.delegated("keydown", input, (event) => {
|
|
71
|
+
if (event.key === "Enter") {
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
submit();
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
$.bind_value(input, () => $.get(draft), ($$value) => $.set(draft, $$value));
|
|
77
|
+
$.append($$anchor, div_3);
|
|
78
|
+
};
|
|
79
|
+
$.if(node, ($$render) => {
|
|
80
|
+
if (!readOnly()) $$render(consequent);
|
|
81
|
+
});
|
|
82
|
+
$.reset(div);
|
|
83
|
+
$.append($$anchor, div);
|
|
84
|
+
$.pop();
|
|
85
|
+
}
|
|
86
|
+
$.delegate(["keydown"]);
|
|
87
|
+
// src/components/terminal/index.ts
|
|
88
|
+
/** A quiet console: the transcript above, the prompt line below. */
|
|
89
|
+
const Terminal = withSelfRoot(Terminal$1);
|
|
90
|
+
export { Terminal as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as withSelfRoot } from "./family-
|
|
1
|
+
import { n as withSelfRoot } from "./family-lE_Nnow1.mjs";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { useFieldContext } from "@ark-ui/svelte/field";
|
|
6
|
-
|
|
6
|
+
// src/components/textarea/Textarea.svelte
|
|
7
7
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -35,11 +35,9 @@ function Textarea$1($$anchor, $$props) {
|
|
|
35
35
|
$.append($$anchor, textarea);
|
|
36
36
|
$.pop();
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
//#region src/components/textarea/index.ts
|
|
38
|
+
// src/components/textarea/index.ts
|
|
40
39
|
/** The bare multi-line input, dressed in the field recipe: border,
|
|
41
40
|
* surface, focus halo — no shadow. Inside a Field.Root it picks up the
|
|
42
41
|
* label wiring and the invalid state from the context. */
|
|
43
42
|
const Textarea = withSelfRoot(Textarea$1);
|
|
44
|
-
//#endregion
|
|
45
43
|
export { Textarea as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as $ from "svelte/internal/client";
|
|
3
3
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
|
-
|
|
4
|
+
// src/components/timeline/Timeline.svelte
|
|
5
5
|
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
6
6
|
"$$slots",
|
|
7
7
|
"$$events",
|
|
@@ -27,8 +27,7 @@ function Timeline$1($$anchor, $$props) {
|
|
|
27
27
|
$.append($$anchor, ol);
|
|
28
28
|
$.pop();
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
//#region src/components/timeline/TimelineContent.svelte
|
|
30
|
+
// src/components/timeline/TimelineContent.svelte
|
|
32
31
|
var rest_excludes$2 = /* @__PURE__ */ new Set([
|
|
33
32
|
"$$slots",
|
|
34
33
|
"$$events",
|
|
@@ -52,8 +51,7 @@ function TimelineContent($$anchor, $$props) {
|
|
|
52
51
|
$.append($$anchor, div);
|
|
53
52
|
$.pop();
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
//#region src/components/timeline/TimelineItem.svelte
|
|
54
|
+
// src/components/timeline/TimelineItem.svelte
|
|
57
55
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
58
56
|
"$$slots",
|
|
59
57
|
"$$events",
|
|
@@ -77,8 +75,7 @@ function TimelineItem($$anchor, $$props) {
|
|
|
77
75
|
$.append($$anchor, li);
|
|
78
76
|
$.pop();
|
|
79
77
|
}
|
|
80
|
-
|
|
81
|
-
//#region src/components/timeline/TimelineMarker.svelte
|
|
78
|
+
// src/components/timeline/TimelineMarker.svelte
|
|
82
79
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
83
80
|
"$$slots",
|
|
84
81
|
"$$events",
|
|
@@ -102,8 +99,7 @@ function TimelineMarker($$anchor, $$props) {
|
|
|
102
99
|
$.append($$anchor, span);
|
|
103
100
|
$.pop();
|
|
104
101
|
}
|
|
105
|
-
|
|
106
|
-
//#region src/components/timeline/index.ts
|
|
102
|
+
// src/components/timeline/index.ts
|
|
107
103
|
/** A line of moments: Root is the ordered thread, Item one moment on it,
|
|
108
104
|
* Marker the point where the thread passes, Content what the moment
|
|
109
105
|
* holds. The hairline between markers is drawn by the stylesheet. */
|
|
@@ -113,5 +109,4 @@ const Timeline = Object.assign(Timeline$1, {
|
|
|
113
109
|
Marker: TimelineMarker,
|
|
114
110
|
Content: TimelineContent
|
|
115
111
|
});
|
|
116
|
-
//#endregion
|
|
117
112
|
export { Timeline as t };
|