@histoire/vendors 0.17.17 → 1.0.0-alpha.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/dist/client/b-floating-vue.js +2175 -2150
- package/dist/client/b-iconify.js +663 -850
- package/dist/client/b-pinia.js +130 -68
- package/dist/client/b-scroll.js +3 -52
- package/dist/client/b-vue-router.js +385 -237
- package/dist/client/b-vue-use.js +4578 -3115
- package/dist/client/b-vue.js +1 -1
- package/dist/client/index.js +162 -20
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +10 -6
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +167 -188
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2786 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3286 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +525 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +32 -39
- package/dist/client/node_modules/@floating-ui/dom/package.json +23 -24
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -7
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +121 -20
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +3 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -2
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +103 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +122 -327
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +36 -269
- package/dist/client/node_modules/@iconify/vue/package.json +64 -60
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +2 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +3 -2
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +33 -14
- package/dist/client/node_modules/@types/web-bluetooth/package.json +12 -12
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +218 -125
- package/dist/client/node_modules/@vue/compiler-core/package.json +20 -5
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +6 -3
- package/dist/client/node_modules/@vue/compiler-dom/package.json +17 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +35 -25
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +27 -18
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +2 -2
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +268 -166
- package/dist/client/node_modules/@vue/reactivity/package.json +16 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +728 -529
- package/dist/client/node_modules/@vue/runtime-core/package.json +17 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +195 -86
- package/dist/client/node_modules/@vue/runtime-dom/package.json +22 -4
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +4 -8
- package/dist/client/node_modules/@vue/server-renderer/package.json +18 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +45 -30
- package/dist/client/node_modules/@vue/shared/package.json +15 -1
- package/dist/client/node_modules/@vueuse/core/index.d.ts +2323 -666
- package/dist/client/node_modules/@vueuse/core/package.json +22 -12
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +7 -5
- package/dist/client/node_modules/@vueuse/metadata/package.json +14 -7
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +451 -280
- package/dist/client/node_modules/@vueuse/shared/package.json +17 -6
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +35 -45
- package/dist/client/node_modules/entities/lib/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/lib/esm/package.json +1 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/index.d.ts +96 -0
- package/dist/client/node_modules/entities/package.json +90 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +225 -105
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +471 -364
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +14 -25
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +392 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +49 -10
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2071 -247
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/package.json +42 -33
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +250 -229
- package/dist/client/node_modules/magic-string/package.json +24 -26
- package/dist/client/node_modules/nanoid/package.json +1 -1
- package/dist/client/node_modules/picocolors/package.json +2 -2
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +116 -37
- package/dist/client/node_modules/pinia/package.json +7 -11
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +22 -19
- package/dist/client/node_modules/postcss/lib/comment.d.ts +6 -5
- package/dist/client/node_modules/postcss/lib/container.d.ts +72 -82
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +16 -13
- package/dist/client/node_modules/postcss/lib/document.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/input.d.ts +28 -16
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +40 -40
- package/dist/client/node_modules/postcss/lib/list.d.ts +5 -2
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +5 -5
- package/dist/client/node_modules/postcss/lib/node.d.ts +19 -14
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +25 -8
- package/dist/client/node_modules/postcss/lib/processor.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +10 -11
- package/dist/client/node_modules/postcss/lib/root.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/rule.d.ts +22 -13
- package/dist/client/node_modules/postcss/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +28 -67
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +1 -1
- package/dist/client/node_modules/source-map-js/source-map.d.ts +88 -99
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -4
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -1
- package/dist/client/node_modules/vue/jsx.d.ts +2 -1
- package/dist/client/node_modules/vue/package.json +13 -14
- package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +1 -1
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +410 -81
- package/dist/client/node_modules/vue-router/package.json +66 -37
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +4 -0
- package/dist/client/vue.runtime.esm-bundler.js +6458 -4714
- package/package.json +17 -17
- package/rollup.config.mjs +6 -6
- package/dist/client/index2.js +0 -168
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +0 -10
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +0 -21
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +0 -32
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +0 -148
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +0 -1
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +0 -43
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +0 -41
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +0 -19
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +0 -5
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +0 -13
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +0 -19
- package/dist/client/node_modules/vue/macros-global.d.ts +0 -19
- package/dist/client/node_modules/vue/macros.d.ts +0 -112
- package/dist/client/node_modules/vue/ref-macros.d.ts +0 -2
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
package/dist/client/b-vue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ao as BaseTransition, ap as BaseTransitionPropsValidators, aq as Comment, ar as DeprecationTypes, bz as EffectScope, as as ErrorCodes, at as ErrorTypeStrings, F as Fragment, au as KeepAlive, bA as ReactiveEffect, av as Static, aw as Suspense, ax as Teleport, ay as Text, bB as TrackOpTypes, a5 as Transition, a0 as TransitionGroup, bC as TriggerOpTypes, a6 as VueElement, az as assertNumber, aA as callWithAsyncErrorHandling, aB as callWithErrorHandling, bM as camelize, bN as capitalize, aC as cloneVNode, aD as compatUtils, a4 as compile, L as computed, v as createApp, f as createBlock, l as createCommentVNode, c as createElementBlock, h as createElementVNode, aE as createHydrationRenderer, aF as createPropsRestProxy, aG as createRenderer, a7 as createSSRApp, aH as createSlots, aI as createStaticVNode, aJ as createTextVNode, s as createVNode, X as customRef, aK as defineAsyncComponent, d as defineComponent, a8 as defineCustomElement, aL as defineEmits, aM as defineExpose, aN as defineModel, aO as defineOptions, aP as defineProps, a9 as defineSSRCustomElement, aQ as defineSlots, aR as devtools, bD as effect, E as effectScope, O as getCurrentInstance, I as getCurrentScope, bE as getCurrentWatcher, aS as getTransitionRawChildren, g as guardReactiveProps, x as h, aT as handleError, y as hasInjectionContext, aa as hydrate, aU as hydrateOnIdle, aV as hydrateOnInteraction, aW as hydrateOnMediaQuery, aX as hydrateOnVisible, aY as initCustomFormatter, ab as initDirectivesForSSR, z as inject, aZ as isMemoSame, bF as isProxy, H as isReactive, a2 as isReadonly, G as isRef, a_ as isRuntimeOnly, bG as isShallow, a$ as isVNode, D as markRaw, b0 as mergeDefaults, b1 as mergeModels, m as mergeProps, b as nextTick, n as normalizeClass, a as normalizeProps, k as normalizeStyle, R as onActivated, Z as onBeforeMount, _ as onBeforeUnmount, a3 as onBeforeUpdate, Q as onDeactivated, b2 as onErrorCaptured, $ as onMounted, b3 as onRenderTracked, b4 as onRenderTriggered, J as onScopeDispose, b5 as onServerPrefetch, P as onUnmounted, a1 as onUpdated, bH as onWatcherCleanup, o as openBlock, e as popScopeId, T as provide, bI as proxyRefs, p as pushScopeId, b6 as queuePostFlushCb, M as reactive, W as readonly, u as ref, b7 as registerRuntimeCompiler, ac as render, b8 as renderList, r as renderSlot, i as resolveComponent, b9 as resolveDirective, ba as resolveDynamicComponent, bb as resolveFilter, bc as resolveTransitionHooks, bd as setBlockTracking, be as setDevtoolsHook, bf as setTransitionHooks, V as shallowReactive, bJ as shallowReadonly, U as shallowRef, bg as ssrContextKey, bh as ssrUtils, bK as stop, t as toDisplayString, bO as toHandlerKey, bi as toHandlers, A as toRaw, N as toRef, K as toRefs, Y as toValue, bj as transformVNodeArgs, bL as triggerRef, C as unref, bk as useAttrs, ad as useCssModule, ae as useCssVars, af as useHost, bl as useId, bm as useModel, bn as useSSRContext, ag as useShadowRoot, bo as useSlots, bp as useTemplateRef, bq as useTransitionState, ah as vModelCheckbox, ai as vModelDynamic, aj as vModelRadio, ak as vModelSelect, al as vModelText, am as vShow, br as version, bs as warn, B as watch, S as watchEffect, bt as watchPostEffect, bu as watchSyncEffect, bv as withAsyncContext, q as withCtx, bw as withDefaults, bx as withDirectives, j as withKeys, by as withMemo, an as withModifiers, w as withScopeId } from './vue.runtime.esm-bundler.js';
|
package/dist/client/index.js
CHANGED
|
@@ -1,27 +1,169 @@
|
|
|
1
|
-
|
|
1
|
+
function getDevtoolsGlobalHook() {
|
|
2
|
+
return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
3
|
+
}
|
|
4
|
+
function getTarget() {
|
|
5
|
+
// @ts-expect-error navigator and windows are not available in all environments
|
|
6
|
+
return (typeof navigator !== 'undefined' && typeof window !== 'undefined')
|
|
7
|
+
? window
|
|
8
|
+
: typeof globalThis !== 'undefined'
|
|
9
|
+
? globalThis
|
|
10
|
+
: {};
|
|
11
|
+
}
|
|
12
|
+
const isProxyAvailable = typeof Proxy === 'function';
|
|
2
13
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var Vue2 = undefined;
|
|
14
|
+
const HOOK_SETUP = 'devtools-plugin:setup';
|
|
15
|
+
const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';
|
|
6
16
|
|
|
7
|
-
|
|
17
|
+
let supported;
|
|
18
|
+
let perf;
|
|
19
|
+
function isPerformanceSupported() {
|
|
20
|
+
var _a;
|
|
21
|
+
if (supported !== undefined) {
|
|
22
|
+
return supported;
|
|
23
|
+
}
|
|
24
|
+
if (typeof window !== 'undefined' && window.performance) {
|
|
25
|
+
supported = true;
|
|
26
|
+
perf = window.performance;
|
|
27
|
+
}
|
|
28
|
+
else if (typeof globalThis !== 'undefined' && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
29
|
+
supported = true;
|
|
30
|
+
perf = globalThis.perf_hooks.performance;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
supported = false;
|
|
34
|
+
}
|
|
35
|
+
return supported;
|
|
36
|
+
}
|
|
37
|
+
function now() {
|
|
38
|
+
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
39
|
+
}
|
|
8
40
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
41
|
+
class ApiProxy {
|
|
42
|
+
constructor(plugin, hook) {
|
|
43
|
+
this.target = null;
|
|
44
|
+
this.targetQueue = [];
|
|
45
|
+
this.onQueue = [];
|
|
46
|
+
this.plugin = plugin;
|
|
47
|
+
this.hook = hook;
|
|
48
|
+
const defaultSettings = {};
|
|
49
|
+
if (plugin.settings) {
|
|
50
|
+
for (const id in plugin.settings) {
|
|
51
|
+
const item = plugin.settings[id];
|
|
52
|
+
defaultSettings[id] = item.defaultValue;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;
|
|
56
|
+
let currentSettings = Object.assign({}, defaultSettings);
|
|
57
|
+
try {
|
|
58
|
+
const raw = localStorage.getItem(localSettingsSaveId);
|
|
59
|
+
const data = JSON.parse(raw);
|
|
60
|
+
Object.assign(currentSettings, data);
|
|
61
|
+
}
|
|
62
|
+
catch (e) {
|
|
63
|
+
// noop
|
|
64
|
+
}
|
|
65
|
+
this.fallbacks = {
|
|
66
|
+
getSettings() {
|
|
67
|
+
return currentSettings;
|
|
68
|
+
},
|
|
69
|
+
setSettings(value) {
|
|
70
|
+
try {
|
|
71
|
+
localStorage.setItem(localSettingsSaveId, JSON.stringify(value));
|
|
72
|
+
}
|
|
73
|
+
catch (e) {
|
|
74
|
+
// noop
|
|
75
|
+
}
|
|
76
|
+
currentSettings = value;
|
|
77
|
+
},
|
|
78
|
+
now() {
|
|
79
|
+
return now();
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
if (hook) {
|
|
83
|
+
hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
|
|
84
|
+
if (pluginId === this.plugin.id) {
|
|
85
|
+
this.fallbacks.setSettings(value);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
this.proxiedOn = new Proxy({}, {
|
|
90
|
+
get: (_target, prop) => {
|
|
91
|
+
if (this.target) {
|
|
92
|
+
return this.target.on[prop];
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
return (...args) => {
|
|
96
|
+
this.onQueue.push({
|
|
97
|
+
method: prop,
|
|
98
|
+
args,
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
this.proxiedTarget = new Proxy({}, {
|
|
105
|
+
get: (_target, prop) => {
|
|
106
|
+
if (this.target) {
|
|
107
|
+
return this.target[prop];
|
|
108
|
+
}
|
|
109
|
+
else if (prop === 'on') {
|
|
110
|
+
return this.proxiedOn;
|
|
111
|
+
}
|
|
112
|
+
else if (Object.keys(this.fallbacks).includes(prop)) {
|
|
113
|
+
return (...args) => {
|
|
114
|
+
this.targetQueue.push({
|
|
115
|
+
method: prop,
|
|
116
|
+
args,
|
|
117
|
+
resolve: () => { },
|
|
118
|
+
});
|
|
119
|
+
return this.fallbacks[prop](...args);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
return (...args) => {
|
|
124
|
+
return new Promise((resolve) => {
|
|
125
|
+
this.targetQueue.push({
|
|
126
|
+
method: prop,
|
|
127
|
+
args,
|
|
128
|
+
resolve,
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
async setRealTarget(target) {
|
|
137
|
+
this.target = target;
|
|
138
|
+
for (const item of this.onQueue) {
|
|
139
|
+
this.target.on[item.method](...item.args);
|
|
140
|
+
}
|
|
141
|
+
for (const item of this.targetQueue) {
|
|
142
|
+
item.resolve(await this.target[item.method](...item.args));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
17
145
|
}
|
|
18
146
|
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
target
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
147
|
+
function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
148
|
+
const descriptor = pluginDescriptor;
|
|
149
|
+
const target = getTarget();
|
|
150
|
+
const hook = getDevtoolsGlobalHook();
|
|
151
|
+
const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;
|
|
152
|
+
if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
|
|
153
|
+
hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;
|
|
157
|
+
const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
|
|
158
|
+
list.push({
|
|
159
|
+
pluginDescriptor: descriptor,
|
|
160
|
+
setupFn,
|
|
161
|
+
proxy,
|
|
162
|
+
});
|
|
163
|
+
if (proxy) {
|
|
164
|
+
setupFn(proxy.proxiedTarget);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
25
167
|
}
|
|
26
168
|
|
|
27
|
-
export {
|
|
169
|
+
export { setupDevtoolsPlugin as s };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@babel/helper-string-parser",
|
|
3
|
+
"version": "7.25.9",
|
|
4
|
+
"description": "A utility package to parse strings",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/babel/babel.git",
|
|
8
|
+
"directory": "packages/babel-helper-string-parser"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://babel.dev/docs/en/next/babel-helper-string-parser",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"main": "./lib/index.js",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"charcodes": "^0.2.0"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=6.9.0"
|
|
21
|
+
},
|
|
22
|
+
"author": "The Babel Team (https://babel.dev/team)",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./lib/index.d.ts",
|
|
26
|
+
"default": "./lib/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"type": "commonjs"
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@babel/helper-validator-identifier",
|
|
3
|
+
"version": "7.25.9",
|
|
4
|
+
"description": "Validate identifier/keywords name",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/babel/babel.git",
|
|
8
|
+
"directory": "packages/babel-helper-validator-identifier"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"main": "./lib/index.js",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./lib/index.d.ts",
|
|
18
|
+
"default": "./lib/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@unicode/unicode-16.0.0": "^1.0.0",
|
|
24
|
+
"charcodes": "^0.2.0"
|
|
25
|
+
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=6.9.0"
|
|
28
|
+
},
|
|
29
|
+
"author": "The Babel Team (https://babel.dev/team)",
|
|
30
|
+
"type": "commonjs"
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babel/parser",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.26.9",
|
|
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",
|
|
@@ -33,12 +33,16 @@
|
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=6.0.0"
|
|
35
35
|
},
|
|
36
|
+
"# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@babel/types": "^7.26.9"
|
|
39
|
+
},
|
|
36
40
|
"devDependencies": {
|
|
37
|
-
"@babel/code-frame": "^7.
|
|
38
|
-
"@babel/helper-check-duplicate-nodes": "^7.
|
|
39
|
-
"@babel/helper-fixtures": "^7.
|
|
40
|
-
"@babel/helper-string-parser": "^7.
|
|
41
|
-
"@babel/helper-validator-identifier": "^7.
|
|
41
|
+
"@babel/code-frame": "^7.26.2",
|
|
42
|
+
"@babel/helper-check-duplicate-nodes": "^7.25.9",
|
|
43
|
+
"@babel/helper-fixtures": "^7.26.0",
|
|
44
|
+
"@babel/helper-string-parser": "^7.25.9",
|
|
45
|
+
"@babel/helper-validator-identifier": "^7.25.9",
|
|
42
46
|
"charcodes": "^0.2.0"
|
|
43
47
|
},
|
|
44
48
|
"bin": "./bin/babel-parser.js",
|