@bysages/svelte 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion-ChCzhYPl.mjs +147 -0
- package/dist/AngleSlider-_DsaxreA.mjs +167 -0
- package/dist/{avatar-LR0CZ1Iz.mjs → Avatar-RTIHq1px.mjs} +7 -9
- package/dist/Carousel-BbMJNLY3.mjs +171 -0
- package/dist/Checkbox-BlbCL1T1.mjs +126 -0
- package/dist/ChevronIcon-BrLZJ0NH.mjs +10 -0
- package/dist/Clipboard-BUeJPGSX.mjs +116 -0
- package/dist/Collapsible-DJ8B-4w0.mjs +121 -0
- package/dist/ColorPicker-BHj_4m8H.mjs +248 -0
- package/dist/Combobox-CI0zJOm_.mjs +259 -0
- package/dist/DateInput-CYNt1ltj.mjs +154 -0
- package/dist/DatePicker-B8AQBgUp.mjs +346 -0
- package/dist/Dialog-DOxZ3eye.mjs +178 -0
- package/dist/Drawer-qpsQNpLj.mjs +178 -0
- package/dist/Editable-Die4QZWo.mjs +176 -0
- package/dist/Field-CO2VK0f_.mjs +143 -0
- package/dist/Fieldset-DMp5m8vW.mjs +118 -0
- package/dist/FileUpload-DZE4CRxe.mjs +232 -0
- package/dist/FloatingPanel-B5-5flGu.mjs +253 -0
- package/dist/HoverCard-CzkvDJbI.mjs +154 -0
- package/dist/ImageCropper-CC9AyFBi.mjs +155 -0
- package/dist/ImageViewer-DEMg26LY.mjs +294 -0
- package/dist/InternalIcon-Clwbj4MY.mjs +19 -0
- package/dist/JsonTreeViewTree-DPRObG7r.mjs +160 -0
- package/dist/Listbox-BcF6Uk8j.mjs +189 -0
- package/dist/Marquee-DWGGrLlz.mjs +123 -0
- package/dist/Menu-bJv3fB0Z.mjs +200 -0
- package/dist/{menubar-2MPo9w5z.mjs → Menubar-D-UDLqtm.mjs} +2 -12
- package/dist/NavigationMenu-CgC0GMdq.mjs +158 -0
- package/dist/NumberInput-OX9IP5KS.mjs +174 -0
- package/dist/Pagination-D6vDzhVj.mjs +180 -0
- package/dist/PasswordInput-CKUqwouu.mjs +167 -0
- package/dist/PinInput-Ey0sJSwB.mjs +142 -0
- package/dist/Popover-Ct9y-0D-.mjs +231 -0
- package/dist/Progress-nBx2pMFh.mjs +115 -0
- package/dist/QrCode-C3gAYPIv.mjs +100 -0
- package/dist/RadioGroup-Czoicfnb.mjs +161 -0
- package/dist/RatingGroup-Bkliw7CU.mjs +157 -0
- package/dist/ScrollArea-BtAH_cdM.mjs +115 -0
- package/dist/SegmentGroup-BnHGitgF.mjs +158 -0
- package/dist/Select-CnNtViJ4.mjs +263 -0
- package/dist/SignaturePad-DBM5JNGh.mjs +170 -0
- package/dist/Slider-B-_5UxAX.mjs +166 -0
- package/dist/Splitter-lP3ibWns.mjs +146 -0
- package/dist/StepsItem-DT1XQX0x.mjs +174 -0
- package/dist/Swap-De-Zlnr6.mjs +130 -0
- package/dist/Switch-CJ-yBZVQ.mjs +133 -0
- package/dist/Tabs-V6R7R-F8.mjs +146 -0
- package/dist/TagsInput-CPbGeQZd.mjs +231 -0
- package/dist/Timer-CQJIx4Y0.mjs +141 -0
- package/dist/Toast-UTFPPLb1.mjs +129 -0
- package/dist/TocContent-DYks7TeI.mjs +207 -0
- package/dist/Toggle-fuL8Qi6H.mjs +101 -0
- package/dist/ToggleGroup-BB8BqcLo.mjs +142 -0
- package/dist/Tooltip-D-uRFl6m.mjs +194 -0
- package/dist/TreeViewNodeCheckbox-DbJ2jfGV.mjs +292 -0
- package/dist/{affix-BtL4lBPi.mjs → affix-Cog56FQH.mjs} +4 -3
- package/dist/{ai-action-DKsvxilp.mjs → ai-action-DziA_BN_.mjs} +3 -2
- package/dist/{ai-attachments-C0YVIKUc.mjs → ai-attachments-BalNjKhf.mjs} +22 -23
- package/dist/{ai-message-DBs1fdFm.mjs → ai-message-aIyT-RXH.mjs} +2 -1
- package/dist/{ai-prompt-input-vh89e9EX.mjs → ai-prompt-input-jB3RQ9Q8.mjs} +28 -25
- package/dist/{ai-reasoning-C4YsB2hQ.mjs → ai-reasoning-CQx7rye9.mjs} +3 -2
- package/dist/{ai-response-BPQPjMlC.mjs → ai-response-D_eFsV6G.mjs} +14 -6
- package/dist/{ai-source-CvglcFw1.mjs → ai-source-B9ZfhWOl.mjs} +3 -2
- package/dist/{ai-suggestion-zGAQ1kkf.mjs → ai-suggestion-CrZ5Ol4-.mjs} +3 -2
- package/dist/{ai-tool-DY_iNbMk.mjs → ai-tool-0vdpM2Aq.mjs} +3 -2
- package/dist/{alert-Xp8I8IY9.mjs → alert-D9oBDEBE.mjs} +15 -12
- package/dist/{aspect-ratio-COOgu44A.mjs → aspect-ratio-Ca2csfG1.mjs} +2 -1
- package/dist/{autocomplete-Dhuhqp-6.mjs → autocomplete-CS7ZVq_o.mjs} +8 -3
- package/dist/{avatar-group-BgIxNuVj.mjs → avatar-group-BnyaymLu.mjs} +2 -1
- package/dist/{back-top-rbP0aP47.mjs → back-top-DNwTF40O.mjs} +7 -7
- package/dist/{badge-DKa-8Pv0.mjs → badge-BFZgNgbw.mjs} +2 -1
- package/dist/{banner-Bj3FFB-O.mjs → banner-Ko97JhS3.mjs} +5 -1
- package/dist/{block-ui-CxsMoEoa.mjs → block-ui-DTG19xuY.mjs} +2 -1
- package/dist/{browser-gmPTH6mJ.mjs → browser-Dlqvffp6.mjs} +1 -0
- package/dist/{button-BCcX7lHq.mjs → button-CghWQD3J.mjs} +2 -1
- package/dist/{button-group-CVLqPMlR.mjs → button-group-BV7Ces1o.mjs} +2 -1
- package/dist/{calendar-BMXmRdwJ.mjs → calendar-BXWvgkjq.mjs} +99 -101
- package/dist/{cascade-select-CfvWchiN.mjs → cascade-select-CKStvgjR.mjs} +30 -19
- package/dist/checkbox-group-Bu27PIve.mjs +143 -0
- package/dist/{chip-mjLlbQ2t.mjs → chip-CZAgD6LS.mjs} +2 -1
- package/dist/{command-CZRC1T-6.mjs → command-CJ6jk-9b.mjs} +3 -2
- package/dist/{comment-C91xgrtK.mjs → comment-DM1fOXro.mjs} +2 -1
- package/dist/components/accordion/index.d.mts +4 -1
- package/dist/components/accordion/index.mjs +6 -3
- package/dist/components/affix/index.d.mts +1 -1
- package/dist/components/affix/index.mjs +1 -1
- package/dist/components/ai/index.d.mts +2 -2
- package/dist/components/ai/index.mjs +9 -8
- package/dist/components/ai-action/index.d.mts +3 -1
- package/dist/components/ai-action/index.mjs +1 -1
- package/dist/components/ai-attachments/index.d.mts +1 -1
- package/dist/components/ai-attachments/index.mjs +1 -1
- package/dist/components/ai-message/index.d.mts +3 -1
- package/dist/components/ai-message/index.mjs +1 -1
- package/dist/components/ai-prompt-input/index.d.mts +4 -2
- package/dist/components/ai-prompt-input/index.mjs +1 -1
- package/dist/components/ai-reasoning/index.d.mts +3 -1
- package/dist/components/ai-reasoning/index.mjs +1 -1
- package/dist/components/ai-response/index.d.mts +3 -1
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-source/index.d.mts +6 -2
- package/dist/components/ai-source/index.mjs +1 -1
- package/dist/components/ai-suggestion/index.d.mts +3 -1
- package/dist/components/ai-suggestion/index.mjs +1 -1
- package/dist/components/ai-tool/index.d.mts +3 -1
- package/dist/components/ai-tool/index.mjs +1 -1
- package/dist/components/alert/index.mjs +1 -1
- package/dist/components/angle-slider/index.d.mts +2 -2
- package/dist/components/angle-slider/index.mjs +4 -3
- package/dist/components/aspect-ratio/index.d.mts +1 -1
- package/dist/components/aspect-ratio/index.mjs +1 -1
- package/dist/components/autocomplete/index.d.mts +1 -1
- package/dist/components/autocomplete/index.mjs +1 -1
- package/dist/components/avatar/index.d.mts +12 -2
- package/dist/components/avatar/index.mjs +14 -1
- package/dist/components/avatar-group/index.d.mts +1 -1
- package/dist/components/avatar-group/index.mjs +1 -1
- package/dist/components/back-top/index.d.mts +1 -1
- package/dist/components/back-top/index.mjs +1 -1
- package/dist/components/badge/index.d.mts +1 -1
- package/dist/components/badge/index.mjs +1 -1
- package/dist/components/banner/index.mjs +1 -1
- package/dist/components/block-ui/index.d.mts +1 -1
- package/dist/components/block-ui/index.mjs +1 -1
- package/dist/components/browser/index.d.mts +1 -0
- package/dist/components/browser/index.mjs +1 -1
- package/dist/components/button/index.d.mts +1 -1
- package/dist/components/button/index.mjs +1 -1
- package/dist/components/button-group/index.d.mts +1 -1
- package/dist/components/button-group/index.mjs +1 -1
- package/dist/components/calendar/index.d.mts +1 -1
- package/dist/components/calendar/index.mjs +1 -1
- package/dist/components/carousel/index.d.mts +4 -1
- package/dist/components/carousel/index.mjs +6 -3
- package/dist/components/cascade-select/index.d.mts +1 -1
- package/dist/components/cascade-select/index.mjs +1 -1
- package/dist/components/checkbox/index.d.mts +2 -2
- package/dist/components/checkbox/index.mjs +4 -3
- package/dist/components/checkbox-group/index.d.mts +1 -1
- package/dist/components/checkbox-group/index.mjs +1 -1
- package/dist/components/chip/index.d.mts +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/client-only/index.d.mts +7 -2
- package/dist/components/client-only/index.mjs +8 -1
- package/dist/components/clipboard/index.d.mts +1 -1
- package/dist/components/clipboard/index.mjs +4 -3
- package/dist/components/collapsible/index.d.mts +4 -1
- package/dist/components/collapsible/index.mjs +6 -3
- package/dist/components/color-picker/index.d.mts +2 -2
- package/dist/components/color-picker/index.mjs +4 -3
- package/dist/components/combobox/index.d.mts +2 -2
- package/dist/components/combobox/index.mjs +4 -3
- package/dist/components/command/index.d.mts +1 -1
- package/dist/components/command/index.mjs +1 -1
- package/dist/components/comment/index.d.mts +1 -1
- package/dist/components/comment/index.mjs +1 -1
- package/dist/components/config-provider/index.d.mts +1 -1
- package/dist/components/config-provider/index.mjs +1 -1
- package/dist/components/container/index.d.mts +1 -1
- package/dist/components/container/index.mjs +1 -1
- package/dist/components/data-view/index.d.mts +1 -1
- package/dist/components/data-view/index.mjs +1 -1
- package/dist/components/date-input/index.d.mts +2 -2
- package/dist/components/date-input/index.mjs +4 -3
- package/dist/components/date-picker/index.d.mts +2 -2
- package/dist/components/date-picker/index.mjs +4 -3
- package/dist/components/deferred-content/index.d.mts +1 -1
- package/dist/components/deferred-content/index.mjs +1 -1
- package/dist/components/descriptions/index.d.mts +1 -1
- package/dist/components/descriptions/index.mjs +1 -1
- package/dist/components/dialog/index.d.mts +4 -1
- package/dist/components/dialog/index.mjs +6 -3
- package/dist/components/download-trigger/index.d.mts +13 -2
- package/dist/components/download-trigger/index.mjs +8 -1
- package/dist/components/drawer/index.d.mts +4 -1
- package/dist/components/drawer/index.mjs +6 -3
- package/dist/components/dynamic-input/index.d.mts +1 -1
- package/dist/components/dynamic-input/index.mjs +1 -1
- package/dist/components/editable/index.d.mts +2 -2
- package/dist/components/editable/index.mjs +4 -3
- package/dist/components/ellipsis/index.d.mts +1 -1
- package/dist/components/ellipsis/index.mjs +1 -1
- package/dist/components/field/index.d.mts +4 -1
- package/dist/components/field/index.mjs +6 -3
- package/dist/components/fieldset/index.d.mts +4 -1
- package/dist/components/fieldset/index.mjs +6 -3
- package/dist/components/file-upload/index.d.mts +2 -2
- package/dist/components/file-upload/index.mjs +4 -3
- package/dist/components/float-button/index.mjs +1 -1
- package/dist/components/floating-panel/index.d.mts +4 -1
- package/dist/components/floating-panel/index.mjs +6 -3
- package/dist/components/focus-trap/index.d.mts +7 -2
- package/dist/components/focus-trap/index.mjs +8 -1
- package/dist/components/form/index.d.mts +1 -1
- package/dist/components/form/index.mjs +1 -1
- package/dist/components/frame/index.d.mts +3 -1
- package/dist/components/frame/index.mjs +2 -1
- package/dist/components/grid/index.d.mts +1 -1
- package/dist/components/grid/index.mjs +1 -1
- package/dist/components/highlight/index.d.mts +3 -1
- package/dist/components/highlight/index.mjs +2 -1
- package/dist/components/hover-card/index.d.mts +4 -1
- package/dist/components/hover-card/index.mjs +6 -3
- package/dist/components/icon/index.d.mts +1 -1
- package/dist/components/icon/index.mjs +1 -1
- package/dist/components/image/index.d.mts +1 -1
- package/dist/components/image/index.mjs +1 -1
- package/dist/components/image-cropper/index.d.mts +4 -1
- package/dist/components/image-cropper/index.mjs +6 -3
- package/dist/components/image-viewer/index.d.mts +2 -2
- package/dist/components/image-viewer/index.mjs +12 -1
- package/dist/components/input/index.d.mts +1 -1
- package/dist/components/input/index.mjs +2 -1
- package/dist/components/json-tree-view/index.d.mts +6 -2
- package/dist/components/json-tree-view/index.mjs +6 -6
- package/dist/components/kbd/index.d.mts +1 -1
- package/dist/components/kbd/index.mjs +1 -1
- package/dist/components/layout/index.mjs +1 -1
- package/dist/components/link/index.d.mts +1 -1
- package/dist/components/link/index.mjs +1 -1
- package/dist/components/listbox/index.d.mts +1 -1
- package/dist/components/listbox/index.mjs +4 -3
- package/dist/components/marquee/index.d.mts +4 -1
- package/dist/components/marquee/index.mjs +6 -3
- package/dist/components/masonry/index.d.mts +1 -1
- package/dist/components/masonry/index.mjs +1 -1
- package/dist/components/media-player/index.d.mts +3 -0
- package/dist/components/media-player/index.mjs +3 -0
- package/dist/components/mentions/index.d.mts +1 -1
- package/dist/components/mentions/index.mjs +1 -1
- package/dist/components/menu/index.d.mts +2 -2
- package/dist/components/menu/index.mjs +4 -3
- package/dist/components/menubar/index.d.mts +1 -1
- package/dist/components/menubar/index.mjs +13 -1
- package/dist/components/navigation-menu/index.d.mts +6 -2
- package/dist/components/navigation-menu/index.mjs +8 -4
- package/dist/components/number-input/index.d.mts +2 -2
- package/dist/components/number-input/index.mjs +4 -3
- package/dist/components/order-list/index.d.mts +1 -1
- package/dist/components/order-list/index.mjs +1 -1
- package/dist/components/pagination/index.d.mts +2 -2
- package/dist/components/pagination/index.mjs +4 -3
- package/dist/components/password-input/index.d.mts +2 -2
- package/dist/components/password-input/index.mjs +4 -3
- package/dist/components/pin-input/index.d.mts +2 -2
- package/dist/components/pin-input/index.mjs +4 -3
- package/dist/components/popconfirm/index.d.mts +1 -1
- package/dist/components/popconfirm/index.mjs +1 -1
- package/dist/components/popover/index.d.mts +4 -1
- package/dist/components/popover/index.mjs +6 -3
- package/dist/components/presence/index.d.mts +8 -2
- package/dist/components/presence/index.mjs +9 -1
- package/dist/components/progress/index.d.mts +2 -2
- package/dist/components/progress/index.mjs +4 -3
- package/dist/components/progress-group/index.d.mts +1 -1
- package/dist/components/progress-group/index.mjs +1 -1
- package/dist/components/qr-code/index.d.mts +4 -1
- package/dist/components/qr-code/index.mjs +6 -3
- package/dist/components/radio-group/index.d.mts +2 -2
- package/dist/components/radio-group/index.mjs +4 -3
- package/dist/components/rating-group/index.d.mts +2 -2
- package/dist/components/rating-group/index.mjs +5 -4
- package/dist/components/result/index.d.mts +3 -0
- package/dist/components/result/index.mjs +1 -1
- package/dist/components/scroll-area/index.d.mts +4 -1
- package/dist/components/scroll-area/index.mjs +6 -3
- package/dist/components/segment-group/index.d.mts +2 -2
- package/dist/components/segment-group/index.mjs +4 -3
- package/dist/components/select/index.d.mts +1 -1
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/separator/index.d.mts +1 -1
- package/dist/components/separator/index.mjs +1 -1
- package/dist/components/signature-pad/index.d.mts +4 -1
- package/dist/components/signature-pad/index.mjs +6 -3
- package/dist/components/skeleton/index.d.mts +1 -1
- package/dist/components/skeleton/index.mjs +1 -1
- package/dist/components/slider/index.d.mts +2 -2
- package/dist/components/slider/index.mjs +4 -3
- package/dist/components/spinner/index.d.mts +1 -1
- package/dist/components/spinner/index.mjs +2 -1
- package/dist/components/split-button/index.d.mts +1 -1
- package/dist/components/split-button/index.mjs +1 -1
- package/dist/components/splitter/index.d.mts +4 -1
- package/dist/components/splitter/index.mjs +6 -3
- package/dist/components/spotlight/index.d.mts +1 -1
- package/dist/components/spotlight/index.mjs +1 -1
- package/dist/components/stack/index.d.mts +1 -1
- package/dist/components/stack/index.mjs +1 -1
- package/dist/components/steps/index.d.mts +2 -2
- package/dist/components/steps/index.mjs +4 -3
- package/dist/components/swap/index.d.mts +8 -5
- package/dist/components/swap/index.mjs +10 -5
- package/dist/components/switch/index.d.mts +2 -2
- package/dist/components/switch/index.mjs +4 -3
- package/dist/components/table/index.d.mts +1 -1
- package/dist/components/table/index.mjs +1 -1
- package/dist/components/tabs/index.d.mts +2 -2
- package/dist/components/tabs/index.mjs +4 -3
- package/dist/components/tags-input/index.d.mts +2 -2
- package/dist/components/tags-input/index.mjs +4 -3
- package/dist/components/terminal/index.d.mts +1 -1
- package/dist/components/terminal/index.mjs +1 -1
- package/dist/components/textarea/index.d.mts +1 -1
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/timer/index.d.mts +4 -1
- package/dist/components/timer/index.mjs +6 -3
- package/dist/components/toast/index.d.mts +7 -2
- package/dist/components/toast/index.mjs +7 -4
- package/dist/components/toc/index.d.mts +5 -3
- package/dist/components/toc/index.mjs +8 -7
- package/dist/components/toggle/index.d.mts +4 -1
- package/dist/components/toggle/index.mjs +6 -3
- package/dist/components/toggle-group/index.d.mts +2 -2
- package/dist/components/toggle-group/index.mjs +4 -3
- package/dist/components/toolbar/index.d.mts +1 -1
- package/dist/components/toolbar/index.mjs +1 -1
- package/dist/components/tooltip/index.d.mts +4 -1
- package/dist/components/tooltip/index.mjs +6 -3
- package/dist/components/tour/index.d.mts +10 -8
- package/dist/components/tour/index.mjs +12 -8
- package/dist/components/transfer/index.d.mts +1 -1
- package/dist/components/transfer/index.mjs +1 -1
- package/dist/components/tree-select/index.d.mts +1 -1
- package/dist/components/tree-select/index.mjs +1 -1
- package/dist/components/tree-view/index.d.mts +1 -1
- package/dist/components/tree-view/index.mjs +4 -3
- package/dist/components/typography/index.d.mts +1 -1
- package/dist/components/typography/index.mjs +1 -1
- package/dist/components/user/index.d.mts +1 -1
- package/dist/components/user/index.mjs +1 -1
- package/dist/components/virtual-list/index.d.mts +1 -1
- package/dist/components/virtual-list/index.mjs +1 -1
- package/dist/components/watermark/index.d.mts +1 -1
- package/dist/components/watermark/index.mjs +1 -1
- package/dist/{config-provider-CZJyd3MX.mjs → config-provider-Ca8wCLcK.mjs} +2 -1
- package/dist/{container-Cmiu_3W5.mjs → container-ZF0UMlIJ.mjs} +2 -1
- package/dist/{data-view-BORK23XZ.mjs → data-view-B3cJiuVC.mjs} +2 -1
- package/dist/{deferred-content-CO9YsKMQ.mjs → deferred-content-BYDuJ6NQ.mjs} +2 -1
- package/dist/{descriptions-DgkA_9B-.mjs → descriptions-BeZtDMzt.mjs} +90 -43
- package/dist/{dynamic-input-D1a-5vy-.mjs → dynamic-input-Bt1CeSq4.mjs} +9 -9
- package/dist/{ellipsis-CLaZ9Grh.mjs → ellipsis-CPs9IHbU.mjs} +2 -1
- package/dist/family-CzLaku1F.mjs +12 -0
- package/dist/{float-button-BLIHnw2u.mjs → float-button-B6J8RQMu.mjs} +15 -7
- package/dist/{form-BTL9S1gn.mjs → form-CCjPDJmO.mjs} +77 -97
- package/dist/{grid-DNgTWYSL.mjs → grid-ClJBYO96.mjs} +2 -1
- package/dist/{icon-D7AeDq0M.mjs → icon-DmeRO0e6.mjs} +10 -7
- package/dist/icon-lWVQxDG6.mjs +18 -0
- package/dist/id-Alz497yI.mjs +7 -0
- package/dist/{image-u_H4LtAC.mjs → image-BngY6J6J.mjs} +12 -9
- package/dist/{index-KxuOZGfm.d.mts → index-0aDSXVgl.d.mts} +2 -2
- package/dist/{index-KoqiUxmN.d.mts → index-3TmqYBnT.d.mts} +3 -1
- package/dist/index-9GiGGnGa.d.mts +136 -0
- package/dist/{index-ZUvVz2Fd.d.mts → index-BFKqgbq-.d.mts} +3 -1
- package/dist/index-BH-LkvzT.d.mts +35 -0
- package/dist/{index-CY4EuxyF.d.mts → index-BIHw8Gzt.d.mts} +3 -1
- package/dist/{index-DGOBhwXN.d.mts → index-BKZC0MtK.d.mts} +3 -1
- package/dist/{index-zZy5ZnA5.d.mts → index-BhTdJwBA.d.mts} +3 -1
- package/dist/{index-0k-VxNRm.d.mts → index-BhXsxcRN.d.mts} +5 -1
- package/dist/{index-BIIMyeLK.d.mts → index-BiwW7REL.d.mts} +3 -1
- package/dist/{index-k0ac5WNj.d.mts → index-ByxBpSC4.d.mts} +3 -1
- package/dist/{index-D1tQgtT0.d.mts → index-C-sa4baY.d.mts} +5 -3
- package/dist/{index-D_cE3qK2.d.mts → index-C-wU4kAX.d.mts} +3 -1
- package/dist/{index-D88v0BF1.d.mts → index-C0b8N_Aa.d.mts} +3 -1
- package/dist/{index-D9UBDdoA.d.mts → index-C5hCBtt4.d.mts} +3 -1
- package/dist/{index-CaVBzPln.d.mts → index-C6UrUbj8.d.mts} +3 -1
- package/dist/{index-BJvo4qep.d.mts → index-CBB8fpMT.d.mts} +2 -2
- package/dist/{index-C84DUNp9.d.mts → index-CC_yY588.d.mts} +3 -1
- package/dist/{index-Dy335EhR.d.mts → index-CI4acsws.d.mts} +2 -2
- package/dist/{index-DOcn6bMd.d.mts → index-CKaCfx0p.d.mts} +3 -1
- package/dist/{index-D1U7Svy2.d.mts → index-CMVb7mmq.d.mts} +6 -2
- package/dist/{index-BTndXl0q.d.mts → index-COWyuYkn.d.mts} +3 -1
- package/dist/{index-BFL_M4PT.d.mts → index-CV5LaGMy.d.mts} +3 -1
- package/dist/{index-BwFSueFx.d.mts → index-CWzdSZ-F.d.mts} +3 -1
- package/dist/{index-wDHiUpr6.d.mts → index-CXbdZAgD.d.mts} +7 -3
- package/dist/{index-DBbjFiDd.d.mts → index-CYtinraa.d.mts} +3 -1
- package/dist/{index-CeIQyZkc.d.mts → index-CZ0P3C6E.d.mts} +1 -0
- package/dist/{index-BEfqqxjl.d.mts → index-Cbc4doAM.d.mts} +7 -0
- package/dist/{index-BolxaoaW.d.mts → index-Cbd88ftD.d.mts} +3 -1
- package/dist/{index-BmFfkztS.d.mts → index-ChqP3kbL.d.mts} +3 -1
- package/dist/{index-CLoTtvcO.d.mts → index-CuonhYXR.d.mts} +3 -1
- package/dist/{index-CwM-SPPz.d.mts → index-CvDp7tiS.d.mts} +3 -1
- package/dist/{index-YCVah82j.d.mts → index-CyVykdGO.d.mts} +3 -1
- package/dist/{index-D0lEVqZc.d.mts → index-D2B6EH5P.d.mts} +3 -1
- package/dist/{index--K4P_QKU.d.mts → index-D61_Lx9o.d.mts} +3 -1
- package/dist/{index-Bj2IsU9D.d.mts → index-DAnDXxRZ.d.mts} +3 -1
- package/dist/{index-CKFfSEBR.d.mts → index-DC6AI8rV.d.mts} +3 -1
- package/dist/{index-OElK7gw7.d.mts → index-DCpx_Rui.d.mts} +3 -1
- package/dist/{index-_kQsvJKo.d.mts → index-DEWaAoNb.d.mts} +8 -7
- package/dist/{index-DfTAYXUT.d.mts → index-DGsu3J-2.d.mts} +3 -1
- package/dist/{index-oI4U-72X.d.mts → index-DQAelfXy.d.mts} +3 -1
- package/dist/{index-Cd4UxWsz.d.mts → index-DWlpILHb.d.mts} +3 -1
- package/dist/{index-Dr-T8jsb.d.mts → index-DXXhfdQC.d.mts} +3 -1
- package/dist/{index-DKDpZraB.d.mts → index-D_fO4kp1.d.mts} +11 -2
- package/dist/{index-CtbGSRNw.d.mts → index-DiTKkiJ-.d.mts} +29 -10
- package/dist/{index-C8WNp4wI.d.mts → index-DpxOnkTQ.d.mts} +3 -1
- package/dist/{index-B1iBag3L.d.mts → index-DpzuwMB7.d.mts} +3 -1
- package/dist/{index-DjaHpB21.d.mts → index-Dq4bm9bV.d.mts} +3 -1
- package/dist/{index-nfkt_cP_.d.mts → index-DwVr4QfC.d.mts} +3 -1
- package/dist/{index-CAb_-2Bn.d.mts → index-Dxktk3O7.d.mts} +3 -1
- package/dist/{index-8JoOZcM6.d.mts → index-DzohdB6p.d.mts} +3 -1
- package/dist/{index-CM6inLqu.d.mts → index-IR-e1YzH.d.mts} +4 -2
- package/dist/{index-CkFXH_oG.d.mts → index-LXovbafa.d.mts} +3 -1
- package/dist/{index-D6eYSdmD.d.mts → index-W2Op578F.d.mts} +5 -3
- package/dist/{index-mshFOd-j.d.mts → index-e1MA6eIk.d.mts} +3 -1
- package/dist/{index-BkGvErBJ.d.mts → index-eQIdP9QO.d.mts} +3 -1
- package/dist/{index-XHTt8I1B.d.mts → index-evrdvWRI.d.mts} +3 -1
- package/dist/{index-CjNUtqX_.d.mts → index-oF_zauHL.d.mts} +3 -1
- package/dist/{index-B2JKtCzc.d.mts → index-znAFQEmQ.d.mts} +9 -5
- package/dist/index.d.mts +65 -62
- package/dist/index.mjs +72 -69
- package/dist/{kbd-LXHpi4GM.mjs → kbd-C2kft-a5.mjs} +2 -1
- package/dist/{layout-GfxGYYhg.mjs → layout-CvseQjaj.mjs} +1 -1
- package/dist/{link-CuNiatc7.mjs → link-xMyEhImB.mjs} +2 -1
- package/dist/{masonry-B4-v4kJ0.mjs → masonry-lGCtykYE.mjs} +2 -1
- package/dist/media-player-D1cymqXf.mjs +808 -0
- package/dist/mentions-L0Z29LV8.mjs +256 -0
- package/dist/{order-list-D3EhH7EX.mjs → order-list-CoE45N5_.mjs} +2 -1
- package/dist/{popconfirm-NK5BPbrN.mjs → popconfirm-C6VCMgtZ.mjs} +52 -25
- package/dist/{progress-group-BQMAQWXh.mjs → progress-group-OR53RKfW.mjs} +3 -2
- package/dist/{props-U567RIQo.d.mts → props-DL-XfEtS.d.mts} +1 -1
- package/dist/{result-4Oee2ndu.mjs → result-1kEBWRai.mjs} +1 -0
- package/dist/{select-8ume4i2e.mjs → select-DQQ0bSN9.mjs} +11 -6
- package/dist/{separator-4JWXConE.mjs → separator-doDccxti.mjs} +2 -1
- package/dist/{skeleton-DOfOrlmL.mjs → skeleton-CKLyMSAV.mjs} +2 -1
- package/dist/{split-button-DnmVc_J0.mjs → split-button-D_OqAXW0.mjs} +20 -15
- package/dist/{spotlight-DMC5E1eS.mjs → spotlight-COA_C9G5.mjs} +2 -1
- package/dist/{stack-DCKrejZp.mjs → stack-qBPmVt5S.mjs} +5 -4
- package/dist/{table-BsdqRuvj.mjs → table-geA12h-I.mjs} +214 -180
- package/dist/{terminal-Dgw5JEz4.mjs → terminal-C0XnhwEh.mjs} +2 -1
- package/dist/{textarea-DzDc678j.mjs → textarea-BUzu42K0.mjs} +2 -1
- package/dist/{toolbar-SNwuRrJr.mjs → toolbar-CiXQAM_F.mjs} +2 -1
- package/dist/{transfer-C0FLA8W1.mjs → transfer-B0EAGhLK.mjs} +13 -17
- package/dist/{tree-select-CSYSYZDN.mjs → tree-select-BEK7cdxE.mjs} +64 -61
- package/dist/{typography-Cygr9XaD.mjs → typography-Bl6MxaeI.mjs} +1 -0
- package/dist/use-media-controls-BYYG0DgO.mjs +149 -0
- package/dist/use-tour-BLNlDu27.mjs +180 -0
- package/dist/{user-BjJSjDYV.mjs → user-CAqrd4B7.mjs} +2 -1
- package/dist/{virtual-list-_10ypBUP.mjs → virtual-list-BLb78vlm.mjs} +12 -6
- package/dist/{watermark-C2d3-EAM.mjs → watermark-Bv3kvHIB.mjs} +3 -2
- package/package.json +3 -3
- package/dist/AngleSliderRoot-CUe5sgWU.mjs +0 -37
- package/dist/CheckboxRoot-BP4ynFLq.mjs +0 -37
- package/dist/ChevronIcon-CVJJYda-.mjs +0 -11
- package/dist/ClipboardRoot-UmyQFn27.mjs +0 -37
- package/dist/ColorPickerRoot-DLgI9s3u.mjs +0 -37
- package/dist/ComboboxRoot-BsVcmUOj.mjs +0 -37
- package/dist/DateInputRoot-nROaFmB7.mjs +0 -37
- package/dist/DatePickerRoot-CkeHEAcG.mjs +0 -37
- package/dist/EditableRoot-CLmP5sIH.mjs +0 -37
- package/dist/FileUploadTrigger-BgAcpLXx.mjs +0 -73
- package/dist/JsonTreeViewTree-CqRP_PwV.mjs +0 -71
- package/dist/ListboxRoot-DhFAnZ_c.mjs +0 -37
- package/dist/MenuRoot-C4zG0iw2.mjs +0 -80
- package/dist/NumberInputRoot-BQz2HHGb.mjs +0 -37
- package/dist/PaginationRoot-DnXcEZCa.mjs +0 -37
- package/dist/PasswordInputRoot-4yR0Aig4.mjs +0 -37
- package/dist/PinInputRoot-B8fTxTlv.mjs +0 -37
- package/dist/ProgressRoot-DwhwW31T.mjs +0 -37
- package/dist/RadioGroupRoot-BD_mxWjX.mjs +0 -37
- package/dist/RatingGroupRoot-iUWUAKtV.mjs +0 -37
- package/dist/SegmentGroupRoot-798Amg4S.mjs +0 -37
- package/dist/SelectRoot-l-rb18FH.mjs +0 -37
- package/dist/SliderRoot-BBIlf6Uw.mjs +0 -37
- package/dist/StepsRoot-C_FYfShw.mjs +0 -63
- package/dist/SwitchRoot-C7rPmjEA.mjs +0 -37
- package/dist/TabsRoot-DXd41HqW.mjs +0 -41
- package/dist/TagsInputRoot-COSQdHRz.mjs +0 -37
- package/dist/TocIndicator-DPnZxTJ2.mjs +0 -30
- package/dist/ToggleGroupRoot-D0ob9z4u.mjs +0 -37
- package/dist/TreeViewRoot-RBynRAly.mjs +0 -108
- package/dist/checkbox-group-ARW_z7gp.mjs +0 -130
- package/dist/image-viewer-DzoEcVSn.mjs +0 -202
- package/dist/index-CV1LSzq5.d.mts +0 -25
- package/dist/index-DG4OAuIf.d.mts +0 -26
- package/dist/mentions-DjhgNRmY.mjs +0 -204
|
@@ -1,50 +1,19 @@
|
|
|
1
1
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
|
-
//#region src/components/descriptions/Descriptions.svelte
|
|
5
|
-
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
6
|
-
"$$slots",
|
|
7
|
-
"$$events",
|
|
8
|
-
"$$legacy",
|
|
9
|
-
"layout",
|
|
10
|
-
"bordered",
|
|
11
|
-
"column",
|
|
12
|
-
"children"
|
|
13
|
-
]);
|
|
14
|
-
var root$3 = $.from_html(`<dl><!></dl>`);
|
|
15
|
-
function Descriptions$1($$anchor, $$props) {
|
|
16
|
-
$.push($$props, true);
|
|
17
|
-
injectComponentStyle("descriptions");
|
|
18
|
-
let layout = $.prop($$props, "layout", 3, "horizontal"), bordered = $.prop($$props, "bordered", 3, false), column = $.prop($$props, "column", 3, 1), rest = $.rest_props($$props, rest_excludes$3);
|
|
19
|
-
var dl = root$3();
|
|
20
|
-
$.attribute_effect(dl, ($0) => ({
|
|
21
|
-
...rest,
|
|
22
|
-
"data-scope": "descriptions",
|
|
23
|
-
"data-part": "root",
|
|
24
|
-
"data-layout": layout(),
|
|
25
|
-
"data-bordered": bordered() || void 0,
|
|
26
|
-
[$.STYLE]: { "--bs-desc-columns": $0 }
|
|
27
|
-
}), [() => String(column())]);
|
|
28
|
-
var node = $.child(dl);
|
|
29
|
-
$.snippet(node, () => $$props.children ?? $.noop);
|
|
30
|
-
$.reset(dl);
|
|
31
|
-
$.append($$anchor, dl);
|
|
32
|
-
$.pop();
|
|
33
|
-
}
|
|
34
|
-
//#endregion
|
|
35
4
|
//#region src/components/descriptions/DescriptionsDetail.svelte
|
|
36
|
-
var rest_excludes$
|
|
5
|
+
var rest_excludes$3 = /* @__PURE__ */ new Set([
|
|
37
6
|
"$$slots",
|
|
38
7
|
"$$events",
|
|
39
8
|
"$$legacy",
|
|
40
9
|
"children"
|
|
41
10
|
]);
|
|
42
|
-
var root$
|
|
11
|
+
var root$3 = $.from_html(`<dd><!></dd>`);
|
|
43
12
|
function DescriptionsDetail($$anchor, $$props) {
|
|
44
13
|
$.push($$props, true);
|
|
45
14
|
injectComponentStyle("descriptions");
|
|
46
|
-
let rest = $.rest_props($$props, rest_excludes$
|
|
47
|
-
var dd = root$
|
|
15
|
+
let rest = $.rest_props($$props, rest_excludes$3);
|
|
16
|
+
var dd = root$3();
|
|
48
17
|
$.attribute_effect(dd, () => ({
|
|
49
18
|
...rest,
|
|
50
19
|
"data-scope": "descriptions",
|
|
@@ -58,19 +27,19 @@ function DescriptionsDetail($$anchor, $$props) {
|
|
|
58
27
|
}
|
|
59
28
|
//#endregion
|
|
60
29
|
//#region src/components/descriptions/DescriptionsItem.svelte
|
|
61
|
-
var rest_excludes$
|
|
30
|
+
var rest_excludes$2 = /* @__PURE__ */ new Set([
|
|
62
31
|
"$$slots",
|
|
63
32
|
"$$events",
|
|
64
33
|
"$$legacy",
|
|
65
34
|
"span",
|
|
66
35
|
"children"
|
|
67
36
|
]);
|
|
68
|
-
var root$
|
|
37
|
+
var root$2 = $.from_html(`<div><!></div>`);
|
|
69
38
|
function DescriptionsItem($$anchor, $$props) {
|
|
70
39
|
$.push($$props, true);
|
|
71
40
|
injectComponentStyle("descriptions");
|
|
72
|
-
let span = $.prop($$props, "span", 3, 1), rest = $.rest_props($$props, rest_excludes$
|
|
73
|
-
var div = root$
|
|
41
|
+
let span = $.prop($$props, "span", 3, 1), rest = $.rest_props($$props, rest_excludes$2);
|
|
42
|
+
var div = root$2();
|
|
74
43
|
$.attribute_effect(div, ($0) => ({
|
|
75
44
|
...rest,
|
|
76
45
|
"data-scope": "descriptions",
|
|
@@ -85,18 +54,18 @@ function DescriptionsItem($$anchor, $$props) {
|
|
|
85
54
|
}
|
|
86
55
|
//#endregion
|
|
87
56
|
//#region src/components/descriptions/DescriptionsTerm.svelte
|
|
88
|
-
var rest_excludes = /* @__PURE__ */ new Set([
|
|
57
|
+
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
89
58
|
"$$slots",
|
|
90
59
|
"$$events",
|
|
91
60
|
"$$legacy",
|
|
92
61
|
"children"
|
|
93
62
|
]);
|
|
94
|
-
var root = $.from_html(`<dt><!></dt>`);
|
|
63
|
+
var root$1 = $.from_html(`<dt><!></dt>`);
|
|
95
64
|
function DescriptionsTerm($$anchor, $$props) {
|
|
96
65
|
$.push($$props, true);
|
|
97
66
|
injectComponentStyle("descriptions");
|
|
98
|
-
let rest = $.rest_props($$props, rest_excludes);
|
|
99
|
-
var dt = root();
|
|
67
|
+
let rest = $.rest_props($$props, rest_excludes$1);
|
|
68
|
+
var dt = root$1();
|
|
100
69
|
$.attribute_effect(dt, () => ({
|
|
101
70
|
...rest,
|
|
102
71
|
"data-scope": "descriptions",
|
|
@@ -109,6 +78,84 @@ function DescriptionsTerm($$anchor, $$props) {
|
|
|
109
78
|
$.pop();
|
|
110
79
|
}
|
|
111
80
|
//#endregion
|
|
81
|
+
//#region src/components/descriptions/Descriptions.svelte
|
|
82
|
+
var rest_excludes = /* @__PURE__ */ new Set([
|
|
83
|
+
"$$slots",
|
|
84
|
+
"$$events",
|
|
85
|
+
"$$legacy",
|
|
86
|
+
"layout",
|
|
87
|
+
"bordered",
|
|
88
|
+
"column",
|
|
89
|
+
"items",
|
|
90
|
+
"children"
|
|
91
|
+
]);
|
|
92
|
+
var root = $.from_html(`<!> <!>`, 1);
|
|
93
|
+
var root_1 = $.from_html(`<dl><!></dl>`);
|
|
94
|
+
function Descriptions$1($$anchor, $$props) {
|
|
95
|
+
$.push($$props, true);
|
|
96
|
+
injectComponentStyle("descriptions");
|
|
97
|
+
let layout = $.prop($$props, "layout", 3, "horizontal"), bordered = $.prop($$props, "bordered", 3, false), column = $.prop($$props, "column", 3, 1), rest = $.rest_props($$props, rest_excludes);
|
|
98
|
+
var dl = root_1();
|
|
99
|
+
$.attribute_effect(dl, ($0) => ({
|
|
100
|
+
...rest,
|
|
101
|
+
"data-scope": "descriptions",
|
|
102
|
+
"data-part": "root",
|
|
103
|
+
"data-layout": layout(),
|
|
104
|
+
"data-bordered": bordered() || void 0,
|
|
105
|
+
[$.STYLE]: { "--bs-desc-columns": $0 }
|
|
106
|
+
}), [() => String(column())]);
|
|
107
|
+
var node = $.child(dl);
|
|
108
|
+
var consequent = ($$anchor) => {
|
|
109
|
+
var fragment = $.comment();
|
|
110
|
+
var node_1 = $.first_child(fragment);
|
|
111
|
+
$.snippet(node_1, () => $$props.children);
|
|
112
|
+
$.append($$anchor, fragment);
|
|
113
|
+
};
|
|
114
|
+
var alternate = ($$anchor) => {
|
|
115
|
+
var fragment_1 = $.comment();
|
|
116
|
+
var node_2 = $.first_child(fragment_1);
|
|
117
|
+
$.each(node_2, 17, () => $$props.items ?? [], $.index, ($$anchor, item) => {
|
|
118
|
+
DescriptionsItem($$anchor, {
|
|
119
|
+
get span() {
|
|
120
|
+
return $.get(item).span;
|
|
121
|
+
},
|
|
122
|
+
children: ($$anchor, $$slotProps) => {
|
|
123
|
+
var fragment_3 = root();
|
|
124
|
+
var node_3 = $.first_child(fragment_3);
|
|
125
|
+
DescriptionsTerm(node_3, {
|
|
126
|
+
children: ($$anchor, $$slotProps) => {
|
|
127
|
+
$.next();
|
|
128
|
+
var text = $.text();
|
|
129
|
+
$.template_effect(() => $.set_text(text, $.get(item).term));
|
|
130
|
+
$.append($$anchor, text);
|
|
131
|
+
},
|
|
132
|
+
$$slots: { default: true }
|
|
133
|
+
});
|
|
134
|
+
DescriptionsDetail($.sibling(node_3, 2), {
|
|
135
|
+
children: ($$anchor, $$slotProps) => {
|
|
136
|
+
$.next();
|
|
137
|
+
var text_1 = $.text();
|
|
138
|
+
$.template_effect(() => $.set_text(text_1, $.get(item).detail));
|
|
139
|
+
$.append($$anchor, text_1);
|
|
140
|
+
},
|
|
141
|
+
$$slots: { default: true }
|
|
142
|
+
});
|
|
143
|
+
$.append($$anchor, fragment_3);
|
|
144
|
+
},
|
|
145
|
+
$$slots: { default: true }
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
$.append($$anchor, fragment_1);
|
|
149
|
+
};
|
|
150
|
+
$.if(node, ($$render) => {
|
|
151
|
+
if ($$props.children) $$render(consequent);
|
|
152
|
+
else $$render(alternate, -1);
|
|
153
|
+
});
|
|
154
|
+
$.reset(dl);
|
|
155
|
+
$.append($$anchor, dl);
|
|
156
|
+
$.pop();
|
|
157
|
+
}
|
|
158
|
+
//#endregion
|
|
112
159
|
//#region src/components/descriptions/index.ts
|
|
113
160
|
/** A ledger laid flat: term and detail pairs in one quiet grid. The
|
|
114
161
|
* horizontal layout reads as a table of two columns; the vertical one
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
|
|
3
|
+
import { t as Button } from "./button-CghWQD3J.mjs";
|
|
2
4
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
3
5
|
import { Input } from "./components/input/index.mjs";
|
|
4
6
|
import { injectComponentStyle } from "@bysages/core";
|
|
@@ -18,9 +20,8 @@ var rest_excludes = /* @__PURE__ */ new Set([
|
|
|
18
20
|
"disabled",
|
|
19
21
|
"invalid"
|
|
20
22
|
]);
|
|
21
|
-
var root = $.
|
|
22
|
-
var root_1 = $.from_html(`<div data-scope="dynamic-input" data-part="
|
|
23
|
-
var root_2 = $.from_html(`<div><!> <div data-scope="dynamic-input" data-part="add"><!></div></div>`);
|
|
23
|
+
var root = $.from_html(`<div data-scope="dynamic-input" data-part="row"><!> <!></div>`);
|
|
24
|
+
var root_1 = $.from_html(`<div><!> <div data-scope="dynamic-input" data-part="add"><!></div></div>`);
|
|
24
25
|
function DynamicInput$1($$anchor, $$props) {
|
|
25
26
|
$.push($$props, true);
|
|
26
27
|
injectComponentStyle("dynamic-input");
|
|
@@ -40,7 +41,7 @@ function DynamicInput$1($$anchor, $$props) {
|
|
|
40
41
|
function add() {
|
|
41
42
|
value([...value(), ""]);
|
|
42
43
|
}
|
|
43
|
-
var div =
|
|
44
|
+
var div = root_1();
|
|
44
45
|
$.attribute_effect(div, () => ({
|
|
45
46
|
...rest,
|
|
46
47
|
"data-scope": "dynamic-input",
|
|
@@ -48,7 +49,7 @@ function DynamicInput$1($$anchor, $$props) {
|
|
|
48
49
|
}));
|
|
49
50
|
var node = $.child(div);
|
|
50
51
|
$.each(node, 17, value, $.index, ($$anchor, entry, index) => {
|
|
51
|
-
var div_1 =
|
|
52
|
+
var div_1 = root();
|
|
52
53
|
var node_1 = $.child(div_1);
|
|
53
54
|
Input(node_1, {
|
|
54
55
|
get value() {
|
|
@@ -86,8 +87,7 @@ function DynamicInput$1($$anchor, $$props) {
|
|
|
86
87
|
},
|
|
87
88
|
onclick: () => remove(index),
|
|
88
89
|
children: ($$anchor, $$slotProps) => {
|
|
89
|
-
|
|
90
|
-
$.append($$anchor, svg);
|
|
90
|
+
InternalIcon($$anchor, { name: "x" });
|
|
91
91
|
},
|
|
92
92
|
$$slots: { default: true }
|
|
93
93
|
});
|
|
@@ -127,6 +127,6 @@ function DynamicInput$1($$anchor, $$props) {
|
|
|
127
127
|
/** A column of entry rows: one Input per line, each with a quiet remove
|
|
128
128
|
* seal, and an add row at the tail — the bound array stays the only
|
|
129
129
|
* truth. */
|
|
130
|
-
const DynamicInput = DynamicInput$1;
|
|
130
|
+
const DynamicInput = withSelfRoot(DynamicInput$1);
|
|
131
131
|
//#endregion
|
|
132
132
|
export { DynamicInput as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -34,6 +35,6 @@ function Ellipsis$1($$anchor, $$props) {
|
|
|
34
35
|
/** The overflow knife: text cut at one line, or held to N lines. The
|
|
35
36
|
* primitive only draws the cut — reaching the full text (title,
|
|
36
37
|
* tooltip) stays the consumer's decision. */
|
|
37
|
-
const Ellipsis = Ellipsis$1;
|
|
38
|
+
const Ellipsis = withSelfRoot(Ellipsis$1);
|
|
38
39
|
//#endregion
|
|
39
40
|
export { Ellipsis as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/internal/family.ts
|
|
2
|
+
/** Attaches anatomy parts to a callable family facade without letting
|
|
3
|
+
* a parts namespace overwrite the facade's own component metadata. */
|
|
4
|
+
function defineFamily(facade, parts) {
|
|
5
|
+
return Object.assign(facade, parts);
|
|
6
|
+
}
|
|
7
|
+
/** Gives a single-component family the same component + Root surface. */
|
|
8
|
+
function withSelfRoot(component) {
|
|
9
|
+
return Object.assign(component, { Root: component });
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { withSelfRoot as n, defineFamily as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-CghWQD3J.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
3
3
|
import { injectComponentStyle } from "@bysages/core";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
@@ -26,14 +26,22 @@ var root$1 = $.from_html(`<div><!></div>`);
|
|
|
26
26
|
function FloatButton$1($$anchor, $$props) {
|
|
27
27
|
$.push($$props, true);
|
|
28
28
|
injectComponentStyle("float-button");
|
|
29
|
-
let open = $.prop($$props, "open", 15
|
|
29
|
+
let open = $.prop($$props, "open", 15), placement = $.prop($$props, "placement", 3, "bottom-end"), size = $.prop($$props, "size", 3, "lg"), rest = $.rest_props($$props, rest_excludes);
|
|
30
|
+
let localOpen = $.state(false);
|
|
31
|
+
const isOpen = $.derived(() => open() ?? $.get(localOpen));
|
|
32
|
+
function setOpen(value) {
|
|
33
|
+
if (open() !== void 0) open(value);
|
|
34
|
+
else $.set(localOpen, value, true);
|
|
35
|
+
}
|
|
30
36
|
setContext(FLOAT_BUTTON_KEY, {
|
|
31
37
|
get open() {
|
|
32
|
-
return
|
|
38
|
+
return $.get(isOpen);
|
|
39
|
+
},
|
|
40
|
+
get size() {
|
|
41
|
+
return size();
|
|
33
42
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
close: () => open(false)
|
|
43
|
+
toggle: () => setOpen(!$.get(isOpen)),
|
|
44
|
+
close: () => setOpen(false)
|
|
37
45
|
});
|
|
38
46
|
var div = root$1();
|
|
39
47
|
$.attribute_effect(div, () => ({
|
|
@@ -41,7 +49,7 @@ function FloatButton$1($$anchor, $$props) {
|
|
|
41
49
|
"data-scope": "float-button",
|
|
42
50
|
"data-part": "root",
|
|
43
51
|
"data-placement": placement(),
|
|
44
|
-
"data-state":
|
|
52
|
+
"data-state": $.get(isOpen) ? "open" : "closed"
|
|
45
53
|
}));
|
|
46
54
|
var node = $.child(div);
|
|
47
55
|
$.snippet(node, () => $$props.children ?? $.noop);
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
4
|
-
import {
|
|
5
|
-
import { getContext, setContext } from "svelte";
|
|
5
|
+
import { getContext, untrack } from "svelte";
|
|
6
6
|
import { createField, createField as useField, createForm, createForm as useForm } from "@tanstack/svelte-form";
|
|
7
|
-
//#region src/components/form/context.ts
|
|
8
|
-
const FORM_KEY = Symbol("bysages-form");
|
|
9
|
-
function provideForm(engine) {
|
|
10
|
-
setContext(FORM_KEY, engine);
|
|
11
|
-
return engine;
|
|
12
|
-
}
|
|
13
|
-
function useForm$1() {
|
|
14
|
-
return getContext(FORM_KEY) ?? null;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
7
|
//#region src/components/form/Form.svelte
|
|
18
8
|
var rest_excludes$1 = /* @__PURE__ */ new Set([
|
|
19
9
|
"$$slots",
|
|
@@ -27,7 +17,7 @@ function Form$1($$anchor, $$props) {
|
|
|
27
17
|
$.push($$props, true);
|
|
28
18
|
injectComponentStyle("form");
|
|
29
19
|
let rest = $.rest_props($$props, rest_excludes$1);
|
|
30
|
-
provideForm($$props.form);
|
|
20
|
+
provideForm(untrack(() => $$props.form));
|
|
31
21
|
var form_1 = root$1();
|
|
32
22
|
var event_handler = (event) => {
|
|
33
23
|
event.preventDefault();
|
|
@@ -47,6 +37,12 @@ function Form$1($$anchor, $$props) {
|
|
|
47
37
|
$.pop();
|
|
48
38
|
}
|
|
49
39
|
//#endregion
|
|
40
|
+
//#region src/components/form/context.ts
|
|
41
|
+
const FORM_KEY = Symbol("bysages-form");
|
|
42
|
+
function useForm$1() {
|
|
43
|
+
return getContext(FORM_KEY) ?? null;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
50
46
|
//#region src/components/form/FormField.svelte
|
|
51
47
|
var rest_excludes = /* @__PURE__ */ new Set([
|
|
52
48
|
"$$slots",
|
|
@@ -77,85 +73,68 @@ function FormField$1($$anchor, $$props) {
|
|
|
77
73
|
var node = $.child(div);
|
|
78
74
|
{
|
|
79
75
|
let $0 = $.derived(() => invalid() || $.get(errors).length > 0);
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
get
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
$.template_effect(() => $.set_text(text, $$props.label));
|
|
103
|
-
$.append($$anchor, text);
|
|
104
|
-
},
|
|
105
|
-
$$slots: { default: true }
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
$.append($$anchor, fragment_1);
|
|
109
|
-
};
|
|
110
|
-
$.if(node_1, ($$render) => {
|
|
111
|
-
if ($$props.label) $$render(consequent);
|
|
76
|
+
ArkField.Root(node, {
|
|
77
|
+
get invalid() {
|
|
78
|
+
return $.get($0);
|
|
79
|
+
},
|
|
80
|
+
get required() {
|
|
81
|
+
return required();
|
|
82
|
+
},
|
|
83
|
+
get disabled() {
|
|
84
|
+
return disabled();
|
|
85
|
+
},
|
|
86
|
+
children: ($$anchor, $$slotProps) => {
|
|
87
|
+
var fragment = root();
|
|
88
|
+
var node_1 = $.first_child(fragment);
|
|
89
|
+
var consequent = ($$anchor) => {
|
|
90
|
+
ArkField.Label($$anchor, {
|
|
91
|
+
children: ($$anchor, $$slotProps) => {
|
|
92
|
+
$.next();
|
|
93
|
+
var text = $.text();
|
|
94
|
+
$.template_effect(() => $.set_text(text, $$props.label));
|
|
95
|
+
$.append($$anchor, text);
|
|
96
|
+
},
|
|
97
|
+
$$slots: { default: true }
|
|
112
98
|
});
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
});
|
|
130
|
-
$.append($$anchor, fragment_3);
|
|
131
|
-
};
|
|
132
|
-
$.if(node_4, ($$render) => {
|
|
133
|
-
if ($$props.hint && $.get(errors).length === 0) $$render(consequent_1);
|
|
99
|
+
};
|
|
100
|
+
$.if(node_1, ($$render) => {
|
|
101
|
+
if ($$props.label) $$render(consequent);
|
|
102
|
+
});
|
|
103
|
+
var node_2 = $.sibling(node_1, 2);
|
|
104
|
+
$.snippet(node_2, () => $$props.children ?? $.noop, field);
|
|
105
|
+
var node_3 = $.sibling(node_2, 2);
|
|
106
|
+
var consequent_1 = ($$anchor) => {
|
|
107
|
+
ArkField.HelperText($$anchor, {
|
|
108
|
+
children: ($$anchor, $$slotProps) => {
|
|
109
|
+
$.next();
|
|
110
|
+
var text_1 = $.text();
|
|
111
|
+
$.template_effect(() => $.set_text(text_1, $$props.hint));
|
|
112
|
+
$.append($$anchor, text_1);
|
|
113
|
+
},
|
|
114
|
+
$$slots: { default: true }
|
|
134
115
|
});
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
});
|
|
150
|
-
$.append($$anchor, fragment_5);
|
|
151
|
-
};
|
|
152
|
-
$.if(node_6, ($$render) => {
|
|
153
|
-
if ($.get(errors).length > 0) $$render(consequent_2);
|
|
116
|
+
};
|
|
117
|
+
$.if(node_3, ($$render) => {
|
|
118
|
+
if ($$props.hint && $.get(errors).length === 0) $$render(consequent_1);
|
|
119
|
+
});
|
|
120
|
+
var node_4 = $.sibling(node_3, 2);
|
|
121
|
+
var consequent_2 = ($$anchor) => {
|
|
122
|
+
ArkField.ErrorText($$anchor, {
|
|
123
|
+
children: ($$anchor, $$slotProps) => {
|
|
124
|
+
$.next();
|
|
125
|
+
var text_2 = $.text();
|
|
126
|
+
$.template_effect(() => $.set_text(text_2, $.get(errors)[0]));
|
|
127
|
+
$.append($$anchor, text_2);
|
|
128
|
+
},
|
|
129
|
+
$$slots: { default: true }
|
|
154
130
|
});
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
131
|
+
};
|
|
132
|
+
$.if(node_4, ($$render) => {
|
|
133
|
+
if ($.get(errors).length > 0) $$render(consequent_2);
|
|
134
|
+
});
|
|
135
|
+
$.append($$anchor, fragment);
|
|
136
|
+
},
|
|
137
|
+
$$slots: { default: true }
|
|
159
138
|
});
|
|
160
139
|
}
|
|
161
140
|
$.reset(div);
|
|
@@ -163,7 +142,8 @@ function FormField$1($$anchor, $$props) {
|
|
|
163
142
|
};
|
|
164
143
|
injectComponentStyle("form");
|
|
165
144
|
let required = $.prop($$props, "required", 3, false), invalid = $.prop($$props, "invalid", 3, false), disabled = $.prop($$props, "disabled", 3, false), rest = $.rest_props($$props, rest_excludes);
|
|
166
|
-
const
|
|
145
|
+
const injectedForm = untrack(() => useForm$1());
|
|
146
|
+
const engine = $.derived(() => $$props.form ?? injectedForm);
|
|
167
147
|
function errorText(error) {
|
|
168
148
|
if (error == null) return "";
|
|
169
149
|
if (typeof error === "string") return error;
|
|
@@ -171,15 +151,15 @@ function FormField$1($$anchor, $$props) {
|
|
|
171
151
|
return String(error);
|
|
172
152
|
}
|
|
173
153
|
var fragment_7 = $.comment();
|
|
174
|
-
var
|
|
154
|
+
var node_5 = $.first_child(fragment_7);
|
|
175
155
|
var consequent_3 = ($$anchor) => {
|
|
176
156
|
var fragment_8 = $.comment();
|
|
177
|
-
var
|
|
157
|
+
var node_6 = $.first_child(fragment_8);
|
|
178
158
|
{
|
|
179
159
|
const children = ($$anchor, field = $.noop) => {
|
|
180
160
|
assemble($$anchor, field);
|
|
181
161
|
};
|
|
182
|
-
$.component(
|
|
162
|
+
$.component(node_6, () => $.get(engine).Field, ($$anchor, engine_Field) => {
|
|
183
163
|
engine_Field($$anchor, $.spread_props(() => rest, {
|
|
184
164
|
get name() {
|
|
185
165
|
return $$props.name;
|
|
@@ -194,8 +174,8 @@ function FormField$1($$anchor, $$props) {
|
|
|
194
174
|
var alternate = ($$anchor) => {
|
|
195
175
|
assemble($$anchor, () => void 0);
|
|
196
176
|
};
|
|
197
|
-
$.if(
|
|
198
|
-
if (engine) $$render(consequent_3);
|
|
177
|
+
$.if(node_5, ($$render) => {
|
|
178
|
+
if ($.get(engine)) $$render(consequent_3);
|
|
199
179
|
else $$render(alternate, -1);
|
|
200
180
|
});
|
|
201
181
|
$.append($$anchor, fragment_7);
|
|
@@ -205,8 +185,8 @@ function FormField$1($$anchor, $$props) {
|
|
|
205
185
|
//#region src/components/form/index.ts
|
|
206
186
|
/** The engine owns the values and the validation; these two are the
|
|
207
187
|
* assembly — one grid, one error routing. */
|
|
208
|
-
const Form = Form$1;
|
|
209
|
-
const FormField = FormField$1;
|
|
188
|
+
const Form = withSelfRoot(Form$1);
|
|
189
|
+
const FormField = withSelfRoot(FormField$1);
|
|
210
190
|
injectComponentStyle("field");
|
|
211
191
|
//#endregion
|
|
212
192
|
export { useField as a, createForm as i, FormField as n, useForm as o, createField as r, Form as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -49,6 +50,6 @@ function Grid$1($$anchor, $$props) {
|
|
|
49
50
|
//#region src/components/grid/index.ts
|
|
50
51
|
/** An alignment lattice: tracks of equal measure, sized by column count
|
|
51
52
|
* — or, with `minChildWidth`, as many tracks as the container fits. */
|
|
52
|
-
const Grid = Grid$1;
|
|
53
|
+
const Grid = withSelfRoot(Grid$1);
|
|
53
54
|
//#endregion
|
|
54
55
|
export { Grid as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as $ from "svelte/internal/client";
|
|
@@ -19,8 +20,10 @@ function Icon$1($$anchor, $$props) {
|
|
|
19
20
|
$.push($$props, true);
|
|
20
21
|
injectComponentStyle("icon");
|
|
21
22
|
let size = $.prop($$props, "size", 3, "inherit"), rest = $.rest_props($$props, rest_excludes);
|
|
22
|
-
const resolved = $$props.glyph ?? ($$props.name && $$props.children == null ? getIcon($$props.name) : void 0);
|
|
23
|
-
|
|
23
|
+
const resolved = $.derived(() => $$props.glyph ?? ($$props.name && $$props.children == null ? getIcon($$props.name) : void 0));
|
|
24
|
+
$.user_effect(() => {
|
|
25
|
+
if ($$props.name && $$props.children == null && $$props.glyph == null && !$.get(resolved)) console.error(`[icons] unknown icon name "${$$props.name}" — not in the core default registry; pass it explicitly as glyph`);
|
|
26
|
+
});
|
|
24
27
|
var span = root_1();
|
|
25
28
|
$.attribute_effect(span, () => ({
|
|
26
29
|
...rest,
|
|
@@ -40,14 +43,14 @@ function Icon$1($$anchor, $$props) {
|
|
|
40
43
|
};
|
|
41
44
|
var consequent_1 = ($$anchor) => {
|
|
42
45
|
var svg = root();
|
|
43
|
-
$.html(svg, () => resolved.body, true);
|
|
46
|
+
$.html(svg, () => $.get(resolved).body, true);
|
|
44
47
|
$.reset(svg);
|
|
45
|
-
$.template_effect(() => $.set_attribute(svg, "viewBox", `0 0 ${resolved.width ?? 24 ?? ""} ${resolved.height ?? 24 ?? ""}`));
|
|
48
|
+
$.template_effect(() => $.set_attribute(svg, "viewBox", `0 0 ${$.get(resolved).width ?? 24 ?? ""} ${$.get(resolved).height ?? 24 ?? ""}`));
|
|
46
49
|
$.append($$anchor, svg);
|
|
47
50
|
};
|
|
48
51
|
$.if(node, ($$render) => {
|
|
49
52
|
if ($$props.children) $$render(consequent);
|
|
50
|
-
else if (resolved) $$render(consequent_1, 1);
|
|
53
|
+
else if ($.get(resolved)) $$render(consequent_1, 1);
|
|
51
54
|
});
|
|
52
55
|
$.reset(span);
|
|
53
56
|
$.append($$anchor, span);
|
|
@@ -57,7 +60,7 @@ function Icon$1($$anchor, $$props) {
|
|
|
57
60
|
//#region src/components/icon/index.ts
|
|
58
61
|
/** The inkwell: a standard box that keeps any inline svg at its optical
|
|
59
62
|
* measure and in the text's own ink — the icon carries no pigment and
|
|
60
|
-
* no size of its own. Bring the
|
|
61
|
-
const Icon = Icon$1;
|
|
63
|
+
* no size of its own. Bring the icon; it ships no set. */
|
|
64
|
+
const Icon = withSelfRoot(Icon$1);
|
|
62
65
|
//#endregion
|
|
63
66
|
export { Icon as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { getIcon } from "@bysages/core/icons";
|
|
2
|
+
//#region src/internal/icon.ts
|
|
3
|
+
/** Render a curated core icon as an SVG string, for enhancements that write
|
|
4
|
+
* innerHTML rather than mount elements. */
|
|
5
|
+
function iconHtml(name, attrs = {}) {
|
|
6
|
+
const icon = getIcon(name);
|
|
7
|
+
if (!icon) throw new Error(`Unknown icon "${name}" in the curated core registry`);
|
|
8
|
+
const attributes = {
|
|
9
|
+
width: String(icon.width),
|
|
10
|
+
height: String(icon.height),
|
|
11
|
+
viewBox: `0 0 ${icon.width} ${icon.height}`,
|
|
12
|
+
"aria-hidden": "true",
|
|
13
|
+
...attrs
|
|
14
|
+
};
|
|
15
|
+
return `<svg${Object.entries(attributes).map(([key, value]) => ` ${key}="${value}"`).join("")}>${icon.body}</svg>`;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { iconHtml as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/internal/id.ts
|
|
2
|
+
/** Generates an SSR-stable machine base id while honoring an explicit id. */
|
|
3
|
+
function useElementId(scope, generatedId, explicitId) {
|
|
4
|
+
return typeof explicitId === "string" && explicitId ? explicitId : `bs-${scope}-${generatedId}`;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useElementId as t };
|