@sprawlify/primitives 0.0.31 → 0.0.33
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/{aria-hidden-DIoJxbA3.mjs → aria-hidden-Bq1drpzH.mjs} +1 -1
- package/dist/{aria-hidden-DtLU6hSU.cjs → aria-hidden-DSdN9ih2.cjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-xzlPFDyD.cjs → auto-resize-Bh8HjZd5.cjs} +1 -1
- package/dist/{auto-resize-L6Oqa0lE.mjs → auto-resize-DLuF3IFp.mjs} +1 -1
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +2 -2
- package/dist/{collection-DrxGD6r-.cjs → collection-C26svdLV.cjs} +2 -2
- package/dist/{collection-Don0IqzY.mjs → collection-CIpGDBdt.mjs} +2 -2
- package/dist/collection.cjs +2 -2
- package/dist/collection.mjs +2 -2
- package/dist/{color-utils-CjwofPil.mjs → color-utils-DGt9e4DC.mjs} +2 -2
- package/dist/{color-utils-grkMlPoh.cjs → color-utils-ZGUFwZHm.cjs} +2 -2
- package/dist/color-utils.cjs +2 -2
- package/dist/color-utils.mjs +2 -2
- package/dist/{core-DVmt6PX7.mjs → core-BLrKf6Qi.mjs} +2 -2
- package/dist/{core-DHn58LRl.cjs → core-BXoiGBfo.cjs} +2 -2
- package/dist/core.cjs +3 -3
- package/dist/core.d.cts +48 -2
- package/dist/core.d.mts +48 -2
- package/dist/core.mjs +3 -3
- package/dist/{date-utils-D2xPHa_I.cjs → date-utils-_Hu9b5fQ.cjs} +45 -45
- package/dist/date-utils.cjs +1 -1
- package/dist/date-utils.d.cts +1 -1
- package/dist/date-utils.d.mts +1 -1
- package/dist/{defineProperty-Cql4jybt.mjs → defineProperty-Bzw41Glr.mjs} +4 -4
- package/dist/{defineProperty-BoUOT9Ie.cjs → defineProperty-CTuz_M0G.cjs} +4 -4
- package/dist/{dismissable-rIq_LmT8.cjs → dismissable-DAGPnT9O.cjs} +3 -3
- package/dist/{dismissable-layer-DmvOBneO.d.cts → dismissable-layer-C39y-V3t.d.mts} +2 -2
- package/dist/{dismissable-layer-xYn_dIUQ.d.mts → dismissable-layer-D-7fwQL8.d.cts} +2 -2
- package/dist/{dismissable-CyZwVu7n.mjs → dismissable-xKLesXM6.mjs} +3 -3
- package/dist/dismissable.cjs +4 -4
- package/dist/dismissable.d.cts +2 -2
- package/dist/dismissable.d.mts +2 -2
- package/dist/dismissable.mjs +4 -4
- package/dist/{dom-query-Bwyyt0Vp.mjs → dom-query-BaSlGC4X.mjs} +1 -1
- package/dist/{dom-query-CWZdWUGp.cjs → dom-query-fmUvyB3x.cjs} +1 -1
- package/dist/dom-query.cjs +1 -1
- package/dist/dom-query.d.cts +7 -7
- package/dist/dom-query.d.mts +7 -7
- package/dist/dom-query.mjs +1 -1
- package/dist/file-utils.d.cts +1 -1
- package/dist/file-utils.d.mts +1 -1
- package/dist/{focus-trap-BwUy71da.cjs → focus-trap-9PNm7ZOS.cjs} +2 -2
- package/dist/{focus-trap-Bw_WJq_d.mjs → focus-trap-zo20IBVh.mjs} +2 -2
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-BVOZnp76.cjs → focus-visible-BHSdwdWA.cjs} +1 -1
- package/dist/{focus-visible-BKLakzc7.mjs → focus-visible-D6iSwUgD.mjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/hotkeys.cjs +1 -1
- package/dist/hotkeys.mjs +1 -1
- package/dist/{i18n-utils-DCz8B6DF.mjs → i18n-utils-BYlbN_An.mjs} +1 -1
- package/dist/{i18n-utils-B8IY1mOh.cjs → i18n-utils-DNxuEaJv.cjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{interact-outside-Dp8GERFa.cjs → interact-outside-DhVG9So9.cjs} +2 -2
- package/dist/{interact-outside-D9gKK1XW.mjs → interact-outside-DkNMPOqV.mjs} +2 -2
- package/dist/interact-outside.cjs +3 -3
- package/dist/interact-outside.d.cts +1 -1
- package/dist/interact-outside.d.mts +1 -1
- package/dist/interact-outside.mjs +3 -3
- package/dist/live-region.d.cts +1 -1
- package/dist/live-region.d.mts +1 -1
- package/dist/machines/accordion/index.cjs +3 -3
- package/dist/machines/accordion/index.d.cts +3 -3
- package/dist/machines/accordion/index.d.mts +3 -3
- package/dist/machines/accordion/index.mjs +3 -3
- package/dist/machines/angle-slider/index.cjs +4 -4
- package/dist/machines/angle-slider/index.d.cts +3 -3
- package/dist/machines/angle-slider/index.d.mts +3 -3
- package/dist/machines/angle-slider/index.mjs +4 -4
- package/dist/machines/async-list/index.cjs +3 -3
- package/dist/machines/async-list/index.d.cts +1 -1
- package/dist/machines/async-list/index.d.mts +1 -1
- package/dist/machines/async-list/index.mjs +3 -3
- package/dist/machines/avatar/index.cjs +3 -3
- package/dist/machines/avatar/index.d.cts +2 -2
- package/dist/machines/avatar/index.d.mts +2 -2
- package/dist/machines/avatar/index.mjs +3 -3
- package/dist/machines/bottom-sheet/index.cjs +9 -9
- package/dist/machines/bottom-sheet/index.d.cts +5 -5
- package/dist/machines/bottom-sheet/index.d.mts +5 -5
- package/dist/machines/bottom-sheet/index.mjs +9 -9
- package/dist/machines/carousel/index.cjs +4 -4
- package/dist/machines/carousel/index.d.cts +3 -3
- package/dist/machines/carousel/index.d.mts +3 -3
- package/dist/machines/carousel/index.mjs +4 -4
- package/dist/machines/checkbox/index.cjs +4 -4
- package/dist/machines/checkbox/index.d.cts +3 -3
- package/dist/machines/checkbox/index.d.mts +3 -3
- package/dist/machines/checkbox/index.mjs +4 -4
- package/dist/machines/clipboard/index.cjs +3 -3
- package/dist/machines/clipboard/index.d.cts +3 -3
- package/dist/machines/clipboard/index.d.mts +3 -3
- package/dist/machines/clipboard/index.mjs +3 -3
- package/dist/machines/collapsible/index.cjs +3 -3
- package/dist/machines/collapsible/index.d.cts +3 -3
- package/dist/machines/collapsible/index.d.mts +3 -3
- package/dist/machines/collapsible/index.mjs +3 -3
- package/dist/machines/color-picker/index.cjs +7 -7
- package/dist/machines/color-picker/index.d.cts +5 -5
- package/dist/machines/color-picker/index.d.mts +5 -5
- package/dist/machines/color-picker/index.mjs +7 -7
- package/dist/machines/combobox/index.cjs +7 -7
- package/dist/machines/combobox/index.d.cts +5 -5
- package/dist/machines/combobox/index.d.mts +5 -5
- package/dist/machines/combobox/index.mjs +7 -7
- package/dist/machines/date-picker/index.cjs +19 -19
- package/dist/machines/date-picker/index.d.cts +7 -7
- package/dist/machines/date-picker/index.d.mts +7 -7
- package/dist/machines/date-picker/index.mjs +6 -6
- package/dist/machines/dialog/index.cjs +8 -8
- package/dist/machines/dialog/index.d.cts +5 -5
- package/dist/machines/dialog/index.d.mts +5 -5
- package/dist/machines/dialog/index.mjs +8 -8
- package/dist/machines/editable/index.cjs +4 -4
- package/dist/machines/editable/index.d.cts +4 -4
- package/dist/machines/editable/index.d.mts +4 -4
- package/dist/machines/editable/index.mjs +4 -4
- package/dist/machines/file-upload/index.cjs +4 -4
- package/dist/machines/file-upload/index.d.cts +4 -4
- package/dist/machines/file-upload/index.d.mts +4 -4
- package/dist/machines/file-upload/index.mjs +4 -4
- package/dist/machines/floating-panel/index.cjs +4 -4
- package/dist/machines/floating-panel/index.d.cts +4 -4
- package/dist/machines/floating-panel/index.d.mts +4 -4
- package/dist/machines/floating-panel/index.mjs +4 -4
- package/dist/machines/hover-card/index.cjs +6 -6
- package/dist/machines/hover-card/index.d.cts +4 -4
- package/dist/machines/hover-card/index.d.mts +4 -4
- package/dist/machines/hover-card/index.mjs +6 -6
- package/dist/machines/image-cropper/index.cjs +3 -3
- package/dist/machines/image-cropper/index.d.cts +3 -3
- package/dist/machines/image-cropper/index.d.mts +3 -3
- package/dist/machines/image-cropper/index.mjs +3 -3
- package/dist/machines/listbox/index.cjs +5 -5
- package/dist/machines/listbox/index.d.cts +4 -4
- package/dist/machines/listbox/index.d.mts +4 -4
- package/dist/machines/listbox/index.mjs +5 -5
- package/dist/machines/marquee/index.cjs +3 -3
- package/dist/machines/marquee/index.d.cts +5 -5
- package/dist/machines/marquee/index.d.mts +5 -5
- package/dist/machines/marquee/index.mjs +3 -3
- package/dist/machines/menu/index.cjs +7 -7
- package/dist/machines/menu/index.d.cts +8 -8
- package/dist/machines/menu/index.d.mts +8 -8
- package/dist/machines/menu/index.mjs +7 -7
- package/dist/machines/navigation-menu/index.cjs +5 -5
- package/dist/machines/navigation-menu/index.d.cts +3 -3
- package/dist/machines/navigation-menu/index.d.mts +3 -3
- package/dist/machines/navigation-menu/index.mjs +5 -5
- package/dist/machines/number-input/index.cjs +5 -5
- package/dist/machines/number-input/index.d.cts +3 -3
- package/dist/machines/number-input/index.d.mts +3 -3
- package/dist/machines/number-input/index.mjs +3 -3
- package/dist/machines/pagination/index.cjs +3 -3
- package/dist/machines/pagination/index.d.cts +2 -2
- package/dist/machines/pagination/index.d.mts +2 -2
- package/dist/machines/pagination/index.mjs +3 -3
- package/dist/machines/password-input/index.cjs +3 -3
- package/dist/machines/password-input/index.d.cts +3 -3
- package/dist/machines/password-input/index.d.mts +3 -3
- package/dist/machines/password-input/index.mjs +3 -3
- package/dist/machines/pin-input/index.cjs +3 -3
- package/dist/machines/pin-input/index.d.cts +2 -2
- package/dist/machines/pin-input/index.d.mts +2 -2
- package/dist/machines/pin-input/index.mjs +3 -3
- package/dist/machines/popover/index.cjs +9 -9
- package/dist/machines/popover/index.d.cts +6 -6
- package/dist/machines/popover/index.d.mts +6 -6
- package/dist/machines/popover/index.mjs +9 -9
- package/dist/machines/presence/index.cjs +3 -3
- package/dist/machines/presence/index.d.cts +2 -2
- package/dist/machines/presence/index.d.mts +2 -2
- package/dist/machines/presence/index.mjs +3 -3
- package/dist/machines/progress/index.cjs +3 -3
- package/dist/machines/progress/index.d.cts +3 -3
- package/dist/machines/progress/index.d.mts +3 -3
- package/dist/machines/progress/index.mjs +3 -3
- package/dist/machines/qr-code/index.cjs +3 -3
- package/dist/machines/qr-code/index.d.cts +4 -4
- package/dist/machines/qr-code/index.d.mts +4 -4
- package/dist/machines/qr-code/index.mjs +3 -3
- package/dist/machines/radio-group/index.cjs +4 -4
- package/dist/machines/radio-group/index.d.cts +3 -3
- package/dist/machines/radio-group/index.d.mts +3 -3
- package/dist/machines/radio-group/index.mjs +4 -4
- package/dist/machines/rating-group/index.cjs +3 -3
- package/dist/machines/rating-group/index.d.cts +3 -3
- package/dist/machines/rating-group/index.d.mts +3 -3
- package/dist/machines/rating-group/index.mjs +3 -3
- package/dist/machines/scroll-area/index.cjs +4 -4
- package/dist/machines/scroll-area/index.d.cts +3 -3
- package/dist/machines/scroll-area/index.d.mts +3 -3
- package/dist/machines/scroll-area/index.mjs +4 -4
- package/dist/machines/select/index.cjs +7 -7
- package/dist/machines/select/index.d.cts +6 -6
- package/dist/machines/select/index.d.mts +6 -6
- package/dist/machines/select/index.mjs +7 -7
- package/dist/machines/signature-pad/index.cjs +6 -6
- package/dist/machines/signature-pad/index.d.cts +3 -3
- package/dist/machines/signature-pad/index.d.mts +3 -3
- package/dist/machines/signature-pad/index.mjs +7 -7
- package/dist/machines/slider/index.cjs +36 -6
- package/dist/machines/slider/index.d.cts +5 -4
- package/dist/machines/slider/index.d.mts +5 -4
- package/dist/machines/slider/index.mjs +36 -6
- package/dist/machines/splitter/index.cjs +3 -3
- package/dist/machines/splitter/index.d.cts +2 -2
- package/dist/machines/splitter/index.d.mts +2 -2
- package/dist/machines/splitter/index.mjs +3 -3
- package/dist/machines/steps/index.cjs +3 -3
- package/dist/machines/steps/index.d.cts +3 -3
- package/dist/machines/steps/index.d.mts +3 -3
- package/dist/machines/steps/index.mjs +3 -3
- package/dist/machines/switch/index.cjs +4 -4
- package/dist/machines/switch/index.d.cts +3 -3
- package/dist/machines/switch/index.d.mts +3 -3
- package/dist/machines/switch/index.mjs +4 -4
- package/dist/machines/tabs/index.cjs +3 -3
- package/dist/machines/tabs/index.d.cts +3 -3
- package/dist/machines/tabs/index.d.mts +3 -3
- package/dist/machines/tabs/index.mjs +3 -3
- package/dist/machines/tags-input/index.cjs +5 -5
- package/dist/machines/tags-input/index.d.cts +5 -5
- package/dist/machines/tags-input/index.d.mts +5 -5
- package/dist/machines/tags-input/index.mjs +5 -5
- package/dist/machines/timer/index.cjs +3 -3
- package/dist/machines/timer/index.d.cts +3 -3
- package/dist/machines/timer/index.d.mts +3 -3
- package/dist/machines/timer/index.mjs +3 -3
- package/dist/machines/toast/index.cjs +7 -7
- package/dist/machines/toast/index.d.cts +5 -4
- package/dist/machines/toast/index.d.mts +5 -4
- package/dist/machines/toast/index.mjs +8 -8
- package/dist/machines/toggle/index.cjs +3 -3
- package/dist/machines/toggle/index.d.cts +2 -2
- package/dist/machines/toggle/index.d.mts +2 -2
- package/dist/machines/toggle/index.mjs +3 -3
- package/dist/machines/toggle-group/index.cjs +3 -3
- package/dist/machines/toggle-group/index.d.cts +2 -2
- package/dist/machines/toggle-group/index.d.mts +2 -2
- package/dist/machines/toggle-group/index.mjs +3 -3
- package/dist/machines/tooltip/index.cjs +5 -5
- package/dist/machines/tooltip/index.d.cts +3 -3
- package/dist/machines/tooltip/index.d.mts +3 -3
- package/dist/machines/tooltip/index.mjs +5 -5
- package/dist/machines/tour/index.cjs +7 -7
- package/dist/machines/tour/index.d.cts +6 -6
- package/dist/machines/tour/index.d.mts +6 -6
- package/dist/machines/tour/index.mjs +7 -7
- package/dist/machines/tree-view/index.cjs +4 -4
- package/dist/machines/tree-view/index.d.cts +4 -4
- package/dist/machines/tree-view/index.d.mts +4 -4
- package/dist/machines/tree-view/index.mjs +4 -4
- package/dist/{popper-CjBC91Tz.mjs → popper-BN7E_8-R.mjs} +2 -2
- package/dist/{popper-kp05O3Bm.cjs → popper-CasttusN.cjs} +12 -12
- package/dist/popper.cjs +3 -3
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/popper.mjs +3 -3
- package/dist/{rect-utils-Dp9Wvl7-.cjs → rect-utils-C-9DRQNd.cjs} +1 -1
- package/dist/{rect-utils-j6C9uZk1.mjs → rect-utils-C6Nug-pt.mjs} +1 -1
- package/dist/rect-utils.cjs +1 -1
- package/dist/rect-utils.d.cts +1 -1
- package/dist/rect-utils.d.mts +1 -1
- package/dist/rect-utils.mjs +1 -1
- package/dist/{remove-scroll-Dh9PjZFE.cjs → remove-scroll-BPLI9jr9.cjs} +1 -1
- package/dist/{remove-scroll-C73TLIgr.mjs → remove-scroll-Btia-r68.mjs} +1 -1
- package/dist/{scroll-snap-B279jSp5.mjs → scroll-snap-DY-Wmmhl.mjs} +1 -1
- package/dist/{scroll-snap-BvaE_jFu.cjs → scroll-snap-VzQ4ngQ4.cjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/{utils-BIwaJq8z.mjs → utils-B_odTlcq.mjs} +5 -5
- package/dist/{utils-CtgLe8Vv.cjs → utils-CMs0714u.cjs} +5 -5
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
- package/dist/core-75kSaDJc.d.mts +0 -49
- package/dist/core-D_pI64vx.d.cts +0 -49
- /package/dist/{data-url-BqpiKO1L.d.mts → data-url-C3ITPVRX.d.cts} +0 -0
- /package/dist/{data-url-og2AwQaU.d.cts → data-url-mcVoUiET.d.mts} +0 -0
- /package/dist/{functions-2ix8ad1e.d.cts → functions-7V6veSov.d.cts} +0 -0
- /package/dist/{functions-qoGE2jOS.d.mts → functions-CjitT5Gr.d.mts} +0 -0
- /package/dist/{index-BlM1bSkX.d.mts → index-BTi1wETB.d.mts} +0 -0
- /package/dist/{index-DYzqCFaj.d.mts → index-BqhWpjZh.d.mts} +0 -0
- /package/dist/{index-BVcPBg7R.d.mts → index-Bqw3r34-.d.cts} +0 -0
- /package/dist/{index-UNyqrBDu.d.cts → index-BuUzJjaP.d.mts} +0 -0
- /package/dist/{index-9OlOKr2i.d.mts → index-Bvn6ocEE.d.mts} +0 -0
- /package/dist/{index-DFiQyzeW.d.cts → index-C9-feK5c.d.cts} +0 -0
- /package/dist/{index-BBTkH09t.d.cts → index-CygfPLvT.d.mts} +0 -0
- /package/dist/{index-C9ajBf1B.d.mts → index-Owca7uxB.d.cts} +0 -0
- /package/dist/{node-BecR7gec.d.cts → node-CHGS3acf.d.mts} +0 -0
- /package/dist/{node-v8Pyrj9P.d.mts → node-CSsuPZVZ.d.cts} +0 -0
- /package/dist/{raf-BF2VrckK.d.cts → raf-BV1049GE.d.mts} +0 -0
- /package/dist/{raf-DX52LaVy.d.mts → raf-Cd2FGy0z.d.cts} +0 -0
- /package/dist/{typeahead-BWyD_KIb.d.cts → typeahead-BdNwVP09.d.cts} +0 -0
- /package/dist/{typeahead-BX-BWYjD.d.mts → typeahead-DMSwLv1e.d.mts} +0 -0
- /package/dist/{types-CsK6JMut.d.mts → types-D-ZRl1jP.d.mts} +0 -0
- /package/dist/{types-TUsgVjZA.d.cts → types-D5ziaMrd.d.cts} +0 -0
- /package/dist/{types-BIy26Uwn.d.cts → types-DL5AIQk5.d.mts} +0 -0
- /package/dist/{types-ByFp2QfD.d.mts → types-DddL75YY.d.cts} +0 -0
- /package/dist/{types-jyV564Ip.d.mts → types-DejIu60O.d.cts} +0 -0
- /package/dist/{types-xyuh-a2-.d.cts → types-F-0xFywm.d.cts} +0 -0
- /package/dist/{types-oh90SH45.d.cts → types-GxLIgJib.d.cts} +0 -0
- /package/dist/{types-CaxzY9yP.d.cts → types-J14X3oxU.d.mts} +0 -0
- /package/dist/{wait-for-C9QyzQj2.d.cts → wait-for-BkzY39R9.d.mts} +0 -0
- /package/dist/{wait-for-Pn6RmrHX.d.mts → wait-for-CMjPsqWk.d.cts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-Bzw41Glr.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.ts
|
|
4
4
|
function toArray(v) {
|
|
@@ -409,26 +409,26 @@ function createStore(initialState, compare = Object.is) {
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
//#endregion
|
|
412
|
-
//#region \0@oxc-project+runtime@0.
|
|
412
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/checkPrivateRedeclaration.js
|
|
413
413
|
function _checkPrivateRedeclaration(e, t) {
|
|
414
414
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region \0@oxc-project+runtime@0.
|
|
418
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldInitSpec.js
|
|
419
419
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
420
420
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
//#endregion
|
|
424
|
-
//#region \0@oxc-project+runtime@0.
|
|
424
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/assertClassBrand.js
|
|
425
425
|
function _assertClassBrand(e, t, n) {
|
|
426
426
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
427
427
|
throw new TypeError("Private element is not present on this object");
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
//#endregion
|
|
431
|
-
//#region \0@oxc-project+runtime@0.
|
|
431
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldGet2.js
|
|
432
432
|
function _classPrivateFieldGet2(s, a) {
|
|
433
433
|
return s.get(_assertClassBrand(s, a));
|
|
434
434
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_defineProperty = require('./defineProperty-
|
|
1
|
+
const require_defineProperty = require('./defineProperty-CTuz_M0G.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.ts
|
|
4
4
|
function toArray(v) {
|
|
@@ -409,26 +409,26 @@ function createStore(initialState, compare = Object.is) {
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
//#endregion
|
|
412
|
-
//#region \0@oxc-project+runtime@0.
|
|
412
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/checkPrivateRedeclaration.js
|
|
413
413
|
function _checkPrivateRedeclaration(e, t) {
|
|
414
414
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region \0@oxc-project+runtime@0.
|
|
418
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldInitSpec.js
|
|
419
419
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
420
420
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
//#endregion
|
|
424
|
-
//#region \0@oxc-project+runtime@0.
|
|
424
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/assertClassBrand.js
|
|
425
425
|
function _assertClassBrand(e, t, n) {
|
|
426
426
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
427
427
|
throw new TypeError("Private element is not present on this object");
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
//#endregion
|
|
431
|
-
//#region \0@oxc-project+runtime@0.
|
|
431
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldGet2.js
|
|
432
432
|
function _classPrivateFieldGet2(s, a) {
|
|
433
433
|
return s.get(_assertClassBrand(s, a));
|
|
434
434
|
}
|
package/dist/utils.cjs
CHANGED
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-
|
|
1
|
+
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-7V6veSov.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.d.ts
|
|
4
4
|
declare function toArray<T>(v: T | T[] | undefined | null): T[];
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-
|
|
1
|
+
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-CjitT5Gr.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.d.ts
|
|
4
4
|
declare function toArray<T>(v: T | T[] | undefined | null): T[];
|
package/dist/utils.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-
|
|
1
|
+
import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-B_odTlcq.mjs";
|
|
2
2
|
|
|
3
3
|
export { Timer, add, addOrRemove, callAll, cast, chunk, clampPercent, clampValue, clear, compact, createSplitProps, createStore, debounce, decrementValue, diff, ensure, ensureProps, first, flatArray, fromLength, getClosestValue, getClosestValueIndex, getMaxValueAtIndex, getMinValueAtIndex, getNextStepValue, getPercentValue, getPreviousStepValue, getValuePercent, getValueRanges, getValueSetterAtIndex, getValueTransformer, has, hasProp, hash, identity, incrementValue, insertAt, invariant, isArray, isBoolean, isDev, isEmpty, isEqual, isFunction, isNaN, isNull, isNumber, isObject, isObjectLike, isPlainObject, isString, isValueAtMax, isValueAtMin, isValueWithinRange, json, last, match, mod, nan, next, nextIndex, noop, omit, partition, pick, prev, prevIndex, remove, removeAt, roundToDpr, roundToStepPrecision, roundValue, runIfFn, setRafInterval, setRafTimeout, setValueAtIndex, snapValueToStep, splitProps, throttle, toArray, toFixedNumber, toPx, tryCatch, uniq, uuid, warn, wrap };
|
package/package.json
CHANGED
package/dist/core-75kSaDJc.d.mts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { b as Transition, d as GuardFn, g as Params, m as MachineSchema, p as Machine, v as Scope } from "./types-jyV564Ip.mjs";
|
|
2
|
-
import { l as isActiveElement } from "./node-v8Pyrj9P.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/shared/core/merge-props.d.ts
|
|
5
|
-
interface Props {
|
|
6
|
-
[key: string | symbol]: any;
|
|
7
|
-
}
|
|
8
|
-
type TupleTypes<T extends any[]> = T[number];
|
|
9
|
-
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
10
|
-
declare function mergeProps<T extends Props>(...args: Array<T | undefined>): UnionToIntersection<TupleTypes<T[]>>;
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region src/shared/core/memo.d.ts
|
|
13
|
-
type NoInfer<T> = [T][T extends any ? 0 : never];
|
|
14
|
-
declare function memo<TDeps extends any[], TDepArgs, TResult>(getDeps: (depArgs: TDepArgs) => [...TDeps], fn: (args: NoInfer<[...TDeps]>, deps: TDepArgs) => TResult, opts?: {
|
|
15
|
-
onChange?: ((result: TResult) => void) | undefined;
|
|
16
|
-
}): (depArgs: TDepArgs) => TResult;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/shared/core/create-machine.d.ts
|
|
19
|
-
declare function createGuards<T extends MachineSchema>(): {
|
|
20
|
-
and: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
|
|
21
|
-
or: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
|
|
22
|
-
not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
|
|
23
|
-
};
|
|
24
|
-
declare function createMachine<T extends MachineSchema>(config: Machine<T>): Machine<T>;
|
|
25
|
-
declare function setup<T extends MachineSchema>(): {
|
|
26
|
-
guards: {
|
|
27
|
-
and: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
|
|
28
|
-
or: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
|
|
29
|
-
not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
|
|
30
|
-
};
|
|
31
|
-
createMachine: (config: Machine<T>) => Machine<T>;
|
|
32
|
-
choose: (transitions: Transition<T> | Transition<T>[]) => ({
|
|
33
|
-
choose
|
|
34
|
-
}: Params<T>) => T["action"][] | undefined;
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/shared/core/scope.d.ts
|
|
38
|
-
declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">): {
|
|
39
|
-
getRootNode: () => Document | ShadowRoot;
|
|
40
|
-
getDoc: () => Document;
|
|
41
|
-
getWin: () => Window & typeof globalThis;
|
|
42
|
-
getActiveElement: () => HTMLElement | null;
|
|
43
|
-
isActiveElement: typeof isActiveElement;
|
|
44
|
-
getById: <T extends Element = HTMLElement>(id: string) => T | null;
|
|
45
|
-
ids?: Record<string, any> | undefined;
|
|
46
|
-
id?: string | undefined | undefined;
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { memo as a, setup as i, createGuards as n, mergeProps as o, createMachine as r, createScope as t };
|
package/dist/core-D_pI64vx.d.cts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { b as Transition, d as GuardFn, g as Params, m as MachineSchema, p as Machine, v as Scope } from "./types-BIy26Uwn.cjs";
|
|
2
|
-
import { l as isActiveElement } from "./node-BecR7gec.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/shared/core/merge-props.d.ts
|
|
5
|
-
interface Props {
|
|
6
|
-
[key: string | symbol]: any;
|
|
7
|
-
}
|
|
8
|
-
type TupleTypes<T extends any[]> = T[number];
|
|
9
|
-
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
10
|
-
declare function mergeProps<T extends Props>(...args: Array<T | undefined>): UnionToIntersection<TupleTypes<T[]>>;
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region src/shared/core/memo.d.ts
|
|
13
|
-
type NoInfer<T> = [T][T extends any ? 0 : never];
|
|
14
|
-
declare function memo<TDeps extends any[], TDepArgs, TResult>(getDeps: (depArgs: TDepArgs) => [...TDeps], fn: (args: NoInfer<[...TDeps]>, deps: TDepArgs) => TResult, opts?: {
|
|
15
|
-
onChange?: ((result: TResult) => void) | undefined;
|
|
16
|
-
}): (depArgs: TDepArgs) => TResult;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/shared/core/create-machine.d.ts
|
|
19
|
-
declare function createGuards<T extends MachineSchema>(): {
|
|
20
|
-
and: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
|
|
21
|
-
or: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
|
|
22
|
-
not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
|
|
23
|
-
};
|
|
24
|
-
declare function createMachine<T extends MachineSchema>(config: Machine<T>): Machine<T>;
|
|
25
|
-
declare function setup<T extends MachineSchema>(): {
|
|
26
|
-
guards: {
|
|
27
|
-
and: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
|
|
28
|
-
or: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
|
|
29
|
-
not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
|
|
30
|
-
};
|
|
31
|
-
createMachine: (config: Machine<T>) => Machine<T>;
|
|
32
|
-
choose: (transitions: Transition<T> | Transition<T>[]) => ({
|
|
33
|
-
choose
|
|
34
|
-
}: Params<T>) => T["action"][] | undefined;
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/shared/core/scope.d.ts
|
|
38
|
-
declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">): {
|
|
39
|
-
getRootNode: () => Document | ShadowRoot;
|
|
40
|
-
getDoc: () => Document;
|
|
41
|
-
getWin: () => Window & typeof globalThis;
|
|
42
|
-
getActiveElement: () => HTMLElement | null;
|
|
43
|
-
isActiveElement: typeof isActiveElement;
|
|
44
|
-
getById: <T extends Element = HTMLElement>(id: string) => T | null;
|
|
45
|
-
ids?: Record<string, any> | undefined;
|
|
46
|
-
id?: string | undefined | undefined;
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { memo as a, setup as i, createGuards as n, mergeProps as o, createMachine as r, createScope as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|