@sprawlify/vue 0.0.87 → 0.0.88
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-anatomy-SnniqySz.js → accordion-anatomy-Die9efSm.js} +1 -2
- package/dist/{alert-dialog-anatomy-DT5onog4.d.ts → alert-dialog-anatomy-DYBPmcE-.d.ts} +1 -1
- package/dist/{alert-dialog-anatomy-6UZ4w58n.js → alert-dialog-anatomy-DubFij06.js} +1 -3
- package/dist/{angle-slider-anatomy-cYknk1iJ.js → angle-slider-anatomy-CUpFahN5.js} +1 -2
- package/dist/{avatar-anatomy-CZqJnRiE.js → avatar-anatomy-_KMpd2cT.js} +1 -2
- package/dist/{boolean-DRNklbLz.js → boolean-ClZYREcr.js} +1 -2
- package/dist/{bottom-sheet-anatomy-C8vx9fBH.js → bottom-sheet-anatomy-C70fosOT.js} +1 -2
- package/dist/{carousel-anatomy-v4sxYUvt.d.ts → carousel-anatomy-Bm8A0IeH.d.ts} +1 -1
- package/dist/{carousel-anatomy-DTNJ2jpa.js → carousel-anatomy-DpBacyBH.js} +1 -3
- package/dist/{checkbox-anatomy-DBY0IiWr.js → checkbox-anatomy-BIeQD0fF.js} +1 -3
- package/dist/checkbox-anatomy-D_EEk_7M.d.ts +6 -0
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/{clean-props-jeo_b63H.js → clean-props-C5aydRx_.js} +1 -2
- package/dist/{clipboard-anatomy-DemY_7_4.js → clipboard-anatomy-C6AmRH0k.js} +1 -2
- package/dist/{collapsible-anatomy-B63RaMgq.js → collapsible-anatomy-BIdE3Swa.js} +1 -2
- package/dist/{collapsible-YxCX30T0.js → collapsible-nSsGHMUx.js} +19 -53
- package/dist/{collection-D5aavLcu.js → collection-DxYHutYn.js} +3 -10
- package/dist/color-picker-anatomy-BqAv-ES8.d.ts +6 -0
- package/dist/{color-picker-anatomy-BFaHjy9O.js → color-picker-anatomy-DAgWuOv8.js} +1 -3
- package/dist/combobox-anatomy-BnRNSgHI.d.ts +6 -0
- package/dist/{combobox-anatomy-Bottj4lE.js → combobox-anatomy-BojTG5Ws.js} +1 -3
- package/dist/components/accordion/index.d.ts +20 -20
- package/dist/components/accordion/index.js +27 -73
- package/dist/components/alert-dialog/index.d.ts +32 -32
- package/dist/components/alert-dialog/index.js +30 -84
- package/dist/components/anatomy.d.ts +51 -51
- package/dist/components/anatomy.js +53 -55
- package/dist/components/angle-slider/index.d.ts +18 -18
- package/dist/components/angle-slider/index.js +28 -82
- package/dist/components/aspect-ratio/index.d.ts +8 -8
- package/dist/components/aspect-ratio/index.js +15 -39
- package/dist/components/avatar/index.d.ts +12 -12
- package/dist/components/avatar/index.js +18 -47
- package/dist/components/bottom-sheet/index.d.ts +24 -24
- package/dist/components/bottom-sheet/index.js +32 -86
- package/dist/components/carousel/index.d.ts +24 -24
- package/dist/components/carousel/index.js +35 -104
- package/dist/components/checkbox/index.d.ts +23 -23
- package/dist/components/checkbox/index.js +31 -83
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/client-only/index.js +5 -10
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +27 -76
- package/dist/components/collapsible/index.d.ts +15 -15
- package/dist/components/collapsible/index.js +7 -8
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +3 -4
- package/dist/components/color-picker/index.d.ts +51 -51
- package/dist/components/color-picker/index.js +70 -223
- package/dist/components/combobox/index.d.ts +34 -34
- package/dist/components/combobox/index.js +49 -146
- package/dist/components/date-picker/index.d.ts +47 -47
- package/dist/components/date-picker/index.js +66 -204
- package/dist/components/dialog/index.d.ts +37 -37
- package/dist/components/dialog/index.js +30 -84
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +8 -13
- package/dist/components/dropdown-menu/index.d.ts +54 -55
- package/dist/components/dropdown-menu/index.js +50 -159
- package/dist/components/editable/index.d.ts +27 -27
- package/dist/components/editable/index.js +32 -91
- package/dist/components/field/index.d.ts +25 -25
- package/dist/components/field/index.js +7 -8
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/fieldset/index.js +7 -8
- package/dist/components/file-upload/index.d.ts +26 -26
- package/dist/components/file-upload/index.js +40 -121
- package/dist/components/floating-panel/index.d.ts +26 -26
- package/dist/components/floating-panel/index.js +37 -111
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +7 -12
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/format/index.js +11 -27
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/frame/index.js +8 -18
- package/dist/components/highlight/index.d.ts +5 -5
- package/dist/components/highlight/index.js +6 -11
- package/dist/components/hover-card/index.d.ts +27 -27
- package/dist/components/hover-card/index.js +26 -70
- package/dist/components/image-cropper/index.d.ts +15 -15
- package/dist/components/image-cropper/index.js +24 -68
- package/dist/components/json-tree-view/index.d.ts +10 -13
- package/dist/components/json-tree-view/index.js +24 -57
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/listbox/index.js +37 -114
- package/dist/components/marquee/index.d.ts +24 -24
- package/dist/components/marquee/index.js +22 -62
- package/dist/components/navigation-menu/index.d.ts +21 -21
- package/dist/components/navigation-menu/index.js +36 -107
- package/dist/components/number-input/index.d.ts +22 -22
- package/dist/components/number-input/index.js +30 -84
- package/dist/components/pagination/index.d.ts +18 -18
- package/dist/components/pagination/index.js +26 -75
- package/dist/components/password-input/index.d.ts +26 -26
- package/dist/components/password-input/index.js +27 -71
- package/dist/components/pin-input/index.d.ts +19 -19
- package/dist/components/pin-input/index.js +24 -63
- package/dist/components/popover/index.d.ts +39 -39
- package/dist/components/popover/index.js +36 -105
- package/dist/components/presence/index.d.ts +1 -2
- package/dist/components/presence/index.js +5 -6
- package/dist/components/progress/index.d.ts +16 -16
- package/dist/components/progress/index.js +30 -89
- package/dist/components/qr-code/index.d.ts +12 -12
- package/dist/components/qr-code/index.js +22 -61
- package/dist/components/radio-group/index.d.ts +19 -19
- package/dist/components/radio-group/index.js +31 -87
- package/dist/components/rating-group/index.d.ts +16 -16
- package/dist/components/rating-group/index.js +26 -71
- package/dist/components/scroll-area/index.d.ts +13 -13
- package/dist/components/scroll-area/index.js +24 -69
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +28 -84
- package/dist/components/select/index.d.ts +35 -35
- package/dist/components/select/index.js +52 -152
- package/dist/components/separator/index.d.ts +8 -8
- package/dist/components/separator/index.js +14 -33
- package/dist/components/signature-pad/index.d.ts +17 -17
- package/dist/components/signature-pad/index.js +28 -77
- package/dist/components/slider/index.d.ts +23 -23
- package/dist/components/slider/index.js +34 -104
- package/dist/components/splitter/index.d.ts +15 -15
- package/dist/components/splitter/index.js +20 -55
- package/dist/components/steps/index.d.ts +21 -21
- package/dist/components/steps/index.js +36 -112
- package/dist/components/switch/index.d.ts +17 -17
- package/dist/components/switch/index.js +24 -63
- package/dist/components/tabs/index.d.ts +18 -18
- package/dist/components/tabs/index.js +24 -63
- package/dist/components/tags-input/index.d.ts +34 -34
- package/dist/components/tags-input/index.js +38 -114
- package/dist/components/timer/index.d.ts +15 -15
- package/dist/components/timer/index.js +24 -68
- package/dist/components/toast/index.d.ts +12 -12
- package/dist/components/toast/index.js +23 -67
- package/dist/components/toggle/index.d.ts +10 -10
- package/dist/components/toggle/index.js +14 -33
- package/dist/components/toggle-group/index.d.ts +13 -13
- package/dist/components/toggle-group/index.js +16 -40
- package/dist/components/tooltip/index.d.ts +21 -21
- package/dist/components/tooltip/index.js +26 -70
- package/dist/components/tour/index.d.ts +32 -32
- package/dist/components/tour/index.js +40 -120
- package/dist/components/tree-view/index.d.ts +3 -6
- package/dist/components/tree-view/index.js +10 -11
- package/dist/{core-DNndr38p.js → core-BW88ya4i.js} +1 -7
- package/dist/{create-context-Ds1GbsVc.js → create-context-BqbKqBMN.js} +1 -3
- package/dist/{create-split-props-Cy-XbcBT.js → create-split-props-D32I38aE.js} +1 -2
- package/dist/date-picker-anatomy-25--l_tH.d.ts +6 -0
- package/dist/{date-picker-anatomy-D1WbzCFG.js → date-picker-anatomy-BDzIBS0o.js} +1 -3
- package/dist/{dialog-anatomy-DI8a_vZ_.js → dialog-anatomy-CepqHVuS.js} +1 -2
- package/dist/{dropdown-menu-anatomy-C1luUwqi.js → dropdown-menu-anatomy-B_HvpVky.js} +1 -2
- package/dist/{editable-anatomy-C2-pGLpA.js → editable-anatomy-xpYIbclJ.js} +1 -2
- package/dist/{factory-BQk6RiOp.js → factory-DNG1el63.js} +2 -7
- package/dist/{field-CSIjIoIl.js → field-GralVrIX.js} +26 -80
- package/dist/{field-anatomy-C90WAETb.js → field-anatomy-BloFzq7T.js} +1 -3
- package/dist/field-anatomy-D1xRXQeF.d.ts +6 -0
- package/dist/{fieldset-B_KIoaji.js → fieldset-Qrb1hBnw.js} +18 -52
- package/dist/fieldset-anatomy-CcZfEnO-.d.ts +6 -0
- package/dist/{fieldset-anatomy-BjnxJmos.js → fieldset-anatomy-DBAg0hLg.js} +1 -3
- package/dist/{file-upload-anatomy-CxltMFrA.js → file-upload-anatomy-vzjeLbps.js} +1 -2
- package/dist/{floating-panel-anatomy-DwLUJ70s.js → floating-panel-anatomy-BgEeNv0z.js} +1 -2
- package/dist/{hover-card-anatomy-BnLr7TCv.js → hover-card-anatomy-BiBVumql.js} +1 -2
- package/dist/{image-cropper-anatomy--tXgRMD1.js → image-cropper-anatomy-D3tfc-sw.js} +1 -3
- package/dist/image-cropper-anatomy-DW4Ru-ZX.d.ts +6 -0
- package/dist/{index-BeezBdOr.d.ts → index-BbSg4qcW.d.ts} +33 -33
- package/dist/{index-D_JPoP7h.d.ts → index-BiapeCBm.d.ts} +11 -11
- package/dist/{index-Bt5QjjM4.d.ts → index-aJnwDHff.d.ts} +7 -7
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -7
- package/dist/{listbox-anatomy-CddfyW7E.js → listbox-anatomy-BTXGGkHn.js} +1 -3
- package/dist/listbox-anatomy-Dm_o-fKs.d.ts +6 -0
- package/dist/{marquee-anatomy-TY8wb27T.js → marquee-anatomy-CuY5-sxQ.js} +1 -2
- package/dist/{navigation-menu-anatomy-JKXIjyhE.js → navigation-menu-anatomy-C8G7WCQT.js} +1 -2
- package/dist/{number-input-anatomy-BLwFRRq-.js → number-input-anatomy-BnIfIxWe.js} +1 -2
- package/dist/{pagination-anatomy-BMvizHtN.js → pagination-anatomy-GDzxsFmi.js} +1 -2
- package/dist/{password-input-anatomy-DeIesU0v.js → password-input-anatomy-DnfxaJJb.js} +1 -2
- package/dist/{pin-input-anatomy-B6uaxLlM.js → pin-input-anatomy-BIMEBnI2.js} +1 -2
- package/dist/{popover-anatomy-B_sMgR6Y.js → popover-anatomy-DE5hgrvL.js} +1 -2
- package/dist/{presence-CI76Mcpo.js → presence-CxNxMceK.js} +6 -14
- package/dist/{progress-anatomy-COz0DGNs.js → progress-anatomy-B-Zd5hLA.js} +1 -2
- package/dist/{providers-DNBWT-O_.js → providers-Cm-xBdVY.js} +6 -22
- package/dist/{qr-code-anatomy-CWoAkOaY.js → qr-code-anatomy-CRPLhSvp.js} +1 -2
- package/dist/{radio-group-anatomy-BSnuxQR6.js → radio-group-anatomy-MQ77y9Ly.js} +1 -2
- package/dist/{rating-group-anatomy-xU1gWoAB.js → rating-group-anatomy-DFCmCaAm.js} +1 -2
- package/dist/{scroll-area-anatomy-D54kUb_3.js → scroll-area-anatomy-12L_PN6-.js} +1 -2
- package/dist/{segment-group-anatomy-DKnrj_EM.js → segment-group-anatomy-CfDAqJG5.js} +1 -3
- package/dist/segment-group-anatomy-DHML8ODG.d.ts +6 -0
- package/dist/{select-anatomy-BgXYHjfI.js → select-anatomy-C3xVuuOA.js} +1 -2
- package/dist/{separator-anatomy-BeoGOxS-.js → separator-anatomy-DNo6fxgH.js} +1 -2
- package/dist/{signature-pad-anatomy-Cxt4qb07.js → signature-pad-anatomy--FrLBUvh.js} +1 -2
- package/dist/{slider-anatomy-BuyabqTj.js → slider-anatomy-B4hwb17i.js} +1 -2
- package/dist/{splitter-anatomy-D7ot-MkT.js → splitter-anatomy-C3pN_mFn.js} +1 -2
- package/dist/{steps-anatomy-DjlPHIKh.js → steps-anatomy-CbPJUew1.js} +1 -2
- package/dist/{switch-anatomy-IGlvYF5l.js → switch-anatomy-D5Q54mGY.js} +1 -2
- package/dist/{tabs-anatomy-Ddv_VY6n.js → tabs-anatomy-DU5e5PwZ.js} +1 -2
- package/dist/{tags-input-anatomy-VaastGb3.js → tags-input-anatomy-BhGRRfIw.js} +1 -2
- package/dist/{timer-anatomy-CV4qiG7g.js → timer-anatomy-GlYZryvG.js} +1 -2
- package/dist/{toast-anatomy-C_s7MQnn.js → toast-anatomy-DiPVPI_x.js} +1 -2
- package/dist/toggle-anatomy-CAfJOViG.d.ts +6 -0
- package/dist/{toggle-anatomy-BKqatqaO.js → toggle-anatomy-Cvb2YZ0Z.js} +2 -4
- package/dist/{toggle-group-anatomy-SARieWDI.js → toggle-group-anatomy-cGA-KM8t.js} +1 -2
- package/dist/{tooltip-anatomy-BgD3KTo1.js → tooltip-anatomy-Py7dhRtQ.js} +1 -2
- package/dist/tour-anatomy-C81YCpD4.d.ts +6 -0
- package/dist/{tour-anatomy-f2x7a1w3.js → tour-anatomy-VBbJhmJa.js} +1 -3
- package/dist/{tree-view-4zY74_JI.js → tree-view-CKhw9GP-.js} +51 -157
- package/dist/{tree-view-anatomy-CefyMmul.js → tree-view-anatomy-BK8OR6TX.js} +1 -2
- package/dist/{use-render-strategy-TTWaa6B7.js → use-render-strategy-QgtvU85q.js} +2 -4
- package/dist/{utils-B4FuOOE-.js → utils-BL0VqhHN.js} +1 -5
- package/package.json +2 -2
- package/dist/checkbox-anatomy-BSrRXiGS.d.ts +0 -6
- package/dist/chunk-BN_g-Awi.js +0 -18
- package/dist/color-picker-anatomy-DNPHogV-.d.ts +0 -6
- package/dist/combobox-anatomy-DrmcdTPY.d.ts +0 -6
- package/dist/date-picker-anatomy-D6ZmxUW7.d.ts +0 -6
- package/dist/field-anatomy-9oS_bdTz.d.ts +0 -6
- package/dist/fieldset-anatomy-Cq_ynep1.d.ts +0 -6
- package/dist/image-cropper-anatomy-Bj62G3Ip.d.ts +0 -6
- package/dist/listbox-anatomy-CbpzEqdy.d.ts +0 -6
- package/dist/segment-group-anatomy-DzHeIm8g.d.ts +0 -6
- package/dist/toggle-anatomy-xiDQ91vN.d.ts +0 -6
- package/dist/tour-anatomy-BqNSAMba.d.ts +0 -6
- /package/dist/{accordion-anatomy-Bxs15n6t.d.ts → accordion-anatomy-DH1HE1RK.d.ts} +0 -0
- /package/dist/{angle-slider-anatomy-whG3APHN.d.ts → angle-slider-anatomy-CPWlz22O.d.ts} +0 -0
- /package/dist/{avatar-anatomy-CHyA19ld.d.ts → avatar-anatomy-C15IaG7l.d.ts} +0 -0
- /package/dist/{bottom-sheet-anatomy-CuhyzaDM.d.ts → bottom-sheet-anatomy-DoteJlEZ.d.ts} +0 -0
- /package/dist/{clipboard-anatomy-CIC99c59.d.ts → clipboard-anatomy-dy6XNAbY.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-hcVAnOIR.d.ts → collapsible-anatomy-DUZOe3-a.d.ts} +0 -0
- /package/dist/{dialog-anatomy-DXEWrwRi.d.ts → dialog-anatomy-DJDXF2AU.d.ts} +0 -0
- /package/dist/{dropdown-menu-anatomy-vJ1-APdg.d.ts → dropdown-menu-anatomy-Bv4vy6dU.d.ts} +0 -0
- /package/dist/{editable-anatomy-DJJXhBV1.d.ts → editable-anatomy-CH0QFbjb.d.ts} +0 -0
- /package/dist/{factory-D4YHm1ne.d.ts → factory-bfEpUaB3.d.ts} +0 -0
- /package/dist/{file-upload-anatomy-iv0C7QVu.d.ts → file-upload-anatomy-Y99NDpIO.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-Dyr3lcgZ.d.ts → floating-panel-anatomy-BzVWrj8Z.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-BSDDI0Kf.d.ts → hover-card-anatomy-LsFwl5DS.d.ts} +0 -0
- /package/dist/{index-adTDBnfd.d.ts → index-DuD8fQUF.d.ts} +0 -0
- /package/dist/{index-BJ8mRK6a.d.ts → index-ga2m_BD2.d.ts} +0 -0
- /package/dist/{marquee-anatomy-BzjeMztY.d.ts → marquee-anatomy-Bih8y_Mg.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-De1ATxET.d.ts → navigation-menu-anatomy-B9CbXSLn.d.ts} +0 -0
- /package/dist/{number-input-anatomy-BPS2hzM6.d.ts → number-input-anatomy-ClW9jnI3.d.ts} +0 -0
- /package/dist/{pagination-anatomy-BCX85m-Q.d.ts → pagination-anatomy-z1SRvm4m.d.ts} +0 -0
- /package/dist/{password-input-anatomy-CNEwJOp9.d.ts → password-input-anatomy-DDG9gixy.d.ts} +0 -0
- /package/dist/{pin-input-anatomy-BKdH4pKx.d.ts → pin-input-anatomy-BCB1F1gJ.d.ts} +0 -0
- /package/dist/{popover-anatomy-BxYyvWrE.d.ts → popover-anatomy-BzXcxwHH.d.ts} +0 -0
- /package/dist/{presence-types-CC57eEhO.d.ts → presence-types-D-XuGmDH.d.ts} +0 -0
- /package/dist/{progress-anatomy-aZfuAwWj.d.ts → progress-anatomy-D93qXRoP.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-CxjYwfAP.d.ts → qr-code-anatomy-CwXr0doo.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-DExY7kYs.d.ts → radio-group-anatomy-DwXH2ZXh.d.ts} +0 -0
- /package/dist/{rating-group-anatomy-Dc0wPZu2.d.ts → rating-group-anatomy-vdkTXds1.d.ts} +0 -0
- /package/dist/{scroll-area-anatomy-DapfnNBU.d.ts → scroll-area-anatomy-D08heRlt.d.ts} +0 -0
- /package/dist/{select-anatomy-CitDj30H.d.ts → select-anatomy-6e2EwWE7.d.ts} +0 -0
- /package/dist/{separator-anatomy-pGDIt-mq.d.ts → separator-anatomy-BKWsJ9Pb.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-KbYu7JMW.d.ts → signature-pad-anatomy-D-FQgTUJ.d.ts} +0 -0
- /package/dist/{slider-anatomy-CZoxc1p8.d.ts → slider-anatomy-C0ICRZEy.d.ts} +0 -0
- /package/dist/{splitter-anatomy-CLOLZl0a.d.ts → splitter-anatomy-DI126PJz.d.ts} +0 -0
- /package/dist/{steps-anatomy-lbmXkG81.d.ts → steps-anatomy-J2AjQVd4.d.ts} +0 -0
- /package/dist/{switch-anatomy-pGW5yxP1.d.ts → switch-anatomy-BUXrsW2A.d.ts} +0 -0
- /package/dist/{tabs-anatomy-DAtPeBqj.d.ts → tabs-anatomy-CLk6qei_.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DyeuJ7Th.d.ts → tags-input-anatomy-Cj7pt60P.d.ts} +0 -0
- /package/dist/{timer-anatomy-IGgjTzux.d.ts → timer-anatomy-_ZScIflp.d.ts} +0 -0
- /package/dist/{toast-anatomy-BOrHt4-_.d.ts → toast-anatomy-C611urcE.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-DBV0OT7L.d.ts → toggle-group-anatomy-BMEHxthU.d.ts} +0 -0
- /package/dist/{tooltip-anatomy-T_76c603.d.ts → tooltip-anatomy-B2EMlOzF.d.ts} +0 -0
- /package/dist/{tree-view-anatomy-BZT1uz4I.d.ts → tree-view-anatomy-DiA9oPpn.d.ts} +0 -0
- /package/dist/{types-D_fjXif6.d.ts → types-CcpL2F4P.d.ts} +0 -0
- /package/dist/{use-render-strategy-CEbMLMD1.d.ts → use-render-strategy-CIHTgh6L.d.ts} +0 -0
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
4
|
-
import { t as createContext } from "../../create-context-
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
6
|
-
import { t as toastAnatomy } from "../../toast-anatomy-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-BW88ya4i.js";
|
|
3
|
+
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-Cm-xBdVY.js";
|
|
4
|
+
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-DNG1el63.js";
|
|
6
|
+
import { t as toastAnatomy } from "../../toast-anatomy-DiPVPI_x.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderList, renderSlot, unref, useId, withCtx } from "vue";
|
|
8
8
|
import * as toast from "@sprawlify/primitives/machines/toast";
|
|
9
|
-
|
|
10
9
|
//#region src/components/toast/create-toaster.ts
|
|
11
10
|
const createToaster = (props) => {
|
|
12
11
|
return toast.createStore(props);
|
|
13
12
|
};
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/components/toast/use-toast-context.ts
|
|
17
15
|
const [ToastProvider, useToastContext] = createContext("ToastContext");
|
|
18
|
-
|
|
19
16
|
//#endregion
|
|
20
|
-
//#region src/components/toast/toast-action-trigger.vue
|
|
21
|
-
var
|
|
17
|
+
//#region src/components/toast/toast-action-trigger.vue
|
|
18
|
+
var toast_action_trigger_default = /* @__PURE__ */ defineComponent({
|
|
22
19
|
__name: "toast-action-trigger",
|
|
23
20
|
props: { asChild: {
|
|
24
21
|
type: Boolean,
|
|
@@ -35,14 +32,9 @@ var toast_action_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PUR
|
|
|
35
32
|
};
|
|
36
33
|
}
|
|
37
34
|
});
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/components/toast/toast-action-trigger.vue
|
|
41
|
-
var toast_action_trigger_default = toast_action_trigger_vue_vue_type_script_setup_true_lang_default;
|
|
42
|
-
|
|
43
35
|
//#endregion
|
|
44
|
-
//#region src/components/toast/toast-close-trigger.vue
|
|
45
|
-
var
|
|
36
|
+
//#region src/components/toast/toast-close-trigger.vue
|
|
37
|
+
var toast_close_trigger_default = /* @__PURE__ */ defineComponent({
|
|
46
38
|
__name: "toast-close-trigger",
|
|
47
39
|
props: { asChild: {
|
|
48
40
|
type: Boolean,
|
|
@@ -59,14 +51,9 @@ var toast_close_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
59
51
|
};
|
|
60
52
|
}
|
|
61
53
|
});
|
|
62
|
-
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region src/components/toast/toast-close-trigger.vue
|
|
65
|
-
var toast_close_trigger_default = toast_close_trigger_vue_vue_type_script_setup_true_lang_default;
|
|
66
|
-
|
|
67
54
|
//#endregion
|
|
68
|
-
//#region src/components/toast/toast-context.vue
|
|
69
|
-
var
|
|
55
|
+
//#region src/components/toast/toast-context.vue
|
|
56
|
+
var toast_context_default = /* @__PURE__ */ defineComponent({
|
|
70
57
|
__name: "toast-context",
|
|
71
58
|
setup(__props) {
|
|
72
59
|
const toast = useToastContext();
|
|
@@ -75,14 +62,9 @@ var toast_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
75
62
|
};
|
|
76
63
|
}
|
|
77
64
|
});
|
|
78
|
-
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region src/components/toast/toast-context.vue
|
|
81
|
-
var toast_context_default = toast_context_vue_vue_type_script_setup_true_lang_default;
|
|
82
|
-
|
|
83
65
|
//#endregion
|
|
84
|
-
//#region src/components/toast/toast-description.vue
|
|
85
|
-
var
|
|
66
|
+
//#region src/components/toast/toast-description.vue
|
|
67
|
+
var toast_description_default = /* @__PURE__ */ defineComponent({
|
|
86
68
|
__name: "toast-description",
|
|
87
69
|
props: { asChild: {
|
|
88
70
|
type: Boolean,
|
|
@@ -99,14 +81,9 @@ var toast_description_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
99
81
|
};
|
|
100
82
|
}
|
|
101
83
|
});
|
|
102
|
-
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region src/components/toast/toast-description.vue
|
|
105
|
-
var toast_description_default = toast_description_vue_vue_type_script_setup_true_lang_default;
|
|
106
|
-
|
|
107
84
|
//#endregion
|
|
108
|
-
//#region src/components/toast/toast-root.vue
|
|
109
|
-
var
|
|
85
|
+
//#region src/components/toast/toast-root.vue
|
|
86
|
+
var toast_root_default = /* @__PURE__ */ defineComponent({
|
|
110
87
|
__name: "toast-root",
|
|
111
88
|
props: { asChild: {
|
|
112
89
|
type: Boolean,
|
|
@@ -127,14 +104,9 @@ var toast_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
|
|
|
127
104
|
};
|
|
128
105
|
}
|
|
129
106
|
});
|
|
130
|
-
|
|
131
|
-
//#endregion
|
|
132
|
-
//#region src/components/toast/toast-root.vue
|
|
133
|
-
var toast_root_default = toast_root_vue_vue_type_script_setup_true_lang_default;
|
|
134
|
-
|
|
135
107
|
//#endregion
|
|
136
|
-
//#region src/components/toast/toast-title.vue
|
|
137
|
-
var
|
|
108
|
+
//#region src/components/toast/toast-title.vue
|
|
109
|
+
var toast_title_default = /* @__PURE__ */ defineComponent({
|
|
138
110
|
__name: "toast-title",
|
|
139
111
|
props: { asChild: {
|
|
140
112
|
type: Boolean,
|
|
@@ -151,14 +123,9 @@ var toast_title_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
151
123
|
};
|
|
152
124
|
}
|
|
153
125
|
});
|
|
154
|
-
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region src/components/toast/toast-title.vue
|
|
157
|
-
var toast_title_default = toast_title_vue_vue_type_script_setup_true_lang_default;
|
|
158
|
-
|
|
159
126
|
//#endregion
|
|
160
|
-
//#region src/components/toast/toaster-item.vue
|
|
161
|
-
var
|
|
127
|
+
//#region src/components/toast/toaster-item.vue
|
|
128
|
+
var toaster_item_default = /* @__PURE__ */ defineComponent({
|
|
162
129
|
__name: "toaster-item",
|
|
163
130
|
props: {
|
|
164
131
|
value: {
|
|
@@ -191,14 +158,9 @@ var toaster_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ d
|
|
|
191
158
|
};
|
|
192
159
|
}
|
|
193
160
|
});
|
|
194
|
-
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region src/components/toast/toaster-item.vue
|
|
197
|
-
var toaster_item_default = toaster_item_vue_vue_type_script_setup_true_lang_default;
|
|
198
|
-
|
|
199
161
|
//#endregion
|
|
200
|
-
//#region src/components/toast/toaster.vue
|
|
201
|
-
var
|
|
162
|
+
//#region src/components/toast/toaster.vue
|
|
163
|
+
var toaster_default = /* @__PURE__ */ defineComponent({
|
|
202
164
|
__name: "toaster",
|
|
203
165
|
props: {
|
|
204
166
|
toaster: {
|
|
@@ -244,11 +206,6 @@ var toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
|
|
|
244
206
|
};
|
|
245
207
|
}
|
|
246
208
|
});
|
|
247
|
-
|
|
248
|
-
//#endregion
|
|
249
|
-
//#region src/components/toast/toaster.vue
|
|
250
|
-
var toaster_default = toaster_vue_vue_type_script_setup_true_lang_default;
|
|
251
|
-
|
|
252
209
|
//#endregion
|
|
253
210
|
//#region src/components/toast/toast.ts
|
|
254
211
|
var toast_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -259,6 +216,5 @@ var toast_exports = /* @__PURE__ */ __exportAll({
|
|
|
259
216
|
Root: () => toast_root_default,
|
|
260
217
|
Title: () => toast_title_default
|
|
261
218
|
});
|
|
262
|
-
|
|
263
219
|
//#endregion
|
|
264
|
-
export { toast_exports as Toast, toast_action_trigger_default as ToastActionTrigger, toast_close_trigger_default as ToastCloseTrigger, toast_context_default as ToastContext, toast_description_default as ToastDescription, toast_root_default as ToastRoot, toast_title_default as ToastTitle, toaster_default as Toaster, createToaster, toastAnatomy, useToastContext };
|
|
220
|
+
export { toast_exports as Toast, toast_action_trigger_default as ToastActionTrigger, toast_close_trigger_default as ToastCloseTrigger, toast_context_default as ToastContext, toast_description_default as ToastDescription, toast_root_default as ToastRoot, toast_title_default as ToastTitle, toaster_default as Toaster, createToaster, toastAnatomy, useToastContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import { t as toggleAnatomy } from "../../toggle-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-bfEpUaB3.js";
|
|
2
|
+
import { r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
|
+
import { t as toggleAnatomy } from "../../toggle-anatomy-CAfJOViG.js";
|
|
5
|
+
import * as vue from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as toggle from "@sprawlify/primitives/machines/toggle";
|
|
8
8
|
|
|
@@ -29,17 +29,17 @@ declare var __VLS_8$1: {};
|
|
|
29
29
|
type __VLS_Slots$1 = {} & {
|
|
30
30
|
default?: (props: typeof __VLS_8$1) => any;
|
|
31
31
|
};
|
|
32
|
-
declare const __VLS_base$1:
|
|
32
|
+
declare const __VLS_base$1: vue.DefineComponent<ToggleRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
33
33
|
pressedChange: (pressed: boolean) => any;
|
|
34
34
|
"update:pressed": (pressed: boolean) => any;
|
|
35
|
-
}, string,
|
|
35
|
+
}, string, vue.PublicProps, Readonly<ToggleRootProps> & Readonly<{
|
|
36
36
|
onPressedChange?: ((pressed: boolean) => any) | undefined;
|
|
37
37
|
"onUpdate:pressed"?: ((pressed: boolean) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
defaultPressed: boolean;
|
|
41
41
|
pressed: boolean;
|
|
42
|
-
}, {}, {}, {}, string,
|
|
42
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
44
44
|
declare const _default$2: typeof __VLS_export$2;
|
|
45
45
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -61,7 +61,7 @@ type __VLS_Slots = {} & {
|
|
|
61
61
|
} & {
|
|
62
62
|
fallback?: (props: typeof __VLS_10) => any;
|
|
63
63
|
};
|
|
64
|
-
declare const __VLS_base:
|
|
64
|
+
declare const __VLS_base: vue.DefineComponent<ToggleIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToggleIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
65
65
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base, __VLS_Slots>;
|
|
66
66
|
declare const _default$1: typeof __VLS_export$1;
|
|
67
67
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -83,7 +83,7 @@ interface ToggleContextProps extends SlotsType<{
|
|
|
83
83
|
default: UnwrapRef<UseToggleContext>;
|
|
84
84
|
}> {}
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
86
|
+
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
87
87
|
default(toggle: UnwrapRef<UseToggleContext>): unknown;
|
|
88
88
|
}>;
|
|
89
89
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { t as createContext } from "../../create-context-
|
|
4
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
-
import { t as toggleAnatomy } from "../../toggle-anatomy-
|
|
6
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
-
import { computed, createBlock,
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-BW88ya4i.js";
|
|
3
|
+
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
4
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-DNG1el63.js";
|
|
5
|
+
import { t as toggleAnatomy } from "../../toggle-anatomy-Cvb2YZ0Z.js";
|
|
6
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
7
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, withCtx } from "vue";
|
|
8
8
|
import * as toggle from "@sprawlify/primitives/machines/toggle";
|
|
9
|
-
|
|
10
9
|
//#region src/components/toggle/use-toggle.ts
|
|
11
10
|
function useToggle(props, emit) {
|
|
12
11
|
const machineProps = computed(() => {
|
|
@@ -23,14 +22,12 @@ function useToggle(props, emit) {
|
|
|
23
22
|
const service = useMachine(toggle.machine, machineProps);
|
|
24
23
|
return computed(() => toggle.connect(service, normalizeProps$1));
|
|
25
24
|
}
|
|
26
|
-
|
|
27
25
|
//#endregion
|
|
28
26
|
//#region src/components/toggle/use-toggle-context.ts
|
|
29
27
|
const [ToggleProvider, useToggleContext] = createContext("ToggleContext");
|
|
30
|
-
|
|
31
28
|
//#endregion
|
|
32
|
-
//#region src/components/toggle/toggle-root.vue
|
|
33
|
-
var
|
|
29
|
+
//#region src/components/toggle/toggle-root.vue
|
|
30
|
+
var toggle_root_default = /* @__PURE__ */ defineComponent({
|
|
34
31
|
__name: "toggle-root",
|
|
35
32
|
props: /* @__PURE__ */ mergeDefaults({
|
|
36
33
|
defaultPressed: {
|
|
@@ -67,14 +64,9 @@ var toggle_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
67
64
|
};
|
|
68
65
|
}
|
|
69
66
|
});
|
|
70
|
-
|
|
71
|
-
//#endregion
|
|
72
|
-
//#region src/components/toggle/toggle-root.vue
|
|
73
|
-
var toggle_root_default = toggle_root_vue_vue_type_script_setup_true_lang_default;
|
|
74
|
-
|
|
75
67
|
//#endregion
|
|
76
|
-
//#region src/components/toggle/toggle-indicator.vue
|
|
77
|
-
var
|
|
68
|
+
//#region src/components/toggle/toggle-indicator.vue
|
|
69
|
+
var toggle_indicator_default = /* @__PURE__ */ defineComponent({
|
|
78
70
|
__name: "toggle-indicator",
|
|
79
71
|
props: { asChild: {
|
|
80
72
|
type: Boolean,
|
|
@@ -92,14 +84,9 @@ var toggle_indicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
92
84
|
};
|
|
93
85
|
}
|
|
94
86
|
});
|
|
95
|
-
|
|
96
87
|
//#endregion
|
|
97
|
-
//#region src/components/toggle/toggle-
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region src/components/toggle/toggle-context.vue?vue&type=script&setup=true&lang.ts
|
|
102
|
-
var toggle_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
88
|
+
//#region src/components/toggle/toggle-context.vue
|
|
89
|
+
var toggle_context_default = /* @__PURE__ */ defineComponent({
|
|
103
90
|
__name: "toggle-context",
|
|
104
91
|
setup(__props) {
|
|
105
92
|
const toggle = useToggleContext();
|
|
@@ -108,11 +95,6 @@ var toggle_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
108
95
|
};
|
|
109
96
|
}
|
|
110
97
|
});
|
|
111
|
-
|
|
112
|
-
//#endregion
|
|
113
|
-
//#region src/components/toggle/toggle-context.vue
|
|
114
|
-
var toggle_context_default = toggle_context_vue_vue_type_script_setup_true_lang_default;
|
|
115
|
-
|
|
116
98
|
//#endregion
|
|
117
99
|
//#region src/components/toggle/toggle.ts
|
|
118
100
|
var toggle_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -120,6 +102,5 @@ var toggle_exports = /* @__PURE__ */ __exportAll({
|
|
|
120
102
|
Indicator: () => toggle_indicator_default,
|
|
121
103
|
Root: () => toggle_root_default
|
|
122
104
|
});
|
|
123
|
-
|
|
124
105
|
//#endregion
|
|
125
|
-
export { toggle_exports as Toggle, toggle_context_default as ToggleContext, toggle_indicator_default as ToggleIndicator, toggle_root_default as ToggleRoot, toggleAnatomy, useToggle, useToggleContext };
|
|
106
|
+
export { toggle_exports as Toggle, toggle_context_default as ToggleContext, toggle_indicator_default as ToggleIndicator, toggle_root_default as ToggleRoot, toggleAnatomy, useToggle, useToggleContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import { t as toggleGroupAnatomy } from "../../toggle-group-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-bfEpUaB3.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
|
+
import { t as toggleGroupAnatomy } from "../../toggle-group-anatomy-BMEHxthU.js";
|
|
5
|
+
import * as vue from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as toggleGroup from "@sprawlify/primitives/machines/toggle-group";
|
|
8
8
|
import { ItemProps, ValueChangeDetails, ValueChangeDetails as ToggleGroupValueChangeDetails } from "@sprawlify/primitives/machines/toggle-group";
|
|
@@ -15,7 +15,7 @@ interface ToggleGroupItemProps extends ToggleGroupItemBaseProps,
|
|
|
15
15
|
*/
|
|
16
16
|
Omit<ButtonHTMLAttributes, 'disabled' | 'value'> {}
|
|
17
17
|
declare const _default$1: typeof __VLS_export$3;
|
|
18
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
18
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<ToggleGroupItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
20
|
}>;
|
|
21
21
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -35,7 +35,7 @@ interface ToggleGroupRootProviderProps extends ToggleGroupRootProviderBaseProps,
|
|
|
35
35
|
*/
|
|
36
36
|
HTMLAttributes {}
|
|
37
37
|
declare const _default$3: typeof __VLS_export$2;
|
|
38
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
38
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<ToggleGroupRootProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToggleGroupRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
39
39
|
default?: (props: {}) => any;
|
|
40
40
|
}>;
|
|
41
41
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -74,19 +74,19 @@ interface ToggleGroupRootProps extends ToggleGroupRootBaseProps,
|
|
|
74
74
|
HTMLAttributes {}
|
|
75
75
|
interface ToggleGroupRootEmits extends RootEmits {}
|
|
76
76
|
declare const _default$2: typeof __VLS_export$1;
|
|
77
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
77
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
78
78
|
valueChange: (details: toggleGroup.ValueChangeDetails) => any;
|
|
79
79
|
"update:modelValue": (value: string[]) => any;
|
|
80
|
-
}, string,
|
|
80
|
+
}, string, vue.PublicProps, Readonly<ToggleGroupRootProps> & Readonly<{
|
|
81
81
|
onValueChange?: ((details: toggleGroup.ValueChangeDetails) => any) | undefined;
|
|
82
82
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
|
-
disabled: boolean;
|
|
85
84
|
multiple: boolean;
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
deselectable: boolean;
|
|
86
87
|
loopFocus: boolean;
|
|
87
88
|
rovingFocus: boolean;
|
|
88
|
-
|
|
89
|
-
}, {}, {}, {}, string, vue588.ComponentProvideOptions, false, {}, any>, {
|
|
89
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
90
90
|
default?: (props: {}) => any;
|
|
91
91
|
}>;
|
|
92
92
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -116,7 +116,7 @@ interface ToggleGroupContextProps extends SlotsType<{
|
|
|
116
116
|
default: UnwrapRef<UseToggleGroupContext>;
|
|
117
117
|
}> {}
|
|
118
118
|
declare const _default: typeof __VLS_export;
|
|
119
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
119
|
+
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
120
120
|
default(toggleGroup: UnwrapRef<UseToggleGroupContext>): unknown;
|
|
121
121
|
}>;
|
|
122
122
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
4
|
-
import { t as createContext } from "../../create-context-
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
6
|
-
import { t as toggleGroupAnatomy } from "../../toggle-group-anatomy-
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-BW88ya4i.js";
|
|
3
|
+
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-Cm-xBdVY.js";
|
|
4
|
+
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-DNG1el63.js";
|
|
6
|
+
import { t as toggleGroupAnatomy } from "../../toggle-group-anatomy-cGA-KM8t.js";
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as toggleGroup from "@sprawlify/primitives/machines/toggle-group";
|
|
10
|
-
|
|
11
10
|
//#region src/components/toggle-group/use-toggle-group-context.ts
|
|
12
11
|
const [ToggleGroupProvider, useToggleGroupContext] = createContext("ToggleGroupContext");
|
|
13
|
-
|
|
14
12
|
//#endregion
|
|
15
|
-
//#region src/components/toggle-group/toggle-group-context.vue
|
|
16
|
-
var
|
|
13
|
+
//#region src/components/toggle-group/toggle-group-context.vue
|
|
14
|
+
var toggle_group_context_default = /* @__PURE__ */ defineComponent({
|
|
17
15
|
__name: "toggle-group-context",
|
|
18
16
|
setup(__props) {
|
|
19
17
|
const toggleGroup = useToggleGroupContext();
|
|
@@ -22,14 +20,9 @@ var toggle_group_context_vue_vue_type_script_setup_true_lang_default = /* @__PUR
|
|
|
22
20
|
};
|
|
23
21
|
}
|
|
24
22
|
});
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/components/toggle-group/toggle-group-context.vue
|
|
28
|
-
var toggle_group_context_default = toggle_group_context_vue_vue_type_script_setup_true_lang_default;
|
|
29
|
-
|
|
30
23
|
//#endregion
|
|
31
|
-
//#region src/components/toggle-group/toggle-group-item.vue
|
|
32
|
-
var
|
|
24
|
+
//#region src/components/toggle-group/toggle-group-item.vue
|
|
25
|
+
var toggle_group_item_default = /* @__PURE__ */ defineComponent({
|
|
33
26
|
__name: "toggle-group-item",
|
|
34
27
|
props: {
|
|
35
28
|
value: {
|
|
@@ -58,14 +51,9 @@ var toggle_group_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
58
51
|
};
|
|
59
52
|
}
|
|
60
53
|
});
|
|
61
|
-
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region src/components/toggle-group/toggle-group-item.vue
|
|
64
|
-
var toggle_group_item_default = toggle_group_item_vue_vue_type_script_setup_true_lang_default;
|
|
65
|
-
|
|
66
54
|
//#endregion
|
|
67
|
-
//#region src/components/toggle-group/toggle-group-root-provider.vue
|
|
68
|
-
var
|
|
55
|
+
//#region src/components/toggle-group/toggle-group-root-provider.vue
|
|
56
|
+
var toggle_group_root_provider_default = /* @__PURE__ */ defineComponent({
|
|
69
57
|
__name: "toggle-group-root-provider",
|
|
70
58
|
props: {
|
|
71
59
|
value: {
|
|
@@ -90,11 +78,6 @@ var toggle_group_root_provider_vue_vue_type_script_setup_true_lang_default = /*
|
|
|
90
78
|
};
|
|
91
79
|
}
|
|
92
80
|
});
|
|
93
|
-
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/components/toggle-group/toggle-group-root-provider.vue
|
|
96
|
-
var toggle_group_root_provider_default = toggle_group_root_provider_vue_vue_type_script_setup_true_lang_default;
|
|
97
|
-
|
|
98
81
|
//#endregion
|
|
99
82
|
//#region src/components/toggle-group/use-toggle-group.ts
|
|
100
83
|
const useToggleGroup = (props = {}, emit) => {
|
|
@@ -119,10 +102,9 @@ const useToggleGroup = (props = {}, emit) => {
|
|
|
119
102
|
const service = useMachine(toggleGroup.machine, context);
|
|
120
103
|
return computed(() => toggleGroup.connect(service, normalizeProps$1));
|
|
121
104
|
};
|
|
122
|
-
|
|
123
105
|
//#endregion
|
|
124
|
-
//#region src/components/toggle-group/toggle-group-root.vue
|
|
125
|
-
var
|
|
106
|
+
//#region src/components/toggle-group/toggle-group-root.vue
|
|
107
|
+
var toggle_group_root_default = /* @__PURE__ */ defineComponent({
|
|
126
108
|
__name: "toggle-group-root",
|
|
127
109
|
props: /* @__PURE__ */ mergeDefaults({
|
|
128
110
|
defaultValue: {
|
|
@@ -188,11 +170,6 @@ var toggle_group_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
188
170
|
};
|
|
189
171
|
}
|
|
190
172
|
});
|
|
191
|
-
|
|
192
|
-
//#endregion
|
|
193
|
-
//#region src/components/toggle-group/toggle-group-root.vue
|
|
194
|
-
var toggle_group_root_default = toggle_group_root_vue_vue_type_script_setup_true_lang_default;
|
|
195
|
-
|
|
196
173
|
//#endregion
|
|
197
174
|
//#region src/components/toggle-group/toggle-group.ts
|
|
198
175
|
var toggle_group_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -201,6 +178,5 @@ var toggle_group_exports = /* @__PURE__ */ __exportAll({
|
|
|
201
178
|
Root: () => toggle_group_root_default,
|
|
202
179
|
RootProvider: () => toggle_group_root_provider_default
|
|
203
180
|
});
|
|
204
|
-
|
|
205
181
|
//#endregion
|
|
206
|
-
export { toggle_group_exports as ToggleGroup, toggle_group_context_default as ToggleGroupContext, toggle_group_item_default as ToggleGroupItem, toggle_group_root_default as ToggleGroupRoot, toggle_group_root_provider_default as ToggleGroupRootProvider, toggleGroupAnatomy, useToggleGroup, useToggleGroupContext };
|
|
182
|
+
export { toggle_group_exports as ToggleGroup, toggle_group_context_default as ToggleGroupContext, toggle_group_item_default as ToggleGroupItem, toggle_group_root_default as ToggleGroupRoot, toggle_group_root_provider_default as ToggleGroupRootProvider, toggleGroupAnatomy, useToggleGroup, useToggleGroupContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { t as RootEmits$1 } from "../../presence-types-
|
|
3
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import { t as tooltipAnatomy } from "../../tooltip-anatomy-
|
|
7
|
-
import * as
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-bfEpUaB3.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
6
|
+
import { t as tooltipAnatomy } from "../../tooltip-anatomy-B2EMlOzF.js";
|
|
7
|
+
import * as vue from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
9
|
import * as tooltip from "@sprawlify/primitives/machines/tooltip";
|
|
10
10
|
import { OpenChangeDetails, OpenChangeDetails as TooltipOpenChangeDetails } from "@sprawlify/primitives/machines/tooltip";
|
|
@@ -17,7 +17,7 @@ interface TooltipArrowTipProps extends TooltipArrowTipBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default$1: typeof __VLS_export$7;
|
|
20
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
20
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue.DefineComponent<TooltipArrowTipProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TooltipArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface TooltipArrowProps extends TooltipArrowBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
HTMLAttributes {}
|
|
36
36
|
declare const _default: typeof __VLS_export$6;
|
|
37
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
37
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue.DefineComponent<TooltipArrowProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TooltipArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface TooltipContentProps extends TooltipContentBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$5;
|
|
54
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
54
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue.DefineComponent<TooltipContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TooltipContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -101,7 +101,7 @@ interface TooltipContextProps extends SlotsType<{
|
|
|
101
101
|
default: UnwrapRef<UseTooltipContext>;
|
|
102
102
|
}> {}
|
|
103
103
|
declare const _default$3: typeof __VLS_export$4;
|
|
104
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
104
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
105
105
|
default(tooltip: UnwrapRef<UseTooltipContext>): unknown;
|
|
106
106
|
}>;
|
|
107
107
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -118,7 +118,7 @@ interface TooltipPositionerProps extends TooltipPositionerBaseProps,
|
|
|
118
118
|
*/
|
|
119
119
|
HTMLAttributes {}
|
|
120
120
|
declare const _default$4: typeof __VLS_export$3;
|
|
121
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
121
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<TooltipPositionerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TooltipPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
122
122
|
default?: (props: {}) => any;
|
|
123
123
|
}>;
|
|
124
124
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -135,11 +135,11 @@ interface TooltipRootProviderBaseProps extends RootProviderProps, RenderStrategy
|
|
|
135
135
|
interface TooltipRootProviderProps extends TooltipRootProviderBaseProps {}
|
|
136
136
|
interface TooltipRootProviderEmits extends RootEmits$1 {}
|
|
137
137
|
declare const _default$6: typeof __VLS_export$2;
|
|
138
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
138
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<TooltipRootProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
139
139
|
exitComplete: () => any;
|
|
140
|
-
}, string,
|
|
140
|
+
}, string, vue.PublicProps, Readonly<TooltipRootProviderProps> & Readonly<{
|
|
141
141
|
onExitComplete?: (() => any) | undefined;
|
|
142
|
-
}>, {}, {}, {}, {}, string,
|
|
142
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
143
143
|
default?: (props: {}) => any;
|
|
144
144
|
}>;
|
|
145
145
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -153,24 +153,24 @@ interface TooltipRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
153
153
|
interface TooltipRootProps extends TooltipRootBaseProps {}
|
|
154
154
|
interface TooltipRootEmits extends RootEmits {}
|
|
155
155
|
declare const _default$5: typeof __VLS_export$1;
|
|
156
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
156
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<TooltipRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
157
157
|
exitComplete: () => any;
|
|
158
158
|
openChange: (details: tooltip.OpenChangeDetails) => any;
|
|
159
159
|
"update:open": (open: boolean) => any;
|
|
160
|
-
}, string,
|
|
160
|
+
}, string, vue.PublicProps, Readonly<TooltipRootProps> & Readonly<{
|
|
161
161
|
onExitComplete?: (() => any) | undefined;
|
|
162
162
|
onOpenChange?: ((details: tooltip.OpenChangeDetails) => any) | undefined;
|
|
163
163
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
164
164
|
}>, {
|
|
165
165
|
disabled: boolean;
|
|
166
|
-
closeOnEscape: boolean;
|
|
167
|
-
defaultOpen: boolean;
|
|
168
166
|
open: boolean;
|
|
167
|
+
defaultOpen: boolean;
|
|
168
|
+
closeOnEscape: boolean;
|
|
169
169
|
closeOnClick: boolean;
|
|
170
170
|
closeOnPointerDown: boolean;
|
|
171
171
|
closeOnScroll: boolean;
|
|
172
172
|
interactive: boolean;
|
|
173
|
-
}, {}, {}, {}, string,
|
|
173
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
174
174
|
default?: (props: {}) => any;
|
|
175
175
|
}>;
|
|
176
176
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -187,7 +187,7 @@ interface TooltipTriggerProps extends TooltipTriggerBaseProps,
|
|
|
187
187
|
*/
|
|
188
188
|
ButtonHTMLAttributes {}
|
|
189
189
|
declare const _default$7: typeof __VLS_export;
|
|
190
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
190
|
+
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<TooltipTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TooltipTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
191
191
|
default?: (props: {}) => any;
|
|
192
192
|
}>;
|
|
193
193
|
type __VLS_WithSlots<T, S> = T & {
|