@sprawlify/primitives 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/anatomy.cjs +3 -3
- package/dist/anatomy.d.mts +1 -1
- package/dist/anatomy.mjs +2 -3
- package/dist/{aria-hidden-Csp0PkO_.mjs → aria-hidden-P3kaF8gG.mjs} +2 -6
- package/dist/{aria-hidden-CHWfuKk2.cjs → aria-hidden-UJAPt1aA.cjs} +7 -11
- package/dist/aria-hidden.cjs +4 -4
- package/dist/aria-hidden.mjs +3 -4
- package/dist/{auto-resize-jPUJLPa4.mjs → auto-resize-Bjzuo5Lh.mjs} +2 -6
- package/dist/{auto-resize-BL8ul-hb.cjs → auto-resize-DzPXdyR-.cjs} +12 -16
- package/dist/auto-resize.cjs +4 -4
- package/dist/auto-resize.mjs +3 -4
- package/dist/{chunk-CbDLau6x.cjs → chunk-CKQMccvm.cjs} +13 -19
- package/dist/{collection-DHyEg4g5.mjs → collection-CcsrqDFY.mjs} +3 -9
- package/dist/{collection-Fkg4kgPn.cjs → collection-DZeodezM.cjs} +43 -49
- package/dist/collection.cjs +4 -4
- package/dist/collection.d.cts +4 -4
- package/dist/collection.d.mts +4 -4
- package/dist/collection.mjs +3 -4
- package/dist/{color-utils-CaqLeEog.mjs → color-utils-BK3Ae7x1.mjs} +3 -12
- package/dist/{color-utils-eUlz6Gq4.cjs → color-utils-XoYeFX3g.cjs} +23 -32
- package/dist/color-utils.cjs +4 -4
- package/dist/color-utils.d.cts +1 -1
- package/dist/color-utils.d.mts +1 -1
- package/dist/color-utils.mjs +3 -4
- package/dist/{core-CHsDFMV3.cjs → core-BiGlJ-4W.cjs} +43 -49
- package/dist/{core-owywCQ2e.mjs → core-DfVajPnu.mjs} +3 -9
- package/dist/core.cjs +5 -5
- package/dist/core.d.cts +3 -3
- package/dist/core.d.mts +3 -3
- package/dist/core.mjs +4 -5
- package/dist/{create-anatomy-CDsIFUXg.cjs → create-anatomy-BnwEmNnc.cjs} +6 -8
- package/dist/{create-anatomy-BVqM_FJ6.mjs → create-anatomy-Dr0evdYy.mjs} +1 -2
- package/dist/{create-props-Dtoa4OUk.mjs → create-props-DFW8DUsC.mjs} +1 -2
- package/dist/create-props-DP39rHnH.cjs +9 -0
- package/dist/{date-utils-BDBOiT_6.cjs → date-utils-BuJkKL09.cjs} +265 -279
- package/dist/{date-utils-LnVS7q0z.mjs → date-utils-DCaRa_Ry.mjs} +1 -15
- package/dist/date-utils.cjs +3 -3
- package/dist/date-utils.d.cts +1 -1
- package/dist/date-utils.d.mts +1 -1
- package/dist/date-utils.mjs +2 -3
- package/dist/{defineProperty-_bOnJOii.cjs → defineProperty-8IOBQ1i_.cjs} +10 -15
- package/dist/{defineProperty-DR_NxfHn.mjs → defineProperty-D5oW_HU_.mjs} +5 -9
- package/dist/{dismissable-BlZazbp3.mjs → dismissable-BAYaXwxZ.mjs} +4 -9
- package/dist/{dismissable-DSFGuAU6.cjs → dismissable-DPXx0m0m.cjs} +14 -19
- package/dist/{dismissable-layer-B2bSyA07.d.cts → dismissable-layer-ZgyqN8AD.d.cts} +2 -2
- package/dist/{dismissable-layer-CpUMMV1f.d.mts → dismissable-layer-h14gHVbJ.d.mts} +2 -2
- package/dist/dismissable.cjs +6 -6
- package/dist/dismissable.d.cts +2 -2
- package/dist/dismissable.d.mts +2 -2
- package/dist/dismissable.mjs +5 -6
- package/dist/{dom-query-CAFhX43H.cjs → dom-query-6Wt-Tikf.cjs} +775 -806
- package/dist/{dom-query-CQFBCdpo.mjs → dom-query-dX8Dakb4.mjs} +2 -33
- package/dist/dom-query.cjs +3 -3
- package/dist/dom-query.d.cts +7 -7
- package/dist/dom-query.d.mts +7 -7
- package/dist/dom-query.mjs +2 -3
- package/dist/{file-utils-Bkp18nrt.cjs → file-utils-CY6_zVut.cjs} +52 -67
- package/dist/{file-utils-lcjM-YjV.mjs → file-utils-VgQ3YV2A.mjs} +2 -16
- package/dist/file-utils.cjs +3 -3
- package/dist/file-utils.d.cts +1 -1
- package/dist/file-utils.d.mts +1 -1
- package/dist/file-utils.mjs +2 -3
- package/dist/{focus-trap-BXT0oBtL.mjs → focus-trap-Cd09JaUn.mjs} +3 -6
- package/dist/{focus-trap-zaIiaoqE.cjs → focus-trap-ClCNF7kY.cjs} +13 -16
- package/dist/focus-trap.cjs +4 -4
- package/dist/focus-trap.mjs +3 -4
- package/dist/{focus-visible-DjGDsaLn.mjs → focus-visible-CSuBQ5QZ.mjs} +2 -4
- package/dist/{focus-visible-3pXNNo-l.cjs → focus-visible-CqHoOOjw.cjs} +32 -34
- package/dist/focus-visible.cjs +4 -4
- package/dist/focus-visible.mjs +3 -4
- package/dist/highlight-word.cjs +2 -7
- package/dist/highlight-word.mjs +1 -6
- package/dist/hotkeys.cjs +11 -20
- package/dist/hotkeys.mjs +10 -20
- package/dist/{i18n-utils-KuoJj66z.mjs → i18n-utils-DHGN_KCY.mjs} +2 -14
- package/dist/{i18n-utils-CK27xonZ.cjs → i18n-utils-Dm8cGCol.cjs} +57 -69
- package/dist/i18n-utils.cjs +4 -4
- package/dist/i18n-utils.mjs +3 -4
- package/dist/index.mjs +1 -1
- package/dist/{interact-outside-CRmkKF6k.mjs → interact-outside-C-8lOhpV.mjs} +3 -6
- package/dist/{interact-outside-Dk2otQqs.cjs → interact-outside-DRaFGdMg.cjs} +8 -11
- package/dist/interact-outside.cjs +5 -5
- package/dist/interact-outside.d.cts +1 -1
- package/dist/interact-outside.d.mts +1 -1
- package/dist/interact-outside.mjs +4 -5
- package/dist/json-tree-utils.cjs +6 -11
- package/dist/json-tree-utils.mjs +5 -10
- package/dist/{list-collection-C9XUe75n.d.mts → list-collection-B_8BN0XB.d.cts} +1 -1
- package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-DkRA5LOq.d.mts} +1 -1
- package/dist/{live-region-2RiuzOr-.cjs → live-region-TGReV9nm.cjs} +6 -8
- package/dist/{live-region-CBp2K1JK.mjs → live-region-TgEDzvS4.mjs} +1 -2
- package/dist/live-region.cjs +3 -3
- package/dist/live-region.d.cts +1 -1
- package/dist/live-region.d.mts +1 -1
- package/dist/live-region.mjs +2 -3
- package/dist/machines/accordion/index.cjs +7 -12
- package/dist/machines/accordion/index.d.cts +3 -3
- package/dist/machines/accordion/index.d.mts +4 -4
- package/dist/machines/accordion/index.mjs +6 -12
- package/dist/machines/angle-slider/index.cjs +13 -23
- package/dist/machines/angle-slider/index.d.cts +3 -3
- package/dist/machines/angle-slider/index.d.mts +4 -4
- package/dist/machines/angle-slider/index.mjs +12 -23
- package/dist/machines/aspect-ratio/index.cjs +7 -12
- package/dist/machines/aspect-ratio/index.d.cts +3 -3
- package/dist/machines/aspect-ratio/index.d.mts +4 -4
- package/dist/machines/aspect-ratio/index.mjs +6 -12
- package/dist/machines/async-list/index.cjs +5 -7
- 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 +4 -7
- package/dist/machines/avatar/index.cjs +7 -12
- package/dist/machines/avatar/index.d.cts +2 -2
- package/dist/machines/avatar/index.d.mts +3 -3
- package/dist/machines/avatar/index.mjs +6 -12
- package/dist/machines/bottom-sheet/index.cjs +13 -22
- package/dist/machines/bottom-sheet/index.d.cts +5 -5
- package/dist/machines/bottom-sheet/index.d.mts +6 -6
- package/dist/machines/bottom-sheet/index.mjs +12 -22
- package/dist/machines/carousel/index.cjs +8 -13
- package/dist/machines/carousel/index.d.cts +3 -3
- package/dist/machines/carousel/index.d.mts +4 -4
- package/dist/machines/carousel/index.mjs +7 -13
- package/dist/machines/checkbox/index.cjs +8 -13
- package/dist/machines/checkbox/index.d.cts +3 -3
- package/dist/machines/checkbox/index.d.mts +4 -4
- package/dist/machines/checkbox/index.mjs +7 -13
- package/dist/machines/clipboard/index.cjs +7 -12
- package/dist/machines/clipboard/index.d.cts +3 -3
- package/dist/machines/clipboard/index.d.mts +4 -4
- package/dist/machines/clipboard/index.mjs +6 -12
- package/dist/machines/collapsible/index.cjs +7 -12
- package/dist/machines/collapsible/index.d.cts +3 -3
- package/dist/machines/collapsible/index.d.mts +4 -4
- package/dist/machines/collapsible/index.mjs +6 -12
- package/dist/machines/color-picker/index.cjs +11 -21
- package/dist/machines/color-picker/index.d.cts +6 -6
- package/dist/machines/color-picker/index.d.mts +7 -7
- package/dist/machines/color-picker/index.mjs +10 -21
- package/dist/machines/combobox/index.cjs +11 -17
- package/dist/machines/combobox/index.d.cts +7 -7
- package/dist/machines/combobox/index.d.mts +8 -8
- package/dist/machines/combobox/index.mjs +10 -17
- package/dist/machines/date-picker/index.cjs +15 -24
- package/dist/machines/date-picker/index.d.cts +7 -7
- package/dist/machines/date-picker/index.d.mts +8 -8
- package/dist/machines/date-picker/index.mjs +13 -23
- package/dist/machines/dialog/index.cjs +12 -17
- package/dist/machines/dialog/index.d.cts +5 -5
- package/dist/machines/dialog/index.d.mts +6 -6
- package/dist/machines/dialog/index.mjs +11 -17
- package/dist/machines/dropdown-menu/index.cjs +12 -18
- package/dist/machines/dropdown-menu/index.d.cts +8 -8
- package/dist/machines/dropdown-menu/index.d.mts +9 -9
- package/dist/machines/dropdown-menu/index.mjs +11 -18
- package/dist/machines/editable/index.cjs +8 -13
- package/dist/machines/editable/index.d.cts +4 -4
- package/dist/machines/editable/index.d.mts +5 -5
- package/dist/machines/editable/index.mjs +7 -13
- package/dist/machines/file-upload/index.cjs +9 -15
- package/dist/machines/file-upload/index.d.cts +4 -4
- package/dist/machines/file-upload/index.d.mts +5 -5
- package/dist/machines/file-upload/index.mjs +8 -15
- package/dist/machines/floating-panel/index.cjs +9 -16
- package/dist/machines/floating-panel/index.d.cts +4 -4
- package/dist/machines/floating-panel/index.d.mts +5 -5
- package/dist/machines/floating-panel/index.mjs +8 -16
- package/dist/machines/hover-card/index.cjs +10 -15
- package/dist/machines/hover-card/index.d.cts +5 -5
- package/dist/machines/hover-card/index.d.mts +6 -6
- package/dist/machines/hover-card/index.mjs +9 -15
- package/dist/machines/image-cropper/index.cjs +8 -16
- package/dist/machines/image-cropper/index.d.cts +3 -3
- package/dist/machines/image-cropper/index.d.mts +4 -4
- package/dist/machines/image-cropper/index.mjs +7 -16
- package/dist/machines/listbox/index.cjs +9 -15
- package/dist/machines/listbox/index.d.cts +7 -7
- package/dist/machines/listbox/index.d.mts +8 -8
- package/dist/machines/listbox/index.mjs +8 -15
- package/dist/machines/marquee/index.cjs +7 -13
- package/dist/machines/marquee/index.d.cts +5 -5
- package/dist/machines/marquee/index.d.mts +6 -6
- package/dist/machines/marquee/index.mjs +6 -13
- package/dist/machines/navigation-menu/index.cjs +15 -27
- package/dist/machines/navigation-menu/index.d.cts +3 -3
- package/dist/machines/navigation-menu/index.d.mts +4 -4
- package/dist/machines/navigation-menu/index.mjs +14 -27
- package/dist/machines/number-input/index.cjs +11 -21
- package/dist/machines/number-input/index.d.cts +3 -3
- package/dist/machines/number-input/index.d.mts +4 -4
- package/dist/machines/number-input/index.mjs +10 -22
- package/dist/machines/pagination/index.cjs +7 -13
- package/dist/machines/pagination/index.d.cts +3 -3
- package/dist/machines/pagination/index.d.mts +4 -4
- package/dist/machines/pagination/index.mjs +6 -13
- package/dist/machines/password-input/index.cjs +7 -12
- package/dist/machines/password-input/index.d.cts +3 -3
- package/dist/machines/password-input/index.d.mts +4 -4
- package/dist/machines/password-input/index.mjs +6 -12
- package/dist/machines/pin-input/index.cjs +9 -17
- package/dist/machines/pin-input/index.d.cts +3 -3
- package/dist/machines/pin-input/index.d.mts +4 -4
- package/dist/machines/pin-input/index.mjs +8 -17
- package/dist/machines/popover/index.cjs +13 -18
- package/dist/machines/popover/index.d.cts +6 -6
- package/dist/machines/popover/index.d.mts +7 -7
- package/dist/machines/popover/index.mjs +12 -18
- package/dist/machines/presence/index.cjs +6 -9
- package/dist/machines/presence/index.d.cts +2 -2
- package/dist/machines/presence/index.d.mts +2 -2
- package/dist/machines/presence/index.mjs +5 -9
- package/dist/machines/progress/index.cjs +7 -12
- package/dist/machines/progress/index.d.cts +3 -3
- package/dist/machines/progress/index.d.mts +4 -4
- package/dist/machines/progress/index.mjs +6 -12
- package/dist/machines/qr-code/index.cjs +8 -13
- package/dist/machines/qr-code/index.d.cts +3 -3
- package/dist/machines/qr-code/index.d.mts +4 -4
- package/dist/machines/qr-code/index.mjs +6 -12
- package/dist/machines/radio-group/index.cjs +8 -13
- package/dist/machines/radio-group/index.d.cts +3 -3
- package/dist/machines/radio-group/index.d.mts +4 -4
- package/dist/machines/radio-group/index.mjs +7 -13
- package/dist/machines/rating-group/index.cjs +7 -12
- package/dist/machines/rating-group/index.d.cts +2 -2
- package/dist/machines/rating-group/index.d.mts +3 -3
- package/dist/machines/rating-group/index.mjs +6 -12
- package/dist/machines/scroll-area/index.cjs +8 -20
- package/dist/machines/scroll-area/index.d.cts +3 -3
- package/dist/machines/scroll-area/index.d.mts +4 -4
- package/dist/machines/scroll-area/index.mjs +7 -20
- package/dist/machines/select/index.cjs +11 -17
- package/dist/machines/select/index.d.cts +8 -8
- package/dist/machines/select/index.d.mts +9 -9
- package/dist/machines/select/index.mjs +10 -17
- package/dist/machines/separator/index.cjs +7 -12
- package/dist/machines/separator/index.d.cts +2 -2
- package/dist/machines/separator/index.d.mts +3 -3
- package/dist/machines/separator/index.mjs +6 -12
- package/dist/machines/signature-pad/index.cjs +8 -14
- package/dist/machines/signature-pad/index.d.cts +2 -2
- package/dist/machines/signature-pad/index.d.mts +3 -3
- package/dist/machines/signature-pad/index.mjs +6 -13
- package/dist/machines/slider/index.cjs +7 -14
- package/dist/machines/slider/index.d.cts +3 -3
- package/dist/machines/slider/index.d.mts +4 -4
- package/dist/machines/slider/index.mjs +6 -14
- package/dist/machines/splitter/index.cjs +12 -27
- package/dist/machines/splitter/index.d.cts +3 -3
- package/dist/machines/splitter/index.d.mts +4 -4
- package/dist/machines/splitter/index.mjs +11 -27
- package/dist/machines/steps/index.cjs +7 -12
- package/dist/machines/steps/index.d.cts +3 -3
- package/dist/machines/steps/index.d.mts +4 -4
- package/dist/machines/steps/index.mjs +6 -12
- package/dist/machines/switch/index.cjs +8 -13
- package/dist/machines/switch/index.d.cts +3 -3
- package/dist/machines/switch/index.d.mts +4 -4
- package/dist/machines/switch/index.mjs +7 -13
- package/dist/machines/tabs/index.cjs +7 -12
- package/dist/machines/tabs/index.d.cts +3 -3
- package/dist/machines/tabs/index.d.mts +4 -4
- package/dist/machines/tabs/index.mjs +6 -12
- package/dist/machines/tags-input/index.cjs +11 -17
- package/dist/machines/tags-input/index.d.cts +5 -5
- package/dist/machines/tags-input/index.d.mts +6 -6
- package/dist/machines/tags-input/index.mjs +10 -17
- package/dist/machines/timer/index.cjs +7 -13
- package/dist/machines/timer/index.d.cts +3 -3
- package/dist/machines/timer/index.d.mts +4 -4
- package/dist/machines/timer/index.mjs +6 -13
- package/dist/machines/toast/index.cjs +8 -17
- package/dist/machines/toast/index.d.cts +4 -4
- package/dist/machines/toast/index.d.mts +5 -5
- package/dist/machines/toast/index.mjs +7 -17
- package/dist/machines/toggle/index.cjs +7 -11
- package/dist/machines/toggle/index.d.cts +2 -2
- package/dist/machines/toggle/index.d.mts +3 -3
- package/dist/machines/toggle/index.mjs +6 -11
- package/dist/machines/toggle-group/index.cjs +7 -12
- package/dist/machines/toggle-group/index.d.cts +2 -2
- package/dist/machines/toggle-group/index.d.mts +3 -3
- package/dist/machines/toggle-group/index.mjs +6 -12
- package/dist/machines/tooltip/index.cjs +9 -15
- package/dist/machines/tooltip/index.d.cts +4 -4
- package/dist/machines/tooltip/index.d.mts +5 -5
- package/dist/machines/tooltip/index.mjs +8 -15
- package/dist/machines/tour/index.cjs +11 -20
- package/dist/machines/tour/index.d.cts +6 -6
- package/dist/machines/tour/index.d.mts +7 -7
- package/dist/machines/tour/index.mjs +10 -20
- package/dist/machines/tree-view/index.cjs +8 -17
- package/dist/machines/tree-view/index.d.cts +6 -6
- package/dist/machines/tree-view/index.d.mts +7 -7
- package/dist/machines/tree-view/index.mjs +7 -17
- package/dist/{popper-DxgokNha.mjs → popper-CfOHZlHP.mjs} +3 -9
- package/dist/{popper-CY3ptPbm.cjs → popper-zq1F_iY8.cjs} +24 -30
- package/dist/popper.cjs +5 -5
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/popper.mjs +4 -5
- package/dist/{rect-utils-BobE6Wut.mjs → rect-utils-B5xqFvKC.mjs} +2 -24
- package/dist/{rect-utils-DtqZwNtZ.cjs → rect-utils-D3RkAaHK.cjs} +247 -269
- package/dist/rect-utils.cjs +3 -3
- package/dist/rect-utils.d.cts +1 -1
- package/dist/rect-utils.d.mts +1 -1
- package/dist/rect-utils.mjs +2 -3
- package/dist/{remove-scroll-DgJgF1C5.cjs → remove-scroll-B8AJyezV.cjs} +7 -9
- package/dist/{remove-scroll-DcPV6nZy.mjs → remove-scroll-DCUb1JPX.mjs} +2 -4
- package/dist/remove-scroll.mjs +1 -1
- package/dist/{scroll-snap-D_M1Q8ZQ.mjs → scroll-snap-De0H9CWU.mjs} +2 -4
- package/dist/{scroll-snap-DpEzlrHP.cjs → scroll-snap-voc0pMJd.cjs} +22 -24
- package/dist/scroll-snap.cjs +4 -4
- package/dist/scroll-snap.mjs +3 -4
- package/dist/{selection-wfybIxD3.d.cts → selection-Bb_ZSVxe.d.cts} +2 -2
- package/dist/{selection-CPTdpru8.d.mts → selection-DdNvrKbj.d.mts} +2 -2
- package/dist/{store-DMXvGOAu.mjs → store-BRn2zWDR.mjs} +1 -7
- package/dist/{store-B9Ewi-zx.cjs → store-k8bn_TOl.cjs} +37 -43
- package/dist/store.cjs +3 -3
- package/dist/store.mjs +2 -3
- package/dist/stringify-state.cjs +3 -4
- package/dist/stringify-state.mjs +1 -3
- package/dist/{tree-collection-1g4DXuqa.d.mts → tree-collection-DjtppzYh.d.cts} +1 -1
- package/dist/{tree-collection-CPcsMvje.d.cts → tree-collection-DlBCued7.d.mts} +1 -1
- package/dist/types.cjs +3 -4
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +2 -4
- package/dist/{utils-CJsQZljH.cjs → utils-ByNiZU8f.cjs} +527 -541
- package/dist/{utils-Vs04rt8f.mjs → utils-VVoZ_v29.mjs} +6 -20
- package/dist/utils.cjs +3 -3
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +2 -3
- package/package.json +3 -3
- package/dist/create-props-l5q5b8Wo.cjs +0 -11
- /package/dist/{color-B3sgFAa6.d.mts → color-tco923EC.d.mts} +0 -0
- /package/dist/{color-BhaNI8oR.d.cts → color-vvN_Cdao.d.cts} +0 -0
- /package/dist/{create-anatomy-UNZ__hxH.d.mts → create-anatomy-BedZVdg0.d.mts} +0 -0
- /package/dist/{data-url-BrR6WHXH.d.cts → data-url-BLUK2DqG.d.cts} +0 -0
- /package/dist/{data-url-lOYkmlVX.d.mts → data-url-Diut2Ch3.d.mts} +0 -0
- /package/dist/{functions-Box4pxDB.d.cts → functions-BL9bYIFn.d.mts} +0 -0
- /package/dist/{functions-Du4c1Rcz.d.mts → functions-Cm8NiR7H.d.cts} +0 -0
- /package/dist/{index-B2rsdD3v.d.cts → index-1L40UHp8.d.mts} +0 -0
- /package/dist/{index-DLbWwJUT.d.mts → index-8xpMF4wX.d.mts} +0 -0
- /package/dist/{index-DIJJrhP_.d.mts → index-BO-Z3fhz.d.cts} +0 -0
- /package/dist/{index-CafmAesU.d.mts → index-BVFlU3b9.d.mts} +0 -0
- /package/dist/{index-CXu0elLS.d.mts → index-CGNNiDyE.d.mts} +0 -0
- /package/dist/{index-D1U_WMQ9.d.cts → index-CLRsezW5.d.cts} +0 -0
- /package/dist/{index-BhEktN_V.d.mts → index-DHp3-EkH.d.mts} +0 -0
- /package/dist/{index-Cf0hysnI.d.cts → index-DzWGFhcS.d.cts} +0 -0
- /package/dist/{node-BGWAyUGo.d.mts → node--dRqVsA-.d.cts} +0 -0
- /package/dist/{node-D8Ztr9Hg.d.cts → node-DkWL2ywA.d.mts} +0 -0
- /package/dist/{raf-B8md2utS.d.mts → raf-CrnFMY1g.d.mts} +0 -0
- /package/dist/{raf-DWPAf0Nd.d.cts → raf-v6M-OEna.d.cts} +0 -0
- /package/dist/{typeahead-BhNtyjQC.d.cts → typeahead-Bbeb1fAR.d.mts} +0 -0
- /package/dist/{typeahead-D4TUCBly.d.mts → typeahead-DMooWbbX.d.cts} +0 -0
- /package/dist/{types-CBWaEVU4.d.cts → types-9uw8LHpE.d.mts} +0 -0
- /package/dist/{types-BM4oVvZZ.d.mts → types-B24gMTKq.d.cts} +0 -0
- /package/dist/{types-DTZZ5wsp.d.cts → types-BQMZ4iuP.d.cts} +0 -0
- /package/dist/{types-BI1JrN1V.d.mts → types-CLXYEgfm.d.cts} +0 -0
- /package/dist/{types-CW-uU8Nz.d.mts → types-Cctd5dol.d.mts} +0 -0
- /package/dist/{types-oR0sELNB.d.cts → types-CylWsfOz.d.cts} +0 -0
- /package/dist/{types-D0tsc4Jo.d.mts → types-D-7AMgSE.d.cts} +0 -0
- /package/dist/{types-DE9w-zbc.d.cts → types-DEn9MoSw.d.cts} +0 -0
- /package/dist/{types-Ct9amXkj.d.cts → types-DU764tY_.d.mts} +0 -0
- /package/dist/{types-fB7F7BBP.d.cts → types-DUM9rzfD.d.mts} +0 -0
- /package/dist/{wait-for-CVZu6XNU.d.mts → wait-for-CV7JYddH.d.mts} +0 -0
- /package/dist/{wait-for-D5gBQyam.d.cts → wait-for-DGDBtAM2.d.cts} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CalendarDate, DateFormatter, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, getWeeksInMonth, isSameDay, maxDate, minDate, now, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
2
|
-
|
|
3
2
|
//#region src/shared/date-utils/constrain.ts
|
|
4
3
|
function alignCenter(date, duration, locale, min, max) {
|
|
5
4
|
const halfDuration = {};
|
|
@@ -38,7 +37,6 @@ function constrainValue(date, minValue, maxValue) {
|
|
|
38
37
|
if (maxValue) constrainedDate = minDate(constrainedDate, toCalendarDate(maxValue));
|
|
39
38
|
return constrainedDate;
|
|
40
39
|
}
|
|
41
|
-
|
|
42
40
|
//#endregion
|
|
43
41
|
//#region src/shared/date-utils/align.ts
|
|
44
42
|
function alignDate(date, alignment, duration, locale, min, max) {
|
|
@@ -53,7 +51,6 @@ function alignStartDate(date, startDate, endDate, duration, locale, min, max) {
|
|
|
53
51
|
if (date.compare(endDate) > 0) return alignStart(date, duration, locale, min, max);
|
|
54
52
|
return startDate;
|
|
55
53
|
}
|
|
56
|
-
|
|
57
54
|
//#endregion
|
|
58
55
|
//#region src/shared/date-utils/assertion.ts
|
|
59
56
|
function isDateEqual(dateA, dateB) {
|
|
@@ -76,7 +73,6 @@ function isNextRangeInvalid(endDate, minValue, maxValue) {
|
|
|
76
73
|
const nextDate = endDate.add({ days: 1 });
|
|
77
74
|
return isSameDay(nextDate, endDate) || isDateOutsideRange(nextDate, minValue, maxValue);
|
|
78
75
|
}
|
|
79
|
-
|
|
80
76
|
//#endregion
|
|
81
77
|
//#region src/shared/date-utils/duration.ts
|
|
82
78
|
function getUnitDuration(duration) {
|
|
@@ -90,13 +86,11 @@ function getEndDate(startDate, duration) {
|
|
|
90
86
|
else clone.days = -1;
|
|
91
87
|
return startDate.add(clone);
|
|
92
88
|
}
|
|
93
|
-
|
|
94
89
|
//#endregion
|
|
95
90
|
//#region src/shared/date-utils/get-era-format.ts
|
|
96
91
|
function getEraFormat(date) {
|
|
97
92
|
return date?.calendar.identifier === "gregory" && date.era === "BC" ? "short" : void 0;
|
|
98
93
|
}
|
|
99
|
-
|
|
100
94
|
//#endregion
|
|
101
95
|
//#region src/shared/date-utils/formatter.ts
|
|
102
96
|
function getDayFormatter(locale, timeZone) {
|
|
@@ -119,7 +113,6 @@ function getMonthFormatter(locale, timeZone) {
|
|
|
119
113
|
timeZone
|
|
120
114
|
});
|
|
121
115
|
}
|
|
122
|
-
|
|
123
116
|
//#endregion
|
|
124
117
|
//#region src/shared/date-utils/format.ts
|
|
125
118
|
function formatRange(startDate, endDate, formatter, toString, timeZone) {
|
|
@@ -154,7 +147,6 @@ function formatVisibleRange(startDate, endDate, locale, timeZone) {
|
|
|
154
147
|
if (isSameDay(end, endOfMonth(end))) return monthFormatter.formatRange(start.toDate(timeZone), end.toDate(timeZone));
|
|
155
148
|
return "";
|
|
156
149
|
}
|
|
157
|
-
|
|
158
150
|
//#endregion
|
|
159
151
|
//#region src/shared/date-utils/date-month.ts
|
|
160
152
|
const daysOfTheWeek = [
|
|
@@ -230,7 +222,6 @@ function getMonthNames(locale, format = "long") {
|
|
|
230
222
|
}
|
|
231
223
|
return monthNames;
|
|
232
224
|
}
|
|
233
|
-
|
|
234
225
|
//#endregion
|
|
235
226
|
//#region src/shared/date-utils/date-year.ts
|
|
236
227
|
function getYearsRange(range) {
|
|
@@ -259,7 +250,6 @@ function getDecadeRange(year, opts) {
|
|
|
259
250
|
}
|
|
260
251
|
return years;
|
|
261
252
|
}
|
|
262
|
-
|
|
263
253
|
//#endregion
|
|
264
254
|
//#region src/shared/date-utils/mutation.ts
|
|
265
255
|
function getTodayDate(timeZone) {
|
|
@@ -279,7 +269,6 @@ function getPreviousAvailableDate(date, minValue, locale, isDateUnavailable) {
|
|
|
279
269
|
while (date.compare(minValue) >= 0 && isDateUnavailable(date, locale)) date = date.subtract({ days: 1 });
|
|
280
270
|
if (date.compare(minValue) >= 0) return date;
|
|
281
271
|
}
|
|
282
|
-
|
|
283
272
|
//#endregion
|
|
284
273
|
//#region src/shared/date-utils/pagination.ts
|
|
285
274
|
function getAdjustedDateFn(visibleDuration, locale, minValue, maxValue) {
|
|
@@ -403,7 +392,6 @@ function getPreviousSection(focusedDate, startDate, larger, visibleDuration, loc
|
|
|
403
392
|
startDate
|
|
404
393
|
});
|
|
405
394
|
}
|
|
406
|
-
|
|
407
395
|
//#endregion
|
|
408
396
|
//#region src/shared/date-utils/parse-date.ts
|
|
409
397
|
const isValidYear = (year) => year != null && year.length === 4;
|
|
@@ -446,7 +434,6 @@ function extract(pattern, str) {
|
|
|
446
434
|
return acc;
|
|
447
435
|
}, {});
|
|
448
436
|
}
|
|
449
|
-
|
|
450
437
|
//#endregion
|
|
451
438
|
//#region src/shared/date-utils/preset.ts
|
|
452
439
|
function getDateRangePreset(preset, locale, timeZone) {
|
|
@@ -468,6 +455,5 @@ function getDateRangePreset(preset, locale, timeZone) {
|
|
|
468
455
|
default: throw new Error(`Invalid date range preset: ${preset}`);
|
|
469
456
|
}
|
|
470
457
|
}
|
|
471
|
-
|
|
472
458
|
//#endregion
|
|
473
|
-
export { getMonthFormatter as A, alignCenter as B, getStartOfWeek as C, formatSelectedDate as D, formatRange as E, isDateUnavailable as F, alignStart as H, isNextRangeInvalid as I, isPreviousRangeInvalid as L, getUnitDuration as M, isDateEqual as N, formatVisibleRange as O, isDateOutsideRange as P, alignDate as R, getMonthNames as S, getWeekdayFormats as T, constrainStart as U, alignEnd as V, constrainValue as W, getYearsRange as _, getNextRow as a, getEndOfWeek as b, getPreviousRow as c, getSectionStart as d, getPreviousAvailableDate as f, getDecadeRange as g, setDate as h, getNextPage as i, getEndDate as j, getDayFormatter as k, getPreviousSection as l, setCalendar as m, parseDateString as n, getNextSection as o, getTodayDate as p, getAdjustedDateFn as r, getPreviousPage as s, getDateRangePreset as t, getSectionEnd as u, normalizeYear as v, getWeekDays as w, getMonthDays as x, getDaysInWeek as y, alignStartDate as z };
|
|
459
|
+
export { getMonthFormatter as A, alignCenter as B, getStartOfWeek as C, formatSelectedDate as D, formatRange as E, isDateUnavailable as F, alignStart as H, isNextRangeInvalid as I, isPreviousRangeInvalid as L, getUnitDuration as M, isDateEqual as N, formatVisibleRange as O, isDateOutsideRange as P, alignDate as R, getMonthNames as S, getWeekdayFormats as T, constrainStart as U, alignEnd as V, constrainValue as W, getYearsRange as _, getNextRow as a, getEndOfWeek as b, getPreviousRow as c, getSectionStart as d, getPreviousAvailableDate as f, getDecadeRange as g, setDate as h, getNextPage as i, getEndDate as j, getDayFormatter as k, getPreviousSection as l, setCalendar as m, parseDateString as n, getNextSection as o, getTodayDate as p, getAdjustedDateFn as r, getPreviousPage as s, getDateRangePreset as t, getSectionEnd as u, normalizeYear as v, getWeekDays as w, getMonthDays as x, getDaysInWeek as y, alignStartDate as z };
|
package/dist/date-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_date_utils = require("./date-utils-BuJkKL09.cjs");
|
|
3
3
|
exports.alignCenter = require_date_utils.alignCenter;
|
|
4
4
|
exports.alignDate = require_date_utils.alignDate;
|
|
5
5
|
exports.alignEnd = require_date_utils.alignEnd;
|
|
@@ -43,4 +43,4 @@ exports.isPreviousRangeInvalid = require_date_utils.isPreviousRangeInvalid;
|
|
|
43
43
|
exports.normalizeYear = require_date_utils.normalizeYear;
|
|
44
44
|
exports.parseDateString = require_date_utils.parseDateString;
|
|
45
45
|
exports.setCalendar = require_date_utils.setCalendar;
|
|
46
|
-
exports.setDate = require_date_utils.setDate;
|
|
46
|
+
exports.setDate = require_date_utils.setDate;
|
package/dist/date-utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-
|
|
1
|
+
import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-BQMZ4iuP.cjs";
|
|
2
2
|
import * as _internationalized_date0 from "@internationalized/date";
|
|
3
3
|
import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
|
|
4
4
|
|
package/dist/date-utils.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-
|
|
1
|
+
import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-8xpMF4wX.mjs";
|
|
2
2
|
export { AdjustDateParams, AdjustDateReturn, DateAdjustFn, DateGranularity, DateRangePreset, YearsRange, alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
|
package/dist/date-utils.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { A as getMonthFormatter, B as alignCenter, C as getStartOfWeek, D as formatSelectedDate, E as formatRange, F as isDateUnavailable, H as alignStart, I as isNextRangeInvalid, L as isPreviousRangeInvalid, M as getUnitDuration, N as isDateEqual, O as formatVisibleRange, P as isDateOutsideRange, R as alignDate, S as getMonthNames, T as getWeekdayFormats, U as constrainStart, V as alignEnd, W as constrainValue, _ as getYearsRange, a as getNextRow, b as getEndOfWeek, c as getPreviousRow, d as getSectionStart, f as getPreviousAvailableDate, g as getDecadeRange, h as setDate, i as getNextPage, j as getEndDate, k as getDayFormatter, l as getPreviousSection, m as setCalendar, n as parseDateString, o as getNextSection, p as getTodayDate, r as getAdjustedDateFn, s as getPreviousPage, t as getDateRangePreset, u as getSectionEnd, v as normalizeYear, w as getWeekDays, x as getMonthDays, y as getDaysInWeek, z as alignStartDate } from "./date-utils-
|
|
2
|
-
|
|
3
|
-
export { alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
|
|
1
|
+
import { A as getMonthFormatter, B as alignCenter, C as getStartOfWeek, D as formatSelectedDate, E as formatRange, F as isDateUnavailable, H as alignStart, I as isNextRangeInvalid, L as isPreviousRangeInvalid, M as getUnitDuration, N as isDateEqual, O as formatVisibleRange, P as isDateOutsideRange, R as alignDate, S as getMonthNames, T as getWeekdayFormats, U as constrainStart, V as alignEnd, W as constrainValue, _ as getYearsRange, a as getNextRow, b as getEndOfWeek, c as getPreviousRow, d as getSectionStart, f as getPreviousAvailableDate, g as getDecadeRange, h as setDate, i as getNextPage, j as getEndDate, k as getDayFormatter, l as getPreviousSection, m as setCalendar, n as parseDateString, o as getNextSection, p as getTodayDate, r as getAdjustedDateFn, s as getPreviousPage, t as getDateRangePreset, u as getSectionEnd, v as normalizeYear, w as getWeekDays, x as getMonthDays, y as getDaysInWeek, z as alignStartDate } from "./date-utils-DCaRa_Ry.mjs";
|
|
2
|
+
export { alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
//#region \0@oxc-project+runtime@0.110.0/helpers/typeof.js
|
|
1
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/typeof.js
|
|
3
2
|
function _typeof(o) {
|
|
4
3
|
"@babel/helpers - typeof";
|
|
5
4
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -8,9 +7,8 @@ function _typeof(o) {
|
|
|
8
7
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9
8
|
}, _typeof(o);
|
|
10
9
|
}
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
|
-
//#region \0@oxc-project+runtime@0.
|
|
11
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/toPrimitive.js
|
|
14
12
|
function toPrimitive(t, r) {
|
|
15
13
|
if ("object" != _typeof(t) || !t) return t;
|
|
16
14
|
var e = t[Symbol.toPrimitive];
|
|
@@ -21,16 +19,14 @@ function toPrimitive(t, r) {
|
|
|
21
19
|
}
|
|
22
20
|
return ("string" === r ? String : Number)(t);
|
|
23
21
|
}
|
|
24
|
-
|
|
25
22
|
//#endregion
|
|
26
|
-
//#region \0@oxc-project+runtime@0.
|
|
23
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/toPropertyKey.js
|
|
27
24
|
function toPropertyKey(t) {
|
|
28
25
|
var i = toPrimitive(t, "string");
|
|
29
26
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
30
27
|
}
|
|
31
|
-
|
|
32
28
|
//#endregion
|
|
33
|
-
//#region \0@oxc-project+runtime@0.
|
|
29
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/defineProperty.js
|
|
34
30
|
function _defineProperty(e, r, t) {
|
|
35
31
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
36
32
|
value: t,
|
|
@@ -39,11 +35,10 @@ function _defineProperty(e, r, t) {
|
|
|
39
35
|
writable: !0
|
|
40
36
|
}) : e[r] = t, e;
|
|
41
37
|
}
|
|
42
|
-
|
|
43
38
|
//#endregion
|
|
44
|
-
Object.defineProperty(exports,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
});
|
|
39
|
+
Object.defineProperty(exports, "_defineProperty", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function() {
|
|
42
|
+
return _defineProperty;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/typeof.js
|
|
2
2
|
function _typeof(o) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -7,9 +7,8 @@ function _typeof(o) {
|
|
|
7
7
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
8
|
}, _typeof(o);
|
|
9
9
|
}
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
11
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/toPrimitive.js
|
|
13
12
|
function toPrimitive(t, r) {
|
|
14
13
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
14
|
var e = t[Symbol.toPrimitive];
|
|
@@ -20,16 +19,14 @@ function toPrimitive(t, r) {
|
|
|
20
19
|
}
|
|
21
20
|
return ("string" === r ? String : Number)(t);
|
|
22
21
|
}
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
|
-
//#region \0@oxc-project+runtime@0.
|
|
23
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/toPropertyKey.js
|
|
26
24
|
function toPropertyKey(t) {
|
|
27
25
|
var i = toPrimitive(t, "string");
|
|
28
26
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
//#endregion
|
|
32
|
-
//#region \0@oxc-project+runtime@0.
|
|
29
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/defineProperty.js
|
|
33
30
|
function _defineProperty(e, r, t) {
|
|
34
31
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
35
32
|
value: t,
|
|
@@ -38,6 +35,5 @@ function _defineProperty(e, r, t) {
|
|
|
38
35
|
writable: !0
|
|
39
36
|
}) : e[r] = t, e;
|
|
40
37
|
}
|
|
41
|
-
|
|
42
38
|
//#endregion
|
|
43
|
-
export { _defineProperty as t };
|
|
39
|
+
export { _defineProperty as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { $t as getDocument, H as nextTick, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-
|
|
2
|
-
import { at as isFunction, i as warn } from "./utils-
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
4
|
-
|
|
1
|
+
import { $t as getDocument, H as nextTick, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-dX8Dakb4.mjs";
|
|
2
|
+
import { at as isFunction, i as warn } from "./utils-VVoZ_v29.mjs";
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-C-8lOhpV.mjs";
|
|
5
4
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
5
|
function trackEscapeKeydown(node, fn) {
|
|
7
6
|
const handleKeyDown = (event) => {
|
|
@@ -11,7 +10,6 @@ function trackEscapeKeydown(node, fn) {
|
|
|
11
10
|
};
|
|
12
11
|
return addDomEvent(getDocument(node), "keydown", handleKeyDown, { capture: true });
|
|
13
12
|
}
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/shared/dismissable/layer-stack.ts
|
|
17
15
|
const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
|
|
@@ -129,7 +127,6 @@ function fireCustomEvent(el, type, detail) {
|
|
|
129
127
|
function addListenerOnce(el, type, callback) {
|
|
130
128
|
el.addEventListener(type, callback, { once: true });
|
|
131
129
|
}
|
|
132
|
-
|
|
133
130
|
//#endregion
|
|
134
131
|
//#region src/shared/dismissable/pointer-event-outside.ts
|
|
135
132
|
let originalBodyPointerEvents;
|
|
@@ -169,7 +166,6 @@ function disablePointerEventsOutside(node, persistentElements) {
|
|
|
169
166
|
cleanups.forEach((fn) => fn());
|
|
170
167
|
};
|
|
171
168
|
}
|
|
172
|
-
|
|
173
169
|
//#endregion
|
|
174
170
|
//#region src/shared/dismissable/dismissable-layer.ts
|
|
175
171
|
function trackDismissableElementImpl(node, options) {
|
|
@@ -271,6 +267,5 @@ function trackDismissableBranch(nodeOrFn, options = {}) {
|
|
|
271
267
|
cleanups.forEach((fn) => fn?.());
|
|
272
268
|
};
|
|
273
269
|
}
|
|
274
|
-
|
|
275
270
|
//#endregion
|
|
276
|
-
export { trackDismissableElement as n, trackDismissableBranch as t };
|
|
271
|
+
export { trackDismissableElement as n, trackDismissableBranch as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
const require_dom_query = require(
|
|
2
|
-
const require_utils = require(
|
|
3
|
-
const require_interact_outside = require(
|
|
4
|
-
|
|
1
|
+
const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
|
|
2
|
+
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
3
|
+
const require_interact_outside = require("./interact-outside-DRaFGdMg.cjs");
|
|
5
4
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
5
|
function trackEscapeKeydown(node, fn) {
|
|
7
6
|
const handleKeyDown = (event) => {
|
|
@@ -11,7 +10,6 @@ function trackEscapeKeydown(node, fn) {
|
|
|
11
10
|
};
|
|
12
11
|
return require_dom_query.addDomEvent(require_dom_query.getDocument(node), "keydown", handleKeyDown, { capture: true });
|
|
13
12
|
}
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/shared/dismissable/layer-stack.ts
|
|
17
15
|
const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
|
|
@@ -129,7 +127,6 @@ function fireCustomEvent(el, type, detail) {
|
|
|
129
127
|
function addListenerOnce(el, type, callback) {
|
|
130
128
|
el.addEventListener(type, callback, { once: true });
|
|
131
129
|
}
|
|
132
|
-
|
|
133
130
|
//#endregion
|
|
134
131
|
//#region src/shared/dismissable/pointer-event-outside.ts
|
|
135
132
|
let originalBodyPointerEvents;
|
|
@@ -169,7 +166,6 @@ function disablePointerEventsOutside(node, persistentElements) {
|
|
|
169
166
|
cleanups.forEach((fn) => fn());
|
|
170
167
|
};
|
|
171
168
|
}
|
|
172
|
-
|
|
173
169
|
//#endregion
|
|
174
170
|
//#region src/shared/dismissable/dismissable-layer.ts
|
|
175
171
|
function trackDismissableElementImpl(node, options) {
|
|
@@ -271,17 +267,16 @@ function trackDismissableBranch(nodeOrFn, options = {}) {
|
|
|
271
267
|
cleanups.forEach((fn) => fn?.());
|
|
272
268
|
};
|
|
273
269
|
}
|
|
274
|
-
|
|
275
270
|
//#endregion
|
|
276
|
-
Object.defineProperty(exports,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
271
|
+
Object.defineProperty(exports, "trackDismissableBranch", {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
get: function() {
|
|
274
|
+
return trackDismissableBranch;
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
Object.defineProperty(exports, "trackDismissableElement", {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
get: function() {
|
|
280
|
+
return trackDismissableElement;
|
|
281
|
+
}
|
|
281
282
|
});
|
|
282
|
-
Object.defineProperty(exports, 'trackDismissableElement', {
|
|
283
|
-
enumerable: true,
|
|
284
|
-
get: function () {
|
|
285
|
-
return trackDismissableElement;
|
|
286
|
-
}
|
|
287
|
-
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as InteractOutsideHandlers } from "./index-
|
|
2
|
-
import { t as MaybeFunction } from "./functions-
|
|
1
|
+
import { i as InteractOutsideHandlers } from "./index-DzWGFhcS.cjs";
|
|
2
|
+
import { t as MaybeFunction } from "./functions-Cm8NiR7H.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/dismissable/layer-stack.d.ts
|
|
5
5
|
type LayerType = "dialog" | "popover" | "menu" | "listbox" | (string & {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as InteractOutsideHandlers } from "./index-
|
|
2
|
-
import { t as MaybeFunction } from "./functions-
|
|
1
|
+
import { i as InteractOutsideHandlers } from "./index-CGNNiDyE.mjs";
|
|
2
|
+
import { t as MaybeFunction } from "./functions-BL9bYIFn.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/dismissable/layer-stack.d.ts
|
|
5
5
|
type LayerType = "dialog" | "popover" | "menu" | "listbox" | (string & {});
|
package/dist/dismissable.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
require(
|
|
3
|
-
require(
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("./dom-query-6Wt-Tikf.cjs");
|
|
3
|
+
require("./utils-ByNiZU8f.cjs");
|
|
4
|
+
require("./interact-outside-DRaFGdMg.cjs");
|
|
5
|
+
const require_dismissable = require("./dismissable-DPXx0m0m.cjs");
|
|
6
6
|
exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
|
|
7
|
-
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
|
7
|
+
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
package/dist/dismissable.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-
|
|
2
|
-
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-
|
|
1
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-DzWGFhcS.cjs";
|
|
2
|
+
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-ZgyqN8AD.cjs";
|
|
3
3
|
export { DismissableElementHandlers, DismissableElementOptions, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, LayerType, PersistentElementOptions, PointerDownOutsideEvent, trackDismissableBranch, trackDismissableElement };
|
package/dist/dismissable.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-
|
|
2
|
-
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-
|
|
1
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-CGNNiDyE.mjs";
|
|
2
|
+
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-h14gHVbJ.mjs";
|
|
3
3
|
export { DismissableElementHandlers, DismissableElementOptions, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, LayerType, PersistentElementOptions, PointerDownOutsideEvent, trackDismissableBranch, trackDismissableElement };
|
package/dist/dismissable.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import "./utils-
|
|
3
|
-
import "./interact-outside-
|
|
4
|
-
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-
|
|
5
|
-
|
|
6
|
-
export { trackDismissableBranch, trackDismissableElement };
|
|
1
|
+
import "./dom-query-dX8Dakb4.mjs";
|
|
2
|
+
import "./utils-VVoZ_v29.mjs";
|
|
3
|
+
import "./interact-outside-C-8lOhpV.mjs";
|
|
4
|
+
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-BAYaXwxZ.mjs";
|
|
5
|
+
export { trackDismissableBranch, trackDismissableElement };
|