@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
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.mjs";
|
|
2
|
+
import { t as Icon } from "./icon-_OfVFx2E.mjs";
|
|
3
|
+
import { n as useComponentMessages, t as formatMessage } from "./messages-BZoDXYu3.mjs";
|
|
4
|
+
import "svelte/internal/disclose-version";
|
|
5
|
+
import * as $ from "svelte/internal/client";
|
|
6
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
7
|
+
import { Tabs } from "@ark-ui/svelte/tabs";
|
|
8
|
+
// src/components/tabs/TabsRoot.svelte
|
|
9
|
+
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
10
|
+
"$$slots",
|
|
11
|
+
"$$events",
|
|
12
|
+
"$$legacy",
|
|
13
|
+
"size",
|
|
14
|
+
"variant",
|
|
15
|
+
"children"
|
|
16
|
+
]);
|
|
17
|
+
function TabsRoot($$anchor, $$props) {
|
|
18
|
+
const generatedId = $.props_id();
|
|
19
|
+
$.push($$props, true);
|
|
20
|
+
injectComponentStyle("tabs");
|
|
21
|
+
let size = $.prop($$props, "size", 3, "md"), variant = $.prop($$props, "variant", 3, "line"), rest = $.rest_props($$props, rest_excludes$1);
|
|
22
|
+
const id = $.derived(() => useElementId("tabs", generatedId, $$props.id));
|
|
23
|
+
var fragment = $.comment();
|
|
24
|
+
var node = $.first_child(fragment);
|
|
25
|
+
$.component(node, () => Tabs.Root, ($$anchor, ArkTabs_Root) => {
|
|
26
|
+
ArkTabs_Root($$anchor, $.spread_props(() => rest, {
|
|
27
|
+
get id() {
|
|
28
|
+
return $.get(id);
|
|
29
|
+
},
|
|
30
|
+
get "data-size"() {
|
|
31
|
+
return size();
|
|
32
|
+
},
|
|
33
|
+
get "data-variant"() {
|
|
34
|
+
return variant();
|
|
35
|
+
},
|
|
36
|
+
children: ($$anchor, $$slotProps) => {
|
|
37
|
+
var fragment_1 = $.comment();
|
|
38
|
+
var node_1 = $.first_child(fragment_1);
|
|
39
|
+
$.snippet(node_1, () => $$props.children ?? $.noop);
|
|
40
|
+
$.append($$anchor, fragment_1);
|
|
41
|
+
},
|
|
42
|
+
$$slots: { default: true }
|
|
43
|
+
}));
|
|
44
|
+
});
|
|
45
|
+
$.append($$anchor, fragment);
|
|
46
|
+
$.pop();
|
|
47
|
+
}
|
|
48
|
+
// src/components/tabs/Tabs.svelte
|
|
49
|
+
var rest_excludes = /* @__PURE__ */ new Set([
|
|
50
|
+
"$$slots",
|
|
51
|
+
"$$events",
|
|
52
|
+
"$$legacy",
|
|
53
|
+
"value",
|
|
54
|
+
"defaultValue",
|
|
55
|
+
"items",
|
|
56
|
+
"variant",
|
|
57
|
+
"orientation",
|
|
58
|
+
"size",
|
|
59
|
+
"scrollable",
|
|
60
|
+
"contentless",
|
|
61
|
+
"closable",
|
|
62
|
+
"onClose",
|
|
63
|
+
"children"
|
|
64
|
+
]);
|
|
65
|
+
var root = $.from_html(`<!> <span> </span>`, 1);
|
|
66
|
+
var root_1 = $.from_html(`<span data-scope="tabs" data-part="item"><!> <button type="button" data-scope="tabs" data-part="close"><!></button></span>`);
|
|
67
|
+
var root_2 = $.from_html(`<!> <!>`, 1);
|
|
68
|
+
var root_3 = $.from_html(`<!> <!> <!>`, 1);
|
|
69
|
+
function Tabs$1($$anchor, $$props) {
|
|
70
|
+
$.push($$props, true);
|
|
71
|
+
injectComponentStyle("tabs");
|
|
72
|
+
/** Show a close control for this item; `closable` on the facade sets
|
|
73
|
+
* the default for every item. */
|
|
74
|
+
/** A curated core icon name beside the label. */
|
|
75
|
+
let value = $.prop($$props, "value", 15), variant = $.prop($$props, "variant", 3, "line"), orientation = $.prop($$props, "orientation", 3, "horizontal"), size = $.prop($$props, "size", 3, "md"), scrollable = $.prop($$props, "scrollable", 3, false), contentless = $.prop($$props, "contentless", 3, false), closable = $.prop($$props, "closable", 3, false), rest = $.rest_props($$props, rest_excludes);
|
|
76
|
+
/** Make the strip scroll sideways instead of wrapping or overflowing. */
|
|
77
|
+
/** Trigger-only tabs: session labels with no mounted panel. */
|
|
78
|
+
/** The default close affordance for items that do not override it. */
|
|
79
|
+
/** The request to remove a tab. */
|
|
80
|
+
const messages = useComponentMessages();
|
|
81
|
+
const close = (item) => $$props.onClose?.(item);
|
|
82
|
+
TabsRoot($$anchor, $.spread_props({
|
|
83
|
+
get defaultValue() {
|
|
84
|
+
return $$props.defaultValue;
|
|
85
|
+
},
|
|
86
|
+
get size() {
|
|
87
|
+
return size();
|
|
88
|
+
},
|
|
89
|
+
get "data-variant"() {
|
|
90
|
+
return variant();
|
|
91
|
+
},
|
|
92
|
+
get orientation() {
|
|
93
|
+
return orientation();
|
|
94
|
+
}
|
|
95
|
+
}, () => rest, {
|
|
96
|
+
get value() {
|
|
97
|
+
return value();
|
|
98
|
+
},
|
|
99
|
+
set value($$value) {
|
|
100
|
+
value($$value);
|
|
101
|
+
},
|
|
102
|
+
children: ($$anchor, $$slotProps) => {
|
|
103
|
+
var fragment_1 = root_3();
|
|
104
|
+
var node = $.first_child(fragment_1);
|
|
105
|
+
{
|
|
106
|
+
let $0 = $.derived(() => scrollable() ? "" : void 0);
|
|
107
|
+
$.component(node, () => Tabs.List, ($$anchor, ArkTabs_List) => {
|
|
108
|
+
ArkTabs_List($$anchor, {
|
|
109
|
+
get "data-scrollable"() {
|
|
110
|
+
return $.get($0);
|
|
111
|
+
},
|
|
112
|
+
children: ($$anchor, $$slotProps) => {
|
|
113
|
+
var fragment_2 = root_2();
|
|
114
|
+
var node_1 = $.first_child(fragment_2);
|
|
115
|
+
$.each(node_1, 17, () => $$props.items, (item) => item.value, ($$anchor, item) => {
|
|
116
|
+
const itemClosable = $.derived(() => $.get(item).closable ?? closable());
|
|
117
|
+
var fragment_3 = $.comment();
|
|
118
|
+
var node_2 = $.first_child(fragment_3);
|
|
119
|
+
var consequent_1 = ($$anchor) => {
|
|
120
|
+
var fragment_4 = $.comment();
|
|
121
|
+
var node_3 = $.first_child(fragment_4);
|
|
122
|
+
$.component(node_3, () => Tabs.Trigger, ($$anchor, ArkTabs_Trigger) => {
|
|
123
|
+
ArkTabs_Trigger($$anchor, {
|
|
124
|
+
get value() {
|
|
125
|
+
return $.get(item).value;
|
|
126
|
+
},
|
|
127
|
+
get disabled() {
|
|
128
|
+
return $.get(item).disabled;
|
|
129
|
+
},
|
|
130
|
+
children: ($$anchor, $$slotProps) => {
|
|
131
|
+
var fragment_5 = root();
|
|
132
|
+
var node_4 = $.first_child(fragment_5);
|
|
133
|
+
var consequent = ($$anchor) => {
|
|
134
|
+
Icon($$anchor, { get name() {
|
|
135
|
+
return $.get(item).icon;
|
|
136
|
+
} });
|
|
137
|
+
};
|
|
138
|
+
$.if(node_4, ($$render) => {
|
|
139
|
+
if ($.get(item).icon) $$render(consequent);
|
|
140
|
+
});
|
|
141
|
+
var span = $.sibling(node_4, 2);
|
|
142
|
+
var text = $.only_child(span, true);
|
|
143
|
+
$.template_effect(() => $.set_text(text, $.get(item).label));
|
|
144
|
+
$.append($$anchor, fragment_5);
|
|
145
|
+
},
|
|
146
|
+
$$slots: { default: true }
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
$.append($$anchor, fragment_4);
|
|
150
|
+
};
|
|
151
|
+
var alternate = ($$anchor) => {
|
|
152
|
+
var span_1 = root_1();
|
|
153
|
+
var node_5 = $.child(span_1);
|
|
154
|
+
$.component(node_5, () => Tabs.Trigger, ($$anchor, ArkTabs_Trigger_1) => {
|
|
155
|
+
ArkTabs_Trigger_1($$anchor, {
|
|
156
|
+
get value() {
|
|
157
|
+
return $.get(item).value;
|
|
158
|
+
},
|
|
159
|
+
get disabled() {
|
|
160
|
+
return $.get(item).disabled;
|
|
161
|
+
},
|
|
162
|
+
"data-closable": "",
|
|
163
|
+
children: ($$anchor, $$slotProps) => {
|
|
164
|
+
var fragment_7 = root();
|
|
165
|
+
var node_6 = $.first_child(fragment_7);
|
|
166
|
+
var consequent_2 = ($$anchor) => {
|
|
167
|
+
Icon($$anchor, { get name() {
|
|
168
|
+
return $.get(item).icon;
|
|
169
|
+
} });
|
|
170
|
+
};
|
|
171
|
+
$.if(node_6, ($$render) => {
|
|
172
|
+
if ($.get(item).icon) $$render(consequent_2);
|
|
173
|
+
});
|
|
174
|
+
var span_2 = $.sibling(node_6, 2);
|
|
175
|
+
var text_1 = $.only_child(span_2, true);
|
|
176
|
+
$.template_effect(() => $.set_text(text_1, $.get(item).label));
|
|
177
|
+
$.append($$anchor, fragment_7);
|
|
178
|
+
},
|
|
179
|
+
$$slots: { default: true }
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
var button = $.sibling(node_5, 2);
|
|
183
|
+
var node_7 = $.child(button);
|
|
184
|
+
Icon(node_7, { name: "x" });
|
|
185
|
+
$.reset(button);
|
|
186
|
+
$.reset(span_1);
|
|
187
|
+
$.template_effect(($0) => {
|
|
188
|
+
$.set_attribute(button, "aria-label", $0);
|
|
189
|
+
button.disabled = $.get(item).disabled;
|
|
190
|
+
}, [() => formatMessage(messages().tabs.closeTab, { name: $.get(item).label })]);
|
|
191
|
+
$.delegated("click", button, (event) => {
|
|
192
|
+
event.preventDefault();
|
|
193
|
+
event.stopPropagation();
|
|
194
|
+
close($.get(item));
|
|
195
|
+
});
|
|
196
|
+
$.append($$anchor, span_1);
|
|
197
|
+
};
|
|
198
|
+
$.if(node_2, ($$render) => {
|
|
199
|
+
if (!$.get(itemClosable)) $$render(consequent_1);
|
|
200
|
+
else $$render(alternate, -1);
|
|
201
|
+
});
|
|
202
|
+
$.append($$anchor, fragment_3);
|
|
203
|
+
});
|
|
204
|
+
var node_8 = $.sibling(node_1, 2);
|
|
205
|
+
$.component(node_8, () => Tabs.Indicator, ($$anchor, ArkTabs_Indicator) => {
|
|
206
|
+
ArkTabs_Indicator($$anchor, {});
|
|
207
|
+
});
|
|
208
|
+
$.append($$anchor, fragment_2);
|
|
209
|
+
},
|
|
210
|
+
$$slots: { default: true }
|
|
211
|
+
});
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
var node_9 = $.sibling(node, 2);
|
|
215
|
+
var consequent_3 = ($$anchor) => {
|
|
216
|
+
var fragment_9 = $.comment();
|
|
217
|
+
var node_10 = $.first_child(fragment_9);
|
|
218
|
+
$.each(node_10, 17, () => $$props.items, (item) => item.value, ($$anchor, item) => {
|
|
219
|
+
var fragment_10 = $.comment();
|
|
220
|
+
var node_11 = $.first_child(fragment_10);
|
|
221
|
+
$.component(node_11, () => Tabs.Content, ($$anchor, ArkTabs_Content) => {
|
|
222
|
+
ArkTabs_Content($$anchor, {
|
|
223
|
+
get value() {
|
|
224
|
+
return $.get(item).value;
|
|
225
|
+
},
|
|
226
|
+
children: ($$anchor, $$slotProps) => {
|
|
227
|
+
var fragment_11 = $.comment();
|
|
228
|
+
var node_12 = $.first_child(fragment_11);
|
|
229
|
+
$.snippet(node_12, () => $.get(item).content ?? $.noop);
|
|
230
|
+
$.append($$anchor, fragment_11);
|
|
231
|
+
},
|
|
232
|
+
$$slots: { default: true }
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
$.append($$anchor, fragment_10);
|
|
236
|
+
});
|
|
237
|
+
$.append($$anchor, fragment_9);
|
|
238
|
+
};
|
|
239
|
+
$.if(node_9, ($$render) => {
|
|
240
|
+
if (!contentless()) $$render(consequent_3);
|
|
241
|
+
});
|
|
242
|
+
var node_13 = $.sibling(node_9, 2);
|
|
243
|
+
$.snippet(node_13, () => $$props.children ?? $.noop);
|
|
244
|
+
$.append($$anchor, fragment_1);
|
|
245
|
+
},
|
|
246
|
+
$$slots: { default: true }
|
|
247
|
+
}));
|
|
248
|
+
$.pop();
|
|
249
|
+
}
|
|
250
|
+
$.delegate(["click"]);
|
|
251
|
+
export { TabsRoot as n, Tabs$1 as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
2
|
-
import { n as iconHtml } from "./icon-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.mjs";
|
|
2
|
+
import { n as iconHtml } from "./icon-CF5OqvV3.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
|
import { TagsInput } from "@ark-ui/svelte/tags-input";
|
|
7
|
-
|
|
7
|
+
// src/components/tags-input/TagsInputRoot.svelte
|
|
8
8
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
9
9
|
"$$slots",
|
|
10
10
|
"$$events",
|
|
@@ -40,8 +40,7 @@ function TagsInputRoot($$anchor, $$props) {
|
|
|
40
40
|
$.append($$anchor, fragment);
|
|
41
41
|
$.pop();
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
//#region src/components/tags-input/TagsInput.svelte
|
|
43
|
+
// src/components/tags-input/TagsInput.svelte
|
|
45
44
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
46
45
|
"$$slots",
|
|
47
46
|
"$$events",
|
|
@@ -227,5 +226,4 @@ function TagsInput$1($$anchor, $$props) {
|
|
|
227
226
|
}));
|
|
228
227
|
$.pop();
|
|
229
228
|
}
|
|
230
|
-
//#endregion
|
|
231
229
|
export { TagsInputRoot as n, TagsInput$1 as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.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 { Timer } from "@ark-ui/svelte/timer";
|
|
6
|
-
|
|
6
|
+
// src/components/timer/TimerRoot.svelte
|
|
7
7
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -42,8 +42,7 @@ function TimerRoot($$anchor, $$props) {
|
|
|
42
42
|
$.append($$anchor, fragment);
|
|
43
43
|
$.pop();
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
//#region src/components/timer/Timer.svelte
|
|
45
|
+
// src/components/timer/Timer.svelte
|
|
47
46
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
48
47
|
"$$slots",
|
|
49
48
|
"$$events",
|
|
@@ -137,5 +136,4 @@ function Timer$1($$anchor, $$props) {
|
|
|
137
136
|
$$slots: { default: true }
|
|
138
137
|
}));
|
|
139
138
|
}
|
|
140
|
-
//#endregion
|
|
141
139
|
export { TimerRoot as n, Timer$1 as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
2
|
-
import { n as iconHtml } from "./icon-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.mjs";
|
|
2
|
+
import { n as iconHtml } from "./icon-CF5OqvV3.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
|
import { Toast } from "@ark-ui/svelte/toast";
|
|
7
|
-
|
|
7
|
+
// src/components/toast/ToastRoot.svelte
|
|
8
8
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
9
9
|
"$$slots",
|
|
10
10
|
"$$events",
|
|
@@ -43,8 +43,7 @@ function ToastRoot($$anchor, $$props) {
|
|
|
43
43
|
$.append($$anchor, fragment);
|
|
44
44
|
$.pop();
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
//#region src/components/toast/Toast.svelte
|
|
46
|
+
// src/components/toast/Toast.svelte
|
|
48
47
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
49
48
|
"$$slots",
|
|
50
49
|
"$$events",
|
|
@@ -125,5 +124,4 @@ function Toast$1($$anchor, $$props) {
|
|
|
125
124
|
}));
|
|
126
125
|
$.pop();
|
|
127
126
|
}
|
|
128
|
-
//#endregion
|
|
129
127
|
export { ToastRoot as n, Toast$1 as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.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 { Toc } from "@ark-ui/svelte/toc";
|
|
6
|
-
|
|
6
|
+
// src/components/toc/TocIndicator.svelte
|
|
7
7
|
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -28,8 +28,7 @@ function TocIndicator($$anchor, $$props) {
|
|
|
28
28
|
});
|
|
29
29
|
$.append($$anchor, fragment);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
//#region src/components/toc/TocRoot.svelte
|
|
31
|
+
// src/components/toc/TocRoot.svelte
|
|
33
32
|
var rest_excludes$2 = /* @__PURE__ */ new Set([
|
|
34
33
|
"$$slots",
|
|
35
34
|
"$$events",
|
|
@@ -68,8 +67,7 @@ function TocRoot($$anchor, $$props) {
|
|
|
68
67
|
$.append($$anchor, fragment);
|
|
69
68
|
$.pop();
|
|
70
69
|
}
|
|
71
|
-
|
|
72
|
-
//#region src/components/toc/Toc.svelte
|
|
70
|
+
// src/components/toc/Toc.svelte
|
|
73
71
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
74
72
|
"$$slots",
|
|
75
73
|
"$$events",
|
|
@@ -177,8 +175,7 @@ function Toc$1($$anchor, $$props) {
|
|
|
177
175
|
$$slots: { default: true }
|
|
178
176
|
}));
|
|
179
177
|
}
|
|
180
|
-
|
|
181
|
-
//#region src/components/toc/TocContent.svelte
|
|
178
|
+
// src/components/toc/TocContent.svelte
|
|
182
179
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
183
180
|
"$$slots",
|
|
184
181
|
"$$events",
|
|
@@ -203,5 +200,4 @@ function TocContent($$anchor, $$props) {
|
|
|
203
200
|
});
|
|
204
201
|
$.append($$anchor, fragment);
|
|
205
202
|
}
|
|
206
|
-
//#endregion
|
|
207
203
|
export { TocIndicator as i, Toc$1 as n, TocRoot as r, TocContent as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.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 { Toggle } from "@ark-ui/svelte/toggle";
|
|
6
|
-
|
|
6
|
+
// src/components/toggle/ToggleRoot.svelte
|
|
7
7
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -49,8 +49,7 @@ function ToggleRoot($$anchor, $$props) {
|
|
|
49
49
|
$.append($$anchor, fragment);
|
|
50
50
|
$.pop();
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
//#region src/components/toggle/Toggle.svelte
|
|
52
|
+
// src/components/toggle/Toggle.svelte
|
|
54
53
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
55
54
|
"$$slots",
|
|
56
55
|
"$$events",
|
|
@@ -97,5 +96,4 @@ function Toggle$1($$anchor, $$props) {
|
|
|
97
96
|
}));
|
|
98
97
|
$.pop();
|
|
99
98
|
}
|
|
100
|
-
//#endregion
|
|
101
99
|
export { ToggleRoot as n, Toggle$1 as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.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
|
import { ToggleGroup } from "@ark-ui/svelte/toggle-group";
|
|
7
|
-
|
|
7
|
+
// src/components/toggle-group/ToggleGroupRoot.svelte
|
|
8
8
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
9
9
|
"$$slots",
|
|
10
10
|
"$$events",
|
|
@@ -40,8 +40,7 @@ function ToggleGroupRoot($$anchor, $$props) {
|
|
|
40
40
|
$.append($$anchor, fragment);
|
|
41
41
|
$.pop();
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
//#region src/components/toggle-group/ToggleGroup.svelte
|
|
43
|
+
// src/components/toggle-group/ToggleGroup.svelte
|
|
45
44
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
46
45
|
"$$slots",
|
|
47
46
|
"$$events",
|
|
@@ -138,5 +137,4 @@ function ToggleGroup$1($$anchor, $$props) {
|
|
|
138
137
|
}));
|
|
139
138
|
$.pop();
|
|
140
139
|
}
|
|
141
|
-
//#endregion
|
|
142
140
|
export { ToggleGroupRoot as n, ToggleGroup$1 as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-
|
|
1
|
+
import { t as useElementId } from "./id-Cu5GNK9U.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 { Portal } from "@ark-ui/svelte/portal";
|
|
6
6
|
import { Tooltip } from "@ark-ui/svelte/tooltip";
|
|
7
|
-
|
|
7
|
+
// src/components/tooltip/TooltipRoot.svelte
|
|
8
8
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
9
9
|
"$$slots",
|
|
10
10
|
"$$events",
|
|
@@ -43,8 +43,7 @@ function TooltipRoot($$anchor, $$props) {
|
|
|
43
43
|
$.append($$anchor, fragment);
|
|
44
44
|
$.pop();
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
//#region src/components/tooltip/Tooltip.svelte
|
|
46
|
+
// src/components/tooltip/Tooltip.svelte
|
|
48
47
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
49
48
|
"$$slots",
|
|
50
49
|
"$$events",
|
|
@@ -190,5 +189,4 @@ function Tooltip$1($$anchor, $$props) {
|
|
|
190
189
|
}));
|
|
191
190
|
$.pop();
|
|
192
191
|
}
|
|
193
|
-
//#endregion
|
|
194
192
|
export { TooltipRoot as n, Tooltip$1 as t };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as useComponentMessages, t as formatMessage } from "./messages-DNzA55pH.mjs";
|
|
1
|
+
import { t as InternalIcon } from "./InternalIcon-34cw8jr_.mjs";
|
|
2
|
+
import { t as Button } from "./button-D-u911qp.mjs";
|
|
3
|
+
import { n as useComponentMessages, t as formatMessage } from "./messages-BZoDXYu3.mjs";
|
|
5
4
|
import { Input } from "./components/input/index.mjs";
|
|
6
5
|
import "svelte/internal/disclose-version";
|
|
7
6
|
import * as $ from "svelte/internal/client";
|
|
8
7
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
9
8
|
import { Checkbox } from "@ark-ui/svelte/checkbox";
|
|
10
|
-
|
|
9
|
+
// src/components/transfer/Transfer.svelte
|
|
11
10
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
12
11
|
"$$slots",
|
|
13
12
|
"$$events",
|
|
@@ -23,7 +22,7 @@ var root_1 = $.from_html(`<p data-scope="transfer" data-part="empty">Nothing her
|
|
|
23
22
|
var root_2 = $.from_html(`<!> <!> <!>`, 1);
|
|
24
23
|
var root_3 = $.from_html(`<div data-scope="transfer" data-part="panel"><div data-scope="transfer" data-part="head"><span data-scope="transfer" data-part="title"> </span> <span data-scope="transfer" data-part="count"> </span></div> <!> <div data-scope="transfer" data-part="list"><!></div></div>`);
|
|
25
24
|
var root_4 = $.from_html(`<div><!> <div data-scope="transfer" data-part="operations"><!> <!></div> <!></div>`);
|
|
26
|
-
function Transfer
|
|
25
|
+
function Transfer($$anchor, $$props) {
|
|
27
26
|
$.push($$props, true);
|
|
28
27
|
const panel = ($$anchor, side = $.noop, title = $.noop, items = $.noop, checked = $.noop) => {
|
|
29
28
|
var div = root_3();
|
|
@@ -231,12 +230,4 @@ function Transfer$1($$anchor, $$props) {
|
|
|
231
230
|
$.append($$anchor, div_4);
|
|
232
231
|
$.pop();
|
|
233
232
|
}
|
|
234
|
-
//#endregion
|
|
235
|
-
//#region src/components/transfer/index.ts
|
|
236
|
-
/** Two ledgers and a crossing: items sit in the source column until
|
|
237
|
-
* the reader checks them and walks them across — and back, the same
|
|
238
|
-
* way. */
|
|
239
|
-
const Transfer = withSelfRoot(Transfer$1);
|
|
240
|
-
injectComponentStyle("checkbox");
|
|
241
|
-
//#endregion
|
|
242
233
|
export { Transfer as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as Input } from "./Input-DLfLshYU.mjs";
|
|
1
|
+
import { t as InternalIcon } from "./InternalIcon-34cw8jr_.mjs";
|
|
2
|
+
import { n as useComponentMessages } from "./messages-BZoDXYu3.mjs";
|
|
3
|
+
import { t as Input } from "./Input-DTXzYJnH.mjs";
|
|
5
4
|
import "svelte/internal/disclose-version";
|
|
6
5
|
import * as $ from "svelte/internal/client";
|
|
7
6
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
@@ -9,7 +8,7 @@ import { Popover } from "@ark-ui/svelte/popover";
|
|
|
9
8
|
import { Portal } from "@ark-ui/svelte/portal";
|
|
10
9
|
import { useFilter } from "@ark-ui/svelte/locale";
|
|
11
10
|
import { TreeView, createTreeCollection } from "@ark-ui/svelte/tree-view";
|
|
12
|
-
|
|
11
|
+
// src/components/tree-select/TreeSelect.svelte
|
|
13
12
|
const row = ($$anchor, node = $.noop, indexPath = $.noop) => {
|
|
14
13
|
var fragment = $.comment();
|
|
15
14
|
var node_1 = $.first_child(fragment);
|
|
@@ -143,7 +142,7 @@ var root_1 = $.from_html(`<button> <span data-part="chevron" aria-hidden="true">
|
|
|
143
142
|
var root_2 = $.from_html(`<div data-scope="tree-select" data-part="search"><!></div>`);
|
|
144
143
|
var root_3 = $.from_html(`<p data-scope="tree-select" data-part="empty">Nothing matches</p>`);
|
|
145
144
|
var root_4 = $.from_html(`<!> <div data-scope="tree-select" data-part="body"><!></div>`, 1);
|
|
146
|
-
function TreeSelect
|
|
145
|
+
function TreeSelect($$anchor, $$props) {
|
|
147
146
|
$.push($$props, true);
|
|
148
147
|
injectComponentStyle("tree-select");
|
|
149
148
|
let value = $.prop($$props, "value", 15), placeholder = $.prop($$props, "placeholder", 3, "Select…"), filterable = $.prop($$props, "filterable", 3, false), size = $.prop($$props, "size", 3, "md"), disabled = $.prop($$props, "disabled", 3, false), rest = $.rest_props($$props, rest_excludes);
|
|
@@ -373,11 +372,4 @@ function TreeSelect$1($$anchor, $$props) {
|
|
|
373
372
|
$.append($$anchor, fragment_12);
|
|
374
373
|
$.pop();
|
|
375
374
|
}
|
|
376
|
-
//#endregion
|
|
377
|
-
//#region src/components/tree-select/index.ts
|
|
378
|
-
/** A tree behind a field: the control reads like an input, the vessel
|
|
379
|
-
* below walks the hierarchy, and one leaf click closes the deal. */
|
|
380
|
-
const TreeSelect = withSelfRoot(TreeSelect$1);
|
|
381
|
-
injectComponentStyle("tree-view");
|
|
382
|
-
//#endregion
|
|
383
375
|
export { TreeSelect as t };
|