@histoire/vendors 1.0.0-alpha.5 → 1.0.0-beta.2
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/build/floating-ui-frames.mjs +28 -0
- package/dist/client/b-floating-vue.js +35 -22
- package/dist/client/b-vue-router.js +2615 -3624
- package/dist/client/b-vue-use.js +87 -77
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +7 -7
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +24 -26
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +183 -183
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +203 -208
- package/dist/client/node_modules/@babel/types/package.json +6 -6
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +75 -68
- package/dist/client/node_modules/@floating-ui/core/package.json +3 -3
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +5 -3
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +2 -2
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +11 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +9 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +93 -21
- package/dist/client/node_modules/@types/web-bluetooth/package.json +9 -3
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +20 -11
- package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +3 -2
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +14 -14
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +24 -25
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +48 -41
- package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +680 -645
- package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +7 -1
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +131 -103
- package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
- package/dist/client/node_modules/@vueuse/core/package.json +4 -4
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +30 -13
- package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
- package/dist/client/node_modules/csstype/index.d.ts +2326 -782
- package/dist/client/node_modules/csstype/package.json +26 -26
- package/dist/client/node_modules/entities/decode.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib/esm/decode_codepoint.d.ts → dist/commonjs/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist/commonjs}/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/escape.d.ts +9 -6
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib/esm → dist/commonjs}/index.d.ts +9 -9
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
- package/dist/client/node_modules/entities/{lib/decode_codepoint.d.ts → dist/esm/decode-codepoint.d.ts} +2 -2
- package/dist/client/node_modules/entities/{lib → dist}/esm/decode.d.ts +20 -26
- package/dist/client/node_modules/entities/{lib → dist/esm}/encode.d.ts +2 -2
- package/dist/client/node_modules/entities/{lib → dist/esm}/escape.d.ts +9 -6
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/{lib → dist/esm}/index.d.ts +9 -9
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
- package/dist/client/node_modules/entities/escape.d.ts +3 -0
- package/dist/client/node_modules/entities/package.json +99 -69
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
- package/dist/client/node_modules/nanoid/package.json +3 -3
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/container.d.ts +17 -26
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +4 -5
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +3 -4
- package/dist/client/node_modules/postcss/lib/list.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/node.d.ts +2 -3
- package/dist/client/node_modules/postcss/lib/parse.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +10 -4
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/rule.d.ts +12 -12
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -1
- package/dist/client/node_modules/postcss/package.json +45 -45
- package/dist/client/node_modules/source-map-js/package.json +14 -7
- package/dist/client/node_modules/source-map-js/source-map.d.ts +177 -63
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
- package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -2
- package/dist/client/node_modules/vue/jsx.d.ts +1 -1
- package/dist/client/node_modules/vue/package.json +6 -6
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
- package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
- package/dist/client/node_modules/vue-router/package.json +43 -39
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -4
- package/dist/client/vue.runtime.esm-bundler.js +2987 -2699
- package/package.json +4 -3
- package/rollup.config.mjs +12 -2
- package/tsconfig.json +3 -1
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/entities/lib/esm/package.json +0 -1
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -1836
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
- /package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +0 -0
package/dist/client/b-vue-use.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as shallowRef, S as watchEffect, W as readonly, B as watch, X as customRef, I as getCurrentScope, J as onScopeDispose, E as effectScope, O as getCurrentInstance, y as hasInjectionContext, z as inject, T as provide, G as isRef, C as unref, Y as toValue$1, L as computed, M as reactive, K as toRefs$1, N as toRef$1,
|
|
1
|
+
import { U as shallowRef, S as watchEffect, W as readonly, B as watch, X as customRef, I as getCurrentScope, J as onScopeDispose, E as effectScope, O as getCurrentInstance, y as hasInjectionContext, z as inject, T as provide, u as ref, G as isRef, C as unref, Y as toValue$1, L as computed, M as reactive, K as toRefs$1, N as toRef$1, Z as onBeforeMount, b as nextTick, _ as onBeforeUnmount, $ as onMounted, P as onUnmounted, H as isReactive, d as defineComponent, V as shallowReactive, x as h, F as Fragment, a0 as TransitionGroup, a1 as onUpdated, A as toRaw, D as markRaw, a2 as isReadonly, a3 as onBeforeUpdate } from './vue.runtime.esm-bundler.js';
|
|
2
2
|
|
|
3
3
|
function computedEager(fn, options) {
|
|
4
4
|
var _a;
|
|
@@ -131,6 +131,14 @@ function createInjectionState(composable, options) {
|
|
|
131
131
|
return [useProvidingState, useInjectedState];
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
function createRef(value, deep) {
|
|
135
|
+
if (deep === true) {
|
|
136
|
+
return ref(value);
|
|
137
|
+
} else {
|
|
138
|
+
return shallowRef(value);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
134
142
|
function createSharedComposable(composable) {
|
|
135
143
|
let subscribers = 0;
|
|
136
144
|
let state;
|
|
@@ -743,10 +751,10 @@ function syncRefs(source, targets, options = {}) {
|
|
|
743
751
|
deep = false,
|
|
744
752
|
immediate = true
|
|
745
753
|
} = options;
|
|
746
|
-
|
|
754
|
+
const targetsArray = toArray(targets);
|
|
747
755
|
return watch(
|
|
748
756
|
source,
|
|
749
|
-
(newValue) =>
|
|
757
|
+
(newValue) => targetsArray.forEach((target) => target.value = newValue),
|
|
750
758
|
{ flush, deep, immediate }
|
|
751
759
|
);
|
|
752
760
|
}
|
|
@@ -1063,7 +1071,7 @@ function useArrayUnique(list, compareFn) {
|
|
|
1063
1071
|
|
|
1064
1072
|
function useCounter(initialValue = 0, options = {}) {
|
|
1065
1073
|
let _initialValue = unref(initialValue);
|
|
1066
|
-
const count =
|
|
1074
|
+
const count = shallowRef(initialValue);
|
|
1067
1075
|
const {
|
|
1068
1076
|
max = Number.POSITIVE_INFINITY,
|
|
1069
1077
|
min = Number.NEGATIVE_INFINITY
|
|
@@ -1248,7 +1256,7 @@ function useInterval(interval = 1e3, options = {}) {
|
|
|
1248
1256
|
|
|
1249
1257
|
function useLastChanged(source, options = {}) {
|
|
1250
1258
|
var _a;
|
|
1251
|
-
const ms =
|
|
1259
|
+
const ms = shallowRef((_a = options.initialValue) != null ? _a : null);
|
|
1252
1260
|
watch(
|
|
1253
1261
|
source,
|
|
1254
1262
|
() => ms.value = timestamp(),
|
|
@@ -1347,7 +1355,7 @@ function useToggle(initialValue = false, options = {}) {
|
|
|
1347
1355
|
falsyValue = false
|
|
1348
1356
|
} = options;
|
|
1349
1357
|
const valueIsRef = isRef(initialValue);
|
|
1350
|
-
const _value =
|
|
1358
|
+
const _value = shallowRef(initialValue);
|
|
1351
1359
|
function toggle(value) {
|
|
1352
1360
|
if (arguments.length) {
|
|
1353
1361
|
_value.value = value;
|
|
@@ -1365,7 +1373,7 @@ function useToggle(initialValue = false, options = {}) {
|
|
|
1365
1373
|
}
|
|
1366
1374
|
|
|
1367
1375
|
function watchArray(source, cb, options) {
|
|
1368
|
-
let oldList = (options == null ? void 0 : options.immediate) ? [] : [...source
|
|
1376
|
+
let oldList = (options == null ? void 0 : options.immediate) ? [] : [...typeof source === "function" ? source() : Array.isArray(source) ? source : toValue$1(source)];
|
|
1369
1377
|
return watch(source, (newList, _, onCleanup) => {
|
|
1370
1378
|
const oldListRemains = Array.from({ length: oldList.length });
|
|
1371
1379
|
const added = [];
|
|
@@ -1678,14 +1686,14 @@ function createReusableTemplate(options = {}) {
|
|
|
1678
1686
|
inheritAttrs = true
|
|
1679
1687
|
} = options;
|
|
1680
1688
|
const render = shallowRef();
|
|
1681
|
-
const define =
|
|
1689
|
+
const define = /*@__PURE__*/ defineComponent({
|
|
1682
1690
|
setup(_, { slots }) {
|
|
1683
1691
|
return () => {
|
|
1684
1692
|
render.value = slots.default;
|
|
1685
1693
|
};
|
|
1686
1694
|
}
|
|
1687
1695
|
});
|
|
1688
|
-
const reuse =
|
|
1696
|
+
const reuse = /*@__PURE__*/ defineComponent({
|
|
1689
1697
|
inheritAttrs,
|
|
1690
1698
|
props: options.props,
|
|
1691
1699
|
setup(props, { attrs, slots }) {
|
|
@@ -1748,7 +1756,7 @@ function createTemplatePromise(options = {}) {
|
|
|
1748
1756
|
return instances.value[0].promise;
|
|
1749
1757
|
return create(...args);
|
|
1750
1758
|
}
|
|
1751
|
-
const component =
|
|
1759
|
+
const component = /*@__PURE__*/ defineComponent((_, { slots }) => {
|
|
1752
1760
|
const renderList = () => instances.value.map((props) => {
|
|
1753
1761
|
var _a;
|
|
1754
1762
|
return h(Fragment, { key: props.key }, (_a = slots.default) == null ? void 0 : _a.call(slots, props));
|
|
@@ -2181,12 +2189,10 @@ function isTypedCharValid({
|
|
|
2181
2189
|
}) {
|
|
2182
2190
|
if (metaKey || ctrlKey || altKey)
|
|
2183
2191
|
return false;
|
|
2184
|
-
if (keyCode >= 48 && keyCode <= 57)
|
|
2192
|
+
if (keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105)
|
|
2185
2193
|
return true;
|
|
2186
2194
|
if (keyCode >= 65 && keyCode <= 90)
|
|
2187
2195
|
return true;
|
|
2188
|
-
if (keyCode >= 97 && keyCode <= 122)
|
|
2189
|
-
return true;
|
|
2190
2196
|
return false;
|
|
2191
2197
|
}
|
|
2192
2198
|
function onStartTyping(callback, options = {}) {
|
|
@@ -2238,7 +2244,7 @@ function useActiveElement(options = {}) {
|
|
|
2238
2244
|
}
|
|
2239
2245
|
return element;
|
|
2240
2246
|
};
|
|
2241
|
-
const activeElement =
|
|
2247
|
+
const activeElement = shallowRef();
|
|
2242
2248
|
const trigger = () => {
|
|
2243
2249
|
activeElement.value = getDeepActiveElement();
|
|
2244
2250
|
};
|
|
@@ -2464,14 +2470,16 @@ function useAnimate(target, keyframes, options) {
|
|
|
2464
2470
|
}
|
|
2465
2471
|
});
|
|
2466
2472
|
watch(() => keyframes, (value) => {
|
|
2467
|
-
if (animate.value)
|
|
2473
|
+
if (animate.value) {
|
|
2468
2474
|
update();
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
+
const targetEl = unrefElement(target);
|
|
2476
|
+
if (targetEl) {
|
|
2477
|
+
animate.value.effect = new KeyframeEffect(
|
|
2478
|
+
targetEl,
|
|
2479
|
+
toValue$1(value),
|
|
2480
|
+
animateOptions
|
|
2481
|
+
);
|
|
2482
|
+
}
|
|
2475
2483
|
}
|
|
2476
2484
|
}, { deep: true });
|
|
2477
2485
|
tryOnMounted(() => update(true), false);
|
|
@@ -2891,7 +2899,7 @@ function provideSSRWidth(width, app) {
|
|
|
2891
2899
|
function useMediaQuery(query, options = {}) {
|
|
2892
2900
|
const { window = defaultWindow, ssrWidth = useSSRWidth() } = options;
|
|
2893
2901
|
const isSupported = useSupported(() => window && "matchMedia" in window && typeof window.matchMedia === "function");
|
|
2894
|
-
const ssrSupport =
|
|
2902
|
+
const ssrSupport = shallowRef(typeof ssrWidth === "number");
|
|
2895
2903
|
const mediaQuery = shallowRef();
|
|
2896
2904
|
const matches = shallowRef(false);
|
|
2897
2905
|
const handler = (event) => {
|
|
@@ -3178,8 +3186,9 @@ function useBrowserLocation(options = {}) {
|
|
|
3178
3186
|
return state;
|
|
3179
3187
|
}
|
|
3180
3188
|
|
|
3181
|
-
function useCached(refValue, comparator = (a, b) => a === b,
|
|
3182
|
-
const
|
|
3189
|
+
function useCached(refValue, comparator = (a, b) => a === b, options) {
|
|
3190
|
+
const { deepRefs = true, ...watchOptions } = options || {};
|
|
3191
|
+
const cachedValue = createRef(refValue.value, deepRefs);
|
|
3183
3192
|
watch(() => refValue.value, (value) => {
|
|
3184
3193
|
if (!comparator(value, cachedValue.value))
|
|
3185
3194
|
cachedValue.value = value;
|
|
@@ -3243,13 +3252,11 @@ function useClipboard(options = {}) {
|
|
|
3243
3252
|
const text = shallowRef("");
|
|
3244
3253
|
const copied = shallowRef(false);
|
|
3245
3254
|
const timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });
|
|
3246
|
-
function updateText() {
|
|
3255
|
+
async function updateText() {
|
|
3247
3256
|
let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionRead.value));
|
|
3248
3257
|
if (!useLegacy) {
|
|
3249
3258
|
try {
|
|
3250
|
-
navigator.clipboard.readText()
|
|
3251
|
-
text.value = value;
|
|
3252
|
-
});
|
|
3259
|
+
text.value = await navigator.clipboard.readText();
|
|
3253
3260
|
} catch (e) {
|
|
3254
3261
|
useLegacy = true;
|
|
3255
3262
|
}
|
|
@@ -3343,7 +3350,7 @@ function cloneFnJSON(source) {
|
|
|
3343
3350
|
}
|
|
3344
3351
|
function useCloned(source, options = {}) {
|
|
3345
3352
|
const cloned = ref({});
|
|
3346
|
-
const isModified =
|
|
3353
|
+
const isModified = shallowRef(false);
|
|
3347
3354
|
let _lastSync = false;
|
|
3348
3355
|
const {
|
|
3349
3356
|
manual,
|
|
@@ -3759,7 +3766,8 @@ function useCssVar(prop, target, options = {}) {
|
|
|
3759
3766
|
if (old[0] && old[1])
|
|
3760
3767
|
old[0].style.removeProperty(old[1]);
|
|
3761
3768
|
updateCssVar();
|
|
3762
|
-
}
|
|
3769
|
+
},
|
|
3770
|
+
{ immediate: true }
|
|
3763
3771
|
);
|
|
3764
3772
|
watch(
|
|
3765
3773
|
[variable, elRef],
|
|
@@ -4166,11 +4174,12 @@ function useDevicesList(options = {}) {
|
|
|
4166
4174
|
}
|
|
4167
4175
|
}
|
|
4168
4176
|
async function ensurePermissions() {
|
|
4177
|
+
const deviceName = constraints.video ? "camera" : "microphone";
|
|
4169
4178
|
if (!isSupported.value)
|
|
4170
4179
|
return false;
|
|
4171
4180
|
if (permissionGranted.value)
|
|
4172
4181
|
return true;
|
|
4173
|
-
const { state, query } = usePermission(
|
|
4182
|
+
const { state, query } = usePermission(deviceName, { controls: true });
|
|
4174
4183
|
await query();
|
|
4175
4184
|
if (state.value !== "granted") {
|
|
4176
4185
|
let granted = true;
|
|
@@ -4262,7 +4271,7 @@ function useDocumentVisibility(options = {}) {
|
|
|
4262
4271
|
const { document = defaultDocument } = options;
|
|
4263
4272
|
if (!document)
|
|
4264
4273
|
return shallowRef("visible");
|
|
4265
|
-
const visibility =
|
|
4274
|
+
const visibility = shallowRef(document.visibilityState);
|
|
4266
4275
|
useEventListener(document, "visibilitychange", () => {
|
|
4267
4276
|
visibility.value = document.visibilityState;
|
|
4268
4277
|
}, { passive: true });
|
|
@@ -4591,7 +4600,7 @@ function useElementByPoint(options) {
|
|
|
4591
4600
|
return document && "elementsFromPoint" in document;
|
|
4592
4601
|
return document && "elementFromPoint" in document;
|
|
4593
4602
|
});
|
|
4594
|
-
const element =
|
|
4603
|
+
const element = shallowRef(null);
|
|
4595
4604
|
const cb = () => {
|
|
4596
4605
|
var _a, _b;
|
|
4597
4606
|
element.value = toValue$1(multiple) ? (_a = document == null ? void 0 : document.elementsFromPoint(toValue$1(x), toValue$1(y))) != null ? _a : [] : (_b = document == null ? void 0 : document.elementFromPoint(toValue$1(x), toValue$1(y))) != null ? _b : null;
|
|
@@ -4643,8 +4652,8 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
|
|
|
4643
4652
|
var _a, _b;
|
|
4644
4653
|
return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
|
|
4645
4654
|
});
|
|
4646
|
-
const width =
|
|
4647
|
-
const height =
|
|
4655
|
+
const width = shallowRef(initialSize.width);
|
|
4656
|
+
const height = shallowRef(initialSize.height);
|
|
4648
4657
|
const { stop: stop1 } = useResizeObserver(
|
|
4649
4658
|
target,
|
|
4650
4659
|
([entry]) => {
|
|
@@ -4708,7 +4717,7 @@ function useIntersectionObserver(target, callback, options = {}) {
|
|
|
4708
4717
|
return toArray(_target).map(unrefElement).filter(notNullish);
|
|
4709
4718
|
});
|
|
4710
4719
|
let cleanup = noop;
|
|
4711
|
-
const isActive =
|
|
4720
|
+
const isActive = shallowRef(immediate);
|
|
4712
4721
|
const stopWatch = isSupported.value ? watch(
|
|
4713
4722
|
() => [targets.value, unrefElement(root), isActive.value],
|
|
4714
4723
|
([targets2, root2]) => {
|
|
@@ -4834,8 +4843,8 @@ function resolveNestedOptions$1(options) {
|
|
|
4834
4843
|
return options;
|
|
4835
4844
|
}
|
|
4836
4845
|
function useEventSource(url, events = [], options = {}) {
|
|
4837
|
-
const event =
|
|
4838
|
-
const data =
|
|
4846
|
+
const event = shallowRef(null);
|
|
4847
|
+
const data = shallowRef(null);
|
|
4839
4848
|
const status = shallowRef("CONNECTING");
|
|
4840
4849
|
const eventSource = ref(null);
|
|
4841
4850
|
const error = shallowRef(null);
|
|
@@ -5091,7 +5100,7 @@ function useFetch(url, ...args) {
|
|
|
5091
5100
|
const isFinished = shallowRef(false);
|
|
5092
5101
|
const isFetching = shallowRef(false);
|
|
5093
5102
|
const aborted = shallowRef(false);
|
|
5094
|
-
const statusCode =
|
|
5103
|
+
const statusCode = shallowRef(null);
|
|
5095
5104
|
const response = shallowRef(null);
|
|
5096
5105
|
const error = shallowRef(null);
|
|
5097
5106
|
const data = shallowRef(initialData || null);
|
|
@@ -5793,7 +5802,7 @@ function useGeolocation(options = {}) {
|
|
|
5793
5802
|
immediate = true
|
|
5794
5803
|
} = options;
|
|
5795
5804
|
const isSupported = useSupported(() => navigator && "geolocation" in navigator);
|
|
5796
|
-
const locatedAt =
|
|
5805
|
+
const locatedAt = shallowRef(null);
|
|
5797
5806
|
const error = shallowRef(null);
|
|
5798
5807
|
const coords = ref({
|
|
5799
5808
|
accuracy: 0,
|
|
@@ -6038,8 +6047,8 @@ function useScroll(element, options = {}) {
|
|
|
6038
6047
|
const scrollLeft = el.scrollLeft;
|
|
6039
6048
|
directions.left = scrollLeft < internalX.value;
|
|
6040
6049
|
directions.right = scrollLeft > internalX.value;
|
|
6041
|
-
const left = scrollLeft * directionMultipler <= (offset.left || 0);
|
|
6042
|
-
const right = scrollLeft * directionMultipler + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
6050
|
+
const left = Math.abs(scrollLeft * directionMultipler) <= (offset.left || 0);
|
|
6051
|
+
const right = Math.abs(scrollLeft * directionMultipler) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
6043
6052
|
if (display === "flex" && flexDirection === "row-reverse") {
|
|
6044
6053
|
arrivedState.left = right;
|
|
6045
6054
|
arrivedState.right = left;
|
|
@@ -6053,8 +6062,8 @@ function useScroll(element, options = {}) {
|
|
|
6053
6062
|
scrollTop = window.document.body.scrollTop;
|
|
6054
6063
|
directions.top = scrollTop < internalY.value;
|
|
6055
6064
|
directions.bottom = scrollTop > internalY.value;
|
|
6056
|
-
const top = scrollTop <= (offset.top || 0);
|
|
6057
|
-
const bottom = scrollTop + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
6065
|
+
const top = Math.abs(scrollTop) <= (offset.top || 0);
|
|
6066
|
+
const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
6058
6067
|
if (display === "flex" && flexDirection === "column-reverse") {
|
|
6059
6068
|
arrivedState.top = bottom;
|
|
6060
6069
|
arrivedState.bottom = top;
|
|
@@ -6172,7 +6181,7 @@ function useKeyModifier(modifier, options = {}) {
|
|
|
6172
6181
|
document = defaultDocument,
|
|
6173
6182
|
initial = null
|
|
6174
6183
|
} = options;
|
|
6175
|
-
const state =
|
|
6184
|
+
const state = shallowRef(initial);
|
|
6176
6185
|
if (document) {
|
|
6177
6186
|
events.forEach((listenerEvent) => {
|
|
6178
6187
|
useEventListener(document, listenerEvent, (evt) => {
|
|
@@ -6734,7 +6743,7 @@ function useMouseInElement(target, options = {}) {
|
|
|
6734
6743
|
} = options;
|
|
6735
6744
|
const type = options.type || "page";
|
|
6736
6745
|
const { x, y, sourceType } = useMouse(options);
|
|
6737
|
-
const targetRef =
|
|
6746
|
+
const targetRef = shallowRef(target != null ? target : window == null ? void 0 : window.document.body);
|
|
6738
6747
|
const elementX = shallowRef(0);
|
|
6739
6748
|
const elementY = shallowRef(0);
|
|
6740
6749
|
const elementPositionX = shallowRef(0);
|
|
@@ -6801,8 +6810,8 @@ function useMousePressed(options = {}) {
|
|
|
6801
6810
|
initialValue = false,
|
|
6802
6811
|
window = defaultWindow
|
|
6803
6812
|
} = options;
|
|
6804
|
-
const pressed =
|
|
6805
|
-
const sourceType =
|
|
6813
|
+
const pressed = shallowRef(initialValue);
|
|
6814
|
+
const sourceType = shallowRef(null);
|
|
6806
6815
|
if (!window) {
|
|
6807
6816
|
return {
|
|
6808
6817
|
pressed,
|
|
@@ -6846,7 +6855,7 @@ function useNavigatorLanguage(options = {}) {
|
|
|
6846
6855
|
const { window = defaultWindow } = options;
|
|
6847
6856
|
const navigator = window == null ? void 0 : window.navigator;
|
|
6848
6857
|
const isSupported = useSupported(() => navigator && "language" in navigator);
|
|
6849
|
-
const language =
|
|
6858
|
+
const language = shallowRef(navigator == null ? void 0 : navigator.language);
|
|
6850
6859
|
useEventListener(window, "languagechange", () => {
|
|
6851
6860
|
if (navigator)
|
|
6852
6861
|
language.value = navigator.language;
|
|
@@ -6863,13 +6872,13 @@ function useNetwork(options = {}) {
|
|
|
6863
6872
|
const isSupported = useSupported(() => navigator && "connection" in navigator);
|
|
6864
6873
|
const isOnline = shallowRef(true);
|
|
6865
6874
|
const saveData = shallowRef(false);
|
|
6866
|
-
const offlineAt =
|
|
6867
|
-
const onlineAt =
|
|
6868
|
-
const downlink =
|
|
6869
|
-
const downlinkMax =
|
|
6870
|
-
const rtt =
|
|
6871
|
-
const effectiveType =
|
|
6872
|
-
const type =
|
|
6875
|
+
const offlineAt = shallowRef(void 0);
|
|
6876
|
+
const onlineAt = shallowRef(void 0);
|
|
6877
|
+
const downlink = shallowRef(void 0);
|
|
6878
|
+
const downlinkMax = shallowRef(void 0);
|
|
6879
|
+
const rtt = shallowRef(void 0);
|
|
6880
|
+
const effectiveType = shallowRef(void 0);
|
|
6881
|
+
const type = shallowRef("unknown");
|
|
6873
6882
|
const connection = isSupported.value && navigator.connection;
|
|
6874
6883
|
function updateNetworkInformation() {
|
|
6875
6884
|
if (!navigator)
|
|
@@ -6933,7 +6942,7 @@ function useNow(options = {}) {
|
|
|
6933
6942
|
}
|
|
6934
6943
|
|
|
6935
6944
|
function useObjectUrl(object) {
|
|
6936
|
-
const url =
|
|
6945
|
+
const url = shallowRef();
|
|
6937
6946
|
const release = () => {
|
|
6938
6947
|
if (url.value)
|
|
6939
6948
|
URL.revokeObjectURL(url.value);
|
|
@@ -7051,7 +7060,7 @@ function useScreenOrientation(options = {}) {
|
|
|
7051
7060
|
const isSupported = useSupported(() => window && "screen" in window && "orientation" in window.screen);
|
|
7052
7061
|
const screenOrientation = isSupported.value ? window.screen.orientation : {};
|
|
7053
7062
|
const orientation = ref(screenOrientation.type);
|
|
7054
|
-
const angle =
|
|
7063
|
+
const angle = shallowRef(screenOrientation.angle || 0);
|
|
7055
7064
|
if (isSupported.value) {
|
|
7056
7065
|
useEventListener(window, "orientationchange", () => {
|
|
7057
7066
|
orientation.value = screenOrientation.type;
|
|
@@ -7231,8 +7240,8 @@ function usePointer(options = {}) {
|
|
|
7231
7240
|
function usePointerLock(target, options = {}) {
|
|
7232
7241
|
const { document = defaultDocument } = options;
|
|
7233
7242
|
const isSupported = useSupported(() => document && "pointerLockElement" in document);
|
|
7234
|
-
const element =
|
|
7235
|
-
const triggerElement =
|
|
7243
|
+
const element = shallowRef();
|
|
7244
|
+
const triggerElement = shallowRef();
|
|
7236
7245
|
let targetElement;
|
|
7237
7246
|
if (isSupported.value) {
|
|
7238
7247
|
const listenerOptions = { passive: true };
|
|
@@ -7497,7 +7506,7 @@ function useScriptTag(src, onLoaded = noop, options = {}) {
|
|
|
7497
7506
|
document = defaultDocument,
|
|
7498
7507
|
attrs = {}
|
|
7499
7508
|
} = options;
|
|
7500
|
-
const scriptTag =
|
|
7509
|
+
const scriptTag = shallowRef(null);
|
|
7501
7510
|
let _promise = null;
|
|
7502
7511
|
const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {
|
|
7503
7512
|
const resolveWithElement = (el2) => {
|
|
@@ -7590,7 +7599,7 @@ function preventDefault(rawEvent) {
|
|
|
7590
7599
|
}
|
|
7591
7600
|
const elInitialOverflow = /* @__PURE__ */ new WeakMap();
|
|
7592
7601
|
function useScrollLock(element, initialState = false) {
|
|
7593
|
-
const isLocked =
|
|
7602
|
+
const isLocked = shallowRef(initialState);
|
|
7594
7603
|
let stopTouchMoveListener = null;
|
|
7595
7604
|
let initialOverflow = "";
|
|
7596
7605
|
watch(toRef(element), (el) => {
|
|
@@ -7802,7 +7811,7 @@ function useSpeechSynthesis(text, options = {}) {
|
|
|
7802
7811
|
const synth = window && window.speechSynthesis;
|
|
7803
7812
|
const isSupported = useSupported(() => synth);
|
|
7804
7813
|
const isPlaying = shallowRef(false);
|
|
7805
|
-
const status =
|
|
7814
|
+
const status = shallowRef("init");
|
|
7806
7815
|
const spokenText = toRef(text || "");
|
|
7807
7816
|
const lang = toRef(options.lang || "en-US");
|
|
7808
7817
|
const error = shallowRef(void 0);
|
|
@@ -8730,8 +8739,8 @@ function useUrlSearchParams(mode = "history", options = {}) {
|
|
|
8730
8739
|
|
|
8731
8740
|
function useUserMedia(options = {}) {
|
|
8732
8741
|
var _a, _b;
|
|
8733
|
-
const enabled =
|
|
8734
|
-
const autoSwitch =
|
|
8742
|
+
const enabled = shallowRef((_a = options.enabled) != null ? _a : false);
|
|
8743
|
+
const autoSwitch = shallowRef((_b = options.autoSwitch) != null ? _b : true);
|
|
8735
8744
|
const constraints = ref(options.constraints);
|
|
8736
8745
|
const { navigator = defaultNavigator } = options;
|
|
8737
8746
|
const isSupported = useSupported(() => {
|
|
@@ -9104,7 +9113,7 @@ function useWakeLock(options = {}) {
|
|
|
9104
9113
|
navigator = defaultNavigator,
|
|
9105
9114
|
document = defaultDocument
|
|
9106
9115
|
} = options;
|
|
9107
|
-
const requestedType =
|
|
9116
|
+
const requestedType = shallowRef(false);
|
|
9108
9117
|
const sentinel = shallowRef(null);
|
|
9109
9118
|
const documentVisibility = useDocumentVisibility({ document });
|
|
9110
9119
|
const isSupported = useSupported(() => navigator && "wakeLock" in navigator);
|
|
@@ -9171,7 +9180,7 @@ function useWebNotification(options = {}) {
|
|
|
9171
9180
|
}
|
|
9172
9181
|
return true;
|
|
9173
9182
|
});
|
|
9174
|
-
const permissionGranted =
|
|
9183
|
+
const permissionGranted = shallowRef(isSupported.value && "permission" in Notification && Notification.permission === "granted");
|
|
9175
9184
|
const notification = ref(null);
|
|
9176
9185
|
const ensurePermissions = async () => {
|
|
9177
9186
|
if (!isSupported.value)
|
|
@@ -9247,7 +9256,7 @@ function useWebSocket(url, options = {}) {
|
|
|
9247
9256
|
protocols = []
|
|
9248
9257
|
} = options;
|
|
9249
9258
|
const data = ref(null);
|
|
9250
|
-
const status =
|
|
9259
|
+
const status = shallowRef("CLOSED");
|
|
9251
9260
|
const wsRef = ref();
|
|
9252
9261
|
const urlRef = toRef(url);
|
|
9253
9262
|
let heartbeatPause;
|
|
@@ -9309,6 +9318,8 @@ function useWebSocket(url, options = {}) {
|
|
|
9309
9318
|
};
|
|
9310
9319
|
ws.onclose = (ev) => {
|
|
9311
9320
|
status.value = "CLOSED";
|
|
9321
|
+
resetHeartbeat();
|
|
9322
|
+
heartbeatPause == null ? void 0 : heartbeatPause();
|
|
9312
9323
|
onDisconnected == null ? void 0 : onDisconnected(ws, ev);
|
|
9313
9324
|
if (!explicitlyClosed && options.autoReconnect && (wsRef.value == null || ws === wsRef.value)) {
|
|
9314
9325
|
const {
|
|
@@ -9316,11 +9327,10 @@ function useWebSocket(url, options = {}) {
|
|
|
9316
9327
|
delay = 1e3,
|
|
9317
9328
|
onFailed
|
|
9318
9329
|
} = resolveNestedOptions(options.autoReconnect);
|
|
9319
|
-
|
|
9330
|
+
const checkRetires = typeof retries === "function" ? retries : () => typeof retries === "number" && (retries < 0 || retried < retries);
|
|
9331
|
+
if (checkRetires(retried)) {
|
|
9320
9332
|
retried += 1;
|
|
9321
9333
|
retryTimeout = setTimeout(_init, delay);
|
|
9322
|
-
} else if (typeof retries === "function" && retries()) {
|
|
9323
|
-
retryTimeout = setTimeout(_init, delay);
|
|
9324
9334
|
} else {
|
|
9325
9335
|
onFailed == null ? void 0 : onFailed();
|
|
9326
9336
|
}
|
|
@@ -9474,9 +9484,9 @@ function useWebWorkerFn(fn, options = {}) {
|
|
|
9474
9484
|
window = defaultWindow
|
|
9475
9485
|
} = options;
|
|
9476
9486
|
const worker = ref();
|
|
9477
|
-
const workerStatus =
|
|
9487
|
+
const workerStatus = shallowRef("PENDING");
|
|
9478
9488
|
const promise = ref({});
|
|
9479
|
-
const timeoutId =
|
|
9489
|
+
const timeoutId = shallowRef();
|
|
9480
9490
|
const workerTerminate = (status = "PENDING") => {
|
|
9481
9491
|
if (worker.value && worker.value._url && window) {
|
|
9482
9492
|
worker.value.terminate();
|
|
@@ -9554,7 +9564,7 @@ function useWindowFocus(options = {}) {
|
|
|
9554
9564
|
const { window = defaultWindow } = options;
|
|
9555
9565
|
if (!window)
|
|
9556
9566
|
return shallowRef(false);
|
|
9557
|
-
const focused =
|
|
9567
|
+
const focused = shallowRef(window.document.hasFocus());
|
|
9558
9568
|
const listenerOptions = { passive: true };
|
|
9559
9569
|
useEventListener(window, "blur", () => {
|
|
9560
9570
|
focused.value = false;
|
|
@@ -9579,8 +9589,8 @@ function useWindowSize(options = {}) {
|
|
|
9579
9589
|
includeScrollbar = true,
|
|
9580
9590
|
type = "inner"
|
|
9581
9591
|
} = options;
|
|
9582
|
-
const width =
|
|
9583
|
-
const height =
|
|
9592
|
+
const width = shallowRef(initialWidth);
|
|
9593
|
+
const height = shallowRef(initialHeight);
|
|
9584
9594
|
const update = () => {
|
|
9585
9595
|
if (window) {
|
|
9586
9596
|
if (type === "outer") {
|
|
@@ -9613,4 +9623,4 @@ function useWindowSize(options = {}) {
|
|
|
9613
9623
|
return { width, height };
|
|
9614
9624
|
}
|
|
9615
9625
|
|
|
9616
|
-
export { DefaultMagicKeysAliasMap, StorageSerializers, TransitionPresets, assert, computedAsync as asyncComputed, refAutoReset as autoResetRef, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsElement, breakpointsMasterCss, breakpointsPrimeFlex, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, breakpointsVuetifyV2, breakpointsVuetifyV3, bypassFilter, camelize, clamp, cloneFnJSON, computedAsync, computedEager, computedInject, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFetch, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createReusableTemplate, createSharedComposable, createSingletonPromise, createTemplatePromise, createUnrefFn, customStorageEventName, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, computedEager as eagerComputed, executeTransition, extendRef, formatDate, formatTimeAgo, get, getLifeCycleTarget, getSSRHandler, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, mapGamepadToXbox360Controller, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, onClickOutside, onElementRemoval, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, provideSSRWidth, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, setSSRHandler, syncRef, syncRefs, templateRef, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, unrefElement, until, useActiveElement, useAnimate, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCountdown, useCounter, useCssVar, useCurrentElement, useCycleList, useDark, useDateFormat, refDebounced as useDebounce, useDebounceFn, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useInterval, useIntervalFn, useKeyModifier, useLastChanged, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePreferredReducedTransparency, usePrevious, useRafFn, useRefHistory, useResizeObserver, useSSRWidth, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, refThrottled as useThrottle, useThrottleFn, useThrottledRefHistory, useTimeAgo, useTimeout, useTimeoutFn, useTimeoutPoll, useTimestamp, useTitle, useToNumber, useToString, useToggle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };
|
|
9626
|
+
export { DefaultMagicKeysAliasMap, StorageSerializers, TransitionPresets, assert, computedAsync as asyncComputed, refAutoReset as autoResetRef, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsElement, breakpointsMasterCss, breakpointsPrimeFlex, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, breakpointsVuetifyV2, breakpointsVuetifyV3, bypassFilter, camelize, clamp, cloneFnJSON, computedAsync, computedEager, computedInject, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFetch, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createRef, createReusableTemplate, createSharedComposable, createSingletonPromise, createTemplatePromise, createUnrefFn, customStorageEventName, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, computedEager as eagerComputed, executeTransition, extendRef, formatDate, formatTimeAgo, get, getLifeCycleTarget, getSSRHandler, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, mapGamepadToXbox360Controller, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, onClickOutside, onElementRemoval, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, provideSSRWidth, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, setSSRHandler, syncRef, syncRefs, templateRef, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, unrefElement, until, useActiveElement, useAnimate, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCountdown, useCounter, useCssVar, useCurrentElement, useCycleList, useDark, useDateFormat, refDebounced as useDebounce, useDebounceFn, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useInterval, useIntervalFn, useKeyModifier, useLastChanged, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePreferredReducedTransparency, usePrevious, useRafFn, useRefHistory, useResizeObserver, useSSRWidth, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, refThrottled as useThrottle, useThrottleFn, useThrottledRefHistory, useTimeAgo, useTimeout, useTimeoutFn, useTimeoutPoll, useTimestamp, useTitle, useToNumber, useToString, useToggle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };
|
package/dist/client/b-vue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aq as BaseTransition, ar as BaseTransitionPropsValidators, as as Comment, at as DeprecationTypes, bB as EffectScope, au as ErrorCodes, av as ErrorTypeStrings, F as Fragment, aw as KeepAlive, bC as ReactiveEffect, ax as Static, ay as Suspense, az as Teleport, aA as Text, bD as TrackOpTypes, a5 as Transition, a0 as TransitionGroup, bE as TriggerOpTypes, a6 as VueElement, aB as assertNumber, aC as callWithAsyncErrorHandling, aD as callWithErrorHandling, bO as camelize, bP as capitalize, aE as cloneVNode, aF as compatUtils, a4 as compile, L as computed, v as createApp, f as createBlock, l as createCommentVNode, c as createElementBlock, h as createElementVNode, aG as createHydrationRenderer, aH as createPropsRestProxy, aI as createRenderer, a7 as createSSRApp, aJ as createSlots, aK as createStaticVNode, aL as createTextVNode, s as createVNode, X as customRef, aM as defineAsyncComponent, d as defineComponent, a8 as defineCustomElement, aN as defineEmits, aO as defineExpose, aP as defineModel, aQ as defineOptions, aR as defineProps, a9 as defineSSRCustomElement, aS as defineSlots, aT as devtools, bF as effect, E as effectScope, O as getCurrentInstance, I as getCurrentScope, bG as getCurrentWatcher, aU as getTransitionRawChildren, g as guardReactiveProps, x as h, aV as handleError, y as hasInjectionContext, aa as hydrate, aW as hydrateOnIdle, aX as hydrateOnInteraction, aY as hydrateOnMediaQuery, aZ as hydrateOnVisible, a_ as initCustomFormatter, ab as initDirectivesForSSR, z as inject, a$ as isMemoSame, bH as isProxy, H as isReactive, a2 as isReadonly, G as isRef, b0 as isRuntimeOnly, bI as isShallow, b1 as isVNode, D as markRaw, b2 as mergeDefaults, b3 as mergeModels, m as mergeProps, b as nextTick, ac as nodeOps, n as normalizeClass, a as normalizeProps, k as normalizeStyle, R as onActivated, Z as onBeforeMount, _ as onBeforeUnmount, a3 as onBeforeUpdate, Q as onDeactivated, b4 as onErrorCaptured, $ as onMounted, b5 as onRenderTracked, b6 as onRenderTriggered, J as onScopeDispose, b7 as onServerPrefetch, P as onUnmounted, a1 as onUpdated, bJ as onWatcherCleanup, o as openBlock, ad as patchProp, e as popScopeId, T as provide, bK as proxyRefs, p as pushScopeId, b8 as queuePostFlushCb, M as reactive, W as readonly, u as ref, b9 as registerRuntimeCompiler, ae as render, ba as renderList, r as renderSlot, i as resolveComponent, bb as resolveDirective, bc as resolveDynamicComponent, bd as resolveFilter, be as resolveTransitionHooks, bf as setBlockTracking, bg as setDevtoolsHook, bh as setTransitionHooks, V as shallowReactive, bL as shallowReadonly, U as shallowRef, bi as ssrContextKey, bj as ssrUtils, bM as stop, t as toDisplayString, bQ as toHandlerKey, bk as toHandlers, A as toRaw, N as toRef, K as toRefs, Y as toValue, bl as transformVNodeArgs, bN as triggerRef, C as unref, bm as useAttrs, af as useCssModule, ag as useCssVars, ah as useHost, bn as useId, bo as useModel, bp as useSSRContext, ai as useShadowRoot, bq as useSlots, br as useTemplateRef, bs as useTransitionState, aj as vModelCheckbox, ak as vModelDynamic, al as vModelRadio, am as vModelSelect, an as vModelText, ao as vShow, bt as version, bu as warn, B as watch, S as watchEffect, bv as watchPostEffect, bw as watchSyncEffect, bx as withAsyncContext, q as withCtx, by as withDefaults, bz as withDirectives, j as withKeys, bA as withMemo, ap as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babel/parser",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.29.15",
|
|
4
4
|
"description": "A JavaScript parser",
|
|
5
5
|
"author": "The Babel Team (https://babel.dev/team)",
|
|
6
6
|
"homepage": "https://babel.dev/docs/en/next/babel-parser",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@babel/types": "^7.
|
|
38
|
+
"@babel/types": "^7.29.15"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@babel/code-frame": "^7.
|
|
42
|
-
"@babel/helper-check-duplicate-nodes": "^7.
|
|
43
|
-
"@babel/helper-fixtures": "^7.
|
|
44
|
-
"@babel/helper-string-parser": "^7.
|
|
45
|
-
"@babel/helper-validator-identifier": "^7.
|
|
41
|
+
"@babel/code-frame": "^7.29.7",
|
|
42
|
+
"@babel/helper-check-duplicate-nodes": "^7.29.7",
|
|
43
|
+
"@babel/helper-fixtures": "^7.29.7",
|
|
44
|
+
"@babel/helper-string-parser": "^7.29.15",
|
|
45
|
+
"@babel/helper-validator-identifier": "^7.29.7",
|
|
46
46
|
"charcodes": "^0.2.0"
|
|
47
47
|
},
|
|
48
48
|
"bin": "./bin/babel-parser.js",
|