@bysages/svelte 0.2.2 → 0.3.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 +16 -2
- package/dist/AiLoader-0jlig3fe.mjs +108 -0
- package/dist/AngleSliderRoot-CUe5sgWU.mjs +37 -0
- package/dist/CheckboxRoot-BP4ynFLq.mjs +37 -0
- package/dist/ChevronIcon-CVJJYda-.mjs +11 -0
- package/dist/ClipboardRoot-UmyQFn27.mjs +37 -0
- package/dist/ColorPickerRoot-DLgI9s3u.mjs +37 -0
- package/dist/ComboboxRoot-BsVcmUOj.mjs +37 -0
- package/dist/DateInputRoot-nROaFmB7.mjs +37 -0
- package/dist/DatePickerRoot-CkeHEAcG.mjs +37 -0
- package/dist/EditableRoot-CLmP5sIH.mjs +37 -0
- package/dist/FileUploadRoot-IVcTAZp-.mjs +37 -0
- package/dist/Input-CZhcEeFU.mjs +75 -0
- package/dist/ListboxRoot-DhFAnZ_c.mjs +37 -0
- package/dist/MenuRoot-C4zG0iw2.mjs +80 -0
- package/dist/NumberInputRoot-BQz2HHGb.mjs +37 -0
- package/dist/PaginationRoot-DnXcEZCa.mjs +37 -0
- package/dist/PasswordInputRoot-4yR0Aig4.mjs +37 -0
- package/dist/PinInputRoot-B8fTxTlv.mjs +37 -0
- package/dist/ProgressRoot-DwhwW31T.mjs +37 -0
- package/dist/RadioGroupRoot-BD_mxWjX.mjs +37 -0
- package/dist/RatingGroupRoot-iUWUAKtV.mjs +37 -0
- package/dist/SegmentGroupRoot-798Amg4S.mjs +37 -0
- package/dist/SelectRoot-l-rb18FH.mjs +37 -0
- package/dist/SliderRoot-BBIlf6Uw.mjs +37 -0
- package/dist/Spinner-sd__23WT.mjs +33 -0
- package/dist/StepsRoot-Dg_3-lRb.mjs +37 -0
- package/dist/SwitchRoot-C7rPmjEA.mjs +37 -0
- package/dist/TabsRoot-DXd41HqW.mjs +41 -0
- package/dist/TagsInputRoot-COSQdHRz.mjs +37 -0
- package/dist/ToggleGroupRoot-D0ob9z4u.mjs +37 -0
- package/dist/TreeViewRoot-ConQj9TX.mjs +37 -0
- package/dist/affix-BtL4lBPi.mjs +45 -0
- package/dist/ai-action-DKsvxilp.mjs +44 -0
- package/dist/ai-attachments-Y0Tf6UFL.mjs +123 -0
- package/dist/ai-message-DBs1fdFm.mjs +36 -0
- package/dist/ai-prompt-input-BmyKyadu.mjs +271 -0
- package/dist/ai-reasoning-C4YsB2hQ.mjs +77 -0
- package/dist/ai-response-D5IkRFMN.mjs +146 -0
- package/dist/ai-source-CvglcFw1.mjs +78 -0
- package/dist/ai-suggestion-zGAQ1kkf.mjs +38 -0
- package/dist/ai-tool-DY_iNbMk.mjs +117 -0
- package/dist/alert-Xp8I8IY9.mjs +156 -0
- package/dist/aspect-ratio-COOgu44A.mjs +36 -0
- package/dist/autocomplete-D7ZZ7Xpb.mjs +153 -0
- package/dist/avatar-LR0CZ1Iz.mjs +49 -0
- package/dist/avatar-group-BgIxNuVj.mjs +36 -0
- package/dist/back-top-rbP0aP47.mjs +109 -0
- package/dist/badge-DKa-8Pv0.mjs +38 -0
- package/dist/banner-LEPWtGlY.mjs +196 -0
- package/dist/bento-BTvt7gsB.mjs +73 -0
- package/dist/block-ui-CpiV9qza.mjs +50 -0
- package/dist/breadcrumb-C01pAq93.mjs +183 -0
- package/dist/browser-gmPTH6mJ.mjs +146 -0
- package/dist/button-BCcX7lHq.mjs +52 -0
- package/dist/button-group-CVLqPMlR.mjs +41 -0
- package/dist/calendar-0tSnHuLj.mjs +471 -0
- package/dist/card-Bc3B7MYz.mjs +167 -0
- package/dist/cascade-select-B-4Z6oWe.mjs +287 -0
- package/dist/checkbox-group-ARW_z7gp.mjs +130 -0
- package/dist/chip-mjLlbQ2t.mjs +38 -0
- package/dist/command-fZuTfbz4.mjs +343 -0
- package/dist/comment-C91xgrtK.mjs +102 -0
- package/dist/components/accordion/index.d.mts +7 -0
- package/dist/components/accordion/index.mjs +10 -0
- package/dist/components/affix/index.d.mts +2 -0
- package/dist/components/affix/index.mjs +2 -0
- package/dist/components/ai/index.d.mts +11 -0
- package/dist/components/ai/index.mjs +27 -0
- package/dist/components/ai-action/index.d.mts +7 -0
- package/dist/components/ai-action/index.mjs +2 -0
- package/dist/components/ai-attachments/index.d.mts +2 -0
- package/dist/components/ai-attachments/index.mjs +2 -0
- package/dist/components/ai-message/index.d.mts +7 -0
- package/dist/components/ai-message/index.mjs +2 -0
- package/dist/components/ai-prompt-input/index.d.mts +7 -0
- package/dist/components/ai-prompt-input/index.mjs +2 -0
- package/dist/components/ai-reasoning/index.d.mts +7 -0
- package/dist/components/ai-reasoning/index.mjs +2 -0
- package/dist/components/ai-response/index.d.mts +6 -0
- package/dist/components/ai-response/index.mjs +2 -0
- package/dist/components/ai-source/index.d.mts +8 -0
- package/dist/components/ai-source/index.mjs +2 -0
- package/dist/components/ai-suggestion/index.d.mts +7 -0
- package/dist/components/ai-suggestion/index.mjs +2 -0
- package/dist/components/ai-tool/index.d.mts +8 -0
- package/dist/components/ai-tool/index.mjs +2 -0
- package/dist/components/alert/index.d.mts +2 -0
- package/dist/components/alert/index.mjs +2 -0
- package/dist/components/angle-slider/index.d.mts +7 -0
- package/dist/components/angle-slider/index.mjs +13 -0
- package/dist/components/aspect-ratio/index.d.mts +2 -0
- package/dist/components/aspect-ratio/index.mjs +2 -0
- package/dist/components/autocomplete/index.d.mts +2 -0
- package/dist/components/autocomplete/index.mjs +2 -0
- package/dist/components/avatar/index.d.mts +2 -0
- package/dist/components/avatar/index.mjs +2 -0
- package/dist/components/avatar-group/index.d.mts +2 -0
- package/dist/components/avatar-group/index.mjs +2 -0
- package/dist/components/back-top/index.d.mts +2 -0
- package/dist/components/back-top/index.mjs +2 -0
- package/dist/components/badge/index.d.mts +2 -0
- package/dist/components/badge/index.mjs +2 -0
- package/dist/components/banner/index.d.mts +2 -0
- package/dist/components/banner/index.mjs +2 -0
- package/dist/components/bento/index.d.mts +2 -0
- package/dist/components/bento/index.mjs +2 -0
- package/dist/components/block-ui/index.d.mts +2 -0
- package/dist/components/block-ui/index.mjs +2 -0
- package/dist/components/breadcrumb/index.d.mts +2 -0
- package/dist/components/breadcrumb/index.mjs +2 -0
- package/dist/components/browser/index.d.mts +9 -0
- package/dist/components/browser/index.mjs +2 -0
- package/dist/components/button/index.d.mts +2 -0
- package/dist/components/button/index.mjs +2 -0
- package/dist/components/button-group/index.d.mts +2 -0
- package/dist/components/button-group/index.mjs +2 -0
- package/dist/components/calendar/index.d.mts +2 -0
- package/dist/components/calendar/index.mjs +2 -0
- package/dist/components/card/index.d.mts +2 -0
- package/dist/components/card/index.mjs +2 -0
- package/dist/components/carousel/index.d.mts +9 -0
- package/dist/components/carousel/index.mjs +12 -0
- package/dist/components/cascade-select/index.d.mts +2 -0
- package/dist/components/cascade-select/index.mjs +2 -0
- package/dist/components/checkbox/index.d.mts +7 -0
- package/dist/components/checkbox/index.mjs +13 -0
- package/dist/components/checkbox-group/index.d.mts +2 -0
- package/dist/components/checkbox-group/index.mjs +2 -0
- package/dist/components/chip/index.d.mts +2 -0
- package/dist/components/chip/index.mjs +2 -0
- package/dist/components/client-only/index.d.mts +2 -0
- package/dist/components/client-only/index.mjs +2 -0
- package/dist/components/clipboard/index.d.mts +2 -0
- package/dist/components/clipboard/index.mjs +13 -0
- package/dist/components/collapsible/index.d.mts +7 -0
- package/dist/components/collapsible/index.mjs +10 -0
- package/dist/components/collection/index.d.mts +2 -0
- package/dist/components/collection/index.mjs +2 -0
- package/dist/components/color-picker/index.d.mts +7 -0
- package/dist/components/color-picker/index.mjs +17 -0
- package/dist/components/combobox/index.d.mts +7 -0
- package/dist/components/combobox/index.mjs +14 -0
- package/dist/components/command/index.d.mts +2 -0
- package/dist/components/command/index.mjs +2 -0
- package/dist/components/comment/index.d.mts +2 -0
- package/dist/components/comment/index.mjs +2 -0
- package/dist/components/config-provider/index.d.mts +2 -0
- package/dist/components/config-provider/index.mjs +2 -0
- package/dist/components/container/index.d.mts +2 -0
- package/dist/components/container/index.mjs +2 -0
- package/dist/components/data-view/index.d.mts +2 -0
- package/dist/components/data-view/index.mjs +2 -0
- package/dist/components/date-input/index.d.mts +7 -0
- package/dist/components/date-input/index.mjs +13 -0
- package/dist/components/date-picker/index.d.mts +7 -0
- package/dist/components/date-picker/index.mjs +15 -0
- package/dist/components/deferred-content/index.d.mts +2 -0
- package/dist/components/deferred-content/index.mjs +2 -0
- package/dist/components/descriptions/index.d.mts +2 -0
- package/dist/components/descriptions/index.mjs +2 -0
- package/dist/components/dialog/index.d.mts +9 -0
- package/dist/components/dialog/index.mjs +11 -0
- package/dist/components/dock/index.d.mts +2 -0
- package/dist/components/dock/index.mjs +2 -0
- package/dist/components/download-trigger/index.d.mts +2 -0
- package/dist/components/download-trigger/index.mjs +2 -0
- package/dist/components/drawer/index.d.mts +9 -0
- package/dist/components/drawer/index.mjs +12 -0
- package/dist/components/dynamic-input/index.d.mts +2 -0
- package/dist/components/dynamic-input/index.mjs +2 -0
- package/dist/components/editable/index.d.mts +7 -0
- package/dist/components/editable/index.mjs +13 -0
- package/dist/components/ellipsis/index.d.mts +2 -0
- package/dist/components/ellipsis/index.mjs +2 -0
- package/dist/components/empty/index.d.mts +2 -0
- package/dist/components/empty/index.mjs +2 -0
- package/dist/components/field/index.d.mts +8 -0
- package/dist/components/field/index.mjs +11 -0
- package/dist/components/fieldset/index.d.mts +7 -0
- package/dist/components/fieldset/index.mjs +10 -0
- package/dist/components/file-upload/index.d.mts +7 -0
- package/dist/components/file-upload/index.mjs +15 -0
- package/dist/components/float-button/index.d.mts +2 -0
- package/dist/components/float-button/index.mjs +2 -0
- package/dist/components/floating-panel/index.d.mts +9 -0
- package/dist/components/floating-panel/index.mjs +12 -0
- package/dist/components/focus-trap/index.d.mts +2 -0
- package/dist/components/focus-trap/index.mjs +2 -0
- package/dist/components/form/index.d.mts +2 -0
- package/dist/components/form/index.mjs +2 -0
- package/dist/components/format/index.d.mts +9 -0
- package/dist/components/format/index.mjs +10 -0
- package/dist/components/frame/index.d.mts +10 -0
- package/dist/components/frame/index.mjs +12 -0
- package/dist/components/grid/index.d.mts +2 -0
- package/dist/components/grid/index.mjs +2 -0
- package/dist/components/highlight/index.d.mts +7 -0
- package/dist/components/highlight/index.mjs +11 -0
- package/dist/components/hover-card/index.d.mts +7 -0
- package/dist/components/hover-card/index.mjs +10 -0
- package/dist/components/icon/index.d.mts +2 -0
- package/dist/components/icon/index.mjs +2 -0
- package/dist/components/image/index.d.mts +2 -0
- package/dist/components/image/index.mjs +2 -0
- package/dist/components/image-cropper/index.d.mts +8 -0
- package/dist/components/image-cropper/index.mjs +11 -0
- package/dist/components/image-viewer/index.d.mts +2 -0
- package/dist/components/image-viewer/index.mjs +2 -0
- package/dist/components/input/index.d.mts +2 -0
- package/dist/components/input/index.mjs +8 -0
- package/dist/components/input-group/index.d.mts +2 -0
- package/dist/components/input-group/index.mjs +2 -0
- package/dist/components/json-tree-view/index.d.mts +7 -0
- package/dist/components/json-tree-view/index.mjs +10 -0
- package/dist/components/kbd/index.d.mts +2 -0
- package/dist/components/kbd/index.mjs +2 -0
- package/dist/components/layout/index.d.mts +2 -0
- package/dist/components/layout/index.mjs +2 -0
- package/dist/components/link/index.d.mts +2 -0
- package/dist/components/link/index.mjs +2 -0
- package/dist/components/list/index.d.mts +2 -0
- package/dist/components/list/index.mjs +2 -0
- package/dist/components/listbox/index.d.mts +2 -0
- package/dist/components/listbox/index.mjs +14 -0
- package/dist/components/marquee/index.d.mts +7 -0
- package/dist/components/marquee/index.mjs +10 -0
- package/dist/components/masonry/index.d.mts +2 -0
- package/dist/components/masonry/index.mjs +2 -0
- package/dist/components/mentions/index.d.mts +3 -0
- package/dist/components/mentions/index.mjs +3 -0
- package/dist/components/menu/index.d.mts +15 -0
- package/dist/components/menu/index.mjs +17 -0
- package/dist/components/menubar/index.d.mts +2 -0
- package/dist/components/menubar/index.mjs +2 -0
- package/dist/components/meter/index.d.mts +2 -0
- package/dist/components/meter/index.mjs +2 -0
- package/dist/components/navigation-menu/index.d.mts +8 -0
- package/dist/components/navigation-menu/index.mjs +11 -0
- package/dist/components/number-input/index.d.mts +7 -0
- package/dist/components/number-input/index.mjs +13 -0
- package/dist/components/order-list/index.d.mts +2 -0
- package/dist/components/order-list/index.mjs +2 -0
- package/dist/components/page-header/index.d.mts +2 -0
- package/dist/components/page-header/index.mjs +2 -0
- package/dist/components/pagination/index.d.mts +7 -0
- package/dist/components/pagination/index.mjs +15 -0
- package/dist/components/password-input/index.d.mts +7 -0
- package/dist/components/password-input/index.mjs +13 -0
- package/dist/components/pin-input/index.d.mts +7 -0
- package/dist/components/pin-input/index.mjs +12 -0
- package/dist/components/popconfirm/index.d.mts +2 -0
- package/dist/components/popconfirm/index.mjs +2 -0
- package/dist/components/popover/index.d.mts +8 -0
- package/dist/components/popover/index.mjs +11 -0
- package/dist/components/presence/index.d.mts +2 -0
- package/dist/components/presence/index.mjs +2 -0
- package/dist/components/progress/index.d.mts +7 -0
- package/dist/components/progress/index.mjs +13 -0
- package/dist/components/progress-group/index.d.mts +2 -0
- package/dist/components/progress-group/index.mjs +2 -0
- package/dist/components/qr-code/index.d.mts +8 -0
- package/dist/components/qr-code/index.mjs +11 -0
- package/dist/components/radio-group/index.d.mts +7 -0
- package/dist/components/radio-group/index.mjs +13 -0
- package/dist/components/rating-group/index.d.mts +7 -0
- package/dist/components/rating-group/index.mjs +13 -0
- package/dist/components/result/index.d.mts +12 -0
- package/dist/components/result/index.mjs +2 -0
- package/dist/components/scroll-area/index.d.mts +7 -0
- package/dist/components/scroll-area/index.mjs +10 -0
- package/dist/components/segment-group/index.d.mts +7 -0
- package/dist/components/segment-group/index.mjs +12 -0
- package/dist/components/select/index.d.mts +2 -0
- package/dist/components/select/index.mjs +2 -0
- package/dist/components/separator/index.d.mts +2 -0
- package/dist/components/separator/index.mjs +2 -0
- package/dist/components/signature-pad/index.d.mts +8 -0
- package/dist/components/signature-pad/index.mjs +11 -0
- package/dist/components/skeleton/index.d.mts +2 -0
- package/dist/components/skeleton/index.mjs +2 -0
- package/dist/components/slider/index.d.mts +7 -0
- package/dist/components/slider/index.mjs +13 -0
- package/dist/components/spinner/index.d.mts +2 -0
- package/dist/components/spinner/index.mjs +7 -0
- package/dist/components/split-button/index.d.mts +2 -0
- package/dist/components/split-button/index.mjs +2 -0
- package/dist/components/splitter/index.d.mts +7 -0
- package/dist/components/splitter/index.mjs +10 -0
- package/dist/components/spotlight/index.d.mts +2 -0
- package/dist/components/spotlight/index.mjs +2 -0
- package/dist/components/stack/index.d.mts +2 -0
- package/dist/components/stack/index.mjs +2 -0
- package/dist/components/stat/index.d.mts +2 -0
- package/dist/components/stat/index.mjs +2 -0
- package/dist/components/steps/index.d.mts +7 -0
- package/dist/components/steps/index.mjs +16 -0
- package/dist/components/swap/index.d.mts +8 -0
- package/dist/components/swap/index.mjs +11 -0
- package/dist/components/switch/index.d.mts +7 -0
- package/dist/components/switch/index.mjs +13 -0
- package/dist/components/table/index.d.mts +2 -0
- package/dist/components/table/index.mjs +2 -0
- package/dist/components/tabs/index.d.mts +7 -0
- package/dist/components/tabs/index.mjs +15 -0
- package/dist/components/tags-input/index.d.mts +7 -0
- package/dist/components/tags-input/index.mjs +14 -0
- package/dist/components/terminal/index.d.mts +2 -0
- package/dist/components/terminal/index.mjs +2 -0
- package/dist/components/textarea/index.d.mts +2 -0
- package/dist/components/textarea/index.mjs +2 -0
- package/dist/components/timeline/index.d.mts +2 -0
- package/dist/components/timeline/index.mjs +2 -0
- package/dist/components/timer/index.d.mts +8 -0
- package/dist/components/timer/index.mjs +11 -0
- package/dist/components/toast/index.d.mts +11 -0
- package/dist/components/toast/index.mjs +13 -0
- package/dist/components/toc/index.d.mts +7 -0
- package/dist/components/toc/index.mjs +10 -0
- package/dist/components/toggle/index.d.mts +7 -0
- package/dist/components/toggle/index.mjs +10 -0
- package/dist/components/toggle-group/index.d.mts +7 -0
- package/dist/components/toggle-group/index.mjs +12 -0
- package/dist/components/toolbar/index.d.mts +2 -0
- package/dist/components/toolbar/index.mjs +2 -0
- package/dist/components/tooltip/index.d.mts +7 -0
- package/dist/components/tooltip/index.mjs +10 -0
- package/dist/components/tour/index.d.mts +11 -0
- package/dist/components/tour/index.mjs +13 -0
- package/dist/components/transfer/index.d.mts +2 -0
- package/dist/components/transfer/index.mjs +2 -0
- package/dist/components/tree-select/index.d.mts +2 -0
- package/dist/components/tree-select/index.mjs +2 -0
- package/dist/components/tree-view/index.d.mts +2 -0
- package/dist/components/tree-view/index.mjs +16 -0
- package/dist/components/typography/index.d.mts +2 -0
- package/dist/components/typography/index.mjs +2 -0
- package/dist/components/user/index.d.mts +2 -0
- package/dist/components/user/index.mjs +2 -0
- package/dist/components/virtual-list/index.d.mts +2 -0
- package/dist/components/virtual-list/index.mjs +2 -0
- package/dist/components/watermark/index.d.mts +2 -0
- package/dist/components/watermark/index.mjs +2 -0
- package/dist/config-provider-DW5wVzFr.mjs +75 -0
- package/dist/container-Cmiu_3W5.mjs +39 -0
- package/dist/data-view-B3TY3rYl.mjs +167 -0
- package/dist/deferred-content-CO9YsKMQ.mjs +65 -0
- package/dist/descriptions-DgkA_9B-.mjs +123 -0
- package/dist/dock-CKGRnXWu.mjs +84 -0
- package/dist/dynamic-input-B3IBAoLs.mjs +127 -0
- package/dist/ellipsis-CLaZ9Grh.mjs +39 -0
- package/dist/empty-wwcTI107.mjs +141 -0
- package/dist/float-button-CZAda2SI.mjs +144 -0
- package/dist/form-BTL9S1gn.mjs +212 -0
- package/dist/grid-DNgTWYSL.mjs +54 -0
- package/dist/icon-D7AeDq0M.mjs +63 -0
- package/dist/image-1Lgj8xhS.mjs +81 -0
- package/dist/image-viewer-Dv3_Iyu8.mjs +186 -0
- package/dist/index--K4P_QKU.d.mts +14 -0
- package/dist/index-0k-VxNRm.d.mts +15 -0
- package/dist/index-8JoOZcM6.d.mts +18 -0
- package/dist/index-B1iBag3L.d.mts +15 -0
- package/dist/index-B2JKtCzc.d.mts +25 -0
- package/dist/index-BEfqqxjl.d.mts +35 -0
- package/dist/index-BFL_M4PT.d.mts +25 -0
- package/dist/index-BHlsL8ta.d.mts +30 -0
- package/dist/index-BIIMyeLK.d.mts +12 -0
- package/dist/index-BTndXl0q.d.mts +15 -0
- package/dist/index-BahdqXg4.d.mts +58 -0
- package/dist/index-Bj2IsU9D.d.mts +26 -0
- package/dist/index-BkK_8C_c.d.mts +29 -0
- package/dist/index-BmFfkztS.d.mts +14 -0
- package/dist/index-BoR_54C_.d.mts +31 -0
- package/dist/index-BolxaoaW.d.mts +18 -0
- package/dist/index-BwFSueFx.d.mts +20 -0
- package/dist/index-C0aalhwd.d.mts +43 -0
- package/dist/index-C84DUNp9.d.mts +33 -0
- package/dist/index-C8WNp4wI.d.mts +30 -0
- package/dist/index-CAb_-2Bn.d.mts +21 -0
- package/dist/index-CJsLok79.d.mts +29 -0
- package/dist/index-CKFfSEBR.d.mts +16 -0
- package/dist/index-CLoTtvcO.d.mts +19 -0
- package/dist/index-CM6inLqu.d.mts +28 -0
- package/dist/index-CRdyjHjx.d.mts +23 -0
- package/dist/index-CV1LSzq5.d.mts +25 -0
- package/dist/index-CWNmeq0b.d.mts +21 -0
- package/dist/index-CY4EuxyF.d.mts +21 -0
- package/dist/index-CaVBzPln.d.mts +12 -0
- package/dist/index-Cd4UxWsz.d.mts +24 -0
- package/dist/index-CeIQyZkc.d.mts +21 -0
- package/dist/index-CiHanb4T.d.mts +22 -0
- package/dist/index-CjNUtqX_.d.mts +19 -0
- package/dist/index-CkFXH_oG.d.mts +31 -0
- package/dist/index-Cl8v2k0X.d.mts +36 -0
- package/dist/index-CmskeLd_.d.mts +23 -0
- package/dist/index-CnrohEXe.d.mts +24 -0
- package/dist/index-CtbGSRNw.d.mts +10350 -0
- package/dist/index-CwM-SPPz.d.mts +14 -0
- package/dist/index-D0lEVqZc.d.mts +18 -0
- package/dist/index-D1U7Svy2.d.mts +1809 -0
- package/dist/index-D6PrX-hf.d.mts +15 -0
- package/dist/index-D6eYSdmD.d.mts +28 -0
- package/dist/index-D88v0BF1.d.mts +10 -0
- package/dist/index-D8F1dVDW.d.mts +59 -0
- package/dist/index-D9UBDdoA.d.mts +17 -0
- package/dist/index-DAesWvpj.d.mts +22 -0
- package/dist/index-DBbjFiDd.d.mts +20 -0
- package/dist/index-DGOBhwXN.d.mts +18 -0
- package/dist/index-DH0ecZNW.d.mts +25 -0
- package/dist/index-DKDpZraB.d.mts +67 -0
- package/dist/index-DKfQGayE.d.mts +19 -0
- package/dist/index-DOcn6bMd.d.mts +15 -0
- package/dist/index-DTAcdUAd.d.mts +48 -0
- package/dist/index-D_cE3qK2.d.mts +44 -0
- package/dist/index-DfTAYXUT.d.mts +16 -0
- package/dist/index-DjaHpB21.d.mts +22 -0
- package/dist/index-DlHvtlYT.d.mts +28 -0
- package/dist/index-Dr-T8jsb.d.mts +82 -0
- package/dist/index-Dy335EhR.d.mts +15 -0
- package/dist/index-KoqiUxmN.d.mts +20 -0
- package/dist/index-KxuOZGfm.d.mts +14 -0
- package/dist/index-OElK7gw7.d.mts +22 -0
- package/dist/index-XHTt8I1B.d.mts +21 -0
- package/dist/index-YCVah82j.d.mts +18 -0
- package/dist/index-ZUvVz2Fd.d.mts +24 -0
- package/dist/index-_kQsvJKo.d.mts +27 -0
- package/dist/index-k0ac5WNj.d.mts +23 -0
- package/dist/index-mshFOd-j.d.mts +20 -0
- package/dist/index-nfkt_cP_.d.mts +18 -0
- package/dist/index-oI4U-72X.d.mts +15 -0
- package/dist/index-wDHiUpr6.d.mts +23 -0
- package/dist/index-zZy5ZnA5.d.mts +20 -0
- package/dist/index.d.mts +151 -15125
- package/dist/index.mjs +143 -9042
- package/dist/input-group-DeKewnvZ.mjs +62 -0
- package/dist/kbd-LXHpi4GM.mjs +33 -0
- package/dist/layout-WRo4P9-_.mjs +226 -0
- package/dist/link-CuNiatc7.mjs +36 -0
- package/dist/list-B23lA_sc.mjs +173 -0
- package/dist/masonry-B4-v4kJ0.mjs +52 -0
- package/dist/mentions-DjhgNRmY.mjs +204 -0
- package/dist/menubar-Crrkg2tZ.mjs +148 -0
- package/dist/meter-BgsJ2g-v.mjs +164 -0
- package/dist/order-list-q7VlsbmU.mjs +120 -0
- package/dist/page-header-DKpKUkTe.mjs +167 -0
- package/dist/popconfirm-NK5BPbrN.mjs +136 -0
- package/dist/progress-group-BQMAQWXh.mjs +81 -0
- package/dist/props-B9YcQX8X.d.mts +18 -0
- package/dist/props-BZcE7LP_.d.mts +12 -0
- package/dist/props-BvDM6-cm.d.mts +11 -0
- package/dist/props-C2OWII_8.d.mts +14 -0
- package/dist/props-CIwO25eA.d.mts +12 -0
- package/dist/props-D93CbAiS.d.mts +16 -0
- package/dist/props-Dr7ABUbp.d.mts +10 -0
- package/dist/props-U567RIQo.d.mts +42 -0
- package/dist/result-4Oee2ndu.mjs +159 -0
- package/dist/select-rkY0qJKI.mjs +95 -0
- package/dist/separator-4JWXConE.mjs +36 -0
- package/dist/skeleton-DOfOrlmL.mjs +30 -0
- package/dist/split-button-CGjPB9DQ.mjs +171 -0
- package/dist/spotlight-DMC5E1eS.mjs +51 -0
- package/dist/stack-DCKrejZp.mjs +57 -0
- package/dist/stat-5cTU1vyI.mjs +143 -0
- package/dist/table-BnNK4_su.mjs +975 -0
- package/dist/terminal-B3b4KzoN.mjs +78 -0
- package/dist/textarea-DzDc678j.mjs +44 -0
- package/dist/timeline-1yPOTbtY.mjs +117 -0
- package/dist/toolbar-SNwuRrJr.mjs +68 -0
- package/dist/transfer-0IAuhFCe.mjs +235 -0
- package/dist/tree-select-BSf4a_En.mjs +379 -0
- package/dist/typography-Cygr9XaD.mjs +167 -0
- package/dist/use-mentions-DeF_38di.mjs +93 -0
- package/dist/user-BjJSjDYV.mjs +100 -0
- package/dist/virtual-list-psKQ_NVr.mjs +59 -0
- package/dist/watermark-C2d3-EAM.mjs +90 -0
- package/package.json +58 -8
- package/dist/TreeViewRoot-CWHR4O1k.mjs +0 -946
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
import { Portal } from "@ark-ui/svelte/portal";
|
|
5
|
+
import { untrack } from "svelte";
|
|
6
|
+
import { Combobox } from "@ark-ui/svelte/combobox";
|
|
7
|
+
import { useListCollection } from "@ark-ui/svelte/collection";
|
|
8
|
+
import { Dialog } from "@ark-ui/svelte/dialog";
|
|
9
|
+
//#region src/components/command/Command.svelte
|
|
10
|
+
const row = ($$anchor, entry = $.noop) => {
|
|
11
|
+
var fragment = $.comment();
|
|
12
|
+
var node = $.first_child(fragment);
|
|
13
|
+
{
|
|
14
|
+
const asChild = ($$anchor, itemProps = $.noop) => {
|
|
15
|
+
var div = root_2();
|
|
16
|
+
$.attribute_effect(div, ($0) => ({
|
|
17
|
+
...$0,
|
|
18
|
+
"data-scope": "command",
|
|
19
|
+
"data-part": "item"
|
|
20
|
+
}), [() => itemProps()()]);
|
|
21
|
+
var node_1 = $.child(div);
|
|
22
|
+
{
|
|
23
|
+
const asChild = ($$anchor, textProps = $.noop) => {
|
|
24
|
+
var span = root();
|
|
25
|
+
$.attribute_effect(span, ($0) => ({
|
|
26
|
+
...$0,
|
|
27
|
+
"data-scope": "command",
|
|
28
|
+
"data-part": "item-label"
|
|
29
|
+
}), [() => textProps()()]);
|
|
30
|
+
var text = $.only_child(span, true);
|
|
31
|
+
$.template_effect(() => $.set_text(text, entry().label));
|
|
32
|
+
$.append($$anchor, span);
|
|
33
|
+
};
|
|
34
|
+
$.component(node_1, () => Combobox.ItemText, ($$anchor, ArkCombobox_ItemText) => {
|
|
35
|
+
ArkCombobox_ItemText($$anchor, {
|
|
36
|
+
asChild,
|
|
37
|
+
$$slots: { asChild: true }
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
var node_2 = $.sibling(node_1, 2);
|
|
42
|
+
var consequent = ($$anchor) => {
|
|
43
|
+
var span_1 = root_1();
|
|
44
|
+
var text_1 = $.only_child(span_1, true);
|
|
45
|
+
$.template_effect(() => $.set_text(text_1, entry().hint));
|
|
46
|
+
$.append($$anchor, span_1);
|
|
47
|
+
};
|
|
48
|
+
$.if(node_2, ($$render) => {
|
|
49
|
+
if (entry().hint) $$render(consequent);
|
|
50
|
+
});
|
|
51
|
+
$.reset(div);
|
|
52
|
+
$.append($$anchor, div);
|
|
53
|
+
};
|
|
54
|
+
$.component(node, () => Combobox.Item, ($$anchor, ArkCombobox_Item) => {
|
|
55
|
+
ArkCombobox_Item($$anchor, {
|
|
56
|
+
get item() {
|
|
57
|
+
return entry().value;
|
|
58
|
+
},
|
|
59
|
+
asChild,
|
|
60
|
+
$$slots: { asChild: true }
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
$.append($$anchor, fragment);
|
|
65
|
+
};
|
|
66
|
+
var root = $.from_html(`<span> </span>`);
|
|
67
|
+
var root_1 = $.from_html(`<span data-scope="command" data-part="item-hint"> </span>`);
|
|
68
|
+
var root_2 = $.from_html(`<div><!> <!></div>`);
|
|
69
|
+
var root_3 = $.from_html(`<input/>`);
|
|
70
|
+
var root_4 = $.from_html(`<div> </div>`);
|
|
71
|
+
var root_5 = $.from_html(`<div data-scope="command" data-part="empty"> </div>`);
|
|
72
|
+
var root_6 = $.from_html(`<!> <!>`, 1);
|
|
73
|
+
var root_7 = $.from_html(`<div><!></div>`);
|
|
74
|
+
function Command$1($$anchor, $$props) {
|
|
75
|
+
$.push($$props, true);
|
|
76
|
+
injectComponentStyle("command");
|
|
77
|
+
let items = $.prop($$props, "items", 19, () => []), open = $.prop($$props, "open", 15, false), autoFilter = $.prop($$props, "autoFilter", 3, true), emptyText = $.prop($$props, "emptyText", 3, "No matching commands");
|
|
78
|
+
let listOpen = $.state(true);
|
|
79
|
+
let fieldText = $.state("");
|
|
80
|
+
const { collection, set, filter } = useListCollection({
|
|
81
|
+
initialItems: items().map((entry) => entry.value),
|
|
82
|
+
filter: (value, input) => {
|
|
83
|
+
const entry = items().find((candidate) => candidate.value === value);
|
|
84
|
+
if (!entry) return false;
|
|
85
|
+
const query = input.toLowerCase();
|
|
86
|
+
return entry.label.toLowerCase().includes(query) || value.toLowerCase().includes(query);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
$.user_effect(() => {
|
|
90
|
+
const values = items().map((entry) => entry.value);
|
|
91
|
+
untrack(() => {
|
|
92
|
+
set(values);
|
|
93
|
+
if (autoFilter()) filter($.get(fieldText));
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
$.user_effect(() => {
|
|
97
|
+
if (open()) $.set(listOpen, true);
|
|
98
|
+
});
|
|
99
|
+
function setOpen(value) {
|
|
100
|
+
open(value);
|
|
101
|
+
$$props.onOpenChange?.(value);
|
|
102
|
+
}
|
|
103
|
+
function onFieldInput(details) {
|
|
104
|
+
$.set(fieldText, details.inputValue, true);
|
|
105
|
+
if (autoFilter()) filter(details.inputValue);
|
|
106
|
+
$$props.onInputValueChange?.(details.inputValue);
|
|
107
|
+
}
|
|
108
|
+
function pick(details) {
|
|
109
|
+
const [first] = details.value;
|
|
110
|
+
if (first == null) return;
|
|
111
|
+
$$props.onSelect?.(first);
|
|
112
|
+
setOpen(false);
|
|
113
|
+
}
|
|
114
|
+
const available = $.derived(() => new Set(collection().items));
|
|
115
|
+
const groups = $.derived(() => {
|
|
116
|
+
const map = /* @__PURE__ */ new Map();
|
|
117
|
+
for (const entry of items()) {
|
|
118
|
+
if (!$.get(available).has(entry.value)) continue;
|
|
119
|
+
const key = entry.group ?? "";
|
|
120
|
+
if (!map.has(key)) map.set(key, []);
|
|
121
|
+
map.get(key).push(entry);
|
|
122
|
+
}
|
|
123
|
+
return map;
|
|
124
|
+
});
|
|
125
|
+
var fragment_1 = $.comment();
|
|
126
|
+
var node_3 = $.first_child(fragment_1);
|
|
127
|
+
$.component(node_3, () => Dialog.Root, ($$anchor, ArkDialog_Root) => {
|
|
128
|
+
ArkDialog_Root($$anchor, {
|
|
129
|
+
get open() {
|
|
130
|
+
return open();
|
|
131
|
+
},
|
|
132
|
+
onOpenChange: (details) => setOpen(details.open),
|
|
133
|
+
children: ($$anchor, $$slotProps) => {
|
|
134
|
+
Portal($$anchor, {
|
|
135
|
+
children: ($$anchor, $$slotProps) => {
|
|
136
|
+
var fragment_3 = root_6();
|
|
137
|
+
var node_4 = $.first_child(fragment_3);
|
|
138
|
+
$.component(node_4, () => Dialog.Backdrop, ($$anchor, ArkDialog_Backdrop) => {
|
|
139
|
+
ArkDialog_Backdrop($$anchor, {});
|
|
140
|
+
});
|
|
141
|
+
var node_5 = $.sibling(node_4, 2);
|
|
142
|
+
{
|
|
143
|
+
const asChild = ($$anchor, positionerProps = $.noop) => {
|
|
144
|
+
var div_1 = root_7();
|
|
145
|
+
$.attribute_effect(div_1, ($0) => ({
|
|
146
|
+
...$0,
|
|
147
|
+
"data-scope": "command",
|
|
148
|
+
"data-part": "positioner"
|
|
149
|
+
}), [() => positionerProps()()]);
|
|
150
|
+
var node_6 = $.child(div_1);
|
|
151
|
+
{
|
|
152
|
+
const asChild = ($$anchor, contentProps = $.noop) => {
|
|
153
|
+
var div_2 = root_7();
|
|
154
|
+
$.attribute_effect(div_2, ($0) => ({
|
|
155
|
+
...$0,
|
|
156
|
+
"data-scope": "command",
|
|
157
|
+
"data-part": "content"
|
|
158
|
+
}), [() => contentProps()()]);
|
|
159
|
+
var node_7 = $.child(div_2);
|
|
160
|
+
$.component(node_7, () => Combobox.Root, ($$anchor, ArkCombobox_Root) => {
|
|
161
|
+
ArkCombobox_Root($$anchor, {
|
|
162
|
+
get collection() {
|
|
163
|
+
return collection;
|
|
164
|
+
},
|
|
165
|
+
get inputValue() {
|
|
166
|
+
return $$props.inputValue;
|
|
167
|
+
},
|
|
168
|
+
get open() {
|
|
169
|
+
return $.get(listOpen);
|
|
170
|
+
},
|
|
171
|
+
onOpenChange: (details) => $.set(listOpen, details.open, true),
|
|
172
|
+
autoHighlight: true,
|
|
173
|
+
loopFocus: true,
|
|
174
|
+
onInputValueChange: onFieldInput,
|
|
175
|
+
onValueChange: pick,
|
|
176
|
+
children: ($$anchor, $$slotProps) => {
|
|
177
|
+
var fragment_4 = root_6();
|
|
178
|
+
var node_8 = $.first_child(fragment_4);
|
|
179
|
+
{
|
|
180
|
+
const asChild = ($$anchor, inputProps = $.noop) => {
|
|
181
|
+
var input_1 = root_3();
|
|
182
|
+
$.attribute_effect(input_1, ($0) => ({
|
|
183
|
+
...$0,
|
|
184
|
+
type: "text",
|
|
185
|
+
placeholder: $$props.placeholder,
|
|
186
|
+
"data-scope": "command",
|
|
187
|
+
"data-part": "input"
|
|
188
|
+
}), [() => inputProps()()], void 0, void 0, void 0, true);
|
|
189
|
+
$.append($$anchor, input_1);
|
|
190
|
+
};
|
|
191
|
+
$.component(node_8, () => Combobox.Input, ($$anchor, ArkCombobox_Input) => {
|
|
192
|
+
ArkCombobox_Input($$anchor, {
|
|
193
|
+
asChild,
|
|
194
|
+
$$slots: { asChild: true }
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
var node_9 = $.sibling(node_8, 2);
|
|
199
|
+
{
|
|
200
|
+
const asChild = ($$anchor, listProps = $.noop) => {
|
|
201
|
+
var div_3 = root_2();
|
|
202
|
+
$.attribute_effect(div_3, ($0) => ({
|
|
203
|
+
...$0,
|
|
204
|
+
"data-scope": "command",
|
|
205
|
+
"data-part": "list"
|
|
206
|
+
}), [() => listProps()()]);
|
|
207
|
+
var node_10 = $.child(div_3);
|
|
208
|
+
$.each(node_10, 17, () => [...$.get(groups)], ([group, entries]) => group, ($$anchor, $$item) => {
|
|
209
|
+
var $$array = $.derived(() => $.to_array($.get($$item), 2));
|
|
210
|
+
let group = () => $.get($$array)[0];
|
|
211
|
+
let entries = () => $.get($$array)[1];
|
|
212
|
+
var fragment_5 = $.comment();
|
|
213
|
+
var node_11 = $.first_child(fragment_5);
|
|
214
|
+
var consequent_1 = ($$anchor) => {
|
|
215
|
+
var fragment_6 = $.comment();
|
|
216
|
+
var node_12 = $.first_child(fragment_6);
|
|
217
|
+
$.each(node_12, 17, entries, (entry) => entry.value, ($$anchor, entry) => {
|
|
218
|
+
row($$anchor, () => $.get(entry));
|
|
219
|
+
});
|
|
220
|
+
$.append($$anchor, fragment_6);
|
|
221
|
+
};
|
|
222
|
+
var alternate = ($$anchor) => {
|
|
223
|
+
var fragment_8 = $.comment();
|
|
224
|
+
var node_13 = $.first_child(fragment_8);
|
|
225
|
+
{
|
|
226
|
+
const asChild = ($$anchor, groupProps = $.noop) => {
|
|
227
|
+
var div_4 = root_2();
|
|
228
|
+
$.attribute_effect(div_4, ($0) => ({
|
|
229
|
+
...$0,
|
|
230
|
+
"data-scope": "command",
|
|
231
|
+
"data-part": "group"
|
|
232
|
+
}), [() => groupProps()()]);
|
|
233
|
+
var node_14 = $.child(div_4);
|
|
234
|
+
{
|
|
235
|
+
const asChild = ($$anchor, labelProps = $.noop) => {
|
|
236
|
+
var div_5 = root_4();
|
|
237
|
+
$.attribute_effect(div_5, ($0) => ({
|
|
238
|
+
...$0,
|
|
239
|
+
"data-scope": "command",
|
|
240
|
+
"data-part": "group-label"
|
|
241
|
+
}), [() => labelProps()()]);
|
|
242
|
+
var text_2 = $.only_child(div_5, true);
|
|
243
|
+
$.template_effect(() => $.set_text(text_2, group()));
|
|
244
|
+
$.append($$anchor, div_5);
|
|
245
|
+
};
|
|
246
|
+
$.component(node_14, () => Combobox.ItemGroupLabel, ($$anchor, ArkCombobox_ItemGroupLabel) => {
|
|
247
|
+
ArkCombobox_ItemGroupLabel($$anchor, {
|
|
248
|
+
asChild,
|
|
249
|
+
$$slots: { asChild: true }
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
var node_15 = $.sibling(node_14, 2);
|
|
254
|
+
$.each(node_15, 17, entries, (entry) => entry.value, ($$anchor, entry) => {
|
|
255
|
+
row($$anchor, () => $.get(entry));
|
|
256
|
+
});
|
|
257
|
+
$.reset(div_4);
|
|
258
|
+
$.append($$anchor, div_4);
|
|
259
|
+
};
|
|
260
|
+
$.component(node_13, () => Combobox.ItemGroup, ($$anchor, ArkCombobox_ItemGroup) => {
|
|
261
|
+
ArkCombobox_ItemGroup($$anchor, {
|
|
262
|
+
asChild,
|
|
263
|
+
$$slots: { asChild: true }
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
$.append($$anchor, fragment_8);
|
|
268
|
+
};
|
|
269
|
+
$.if(node_11, ($$render) => {
|
|
270
|
+
if (group() === "") $$render(consequent_1);
|
|
271
|
+
else $$render(alternate, -1);
|
|
272
|
+
});
|
|
273
|
+
$.append($$anchor, fragment_5);
|
|
274
|
+
});
|
|
275
|
+
var node_16 = $.sibling(node_10, 2);
|
|
276
|
+
var consequent_2 = ($$anchor) => {
|
|
277
|
+
var div_6 = root_5();
|
|
278
|
+
var text_3 = $.only_child(div_6, true);
|
|
279
|
+
$.template_effect(() => $.set_text(text_3, emptyText()));
|
|
280
|
+
$.append($$anchor, div_6);
|
|
281
|
+
};
|
|
282
|
+
$.if(node_16, ($$render) => {
|
|
283
|
+
if ($.get(groups).size === 0) $$render(consequent_2);
|
|
284
|
+
});
|
|
285
|
+
$.reset(div_3);
|
|
286
|
+
$.append($$anchor, div_3);
|
|
287
|
+
};
|
|
288
|
+
$.component(node_9, () => Combobox.Content, ($$anchor, ArkCombobox_Content) => {
|
|
289
|
+
ArkCombobox_Content($$anchor, {
|
|
290
|
+
asChild,
|
|
291
|
+
$$slots: { asChild: true }
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
$.append($$anchor, fragment_4);
|
|
296
|
+
},
|
|
297
|
+
$$slots: { default: true }
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
$.reset(div_2);
|
|
301
|
+
$.append($$anchor, div_2);
|
|
302
|
+
};
|
|
303
|
+
$.component(node_6, () => Dialog.Content, ($$anchor, ArkDialog_Content) => {
|
|
304
|
+
ArkDialog_Content($$anchor, {
|
|
305
|
+
asChild,
|
|
306
|
+
$$slots: { asChild: true }
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
$.reset(div_1);
|
|
311
|
+
$.append($$anchor, div_1);
|
|
312
|
+
};
|
|
313
|
+
$.component(node_5, () => Dialog.Positioner, ($$anchor, ArkDialog_Positioner) => {
|
|
314
|
+
ArkDialog_Positioner($$anchor, {
|
|
315
|
+
asChild,
|
|
316
|
+
$$slots: { asChild: true }
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
$.append($$anchor, fragment_3);
|
|
321
|
+
},
|
|
322
|
+
$$slots: { default: true }
|
|
323
|
+
});
|
|
324
|
+
},
|
|
325
|
+
$$slots: { default: true }
|
|
326
|
+
});
|
|
327
|
+
});
|
|
328
|
+
$.append($$anchor, fragment_1);
|
|
329
|
+
$.pop();
|
|
330
|
+
}
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/components/command/index.ts
|
|
333
|
+
/** The command palette: a modal sheet at the top of the page carrying a
|
|
334
|
+
* search field over the caller's commands, grouped as a ledger with a
|
|
335
|
+
* keycap hint at each row. The shell is the dialog machinery — scrim,
|
|
336
|
+
* focus trap, Escape — and the searching is the combobox machinery
|
|
337
|
+
* driving our own list: the vessel and the list live inside the sheet,
|
|
338
|
+
* so the combobox renders no separate popup and the machine's content
|
|
339
|
+
* grafts onto the sheet's list. */
|
|
340
|
+
const Command = Command$1;
|
|
341
|
+
injectComponentStyle("dialog");
|
|
342
|
+
//#endregion
|
|
343
|
+
export { Command as t };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
//#region src/components/comment/Comment.svelte
|
|
5
|
+
var rest_excludes = /* @__PURE__ */ new Set([
|
|
6
|
+
"$$slots",
|
|
7
|
+
"$$events",
|
|
8
|
+
"$$legacy",
|
|
9
|
+
"author",
|
|
10
|
+
"datetime",
|
|
11
|
+
"avatar",
|
|
12
|
+
"actions",
|
|
13
|
+
"children"
|
|
14
|
+
]);
|
|
15
|
+
var root = $.from_html(`<div data-scope="comment" data-part="avatar"><!></div>`);
|
|
16
|
+
var root_1 = $.from_html(`<span data-scope="comment" data-part="author"> </span>`);
|
|
17
|
+
var root_2 = $.from_html(`<time data-scope="comment" data-part="datetime"> </time>`);
|
|
18
|
+
var root_3 = $.from_html(`<header data-scope="comment" data-part="header"><!> <!></header>`);
|
|
19
|
+
var root_4 = $.from_html(`<div data-scope="comment" data-part="actions"><!></div>`);
|
|
20
|
+
var root_5 = $.from_html(`<article><!> <div data-scope="comment" data-part="body"><!> <div data-scope="comment" data-part="content"><!></div> <!></div></article>`);
|
|
21
|
+
function Comment$1($$anchor, $$props) {
|
|
22
|
+
$.push($$props, true);
|
|
23
|
+
injectComponentStyle("comment");
|
|
24
|
+
let rest = $.rest_props($$props, rest_excludes);
|
|
25
|
+
var article = root_5();
|
|
26
|
+
$.attribute_effect(article, () => ({
|
|
27
|
+
...rest,
|
|
28
|
+
"data-scope": "comment",
|
|
29
|
+
"data-part": "root"
|
|
30
|
+
}));
|
|
31
|
+
var node = $.child(article);
|
|
32
|
+
var consequent = ($$anchor) => {
|
|
33
|
+
var div = root();
|
|
34
|
+
var node_1 = $.child(div);
|
|
35
|
+
$.snippet(node_1, () => $$props.avatar);
|
|
36
|
+
$.reset(div);
|
|
37
|
+
$.append($$anchor, div);
|
|
38
|
+
};
|
|
39
|
+
$.if(node, ($$render) => {
|
|
40
|
+
if ($$props.avatar) $$render(consequent);
|
|
41
|
+
});
|
|
42
|
+
var div_1 = $.sibling(node, 2);
|
|
43
|
+
var node_2 = $.child(div_1);
|
|
44
|
+
var consequent_3 = ($$anchor) => {
|
|
45
|
+
var header = root_3();
|
|
46
|
+
var node_3 = $.child(header);
|
|
47
|
+
var consequent_1 = ($$anchor) => {
|
|
48
|
+
var span = root_1();
|
|
49
|
+
var text = $.only_child(span, true);
|
|
50
|
+
$.template_effect(() => $.set_text(text, $$props.author));
|
|
51
|
+
$.append($$anchor, span);
|
|
52
|
+
};
|
|
53
|
+
$.if(node_3, ($$render) => {
|
|
54
|
+
if ($$props.author) $$render(consequent_1);
|
|
55
|
+
});
|
|
56
|
+
var node_4 = $.sibling(node_3, 2);
|
|
57
|
+
var consequent_2 = ($$anchor) => {
|
|
58
|
+
var time = root_2();
|
|
59
|
+
var text_1 = $.only_child(time, true);
|
|
60
|
+
$.template_effect(() => {
|
|
61
|
+
$.set_attribute(time, "datetime", $$props.datetime);
|
|
62
|
+
$.set_text(text_1, $$props.datetime);
|
|
63
|
+
});
|
|
64
|
+
$.append($$anchor, time);
|
|
65
|
+
};
|
|
66
|
+
$.if(node_4, ($$render) => {
|
|
67
|
+
if ($$props.datetime) $$render(consequent_2);
|
|
68
|
+
});
|
|
69
|
+
$.reset(header);
|
|
70
|
+
$.append($$anchor, header);
|
|
71
|
+
};
|
|
72
|
+
$.if(node_2, ($$render) => {
|
|
73
|
+
if ($$props.author || $$props.datetime) $$render(consequent_3);
|
|
74
|
+
});
|
|
75
|
+
var div_2 = $.sibling(node_2, 2);
|
|
76
|
+
var node_5 = $.child(div_2);
|
|
77
|
+
$.snippet(node_5, () => $$props.children ?? $.noop);
|
|
78
|
+
$.reset(div_2);
|
|
79
|
+
var node_6 = $.sibling(div_2, 2);
|
|
80
|
+
var consequent_4 = ($$anchor) => {
|
|
81
|
+
var div_3 = root_4();
|
|
82
|
+
var node_7 = $.child(div_3);
|
|
83
|
+
$.snippet(node_7, () => $$props.actions);
|
|
84
|
+
$.reset(div_3);
|
|
85
|
+
$.append($$anchor, div_3);
|
|
86
|
+
};
|
|
87
|
+
$.if(node_6, ($$render) => {
|
|
88
|
+
if ($$props.actions) $$render(consequent_4);
|
|
89
|
+
});
|
|
90
|
+
$.reset(div_1);
|
|
91
|
+
$.reset(article);
|
|
92
|
+
$.append($$anchor, article);
|
|
93
|
+
$.pop();
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/comment/index.ts
|
|
97
|
+
/** A voice on the record: the portrait hangs left (the avatar snippet),
|
|
98
|
+
* the body carries the byline from `author` and `datetime`, the ink is
|
|
99
|
+
* the children snippet, and the actions snippet is the row of answers. */
|
|
100
|
+
const Comment = Comment$1;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { Comment as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Accordion as Accordion$1 } from "@ark-ui/svelte/accordion";
|
|
2
|
+
//#region src/components/accordion/index.d.ts
|
|
3
|
+
/** Ark's Accordion, dressed in the paper-and-ink system: a ruled sheet
|
|
4
|
+
* folded by quiet rows, unfolding with a spring-chevoned dissolve. The
|
|
5
|
+
* API is Ark's own — Root, Item, ItemTrigger, ItemContent, ItemIndicator. */
|
|
6
|
+
export declare const Accordion: typeof Accordion$1;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Accordion as Accordion$1 } from "@ark-ui/svelte/accordion";
|
|
3
|
+
//#region src/components/accordion/index.ts
|
|
4
|
+
/** Ark's Accordion, dressed in the paper-and-ink system: a ruled sheet
|
|
5
|
+
* folded by quiet rows, unfolding with a spring-chevoned dissolve. The
|
|
6
|
+
* API is Ark's own — Root, Item, ItemTrigger, ItemContent, ItemIndicator. */
|
|
7
|
+
const Accordion = Accordion$1;
|
|
8
|
+
injectComponentStyle("accordion");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Accordion };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { i as Ai$1, n as AiContent, r as AiActions, t as AiLoader } from "../../AiLoader-0jlig3fe.mjs";
|
|
2
|
+
import { t as ActionProps } from "../../props-BvDM6-cm.mjs";
|
|
3
|
+
import { n as MessageRole, t as MessageProps } from "../../props-CIwO25eA.mjs";
|
|
4
|
+
import { t as PromptInputProps } from "../../props-U567RIQo.mjs";
|
|
5
|
+
import { t as ReasoningProps } from "../../props-BZcE7LP_.mjs";
|
|
6
|
+
import { t as ResponseProps } from "../../props-D93CbAiS.mjs";
|
|
7
|
+
import { t as SourceProps } from "../../props-C2OWII_8.mjs";
|
|
8
|
+
import { t as SuggestionProps } from "../../props-Dr7ABUbp.mjs";
|
|
9
|
+
import { n as ToolStatus, t as ToolProps } from "../../props-B9YcQX8X.mjs";
|
|
10
|
+
import { a as SourceDocumentUIPart, c as TextUIPart, d as UIMessagePart, f as AiPartProps, i as ReasoningUIPart, l as ToolUIPart, n as DataUIPart, o as SourceUrlUIPart, r as FileUIPart, s as StepStartUIPart, t as Ai, u as UIMessage } from "../../index-CtbGSRNw.mjs";
|
|
11
|
+
export { type ActionProps, Ai, AiActions, AiContent, Ai$1 as AiConversation, AiLoader, type AiPartProps, type DataUIPart, type FileUIPart, type MessageProps, type MessageRole, type PromptInputProps, type ReasoningProps, type ReasoningUIPart, type ResponseProps, type SourceDocumentUIPart, type SourceProps, type SourceUrlUIPart, type StepStartUIPart, type SuggestionProps, type TextUIPart, type ToolProps, type ToolStatus, type ToolUIPart, type UIMessage, type UIMessagePart };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as AiAction } from "../../ai-action-DKsvxilp.mjs";
|
|
2
|
+
import { t as AiMessage } from "../../ai-message-DBs1fdFm.mjs";
|
|
3
|
+
import { t as AiPromptInput } from "../../ai-prompt-input-BmyKyadu.mjs";
|
|
4
|
+
import { t as AiReasoning } from "../../ai-reasoning-C4YsB2hQ.mjs";
|
|
5
|
+
import { t as AiResponse } from "../../ai-response-D5IkRFMN.mjs";
|
|
6
|
+
import { n as AiSources, t as AiSource } from "../../ai-source-CvglcFw1.mjs";
|
|
7
|
+
import { t as AiSuggestion } from "../../ai-suggestion-zGAQ1kkf.mjs";
|
|
8
|
+
import { t as AiTool } from "../../ai-tool-DY_iNbMk.mjs";
|
|
9
|
+
import { i as Ai$1, n as AiContent, r as AiActions, t as AiLoader } from "../../AiLoader-0jlig3fe.mjs";
|
|
10
|
+
//#region src/components/ai/index.ts
|
|
11
|
+
const Ai = Object.assign(Ai$1, {
|
|
12
|
+
Conversation: Ai$1,
|
|
13
|
+
MessageContent: AiContent,
|
|
14
|
+
Message: AiMessage,
|
|
15
|
+
Response: AiResponse,
|
|
16
|
+
Reasoning: AiReasoning,
|
|
17
|
+
Tool: AiTool,
|
|
18
|
+
Sources: AiSources,
|
|
19
|
+
Source: AiSource,
|
|
20
|
+
Actions: AiActions,
|
|
21
|
+
Action: AiAction,
|
|
22
|
+
Suggestion: AiSuggestion,
|
|
23
|
+
PromptInput: AiPromptInput,
|
|
24
|
+
Loader: AiLoader
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Ai, AiActions, AiContent, Ai$1 as AiConversation, AiLoader };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as ActionProps } from "../../props-BvDM6-cm.mjs";
|
|
2
|
+
//#region src/components/ai-action/index.d.ts
|
|
3
|
+
/** A quiet icon button — copy, retry, thumbs. The control is the
|
|
4
|
+
* shared Button in its ghost register. */
|
|
5
|
+
export declare const AiAction: import("svelte").Component<ActionProps, {}, "">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AiAction as Action, type ActionProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as AttachmentsProps, i as AttachmentStatus, n as Attachments, r as AttachmentProps, t as Attachment } from "../../index-wDHiUpr6.mjs";
|
|
2
|
+
export { Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, type AttachmentProps, type AttachmentStatus, type AttachmentsProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { n as MessageRole, t as MessageProps } from "../../props-CIwO25eA.mjs";
|
|
2
|
+
//#region src/components/ai-message/index.d.ts
|
|
3
|
+
/** Whose stroke this is — the user's words sit in a recessed bubble,
|
|
4
|
+
* the assistant speaks flat on the paper. */
|
|
5
|
+
export declare const AiMessage: import("svelte").Component<MessageProps, {}, "">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AiMessage as Message, type MessageProps, type MessageRole };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as PromptInputProps } from "../../props-U567RIQo.mjs";
|
|
2
|
+
//#region src/components/ai-prompt-input/index.d.ts
|
|
3
|
+
/** The prompt vessel: the shared field textarea — self-growing on the
|
|
4
|
+
* machine's autoresize — over a footer row carrying the submit seal. */
|
|
5
|
+
export declare const AiPromptInput: import("svelte").Component<PromptInputProps, {}, "value">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AiPromptInput as PromptInput, type PromptInputProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as ReasoningProps } from "../../props-BZcE7LP_.mjs";
|
|
2
|
+
//#region src/components/ai-reasoning/index.d.ts
|
|
3
|
+
/** The model's thought, folded by the shared collapsible in its quiet
|
|
4
|
+
* register. */
|
|
5
|
+
export declare const AiReasoning: import("svelte").Component<ReasoningProps, {}, "">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AiReasoning as Reasoning, type ReasoningProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { t as ResponseProps } from "../../props-D93CbAiS.mjs";
|
|
2
|
+
//#region src/components/ai-response/index.d.ts
|
|
3
|
+
/** Markdown set on the paper — streaming-safe by construction. */
|
|
4
|
+
export declare const AiResponse: import("svelte").Component<ResponseProps, {}, "">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AiResponse as Response, type ResponseProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { n as SourcesProps, t as SourceProps } from "../../props-C2OWII_8.mjs";
|
|
2
|
+
//#region src/components/ai-source/index.d.ts
|
|
3
|
+
/** One place the ink came from, and the reading list that gathers
|
|
4
|
+
* them under a response. */
|
|
5
|
+
export declare const AiSource: import("svelte").Component<SourceProps, {}, "">;
|
|
6
|
+
export declare const AiSources: import("svelte").Component<SourcesProps, {}, "">;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AiSource as Source, AiSources as Sources, type SourceProps, type SourcesProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as SuggestionProps } from "../../props-Dr7ABUbp.mjs";
|
|
2
|
+
//#region src/components/ai-suggestion/index.d.ts
|
|
3
|
+
/** A seal-cut button proposing the next stroke; selection hands back
|
|
4
|
+
* the prompt. */
|
|
5
|
+
export declare const AiSuggestion: import("svelte").Component<SuggestionProps, {}, "">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AiSuggestion as Suggestion, type SuggestionProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { n as ToolStatus, t as ToolProps } from "../../props-B9YcQX8X.mjs";
|
|
2
|
+
//#region src/components/ai-tool/index.d.ts
|
|
3
|
+
/** A tool call: the shared collapsible as the vessel — the name it
|
|
4
|
+
* was reached by and the state it reached in on the trigger, its
|
|
5
|
+
* input and output folded inside. */
|
|
6
|
+
export declare const AiTool: import("svelte").Component<ToolProps, {}, "">;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AiTool as Tool, type ToolProps, type ToolStatus };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as AngleSliderRoot } from "../../AngleSliderRoot-CUe5sgWU.mjs";
|
|
2
|
+
import { AngleSlider as AngleSlider$1 } from "@ark-ui/svelte/angle-slider";
|
|
3
|
+
//#region src/components/angle-slider/index.d.ts
|
|
4
|
+
export declare const AngleSlider: Omit<typeof AngleSlider$1, "Root"> & {
|
|
5
|
+
Root: typeof AngleSliderRoot;
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as AngleSliderRoot } from "../../AngleSliderRoot-CUe5sgWU.mjs";
|
|
2
|
+
import { AngleSlider as AngleSlider$1 } from "@ark-ui/svelte/angle-slider";
|
|
3
|
+
//#region src/components/angle-slider/index.ts
|
|
4
|
+
/** Ark's AngleSlider, dressed in the paper-and-ink system: a flat paper dial
|
|
5
|
+
* the thumb sweeps as a pigment needle over hairline degree ticks. The API
|
|
6
|
+
* is Ark's own — Root, Label, ValueText, Control, Thumb, MarkerGroup,
|
|
7
|
+
* Marker, HiddenInput. */
|
|
8
|
+
const AngleSlider = {
|
|
9
|
+
...AngleSlider$1,
|
|
10
|
+
Root: AngleSliderRoot
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AngleSlider };
|