@sprawlify/primitives 0.0.86 → 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 +2 -2
- package/dist/core.d.mts +2 -2
- 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 +6 -6
- package/dist/dom-query.d.mts +6 -6
- 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 +2 -2
- package/dist/machines/accordion/index.d.mts +3 -3
- 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 +2 -2
- package/dist/machines/aspect-ratio/index.d.mts +3 -3
- 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 +3 -3
- package/dist/machines/editable/index.d.mts +4 -4
- 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 +2 -2
- package/dist/machines/image-cropper/index.d.mts +3 -3
- 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 +2 -2
- package/dist/machines/pin-input/index.d.mts +3 -3
- 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 +3 -3
- package/dist/machines/signature-pad/index.d.mts +4 -4
- 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 +2 -2
- package/dist/machines/splitter/index.d.mts +3 -3
- 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,15 +1,13 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { M as getOverflowAncestors, bt as isLeftClick, ct as addDomEvent, ht as isComposingEvent, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { c as createStore, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
6
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
7
|
-
import { t as createProps } from "../../create-props-
|
|
8
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { M as getOverflowAncestors, bt as isLeftClick, ct as addDomEvent, ht as isComposingEvent, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { c as createStore, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-CSuBQ5QZ.mjs";
|
|
6
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-CfOHZlHP.mjs";
|
|
7
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
9
8
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
10
9
|
const anatomy = createAnatomy("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content");
|
|
11
10
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
11
|
//#endregion
|
|
14
12
|
//#region src/machines/tooltip/tooltip.dom.ts
|
|
15
13
|
const getTriggerId = (scope) => scope.ids?.trigger ?? `tooltip:${scope.id}:trigger`;
|
|
@@ -18,7 +16,6 @@ const getArrowId = (scope) => scope.ids?.arrow ?? `tooltip:${scope.id}:arrow`;
|
|
|
18
16
|
const getPositionerId = (scope) => scope.ids?.positioner ?? `tooltip:${scope.id}:popper`;
|
|
19
17
|
const getTriggerEl = (scope) => scope.getById(getTriggerId(scope));
|
|
20
18
|
const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
21
|
-
|
|
22
19
|
//#endregion
|
|
23
20
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
21
|
const store = createStore({
|
|
@@ -26,7 +23,6 @@ const store = createStore({
|
|
|
26
23
|
prevId: null,
|
|
27
24
|
instant: false
|
|
28
25
|
});
|
|
29
|
-
|
|
30
26
|
//#endregion
|
|
31
27
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
32
28
|
function connect(service, normalize) {
|
|
@@ -169,7 +165,6 @@ function connect(service, normalize) {
|
|
|
169
165
|
}
|
|
170
166
|
};
|
|
171
167
|
}
|
|
172
|
-
|
|
173
168
|
//#endregion
|
|
174
169
|
//#region src/machines/tooltip/tooltip.machine.ts
|
|
175
170
|
const { and, not } = createGuards();
|
|
@@ -502,7 +497,6 @@ const machine = createMachine({
|
|
|
502
497
|
}
|
|
503
498
|
}
|
|
504
499
|
});
|
|
505
|
-
|
|
506
500
|
//#endregion
|
|
507
501
|
//#region src/machines/tooltip/tooltip.props.ts
|
|
508
502
|
const props = createProps()([
|
|
@@ -525,6 +519,5 @@ const props = createProps()([
|
|
|
525
519
|
"positioning"
|
|
526
520
|
]);
|
|
527
521
|
const splitProps = createSplitProps(props);
|
|
528
|
-
|
|
529
522
|
//#endregion
|
|
530
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
523
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_interact_outside = require("../../interact-outside-DRaFGdMg.cjs");
|
|
7
|
+
const require_dismissable = require("../../dismissable-DPXx0m0m.cjs");
|
|
8
|
+
const require_focus_trap = require("../../focus-trap-ClCNF7kY.cjs");
|
|
9
|
+
const require_popper = require("../../popper-zq1F_iY8.cjs");
|
|
10
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
11
11
|
//#region src/machines/tour/tour.anatomy.ts
|
|
12
12
|
const anatomy = require_create_anatomy.createAnatomy("tour").parts("content", "actionTrigger", "closeTrigger", "progressText", "title", "description", "positioner", "arrow", "arrowTip", "backdrop", "spotlight");
|
|
13
13
|
const parts = anatomy.build();
|
|
14
|
-
|
|
15
14
|
//#endregion
|
|
16
15
|
//#region src/machines/tour/tour.dom.ts
|
|
17
16
|
const getPositionerId = (ctx) => ctx.ids?.positioner ?? `tour:${ctx.id}:positioner`;
|
|
@@ -37,7 +36,6 @@ function syncZIndex(scope) {
|
|
|
37
36
|
if (backdropEl) backdropEl.style.setProperty("--z-index", styles.zIndex);
|
|
38
37
|
});
|
|
39
38
|
}
|
|
40
|
-
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region src/machines/tour/utils/clip-path.ts
|
|
43
41
|
function getClipPath(options) {
|
|
@@ -65,7 +63,6 @@ function getClipPath(options) {
|
|
|
65
63
|
a${topRight},${topRight},0,0,0-${topRight}-${topRight}\
|
|
66
64
|
Z`;
|
|
67
65
|
}
|
|
68
|
-
|
|
69
66
|
//#endregion
|
|
70
67
|
//#region src/machines/tour/utils/step.ts
|
|
71
68
|
const isTooltipStep = (step) => {
|
|
@@ -118,7 +115,6 @@ const findStep = (steps, id) => {
|
|
|
118
115
|
const findStepIndex = (steps, id) => {
|
|
119
116
|
return id != null ? steps.findIndex((step) => step.id === id) : -1;
|
|
120
117
|
};
|
|
121
|
-
|
|
122
118
|
//#endregion
|
|
123
119
|
//#region src/machines/tour/tour.connect.ts
|
|
124
120
|
function connect(service, normalize) {
|
|
@@ -426,7 +422,6 @@ function connect(service, normalize) {
|
|
|
426
422
|
}
|
|
427
423
|
};
|
|
428
424
|
}
|
|
429
|
-
|
|
430
425
|
//#endregion
|
|
431
426
|
//#region src/machines/tour/utils/rect.ts
|
|
432
427
|
function getFrameElement(win) {
|
|
@@ -466,7 +461,6 @@ function offset(r, i) {
|
|
|
466
461
|
height: r.height + dy + dy
|
|
467
462
|
};
|
|
468
463
|
}
|
|
469
|
-
|
|
470
464
|
//#endregion
|
|
471
465
|
//#region src/machines/tour/tour.machine.ts
|
|
472
466
|
const { and } = require_core.createGuards();
|
|
@@ -1053,7 +1047,6 @@ var StepManager = class {
|
|
|
1053
1047
|
});
|
|
1054
1048
|
}
|
|
1055
1049
|
};
|
|
1056
|
-
|
|
1057
1050
|
//#endregion
|
|
1058
1051
|
//#region src/machines/tour/tour.props.ts
|
|
1059
1052
|
const props = require_create_props.createProps()([
|
|
@@ -1078,7 +1071,6 @@ const props = require_create_props.createProps()([
|
|
|
1078
1071
|
"translations"
|
|
1079
1072
|
]);
|
|
1080
1073
|
const splitProps = require_utils.createSplitProps(props);
|
|
1081
|
-
|
|
1082
1074
|
//#endregion
|
|
1083
1075
|
//#region src/machines/tour/utils/wait.ts
|
|
1084
1076
|
function waitForElementValue(target, value, options) {
|
|
@@ -1097,7 +1089,6 @@ function waitForElementValue(target, value, options) {
|
|
|
1097
1089
|
el.addEventListener("input", checkValue, { signal: controller.signal });
|
|
1098
1090
|
}), controller, timeout);
|
|
1099
1091
|
}
|
|
1100
|
-
|
|
1101
1092
|
//#endregion
|
|
1102
1093
|
exports.anatomy = anatomy;
|
|
1103
1094
|
exports.connect = connect;
|
|
@@ -1106,4 +1097,4 @@ exports.props = props;
|
|
|
1106
1097
|
exports.splitProps = splitProps;
|
|
1107
1098
|
exports.waitForElement = require_dom_query.waitForElement;
|
|
1108
1099
|
exports.waitForElementValue = waitForElementValue;
|
|
1109
|
-
exports.waitForPromise = require_dom_query.waitForPromise;
|
|
1100
|
+
exports.waitForPromise = require_dom_query.waitForPromise;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-
|
|
5
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
6
|
-
import { c as Placement } from "../../types-
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
|
+
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-DGDBtAM2.cjs";
|
|
5
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
6
|
+
import { c as Placement } from "../../types-DEn9MoSw.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"content" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "arrow" | "arrowTip" | "positioner" | "backdrop" | "title" | "description" | "closeTrigger" | "actionTrigger" | "progressText" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-
|
|
5
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
6
|
-
import { u as Placement } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
|
+
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-CV7JYddH.mjs";
|
|
5
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
6
|
+
import { u as Placement } from "../../index-DHp3-EkH.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"content" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "arrow" | "arrowTip" | "positioner" | "backdrop" | "title" | "description" | "closeTrigger" | "actionTrigger" | "progressText" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { W as raf, Xt as getComputedStyle$1, Zt as contains, in as getWindow, r as waitForPromise, t as waitForElement, un as isHTMLElement, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { Et as nextIndex, dt as isString, ft as isEqual, i as warn, kt as prevIndex, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-
|
|
5
|
-
import { t as trackInteractOutside } from "../../interact-outside-
|
|
6
|
-
import { t as trackDismissableBranch } from "../../dismissable-
|
|
7
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
8
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
9
|
-
import { t as createProps } from "../../create-props-
|
|
10
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { W as raf, Xt as getComputedStyle$1, Zt as contains, in as getWindow, r as waitForPromise, t as waitForElement, un as isHTMLElement, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { Et as nextIndex, dt as isString, ft as isEqual, i as warn, kt as prevIndex, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { t as trackInteractOutside } from "../../interact-outside-C-8lOhpV.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-BAYaXwxZ.mjs";
|
|
7
|
+
import { t as trapFocus } from "../../focus-trap-Cd09JaUn.mjs";
|
|
8
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-CfOHZlHP.mjs";
|
|
9
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
10
|
//#region src/machines/tour/tour.anatomy.ts
|
|
12
11
|
const anatomy = createAnatomy("tour").parts("content", "actionTrigger", "closeTrigger", "progressText", "title", "description", "positioner", "arrow", "arrowTip", "backdrop", "spotlight");
|
|
13
12
|
const parts = anatomy.build();
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/machines/tour/tour.dom.ts
|
|
17
15
|
const getPositionerId = (ctx) => ctx.ids?.positioner ?? `tour:${ctx.id}:positioner`;
|
|
@@ -37,7 +35,6 @@ function syncZIndex(scope) {
|
|
|
37
35
|
if (backdropEl) backdropEl.style.setProperty("--z-index", styles.zIndex);
|
|
38
36
|
});
|
|
39
37
|
}
|
|
40
|
-
|
|
41
38
|
//#endregion
|
|
42
39
|
//#region src/machines/tour/utils/clip-path.ts
|
|
43
40
|
function getClipPath(options) {
|
|
@@ -65,7 +62,6 @@ function getClipPath(options) {
|
|
|
65
62
|
a${topRight},${topRight},0,0,0-${topRight}-${topRight}\
|
|
66
63
|
Z`;
|
|
67
64
|
}
|
|
68
|
-
|
|
69
65
|
//#endregion
|
|
70
66
|
//#region src/machines/tour/utils/step.ts
|
|
71
67
|
const isTooltipStep = (step) => {
|
|
@@ -118,7 +114,6 @@ const findStep = (steps, id) => {
|
|
|
118
114
|
const findStepIndex = (steps, id) => {
|
|
119
115
|
return id != null ? steps.findIndex((step) => step.id === id) : -1;
|
|
120
116
|
};
|
|
121
|
-
|
|
122
117
|
//#endregion
|
|
123
118
|
//#region src/machines/tour/tour.connect.ts
|
|
124
119
|
function connect(service, normalize) {
|
|
@@ -426,7 +421,6 @@ function connect(service, normalize) {
|
|
|
426
421
|
}
|
|
427
422
|
};
|
|
428
423
|
}
|
|
429
|
-
|
|
430
424
|
//#endregion
|
|
431
425
|
//#region src/machines/tour/utils/rect.ts
|
|
432
426
|
function getFrameElement(win) {
|
|
@@ -466,7 +460,6 @@ function offset(r, i) {
|
|
|
466
460
|
height: r.height + dy + dy
|
|
467
461
|
};
|
|
468
462
|
}
|
|
469
|
-
|
|
470
463
|
//#endregion
|
|
471
464
|
//#region src/machines/tour/tour.machine.ts
|
|
472
465
|
const { and } = createGuards();
|
|
@@ -1053,7 +1046,6 @@ var StepManager = class {
|
|
|
1053
1046
|
});
|
|
1054
1047
|
}
|
|
1055
1048
|
};
|
|
1056
|
-
|
|
1057
1049
|
//#endregion
|
|
1058
1050
|
//#region src/machines/tour/tour.props.ts
|
|
1059
1051
|
const props = createProps()([
|
|
@@ -1078,7 +1070,6 @@ const props = createProps()([
|
|
|
1078
1070
|
"translations"
|
|
1079
1071
|
]);
|
|
1080
1072
|
const splitProps = createSplitProps(props);
|
|
1081
|
-
|
|
1082
1073
|
//#endregion
|
|
1083
1074
|
//#region src/machines/tour/utils/wait.ts
|
|
1084
1075
|
function waitForElementValue(target, value, options) {
|
|
@@ -1097,6 +1088,5 @@ function waitForElementValue(target, value, options) {
|
|
|
1097
1088
|
el.addEventListener("input", checkValue, { signal: controller.signal });
|
|
1098
1089
|
}), controller, timeout);
|
|
1099
1090
|
}
|
|
1100
|
-
|
|
1101
1091
|
//#endregion
|
|
1102
|
-
export { anatomy, connect, machine, props, splitProps, waitForElement, waitForElementValue, waitForPromise };
|
|
1092
|
+
export { anatomy, connect, machine, props, splitProps, waitForElement, waitForElementValue, waitForPromise };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_collection = require("../../collection-DZeodezM.cjs");
|
|
6
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("tree-view").parts("branch", "branchContent", "branchControl", "branchIndentGuide", "branchIndicator", "branchText", "branchTrigger", "item", "itemIndicator", "itemText", "label", "nodeCheckbox", "nodeRenameInput", "root", "tree");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/tree-view/tree-view.collection.ts
|
|
14
13
|
const collection = (options) => {
|
|
@@ -20,7 +19,6 @@ collection.empty = () => {
|
|
|
20
19
|
function filePathCollection(paths) {
|
|
21
20
|
return require_collection.filePathToTree(paths);
|
|
22
21
|
}
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/machines/tree-view/tree-view.dom.ts
|
|
26
24
|
const getRootId = (ctx) => ctx.ids?.root ?? `tree-view:${ctx.id}:root`;
|
|
@@ -35,7 +33,6 @@ const getRenameInputId = (ctx, value) => `tree-view:${ctx.id}:rename-input:${val
|
|
|
35
33
|
const getRenameInputEl = (ctx, value) => {
|
|
36
34
|
return ctx.getById(getRenameInputId(ctx, value));
|
|
37
35
|
};
|
|
38
|
-
|
|
39
36
|
//#endregion
|
|
40
37
|
//#region src/machines/tree-view/utils/checked-state.ts
|
|
41
38
|
function getCheckedState(collection, node, checkedValue) {
|
|
@@ -63,7 +60,6 @@ function getCheckedValueMap(collection, checkedValue) {
|
|
|
63
60
|
} });
|
|
64
61
|
return map;
|
|
65
62
|
}
|
|
66
|
-
|
|
67
63
|
//#endregion
|
|
68
64
|
//#region src/machines/tree-view/tree-view.connect.ts
|
|
69
65
|
function connect(service, normalize) {
|
|
@@ -607,7 +603,6 @@ function connect(service, normalize) {
|
|
|
607
603
|
}
|
|
608
604
|
};
|
|
609
605
|
}
|
|
610
|
-
|
|
611
606
|
//#endregion
|
|
612
607
|
//#region src/machines/tree-view/utils/expand-branch.ts
|
|
613
608
|
function expandBranches(params, values) {
|
|
@@ -694,7 +689,6 @@ function expandBranches(params, values) {
|
|
|
694
689
|
if (nodeWithErrors.length) prop("onLoadChildrenError")?.({ nodes: nodeWithErrors });
|
|
695
690
|
});
|
|
696
691
|
}
|
|
697
|
-
|
|
698
692
|
//#endregion
|
|
699
693
|
//#region src/machines/tree-view/utils/visit-skip.ts
|
|
700
694
|
function skipFn(params) {
|
|
@@ -703,7 +697,6 @@ function skipFn(params) {
|
|
|
703
697
|
return prop("collection").getValuePath(indexPath).slice(0, -1).some((value) => !context.get("expandedValue").includes(value));
|
|
704
698
|
};
|
|
705
699
|
}
|
|
706
|
-
|
|
707
700
|
//#endregion
|
|
708
701
|
//#region src/machines/tree-view/tree-view.machine.ts
|
|
709
702
|
const { and } = require_core.createGuards();
|
|
@@ -1227,7 +1220,6 @@ function scrollToNode(params, value) {
|
|
|
1227
1220
|
}
|
|
1228
1221
|
return false;
|
|
1229
1222
|
}
|
|
1230
|
-
|
|
1231
1223
|
//#endregion
|
|
1232
1224
|
//#region src/machines/tree-view/tree-view.props.ts
|
|
1233
1225
|
const props = require_create_props.createProps()([
|
|
@@ -1263,7 +1255,6 @@ const props = require_create_props.createProps()([
|
|
|
1263
1255
|
const splitProps = require_utils.createSplitProps(props);
|
|
1264
1256
|
const itemProps = require_create_props.createProps()(["node", "indexPath"]);
|
|
1265
1257
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
1266
|
-
|
|
1267
1258
|
//#endregion
|
|
1268
1259
|
exports.anatomy = anatomy;
|
|
1269
1260
|
exports.collection = collection;
|
|
@@ -1273,4 +1264,4 @@ exports.itemProps = itemProps;
|
|
|
1273
1264
|
exports.machine = machine;
|
|
1274
1265
|
exports.props = props;
|
|
1275
1266
|
exports.splitItemProps = splitItemProps;
|
|
1276
|
-
exports.splitProps = splitProps;
|
|
1267
|
+
exports.splitProps = splitProps;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-
|
|
3
|
-
import { t as TreeCollection } from "../../tree-collection-
|
|
4
|
-
import { p as Machine, y as Service } from "../../types-
|
|
5
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
6
|
-
import { n as TypeaheadState } from "../../typeahead-
|
|
2
|
+
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-D-7AMgSE.cjs";
|
|
3
|
+
import { t as TreeCollection } from "../../tree-collection-DjtppzYh.cjs";
|
|
4
|
+
import { p as Machine, y as Service } from "../../types-B24gMTKq.cjs";
|
|
5
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
6
|
+
import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "label" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-
|
|
3
|
-
import { t as TreeCollection } from "../../tree-collection-
|
|
4
|
-
import { p as Machine, y as Service } from "../../types-
|
|
5
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
6
|
-
import { n as TypeaheadState } from "../../typeahead-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-9uw8LHpE.mjs";
|
|
3
|
+
import { t as TreeCollection } from "../../tree-collection-DlBCued7.mjs";
|
|
4
|
+
import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
5
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
6
|
+
import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "label" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { W as raf, bt as isLeftClick, cn as isEditableElement, ht as isComposingEvent, on as isAnchorElement, ot as setElementValue, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, xt as isModifierKey, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-
|
|
4
|
-
import { n as filePathToTree, t as TreeCollection } from "../../collection-
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
-
import { t as createProps } from "../../create-props-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { W as raf, bt as isLeftClick, cn as isEditableElement, ht as isComposingEvent, on as isAnchorElement, ot as setElementValue, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, xt as isModifierKey, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { n as filePathToTree, t as TreeCollection } from "../../collection-CcsrqDFY.mjs";
|
|
5
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
6
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
7
|
//#region src/machines/tree-view/tree-view.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("tree-view").parts("branch", "branchContent", "branchControl", "branchIndentGuide", "branchIndicator", "branchText", "branchTrigger", "item", "itemIndicator", "itemText", "label", "nodeCheckbox", "nodeRenameInput", "root", "tree");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/tree-view/tree-view.collection.ts
|
|
14
12
|
const collection = (options) => {
|
|
@@ -20,7 +18,6 @@ collection.empty = () => {
|
|
|
20
18
|
function filePathCollection(paths) {
|
|
21
19
|
return filePathToTree(paths);
|
|
22
20
|
}
|
|
23
|
-
|
|
24
21
|
//#endregion
|
|
25
22
|
//#region src/machines/tree-view/tree-view.dom.ts
|
|
26
23
|
const getRootId = (ctx) => ctx.ids?.root ?? `tree-view:${ctx.id}:root`;
|
|
@@ -35,7 +32,6 @@ const getRenameInputId = (ctx, value) => `tree-view:${ctx.id}:rename-input:${val
|
|
|
35
32
|
const getRenameInputEl = (ctx, value) => {
|
|
36
33
|
return ctx.getById(getRenameInputId(ctx, value));
|
|
37
34
|
};
|
|
38
|
-
|
|
39
35
|
//#endregion
|
|
40
36
|
//#region src/machines/tree-view/utils/checked-state.ts
|
|
41
37
|
function getCheckedState(collection, node, checkedValue) {
|
|
@@ -63,7 +59,6 @@ function getCheckedValueMap(collection, checkedValue) {
|
|
|
63
59
|
} });
|
|
64
60
|
return map;
|
|
65
61
|
}
|
|
66
|
-
|
|
67
62
|
//#endregion
|
|
68
63
|
//#region src/machines/tree-view/tree-view.connect.ts
|
|
69
64
|
function connect(service, normalize) {
|
|
@@ -607,7 +602,6 @@ function connect(service, normalize) {
|
|
|
607
602
|
}
|
|
608
603
|
};
|
|
609
604
|
}
|
|
610
|
-
|
|
611
605
|
//#endregion
|
|
612
606
|
//#region src/machines/tree-view/utils/expand-branch.ts
|
|
613
607
|
function expandBranches(params, values) {
|
|
@@ -694,7 +688,6 @@ function expandBranches(params, values) {
|
|
|
694
688
|
if (nodeWithErrors.length) prop("onLoadChildrenError")?.({ nodes: nodeWithErrors });
|
|
695
689
|
});
|
|
696
690
|
}
|
|
697
|
-
|
|
698
691
|
//#endregion
|
|
699
692
|
//#region src/machines/tree-view/utils/visit-skip.ts
|
|
700
693
|
function skipFn(params) {
|
|
@@ -703,7 +696,6 @@ function skipFn(params) {
|
|
|
703
696
|
return prop("collection").getValuePath(indexPath).slice(0, -1).some((value) => !context.get("expandedValue").includes(value));
|
|
704
697
|
};
|
|
705
698
|
}
|
|
706
|
-
|
|
707
699
|
//#endregion
|
|
708
700
|
//#region src/machines/tree-view/tree-view.machine.ts
|
|
709
701
|
const { and } = createGuards();
|
|
@@ -1227,7 +1219,6 @@ function scrollToNode(params, value) {
|
|
|
1227
1219
|
}
|
|
1228
1220
|
return false;
|
|
1229
1221
|
}
|
|
1230
|
-
|
|
1231
1222
|
//#endregion
|
|
1232
1223
|
//#region src/machines/tree-view/tree-view.props.ts
|
|
1233
1224
|
const props = createProps()([
|
|
@@ -1263,6 +1254,5 @@ const props = createProps()([
|
|
|
1263
1254
|
const splitProps = createSplitProps(props);
|
|
1264
1255
|
const itemProps = createProps()(["node", "indexPath"]);
|
|
1265
1256
|
const splitItemProps = createSplitProps(itemProps);
|
|
1266
|
-
|
|
1267
1257
|
//#endregion
|
|
1268
|
-
export { anatomy, collection, connect, filePathCollection, itemProps, machine, props, splitItemProps, splitProps };
|
|
1258
|
+
export { anatomy, collection, connect, filePathCollection, itemProps, machine, props, splitItemProps, splitProps };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-
|
|
2
|
-
import { X as noop, l as compact, ot as isNull } from "./utils-
|
|
1
|
+
import { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-dX8Dakb4.mjs";
|
|
2
|
+
import { X as noop, l as compact, ot as isNull } from "./utils-VVoZ_v29.mjs";
|
|
3
3
|
import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
|
|
4
|
-
|
|
5
4
|
//#region src/shared/popper/get-anchor.ts
|
|
6
5
|
function createDOMRect(x = 0, y = 0, width = 0, height = 0) {
|
|
7
6
|
if (typeof DOMRect === "function") return new DOMRect(x, y, width, height);
|
|
@@ -36,7 +35,6 @@ function getAnchorElement(anchorElement, getAnchorRect) {
|
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
|
|
40
38
|
//#endregion
|
|
41
39
|
//#region src/shared/popper/middleware.ts
|
|
42
40
|
const toVar = (value) => ({
|
|
@@ -106,7 +104,6 @@ const shiftArrowMiddleware = (arrowEl) => {
|
|
|
106
104
|
}
|
|
107
105
|
};
|
|
108
106
|
};
|
|
109
|
-
|
|
110
107
|
//#endregion
|
|
111
108
|
//#region src/shared/popper/placement.ts
|
|
112
109
|
function isValidPlacement(v) {
|
|
@@ -123,7 +120,6 @@ function getPlacementDetails(placement) {
|
|
|
123
120
|
function getPlacementSide(placement) {
|
|
124
121
|
return placement.split("-")[0];
|
|
125
122
|
}
|
|
126
|
-
|
|
127
123
|
//#endregion
|
|
128
124
|
//#region src/shared/popper/get-placement.ts
|
|
129
125
|
const defaultOptions = {
|
|
@@ -300,7 +296,6 @@ function getPlacement(referenceOrFn, floatingOrFn, opts = {}) {
|
|
|
300
296
|
cleanups.forEach((fn) => fn?.());
|
|
301
297
|
};
|
|
302
298
|
}
|
|
303
|
-
|
|
304
299
|
//#endregion
|
|
305
300
|
//#region src/shared/popper/get-styles.ts
|
|
306
301
|
const ARROW_FLOATING_STYLE = {
|
|
@@ -344,6 +339,5 @@ function getPlacementStyles(options = {}) {
|
|
|
344
339
|
}
|
|
345
340
|
};
|
|
346
341
|
}
|
|
347
|
-
|
|
348
342
|
//#endregion
|
|
349
|
-
export { isValidPlacement as i, getPlacement as n, getPlacementSide as r, getPlacementStyles as t };
|
|
343
|
+
export { isValidPlacement as i, getPlacement as n, getPlacementSide as r, getPlacementStyles as t };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
const require_dom_query = require(
|
|
3
|
-
const require_utils = require(
|
|
1
|
+
require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
|
|
3
|
+
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
4
4
|
let _floating_ui_dom = require("@floating-ui/dom");
|
|
5
|
-
|
|
6
5
|
//#region src/shared/popper/get-anchor.ts
|
|
7
6
|
function createDOMRect(x = 0, y = 0, width = 0, height = 0) {
|
|
8
7
|
if (typeof DOMRect === "function") return new DOMRect(x, y, width, height);
|
|
@@ -37,7 +36,6 @@ function getAnchorElement(anchorElement, getAnchorRect) {
|
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
|
-
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region src/shared/popper/middleware.ts
|
|
43
41
|
const toVar = (value) => ({
|
|
@@ -107,7 +105,6 @@ const shiftArrowMiddleware = (arrowEl) => {
|
|
|
107
105
|
}
|
|
108
106
|
};
|
|
109
107
|
};
|
|
110
|
-
|
|
111
108
|
//#endregion
|
|
112
109
|
//#region src/shared/popper/placement.ts
|
|
113
110
|
function isValidPlacement(v) {
|
|
@@ -124,7 +121,6 @@ function getPlacementDetails(placement) {
|
|
|
124
121
|
function getPlacementSide(placement) {
|
|
125
122
|
return placement.split("-")[0];
|
|
126
123
|
}
|
|
127
|
-
|
|
128
124
|
//#endregion
|
|
129
125
|
//#region src/shared/popper/get-placement.ts
|
|
130
126
|
const defaultOptions = {
|
|
@@ -301,7 +297,6 @@ function getPlacement(referenceOrFn, floatingOrFn, opts = {}) {
|
|
|
301
297
|
cleanups.forEach((fn) => fn?.());
|
|
302
298
|
};
|
|
303
299
|
}
|
|
304
|
-
|
|
305
300
|
//#endregion
|
|
306
301
|
//#region src/shared/popper/get-styles.ts
|
|
307
302
|
const ARROW_FLOATING_STYLE = {
|
|
@@ -345,29 +340,28 @@ function getPlacementStyles(options = {}) {
|
|
|
345
340
|
}
|
|
346
341
|
};
|
|
347
342
|
}
|
|
348
|
-
|
|
349
343
|
//#endregion
|
|
350
|
-
Object.defineProperty(exports,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
344
|
+
Object.defineProperty(exports, "getPlacement", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function() {
|
|
347
|
+
return getPlacement;
|
|
348
|
+
}
|
|
355
349
|
});
|
|
356
|
-
Object.defineProperty(exports,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
350
|
+
Object.defineProperty(exports, "getPlacementSide", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function() {
|
|
353
|
+
return getPlacementSide;
|
|
354
|
+
}
|
|
361
355
|
});
|
|
362
|
-
Object.defineProperty(exports,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
356
|
+
Object.defineProperty(exports, "getPlacementStyles", {
|
|
357
|
+
enumerable: true,
|
|
358
|
+
get: function() {
|
|
359
|
+
return getPlacementStyles;
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
Object.defineProperty(exports, "isValidPlacement", {
|
|
363
|
+
enumerable: true,
|
|
364
|
+
get: function() {
|
|
365
|
+
return isValidPlacement;
|
|
366
|
+
}
|
|
367
367
|
});
|
|
368
|
-
Object.defineProperty(exports, 'isValidPlacement', {
|
|
369
|
-
enumerable: true,
|
|
370
|
-
get: function () {
|
|
371
|
-
return isValidPlacement;
|
|
372
|
-
}
|
|
373
|
-
});
|