@histoire/vendors 0.11.8 → 0.11.9
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-pinia.js +32 -28
- package/dist/client/b-scroll.js +5 -15
- package/dist/client/b-vue-router.js +13 -3
- package/dist/client/b-vue-use.js +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +12 -9
- package/dist/client/node_modules/@vue/compiler-core/package.json +2 -2
- 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 +4 -8
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +7 -4
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +10 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +44 -40
- 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 +9 -5
- package/dist/client/node_modules/@vue/runtime-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +2 -1
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +1 -6
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +11 -11
- package/dist/client/node_modules/pinia/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +82 -107
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +7 -7
- package/dist/client/node_modules/vue/macros.d.ts +4 -2
- package/dist/client/node_modules/vue/package.json +6 -6
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +3 -3
- package/dist/client/node_modules/vue-router/package.json +12 -12
- package/dist/client/vue.runtime.esm-bundler.js +11324 -11250
- package/package.json +1 -1
package/dist/client/b-pinia.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
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 getCurrentScope, J as onScopeDispose, K as toRefs, L as computed, b as nextTick, M as reactive, N as toRef } from './vue.runtime.esm-bundler.js';
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
|
-
* pinia v2.0.
|
|
6
|
+
* pinia v2.0.27
|
|
7
7
|
* (c) 2022 Eduardo San Martin Morote
|
|
8
8
|
* @license MIT
|
|
9
9
|
*/
|
|
@@ -1109,8 +1109,8 @@ function addSubscription(subscriptions, callback, detached, onCleanup = noop) {
|
|
|
1109
1109
|
onCleanup();
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
|
-
if (!detached &&
|
|
1113
|
-
|
|
1112
|
+
if (!detached && getCurrentScope()) {
|
|
1113
|
+
onScopeDispose(removeSubscription);
|
|
1114
1114
|
}
|
|
1115
1115
|
return removeSubscription;
|
|
1116
1116
|
}
|
|
@@ -1169,6 +1169,12 @@ function skipHydrate(obj) {
|
|
|
1169
1169
|
/* istanbul ignore next */ skipHydrateMap.set(obj, 1) && obj
|
|
1170
1170
|
: Object.defineProperty(obj, skipHydrateSymbol, {});
|
|
1171
1171
|
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Returns whether a value should be hydrated
|
|
1174
|
+
*
|
|
1175
|
+
* @param obj - target variable
|
|
1176
|
+
* @returns true if `obj` should be hydrated
|
|
1177
|
+
*/
|
|
1172
1178
|
function shouldHydrate(obj) {
|
|
1173
1179
|
return isVue2
|
|
1174
1180
|
? /* istanbul ignore next */ !skipHydrateMap.has(obj)
|
|
@@ -1414,16 +1420,15 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1414
1420
|
// start as non ready
|
|
1415
1421
|
partialStore._r = false;
|
|
1416
1422
|
}
|
|
1417
|
-
const store = reactive(
|
|
1418
|
-
?
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
));
|
|
1423
|
+
const store = reactive((process.env.NODE_ENV !== 'production') || USE_DEVTOOLS
|
|
1424
|
+
? assign({
|
|
1425
|
+
_hmrPayload,
|
|
1426
|
+
_customProperties: markRaw(new Set()), // devtools custom properties
|
|
1427
|
+
}, partialStore
|
|
1428
|
+
// must be added later
|
|
1429
|
+
// setupStore
|
|
1430
|
+
)
|
|
1431
|
+
: partialStore);
|
|
1427
1432
|
// store the partial store now so the setup of stores can instantiate each other before they are finished without
|
|
1428
1433
|
// creating infinite loops.
|
|
1429
1434
|
pinia._s.set($id, store);
|
|
@@ -1450,6 +1455,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1450
1455
|
}
|
|
1451
1456
|
else {
|
|
1452
1457
|
// probably a reactive object, lets recursively assign
|
|
1458
|
+
// @ts-expect-error: prop is unknown
|
|
1453
1459
|
mergeReactiveObjects(prop, initialState[key]);
|
|
1454
1460
|
}
|
|
1455
1461
|
}
|
|
@@ -1497,9 +1503,9 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1497
1503
|
options.getters[key]
|
|
1498
1504
|
: prop;
|
|
1499
1505
|
if (IS_CLIENT) {
|
|
1500
|
-
const getters =
|
|
1501
|
-
|
|
1502
|
-
|
|
1506
|
+
const getters = setupStore._getters ||
|
|
1507
|
+
// @ts-expect-error: same
|
|
1508
|
+
(setupStore._getters = markRaw([]));
|
|
1503
1509
|
getters.push(key);
|
|
1504
1510
|
}
|
|
1505
1511
|
}
|
|
@@ -1509,9 +1515,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1509
1515
|
/* istanbul ignore if */
|
|
1510
1516
|
if (isVue2) {
|
|
1511
1517
|
Object.keys(setupStore).forEach((key) => {
|
|
1512
|
-
set(store, key,
|
|
1513
|
-
// @ts-expect-error: valid key indexing
|
|
1514
|
-
setupStore[key]);
|
|
1518
|
+
set(store, key, setupStore[key]);
|
|
1515
1519
|
});
|
|
1516
1520
|
}
|
|
1517
1521
|
else {
|
|
@@ -1605,20 +1609,20 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1605
1609
|
store._getters = newStore._getters;
|
|
1606
1610
|
store._hotUpdating = false;
|
|
1607
1611
|
});
|
|
1612
|
+
}
|
|
1613
|
+
if (USE_DEVTOOLS) {
|
|
1608
1614
|
const nonEnumerable = {
|
|
1609
1615
|
writable: true,
|
|
1610
1616
|
configurable: true,
|
|
1611
1617
|
// avoid warning on devtools trying to display this property
|
|
1612
1618
|
enumerable: false,
|
|
1613
1619
|
};
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
...nonEnumerable,
|
|
1619
|
-
});
|
|
1620
|
+
['_p', '_hmrPayload', '_getters', '_customProperties'].forEach((p) => {
|
|
1621
|
+
Object.defineProperty(store, p, {
|
|
1622
|
+
value: store[p],
|
|
1623
|
+
...nonEnumerable,
|
|
1620
1624
|
});
|
|
1621
|
-
}
|
|
1625
|
+
});
|
|
1622
1626
|
}
|
|
1623
1627
|
/* istanbul ignore if */
|
|
1624
1628
|
if (isVue2) {
|
|
@@ -1628,7 +1632,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
|
|
|
1628
1632
|
// apply all plugins
|
|
1629
1633
|
pinia._p.forEach((extender) => {
|
|
1630
1634
|
/* istanbul ignore else */
|
|
1631
|
-
if (
|
|
1635
|
+
if (USE_DEVTOOLS) {
|
|
1632
1636
|
const extensions = scope.run(() => extender({
|
|
1633
1637
|
store,
|
|
1634
1638
|
app: pinia._a,
|
package/dist/client/b-scroll.js
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
function t(t){return "object"==typeof t&&null!=t&&1===t.nodeType}function e(t,e){return (!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return e(r.overflowY,n)||e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return !1}function r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}function
|
|
1
|
+
function t(t){return "object"==typeof t&&null!=t&&1===t.nodeType}function e(t,e){return (!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return e(r.overflowY,n)||e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return !1}function r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}var i=function(e,i){var o=window,l=i.scrollMode,d=i.block,f=i.inline,h=i.boundary,u=i.skipOverflowHiddenElements,s="function"==typeof h?h:function(t){return t!==h};if(!t(e))throw new TypeError("Invalid target");for(var a,c,g=document.scrollingElement||document.documentElement,p=[],m=e;t(m)&&s(m);){if((m=null==(c=(a=m).parentElement)?a.getRootNode().host||null:c)===g){p.push(m);break}null!=m&&m===document.body&&n(m)&&!n(document.documentElement)||null!=m&&n(m,u)&&p.push(m);}for(var w=o.visualViewport?o.visualViewport.width:innerWidth,v=o.visualViewport?o.visualViewport.height:innerHeight,W=window.scrollX||pageXOffset,H=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),y=b.height,E=b.width,M=b.top,V=b.right,x=b.bottom,I=b.left,C="start"===d||"nearest"===d?M:"end"===d?x:M+y/2,R="center"===f?I+E/2:"end"===f?V:I,T=[],k=0;k<p.length;k++){var B=p[k],D=B.getBoundingClientRect(),O=D.height,X=D.width,Y=D.top,L=D.right,S=D.bottom,j=D.left;if("if-needed"===l&&M>=0&&I>=0&&x<=v&&V<=w&&M>=Y&&x<=S&&I>=j&&V<=L)return T;var N=getComputedStyle(B),q=parseInt(N.borderLeftWidth,10),z=parseInt(N.borderTopWidth,10),A=parseInt(N.borderRightWidth,10),F=parseInt(N.borderBottomWidth,10),G=0,J=0,K="offsetWidth"in B?B.offsetWidth-B.clientWidth-q-A:0,P="offsetHeight"in B?B.offsetHeight-B.clientHeight-z-F:0,Q="offsetWidth"in B?0===B.offsetWidth?0:X/B.offsetWidth:0,U="offsetHeight"in B?0===B.offsetHeight?0:O/B.offsetHeight:0;if(g===B)G="start"===d?C:"end"===d?C-v:"nearest"===d?r(H,H+v,v,z,F,H+C,H+C+y,y):C-v/2,J="start"===f?R:"center"===f?R-w/2:"end"===f?R-w:r(W,W+w,w,q,A,W+R,W+R+E,E),G=Math.max(0,G+H),J=Math.max(0,J+W);else {G="start"===d?C-Y-z:"end"===d?C-S+F+P:"nearest"===d?r(Y,S,O,z,F+P,C,C+y,y):C-(Y+O/2)+P/2,J="start"===f?R-j-q:"center"===f?R-(j+X/2)+K/2:"end"===f?R-L+A+K:r(j,L,X,q,A+K,R,R+E,E);var Z=B.scrollLeft,$=B.scrollTop;C+=$-(G=Math.max(0,Math.min($+G/U,B.scrollHeight-O/U+P))),R+=Z-(J=Math.max(0,Math.min(Z+J/Q,B.scrollWidth-X/Q+K)));}T.push({el:B,top:G,left:J});}return T};
|
|
2
2
|
|
|
3
3
|
function isOptionsObject(options) {
|
|
4
4
|
return options === Object(options) && Object.keys(options).length !== 0;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
6
|
function defaultBehavior(actions, behavior) {
|
|
8
7
|
if (behavior === void 0) {
|
|
9
8
|
behavior = 'auto';
|
|
10
9
|
}
|
|
11
|
-
|
|
12
10
|
var canSmoothScroll = ('scrollBehavior' in document.body.style);
|
|
13
11
|
actions.forEach(function (_ref) {
|
|
14
12
|
var el = _ref.el,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
top = _ref.top,
|
|
14
|
+
left = _ref.left;
|
|
18
15
|
if (el.scroll && canSmoothScroll) {
|
|
19
16
|
el.scroll({
|
|
20
17
|
top: top,
|
|
@@ -27,7 +24,6 @@ function defaultBehavior(actions, behavior) {
|
|
|
27
24
|
}
|
|
28
25
|
});
|
|
29
26
|
}
|
|
30
|
-
|
|
31
27
|
function getOptions(options) {
|
|
32
28
|
if (options === false) {
|
|
33
29
|
return {
|
|
@@ -35,30 +31,24 @@ function getOptions(options) {
|
|
|
35
31
|
inline: 'nearest'
|
|
36
32
|
};
|
|
37
33
|
}
|
|
38
|
-
|
|
39
34
|
if (isOptionsObject(options)) {
|
|
40
35
|
return options;
|
|
41
36
|
}
|
|
42
|
-
|
|
43
37
|
return {
|
|
44
38
|
block: 'start',
|
|
45
39
|
inline: 'nearest'
|
|
46
40
|
};
|
|
47
41
|
}
|
|
48
|
-
|
|
49
42
|
function scrollIntoView(target, options) {
|
|
50
43
|
var isTargetAttached = target.isConnected || target.ownerDocument.documentElement.contains(target);
|
|
51
|
-
|
|
52
44
|
if (isOptionsObject(options) && typeof options.behavior === 'function') {
|
|
53
|
-
return options.behavior(isTargetAttached ?
|
|
45
|
+
return options.behavior(isTargetAttached ? i(target, options) : []);
|
|
54
46
|
}
|
|
55
|
-
|
|
56
47
|
if (!isTargetAttached) {
|
|
57
48
|
return;
|
|
58
49
|
}
|
|
59
|
-
|
|
60
50
|
var computeOptions = getOptions(options);
|
|
61
|
-
return defaultBehavior(
|
|
51
|
+
return defaultBehavior(i(target, computeOptions), computeOptions.behavior);
|
|
62
52
|
}
|
|
63
53
|
|
|
64
54
|
export { scrollIntoView as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as onUnmounted, P as onDeactivated, Q as onActivated, y as getCurrentInstance, z as inject, L as computed, C as unref, R as watchEffect, d as defineComponent, M as reactive, x as h, S as provide, u as ref, B as watch, T as shallowRef, b as nextTick } from './vue.runtime.esm-bundler.js';
|
|
2
2
|
import { s as setupDevtoolsPlugin } from './index2.js';
|
|
3
3
|
|
|
4
4
|
/*!
|
|
5
|
-
* vue-router v4.1.
|
|
5
|
+
* vue-router v4.1.6
|
|
6
6
|
* (c) 2022 Eduardo San Martin Morote
|
|
7
7
|
* @license MIT
|
|
8
8
|
*/
|
|
@@ -1350,7 +1350,14 @@ function createRouterMatcher(routes, globalOptions) {
|
|
|
1350
1350
|
// if (parent && isAliasRecord(originalRecord)) {
|
|
1351
1351
|
// parent.children.push(originalRecord)
|
|
1352
1352
|
// }
|
|
1353
|
-
|
|
1353
|
+
// Avoid adding a record that doesn't display anything. This allows passing through records without a component to
|
|
1354
|
+
// not be reached and pass through the catch all route
|
|
1355
|
+
if ((matcher.record.components &&
|
|
1356
|
+
Object.keys(matcher.record.components).length) ||
|
|
1357
|
+
matcher.record.name ||
|
|
1358
|
+
matcher.record.redirect) {
|
|
1359
|
+
insertMatcher(matcher);
|
|
1360
|
+
}
|
|
1354
1361
|
}
|
|
1355
1362
|
return originalMatcher
|
|
1356
1363
|
? () => {
|
|
@@ -2206,6 +2213,9 @@ function useLink(props) {
|
|
|
2206
2213
|
}, { flush: 'post' });
|
|
2207
2214
|
}
|
|
2208
2215
|
}
|
|
2216
|
+
/**
|
|
2217
|
+
* NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this
|
|
2218
|
+
*/
|
|
2209
2219
|
return {
|
|
2210
2220
|
route,
|
|
2211
2221
|
href: computed(() => route.value.href),
|
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 {
|
|
2
|
+
import { T as shallowRef, R as watchEffect, U as readonly, C as unref, u as ref, B as watch, V as customRef, E as effectScope, S as provide, z as inject, I as getCurrentScope, J as onScopeDispose, G as isRef, L as computed, M as reactive, K as toRefs$1, N as toRef, y as getCurrentInstance, W as onBeforeMount, b as nextTick, X as onBeforeUnmount, Y as onMounted, O 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,
|
|
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, L 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, V 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, I 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, Q as onActivated, W as onBeforeMount, X as onBeforeUnmount, _ as onBeforeUpdate, P as onDeactivated, aL as onErrorCaptured, Y as onMounted, aM as onRenderTracked, aN as onRenderTriggered, J as onScopeDispose, aO as onServerPrefetch, O as onUnmounted, Z as onUpdated, o as openBlock, e as popScopeId, S as provide, bj as proxyRefs, p as pushScopeId, aP as queuePostFlushCb, M as reactive, U 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, T as shallowRef, aZ as ssrContextKey, a_ as ssrUtils, bm as stop, t as toDisplayString, bq as toHandlerKey, a$ as toHandlers, A as toRaw, N as toRef, K 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, R 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';
|
|
@@ -446,13 +446,14 @@ export declare const enum ErrorCodes {
|
|
|
446
446
|
X_V_MODEL_NO_EXPRESSION = 41,
|
|
447
447
|
X_V_MODEL_MALFORMED_EXPRESSION = 42,
|
|
448
448
|
X_V_MODEL_ON_SCOPE_VARIABLE = 43,
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
449
|
+
X_V_MODEL_ON_PROPS = 44,
|
|
450
|
+
X_INVALID_EXPRESSION = 45,
|
|
451
|
+
X_KEEP_ALIVE_INVALID_CHILDREN = 46,
|
|
452
|
+
X_PREFIX_ID_NOT_SUPPORTED = 47,
|
|
453
|
+
X_MODULE_MODE_NOT_SUPPORTED = 48,
|
|
454
|
+
X_CACHE_HANDLER_NOT_SUPPORTED = 49,
|
|
455
|
+
X_SCOPE_ID_NOT_SUPPORTED = 50,
|
|
456
|
+
__EXTEND_POINT__ = 51
|
|
456
457
|
}
|
|
457
458
|
|
|
458
459
|
declare interface ErrorHandlingOptions {
|
|
@@ -548,7 +549,7 @@ export declare function hasDynamicKeyVBind(node: ElementNode): boolean;
|
|
|
548
549
|
|
|
549
550
|
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | undefined, ids: TransformContext['identifiers']): boolean;
|
|
550
551
|
|
|
551
|
-
export declare const helperNameMap:
|
|
552
|
+
export declare const helperNameMap: Record<symbol, string>;
|
|
552
553
|
|
|
553
554
|
export declare type HoistTransform = (children: TemplateChildNode[], context: TransformContext, parent: ParentNode_2) => void;
|
|
554
555
|
|
|
@@ -824,7 +825,7 @@ export declare type PropsExpression = ObjectExpression | CallExpression | Expres
|
|
|
824
825
|
|
|
825
826
|
export declare const PUSH_SCOPE_ID: unique symbol;
|
|
826
827
|
|
|
827
|
-
export declare function registerRuntimeHelpers(helpers:
|
|
828
|
+
export declare function registerRuntimeHelpers(helpers: Record<symbol, string>): void;
|
|
828
829
|
|
|
829
830
|
export declare const RENDER_LIST: unique symbol;
|
|
830
831
|
|
|
@@ -982,6 +983,8 @@ export declare interface SourceLocation {
|
|
|
982
983
|
|
|
983
984
|
export declare type SSRCodegenNode = BlockStatement | TemplateLiteral | IfStatement | AssignmentExpression | ReturnStatement | SequenceExpression;
|
|
984
985
|
|
|
986
|
+
export declare function stringifyExpression(exp: ExpressionNode | string): string;
|
|
987
|
+
|
|
985
988
|
export declare type StructuralDirectiveTransform = (node: ElementNode, dir: DirectiveNode, context: TransformContext) => void | (() => void);
|
|
986
989
|
|
|
987
990
|
export declare const SUSPENSE: unique symbol;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vue/shared": "3.2.
|
|
35
|
+
"@vue/shared": "3.2.45",
|
|
36
36
|
"@babel/parser": "^7.16.4",
|
|
37
37
|
"estree-walker": "^2.0.2",
|
|
38
38
|
"source-map": "^0.6.1"
|
|
@@ -18,18 +18,18 @@ declare interface DOMCompilerError extends CompilerError {
|
|
|
18
18
|
export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
|
|
19
19
|
|
|
20
20
|
export declare const enum DOMErrorCodes {
|
|
21
|
-
X_V_HTML_NO_EXPRESSION =
|
|
22
|
-
X_V_HTML_WITH_CHILDREN =
|
|
23
|
-
X_V_TEXT_NO_EXPRESSION =
|
|
24
|
-
X_V_TEXT_WITH_CHILDREN =
|
|
25
|
-
X_V_MODEL_ON_INVALID_ELEMENT =
|
|
26
|
-
X_V_MODEL_ARG_ON_ELEMENT =
|
|
27
|
-
X_V_MODEL_ON_FILE_INPUT_ELEMENT =
|
|
28
|
-
X_V_MODEL_UNNECESSARY_VALUE =
|
|
29
|
-
X_V_SHOW_NO_EXPRESSION =
|
|
30
|
-
X_TRANSITION_INVALID_CHILDREN =
|
|
31
|
-
X_IGNORED_SIDE_EFFECT_TAG =
|
|
32
|
-
__EXTEND_POINT__ =
|
|
21
|
+
X_V_HTML_NO_EXPRESSION = 51,
|
|
22
|
+
X_V_HTML_WITH_CHILDREN = 52,
|
|
23
|
+
X_V_TEXT_NO_EXPRESSION = 53,
|
|
24
|
+
X_V_TEXT_WITH_CHILDREN = 54,
|
|
25
|
+
X_V_MODEL_ON_INVALID_ELEMENT = 55,
|
|
26
|
+
X_V_MODEL_ARG_ON_ELEMENT = 56,
|
|
27
|
+
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 57,
|
|
28
|
+
X_V_MODEL_UNNECESSARY_VALUE = 58,
|
|
29
|
+
X_V_SHOW_NO_EXPRESSION = 59,
|
|
30
|
+
X_TRANSITION_INVALID_CHILDREN = 60,
|
|
31
|
+
X_IGNORED_SIDE_EFFECT_TAG = 61,
|
|
32
|
+
__EXTEND_POINT__ = 62
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export declare const DOMNodeTransforms: NodeTransform[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vue/shared": "3.2.
|
|
41
|
-
"@vue/compiler-core": "3.2.
|
|
40
|
+
"@vue/shared": "3.2.45",
|
|
41
|
+
"@vue/compiler-core": "3.2.45"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -17,6 +17,7 @@ import { Result } from 'postcss';
|
|
|
17
17
|
import { RootNode } from '@vue/compiler-core';
|
|
18
18
|
import { shouldTransform as shouldTransformRef } from '@vue/reactivity-transform';
|
|
19
19
|
import { SourceLocation } from '@vue/compiler-core';
|
|
20
|
+
import { Statement } from '@babel/types';
|
|
20
21
|
import { transform as transformRef } from '@vue/reactivity-transform';
|
|
21
22
|
import { transformAST as transformRefAST } from '@vue/reactivity-transform';
|
|
22
23
|
import { walkIdentifiers } from '@vue/compiler-core';
|
|
@@ -79,6 +80,7 @@ export { generateCodeFrame }
|
|
|
79
80
|
declare interface ImportBinding {
|
|
80
81
|
isType: boolean;
|
|
81
82
|
imported: string;
|
|
83
|
+
local: string;
|
|
82
84
|
source: string;
|
|
83
85
|
isFromSetup: boolean;
|
|
84
86
|
isUsedInTemplate: boolean;
|
|
@@ -160,14 +162,8 @@ export declare interface SFCScriptBlock extends SFCBlock {
|
|
|
160
162
|
setup?: string | boolean;
|
|
161
163
|
bindings?: BindingMetadata;
|
|
162
164
|
imports?: Record<string, ImportBinding>;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
*/
|
|
166
|
-
scriptAst?: any[];
|
|
167
|
-
/**
|
|
168
|
-
* import('\@babel/types').Statement
|
|
169
|
-
*/
|
|
170
|
-
scriptSetupAst?: any[];
|
|
165
|
+
scriptAst?: Statement[];
|
|
166
|
+
scriptSetupAst?: Statement[];
|
|
171
167
|
}
|
|
172
168
|
|
|
173
169
|
export declare interface SFCScriptCompileOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/parser": "^7.16.4",
|
|
36
|
-
"@vue/compiler-core": "3.2.
|
|
37
|
-
"@vue/compiler-dom": "3.2.
|
|
38
|
-
"@vue/compiler-ssr": "3.2.
|
|
39
|
-
"@vue/reactivity-transform": "3.2.
|
|
40
|
-
"@vue/shared": "3.2.
|
|
36
|
+
"@vue/compiler-core": "3.2.45",
|
|
37
|
+
"@vue/compiler-dom": "3.2.45",
|
|
38
|
+
"@vue/compiler-ssr": "3.2.45",
|
|
39
|
+
"@vue/reactivity-transform": "3.2.45",
|
|
40
|
+
"@vue/shared": "3.2.45",
|
|
41
41
|
"estree-walker": "^2.0.2",
|
|
42
42
|
"magic-string": "^0.25.7",
|
|
43
43
|
"source-map": "^0.6.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.2.
|
|
32
|
-
"@vue/compiler-dom": "3.2.
|
|
31
|
+
"@vue/shared": "3.2.45",
|
|
32
|
+
"@vue/compiler-dom": "3.2.45"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -73,6 +73,7 @@ export declare function effect<T = any>(fn: () => T, options?: ReactiveEffectOpt
|
|
|
73
73
|
export declare type EffectScheduler = (...args: any[]) => any;
|
|
74
74
|
|
|
75
75
|
export declare class EffectScope {
|
|
76
|
+
detached: boolean;
|
|
76
77
|
/* Excluded from this release type: active */
|
|
77
78
|
/* Excluded from this release type: effects */
|
|
78
79
|
/* Excluded from this release type: cleanups */
|
|
@@ -106,9 +107,7 @@ declare type IterableCollections = Map<any, any> | Set<any>;
|
|
|
106
107
|
|
|
107
108
|
export declare const ITERATE_KEY: unique symbol;
|
|
108
109
|
|
|
109
|
-
export declare function markRaw<T extends object>(value: T): T
|
|
110
|
-
[RawSymbol]?: true;
|
|
111
|
-
};
|
|
110
|
+
export declare function markRaw<T extends object>(value: T): Raw<T>;
|
|
112
111
|
|
|
113
112
|
export declare function onScopeDispose(fn: () => void): void;
|
|
114
113
|
|
|
@@ -118,6 +117,10 @@ declare type Primitive = string | number | boolean | bigint | symbol | undefined
|
|
|
118
117
|
|
|
119
118
|
export declare function proxyRefs<T extends object>(objectWithRefs: T): ShallowUnwrapRef<T>;
|
|
120
119
|
|
|
120
|
+
export declare type Raw<T> = T & {
|
|
121
|
+
[RawSymbol]?: true;
|
|
122
|
+
};
|
|
123
|
+
|
|
121
124
|
declare const RawSymbol: unique symbol;
|
|
122
125
|
|
|
123
126
|
/**
|
|
@@ -325,7 +328,7 @@ export declare type UnwrapRef<T> = T extends ShallowRef<infer V> ? V : T extends
|
|
|
325
328
|
|
|
326
329
|
declare type UnwrapRefSimple<T> = T extends Function | CollectionTypes | BaseTypes | Ref | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] | {
|
|
327
330
|
[RawSymbol]?: true;
|
|
328
|
-
} ? T : T extends
|
|
331
|
+
} ? T : T extends ReadonlyArray<any> ? {
|
|
329
332
|
[K in keyof T]: UnwrapRefSimple<T[K]>;
|
|
330
333
|
} : T extends object & {
|
|
331
334
|
[ShallowReactiveMarker]?: never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/reactivity",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/reactivity.esm-bundler.js",
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@vue/shared": "3.2.
|
|
39
|
+
"@vue/shared": "3.2.45"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
import { ImportDefaultSpecifier } from '@babel/types';
|
|
2
|
+
import { ImportNamespaceSpecifier } from '@babel/types';
|
|
3
|
+
import { ImportSpecifier } from '@babel/types';
|
|
1
4
|
import MagicString from 'magic-string';
|
|
2
5
|
import { ParserPlugin } from '@babel/parser';
|
|
3
6
|
import { Program } from '@babel/types';
|
|
4
7
|
import { SourceMap } from 'magic-string';
|
|
5
8
|
|
|
9
|
+
export declare interface ImportBinding {
|
|
10
|
+
local: string;
|
|
11
|
+
imported: string;
|
|
12
|
+
source: string;
|
|
13
|
+
specifier: ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
|
|
14
|
+
}
|
|
15
|
+
|
|
6
16
|
export declare interface RefTransformOptions {
|
|
7
17
|
filename?: string;
|
|
8
18
|
sourceMap?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity-transform",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "@vue/reactivity-transform",
|
|
5
5
|
"main": "dist/reactivity-transform.cjs.js",
|
|
6
6
|
"files": [
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/parser": "^7.16.4",
|
|
32
|
-
"@vue/compiler-core": "3.2.
|
|
33
|
-
"@vue/shared": "3.2.
|
|
32
|
+
"@vue/compiler-core": "3.2.45",
|
|
33
|
+
"@vue/shared": "3.2.45",
|
|
34
34
|
"estree-walker": "^2.0.2",
|
|
35
35
|
"magic-string": "^0.25.7"
|
|
36
36
|
},
|