@histoire/vendors 0.9.0 → 0.9.1
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 +12 -17
- package/dist/client/b-pinia.js +1 -1
- package/dist/client/b-vue-router.js +1 -1
- package/dist/client/b-vue-use.js +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +2 -1
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +3 -2
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +3 -2
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +3 -2
- package/dist/client/node_modules/floating-vue/package.json +2 -2
- package/dist/client/vue.runtime.esm-bundler.js +1 -1
- package/package.json +2 -2
- package/rollup.config.mjs +4 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, o as openBlock, c as createElementBlock,
|
|
1
|
+
import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass, r as renderSlot, a as normalizeProps, g as guardReactiveProps, b as nextTick, w as withScopeId, p as pushScopeId, e as popScopeId, f as createBlock, h as createBaseVNode, i as resolveComponent, j as normalizeStyle, k as withKeys, F as Fragment, l as createCommentVNode, m as withCtx, q as createVNode, s as mergeProps, t as toDisplayString, u as ref, v as createApp, x as h } from './vue.runtime.esm-bundler.js';
|
|
2
2
|
|
|
3
3
|
function getBasePlacement(placement) {
|
|
4
4
|
return placement.split('-')[0];
|
|
@@ -1723,7 +1723,7 @@ var PrivatePopper = () => defineComponent({
|
|
|
1723
1723
|
},
|
|
1724
1724
|
referenceNode: {
|
|
1725
1725
|
type: Function,
|
|
1726
|
-
|
|
1726
|
+
default: null
|
|
1727
1727
|
},
|
|
1728
1728
|
popperNode: {
|
|
1729
1729
|
type: Function,
|
|
@@ -2053,13 +2053,14 @@ var PrivatePopper = () => defineComponent({
|
|
|
2053
2053
|
this.$emit("update:shown", false);
|
|
2054
2054
|
},
|
|
2055
2055
|
init() {
|
|
2056
|
+
var _a, _b;
|
|
2056
2057
|
if (!this.$_isDisposed)
|
|
2057
2058
|
return;
|
|
2058
2059
|
this.$_isDisposed = false;
|
|
2059
2060
|
this.isMounted = false;
|
|
2060
2061
|
this.$_events = [];
|
|
2061
2062
|
this.$_preventShow = false;
|
|
2062
|
-
this.$_referenceNode = this.referenceNode();
|
|
2063
|
+
this.$_referenceNode = (_b = (_a = this.referenceNode) == null ? void 0 : _a.call(this)) != null ? _b : this.$el;
|
|
2063
2064
|
this.$_targetNodes = this.targetNodes().filter((e) => e.nodeType === e.ELEMENT_NODE);
|
|
2064
2065
|
this.$_popperNode = this.popperNode();
|
|
2065
2066
|
this.$_innerNode = this.$_popperNode.querySelector(".v-popper__inner");
|
|
@@ -2626,16 +2627,14 @@ const _sfc_main$6 = {
|
|
|
2626
2627
|
extends: PrivatePopper()
|
|
2627
2628
|
};
|
|
2628
2629
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2629
|
-
return openBlock(), createElementBlock("div",
|
|
2630
|
+
return openBlock(), createElementBlock("div", {
|
|
2630
2631
|
ref: "reference",
|
|
2631
|
-
class: "v-popper"
|
|
2632
|
-
}, _ctx.$attrs, {
|
|
2633
|
-
class: {
|
|
2632
|
+
class: normalizeClass(["v-popper", {
|
|
2634
2633
|
"v-popper--shown": _ctx.slotData.isShown
|
|
2635
|
-
}
|
|
2636
|
-
}
|
|
2634
|
+
}])
|
|
2635
|
+
}, [
|
|
2637
2636
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(_ctx.slotData)))
|
|
2638
|
-
],
|
|
2637
|
+
], 2);
|
|
2639
2638
|
}
|
|
2640
2639
|
var Popper$1 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$3]]);
|
|
2641
2640
|
function getInternetExplorerVersion() {
|
|
@@ -2903,7 +2902,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
2903
2902
|
},
|
|
2904
2903
|
methods: {
|
|
2905
2904
|
getTargetNodes() {
|
|
2906
|
-
return Array.from(this.$
|
|
2905
|
+
return Array.from(this.$el.children).filter((node) => node !== this.$refs.popperContent.$el);
|
|
2907
2906
|
}
|
|
2908
2907
|
}
|
|
2909
2908
|
});
|
|
@@ -2914,7 +2913,6 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2914
2913
|
ref: "popper",
|
|
2915
2914
|
theme: _ctx.finalTheme,
|
|
2916
2915
|
"target-nodes": _ctx.getTargetNodes,
|
|
2917
|
-
"reference-node": () => _ctx.$refs.popper.$el,
|
|
2918
2916
|
"popper-node": () => _ctx.$refs.popperContent.$el,
|
|
2919
2917
|
class: normalizeClass([
|
|
2920
2918
|
_ctx.themeClass
|
|
@@ -2962,7 +2960,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2962
2960
|
}, 1032, ["popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
|
|
2963
2961
|
]),
|
|
2964
2962
|
_: 3
|
|
2965
|
-
}, 8, ["theme", "target-nodes", "
|
|
2963
|
+
}, 8, ["theme", "target-nodes", "popper-node", "class"]);
|
|
2966
2964
|
}
|
|
2967
2965
|
var PrivatePopperWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1]]);
|
|
2968
2966
|
var Dropdown_vue_vue_type_style_index_0_lang = "";
|
|
@@ -3330,15 +3328,12 @@ function install(app, options2 = {}) {
|
|
|
3330
3328
|
assign(config, options2);
|
|
3331
3329
|
app.directive("tooltip", PrivateVTooltip);
|
|
3332
3330
|
app.directive("close-popper", PrivateVClosePopper);
|
|
3333
|
-
app.component("v-tooltip", _sfc_main$1);
|
|
3334
3331
|
app.component("VTooltip", _sfc_main$1);
|
|
3335
|
-
app.component("v-dropdown", _sfc_main$3);
|
|
3336
3332
|
app.component("VDropdown", _sfc_main$3);
|
|
3337
|
-
app.component("v-menu", _sfc_main$2);
|
|
3338
3333
|
app.component("VMenu", _sfc_main$2);
|
|
3339
3334
|
}
|
|
3340
3335
|
const plugin = {
|
|
3341
|
-
version: "2.0.0-beta.
|
|
3336
|
+
version: "2.0.0-beta.19",
|
|
3342
3337
|
install,
|
|
3343
3338
|
options: config
|
|
3344
3339
|
};
|
package/dist/client/b-pinia.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isVue2, s as set, d as del } from './index.js';
|
|
2
2
|
import { s as setupDevtoolsPlugin } from './index2.js';
|
|
3
|
-
import { y as getCurrentInstance, z as inject, A as toRaw, B as watch, C as unref, D as markRaw, E as effectScope, u as ref, G as isRef, H as isReactive, I as onUnmounted, J as toRefs, K as computed,
|
|
3
|
+
import { y as getCurrentInstance, z as inject, A as toRaw, B as watch, C as unref, D as markRaw, E as effectScope, u as ref, G as isRef, H as isReactive, I as onUnmounted, J as toRefs, K as computed, b as nextTick, L as reactive, M as toRef } from './vue.runtime.esm-bundler.js';
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
6
|
* pinia v2.0.17
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as onUnmounted, N as onDeactivated, O as onActivated, y as getCurrentInstance, z as inject, K as computed, C as unref, P as watchEffect, d as defineComponent, L as reactive, x as h, Q as provide, u as ref, B as watch, R as shallowRef,
|
|
1
|
+
import { I as onUnmounted, N as onDeactivated, O as onActivated, y as getCurrentInstance, z as inject, K as computed, C as unref, P as watchEffect, d as defineComponent, L as reactive, x as h, Q as provide, u as ref, B as watch, R as shallowRef, b as nextTick } from './vue.runtime.esm-bundler.js';
|
|
2
2
|
import { s as setupDevtoolsPlugin } from './index2.js';
|
|
3
3
|
|
|
4
4
|
/*!
|
package/dist/client/b-vue-use.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isVue3, i as isVue2, s as set$1, d as del } from './index.js';
|
|
2
|
-
import { R as shallowRef, P as watchEffect, S as readonly, C as unref, u as ref, B as watch, T as customRef, E as effectScope, Q as provide, z as inject, U as getCurrentScope, V as onScopeDispose, G as isRef, K as computed, L as reactive, J as toRefs$1, M as toRef, y as getCurrentInstance, W as onBeforeMount,
|
|
2
|
+
import { R as shallowRef, P as watchEffect, S as readonly, C as unref, u as ref, B as watch, T as customRef, E as effectScope, Q as provide, z as inject, U as getCurrentScope, V as onScopeDispose, G as isRef, K as computed, L as reactive, J as toRefs$1, M as toRef, y as getCurrentInstance, W as onBeforeMount, b as nextTick, X as onBeforeUnmount, Y as onMounted, I as onUnmounted, H as isReactive, Z as onUpdated, D as markRaw, _ as onBeforeUpdate } from './vue.runtime.esm-bundler.js';
|
|
3
3
|
|
|
4
4
|
var __defProp$9$1 = Object.defineProperty;
|
|
5
5
|
var __defProps$6$1 = Object.defineProperties;
|
package/dist/client/b-vue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ai as BaseTransition, aj as Comment, bd as EffectScope, F as Fragment, ak as KeepAlive, be as ReactiveEffect, al as Static, am as Suspense, an as Teleport, ao as Text, a0 as Transition, a1 as TransitionGroup, a2 as VueElement, ap as callWithAsyncErrorHandling, aq as callWithErrorHandling, bo as camelize, bp as capitalize, ar as cloneVNode, as as compatUtils, $ as compile, K as computed, v as createApp,
|
|
1
|
+
export { ai as BaseTransition, aj as Comment, bd as EffectScope, F as Fragment, ak as KeepAlive, be as ReactiveEffect, al as Static, am as Suspense, an as Teleport, ao as Text, a0 as Transition, a1 as TransitionGroup, a2 as VueElement, ap as callWithAsyncErrorHandling, aq as callWithErrorHandling, bo as camelize, bp as capitalize, ar as cloneVNode, as as compatUtils, $ as compile, K as computed, v as createApp, f as createBlock, l as createCommentVNode, c as createElementBlock, h as createElementVNode, at as createHydrationRenderer, au as createPropsRestProxy, av as createRenderer, a3 as createSSRApp, aw as createSlots, ax as createStaticVNode, ay as createTextVNode, q as createVNode, T as customRef, az as defineAsyncComponent, d as defineComponent, a4 as defineCustomElement, aA as defineEmits, aB as defineExpose, aC as defineProps, a5 as defineSSRCustomElement, aD as devtools, bf as effect, E as effectScope, y as getCurrentInstance, U as getCurrentScope, aE as getTransitionRawChildren, g as guardReactiveProps, x as h, aF as handleError, a6 as hydrate, aG as initCustomFormatter, a7 as initDirectivesForSSR, z as inject, aH as isMemoSame, bg as isProxy, H as isReactive, bh as isReadonly, G as isRef, aI as isRuntimeOnly, bi as isShallow, aJ as isVNode, D as markRaw, aK as mergeDefaults, s as mergeProps, b as nextTick, n as normalizeClass, a as normalizeProps, j as normalizeStyle, O as onActivated, W as onBeforeMount, X as onBeforeUnmount, _ as onBeforeUpdate, N as onDeactivated, aL as onErrorCaptured, Y as onMounted, aM as onRenderTracked, aN as onRenderTriggered, V as onScopeDispose, aO as onServerPrefetch, I as onUnmounted, Z as onUpdated, o as openBlock, e as popScopeId, Q as provide, bj as proxyRefs, p as pushScopeId, aP as queuePostFlushCb, L as reactive, S as readonly, u as ref, aQ as registerRuntimeCompiler, a8 as render, aR as renderList, r as renderSlot, i as resolveComponent, aS as resolveDirective, aT as resolveDynamicComponent, aU as resolveFilter, aV as resolveTransitionHooks, aW as setBlockTracking, aX as setDevtoolsHook, aY as setTransitionHooks, bk as shallowReactive, bl as shallowReadonly, R as shallowRef, aZ as ssrContextKey, a_ as ssrUtils, bm as stop, t as toDisplayString, bq as toHandlerKey, a$ as toHandlers, A as toRaw, M as toRef, J as toRefs, b0 as transformVNodeArgs, bn as triggerRef, C as unref, b1 as useAttrs, a9 as useCssModule, aa as useCssVars, b2 as useSSRContext, b3 as useSlots, b4 as useTransitionState, ab as vModelCheckbox, ac as vModelDynamic, ad as vModelRadio, ae as vModelSelect, af as vModelText, ag as vShow, b5 as version, b6 as warn, B as watch, P as watchEffect, b7 as watchPostEffect, b8 as watchSyncEffect, b9 as withAsyncContext, m as withCtx, ba as withDefaults, bb as withDirectives, k as withKeys, bc as withMemo, ah 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.18.
|
|
3
|
+
"version": "7.18.10",
|
|
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",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"@babel/code-frame": "^7.18.6",
|
|
38
38
|
"@babel/helper-check-duplicate-nodes": "^7.18.6",
|
|
39
39
|
"@babel/helper-fixtures": "^7.18.6",
|
|
40
|
+
"@babel/helper-string-parser": "^7.18.10",
|
|
40
41
|
"@babel/helper-validator-identifier": "^7.18.6",
|
|
41
42
|
"charcodes": "^0.2.0"
|
|
42
43
|
},
|
|
@@ -12,7 +12,7 @@ declare const _default: () => import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
referenceNode: {
|
|
14
14
|
type: FunctionConstructor;
|
|
15
|
-
|
|
15
|
+
default: any;
|
|
16
16
|
};
|
|
17
17
|
popperNode: {
|
|
18
18
|
type: FunctionConstructor;
|
|
@@ -317,9 +317,9 @@ declare const _default: () => import("vue").DefineComponent<{
|
|
|
317
317
|
shown: boolean;
|
|
318
318
|
theme: string;
|
|
319
319
|
targetNodes: Function;
|
|
320
|
-
referenceNode: Function;
|
|
321
320
|
popperNode: Function;
|
|
322
321
|
} & {
|
|
322
|
+
referenceNode?: Function;
|
|
323
323
|
showGroup?: string;
|
|
324
324
|
ariaId?: any;
|
|
325
325
|
}> & {
|
|
@@ -367,6 +367,7 @@ declare const _default: () => import("vue").DefineComponent<{
|
|
|
367
367
|
arrowOverflow: boolean;
|
|
368
368
|
shiftCrossAxis: boolean;
|
|
369
369
|
shown: boolean;
|
|
370
|
+
referenceNode: Function;
|
|
370
371
|
showGroup: string;
|
|
371
372
|
ariaId: any;
|
|
372
373
|
}>;
|
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
|
10
10
|
};
|
|
11
11
|
referenceNode: {
|
|
12
12
|
type: FunctionConstructor;
|
|
13
|
-
|
|
13
|
+
default: any;
|
|
14
14
|
};
|
|
15
15
|
popperNode: {
|
|
16
16
|
type: FunctionConstructor;
|
|
@@ -309,9 +309,9 @@ declare const _default: {
|
|
|
309
309
|
shown: boolean;
|
|
310
310
|
theme: string;
|
|
311
311
|
targetNodes: Function;
|
|
312
|
-
referenceNode: Function;
|
|
313
312
|
popperNode: Function;
|
|
314
313
|
} & {
|
|
314
|
+
referenceNode?: Function;
|
|
315
315
|
showGroup?: string;
|
|
316
316
|
ariaId?: any;
|
|
317
317
|
}> & {
|
|
@@ -359,6 +359,7 @@ declare const _default: {
|
|
|
359
359
|
arrowOverflow: boolean;
|
|
360
360
|
shiftCrossAxis: boolean;
|
|
361
361
|
shown: boolean;
|
|
362
|
+
referenceNode: Function;
|
|
362
363
|
showGroup: string;
|
|
363
364
|
ariaId: any;
|
|
364
365
|
}>;
|
|
@@ -32,7 +32,7 @@ export declare const Popper: () => import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
referenceNode: {
|
|
34
34
|
type: FunctionConstructor;
|
|
35
|
-
|
|
35
|
+
default: any;
|
|
36
36
|
};
|
|
37
37
|
popperNode: {
|
|
38
38
|
type: FunctionConstructor;
|
|
@@ -331,9 +331,9 @@ export declare const Popper: () => import("vue").DefineComponent<{
|
|
|
331
331
|
shown: boolean;
|
|
332
332
|
theme: string;
|
|
333
333
|
targetNodes: Function;
|
|
334
|
-
referenceNode: Function;
|
|
335
334
|
popperNode: Function;
|
|
336
335
|
} & {
|
|
336
|
+
referenceNode?: Function;
|
|
337
337
|
showGroup?: string;
|
|
338
338
|
ariaId?: any;
|
|
339
339
|
}> & {
|
|
@@ -381,6 +381,7 @@ export declare const Popper: () => import("vue").DefineComponent<{
|
|
|
381
381
|
shift: boolean;
|
|
382
382
|
shiftCrossAxis: boolean;
|
|
383
383
|
shown: boolean;
|
|
384
|
+
referenceNode: Function;
|
|
384
385
|
showGroup: string;
|
|
385
386
|
ariaId: any;
|
|
386
387
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "floating-vue",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.19",
|
|
4
4
|
"description": "Easy Vue tooltips, dropdowns, menus & popovers using floating-ui",
|
|
5
5
|
"author": "Guillaume Chau <guillaume.b.chau@gmail.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"url": "git+https://github.com/Akryum/floating-vue.git",
|
|
68
68
|
"directory": "packages/floating-vue"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "051eaac250083db4d1715ee3a9b5a71c5ab63e0b"
|
|
71
71
|
}
|
|
@@ -11550,4 +11550,4 @@ var vue_runtime_esmBundler = /*#__PURE__*/Object.freeze({
|
|
|
11550
11550
|
withModifiers: withModifiers
|
|
11551
11551
|
});
|
|
11552
11552
|
|
|
11553
|
-
export { compile as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, onUnmounted as I, toRefs as J, computed as K, reactive as L, toRef as M, onDeactivated as N, onActivated as O, watchEffect as P, provide as Q, shallowRef as R, readonly as S, customRef as T, getCurrentScope as U, onScopeDispose as V, onBeforeMount as W, onBeforeUnmount as X, onMounted as Y, onUpdated as Z, onBeforeUpdate as _,
|
|
11553
|
+
export { compile as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, onUnmounted as I, toRefs as J, computed as K, reactive as L, toRef as M, onDeactivated as N, onActivated as O, watchEffect as P, provide as Q, shallowRef as R, readonly as S, customRef as T, getCurrentScope as U, onScopeDispose as V, onBeforeMount as W, onBeforeUnmount as X, onMounted as Y, onUpdated as Z, onBeforeUpdate as _, normalizeProps as a, toHandlers as a$, Transition as a0, TransitionGroup as a1, VueElement as a2, createSSRApp as a3, defineCustomElement as a4, defineSSRCustomElement as a5, hydrate as a6, initDirectivesForSSR as a7, render as a8, useCssModule as a9, defineEmits as aA, defineExpose as aB, defineProps as aC, devtools as aD, getTransitionRawChildren as aE, handleError as aF, initCustomFormatter as aG, isMemoSame as aH, isRuntimeOnly as aI, isVNode as aJ, mergeDefaults as aK, onErrorCaptured as aL, onRenderTracked as aM, onRenderTriggered as aN, onServerPrefetch as aO, queuePostFlushCb as aP, registerRuntimeCompiler as aQ, renderList as aR, resolveDirective as aS, resolveDynamicComponent as aT, resolveFilter as aU, resolveTransitionHooks as aV, setBlockTracking as aW, setDevtoolsHook as aX, setTransitionHooks as aY, ssrContextKey as aZ, ssrUtils as a_, useCssVars as aa, vModelCheckbox as ab, vModelDynamic as ac, vModelRadio as ad, vModelSelect as ae, vModelText as af, vShow as ag, withModifiers as ah, BaseTransition as ai, Comment as aj, KeepAlive as ak, Static as al, Suspense as am, Teleport as an, Text as ao, callWithAsyncErrorHandling as ap, callWithErrorHandling as aq, cloneVNode as ar, compatUtils as as, createHydrationRenderer as at, createPropsRestProxy as au, createRenderer as av, createSlots as aw, createStaticVNode as ax, createTextVNode as ay, defineAsyncComponent as az, nextTick as b, transformVNodeArgs as b0, useAttrs as b1, useSSRContext as b2, useSlots as b3, useTransitionState as b4, version as b5, warn as b6, watchPostEffect as b7, watchSyncEffect as b8, withAsyncContext as b9, withDefaults as ba, withDirectives as bb, withMemo as bc, EffectScope as bd, ReactiveEffect as be, effect as bf, isProxy as bg, isReadonly as bh, isShallow$1 as bi, proxyRefs as bj, shallowReactive as bk, shallowReadonly as bl, stop as bm, triggerRef as bn, camelize as bo, capitalize as bp, toHandlerKey as bq, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, normalizeStyle as j, withKeys as k, createCommentVNode as l, withCtx as m, normalizeClass as n, openBlock as o, pushScopeId as p, createVNode as q, renderSlot as r, mergeProps as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, getCurrentInstance as y, inject as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/vendors",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Bundled vendors for histoire",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/node": "^18.0.3",
|
|
34
34
|
"@vueuse/core": "^8.2.5",
|
|
35
35
|
"execa": "^6.1.0",
|
|
36
|
-
"floating-vue": "^2.0.0-beta.
|
|
36
|
+
"floating-vue": "^2.0.0-beta.19",
|
|
37
37
|
"fs-extra": "^10.0.1",
|
|
38
38
|
"globby": "^13.1.1",
|
|
39
39
|
"pinia": "^2.0.13",
|
package/rollup.config.mjs
CHANGED
|
@@ -50,7 +50,7 @@ export default defineConfig({
|
|
|
50
50
|
dependencies: {},
|
|
51
51
|
}
|
|
52
52
|
const pkgExports = {}
|
|
53
|
-
const files = globbySync('./dist/client/*.d.ts')
|
|
53
|
+
const files = globbySync('./dist/client/*.d.ts', { cwd: __dirname })
|
|
54
54
|
for (const file of files) {
|
|
55
55
|
// Retrieve imports from dts
|
|
56
56
|
{
|
|
@@ -65,9 +65,10 @@ export default defineConfig({
|
|
|
65
65
|
}
|
|
66
66
|
// Create entry files in root
|
|
67
67
|
{
|
|
68
|
-
const
|
|
68
|
+
const filepath = file.replace(/\.d\.ts$/, '')
|
|
69
|
+
const content = `import Default from '${filepath}'
|
|
69
70
|
export default Default
|
|
70
|
-
export * from '
|
|
71
|
+
export * from '${filepath}'\n`
|
|
71
72
|
fs.writeFileSync(path.basename(file).replace(/^b-/, ''), content, 'utf-8')
|
|
72
73
|
}
|
|
73
74
|
// Exports (package.json)
|