@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
package/dist/anatomy.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createAnatomy, i as AnatomyPartName, n as AnatomyInstance, r as AnatomyPart, t as Anatomy } from "./create-anatomy-
|
|
1
|
+
import { a as createAnatomy, i as AnatomyPartName, n as AnatomyInstance, r as AnatomyPart, t as Anatomy } from "./create-anatomy-9eFQs7lO.cjs";
|
|
2
2
|
export { Anatomy, AnatomyInstance, AnatomyPart, AnatomyPartName, createAnatomy };
|
package/dist/anatomy.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createAnatomy, i as AnatomyPartName, n as AnatomyInstance, r as AnatomyPart, t as Anatomy } from "./create-anatomy-
|
|
1
|
+
import { a as createAnatomy, i as AnatomyPartName, n as AnatomyInstance, r as AnatomyPart, t as Anatomy } from "./create-anatomy-UNZ__hxH.mjs";
|
|
2
2
|
export { Anatomy, AnatomyInstance, AnatomyPart, AnatomyPartName, createAnatomy };
|
package/dist/anatomy.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ut as findControlledElements, un as isHTMLElement } from "./dom-query-
|
|
1
|
+
import { Ut as findControlledElements, un as isHTMLElement } from "./dom-query-CQFBCdpo.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/aria-hidden/walk-tree-outside.ts
|
|
4
4
|
let counterMap = /* @__PURE__ */ new WeakMap();
|
package/dist/aria-hidden.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_aria_hidden = require('./aria-hidden-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
const require_aria_hidden = require('./aria-hidden-CHWfuKk2.cjs');
|
|
3
3
|
|
|
4
4
|
exports.ariaHidden = require_aria_hidden.ariaHidden;
|
package/dist/aria-hidden.mjs
CHANGED
package/dist/auto-resize.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_auto_resize = require('./auto-resize-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
const require_auto_resize = require('./auto-resize-BL8ul-hb.cjs');
|
|
3
3
|
|
|
4
4
|
exports.autoResizeInput = require_auto_resize.autoResizeInput;
|
|
5
5
|
exports.autoresizeTextarea = require_auto_resize.autoresizeTextarea;
|
package/dist/auto-resize.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-
|
|
1
|
+
import "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-jPUJLPa4.mjs";
|
|
3
3
|
|
|
4
4
|
export { autoResizeInput, autoresizeTextarea };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
-
import { Et as nextIndex, ct as isObject, ft as isEqual, ht as chunk, kt as prevIndex, tt as hasProp } from "./utils-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-DR_NxfHn.mjs";
|
|
2
|
+
import { Et as nextIndex, ct as isObject, ft as isEqual, ht as chunk, kt as prevIndex, tt as hasProp } from "./utils-Vs04rt8f.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/list-collection.ts
|
|
5
5
|
let _Symbol$iterator;
|
|
@@ -174,8 +174,8 @@ var ListCollection = class ListCollection {
|
|
|
174
174
|
if (match(this.stringifyItem(item), text)) return item;
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
|
-
_defineProperty(this, "search", (queryString, options
|
|
178
|
-
const { state, currentValue, timeout = 350 } = options
|
|
177
|
+
_defineProperty(this, "search", (queryString, options) => {
|
|
178
|
+
const { state, currentValue, timeout = 350 } = options;
|
|
179
179
|
const search = state.keysSoFar + queryString;
|
|
180
180
|
const query = search.length > 1 && Array.from(search).every((char) => char === search[0]) ? search[0] : search;
|
|
181
181
|
const item = this.getByText(query, currentValue);
|
|
@@ -184,10 +184,10 @@ var ListCollection = class ListCollection {
|
|
|
184
184
|
clearTimeout(state.timer);
|
|
185
185
|
state.timer = -1;
|
|
186
186
|
}
|
|
187
|
-
function update(value
|
|
188
|
-
state.keysSoFar = value
|
|
187
|
+
function update(value) {
|
|
188
|
+
state.keysSoFar = value;
|
|
189
189
|
cleanup();
|
|
190
|
-
if (value
|
|
190
|
+
if (value !== "") state.timer = +setTimeout(() => {
|
|
191
191
|
update("");
|
|
192
192
|
cleanup();
|
|
193
193
|
}, timeout);
|
|
@@ -254,13 +254,13 @@ var ListCollection = class ListCollection {
|
|
|
254
254
|
_defineProperty(this, "moveBefore", (value, ...values) => {
|
|
255
255
|
let toIndex = this.items.findIndex((item) => this.getItemValue(item) === value);
|
|
256
256
|
if (toIndex === -1) return this;
|
|
257
|
-
let indices = values.map((value
|
|
257
|
+
let indices = values.map((value) => this.items.findIndex((item) => this.getItemValue(item) === value)).sort((a, b) => a - b);
|
|
258
258
|
return this.copy(move$1(this.items, indices, toIndex));
|
|
259
259
|
});
|
|
260
260
|
_defineProperty(this, "moveAfter", (value, ...values) => {
|
|
261
261
|
let toIndex = this.items.findIndex((item) => this.getItemValue(item) === value);
|
|
262
262
|
if (toIndex === -1) return this;
|
|
263
|
-
let indices = values.map((value
|
|
263
|
+
let indices = values.map((value) => this.items.findIndex((item) => this.getItemValue(item) === value)).sort((a, b) => a - b);
|
|
264
264
|
return this.copy(move$1(this.items, indices, toIndex + 1));
|
|
265
265
|
});
|
|
266
266
|
_defineProperty(this, "reorder", (fromIndex, toIndex) => {
|
|
@@ -503,10 +503,10 @@ var Selection = class Selection extends Set {
|
|
|
503
503
|
const selection = new Selection([value]);
|
|
504
504
|
return this.sync(selection);
|
|
505
505
|
});
|
|
506
|
-
_defineProperty(this, "setSelection", (values
|
|
506
|
+
_defineProperty(this, "setSelection", (values) => {
|
|
507
507
|
if (this.selectionMode === "none") return this;
|
|
508
508
|
let selection = new Selection();
|
|
509
|
-
for (let value of values
|
|
509
|
+
for (let value of values) if (value != null) {
|
|
510
510
|
selection.add(value);
|
|
511
511
|
if (this.selectionMode === "single") break;
|
|
512
512
|
}
|
|
@@ -622,17 +622,17 @@ function flatMap(node, options) {
|
|
|
622
622
|
}
|
|
623
623
|
function filter(node, options) {
|
|
624
624
|
const { predicate, create, getChildren } = options;
|
|
625
|
-
const filterRecursive = (node
|
|
626
|
-
const children = getChildren(node
|
|
625
|
+
const filterRecursive = (node, indexPath) => {
|
|
626
|
+
const children = getChildren(node, indexPath);
|
|
627
627
|
const filteredChildren = [];
|
|
628
628
|
children.forEach((child, index) => {
|
|
629
629
|
const filteredChild = filterRecursive(child, [...indexPath, index]);
|
|
630
630
|
if (filteredChild) filteredChildren.push(filteredChild);
|
|
631
631
|
});
|
|
632
632
|
const isRoot = indexPath.length === 0;
|
|
633
|
-
const nodeMatches = predicate(node
|
|
633
|
+
const nodeMatches = predicate(node, indexPath);
|
|
634
634
|
const hasFilteredChildren = filteredChildren.length > 0;
|
|
635
|
-
if (isRoot || nodeMatches || hasFilteredChildren) return create(node
|
|
635
|
+
if (isRoot || nodeMatches || hasFilteredChildren) return create(node, filteredChildren, indexPath);
|
|
636
636
|
return null;
|
|
637
637
|
};
|
|
638
638
|
return filterRecursive(node, []) || create(node, [], []);
|
|
@@ -741,28 +741,28 @@ function getReplaceOperations(indexPath, node) {
|
|
|
741
741
|
function mutate(node, operations, options) {
|
|
742
742
|
return map(node, {
|
|
743
743
|
...options,
|
|
744
|
-
getChildren: (node
|
|
744
|
+
getChildren: (node, indexPath) => {
|
|
745
745
|
const key = indexPath.join();
|
|
746
746
|
switch (operations.get(key)?.type) {
|
|
747
747
|
case "replace":
|
|
748
748
|
case "remove":
|
|
749
749
|
case "removeThenInsert":
|
|
750
|
-
case "insert": return options.getChildren(node
|
|
750
|
+
case "insert": return options.getChildren(node, indexPath);
|
|
751
751
|
default: return [];
|
|
752
752
|
}
|
|
753
753
|
},
|
|
754
|
-
transform: (node
|
|
754
|
+
transform: (node, children, indexPath) => {
|
|
755
755
|
const key = indexPath.join();
|
|
756
756
|
const operation = operations.get(key);
|
|
757
757
|
switch (operation?.type) {
|
|
758
|
-
case "remove": return options.create(node
|
|
758
|
+
case "remove": return options.create(node, children.filter((_, index) => !operation.indexes.includes(index)), indexPath);
|
|
759
759
|
case "removeThenInsert":
|
|
760
760
|
const updatedChildren = children.filter((_, index) => !operation.removeIndexes.includes(index));
|
|
761
761
|
const adjustedIndex = operation.removeIndexes.reduce((index, removedIndex) => removedIndex < index ? index - 1 : index, operation.insertIndex);
|
|
762
|
-
return options.create(node
|
|
763
|
-
case "insert": return options.create(node
|
|
764
|
-
case "replace": return options.create(node
|
|
765
|
-
default: return node
|
|
762
|
+
return options.create(node, splice(updatedChildren, adjustedIndex, 0, ...operation.insertNodes), indexPath);
|
|
763
|
+
case "insert": return options.create(node, splice(children, operation.index, 0, ...operation.nodes), indexPath);
|
|
764
|
+
case "replace": return options.create(node, children, indexPath);
|
|
765
|
+
default: return node;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
});
|
|
@@ -922,7 +922,7 @@ var TreeCollection = class TreeCollection {
|
|
|
922
922
|
});
|
|
923
923
|
});
|
|
924
924
|
_defineProperty(this, "findNodes", (values, rootNode = this.rootNode) => {
|
|
925
|
-
const v = new Set(values.filter((v
|
|
925
|
+
const v = new Set(values.filter((v) => v != null));
|
|
926
926
|
return findAll(rootNode, {
|
|
927
927
|
getChildren: this.getNodeChildren,
|
|
928
928
|
predicate: (node) => v.has(this.getNodeValue(node))
|
|
@@ -1033,7 +1033,7 @@ var TreeCollection = class TreeCollection {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return result;
|
|
1035
1035
|
});
|
|
1036
|
-
_defineProperty(this, "getDescendantNodes", (valueOrIndexPath, options
|
|
1036
|
+
_defineProperty(this, "getDescendantNodes", (valueOrIndexPath, options) => {
|
|
1037
1037
|
const parentNode = this.resolveNode(valueOrIndexPath);
|
|
1038
1038
|
if (!parentNode) return [];
|
|
1039
1039
|
const result = [];
|
|
@@ -1041,14 +1041,14 @@ var TreeCollection = class TreeCollection {
|
|
|
1041
1041
|
getChildren: this.getNodeChildren,
|
|
1042
1042
|
onEnter: (node, nodeIndexPath) => {
|
|
1043
1043
|
if (nodeIndexPath.length === 0) return;
|
|
1044
|
-
if (!options
|
|
1044
|
+
if (!options?.withBranch && this.isBranchNode(node)) return;
|
|
1045
1045
|
result.push(node);
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
return result;
|
|
1049
1049
|
});
|
|
1050
|
-
_defineProperty(this, "getDescendantValues", (valueOrIndexPath, options
|
|
1051
|
-
return this.getDescendantNodes(valueOrIndexPath, options
|
|
1050
|
+
_defineProperty(this, "getDescendantValues", (valueOrIndexPath, options) => {
|
|
1051
|
+
return this.getDescendantNodes(valueOrIndexPath, options).map((child) => this.getNodeValue(child));
|
|
1052
1052
|
});
|
|
1053
1053
|
_defineProperty(this, "getParentIndexPath", (indexPath) => {
|
|
1054
1054
|
return indexPath.slice(0, -1);
|
|
@@ -1186,8 +1186,8 @@ var TreeCollection = class TreeCollection {
|
|
|
1186
1186
|
});
|
|
1187
1187
|
_defineProperty(this, "insertAfter", (indexPath, nodes) => {
|
|
1188
1188
|
if (!this.getParentNode(indexPath)) return;
|
|
1189
|
-
const nextIndex
|
|
1190
|
-
return this._insert(this.rootNode, nextIndex
|
|
1189
|
+
const nextIndex = [...indexPath.slice(0, -1), indexPath[indexPath.length - 1] + 1];
|
|
1190
|
+
return this._insert(this.rootNode, nextIndex, nodes);
|
|
1191
1191
|
});
|
|
1192
1192
|
_defineProperty(this, "move", (fromIndexPaths, toIndexPath) => {
|
|
1193
1193
|
return this._move(this.rootNode, fromIndexPaths, toIndexPath);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_defineProperty = require('./defineProperty-
|
|
2
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_defineProperty = require('./defineProperty-_bOnJOii.cjs');
|
|
2
|
+
const require_utils = require('./utils-CJsQZljH.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/list-collection.ts
|
|
5
5
|
let _Symbol$iterator;
|
|
@@ -174,8 +174,8 @@ var ListCollection = class ListCollection {
|
|
|
174
174
|
if (match(this.stringifyItem(item), text)) return item;
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
|
-
require_defineProperty._defineProperty(this, "search", (queryString, options
|
|
178
|
-
const { state, currentValue, timeout = 350 } = options
|
|
177
|
+
require_defineProperty._defineProperty(this, "search", (queryString, options) => {
|
|
178
|
+
const { state, currentValue, timeout = 350 } = options;
|
|
179
179
|
const search = state.keysSoFar + queryString;
|
|
180
180
|
const query = search.length > 1 && Array.from(search).every((char) => char === search[0]) ? search[0] : search;
|
|
181
181
|
const item = this.getByText(query, currentValue);
|
|
@@ -184,10 +184,10 @@ var ListCollection = class ListCollection {
|
|
|
184
184
|
clearTimeout(state.timer);
|
|
185
185
|
state.timer = -1;
|
|
186
186
|
}
|
|
187
|
-
function update(value
|
|
188
|
-
state.keysSoFar = value
|
|
187
|
+
function update(value) {
|
|
188
|
+
state.keysSoFar = value;
|
|
189
189
|
cleanup();
|
|
190
|
-
if (value
|
|
190
|
+
if (value !== "") state.timer = +setTimeout(() => {
|
|
191
191
|
update("");
|
|
192
192
|
cleanup();
|
|
193
193
|
}, timeout);
|
|
@@ -254,13 +254,13 @@ var ListCollection = class ListCollection {
|
|
|
254
254
|
require_defineProperty._defineProperty(this, "moveBefore", (value, ...values) => {
|
|
255
255
|
let toIndex = this.items.findIndex((item) => this.getItemValue(item) === value);
|
|
256
256
|
if (toIndex === -1) return this;
|
|
257
|
-
let indices = values.map((value
|
|
257
|
+
let indices = values.map((value) => this.items.findIndex((item) => this.getItemValue(item) === value)).sort((a, b) => a - b);
|
|
258
258
|
return this.copy(move$1(this.items, indices, toIndex));
|
|
259
259
|
});
|
|
260
260
|
require_defineProperty._defineProperty(this, "moveAfter", (value, ...values) => {
|
|
261
261
|
let toIndex = this.items.findIndex((item) => this.getItemValue(item) === value);
|
|
262
262
|
if (toIndex === -1) return this;
|
|
263
|
-
let indices = values.map((value
|
|
263
|
+
let indices = values.map((value) => this.items.findIndex((item) => this.getItemValue(item) === value)).sort((a, b) => a - b);
|
|
264
264
|
return this.copy(move$1(this.items, indices, toIndex + 1));
|
|
265
265
|
});
|
|
266
266
|
require_defineProperty._defineProperty(this, "reorder", (fromIndex, toIndex) => {
|
|
@@ -503,10 +503,10 @@ var Selection = class Selection extends Set {
|
|
|
503
503
|
const selection = new Selection([value]);
|
|
504
504
|
return this.sync(selection);
|
|
505
505
|
});
|
|
506
|
-
require_defineProperty._defineProperty(this, "setSelection", (values
|
|
506
|
+
require_defineProperty._defineProperty(this, "setSelection", (values) => {
|
|
507
507
|
if (this.selectionMode === "none") return this;
|
|
508
508
|
let selection = new Selection();
|
|
509
|
-
for (let value of values
|
|
509
|
+
for (let value of values) if (value != null) {
|
|
510
510
|
selection.add(value);
|
|
511
511
|
if (this.selectionMode === "single") break;
|
|
512
512
|
}
|
|
@@ -622,17 +622,17 @@ function flatMap(node, options) {
|
|
|
622
622
|
}
|
|
623
623
|
function filter(node, options) {
|
|
624
624
|
const { predicate, create, getChildren } = options;
|
|
625
|
-
const filterRecursive = (node
|
|
626
|
-
const children = getChildren(node
|
|
625
|
+
const filterRecursive = (node, indexPath) => {
|
|
626
|
+
const children = getChildren(node, indexPath);
|
|
627
627
|
const filteredChildren = [];
|
|
628
628
|
children.forEach((child, index) => {
|
|
629
629
|
const filteredChild = filterRecursive(child, [...indexPath, index]);
|
|
630
630
|
if (filteredChild) filteredChildren.push(filteredChild);
|
|
631
631
|
});
|
|
632
632
|
const isRoot = indexPath.length === 0;
|
|
633
|
-
const nodeMatches = predicate(node
|
|
633
|
+
const nodeMatches = predicate(node, indexPath);
|
|
634
634
|
const hasFilteredChildren = filteredChildren.length > 0;
|
|
635
|
-
if (isRoot || nodeMatches || hasFilteredChildren) return create(node
|
|
635
|
+
if (isRoot || nodeMatches || hasFilteredChildren) return create(node, filteredChildren, indexPath);
|
|
636
636
|
return null;
|
|
637
637
|
};
|
|
638
638
|
return filterRecursive(node, []) || create(node, [], []);
|
|
@@ -741,28 +741,28 @@ function getReplaceOperations(indexPath, node) {
|
|
|
741
741
|
function mutate(node, operations, options) {
|
|
742
742
|
return map(node, {
|
|
743
743
|
...options,
|
|
744
|
-
getChildren: (node
|
|
744
|
+
getChildren: (node, indexPath) => {
|
|
745
745
|
const key = indexPath.join();
|
|
746
746
|
switch (operations.get(key)?.type) {
|
|
747
747
|
case "replace":
|
|
748
748
|
case "remove":
|
|
749
749
|
case "removeThenInsert":
|
|
750
|
-
case "insert": return options.getChildren(node
|
|
750
|
+
case "insert": return options.getChildren(node, indexPath);
|
|
751
751
|
default: return [];
|
|
752
752
|
}
|
|
753
753
|
},
|
|
754
|
-
transform: (node
|
|
754
|
+
transform: (node, children, indexPath) => {
|
|
755
755
|
const key = indexPath.join();
|
|
756
756
|
const operation = operations.get(key);
|
|
757
757
|
switch (operation?.type) {
|
|
758
|
-
case "remove": return options.create(node
|
|
758
|
+
case "remove": return options.create(node, children.filter((_, index) => !operation.indexes.includes(index)), indexPath);
|
|
759
759
|
case "removeThenInsert":
|
|
760
760
|
const updatedChildren = children.filter((_, index) => !operation.removeIndexes.includes(index));
|
|
761
761
|
const adjustedIndex = operation.removeIndexes.reduce((index, removedIndex) => removedIndex < index ? index - 1 : index, operation.insertIndex);
|
|
762
|
-
return options.create(node
|
|
763
|
-
case "insert": return options.create(node
|
|
764
|
-
case "replace": return options.create(node
|
|
765
|
-
default: return node
|
|
762
|
+
return options.create(node, splice(updatedChildren, adjustedIndex, 0, ...operation.insertNodes), indexPath);
|
|
763
|
+
case "insert": return options.create(node, splice(children, operation.index, 0, ...operation.nodes), indexPath);
|
|
764
|
+
case "replace": return options.create(node, children, indexPath);
|
|
765
|
+
default: return node;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
});
|
|
@@ -922,7 +922,7 @@ var TreeCollection = class TreeCollection {
|
|
|
922
922
|
});
|
|
923
923
|
});
|
|
924
924
|
require_defineProperty._defineProperty(this, "findNodes", (values, rootNode = this.rootNode) => {
|
|
925
|
-
const v = new Set(values.filter((v
|
|
925
|
+
const v = new Set(values.filter((v) => v != null));
|
|
926
926
|
return findAll(rootNode, {
|
|
927
927
|
getChildren: this.getNodeChildren,
|
|
928
928
|
predicate: (node) => v.has(this.getNodeValue(node))
|
|
@@ -1033,7 +1033,7 @@ var TreeCollection = class TreeCollection {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return result;
|
|
1035
1035
|
});
|
|
1036
|
-
require_defineProperty._defineProperty(this, "getDescendantNodes", (valueOrIndexPath, options
|
|
1036
|
+
require_defineProperty._defineProperty(this, "getDescendantNodes", (valueOrIndexPath, options) => {
|
|
1037
1037
|
const parentNode = this.resolveNode(valueOrIndexPath);
|
|
1038
1038
|
if (!parentNode) return [];
|
|
1039
1039
|
const result = [];
|
|
@@ -1041,14 +1041,14 @@ var TreeCollection = class TreeCollection {
|
|
|
1041
1041
|
getChildren: this.getNodeChildren,
|
|
1042
1042
|
onEnter: (node, nodeIndexPath) => {
|
|
1043
1043
|
if (nodeIndexPath.length === 0) return;
|
|
1044
|
-
if (!options
|
|
1044
|
+
if (!options?.withBranch && this.isBranchNode(node)) return;
|
|
1045
1045
|
result.push(node);
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
return result;
|
|
1049
1049
|
});
|
|
1050
|
-
require_defineProperty._defineProperty(this, "getDescendantValues", (valueOrIndexPath, options
|
|
1051
|
-
return this.getDescendantNodes(valueOrIndexPath, options
|
|
1050
|
+
require_defineProperty._defineProperty(this, "getDescendantValues", (valueOrIndexPath, options) => {
|
|
1051
|
+
return this.getDescendantNodes(valueOrIndexPath, options).map((child) => this.getNodeValue(child));
|
|
1052
1052
|
});
|
|
1053
1053
|
require_defineProperty._defineProperty(this, "getParentIndexPath", (indexPath) => {
|
|
1054
1054
|
return indexPath.slice(0, -1);
|
|
@@ -1186,8 +1186,8 @@ var TreeCollection = class TreeCollection {
|
|
|
1186
1186
|
});
|
|
1187
1187
|
require_defineProperty._defineProperty(this, "insertAfter", (indexPath, nodes) => {
|
|
1188
1188
|
if (!this.getParentNode(indexPath)) return;
|
|
1189
|
-
const nextIndex
|
|
1190
|
-
return this._insert(this.rootNode, nextIndex
|
|
1189
|
+
const nextIndex = [...indexPath.slice(0, -1), indexPath[indexPath.length - 1] + 1];
|
|
1190
|
+
return this._insert(this.rootNode, nextIndex, nodes);
|
|
1191
1191
|
});
|
|
1192
1192
|
require_defineProperty._defineProperty(this, "move", (fromIndexPaths, toIndexPath) => {
|
|
1193
1193
|
return this._move(this.rootNode, fromIndexPaths, toIndexPath);
|
package/dist/collection.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./utils-
|
|
2
|
-
const require_collection = require('./collection-
|
|
1
|
+
require('./utils-CJsQZljH.cjs');
|
|
2
|
+
const require_collection = require('./collection-Fkg4kgPn.cjs');
|
|
3
3
|
|
|
4
4
|
exports.GridCollection = require_collection.GridCollection;
|
|
5
5
|
exports.ListCollection = require_collection.ListCollection;
|
package/dist/collection.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
4
|
-
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-
|
|
1
|
+
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-CBWaEVU4.cjs";
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-DwMgPYoA.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-wfybIxD3.cjs";
|
|
4
|
+
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-CPcsMvje.cjs";
|
|
5
5
|
export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
package/dist/collection.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
4
|
-
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-
|
|
1
|
+
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-D0tsc4Jo.mjs";
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-C9XUe75n.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-CPTdpru8.mjs";
|
|
4
|
+
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-1g4DXuqa.mjs";
|
|
5
5
|
export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
package/dist/collection.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-
|
|
1
|
+
import "./utils-Vs04rt8f.mjs";
|
|
2
|
+
import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-DHyEg4g5.mjs";
|
|
3
3
|
|
|
4
4
|
export { GridCollection, ListCollection, Selection, TreeCollection, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
-
import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-DR_NxfHn.mjs";
|
|
2
|
+
import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-Vs04rt8f.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/color-utils/color-format-gradient.ts
|
|
5
5
|
const generateRGB_R = (orientation, dir, zValue) => {
|
|
@@ -227,7 +227,7 @@ var RGBColor = class RGBColor extends Color {
|
|
|
227
227
|
colors[3] = colors[3] !== void 0 ? colors[3] / 255 : void 0;
|
|
228
228
|
}
|
|
229
229
|
const match = value.match(RGB_COLOR_REGEX);
|
|
230
|
-
if (match?.[1]) colors = match[1].split(",").map((value
|
|
230
|
+
if (match?.[1]) colors = match[1].split(",").map((value) => Number(value.trim())).map((num, i) => clampValue(num, 0, i < 3 ? 255 : 1));
|
|
231
231
|
return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
|
|
232
232
|
}
|
|
233
233
|
toString(format = "css") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_defineProperty = require('./defineProperty-
|
|
2
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_defineProperty = require('./defineProperty-_bOnJOii.cjs');
|
|
2
|
+
const require_utils = require('./utils-CJsQZljH.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/shared/color-utils/color-format-gradient.ts
|
|
5
5
|
const generateRGB_R = (orientation, dir, zValue) => {
|
|
@@ -227,7 +227,7 @@ var RGBColor = class RGBColor extends Color {
|
|
|
227
227
|
colors[3] = colors[3] !== void 0 ? colors[3] / 255 : void 0;
|
|
228
228
|
}
|
|
229
229
|
const match = value.match(RGB_COLOR_REGEX);
|
|
230
|
-
if (match?.[1]) colors = match[1].split(",").map((value
|
|
230
|
+
if (match?.[1]) colors = match[1].split(",").map((value) => Number(value.trim())).map((num, i) => require_utils.clampValue(num, 0, i < 3 ? 255 : 1));
|
|
231
231
|
return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
|
|
232
232
|
}
|
|
233
233
|
toString(format = "css") {
|
package/dist/color-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./utils-
|
|
2
|
-
const require_color_utils = require('./color-utils-
|
|
1
|
+
require('./utils-CJsQZljH.cjs');
|
|
2
|
+
const require_color_utils = require('./color-utils-eUlz6Gq4.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Color = require_color_utils.Color;
|
|
5
5
|
exports.getColorAreaGradient = require_color_utils.getColorAreaGradient;
|
package/dist/color-utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-
|
|
1
|
+
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-BhaNI8oR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/color-utils/area-gradient.d.ts
|
|
4
4
|
interface GradientOptions {
|
package/dist/color-utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-
|
|
1
|
+
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-B3sgFAa6.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/color-utils/area-gradient.d.ts
|
|
4
4
|
interface GradientOptions {
|
package/dist/color-utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-
|
|
1
|
+
import "./utils-Vs04rt8f.mjs";
|
|
2
|
+
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-CaqLeEog.mjs";
|
|
3
3
|
|
|
4
4
|
export { Color, getColorAreaGradient, normalizeColor, parseColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dom_query = require('./dom-query-
|
|
2
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_dom_query = require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
const require_utils = require('./utils-CJsQZljH.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.ts
|
|
5
5
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
|
@@ -98,11 +98,11 @@ function setup() {
|
|
|
98
98
|
|
|
99
99
|
//#endregion
|
|
100
100
|
//#region src/shared/core/types.ts
|
|
101
|
-
let MachineStatus = /* @__PURE__ */ function(MachineStatus
|
|
102
|
-
MachineStatus
|
|
103
|
-
MachineStatus
|
|
104
|
-
MachineStatus
|
|
105
|
-
return MachineStatus
|
|
101
|
+
let MachineStatus = /* @__PURE__ */ function(MachineStatus) {
|
|
102
|
+
MachineStatus["NotStarted"] = "Not Started";
|
|
103
|
+
MachineStatus["Started"] = "Started";
|
|
104
|
+
MachineStatus["Stopped"] = "Stopped";
|
|
105
|
+
return MachineStatus;
|
|
106
106
|
}({});
|
|
107
107
|
const INIT_STATE = "__init__";
|
|
108
108
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as getDocument, Qt as getActiveElement, an as isActiveElement } from "./dom-query-
|
|
2
|
-
import { W as callAll, dt as isString, ft as isEqual } from "./utils-
|
|
1
|
+
import { $t as getDocument, Qt as getActiveElement, an as isActiveElement } from "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import { W as callAll, dt as isString, ft as isEqual } from "./utils-Vs04rt8f.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.ts
|
|
5
5
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
|
@@ -98,11 +98,11 @@ function setup() {
|
|
|
98
98
|
|
|
99
99
|
//#endregion
|
|
100
100
|
//#region src/shared/core/types.ts
|
|
101
|
-
let MachineStatus = /* @__PURE__ */ function(MachineStatus
|
|
102
|
-
MachineStatus
|
|
103
|
-
MachineStatus
|
|
104
|
-
MachineStatus
|
|
105
|
-
return MachineStatus
|
|
101
|
+
let MachineStatus = /* @__PURE__ */ function(MachineStatus) {
|
|
102
|
+
MachineStatus["NotStarted"] = "Not Started";
|
|
103
|
+
MachineStatus["Started"] = "Started";
|
|
104
|
+
MachineStatus["Stopped"] = "Stopped";
|
|
105
|
+
return MachineStatus;
|
|
106
106
|
}({});
|
|
107
107
|
const INIT_STATE = "__init__";
|
|
108
108
|
|
package/dist/core.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
require('./utils-
|
|
3
|
-
const require_core = require('./core-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
require('./utils-CJsQZljH.cjs');
|
|
3
|
+
const require_core = require('./core-CHsDFMV3.cjs');
|
|
4
4
|
|
|
5
5
|
exports.INIT_STATE = require_core.INIT_STATE;
|
|
6
6
|
exports.MachineStatus = require_core.MachineStatus;
|
package/dist/core.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-
|
|
2
|
-
import { l as isActiveElement } from "./node-
|
|
1
|
+
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-fB7F7BBP.cjs";
|
|
2
|
+
import { l as isActiveElement } from "./node-D8Ztr9Hg.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.d.ts
|
|
5
5
|
interface Props {
|
package/dist/core.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-
|
|
2
|
-
import { l as isActiveElement } from "./node-
|
|
1
|
+
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-BM4oVvZZ.mjs";
|
|
2
|
+
import { l as isActiveElement } from "./node-BGWAyUGo.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.d.ts
|
|
5
5
|
interface Props {
|
package/dist/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-
|
|
1
|
+
import "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import "./utils-Vs04rt8f.mjs";
|
|
3
|
+
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-owywCQ2e.mjs";
|
|
4
4
|
|
|
5
5
|
export { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };
|