@sprawlify/primitives 0.0.62 → 0.0.63
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/anatomy.d.cts +1 -1
- package/dist/anatomy.d.mts +1 -1
- package/dist/anatomy.mjs +1 -1
- package/dist/{aria-hidden-kcYiyWLo.cjs → aria-hidden-CHWfuKk2.cjs} +1 -1
- package/dist/{aria-hidden-CVIz-P9c.mjs → aria-hidden-Csp0PkO_.mjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-C55IrFLZ.cjs → auto-resize-BL8ul-hb.cjs} +1 -1
- package/dist/{auto-resize-R0jCGBHZ.mjs → auto-resize-jPUJLPa4.mjs} +1 -1
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +2 -2
- package/dist/{collection-CjwZd09Z.mjs → collection-DHyEg4g5.mjs} +30 -30
- package/dist/{collection-Q52RkxUe.cjs → collection-Fkg4kgPn.cjs} +30 -30
- package/dist/collection.cjs +2 -2
- package/dist/collection.d.cts +4 -4
- package/dist/collection.d.mts +4 -4
- package/dist/collection.mjs +2 -2
- package/dist/{color-utils-BekVyYIJ.mjs → color-utils-CaqLeEog.mjs} +3 -3
- package/dist/{color-utils-BVq_rh8L.cjs → color-utils-eUlz6Gq4.cjs} +3 -3
- package/dist/color-utils.cjs +2 -2
- package/dist/color-utils.d.cts +1 -1
- package/dist/color-utils.d.mts +1 -1
- package/dist/color-utils.mjs +2 -2
- package/dist/{core-CsVTCpQ_.cjs → core-CHsDFMV3.cjs} +7 -7
- package/dist/{core-CujC6Y2H.mjs → core-owywCQ2e.mjs} +7 -7
- package/dist/core.cjs +3 -3
- package/dist/core.d.cts +2 -2
- package/dist/core.d.mts +2 -2
- package/dist/core.mjs +3 -3
- package/dist/{date-utils-_Hu9b5fQ.cjs → date-utils-BDBOiT_6.cjs} +22 -23
- package/dist/{date-utils-d1Jt6z5f.mjs → date-utils-LnVS7q0z.mjs} +22 -23
- package/dist/date-utils.cjs +1 -1
- package/dist/date-utils.d.cts +6 -6
- package/dist/date-utils.d.mts +1 -1
- package/dist/date-utils.mjs +1 -1
- package/dist/{defineProperty-bTDhmYM0.mjs → defineProperty-DR_NxfHn.mjs} +8 -8
- package/dist/{defineProperty-xA1FicUs.cjs → defineProperty-_bOnJOii.cjs} +8 -8
- package/dist/{dismissable-D0YyXTJv.mjs → dismissable-BlZazbp3.mjs} +7 -7
- package/dist/{dismissable-D9NEAGMU.cjs → dismissable-DSFGuAU6.cjs} +7 -7
- package/dist/{dismissable-layer-C39y-V3t.d.mts → dismissable-layer-B2bSyA07.d.cts} +2 -2
- package/dist/{dismissable-layer-D-7fwQL8.d.cts → dismissable-layer-CpUMMV1f.d.mts} +2 -2
- package/dist/dismissable.cjs +4 -4
- package/dist/dismissable.d.cts +2 -2
- package/dist/dismissable.d.mts +2 -2
- package/dist/dismissable.mjs +4 -4
- package/dist/{dom-query-xZuxOsD4.cjs → dom-query-CAFhX43H.cjs} +25 -25
- package/dist/{dom-query-CUb85Z22.mjs → dom-query-CQFBCdpo.mjs} +25 -25
- package/dist/dom-query.cjs +1 -1
- package/dist/dom-query.d.cts +7 -7
- package/dist/dom-query.d.mts +7 -7
- package/dist/dom-query.mjs +1 -1
- package/dist/{file-utils-G9_tYexo.cjs → file-utils-Bkp18nrt.cjs} +6 -6
- package/dist/{file-utils-5E6-AtJ9.mjs → file-utils-lcjM-YjV.mjs} +6 -6
- package/dist/file-utils.cjs +1 -1
- package/dist/file-utils.d.cts +1 -1
- package/dist/file-utils.d.mts +1 -1
- package/dist/file-utils.mjs +1 -1
- package/dist/{focus-trap-KZbY4M-m.mjs → focus-trap-BXT0oBtL.mjs} +7 -7
- package/dist/{focus-trap-DcDcihd5.cjs → focus-trap-zaIiaoqE.cjs} +7 -7
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-Ddho9PEA.cjs → focus-visible-3pXNNo-l.cjs} +1 -1
- package/dist/{focus-visible-Bm2uoacD.mjs → focus-visible-DjGDsaLn.mjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/highlight-word.cjs +3 -3
- package/dist/highlight-word.mjs +3 -3
- package/dist/hotkeys.cjs +8 -8
- package/dist/hotkeys.mjs +8 -8
- package/dist/{i18n-utils-B3KjZ58Q.cjs → i18n-utils-CK27xonZ.cjs} +1 -1
- package/dist/{i18n-utils-85PCPQ3H.mjs → i18n-utils-KuoJj66z.mjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{index-BuUzJjaP.d.mts → index-CafmAesU.d.mts} +3 -3
- package/dist/{index-Bqw3r34-.d.cts → index-D1U_WMQ9.d.cts} +3 -3
- package/dist/{interact-outside-xKQjln5u.mjs → interact-outside-CRmkKF6k.mjs} +4 -4
- package/dist/{interact-outside-xGMuVVaa.cjs → interact-outside-Dk2otQqs.cjs} +4 -4
- package/dist/interact-outside.cjs +3 -3
- package/dist/interact-outside.d.cts +1 -1
- package/dist/interact-outside.d.mts +1 -1
- package/dist/interact-outside.mjs +3 -3
- package/dist/json-tree-utils.cjs +30 -30
- package/dist/json-tree-utils.mjs +30 -30
- package/dist/{list-collection-BvMwDNHf.d.cts → list-collection-C9XUe75n.d.mts} +1 -1
- package/dist/{list-collection-CTt1eong.d.mts → list-collection-DwMgPYoA.d.cts} +1 -1
- package/dist/live-region.d.cts +1 -1
- package/dist/live-region.d.mts +1 -1
- package/dist/live-region.mjs +1 -1
- package/dist/machines/accordion/index.cjs +34 -34
- package/dist/machines/accordion/index.d.cts +3 -3
- package/dist/machines/accordion/index.d.mts +3 -3
- package/dist/machines/accordion/index.mjs +36 -36
- package/dist/machines/angle-slider/index.cjs +13 -13
- package/dist/machines/angle-slider/index.d.cts +4 -4
- package/dist/machines/angle-slider/index.d.mts +4 -4
- package/dist/machines/angle-slider/index.mjs +15 -15
- package/dist/machines/async-list/index.cjs +3 -3
- package/dist/machines/async-list/index.d.cts +1 -1
- package/dist/machines/async-list/index.d.mts +1 -1
- package/dist/machines/async-list/index.mjs +3 -3
- package/dist/machines/avatar/index.cjs +3 -3
- package/dist/machines/avatar/index.d.cts +3 -3
- package/dist/machines/avatar/index.d.mts +3 -3
- package/dist/machines/avatar/index.mjs +5 -5
- package/dist/machines/bottom-sheet/index.cjs +15 -15
- package/dist/machines/bottom-sheet/index.d.cts +6 -6
- package/dist/machines/bottom-sheet/index.d.mts +6 -6
- package/dist/machines/bottom-sheet/index.mjs +17 -17
- package/dist/machines/carousel/index.cjs +38 -38
- package/dist/machines/carousel/index.d.cts +4 -4
- package/dist/machines/carousel/index.d.mts +4 -4
- package/dist/machines/carousel/index.mjs +40 -40
- package/dist/machines/checkbox/index.cjs +11 -11
- package/dist/machines/checkbox/index.d.cts +4 -4
- package/dist/machines/checkbox/index.d.mts +4 -4
- package/dist/machines/checkbox/index.mjs +13 -13
- package/dist/machines/clipboard/index.cjs +7 -7
- package/dist/machines/clipboard/index.d.cts +4 -4
- package/dist/machines/clipboard/index.d.mts +4 -4
- package/dist/machines/clipboard/index.mjs +9 -9
- package/dist/machines/collapsible/index.cjs +3 -3
- package/dist/machines/collapsible/index.d.cts +3 -3
- package/dist/machines/collapsible/index.d.mts +3 -3
- package/dist/machines/collapsible/index.mjs +5 -5
- package/dist/machines/color-picker/index.cjs +58 -58
- package/dist/machines/color-picker/index.d.cts +7 -7
- package/dist/machines/color-picker/index.d.mts +7 -7
- package/dist/machines/color-picker/index.mjs +60 -60
- package/dist/machines/combobox/index.cjs +108 -108
- package/dist/machines/combobox/index.d.cts +8 -8
- package/dist/machines/combobox/index.d.mts +8 -8
- package/dist/machines/combobox/index.mjs +110 -110
- package/dist/machines/date-picker/index.cjs +113 -113
- package/dist/machines/date-picker/index.d.cts +8 -8
- package/dist/machines/date-picker/index.d.mts +8 -8
- package/dist/machines/date-picker/index.mjs +120 -120
- package/dist/machines/dialog/index.cjs +12 -12
- package/dist/machines/dialog/index.d.cts +6 -6
- package/dist/machines/dialog/index.d.mts +6 -6
- package/dist/machines/dialog/index.mjs +14 -14
- package/dist/machines/editable/index.cjs +14 -14
- package/dist/machines/editable/index.d.cts +5 -5
- package/dist/machines/editable/index.d.mts +5 -5
- package/dist/machines/editable/index.mjs +16 -16
- package/dist/machines/file-upload/index.cjs +27 -27
- package/dist/machines/file-upload/index.d.cts +5 -5
- package/dist/machines/file-upload/index.d.mts +5 -5
- package/dist/machines/file-upload/index.mjs +29 -29
- package/dist/machines/floating-panel/index.cjs +25 -25
- package/dist/machines/floating-panel/index.d.cts +5 -5
- package/dist/machines/floating-panel/index.d.mts +5 -5
- package/dist/machines/floating-panel/index.mjs +27 -27
- package/dist/machines/hover-card/index.cjs +11 -11
- package/dist/machines/hover-card/index.d.cts +6 -6
- package/dist/machines/hover-card/index.d.mts +6 -6
- package/dist/machines/hover-card/index.mjs +13 -13
- package/dist/machines/image-cropper/index.cjs +39 -39
- package/dist/machines/image-cropper/index.d.cts +4 -4
- package/dist/machines/image-cropper/index.d.mts +4 -4
- package/dist/machines/image-cropper/index.mjs +41 -41
- package/dist/machines/listbox/index.cjs +94 -94
- package/dist/machines/listbox/index.d.cts +8 -8
- package/dist/machines/listbox/index.d.mts +8 -8
- package/dist/machines/listbox/index.mjs +96 -96
- package/dist/machines/marquee/index.cjs +11 -11
- package/dist/machines/marquee/index.d.cts +6 -6
- package/dist/machines/marquee/index.d.mts +6 -6
- package/dist/machines/marquee/index.mjs +13 -13
- package/dist/machines/menu/index.cjs +59 -59
- package/dist/machines/menu/index.d.cts +9 -9
- package/dist/machines/menu/index.d.mts +9 -9
- package/dist/machines/menu/index.mjs +61 -61
- package/dist/machines/navigation-menu/index.cjs +66 -66
- package/dist/machines/navigation-menu/index.d.cts +4 -4
- package/dist/machines/navigation-menu/index.d.mts +4 -4
- package/dist/machines/navigation-menu/index.mjs +68 -68
- package/dist/machines/number-input/index.cjs +10 -10
- package/dist/machines/number-input/index.d.cts +4 -4
- package/dist/machines/number-input/index.d.mts +4 -4
- package/dist/machines/number-input/index.mjs +12 -12
- package/dist/machines/pagination/index.cjs +12 -12
- package/dist/machines/pagination/index.d.cts +4 -4
- package/dist/machines/pagination/index.d.mts +4 -4
- package/dist/machines/pagination/index.mjs +14 -14
- package/dist/machines/password-input/index.cjs +6 -6
- package/dist/machines/password-input/index.d.cts +4 -4
- package/dist/machines/password-input/index.d.mts +4 -4
- package/dist/machines/password-input/index.mjs +8 -8
- package/dist/machines/pin-input/index.cjs +9 -9
- package/dist/machines/pin-input/index.d.cts +4 -4
- package/dist/machines/pin-input/index.d.mts +4 -4
- package/dist/machines/pin-input/index.mjs +11 -11
- package/dist/machines/popover/index.cjs +16 -16
- package/dist/machines/popover/index.d.cts +7 -7
- package/dist/machines/popover/index.d.mts +7 -7
- package/dist/machines/popover/index.mjs +18 -18
- package/dist/machines/presence/index.cjs +6 -6
- package/dist/machines/presence/index.d.cts +2 -2
- package/dist/machines/presence/index.d.mts +2 -2
- package/dist/machines/presence/index.mjs +7 -7
- package/dist/machines/progress/index.cjs +19 -19
- package/dist/machines/progress/index.d.cts +4 -4
- package/dist/machines/progress/index.d.mts +4 -4
- package/dist/machines/progress/index.mjs +21 -21
- package/dist/machines/qr-code/index.cjs +7 -7
- package/dist/machines/qr-code/index.d.cts +4 -4
- package/dist/machines/qr-code/index.d.mts +4 -4
- package/dist/machines/qr-code/index.mjs +9 -9
- package/dist/machines/radio-group/index.cjs +39 -39
- package/dist/machines/radio-group/index.d.cts +4 -4
- package/dist/machines/radio-group/index.d.mts +4 -4
- package/dist/machines/radio-group/index.mjs +41 -41
- package/dist/machines/rating-group/index.cjs +16 -16
- package/dist/machines/rating-group/index.d.cts +4 -4
- package/dist/machines/rating-group/index.d.mts +4 -4
- package/dist/machines/rating-group/index.mjs +18 -18
- package/dist/machines/scroll-area/index.cjs +13 -13
- package/dist/machines/scroll-area/index.d.cts +4 -4
- package/dist/machines/scroll-area/index.d.mts +4 -4
- package/dist/machines/scroll-area/index.mjs +15 -15
- package/dist/machines/select/index.cjs +50 -50
- package/dist/machines/select/index.d.cts +9 -9
- package/dist/machines/select/index.d.mts +9 -9
- package/dist/machines/select/index.mjs +52 -52
- package/dist/machines/signature-pad/index.cjs +11 -11
- package/dist/machines/signature-pad/index.d.cts +4 -4
- package/dist/machines/signature-pad/index.d.mts +4 -4
- package/dist/machines/signature-pad/index.mjs +13 -13
- package/dist/machines/slider/index.cjs +42 -43
- package/dist/machines/slider/index.d.cts +4 -4
- package/dist/machines/slider/index.d.mts +4 -4
- package/dist/machines/slider/index.mjs +44 -45
- package/dist/machines/splitter/index.cjs +62 -62
- package/dist/machines/splitter/index.d.cts +3 -3
- package/dist/machines/splitter/index.d.mts +3 -3
- package/dist/machines/splitter/index.mjs +64 -64
- package/dist/machines/steps/index.cjs +27 -27
- package/dist/machines/steps/index.d.cts +4 -4
- package/dist/machines/steps/index.d.mts +4 -4
- package/dist/machines/steps/index.mjs +29 -29
- package/dist/machines/switch/index.cjs +10 -10
- package/dist/machines/switch/index.d.cts +4 -4
- package/dist/machines/switch/index.d.mts +4 -4
- package/dist/machines/switch/index.mjs +12 -12
- package/dist/machines/tabs/index.cjs +14 -14
- package/dist/machines/tabs/index.d.cts +4 -4
- package/dist/machines/tabs/index.d.mts +4 -4
- package/dist/machines/tabs/index.mjs +16 -16
- package/dist/machines/tags-input/index.cjs +30 -30
- package/dist/machines/tags-input/index.d.cts +6 -6
- package/dist/machines/tags-input/index.d.mts +6 -6
- package/dist/machines/tags-input/index.mjs +33 -33
- package/dist/machines/timer/index.cjs +19 -19
- package/dist/machines/timer/index.d.cts +4 -4
- package/dist/machines/timer/index.d.mts +4 -4
- package/dist/machines/timer/index.mjs +21 -21
- package/dist/machines/toast/index.cjs +11 -11
- package/dist/machines/toast/index.d.cts +5 -6
- package/dist/machines/toast/index.d.mts +5 -6
- package/dist/machines/toast/index.mjs +12 -12
- package/dist/machines/toggle/index.cjs +5 -5
- package/dist/machines/toggle/index.d.cts +3 -3
- package/dist/machines/toggle/index.d.mts +3 -3
- package/dist/machines/toggle/index.mjs +7 -7
- package/dist/machines/toggle-group/index.cjs +16 -16
- package/dist/machines/toggle-group/index.d.cts +3 -3
- package/dist/machines/toggle-group/index.d.mts +3 -3
- package/dist/machines/toggle-group/index.mjs +18 -18
- package/dist/machines/tooltip/index.cjs +12 -12
- package/dist/machines/tooltip/index.d.cts +5 -5
- package/dist/machines/tooltip/index.d.mts +5 -5
- package/dist/machines/tooltip/index.mjs +14 -14
- package/dist/machines/tour/index.cjs +19 -19
- package/dist/machines/tour/index.d.cts +7 -7
- package/dist/machines/tour/index.d.mts +7 -7
- package/dist/machines/tour/index.mjs +21 -21
- package/dist/machines/tree-view/index.cjs +161 -161
- package/dist/machines/tree-view/index.d.cts +7 -7
- package/dist/machines/tree-view/index.d.mts +7 -7
- package/dist/machines/tree-view/index.mjs +163 -163
- package/dist/{popper-TNUpC0Kp.cjs → popper-CY3ptPbm.cjs} +4 -4
- package/dist/{popper-DbfXVgrC.mjs → popper-DxgokNha.mjs} +4 -4
- package/dist/popper.cjs +3 -3
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/popper.mjs +3 -3
- package/dist/{rect-utils-CDBAit19.mjs → rect-utils-BobE6Wut.mjs} +9 -9
- package/dist/{rect-utils-ChBPj9XR.cjs → rect-utils-DtqZwNtZ.cjs} +9 -9
- package/dist/rect-utils.cjs +1 -1
- package/dist/rect-utils.d.cts +1 -1
- package/dist/rect-utils.d.mts +1 -1
- package/dist/rect-utils.mjs +1 -1
- package/dist/{remove-scroll-DNoftRvo.mjs → remove-scroll-DcPV6nZy.mjs} +1 -1
- package/dist/{remove-scroll-D5aUrYvL.cjs → remove-scroll-DgJgF1C5.cjs} +1 -1
- package/dist/{scroll-snap-tDsdAemJ.mjs → scroll-snap-D_M1Q8ZQ.mjs} +1 -1
- package/dist/{scroll-snap-DhVLyRe-.cjs → scroll-snap-DpEzlrHP.cjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{selection-JDFmyke7.d.mts → selection-CPTdpru8.d.mts} +2 -2
- package/dist/{selection-vng1guNc.d.cts → selection-wfybIxD3.d.cts} +2 -2
- package/dist/{store-DDjfrUhd.cjs → store-B9Ewi-zx.cjs} +4 -4
- package/dist/{store-CpMJ6RZR.mjs → store-DMXvGOAu.mjs} +4 -4
- package/dist/store.cjs +1 -1
- package/dist/store.mjs +1 -1
- package/dist/{tree-collection-CmehimuO.d.cts → tree-collection-1g4DXuqa.d.mts} +1 -2
- package/dist/{tree-collection-CqXQBHwY.d.mts → tree-collection-CPcsMvje.d.cts} +1 -2
- package/dist/{types-DL5AIQk5.d.mts → types-BM4oVvZZ.d.mts} +10 -10
- package/dist/{types-DejIu60O.d.cts → types-fB7F7BBP.d.cts} +10 -10
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -1
- package/dist/{utils-B4_qn2dt.cjs → utils-CJsQZljH.cjs} +21 -21
- package/dist/{utils-DSBXwmDm.mjs → utils-Vs04rt8f.mjs} +21 -21
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{color-Bcy-SLQ1.d.mts → color-B3sgFAa6.d.mts} +0 -0
- /package/dist/{color-Bj20c2qw.d.cts → color-BhaNI8oR.d.cts} +0 -0
- /package/dist/{create-anatomy-DHVOqZET.d.mts → create-anatomy-9eFQs7lO.d.cts} +0 -0
- /package/dist/{create-anatomy-CArN8dVu.mjs → create-anatomy-BVqM_FJ6.mjs} +0 -0
- /package/dist/{create-anatomy-smWrirg1.d.cts → create-anatomy-UNZ__hxH.d.mts} +0 -0
- /package/dist/{create-props-SRSjdUTq.mjs → create-props-Dtoa4OUk.mjs} +0 -0
- /package/dist/{data-url-C3ITPVRX.d.cts → data-url-BrR6WHXH.d.cts} +0 -0
- /package/dist/{data-url-mcVoUiET.d.mts → data-url-lOYkmlVX.d.mts} +0 -0
- /package/dist/{functions-7V6veSov.d.cts → functions-Box4pxDB.d.cts} +0 -0
- /package/dist/{functions-CjitT5Gr.d.mts → functions-Du4c1Rcz.d.mts} +0 -0
- /package/dist/{index-CygfPLvT.d.mts → index-B2rsdD3v.d.cts} +0 -0
- /package/dist/{index-Bvn6ocEE.d.mts → index-CXu0elLS.d.mts} +0 -0
- /package/dist/{index-C9-feK5c.d.cts → index-Cf0hysnI.d.cts} +0 -0
- /package/dist/{index-Owca7uxB.d.cts → index-DIJJrhP_.d.mts} +0 -0
- /package/dist/{index-BTi1wETB.d.mts → index-DJ1MHM3z.d.mts} +0 -0
- /package/dist/{index-BqhWpjZh.d.mts → index-DLbWwJUT.d.mts} +0 -0
- /package/dist/{live-region-BcSdQIM8.mjs → live-region-CBp2K1JK.mjs} +0 -0
- /package/dist/{node-CHGS3acf.d.mts → node-BGWAyUGo.d.mts} +0 -0
- /package/dist/{node-CSsuPZVZ.d.cts → node-D8Ztr9Hg.d.cts} +0 -0
- /package/dist/{raf-BV1049GE.d.mts → raf-B8md2utS.d.mts} +0 -0
- /package/dist/{raf-Cd2FGy0z.d.cts → raf-DWPAf0Nd.d.cts} +0 -0
- /package/dist/{typeahead-BdNwVP09.d.cts → typeahead-BhNtyjQC.d.cts} +0 -0
- /package/dist/{typeahead-DMSwLv1e.d.mts → typeahead-D4TUCBly.d.mts} +0 -0
- /package/dist/{types-D5ziaMrd.d.cts → types-B--gFZVP.d.cts} +0 -0
- /package/dist/{types-DddL75YY.d.cts → types-C1F7Y-Hc.d.cts} +0 -0
- /package/dist/{types-CADkcKtr.d.cts → types-CBWaEVU4.d.cts} +0 -0
- /package/dist/{types-D-ZRl1jP.d.mts → types-CW-uU8Nz.d.mts} +0 -0
- /package/dist/{types-Df8ZhdY-.d.mts → types-D0tsc4Jo.d.mts} +0 -0
- /package/dist/{types-GxLIgJib.d.cts → types-DTZZ5wsp.d.cts} +0 -0
- /package/dist/{types-J14X3oxU.d.mts → types-Dw1I6cFP.d.mts} +0 -0
- /package/dist/{types-F-0xFywm.d.cts → types-oR0sELNB.d.cts} +0 -0
- /package/dist/{wait-for-ChpX25fU.d.cts → wait-for-CVZu6XNU.d.mts} +0 -0
- /package/dist/{wait-for-DxY1szJ6.d.mts → wait-for-D5gBQyam.d.cts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_dom_query = require('./dom-query-
|
|
3
|
-
const require_utils = require('./utils-
|
|
2
|
+
const require_dom_query = require('./dom-query-CAFhX43H.cjs');
|
|
3
|
+
const require_utils = require('./utils-CJsQZljH.cjs');
|
|
4
4
|
let _floating_ui_dom = require("@floating-ui/dom");
|
|
5
5
|
|
|
6
6
|
//#region src/shared/popper/get-anchor.ts
|
|
@@ -162,9 +162,9 @@ function getOffsetMiddleware(arrowElement, opts) {
|
|
|
162
162
|
const gutter = opts.offset?.mainAxis ?? opts.gutter;
|
|
163
163
|
const mainAxis = typeof gutter === "number" ? gutter + arrowOffset : gutter ?? arrowOffset;
|
|
164
164
|
const { hasAlign } = getPlacementDetails(placement);
|
|
165
|
-
const shift
|
|
165
|
+
const shift = !hasAlign ? opts.shift : void 0;
|
|
166
166
|
return require_utils.compact({
|
|
167
|
-
crossAxis: opts.offset?.crossAxis ?? shift
|
|
167
|
+
crossAxis: opts.offset?.crossAxis ?? shift,
|
|
168
168
|
mainAxis,
|
|
169
169
|
alignmentAxis: opts.shift
|
|
170
170
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-
|
|
2
|
-
import { X as noop, l as compact, ot as isNull } from "./utils-
|
|
1
|
+
import { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import { X as noop, l as compact, ot as isNull } from "./utils-Vs04rt8f.mjs";
|
|
3
3
|
import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/popper/get-anchor.ts
|
|
@@ -161,9 +161,9 @@ function getOffsetMiddleware(arrowElement, opts) {
|
|
|
161
161
|
const gutter = opts.offset?.mainAxis ?? opts.gutter;
|
|
162
162
|
const mainAxis = typeof gutter === "number" ? gutter + arrowOffset : gutter ?? arrowOffset;
|
|
163
163
|
const { hasAlign } = getPlacementDetails(placement);
|
|
164
|
-
const shift
|
|
164
|
+
const shift = !hasAlign ? opts.shift : void 0;
|
|
165
165
|
return compact({
|
|
166
|
-
crossAxis: opts.offset?.crossAxis ?? shift
|
|
166
|
+
crossAxis: opts.offset?.crossAxis ?? shift,
|
|
167
167
|
mainAxis,
|
|
168
168
|
alignmentAxis: opts.shift
|
|
169
169
|
});
|
package/dist/popper.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
require('./utils-
|
|
3
|
-
const require_popper = require('./popper-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
require('./utils-CJsQZljH.cjs');
|
|
3
|
+
const require_popper = require('./popper-CY3ptPbm.cjs');
|
|
4
4
|
|
|
5
5
|
exports.getPlacement = require_popper.getPlacement;
|
|
6
6
|
exports.getPlacementSide = require_popper.getPlacementSide;
|
package/dist/popper.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as MaybeElement, c as Placement, d as PositioningOptions, i as ComputePositionReturn, l as PlacementAlign, n as AutoUpdateOptions, o as MaybeFn, r as Boundary, s as MaybeRectElement, t as AnchorRect, u as PlacementSide } from "./types-
|
|
1
|
+
import { a as MaybeElement, c as Placement, d as PositioningOptions, i as ComputePositionReturn, l as PlacementAlign, n as AutoUpdateOptions, o as MaybeFn, r as Boundary, s as MaybeRectElement, t as AnchorRect, u as PlacementSide } from "./types-B--gFZVP.cjs";
|
|
2
2
|
import { Placement as Placement$1 } from "@floating-ui/dom";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/popper/get-placement.d.ts
|
package/dist/popper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-
|
|
1
|
+
import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-DJ1MHM3z.mjs";
|
|
2
2
|
export { AnchorRect, AutoUpdateOptions, Boundary, ComputePositionReturn, GetPlacementStylesOptions, Placement, PlacementAlign, PlacementSide, PositioningOptions, getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
|
package/dist/popper.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-
|
|
1
|
+
import "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import "./utils-Vs04rt8f.mjs";
|
|
3
|
+
import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-DxgokNha.mjs";
|
|
4
4
|
|
|
5
5
|
export { getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-DR_NxfHn.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.ts
|
|
4
4
|
var AffineTransform = class AffineTransform {
|
|
@@ -227,7 +227,7 @@ function getPointAngle(rect, point, reference = rect.center) {
|
|
|
227
227
|
|
|
228
228
|
//#endregion
|
|
229
229
|
//#region src/shared/rect-utils/clamp.ts
|
|
230
|
-
const clamp = (value, min
|
|
230
|
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
231
231
|
const clampPoint = (position, size, boundaryRect) => {
|
|
232
232
|
return {
|
|
233
233
|
x: clamp(position.x, boundaryRect.x, boundaryRect.x + boundaryRect.width - size.width),
|
|
@@ -414,17 +414,17 @@ function closestSideToPoint(ref, p) {
|
|
|
414
414
|
const dr = ref.maxX - x;
|
|
415
415
|
const dt = y - ref.minY;
|
|
416
416
|
const db = ref.maxY - y;
|
|
417
|
-
let closest
|
|
417
|
+
let closest = dl;
|
|
418
418
|
let side = "left";
|
|
419
|
-
if (dr < closest
|
|
420
|
-
closest
|
|
419
|
+
if (dr < closest) {
|
|
420
|
+
closest = dr;
|
|
421
421
|
side = "right";
|
|
422
422
|
}
|
|
423
|
-
if (dt < closest
|
|
424
|
-
closest
|
|
423
|
+
if (dt < closest) {
|
|
424
|
+
closest = dt;
|
|
425
425
|
side = "top";
|
|
426
426
|
}
|
|
427
|
-
if (db < closest
|
|
427
|
+
if (db < closest) side = "bottom";
|
|
428
428
|
return side;
|
|
429
429
|
}
|
|
430
430
|
|
|
@@ -503,7 +503,7 @@ function getClientRect(el, opts = {}) {
|
|
|
503
503
|
return r;
|
|
504
504
|
}
|
|
505
505
|
const px = (v) => parseFloat(v.replace("px", ""));
|
|
506
|
-
const sum = (...vals) => vals.reduce((sum
|
|
506
|
+
const sum = (...vals) => vals.reduce((sum, v) => sum + (v ? px(v) : 0), 0);
|
|
507
507
|
|
|
508
508
|
//#endregion
|
|
509
509
|
//#region src/shared/rect-utils/from-points.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_defineProperty = require('./defineProperty-
|
|
1
|
+
const require_defineProperty = require('./defineProperty-_bOnJOii.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.ts
|
|
4
4
|
var AffineTransform = class AffineTransform {
|
|
@@ -227,7 +227,7 @@ function getPointAngle(rect, point, reference = rect.center) {
|
|
|
227
227
|
|
|
228
228
|
//#endregion
|
|
229
229
|
//#region src/shared/rect-utils/clamp.ts
|
|
230
|
-
const clamp = (value, min
|
|
230
|
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
231
231
|
const clampPoint = (position, size, boundaryRect) => {
|
|
232
232
|
return {
|
|
233
233
|
x: clamp(position.x, boundaryRect.x, boundaryRect.x + boundaryRect.width - size.width),
|
|
@@ -414,17 +414,17 @@ function closestSideToPoint(ref, p) {
|
|
|
414
414
|
const dr = ref.maxX - x;
|
|
415
415
|
const dt = y - ref.minY;
|
|
416
416
|
const db = ref.maxY - y;
|
|
417
|
-
let closest
|
|
417
|
+
let closest = dl;
|
|
418
418
|
let side = "left";
|
|
419
|
-
if (dr < closest
|
|
420
|
-
closest
|
|
419
|
+
if (dr < closest) {
|
|
420
|
+
closest = dr;
|
|
421
421
|
side = "right";
|
|
422
422
|
}
|
|
423
|
-
if (dt < closest
|
|
424
|
-
closest
|
|
423
|
+
if (dt < closest) {
|
|
424
|
+
closest = dt;
|
|
425
425
|
side = "top";
|
|
426
426
|
}
|
|
427
|
-
if (db < closest
|
|
427
|
+
if (db < closest) side = "bottom";
|
|
428
428
|
return side;
|
|
429
429
|
}
|
|
430
430
|
|
|
@@ -503,7 +503,7 @@ function getClientRect(el, opts = {}) {
|
|
|
503
503
|
return r;
|
|
504
504
|
}
|
|
505
505
|
const px = (v) => parseFloat(v.replace("px", ""));
|
|
506
|
-
const sum = (...vals) => vals.reduce((sum
|
|
506
|
+
const sum = (...vals) => vals.reduce((sum, v) => sum + (v ? px(v) : 0), 0);
|
|
507
507
|
|
|
508
508
|
//#endregion
|
|
509
509
|
//#region src/shared/rect-utils/from-points.ts
|
package/dist/rect-utils.cjs
CHANGED
package/dist/rect-utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-
|
|
1
|
+
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-C1F7Y-Hc.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.d.ts
|
|
4
4
|
declare class AffineTransform {
|
package/dist/rect-utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-
|
|
1
|
+
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-Dw1I6cFP.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.d.ts
|
|
4
4
|
declare class AffineTransform {
|
package/dist/rect-utils.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as distanceBtwEdges, B as getRectCorners, C as containsPoint, D as closestSideToPoint, E as closest, F as intersects, G as clampPoint, H as isPoint, I as addPoints, J as alignRect, K as clampSize, L as createPoint, M as distanceFromRect, N as collisions, O as closestSideToRect, P as intersection, R as createRect, S as contains, T as constrainRect, U as isRect, V as getRectEdges, W as subtractPoints, Y as AffineTransform, _ as getRectFromPoints, a as expand, b as isRectEqual, c as shift, d as getWindowRect, f as getRotationRect, g as union, h as fromRange, i as isPointInPolygon, j as distanceFromPoint, k as distance, l as shrink, m as toRad, n as debugPolygon, o as inset, p as rotate, q as getPointAngle, r as getElementPolygon, s as isSymmetric, t as resizeRect, u as getViewportRect, v as getElementRect, w as containsRect, x as isSizeEqual, y as isPointEqual, z as getRectCenters } from "./rect-utils-
|
|
1
|
+
import { A as distanceBtwEdges, B as getRectCorners, C as containsPoint, D as closestSideToPoint, E as closest, F as intersects, G as clampPoint, H as isPoint, I as addPoints, J as alignRect, K as clampSize, L as createPoint, M as distanceFromRect, N as collisions, O as closestSideToRect, P as intersection, R as createRect, S as contains, T as constrainRect, U as isRect, V as getRectEdges, W as subtractPoints, Y as AffineTransform, _ as getRectFromPoints, a as expand, b as isRectEqual, c as shift, d as getWindowRect, f as getRotationRect, g as union, h as fromRange, i as isPointInPolygon, j as distanceFromPoint, k as distance, l as shrink, m as toRad, n as debugPolygon, o as inset, p as rotate, q as getPointAngle, r as getElementPolygon, s as isSymmetric, t as resizeRect, u as getViewportRect, v as getElementRect, w as containsRect, x as isSizeEqual, y as isPointEqual, z as getRectCenters } from "./rect-utils-BobE6Wut.mjs";
|
|
2
2
|
|
|
3
3
|
export { AffineTransform, addPoints, alignRect, clampPoint, clampSize, closest, closestSideToPoint, closestSideToRect, collisions, constrainRect, contains, containsPoint, containsRect, createPoint, createRect, debugPolygon, distance, distanceBtwEdges, distanceFromPoint, distanceFromRect, expand, fromRange, getElementPolygon, getElementRect, getPointAngle, getRectCenters, getRectCorners, getRectEdges, getRectFromPoints, getRotationRect, getViewportRect, getWindowRect, inset, intersection, intersects, isPoint, isPointEqual, isPointInPolygon, isRect, isRectEqual, isSizeEqual, isSymmetric, resizeRect, rotate, shift, shrink, subtractPoints, toRad, union };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Lt as isIos, Xt as getComputedStyle, d as setStyleProperty, u as setStyle } from "./dom-query-
|
|
1
|
+
import { Lt as isIos, Xt as getComputedStyle, d as setStyleProperty, u as setStyle } from "./dom-query-CQFBCdpo.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/remove-scroll/index.ts
|
|
4
4
|
const LOCK_CLASSNAME = "data-scroll-lock";
|
package/dist/scroll-snap.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_scroll_snap = require('./scroll-snap-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
const require_scroll_snap = require('./scroll-snap-DpEzlrHP.cjs');
|
|
3
3
|
|
|
4
4
|
exports.findSnapPoint = require_scroll_snap.findSnapPoint;
|
|
5
5
|
exports.getScrollSnapPositions = require_scroll_snap.getScrollSnapPositions;
|
package/dist/scroll-snap.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-
|
|
1
|
+
import "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-D_M1Q8ZQ.mjs";
|
|
3
3
|
|
|
4
4
|
export { findSnapPoint, getScrollSnapPositions, getSnapPointTarget, getSnapPositions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as CollectionOptions, t as CollectionItem } from "./types-
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
1
|
+
import { r as CollectionOptions, t as CollectionItem } from "./types-D0tsc4Jo.mjs";
|
|
2
|
+
import { t as ListCollection } from "./list-collection-C9XUe75n.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/grid-collection.d.ts
|
|
5
5
|
interface GridCollectionOptions<T> extends CollectionOptions<T> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as CollectionOptions, t as CollectionItem } from "./types-
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
1
|
+
import { r as CollectionOptions, t as CollectionItem } from "./types-CBWaEVU4.cjs";
|
|
2
|
+
import { t as ListCollection } from "./list-collection-DwMgPYoA.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/grid-collection.d.ts
|
|
5
5
|
interface GridCollectionOptions<T> extends CollectionOptions<T> {
|
|
@@ -82,7 +82,7 @@ const buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =
|
|
|
82
82
|
else snap[key] = value;
|
|
83
83
|
});
|
|
84
84
|
return Object.freeze(snap);
|
|
85
|
-
}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction
|
|
85
|
+
}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction = (initialObject) => {
|
|
86
86
|
if (!isObject(initialObject)) throw new Error("object required");
|
|
87
87
|
const found = proxyCache.get(initialObject);
|
|
88
88
|
if (found) return found;
|
|
@@ -193,7 +193,7 @@ const buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =
|
|
|
193
193
|
});
|
|
194
194
|
return proxyObject;
|
|
195
195
|
}) => [
|
|
196
|
-
proxyFunction
|
|
196
|
+
proxyFunction,
|
|
197
197
|
proxyStateMap,
|
|
198
198
|
refSet,
|
|
199
199
|
objectIs,
|
|
@@ -250,10 +250,10 @@ function proxyWithComputed(initialObject, computedFns) {
|
|
|
250
250
|
Object.keys(computedFns).forEach((key) => {
|
|
251
251
|
if (Object.getOwnPropertyDescriptor(initialObject, key)) throw new Error("object property already defined");
|
|
252
252
|
const computedFn = computedFns[key];
|
|
253
|
-
const { get, set
|
|
253
|
+
const { get, set } = typeof computedFn === "function" ? { get: computedFn } : computedFn;
|
|
254
254
|
const desc = {};
|
|
255
255
|
desc.get = () => get(snapshot(proxyObject));
|
|
256
|
-
if (set
|
|
256
|
+
if (set) desc.set = (newValue) => set(proxyObject, newValue);
|
|
257
257
|
Object.defineProperty(initialObject, key, desc);
|
|
258
258
|
});
|
|
259
259
|
const proxyObject = proxy(initialObject);
|
|
@@ -81,7 +81,7 @@ const buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =
|
|
|
81
81
|
else snap[key] = value;
|
|
82
82
|
});
|
|
83
83
|
return Object.freeze(snap);
|
|
84
|
-
}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction
|
|
84
|
+
}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction = (initialObject) => {
|
|
85
85
|
if (!isObject(initialObject)) throw new Error("object required");
|
|
86
86
|
const found = proxyCache.get(initialObject);
|
|
87
87
|
if (found) return found;
|
|
@@ -192,7 +192,7 @@ const buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =
|
|
|
192
192
|
});
|
|
193
193
|
return proxyObject;
|
|
194
194
|
}) => [
|
|
195
|
-
proxyFunction
|
|
195
|
+
proxyFunction,
|
|
196
196
|
proxyStateMap,
|
|
197
197
|
refSet,
|
|
198
198
|
objectIs,
|
|
@@ -249,10 +249,10 @@ function proxyWithComputed(initialObject, computedFns) {
|
|
|
249
249
|
Object.keys(computedFns).forEach((key) => {
|
|
250
250
|
if (Object.getOwnPropertyDescriptor(initialObject, key)) throw new Error("object property already defined");
|
|
251
251
|
const computedFn = computedFns[key];
|
|
252
|
-
const { get, set
|
|
252
|
+
const { get, set } = typeof computedFn === "function" ? { get: computedFn } : computedFn;
|
|
253
253
|
const desc = {};
|
|
254
254
|
desc.get = () => get(snapshot(proxyObject));
|
|
255
|
-
if (set
|
|
255
|
+
if (set) desc.set = (newValue) => set(proxyObject, newValue);
|
|
256
256
|
Object.defineProperty(initialObject, key, desc);
|
|
257
257
|
});
|
|
258
258
|
const proxyObject = proxy(initialObject);
|
package/dist/store.cjs
CHANGED
package/dist/store.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as subscribe, i as snapshot, n as proxy, o as clone, r as ref, s as globalRef, t as proxyWithComputed } from "./store-
|
|
1
|
+
import { a as subscribe, i as snapshot, n as proxy, o as clone, r as ref, s as globalRef, t as proxyWithComputed } from "./store-DMXvGOAu.mjs";
|
|
2
2
|
|
|
3
3
|
export { clone, globalRef, proxy, proxyWithComputed, ref, snapshot, subscribe };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, h as TreeSkipOptions, o as DescendantOptions, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "./types-
|
|
1
|
+
import { c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, h as TreeSkipOptions, o as DescendantOptions, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "./types-D0tsc4Jo.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/collection/tree-visit.d.ts
|
|
4
|
-
|
|
5
4
|
interface BaseOptions<T> {
|
|
6
5
|
getChildren: (node: T, indexPath: IndexPath) => T[];
|
|
7
6
|
reuseIndexPath?: boolean | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, h as TreeSkipOptions, o as DescendantOptions, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "./types-
|
|
1
|
+
import { c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, h as TreeSkipOptions, o as DescendantOptions, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "./types-CBWaEVU4.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/collection/tree-visit.d.ts
|
|
4
|
-
|
|
5
4
|
interface BaseOptions<T> {
|
|
6
5
|
getChildren: (node: T, indexPath: IndexPath) => T[];
|
|
7
6
|
reuseIndexPath?: boolean | undefined;
|
|
@@ -19,10 +19,10 @@ interface ContextParams<T extends Dict> {
|
|
|
19
19
|
flush: (fn: VoidFunction) => void;
|
|
20
20
|
}
|
|
21
21
|
interface PropFn<T extends Dict> {
|
|
22
|
-
<K
|
|
22
|
+
<K extends keyof T["props"]>(key: K): T["props"][K];
|
|
23
23
|
}
|
|
24
24
|
interface ComputedFn<T extends Dict> {
|
|
25
|
-
<K
|
|
25
|
+
<K extends keyof T["computed"]>(key: K): T["computed"][K];
|
|
26
26
|
}
|
|
27
27
|
type AnyFunction = () => string | number | boolean | null | undefined;
|
|
28
28
|
type TrackFn = (deps: AnyFunction[], fn: VoidFunction) => void;
|
|
@@ -45,21 +45,21 @@ interface Bindable<T> {
|
|
|
45
45
|
hash(value: T): string;
|
|
46
46
|
}
|
|
47
47
|
interface BindableRefs<T extends Dict> {
|
|
48
|
-
set<K
|
|
49
|
-
get<K
|
|
48
|
+
set<K extends keyof T["refs"]>(key: K, value: T["refs"][K]): void;
|
|
49
|
+
get<K extends keyof T["refs"]>(key: K): T["refs"][K];
|
|
50
50
|
}
|
|
51
51
|
interface BindableContext<T extends Dict> {
|
|
52
|
-
set<K
|
|
53
|
-
get<K
|
|
54
|
-
initial<K
|
|
55
|
-
hash<K
|
|
52
|
+
set<K extends keyof T["context"]>(key: K, value: ValueOrFn<T["context"][K]>): void;
|
|
53
|
+
get<K extends keyof T["context"]>(key: K): T["context"][K];
|
|
54
|
+
initial<K extends keyof T["context"]>(key: K): T["context"][K];
|
|
55
|
+
hash<K extends keyof T["context"]>(key: K): string;
|
|
56
56
|
}
|
|
57
57
|
interface BindableRef<T> {
|
|
58
58
|
get: () => T;
|
|
59
59
|
set: (next: T) => void;
|
|
60
60
|
}
|
|
61
61
|
interface BindableFn {
|
|
62
|
-
<K
|
|
62
|
+
<K>(params: () => BindableParams<K>): Bindable<K>;
|
|
63
63
|
cleanup: (fn: VoidFunction) => void;
|
|
64
64
|
ref: <T>(defaultValue: T) => BindableRef<T>;
|
|
65
65
|
}
|
|
@@ -194,7 +194,7 @@ type Service<T extends MachineSchema> = {
|
|
|
194
194
|
declare enum MachineStatus {
|
|
195
195
|
NotStarted = "Not Started",
|
|
196
196
|
Started = "Started",
|
|
197
|
-
Stopped = "Stopped"
|
|
197
|
+
Stopped = "Stopped"
|
|
198
198
|
}
|
|
199
199
|
declare const INIT_STATE = "__init__";
|
|
200
200
|
//#endregion
|
|
@@ -19,10 +19,10 @@ interface ContextParams<T extends Dict> {
|
|
|
19
19
|
flush: (fn: VoidFunction) => void;
|
|
20
20
|
}
|
|
21
21
|
interface PropFn<T extends Dict> {
|
|
22
|
-
<K
|
|
22
|
+
<K extends keyof T["props"]>(key: K): T["props"][K];
|
|
23
23
|
}
|
|
24
24
|
interface ComputedFn<T extends Dict> {
|
|
25
|
-
<K
|
|
25
|
+
<K extends keyof T["computed"]>(key: K): T["computed"][K];
|
|
26
26
|
}
|
|
27
27
|
type AnyFunction = () => string | number | boolean | null | undefined;
|
|
28
28
|
type TrackFn = (deps: AnyFunction[], fn: VoidFunction) => void;
|
|
@@ -45,21 +45,21 @@ interface Bindable<T> {
|
|
|
45
45
|
hash(value: T): string;
|
|
46
46
|
}
|
|
47
47
|
interface BindableRefs<T extends Dict> {
|
|
48
|
-
set<K
|
|
49
|
-
get<K
|
|
48
|
+
set<K extends keyof T["refs"]>(key: K, value: T["refs"][K]): void;
|
|
49
|
+
get<K extends keyof T["refs"]>(key: K): T["refs"][K];
|
|
50
50
|
}
|
|
51
51
|
interface BindableContext<T extends Dict> {
|
|
52
|
-
set<K
|
|
53
|
-
get<K
|
|
54
|
-
initial<K
|
|
55
|
-
hash<K
|
|
52
|
+
set<K extends keyof T["context"]>(key: K, value: ValueOrFn<T["context"][K]>): void;
|
|
53
|
+
get<K extends keyof T["context"]>(key: K): T["context"][K];
|
|
54
|
+
initial<K extends keyof T["context"]>(key: K): T["context"][K];
|
|
55
|
+
hash<K extends keyof T["context"]>(key: K): string;
|
|
56
56
|
}
|
|
57
57
|
interface BindableRef<T> {
|
|
58
58
|
get: () => T;
|
|
59
59
|
set: (next: T) => void;
|
|
60
60
|
}
|
|
61
61
|
interface BindableFn {
|
|
62
|
-
<K
|
|
62
|
+
<K>(params: () => BindableParams<K>): Bindable<K>;
|
|
63
63
|
cleanup: (fn: VoidFunction) => void;
|
|
64
64
|
ref: <T>(defaultValue: T) => BindableRef<T>;
|
|
65
65
|
}
|
|
@@ -194,7 +194,7 @@ type Service<T extends MachineSchema> = {
|
|
|
194
194
|
declare enum MachineStatus {
|
|
195
195
|
NotStarted = "Not Started",
|
|
196
196
|
Started = "Started",
|
|
197
|
-
Stopped = "Stopped"
|
|
197
|
+
Stopped = "Stopped"
|
|
198
198
|
}
|
|
199
199
|
declare const INIT_STATE = "__init__";
|
|
200
200
|
//#endregion
|
package/dist/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JSX, S as createNormalizer, _ as Size, a as EventKeyMap, b as NormalizeProps, c as MaybeFn, d as Orientation, f as OrientationProperty, g as RequiredBy, h as Required, i as EventKey, l as NonNullable, m as Rect, n as Direction, o as LocaleProperties, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, u as Nullable, v as Style, x as PropTypes, y as createProps } from "./index-
|
|
1
|
+
import { C as JSX, S as createNormalizer, _ as Size, a as EventKeyMap, b as NormalizeProps, c as MaybeFn, d as Orientation, f as OrientationProperty, g as RequiredBy, h as Required, i as EventKey, l as NonNullable, m as Rect, n as Direction, o as LocaleProperties, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, u as Nullable, v as Style, x as PropTypes, y as createProps } from "./index-D1U_WMQ9.cjs";
|
|
2
2
|
export { CommonProperties, Direction, DirectionProperty, EventKey, EventKeyMap, JSX, LocaleProperties, MaybeElement, MaybeFn, NonNullable, NormalizeProps, Nullable, Orientation, OrientationProperty, Point, PropTypes, Rect, Required, RequiredBy, Size, Style, createNormalizer, createProps };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JSX, S as createNormalizer, _ as Size, a as EventKeyMap, b as NormalizeProps, c as MaybeFn, d as Orientation, f as OrientationProperty, g as RequiredBy, h as Required, i as EventKey, l as NonNullable, m as Rect, n as Direction, o as LocaleProperties, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, u as Nullable, v as Style, x as PropTypes, y as createProps } from "./index-
|
|
1
|
+
import { C as JSX, S as createNormalizer, _ as Size, a as EventKeyMap, b as NormalizeProps, c as MaybeFn, d as Orientation, f as OrientationProperty, g as RequiredBy, h as Required, i as EventKey, l as NonNullable, m as Rect, n as Direction, o as LocaleProperties, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, u as Nullable, v as Style, x as PropTypes, y as createProps } from "./index-CafmAesU.mjs";
|
|
2
2
|
export { CommonProperties, Direction, DirectionProperty, EventKey, EventKeyMap, JSX, LocaleProperties, MaybeElement, MaybeFn, NonNullable, NormalizeProps, Nullable, Orientation, OrientationProperty, Point, PropTypes, Rect, Required, RequiredBy, Size, Style, createNormalizer, createProps };
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_defineProperty = require('./defineProperty-
|
|
1
|
+
const require_defineProperty = require('./defineProperty-_bOnJOii.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.ts
|
|
4
4
|
function toArray(v) {
|
|
@@ -30,13 +30,13 @@ function clear(v) {
|
|
|
30
30
|
}
|
|
31
31
|
function nextIndex(v, idx, opts = {}) {
|
|
32
32
|
const { step = 1, loop = true } = opts;
|
|
33
|
-
const next
|
|
33
|
+
const next = idx + step;
|
|
34
34
|
const len = v.length;
|
|
35
|
-
const last
|
|
36
|
-
if (idx === -1) return step > 0 ? 0 : last
|
|
37
|
-
if (next
|
|
38
|
-
if (next
|
|
39
|
-
return next
|
|
35
|
+
const last = len - 1;
|
|
36
|
+
if (idx === -1) return step > 0 ? 0 : last;
|
|
37
|
+
if (next < 0) return loop ? last : 0;
|
|
38
|
+
if (next >= len) return loop ? 0 : idx > len ? len : idx;
|
|
39
|
+
return next;
|
|
40
40
|
}
|
|
41
41
|
function next(v, idx, opts = {}) {
|
|
42
42
|
return v[nextIndex(v, idx, opts)];
|
|
@@ -239,16 +239,16 @@ const roundToStepPrecision = (v, step) => {
|
|
|
239
239
|
};
|
|
240
240
|
const roundToDpr = (v, dpr) => typeof dpr === "number" ? floor(v * dpr + .5) / dpr : round(v);
|
|
241
241
|
const snapValueToStep = (v, vmin, vmax, step) => {
|
|
242
|
-
const min
|
|
243
|
-
const max
|
|
244
|
-
const remainder = (v - min
|
|
242
|
+
const min = vmin != null ? Number(vmin) : 0;
|
|
243
|
+
const max = Number(vmax);
|
|
244
|
+
const remainder = (v - min) % step;
|
|
245
245
|
let snapped = abs(remainder) * 2 >= step ? v + sign(remainder) * (step - abs(remainder)) : v - remainder;
|
|
246
246
|
snapped = roundToStepPrecision(snapped, step);
|
|
247
|
-
if (!isNaN(min
|
|
248
|
-
else if (!isNaN(max
|
|
249
|
-
const stepsInRange = floor((max
|
|
250
|
-
const largestValidStep = min
|
|
251
|
-
snapped = stepsInRange <= 0 || largestValidStep < min
|
|
247
|
+
if (!isNaN(min) && snapped < min) snapped = min;
|
|
248
|
+
else if (!isNaN(max) && snapped > max) {
|
|
249
|
+
const stepsInRange = floor((max - min) / step);
|
|
250
|
+
const largestValidStep = min + stepsInRange * step;
|
|
251
|
+
snapped = stepsInRange <= 0 || largestValidStep < min ? max : largestValidStep;
|
|
252
252
|
}
|
|
253
253
|
return roundToStepPrecision(snapped, step);
|
|
254
254
|
};
|
|
@@ -300,8 +300,8 @@ const getValueTransformer = (va, vb) => {
|
|
|
300
300
|
return (v) => a === b || c === d ? c : c + (d - c) / (b - a) * (v - a);
|
|
301
301
|
};
|
|
302
302
|
const toFixedNumber = (v, d = 0, b = 10) => {
|
|
303
|
-
const pow
|
|
304
|
-
return round(v * pow
|
|
303
|
+
const pow = Math.pow(b, d);
|
|
304
|
+
return round(v * pow) / pow;
|
|
305
305
|
};
|
|
306
306
|
const countDecimals = (value) => {
|
|
307
307
|
if (!Number.isFinite(value)) return 0;
|
|
@@ -409,26 +409,26 @@ function createStore(initialState, compare = Object.is) {
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
//#endregion
|
|
412
|
-
//#region \0@oxc-project+runtime@0.
|
|
412
|
+
//#region \0@oxc-project+runtime@0.110.0/helpers/checkPrivateRedeclaration.js
|
|
413
413
|
function _checkPrivateRedeclaration(e, t) {
|
|
414
414
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region \0@oxc-project+runtime@0.
|
|
418
|
+
//#region \0@oxc-project+runtime@0.110.0/helpers/classPrivateFieldInitSpec.js
|
|
419
419
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
420
420
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
//#endregion
|
|
424
|
-
//#region \0@oxc-project+runtime@0.
|
|
424
|
+
//#region \0@oxc-project+runtime@0.110.0/helpers/assertClassBrand.js
|
|
425
425
|
function _assertClassBrand(e, t, n) {
|
|
426
426
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
427
427
|
throw new TypeError("Private element is not present on this object");
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
//#endregion
|
|
431
|
-
//#region \0@oxc-project+runtime@0.
|
|
431
|
+
//#region \0@oxc-project+runtime@0.110.0/helpers/classPrivateFieldGet2.js
|
|
432
432
|
function _classPrivateFieldGet2(s, a) {
|
|
433
433
|
return s.get(_assertClassBrand(s, a));
|
|
434
434
|
}
|