@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,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/interact-outside/frame-utils.ts
|
|
5
5
|
function getWindowFrames(win) {
|
|
@@ -119,8 +119,8 @@ function trackInteractOutsideImpl(node, options) {
|
|
|
119
119
|
const target = isInShadowRoot ? composedPath[0] : require_dom_query.getEventTarget(event);
|
|
120
120
|
if (!node || !isEventOutside(event, target)) return;
|
|
121
121
|
if (onPointerDownOutside || onInteractOutside) {
|
|
122
|
-
const handler
|
|
123
|
-
node.addEventListener(POINTER_OUTSIDE_EVENT, handler
|
|
122
|
+
const handler = require_utils.callAll(onPointerDownOutside, onInteractOutside);
|
|
123
|
+
node.addEventListener(POINTER_OUTSIDE_EVENT, handler, { once: true });
|
|
124
124
|
}
|
|
125
125
|
fireCustomEvent(node, POINTER_OUTSIDE_EVENT, {
|
|
126
126
|
bubbles: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
require('./utils-
|
|
3
|
-
const require_interact_outside = require('./interact-outside-
|
|
1
|
+
require('./dom-query-CAFhX43H.cjs');
|
|
2
|
+
require('./utils-CJsQZljH.cjs');
|
|
3
|
+
const require_interact_outside = require('./interact-outside-Dk2otQqs.cjs');
|
|
4
4
|
|
|
5
5
|
exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-
|
|
1
|
+
import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-Cf0hysnI.cjs";
|
|
2
2
|
export { EventDetails, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, InteractOutsideOptions, MaybeElement, NodeOrFn, PointerDownOutsideEvent, trackInteractOutside };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-
|
|
1
|
+
import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-CXu0elLS.mjs";
|
|
2
2
|
export { EventDetails, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, InteractOutsideOptions, MaybeElement, NodeOrFn, PointerDownOutsideEvent, trackInteractOutside };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
1
|
+
import "./dom-query-CQFBCdpo.mjs";
|
|
2
|
+
import "./utils-Vs04rt8f.mjs";
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-CRmkKF6k.mjs";
|
|
4
4
|
|
|
5
5
|
export { trackInteractOutside };
|
package/dist/json-tree-utils.cjs
CHANGED
|
@@ -17,7 +17,7 @@ const jsonToTree = (data, props = {}) => {
|
|
|
17
17
|
};
|
|
18
18
|
visited.add(data);
|
|
19
19
|
}
|
|
20
|
-
return (dataTypes.find((dataType
|
|
20
|
+
return (dataTypes.find((dataType) => dataType.check(data)) || PrimitiveType).node({
|
|
21
21
|
value: data,
|
|
22
22
|
createNode: (nestedKeyPath, value) => jsonToTree(value, {
|
|
23
23
|
visited,
|
|
@@ -35,10 +35,10 @@ const jsonToTree = (data, props = {}) => {
|
|
|
35
35
|
const regexReturnCharacters = /\r/g;
|
|
36
36
|
function hash(str) {
|
|
37
37
|
const v = str.replace(regexReturnCharacters, "");
|
|
38
|
-
let hash
|
|
38
|
+
let hash = 5381;
|
|
39
39
|
let i = v.length;
|
|
40
|
-
while (i--) hash
|
|
41
|
-
return (hash
|
|
40
|
+
while (i--) hash = (hash << 5) - hash ^ v.charCodeAt(i);
|
|
41
|
+
return (hash >>> 0).toString(36);
|
|
42
42
|
}
|
|
43
43
|
function getProp(value, key) {
|
|
44
44
|
return value[key];
|
|
@@ -415,7 +415,7 @@ const URLSearchParamsType = dataType({
|
|
|
415
415
|
]);
|
|
416
416
|
},
|
|
417
417
|
node({ value, keyPath, createNode }) {
|
|
418
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
418
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
419
419
|
const keyStr = String(key);
|
|
420
420
|
const keyNode = createNode([
|
|
421
421
|
ENTRIES_KEY,
|
|
@@ -426,14 +426,14 @@ const URLSearchParamsType = dataType({
|
|
|
426
426
|
ENTRIES_KEY,
|
|
427
427
|
keyStr,
|
|
428
428
|
"value"
|
|
429
|
-
], value
|
|
429
|
+
], value);
|
|
430
430
|
return {
|
|
431
431
|
keyPath: [
|
|
432
432
|
...keyPath,
|
|
433
433
|
ENTRIES_KEY,
|
|
434
434
|
index
|
|
435
435
|
],
|
|
436
|
-
value: { [key]: value
|
|
436
|
+
value: { [key]: value },
|
|
437
437
|
type: "object",
|
|
438
438
|
children: [keyNode, valueNode]
|
|
439
439
|
};
|
|
@@ -478,7 +478,7 @@ const BlobType = dataType({
|
|
|
478
478
|
children: BLOB_KEYS.map((key) => ({
|
|
479
479
|
key,
|
|
480
480
|
value: Reflect.get(value, key)
|
|
481
|
-
})).map(({ key, value
|
|
481
|
+
})).map(({ key, value }) => createNode([key], value))
|
|
482
482
|
};
|
|
483
483
|
}
|
|
484
484
|
});
|
|
@@ -515,7 +515,7 @@ const FileType = dataType({
|
|
|
515
515
|
children: FILE_KEYS.map((key) => ({
|
|
516
516
|
key,
|
|
517
517
|
value: getProp(value, key) || ""
|
|
518
|
-
})).map(({ key, value
|
|
518
|
+
})).map(({ key, value }) => createNode([key], value))
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
521
|
});
|
|
@@ -597,9 +597,9 @@ const FunctionType = dataType({
|
|
|
597
597
|
value: Reflect.get(value, key)
|
|
598
598
|
}));
|
|
599
599
|
enumerableProperties.push(...additionalProps);
|
|
600
|
-
const enumerableChildren = enumerableProperties.map(({ key, value
|
|
601
|
-
const nonEnumerableChildren = options?.showNonenumerable ? nonEnumerableProperties.map(({ key, value
|
|
602
|
-
const node = createNode([key], value
|
|
600
|
+
const enumerableChildren = enumerableProperties.map(({ key, value }) => createNode([key], value));
|
|
601
|
+
const nonEnumerableChildren = options?.showNonenumerable ? nonEnumerableProperties.map(({ key, value }) => {
|
|
602
|
+
const node = createNode([key], value);
|
|
603
603
|
node.isNonEnumerable = true;
|
|
604
604
|
return node;
|
|
605
605
|
}) : [];
|
|
@@ -720,7 +720,7 @@ const MapType = dataType({
|
|
|
720
720
|
return jsx("span", {}, children);
|
|
721
721
|
},
|
|
722
722
|
node({ value, keyPath, createNode }) {
|
|
723
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
723
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
724
724
|
const keyStr = String(key);
|
|
725
725
|
const keyNode = createNode([
|
|
726
726
|
ENTRIES_KEY,
|
|
@@ -731,14 +731,14 @@ const MapType = dataType({
|
|
|
731
731
|
ENTRIES_KEY,
|
|
732
732
|
keyStr,
|
|
733
733
|
"value"
|
|
734
|
-
], value
|
|
734
|
+
], value);
|
|
735
735
|
return {
|
|
736
736
|
keyPath: [
|
|
737
737
|
...keyPath,
|
|
738
738
|
ENTRIES_KEY,
|
|
739
739
|
index
|
|
740
740
|
],
|
|
741
|
-
value: { [keyStr]: value
|
|
741
|
+
value: { [keyStr]: value },
|
|
742
742
|
type: "object",
|
|
743
743
|
children: [keyNode, valueNode]
|
|
744
744
|
};
|
|
@@ -792,7 +792,7 @@ const ErrorType = dataType({
|
|
|
792
792
|
value,
|
|
793
793
|
keyPath,
|
|
794
794
|
type: "error",
|
|
795
|
-
children: [...errorProperties, ...additionalProps].map(({ key, value
|
|
795
|
+
children: [...errorProperties, ...additionalProps].map(({ key, value }) => createNode([key], value))
|
|
796
796
|
};
|
|
797
797
|
}
|
|
798
798
|
});
|
|
@@ -825,7 +825,7 @@ const HeadersType = dataType({
|
|
|
825
825
|
]);
|
|
826
826
|
},
|
|
827
827
|
node({ value, keyPath, createNode }) {
|
|
828
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
828
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
829
829
|
const keyStr = String(key);
|
|
830
830
|
const keyNode = createNode([
|
|
831
831
|
ENTRIES_KEY,
|
|
@@ -836,14 +836,14 @@ const HeadersType = dataType({
|
|
|
836
836
|
ENTRIES_KEY,
|
|
837
837
|
keyStr,
|
|
838
838
|
"value"
|
|
839
|
-
], value
|
|
839
|
+
], value);
|
|
840
840
|
return {
|
|
841
841
|
keyPath: [
|
|
842
842
|
...keyPath,
|
|
843
843
|
ENTRIES_KEY,
|
|
844
844
|
index
|
|
845
845
|
],
|
|
846
|
-
value: { [key]: value
|
|
846
|
+
value: { [key]: value },
|
|
847
847
|
type: "object",
|
|
848
848
|
children: [keyNode, valueNode]
|
|
849
849
|
};
|
|
@@ -883,7 +883,7 @@ const FormDataType = dataType({
|
|
|
883
883
|
]);
|
|
884
884
|
},
|
|
885
885
|
node({ value, keyPath, createNode }) {
|
|
886
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
886
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
887
887
|
const keyNode = createNode([
|
|
888
888
|
ENTRIES_KEY,
|
|
889
889
|
index,
|
|
@@ -893,14 +893,14 @@ const FormDataType = dataType({
|
|
|
893
893
|
ENTRIES_KEY,
|
|
894
894
|
index,
|
|
895
895
|
"value"
|
|
896
|
-
], value
|
|
896
|
+
], value);
|
|
897
897
|
return {
|
|
898
898
|
keyPath: [
|
|
899
899
|
...keyPath,
|
|
900
900
|
ENTRIES_KEY,
|
|
901
901
|
index
|
|
902
902
|
],
|
|
903
|
-
value: { [key]: value
|
|
903
|
+
value: { [key]: value },
|
|
904
904
|
type: "object",
|
|
905
905
|
children: [keyNode, valueNode]
|
|
906
906
|
};
|
|
@@ -1032,7 +1032,7 @@ const TypedArrayType = dataType({
|
|
|
1032
1032
|
const enumerableChildren = TYPED_ARRAY_KEYS.map((key) => ({
|
|
1033
1033
|
key,
|
|
1034
1034
|
value: Reflect.get(typedArray, key)
|
|
1035
|
-
})).map(({ key, value
|
|
1035
|
+
})).map(({ key, value }) => createNode([key], value));
|
|
1036
1036
|
const nonEnumerableChildren = options?.showNonenumerable ? (() => {
|
|
1037
1037
|
const node = createNode(["[[Values]]"], Array.from(typedArray).slice(0, 100));
|
|
1038
1038
|
node.isNonEnumerable = true;
|
|
@@ -1204,7 +1204,7 @@ const ElementType = dataType({
|
|
|
1204
1204
|
}
|
|
1205
1205
|
if (key === "style") {
|
|
1206
1206
|
const style = Array.from(value.style);
|
|
1207
|
-
childValue = style.length ? Object.fromEntries(style.map((key
|
|
1207
|
+
childValue = style.length ? Object.fromEntries(style.map((key) => [key, value.style.getPropertyValue(key)])) : void 0;
|
|
1208
1208
|
}
|
|
1209
1209
|
acc.push(createNode([key], childValue));
|
|
1210
1210
|
return acc;
|
|
@@ -1410,18 +1410,18 @@ const jsonNodeToElement = (node, opts) => {
|
|
|
1410
1410
|
const options = getPreviewOptions(opts);
|
|
1411
1411
|
const key = keyPathToKey(node.keyPath, { excludeRoot: true });
|
|
1412
1412
|
if (key === "stack" && typeof node.value === "string") return errorStackToElement(node.value);
|
|
1413
|
-
const dataType
|
|
1414
|
-
if (!dataType
|
|
1415
|
-
const element = dataType
|
|
1413
|
+
const dataType = dataTypes.find((dataType) => dataType.check(node.value));
|
|
1414
|
+
if (!dataType) return jsx("span", {}, [txt(String(node.value))]);
|
|
1415
|
+
const element = dataType.previewElement(node, options);
|
|
1416
1416
|
if (!key) element.properties.root = true;
|
|
1417
1417
|
element.properties.kind = "preview";
|
|
1418
|
-
element.properties.nodeType = typeof dataType
|
|
1418
|
+
element.properties.nodeType = typeof dataType.type === "function" ? dataType.type(node.value) : dataType.type;
|
|
1419
1419
|
return element;
|
|
1420
1420
|
};
|
|
1421
1421
|
const getNodeTypeDescription = (node, opts) => {
|
|
1422
1422
|
const options = getPreviewOptions(opts);
|
|
1423
|
-
const dataType
|
|
1424
|
-
if (dataType
|
|
1423
|
+
const dataType = dataTypes.find((dataType) => dataType.check(node.value));
|
|
1424
|
+
if (dataType) return typeof dataType.description === "function" ? dataType.description(node, options) : dataType.description;
|
|
1425
1425
|
return String(node.value);
|
|
1426
1426
|
};
|
|
1427
1427
|
|
package/dist/json-tree-utils.mjs
CHANGED
|
@@ -16,7 +16,7 @@ const jsonToTree = (data, props = {}) => {
|
|
|
16
16
|
};
|
|
17
17
|
visited.add(data);
|
|
18
18
|
}
|
|
19
|
-
return (dataTypes.find((dataType
|
|
19
|
+
return (dataTypes.find((dataType) => dataType.check(data)) || PrimitiveType).node({
|
|
20
20
|
value: data,
|
|
21
21
|
createNode: (nestedKeyPath, value) => jsonToTree(value, {
|
|
22
22
|
visited,
|
|
@@ -34,10 +34,10 @@ const jsonToTree = (data, props = {}) => {
|
|
|
34
34
|
const regexReturnCharacters = /\r/g;
|
|
35
35
|
function hash(str) {
|
|
36
36
|
const v = str.replace(regexReturnCharacters, "");
|
|
37
|
-
let hash
|
|
37
|
+
let hash = 5381;
|
|
38
38
|
let i = v.length;
|
|
39
|
-
while (i--) hash
|
|
40
|
-
return (hash
|
|
39
|
+
while (i--) hash = (hash << 5) - hash ^ v.charCodeAt(i);
|
|
40
|
+
return (hash >>> 0).toString(36);
|
|
41
41
|
}
|
|
42
42
|
function getProp(value, key) {
|
|
43
43
|
return value[key];
|
|
@@ -414,7 +414,7 @@ const URLSearchParamsType = dataType({
|
|
|
414
414
|
]);
|
|
415
415
|
},
|
|
416
416
|
node({ value, keyPath, createNode }) {
|
|
417
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
417
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
418
418
|
const keyStr = String(key);
|
|
419
419
|
const keyNode = createNode([
|
|
420
420
|
ENTRIES_KEY,
|
|
@@ -425,14 +425,14 @@ const URLSearchParamsType = dataType({
|
|
|
425
425
|
ENTRIES_KEY,
|
|
426
426
|
keyStr,
|
|
427
427
|
"value"
|
|
428
|
-
], value
|
|
428
|
+
], value);
|
|
429
429
|
return {
|
|
430
430
|
keyPath: [
|
|
431
431
|
...keyPath,
|
|
432
432
|
ENTRIES_KEY,
|
|
433
433
|
index
|
|
434
434
|
],
|
|
435
|
-
value: { [key]: value
|
|
435
|
+
value: { [key]: value },
|
|
436
436
|
type: "object",
|
|
437
437
|
children: [keyNode, valueNode]
|
|
438
438
|
};
|
|
@@ -477,7 +477,7 @@ const BlobType = dataType({
|
|
|
477
477
|
children: BLOB_KEYS.map((key) => ({
|
|
478
478
|
key,
|
|
479
479
|
value: Reflect.get(value, key)
|
|
480
|
-
})).map(({ key, value
|
|
480
|
+
})).map(({ key, value }) => createNode([key], value))
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
});
|
|
@@ -514,7 +514,7 @@ const FileType = dataType({
|
|
|
514
514
|
children: FILE_KEYS.map((key) => ({
|
|
515
515
|
key,
|
|
516
516
|
value: getProp(value, key) || ""
|
|
517
|
-
})).map(({ key, value
|
|
517
|
+
})).map(({ key, value }) => createNode([key], value))
|
|
518
518
|
};
|
|
519
519
|
}
|
|
520
520
|
});
|
|
@@ -596,9 +596,9 @@ const FunctionType = dataType({
|
|
|
596
596
|
value: Reflect.get(value, key)
|
|
597
597
|
}));
|
|
598
598
|
enumerableProperties.push(...additionalProps);
|
|
599
|
-
const enumerableChildren = enumerableProperties.map(({ key, value
|
|
600
|
-
const nonEnumerableChildren = options?.showNonenumerable ? nonEnumerableProperties.map(({ key, value
|
|
601
|
-
const node = createNode([key], value
|
|
599
|
+
const enumerableChildren = enumerableProperties.map(({ key, value }) => createNode([key], value));
|
|
600
|
+
const nonEnumerableChildren = options?.showNonenumerable ? nonEnumerableProperties.map(({ key, value }) => {
|
|
601
|
+
const node = createNode([key], value);
|
|
602
602
|
node.isNonEnumerable = true;
|
|
603
603
|
return node;
|
|
604
604
|
}) : [];
|
|
@@ -719,7 +719,7 @@ const MapType = dataType({
|
|
|
719
719
|
return jsx("span", {}, children);
|
|
720
720
|
},
|
|
721
721
|
node({ value, keyPath, createNode }) {
|
|
722
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
722
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
723
723
|
const keyStr = String(key);
|
|
724
724
|
const keyNode = createNode([
|
|
725
725
|
ENTRIES_KEY,
|
|
@@ -730,14 +730,14 @@ const MapType = dataType({
|
|
|
730
730
|
ENTRIES_KEY,
|
|
731
731
|
keyStr,
|
|
732
732
|
"value"
|
|
733
|
-
], value
|
|
733
|
+
], value);
|
|
734
734
|
return {
|
|
735
735
|
keyPath: [
|
|
736
736
|
...keyPath,
|
|
737
737
|
ENTRIES_KEY,
|
|
738
738
|
index
|
|
739
739
|
],
|
|
740
|
-
value: { [keyStr]: value
|
|
740
|
+
value: { [keyStr]: value },
|
|
741
741
|
type: "object",
|
|
742
742
|
children: [keyNode, valueNode]
|
|
743
743
|
};
|
|
@@ -791,7 +791,7 @@ const ErrorType = dataType({
|
|
|
791
791
|
value,
|
|
792
792
|
keyPath,
|
|
793
793
|
type: "error",
|
|
794
|
-
children: [...errorProperties, ...additionalProps].map(({ key, value
|
|
794
|
+
children: [...errorProperties, ...additionalProps].map(({ key, value }) => createNode([key], value))
|
|
795
795
|
};
|
|
796
796
|
}
|
|
797
797
|
});
|
|
@@ -824,7 +824,7 @@ const HeadersType = dataType({
|
|
|
824
824
|
]);
|
|
825
825
|
},
|
|
826
826
|
node({ value, keyPath, createNode }) {
|
|
827
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
827
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
828
828
|
const keyStr = String(key);
|
|
829
829
|
const keyNode = createNode([
|
|
830
830
|
ENTRIES_KEY,
|
|
@@ -835,14 +835,14 @@ const HeadersType = dataType({
|
|
|
835
835
|
ENTRIES_KEY,
|
|
836
836
|
keyStr,
|
|
837
837
|
"value"
|
|
838
|
-
], value
|
|
838
|
+
], value);
|
|
839
839
|
return {
|
|
840
840
|
keyPath: [
|
|
841
841
|
...keyPath,
|
|
842
842
|
ENTRIES_KEY,
|
|
843
843
|
index
|
|
844
844
|
],
|
|
845
|
-
value: { [key]: value
|
|
845
|
+
value: { [key]: value },
|
|
846
846
|
type: "object",
|
|
847
847
|
children: [keyNode, valueNode]
|
|
848
848
|
};
|
|
@@ -882,7 +882,7 @@ const FormDataType = dataType({
|
|
|
882
882
|
]);
|
|
883
883
|
},
|
|
884
884
|
node({ value, keyPath, createNode }) {
|
|
885
|
-
const entriesChildren = Array.from(value.entries()).map(([key, value
|
|
885
|
+
const entriesChildren = Array.from(value.entries()).map(([key, value], index) => {
|
|
886
886
|
const keyNode = createNode([
|
|
887
887
|
ENTRIES_KEY,
|
|
888
888
|
index,
|
|
@@ -892,14 +892,14 @@ const FormDataType = dataType({
|
|
|
892
892
|
ENTRIES_KEY,
|
|
893
893
|
index,
|
|
894
894
|
"value"
|
|
895
|
-
], value
|
|
895
|
+
], value);
|
|
896
896
|
return {
|
|
897
897
|
keyPath: [
|
|
898
898
|
...keyPath,
|
|
899
899
|
ENTRIES_KEY,
|
|
900
900
|
index
|
|
901
901
|
],
|
|
902
|
-
value: { [key]: value
|
|
902
|
+
value: { [key]: value },
|
|
903
903
|
type: "object",
|
|
904
904
|
children: [keyNode, valueNode]
|
|
905
905
|
};
|
|
@@ -1031,7 +1031,7 @@ const TypedArrayType = dataType({
|
|
|
1031
1031
|
const enumerableChildren = TYPED_ARRAY_KEYS.map((key) => ({
|
|
1032
1032
|
key,
|
|
1033
1033
|
value: Reflect.get(typedArray, key)
|
|
1034
|
-
})).map(({ key, value
|
|
1034
|
+
})).map(({ key, value }) => createNode([key], value));
|
|
1035
1035
|
const nonEnumerableChildren = options?.showNonenumerable ? (() => {
|
|
1036
1036
|
const node = createNode(["[[Values]]"], Array.from(typedArray).slice(0, 100));
|
|
1037
1037
|
node.isNonEnumerable = true;
|
|
@@ -1203,7 +1203,7 @@ const ElementType = dataType({
|
|
|
1203
1203
|
}
|
|
1204
1204
|
if (key === "style") {
|
|
1205
1205
|
const style = Array.from(value.style);
|
|
1206
|
-
childValue = style.length ? Object.fromEntries(style.map((key
|
|
1206
|
+
childValue = style.length ? Object.fromEntries(style.map((key) => [key, value.style.getPropertyValue(key)])) : void 0;
|
|
1207
1207
|
}
|
|
1208
1208
|
acc.push(createNode([key], childValue));
|
|
1209
1209
|
return acc;
|
|
@@ -1409,18 +1409,18 @@ const jsonNodeToElement = (node, opts) => {
|
|
|
1409
1409
|
const options = getPreviewOptions(opts);
|
|
1410
1410
|
const key = keyPathToKey(node.keyPath, { excludeRoot: true });
|
|
1411
1411
|
if (key === "stack" && typeof node.value === "string") return errorStackToElement(node.value);
|
|
1412
|
-
const dataType
|
|
1413
|
-
if (!dataType
|
|
1414
|
-
const element = dataType
|
|
1412
|
+
const dataType = dataTypes.find((dataType) => dataType.check(node.value));
|
|
1413
|
+
if (!dataType) return jsx("span", {}, [txt(String(node.value))]);
|
|
1414
|
+
const element = dataType.previewElement(node, options);
|
|
1415
1415
|
if (!key) element.properties.root = true;
|
|
1416
1416
|
element.properties.kind = "preview";
|
|
1417
|
-
element.properties.nodeType = typeof dataType
|
|
1417
|
+
element.properties.nodeType = typeof dataType.type === "function" ? dataType.type(node.value) : dataType.type;
|
|
1418
1418
|
return element;
|
|
1419
1419
|
};
|
|
1420
1420
|
const getNodeTypeDescription = (node, opts) => {
|
|
1421
1421
|
const options = getPreviewOptions(opts);
|
|
1422
|
-
const dataType
|
|
1423
|
-
if (dataType
|
|
1422
|
+
const dataType = dataTypes.find((dataType) => dataType.check(node.value));
|
|
1423
|
+
if (dataType) return typeof dataType.description === "function" ? dataType.description(node, options) : dataType.description;
|
|
1424
1424
|
return String(node.value);
|
|
1425
1425
|
};
|
|
1426
1426
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CollectionSearchOptions, r as CollectionOptions, t as CollectionItem } from "./types-
|
|
1
|
+
import { i as CollectionSearchOptions, r as CollectionOptions, t as CollectionItem } from "./types-D0tsc4Jo.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/collection/list-collection.d.ts
|
|
4
4
|
declare class ListCollection<T extends CollectionItem = CollectionItem> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CollectionSearchOptions, r as CollectionOptions, t as CollectionItem } from "./types-
|
|
1
|
+
import { i as CollectionSearchOptions, r as CollectionOptions, t as CollectionItem } from "./types-CBWaEVU4.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/collection/list-collection.d.ts
|
|
4
4
|
declare class ListCollection<T extends CollectionItem = CollectionItem> {
|
package/dist/live-region.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as LiveRegionOptions, r as createLiveRegion, t as LiveRegion } from "./index-
|
|
1
|
+
import { n as LiveRegionOptions, r as createLiveRegion, t as LiveRegion } from "./index-B2rsdD3v.cjs";
|
|
2
2
|
export { LiveRegion, LiveRegionOptions, createLiveRegion };
|
package/dist/live-region.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as LiveRegionOptions, r as createLiveRegion, t as LiveRegion } from "./index-
|
|
1
|
+
import { n as LiveRegionOptions, r as createLiveRegion, t as LiveRegion } from "./index-DIJJrhP_.mjs";
|
|
2
2
|
export { LiveRegion, LiveRegionOptions, createLiveRegion };
|
package/dist/live-region.mjs
CHANGED