Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/vue-utils

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/vue-utils - npm Package Compare versions

Comparing version 0.0.0-dev-20230328142219 to 0.0.0-dev-20230328194300

dist/chunk-QZSSYKX6.mjs

3

CHANGELOG.md
# @chakra-ui/vue-utils
## 0.0.0-dev-20230328142219
## 0.0.0-dev-20230328194300

@@ -24,2 +24,3 @@ ### Major Changes

`useTheme` hook"
- 143703ef: Adds CTabs component, Descendant Authority Hook
- db54c195: Version packages to flat number

@@ -26,0 +27,0 @@

import 'vue';
export { C as ConfigurableDocument, o as ConfigurableDocumentOrShadowRoot, p as ConfigurableLocation, q as ConfigurableNavigator, r as ConfigurableWindow, g as DebouncedRef, l as MaybeElementRef, T as TemplateRef, V as VueComponentInstance, f as contains, h as defaultDocument, i as defaultLocation, j as defaultNavigator, k as defaultWindow, u as unrefElement, m as useDebouncedRef, n as useRef } from './dom-05b6d9ec.js';
export { C as ConfigurableDocument, o as ConfigurableDocumentOrShadowRoot, p as ConfigurableLocation, q as ConfigurableNavigator, r as ConfigurableWindow, g as DebouncedRef, l as MaybeElementRef, T as TemplateRef, V as VueComponentInstance, f as contains, h as defaultDocument, i as defaultLocation, j as defaultNavigator, k as defaultWindow, s as sortByDomNode, u as unrefElement, m as useDebouncedRef, n as useRef } from './dom-06ef5ebd.js';

@@ -29,2 +29,3 @@ "use strict";

defaultWindow: () => defaultWindow,
sortByDomNode: () => sortByDomNode,
unrefElement: () => unrefElement,

@@ -98,2 +99,17 @@ useDebouncedRef: () => useDebouncedRef,

var defaultLocation = /* @__PURE__ */ (0, import_utils.canUseDOM)() ? window.location : void 0;
function sortByDomNode(nodes, resolveKey = (i) => i) {
return nodes.slice().sort((aItem, zItem) => {
let a = resolveKey(aItem);
let z = resolveKey(zItem);
if (a === null || z === null)
return 0;
let position = a.compareDocumentPosition(z);
if (position & Node.DOCUMENT_POSITION_FOLLOWING)
return -1;
if (position & Node.DOCUMENT_POSITION_PRECEDING)
return 1;
return 0;
});
}
__name(sortByDomNode, "sortByDomNode");
// Annotate the CommonJS export names for ESM import in node:

@@ -106,2 +122,3 @@ 0 && (module.exports = {

defaultWindow,
sortByDomNode,
unrefElement,

@@ -108,0 +125,0 @@ useDebouncedRef,

@@ -1,2 +0,2 @@

export { A as AnyFn, a as Arrayable, t as Assign, C as ConfigurableDocument, o as ConfigurableDocumentOrShadowRoot, p as ConfigurableLocation, q as ConfigurableNavigator, r as ConfigurableWindow, g as DebouncedRef, D as DeepMaybeRef, F as Fn, M as MaybeBaseRef, b as MaybeComputedRef, l as MaybeElementRef, c as MaybeReadonlyRef, d as MaybeRef, s as MergedVNodeProps, O as Optional, R as RemovableRef, e as RemoveableRef, T as TemplateRef, V as VueComponentInstance, f as contains, h as defaultDocument, i as defaultLocation, j as defaultNavigator, k as defaultWindow, u as unrefElement, m as useDebouncedRef, n as useRef } from './dom-05b6d9ec.js';
export { A as AnyFn, a as Arrayable, v as Assign, C as ConfigurableDocument, o as ConfigurableDocumentOrShadowRoot, p as ConfigurableLocation, q as ConfigurableNavigator, r as ConfigurableWindow, g as DebouncedRef, D as DeepMaybeRef, F as Fn, M as MaybeBaseRef, b as MaybeComputedRef, l as MaybeElementRef, c as MaybeReadonlyRef, d as MaybeRef, t as MergedVNodeProps, O as Optional, R as RemovableRef, e as RemoveableRef, T as TemplateRef, V as VueComponentInstance, f as contains, h as defaultDocument, i as defaultLocation, j as defaultNavigator, k as defaultWindow, s as sortByDomNode, u as unrefElement, m as useDebouncedRef, n as useRef } from './dom-06ef5ebd.js';
export { camelCase } from './string.js';

@@ -3,0 +3,0 @@ export { canUseDOM } from '@chakra-ui/utils';

@@ -56,2 +56,3 @@ "use strict";

resolveRef: () => resolveRef,
sortByDomNode: () => sortByDomNode,
transformComposableProps: () => transformComposableProps,

@@ -144,2 +145,17 @@ tryOnBeforeMount: () => tryOnBeforeMount,

var defaultLocation = /* @__PURE__ */ (0, import_utils2.canUseDOM)() ? window.location : void 0;
function sortByDomNode(nodes, resolveKey = (i) => i) {
return nodes.slice().sort((aItem, zItem) => {
let a = resolveKey(aItem);
let z = resolveKey(zItem);
if (a === null || z === null)
return 0;
let position = a.compareDocumentPosition(z);
if (position & Node.DOCUMENT_POSITION_FOLLOWING)
return -1;
if (position & Node.DOCUMENT_POSITION_PRECEDING)
return 1;
return 0;
});
}
__name(sortByDomNode, "sortByDomNode");

@@ -517,2 +533,3 @@ // src/vue-utils.ts

resolveRef,
sortByDomNode,
transformComposableProps,

@@ -519,0 +536,0 @@ tryOnBeforeMount,

@@ -1,2 +0,2 @@

import { F as Fn } from './dom-05b6d9ec.js';
import { F as Fn } from './dom-06ef5ebd.js';
import 'vue';

@@ -3,0 +3,0 @@

@@ -1,1 +0,1 @@

{"inputs":{"src/attrs.ts":{"bytes":1531,"imports":[]},"src/configurable.ts":{"bytes":152,"imports":[]},"src/dom-query.ts":{"bytes":1629,"imports":[]},"src/timers.ts":{"bytes":386,"imports":[]},"src/dom.ts":{"bytes":4301,"imports":[{"path":"src/timers.ts","kind":"import-statement"}]},"src/focus.ts":{"bytes":3530,"imports":[]},"src/generate-id.ts":{"bytes":418,"imports":[]},"src/types.ts":{"bytes":2131,"imports":[]},"src/string.ts":{"bytes":258,"imports":[]},"src/vue-utils.ts":{"bytes":4068,"imports":[]},"src/keys.ts":{"bytes":386,"imports":[]},"src/match.ts":{"bytes":737,"imports":[]},"src/object.ts":{"bytes":148,"imports":[]},"src/layout.ts":{"bytes":367,"imports":[]},"src/props.ts":{"bytes":1022,"imports":[]},"src/lifecycles.ts":{"bytes":1434,"imports":[]},"src/scope.ts":{"bytes":416,"imports":[]},"src/index.tsx":{"bytes":1626,"imports":[{"path":"src/types.ts","kind":"import-statement"},{"path":"src/string.ts","kind":"import-statement"},{"path":"src/configurable.ts","kind":"import-statement"},{"path":"src/dom.ts","kind":"import-statement"},{"path":"src/vue-utils.ts","kind":"import-statement"},{"path":"src/timers.ts","kind":"import-statement"},{"path":"src/attrs.ts","kind":"import-statement"},{"path":"src/focus.ts","kind":"import-statement"},{"path":"src/generate-id.ts","kind":"import-statement"},{"path":"src/dom-query.ts","kind":"import-statement"},{"path":"src/keys.ts","kind":"import-statement"},{"path":"src/match.ts","kind":"import-statement"},{"path":"src/object.ts","kind":"import-statement"},{"path":"src/layout.ts","kind":"import-statement"},{"path":"src/props.ts","kind":"import-statement"},{"path":"src/lifecycles.ts","kind":"import-statement"},{"path":"src/scope.ts","kind":"import-statement"}]}},"outputs":{"dist/attrs.js":{"imports":[],"exports":[],"entryPoint":"src/attrs.ts","inputs":{"src/attrs.ts":{"bytesInOutput":1093}},"bytes":2421},"dist/configurable.js":{"imports":[],"exports":[],"entryPoint":"src/configurable.ts","inputs":{"src/configurable.ts":{"bytesInOutput":211}},"bytes":1137},"dist/dom-query.js":{"imports":[],"exports":[],"entryPoint":"src/dom-query.ts","inputs":{"src/dom-query.ts":{"bytesInOutput":1089}},"bytes":2104},"dist/dom.js":{"imports":[],"exports":[],"entryPoint":"src/dom.ts","inputs":{"src/dom.ts":{"bytesInOutput":2003},"src/timers.ts":{"bytesInOutput":266}},"bytes":3428},"dist/focus.js":{"imports":[],"exports":[],"entryPoint":"src/focus.ts","inputs":{"src/focus.ts":{"bytesInOutput":3065}},"bytes":4112},"dist/generate-id.js":{"imports":[],"exports":[],"entryPoint":"src/generate-id.ts","inputs":{"src/generate-id.ts":{"bytesInOutput":494}},"bytes":1505},"dist/index.js":{"imports":[],"exports":[],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":1431},"src/string.ts":{"bytesInOutput":202},"src/configurable.ts":{"bytesInOutput":48},"src/dom.ts":{"bytesInOutput":1619},"src/timers.ts":{"bytesInOutput":266},"src/vue-utils.ts":{"bytesInOutput":2420},"src/attrs.ts":{"bytesInOutput":950},"src/focus.ts":{"bytesInOutput":2850},"src/generate-id.ts":{"bytesInOutput":355},"src/dom-query.ts":{"bytesInOutput":944},"src/keys.ts":{"bytesInOutput":471},"src/match.ts":{"bytesInOutput":480},"src/object.ts":{"bytesInOutput":59},"src/layout.ts":{"bytesInOutput":222},"src/props.ts":{"bytesInOutput":567},"src/lifecycles.ts":{"bytesInOutput":842},"src/scope.ts":{"bytesInOutput":239}},"bytes":16167},"dist/keys.js":{"imports":[],"exports":[],"entryPoint":"src/keys.ts","inputs":{"src/keys.ts":{"bytesInOutput":587}},"bytes":1500},"dist/layout.js":{"imports":[],"exports":[],"entryPoint":"src/layout.ts","inputs":{"src/layout.ts":{"bytesInOutput":348}},"bytes":1355},"dist/lifecycles.js":{"imports":[],"exports":[],"entryPoint":"src/lifecycles.ts","inputs":{"src/lifecycles.ts":{"bytesInOutput":1113}},"bytes":2190},"dist/match.js":{"imports":[],"exports":[],"entryPoint":"src/match.ts","inputs":{"src/match.ts":{"bytesInOutput":601}},"bytes":1606},"dist/object.js":{"imports":[],"exports":[],"entryPoint":"src/object.ts","inputs":{"src/object.ts":{"bytesInOutput":202}},"bytes":1433},"dist/props.js":{"imports":[],"exports":[],"entryPoint":"src/props.ts","inputs":{"src/props.ts":{"bytesInOutput":802}},"bytes":1858},"dist/scope.js":{"imports":[],"exports":[],"entryPoint":"src/scope.ts","inputs":{"src/scope.ts":{"bytesInOutput":381}},"bytes":1398},"dist/string.js":{"imports":[],"exports":[],"entryPoint":"src/string.ts","inputs":{"src/string.ts":{"bytesInOutput":334}},"bytes":1565},"dist/timers.js":{"imports":[],"exports":[],"entryPoint":"src/timers.ts","inputs":{"src/timers.ts":{"bytesInOutput":396}},"bytes":1405},"dist/types.js":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":70}},"bytes":758},"dist/vue-utils.js":{"imports":[],"exports":[],"entryPoint":"src/vue-utils.ts","inputs":{"src/vue-utils.ts":{"bytesInOutput":2777}},"bytes":3894}}}
{"inputs":{"src/attrs.ts":{"bytes":1531,"imports":[]},"src/configurable.ts":{"bytes":152,"imports":[]},"src/dom-query.ts":{"bytes":1629,"imports":[]},"src/timers.ts":{"bytes":386,"imports":[]},"src/dom.ts":{"bytes":4961,"imports":[{"path":"src/timers.ts","kind":"import-statement"}]},"src/focus.ts":{"bytes":3530,"imports":[]},"src/generate-id.ts":{"bytes":418,"imports":[]},"src/types.ts":{"bytes":2131,"imports":[]},"src/string.ts":{"bytes":258,"imports":[]},"src/vue-utils.ts":{"bytes":4068,"imports":[]},"src/keys.ts":{"bytes":386,"imports":[]},"src/match.ts":{"bytes":737,"imports":[]},"src/object.ts":{"bytes":148,"imports":[]},"src/layout.ts":{"bytes":367,"imports":[]},"src/props.ts":{"bytes":1022,"imports":[]},"src/lifecycles.ts":{"bytes":1434,"imports":[]},"src/scope.ts":{"bytes":416,"imports":[]},"src/index.tsx":{"bytes":1641,"imports":[{"path":"src/types.ts","kind":"import-statement"},{"path":"src/string.ts","kind":"import-statement"},{"path":"src/configurable.ts","kind":"import-statement"},{"path":"src/dom.ts","kind":"import-statement"},{"path":"src/vue-utils.ts","kind":"import-statement"},{"path":"src/timers.ts","kind":"import-statement"},{"path":"src/attrs.ts","kind":"import-statement"},{"path":"src/focus.ts","kind":"import-statement"},{"path":"src/generate-id.ts","kind":"import-statement"},{"path":"src/dom-query.ts","kind":"import-statement"},{"path":"src/keys.ts","kind":"import-statement"},{"path":"src/match.ts","kind":"import-statement"},{"path":"src/object.ts","kind":"import-statement"},{"path":"src/layout.ts","kind":"import-statement"},{"path":"src/props.ts","kind":"import-statement"},{"path":"src/lifecycles.ts","kind":"import-statement"},{"path":"src/scope.ts","kind":"import-statement"}]}},"outputs":{"dist/attrs.js":{"imports":[],"exports":[],"entryPoint":"src/attrs.ts","inputs":{"src/attrs.ts":{"bytesInOutput":1093}},"bytes":2421},"dist/configurable.js":{"imports":[],"exports":[],"entryPoint":"src/configurable.ts","inputs":{"src/configurable.ts":{"bytesInOutput":211}},"bytes":1137},"dist/dom-query.js":{"imports":[],"exports":[],"entryPoint":"src/dom-query.ts","inputs":{"src/dom-query.ts":{"bytesInOutput":1089}},"bytes":2104},"dist/dom.js":{"imports":[],"exports":[],"entryPoint":"src/dom.ts","inputs":{"src/dom.ts":{"bytesInOutput":2506},"src/timers.ts":{"bytesInOutput":266}},"bytes":3948},"dist/focus.js":{"imports":[],"exports":[],"entryPoint":"src/focus.ts","inputs":{"src/focus.ts":{"bytesInOutput":3065}},"bytes":4112},"dist/generate-id.js":{"imports":[],"exports":[],"entryPoint":"src/generate-id.ts","inputs":{"src/generate-id.ts":{"bytesInOutput":494}},"bytes":1505},"dist/index.js":{"imports":[],"exports":[],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":1469},"src/string.ts":{"bytesInOutput":202},"src/configurable.ts":{"bytesInOutput":48},"src/dom.ts":{"bytesInOutput":2084},"src/timers.ts":{"bytesInOutput":266},"src/vue-utils.ts":{"bytesInOutput":2420},"src/attrs.ts":{"bytesInOutput":950},"src/focus.ts":{"bytesInOutput":2850},"src/generate-id.ts":{"bytesInOutput":355},"src/dom-query.ts":{"bytesInOutput":944},"src/keys.ts":{"bytesInOutput":471},"src/match.ts":{"bytesInOutput":480},"src/object.ts":{"bytesInOutput":59},"src/layout.ts":{"bytesInOutput":222},"src/props.ts":{"bytesInOutput":567},"src/lifecycles.ts":{"bytesInOutput":842},"src/scope.ts":{"bytesInOutput":239}},"bytes":16687},"dist/keys.js":{"imports":[],"exports":[],"entryPoint":"src/keys.ts","inputs":{"src/keys.ts":{"bytesInOutput":587}},"bytes":1500},"dist/layout.js":{"imports":[],"exports":[],"entryPoint":"src/layout.ts","inputs":{"src/layout.ts":{"bytesInOutput":348}},"bytes":1355},"dist/lifecycles.js":{"imports":[],"exports":[],"entryPoint":"src/lifecycles.ts","inputs":{"src/lifecycles.ts":{"bytesInOutput":1113}},"bytes":2190},"dist/match.js":{"imports":[],"exports":[],"entryPoint":"src/match.ts","inputs":{"src/match.ts":{"bytesInOutput":601}},"bytes":1606},"dist/object.js":{"imports":[],"exports":[],"entryPoint":"src/object.ts","inputs":{"src/object.ts":{"bytesInOutput":202}},"bytes":1433},"dist/props.js":{"imports":[],"exports":[],"entryPoint":"src/props.ts","inputs":{"src/props.ts":{"bytesInOutput":802}},"bytes":1858},"dist/scope.js":{"imports":[],"exports":[],"entryPoint":"src/scope.ts","inputs":{"src/scope.ts":{"bytesInOutput":381}},"bytes":1398},"dist/string.js":{"imports":[],"exports":[],"entryPoint":"src/string.ts","inputs":{"src/string.ts":{"bytesInOutput":334}},"bytes":1565},"dist/timers.js":{"imports":[],"exports":[],"entryPoint":"src/timers.ts","inputs":{"src/timers.ts":{"bytesInOutput":396}},"bytes":1405},"dist/types.js":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":70}},"bytes":758},"dist/vue-utils.js":{"imports":[],"exports":[],"entryPoint":"src/vue-utils.ts","inputs":{"src/vue-utils.ts":{"bytesInOutput":2777}},"bytes":3894}}}

@@ -1,1 +0,1 @@

{"inputs":{"src/attrs.ts":{"bytes":1531,"imports":[]},"src/configurable.ts":{"bytes":152,"imports":[]},"src/dom-query.ts":{"bytes":1629,"imports":[]},"src/timers.ts":{"bytes":386,"imports":[]},"src/dom.ts":{"bytes":4301,"imports":[{"path":"src/timers.ts","kind":"import-statement"}]},"src/focus.ts":{"bytes":3530,"imports":[]},"src/generate-id.ts":{"bytes":418,"imports":[]},"src/types.ts":{"bytes":2131,"imports":[]},"src/string.ts":{"bytes":258,"imports":[]},"src/vue-utils.ts":{"bytes":4068,"imports":[]},"src/keys.ts":{"bytes":386,"imports":[]},"src/match.ts":{"bytes":737,"imports":[]},"src/object.ts":{"bytes":148,"imports":[]},"src/layout.ts":{"bytes":367,"imports":[]},"src/props.ts":{"bytes":1022,"imports":[]},"src/lifecycles.ts":{"bytes":1434,"imports":[]},"src/scope.ts":{"bytes":416,"imports":[]},"src/index.tsx":{"bytes":1626,"imports":[{"path":"src/types.ts","kind":"import-statement"},{"path":"src/string.ts","kind":"import-statement"},{"path":"src/configurable.ts","kind":"import-statement"},{"path":"src/dom.ts","kind":"import-statement"},{"path":"src/vue-utils.ts","kind":"import-statement"},{"path":"src/timers.ts","kind":"import-statement"},{"path":"src/attrs.ts","kind":"import-statement"},{"path":"src/focus.ts","kind":"import-statement"},{"path":"src/generate-id.ts","kind":"import-statement"},{"path":"src/dom-query.ts","kind":"import-statement"},{"path":"src/keys.ts","kind":"import-statement"},{"path":"src/match.ts","kind":"import-statement"},{"path":"src/object.ts","kind":"import-statement"},{"path":"src/layout.ts","kind":"import-statement"},{"path":"src/props.ts","kind":"import-statement"},{"path":"src/lifecycles.ts","kind":"import-statement"},{"path":"src/scope.ts","kind":"import-statement"}]}},"outputs":{"dist/types.mjs":{"imports":[{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/types.ts","inputs":{},"bytes":31},"dist/vue-utils.mjs":{"imports":[{"path":"dist/chunk-WRVAZ34K.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["createContext","getValidChildren","isObjectComponent","resolveRef","transformComposableProps","withSingleton"],"entryPoint":"src/vue-utils.ts","inputs":{},"bytes":315},"dist/layout.mjs":{"imports":[{"path":"dist/chunk-GDKUSTFQ.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["orient"],"entryPoint":"src/layout.ts","inputs":{},"bytes":101},"dist/lifecycles.mjs":{"imports":[{"path":"dist/chunk-VZI6ZS64.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnUnmounted"],"entryPoint":"src/lifecycles.ts","inputs":{},"bytes":233},"dist/match.mjs":{"imports":[{"path":"dist/chunk-RR63ISK3.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["match"],"entryPoint":"src/match.ts","inputs":{},"bytes":99},"dist/object.mjs":{"imports":[{"path":"dist/chunk-IQQWXFXZ.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["mergeWith"],"entryPoint":"src/object.ts","inputs":{},"bytes":107},"dist/props.mjs":{"imports":[{"path":"dist/chunk-BRH7MJVF.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["SAO","SNA","SNAO","useThemingProps","vueThemingProps"],"entryPoint":"src/props.ts","inputs":{},"bytes":201},"dist/scope.mjs":{"imports":[{"path":"dist/chunk-7IQUBLZY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnScopeDispose"],"entryPoint":"src/scope.ts","inputs":{},"bytes":123},"dist/string.mjs":{"imports":[{"path":"dist/chunk-B4YDOGMH.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["camelCase"],"entryPoint":"src/string.ts","inputs":{},"bytes":107},"dist/timers.mjs":{"imports":[{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["debounce"],"entryPoint":"src/timers.ts","inputs":{},"bytes":105},"dist/attrs.mjs":{"imports":[{"path":"dist/chunk-ZYWZ54GH.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["extractStyleAttrs"],"entryPoint":"src/attrs.ts","inputs":{},"bytes":123},"dist/configurable.mjs":{"imports":[{"path":"dist/chunk-QRBG3VYN.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["canUseDOM"],"entryPoint":"src/configurable.ts","inputs":{},"bytes":107},"dist/dom-query.mjs":{"imports":[{"path":"dist/chunk-K3OX44D2.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["getSelector"],"entryPoint":"src/dom-query.ts","inputs":{},"bytes":111},"dist/dom.mjs":{"imports":[{"path":"dist/chunk-XMDYVJXS.mjs","kind":"import-statement"},{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["contains","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","unrefElement","useDebouncedRef","useRef"],"entryPoint":"src/dom.ts","inputs":{},"bytes":376},"dist/focus.mjs":{"imports":[{"path":"dist/chunk-QTD2M7TA.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Focus","FocusResult","focusElement","focusIn"],"entryPoint":"src/focus.ts","inputs":{},"bytes":183},"dist/generate-id.mjs":{"imports":[{"path":"dist/chunk-QD6EC5KN.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["genId"],"entryPoint":"src/generate-id.ts","inputs":{},"bytes":99},"dist/index.mjs":{"imports":[{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"},{"path":"dist/chunk-WRVAZ34K.mjs","kind":"import-statement"},{"path":"dist/chunk-GDKUSTFQ.mjs","kind":"import-statement"},{"path":"dist/chunk-VZI6ZS64.mjs","kind":"import-statement"},{"path":"dist/chunk-RR63ISK3.mjs","kind":"import-statement"},{"path":"dist/chunk-IQQWXFXZ.mjs","kind":"import-statement"},{"path":"dist/chunk-BRH7MJVF.mjs","kind":"import-statement"},{"path":"dist/chunk-7IQUBLZY.mjs","kind":"import-statement"},{"path":"dist/chunk-B4YDOGMH.mjs","kind":"import-statement"},{"path":"dist/chunk-ZYWZ54GH.mjs","kind":"import-statement"},{"path":"dist/chunk-QRBG3VYN.mjs","kind":"import-statement"},{"path":"dist/chunk-K3OX44D2.mjs","kind":"import-statement"},{"path":"dist/chunk-XMDYVJXS.mjs","kind":"import-statement"},{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-QTD2M7TA.mjs","kind":"import-statement"},{"path":"dist/chunk-QD6EC5KN.mjs","kind":"import-statement"},{"path":"dist/chunk-EM4XXEGM.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["AnyFn","Arrayable","DebouncedRef","DeepMaybeRef","Fn","Focus","FocusResult","Keys","MaybeBaseRef","MaybeComputedRef","MaybeElementRef","MaybeReadonlyRef","MaybeRef","RemovableRef","RemoveableRef","SAO","SNA","SNAO","StyleAndHTMLAttibutes","TemplateRef","VueComponentInstance","camelCase","canUseDOM","contains","createContext","debounce","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","extractStyleAttrs","focusElement","focusIn","genId","getSelector","getValidChildren","isObjectComponent","match","mergeWith","orient","resolveRef","transformComposableProps","tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnScopeDispose","tryOnUnmounted","unrefElement","useDebouncedRef","useRef","useThemingProps","vueThemingProps","withSingleton"],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":0}},"bytes":1857},"dist/chunk-WBQAMGXK.mjs":{"imports":[],"exports":[],"inputs":{"src/types.ts":{"bytesInOutput":0}},"bytes":0},"dist/chunk-WRVAZ34K.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["createContext","getValidChildren","isObjectComponent","resolveRef","transformComposableProps","withSingleton"],"inputs":{"src/vue-utils.ts":{"bytesInOutput":2298}},"bytes":2497},"dist/chunk-GDKUSTFQ.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["orient"],"inputs":{"src/layout.ts":{"bytesInOutput":222}},"bytes":311},"dist/chunk-VZI6ZS64.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnUnmounted"],"inputs":{"src/lifecycles.ts":{"bytesInOutput":746}},"bytes":905},"dist/chunk-RR63ISK3.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["match"],"inputs":{"src/match.ts":{"bytesInOutput":480}},"bytes":567},"dist/chunk-IQQWXFXZ.mjs":{"imports":[],"exports":["mergeWith"],"inputs":{"src/object.ts":{"bytesInOutput":42}},"bytes":84},"dist/chunk-BRH7MJVF.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["SAO","SNA","SNAO","useThemingProps","vueThemingProps"],"inputs":{"src/props.ts":{"bytesInOutput":532}},"bytes":670},"dist/chunk-7IQUBLZY.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnScopeDispose"],"inputs":{"src/scope.ts":{"bytesInOutput":226}},"bytes":325},"dist/chunk-B4YDOGMH.mjs":{"imports":[],"exports":["camelCase"],"inputs":{"src/string.ts":{"bytesInOutput":132}},"bytes":174},"dist/chunk-ZYWZ54GH.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["extractStyleAttrs"],"inputs":{"src/attrs.ts":{"bytesInOutput":842}},"bytes":941},"dist/chunk-QRBG3VYN.mjs":{"imports":[],"exports":["canUseDOM"],"inputs":{"src/configurable.ts":{"bytesInOutput":46}},"bytes":94},"dist/chunk-K3OX44D2.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["getSelector"],"inputs":{"src/dom-query.ts":{"bytesInOutput":944}},"bytes":1041},"dist/chunk-XMDYVJXS.mjs":{"imports":[{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["contains","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","unrefElement","useDebouncedRef","useRef"],"inputs":{"src/dom.ts":{"bytesInOutput":1488}},"bytes":1747},"dist/chunk-LOPJBGHY.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["debounce"],"inputs":{"src/timers.ts":{"bytesInOutput":266}},"bytes":357},"dist/chunk-QTD2M7TA.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Focus","FocusResult","focusElement","focusIn"],"inputs":{"src/focus.ts":{"bytesInOutput":2834}},"bytes":2963},"dist/chunk-QD6EC5KN.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["genId"],"inputs":{"src/generate-id.ts":{"bytesInOutput":355}},"bytes":448},"dist/keys.mjs":{"imports":[{"path":"dist/chunk-EM4XXEGM.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Keys"],"entryPoint":"src/keys.ts","inputs":{},"bytes":97},"dist/chunk-EM4XXEGM.mjs":{"imports":[],"exports":["Keys"],"inputs":{"src/keys.ts":{"bytesInOutput":471}},"bytes":506},"dist/chunk-INDHDMU3.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
{"inputs":{"src/attrs.ts":{"bytes":1531,"imports":[]},"src/configurable.ts":{"bytes":152,"imports":[]},"src/dom-query.ts":{"bytes":1629,"imports":[]},"src/timers.ts":{"bytes":386,"imports":[]},"src/dom.ts":{"bytes":4961,"imports":[{"path":"src/timers.ts","kind":"import-statement"}]},"src/focus.ts":{"bytes":3530,"imports":[]},"src/generate-id.ts":{"bytes":418,"imports":[]},"src/types.ts":{"bytes":2131,"imports":[]},"src/string.ts":{"bytes":258,"imports":[]},"src/vue-utils.ts":{"bytes":4068,"imports":[]},"src/keys.ts":{"bytes":386,"imports":[]},"src/match.ts":{"bytes":737,"imports":[]},"src/object.ts":{"bytes":148,"imports":[]},"src/layout.ts":{"bytes":367,"imports":[]},"src/props.ts":{"bytes":1022,"imports":[]},"src/lifecycles.ts":{"bytes":1434,"imports":[]},"src/scope.ts":{"bytes":416,"imports":[]},"src/index.tsx":{"bytes":1641,"imports":[{"path":"src/types.ts","kind":"import-statement"},{"path":"src/string.ts","kind":"import-statement"},{"path":"src/configurable.ts","kind":"import-statement"},{"path":"src/dom.ts","kind":"import-statement"},{"path":"src/vue-utils.ts","kind":"import-statement"},{"path":"src/timers.ts","kind":"import-statement"},{"path":"src/attrs.ts","kind":"import-statement"},{"path":"src/focus.ts","kind":"import-statement"},{"path":"src/generate-id.ts","kind":"import-statement"},{"path":"src/dom-query.ts","kind":"import-statement"},{"path":"src/keys.ts","kind":"import-statement"},{"path":"src/match.ts","kind":"import-statement"},{"path":"src/object.ts","kind":"import-statement"},{"path":"src/layout.ts","kind":"import-statement"},{"path":"src/props.ts","kind":"import-statement"},{"path":"src/lifecycles.ts","kind":"import-statement"},{"path":"src/scope.ts","kind":"import-statement"}]}},"outputs":{"dist/types.mjs":{"imports":[{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/types.ts","inputs":{},"bytes":31},"dist/vue-utils.mjs":{"imports":[{"path":"dist/chunk-WRVAZ34K.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["createContext","getValidChildren","isObjectComponent","resolveRef","transformComposableProps","withSingleton"],"entryPoint":"src/vue-utils.ts","inputs":{},"bytes":315},"dist/layout.mjs":{"imports":[{"path":"dist/chunk-GDKUSTFQ.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["orient"],"entryPoint":"src/layout.ts","inputs":{},"bytes":101},"dist/lifecycles.mjs":{"imports":[{"path":"dist/chunk-VZI6ZS64.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnUnmounted"],"entryPoint":"src/lifecycles.ts","inputs":{},"bytes":233},"dist/match.mjs":{"imports":[{"path":"dist/chunk-RR63ISK3.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["match"],"entryPoint":"src/match.ts","inputs":{},"bytes":99},"dist/object.mjs":{"imports":[{"path":"dist/chunk-IQQWXFXZ.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["mergeWith"],"entryPoint":"src/object.ts","inputs":{},"bytes":107},"dist/props.mjs":{"imports":[{"path":"dist/chunk-BRH7MJVF.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["SAO","SNA","SNAO","useThemingProps","vueThemingProps"],"entryPoint":"src/props.ts","inputs":{},"bytes":201},"dist/scope.mjs":{"imports":[{"path":"dist/chunk-7IQUBLZY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnScopeDispose"],"entryPoint":"src/scope.ts","inputs":{},"bytes":123},"dist/string.mjs":{"imports":[{"path":"dist/chunk-B4YDOGMH.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["camelCase"],"entryPoint":"src/string.ts","inputs":{},"bytes":107},"dist/timers.mjs":{"imports":[{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["debounce"],"entryPoint":"src/timers.ts","inputs":{},"bytes":105},"dist/attrs.mjs":{"imports":[{"path":"dist/chunk-ZYWZ54GH.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["extractStyleAttrs"],"entryPoint":"src/attrs.ts","inputs":{},"bytes":123},"dist/configurable.mjs":{"imports":[{"path":"dist/chunk-QRBG3VYN.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["canUseDOM"],"entryPoint":"src/configurable.ts","inputs":{},"bytes":107},"dist/dom-query.mjs":{"imports":[{"path":"dist/chunk-K3OX44D2.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["getSelector"],"entryPoint":"src/dom-query.ts","inputs":{},"bytes":111},"dist/dom.mjs":{"imports":[{"path":"dist/chunk-QZSSYKX6.mjs","kind":"import-statement"},{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["contains","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","sortByDomNode","unrefElement","useDebouncedRef","useRef"],"entryPoint":"src/dom.ts","inputs":{},"bytes":410},"dist/focus.mjs":{"imports":[{"path":"dist/chunk-QTD2M7TA.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Focus","FocusResult","focusElement","focusIn"],"entryPoint":"src/focus.ts","inputs":{},"bytes":183},"dist/generate-id.mjs":{"imports":[{"path":"dist/chunk-QD6EC5KN.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["genId"],"entryPoint":"src/generate-id.ts","inputs":{},"bytes":99},"dist/index.mjs":{"imports":[{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"},{"path":"dist/chunk-WRVAZ34K.mjs","kind":"import-statement"},{"path":"dist/chunk-GDKUSTFQ.mjs","kind":"import-statement"},{"path":"dist/chunk-VZI6ZS64.mjs","kind":"import-statement"},{"path":"dist/chunk-RR63ISK3.mjs","kind":"import-statement"},{"path":"dist/chunk-IQQWXFXZ.mjs","kind":"import-statement"},{"path":"dist/chunk-BRH7MJVF.mjs","kind":"import-statement"},{"path":"dist/chunk-7IQUBLZY.mjs","kind":"import-statement"},{"path":"dist/chunk-B4YDOGMH.mjs","kind":"import-statement"},{"path":"dist/chunk-ZYWZ54GH.mjs","kind":"import-statement"},{"path":"dist/chunk-QRBG3VYN.mjs","kind":"import-statement"},{"path":"dist/chunk-K3OX44D2.mjs","kind":"import-statement"},{"path":"dist/chunk-QZSSYKX6.mjs","kind":"import-statement"},{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-QTD2M7TA.mjs","kind":"import-statement"},{"path":"dist/chunk-QD6EC5KN.mjs","kind":"import-statement"},{"path":"dist/chunk-EM4XXEGM.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["AnyFn","Arrayable","DebouncedRef","DeepMaybeRef","Fn","Focus","FocusResult","Keys","MaybeBaseRef","MaybeComputedRef","MaybeElementRef","MaybeReadonlyRef","MaybeRef","RemovableRef","RemoveableRef","SAO","SNA","SNAO","StyleAndHTMLAttibutes","TemplateRef","VueComponentInstance","camelCase","canUseDOM","contains","createContext","debounce","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","extractStyleAttrs","focusElement","focusIn","genId","getSelector","getValidChildren","isObjectComponent","match","mergeWith","orient","resolveRef","sortByDomNode","transformComposableProps","tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnScopeDispose","tryOnUnmounted","unrefElement","useDebouncedRef","useRef","useThemingProps","vueThemingProps","withSingleton"],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":0}},"bytes":1891},"dist/chunk-WBQAMGXK.mjs":{"imports":[],"exports":[],"inputs":{"src/types.ts":{"bytesInOutput":0}},"bytes":0},"dist/chunk-WRVAZ34K.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["createContext","getValidChildren","isObjectComponent","resolveRef","transformComposableProps","withSingleton"],"inputs":{"src/vue-utils.ts":{"bytesInOutput":2298}},"bytes":2497},"dist/chunk-GDKUSTFQ.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["orient"],"inputs":{"src/layout.ts":{"bytesInOutput":222}},"bytes":311},"dist/chunk-VZI6ZS64.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnUnmounted"],"inputs":{"src/lifecycles.ts":{"bytesInOutput":746}},"bytes":905},"dist/chunk-RR63ISK3.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["match"],"inputs":{"src/match.ts":{"bytesInOutput":480}},"bytes":567},"dist/chunk-IQQWXFXZ.mjs":{"imports":[],"exports":["mergeWith"],"inputs":{"src/object.ts":{"bytesInOutput":42}},"bytes":84},"dist/chunk-BRH7MJVF.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["SAO","SNA","SNAO","useThemingProps","vueThemingProps"],"inputs":{"src/props.ts":{"bytesInOutput":532}},"bytes":670},"dist/chunk-7IQUBLZY.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["tryOnScopeDispose"],"inputs":{"src/scope.ts":{"bytesInOutput":226}},"bytes":325},"dist/chunk-B4YDOGMH.mjs":{"imports":[],"exports":["camelCase"],"inputs":{"src/string.ts":{"bytesInOutput":132}},"bytes":174},"dist/chunk-ZYWZ54GH.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["extractStyleAttrs"],"inputs":{"src/attrs.ts":{"bytesInOutput":842}},"bytes":941},"dist/chunk-QRBG3VYN.mjs":{"imports":[],"exports":["canUseDOM"],"inputs":{"src/configurable.ts":{"bytesInOutput":46}},"bytes":94},"dist/chunk-K3OX44D2.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["getSelector"],"inputs":{"src/dom-query.ts":{"bytesInOutput":944}},"bytes":1041},"dist/chunk-QZSSYKX6.mjs":{"imports":[{"path":"dist/chunk-LOPJBGHY.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["contains","defaultDocument","defaultLocation","defaultNavigator","defaultWindow","sortByDomNode","unrefElement","useDebouncedRef","useRef"],"inputs":{"src/dom.ts":{"bytesInOutput":1953}},"bytes":2229},"dist/chunk-LOPJBGHY.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["debounce"],"inputs":{"src/timers.ts":{"bytesInOutput":266}},"bytes":357},"dist/chunk-QTD2M7TA.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Focus","FocusResult","focusElement","focusIn"],"inputs":{"src/focus.ts":{"bytesInOutput":2834}},"bytes":2963},"dist/chunk-QD6EC5KN.mjs":{"imports":[{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["genId"],"inputs":{"src/generate-id.ts":{"bytesInOutput":355}},"bytes":448},"dist/keys.mjs":{"imports":[{"path":"dist/chunk-EM4XXEGM.mjs","kind":"import-statement"},{"path":"dist/chunk-INDHDMU3.mjs","kind":"import-statement"}],"exports":["Keys"],"entryPoint":"src/keys.ts","inputs":{},"bytes":97},"dist/chunk-EM4XXEGM.mjs":{"imports":[],"exports":["Keys"],"inputs":{"src/keys.ts":{"bytesInOutput":471}},"bytes":506},"dist/chunk-INDHDMU3.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}

@@ -1,2 +0,2 @@

import { F as Fn } from './dom-05b6d9ec.js';
import { F as Fn } from './dom-06ef5ebd.js';
import 'vue';

@@ -3,0 +3,0 @@

import 'vue';
export { A as AnyFn, a as Arrayable, t as Assign, D as DeepMaybeRef, F as Fn, M as MaybeBaseRef, b as MaybeComputedRef, c as MaybeReadonlyRef, d as MaybeRef, s as MergedVNodeProps, O as Optional, R as RemovableRef, e as RemoveableRef } from './dom-05b6d9ec.js';
export { A as AnyFn, a as Arrayable, v as Assign, D as DeepMaybeRef, F as Fn, M as MaybeBaseRef, b as MaybeComputedRef, c as MaybeReadonlyRef, d as MaybeRef, t as MergedVNodeProps, O as Optional, R as RemovableRef, e as RemoveableRef } from './dom-06ef5ebd.js';
import * as vue from 'vue';
import { Slots, VNode, ComputedRef, Ref } from 'vue';
import { Dict } from '@chakra-ui/utils';
import { b as MaybeComputedRef, d as MaybeRef } from './dom-05b6d9ec.js';
import { b as MaybeComputedRef, d as MaybeRef } from './dom-06ef5ebd.js';

@@ -6,0 +6,0 @@ interface CreateContextOptions {

{
"name": "@chakra-ui/vue-utils",
"version": "0.0.0-dev-20230328142219",
"version": "0.0.0-dev-20230328194300",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.mjs",

import {
ComponentPublicInstance,
customRef,

@@ -64,3 +65,3 @@ defineComponent,

export type MaybeElementRef = MaybeRef<
Element | VueComponentInstance | undefined | null
Element | ComponentPublicInstance | VueComponentInstance | undefined | null
>

@@ -179,1 +180,26 @@

: undefined
/**
* Sorts an array of nodes by their position in the DOM
* @param nodes
* @param resolveKey
* @returns
*/
export function sortByDomNode<T>(
nodes: T[],
resolveKey: (item: T) => HTMLElement | null = (i) =>
i as unknown as HTMLElement | null
): T[] {
return nodes.slice().sort((aItem, zItem) => {
let a = resolveKey(aItem)
let z = resolveKey(zItem)
if (a === null || z === null) return 0
let position = a.compareDocumentPosition(z)
if (position & Node.DOCUMENT_POSITION_FOLLOWING) return -1
if (position & Node.DOCUMENT_POSITION_PRECEDING) return 1
return 0
})
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc