@histoire/vendors 0.11.7 → 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.
Files changed (39) hide show
  1. package/dist/client/b-pinia.js +32 -28
  2. package/dist/client/b-scroll.js +5 -15
  3. package/dist/client/b-vue-router.js +13 -3
  4. package/dist/client/b-vue-use.js +1 -1
  5. package/dist/client/b-vue.js +1 -1
  6. package/dist/client/node_modules/@babel/parser/package.json +2 -2
  7. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +1 -1
  8. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +12 -9
  9. package/dist/client/node_modules/@vue/compiler-core/package.json +2 -2
  10. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
  11. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  12. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +4 -8
  13. package/dist/client/node_modules/@vue/compiler-sfc/package.json +6 -6
  14. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  15. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +7 -4
  16. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  17. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +10 -0
  18. package/dist/client/node_modules/@vue/reactivity-transform/package.json +3 -3
  19. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +44 -40
  20. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  21. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +9 -5
  22. package/dist/client/node_modules/@vue/runtime-dom/package.json +3 -3
  23. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +2 -1
  24. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  25. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +1 -6
  26. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  27. package/dist/client/node_modules/compute-scroll-into-view/package.json +58 -56
  28. package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +5 -5
  29. package/dist/client/node_modules/pinia/dist/pinia.d.ts +11 -11
  30. package/dist/client/node_modules/pinia/package.json +4 -4
  31. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +82 -107
  32. package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +7 -7
  33. package/dist/client/node_modules/vue/macros.d.ts +4 -2
  34. package/dist/client/node_modules/vue/package.json +6 -6
  35. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +3 -3
  36. package/dist/client/node_modules/vue-router/package.json +12 -12
  37. package/dist/client/vue.runtime.esm-bundler.js +11324 -11250
  38. package/package.json +1 -1
  39. package/dist/client/node_modules/@babel/parser/typings/babel-parser.source.d.ts +0 -151
@@ -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 onUnmounted, J as toRefs, K as computed, b as nextTick, L as reactive, M as toRef } from './vue.runtime.esm-bundler.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 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.22
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 && getCurrentInstance()) {
1113
- onUnmounted(removeSubscription);
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(assign((process.env.NODE_ENV !== 'production') && IS_CLIENT
1418
- ? // devtools custom properties
1419
- {
1420
- _customProperties: markRaw(new Set()),
1421
- _hmrPayload,
1422
- }
1423
- : {}, partialStore
1424
- // must be added later
1425
- // setupStore
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
- // @ts-expect-error: it should be on the store
1502
- setupStore._getters || (setupStore._getters = markRaw([]));
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
- if (IS_CLIENT) {
1615
- ['_p', '_hmrPayload', '_getters', '_customProperties'].forEach((p) => {
1616
- Object.defineProperty(store, p, {
1617
- value: store[p],
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 ((process.env.NODE_ENV !== 'production') && IS_CLIENT) {
1635
+ if (USE_DEVTOOLS) {
1632
1636
  const extensions = scope.run(() => extender({
1633
1637
  store,
1634
1638
  app: pinia._a,
@@ -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 compute(e,i){var o=window,l=i.scrollMode,d=i.block,u=i.inline,h=i.boundary,a=i.skipOverflowHiddenElements,c="function"==typeof h?h:function(t){return t!==h};if(!t(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,s=[],p=e;t(p)&&c(p);){if((p=p.parentElement)===f){s.push(p);break}null!=p&&p===document.body&&n(p)&&!n(document.documentElement)||null!=p&&n(p,a)&&s.push(p);}for(var m=o.visualViewport?o.visualViewport.width:innerWidth,g=o.visualViewport?o.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,W=e.getBoundingClientRect(),b=W.height,H=W.width,y=W.top,E=W.right,M=W.bottom,V=W.left,x="start"===d||"nearest"===d?y:"end"===d?M:y+b/2,I="center"===u?V+H/2:"end"===u?E:V,C=[],T=0;T<s.length;T++){var k=s[T],B=k.getBoundingClientRect(),D=B.height,O=B.width,R=B.top,X=B.right,Y=B.bottom,L=B.left;if("if-needed"===l&&y>=0&&V>=0&&M<=g&&E<=m&&y>=R&&M<=Y&&V>=L&&E<=X)return C;var S=getComputedStyle(k),j=parseInt(S.borderLeftWidth,10),q=parseInt(S.borderTopWidth,10),z=parseInt(S.borderRightWidth,10),A=parseInt(S.borderBottomWidth,10),F=0,G=0,J="offsetWidth"in k?k.offsetWidth-k.clientWidth-j-z:0,K="offsetHeight"in k?k.offsetHeight-k.clientHeight-q-A:0;if(f===k)F="start"===d?x:"end"===d?x-g:"nearest"===d?r(v,v+g,g,q,A,v+x,v+x+b,b):x-g/2,G="start"===u?I:"center"===u?I-m/2:"end"===u?I-m:r(w,w+m,m,j,z,w+I,w+I+H,H),F=Math.max(0,F+v),G=Math.max(0,G+w);else {F="start"===d?x-R-q:"end"===d?x-Y+A+K:"nearest"===d?r(R,Y,D,q,A+K,x,x+b,b):x-(R+D/2)+K/2,G="start"===u?I-L-j:"center"===u?I-(L+O/2)+J/2:"end"===u?I-X+z+J:r(L,X,O,j,z+J,I,I+H,H);var N=k.scrollLeft,P=k.scrollTop;x+=P-(F=Math.max(0,Math.min(P+F,k.scrollHeight-D+K))),I+=N-(G=Math.max(0,Math.min(N+G,k.scrollWidth-O+J)));}C.push({el:k,top:F,left:G});}return C}
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
- top = _ref.top,
16
- left = _ref.left;
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 ? compute(target, options) : []);
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(compute(target, computeOptions), computeOptions.behavior);
51
+ return defaultBehavior(i(target, computeOptions), computeOptions.behavior);
62
52
  }
63
53
 
64
54
  export { scrollIntoView as default };
@@ -1,8 +1,8 @@
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';
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
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
- insertMatcher(matcher);
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),
@@ -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, 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';
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;
@@ -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, 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
+ 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';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/parser",
3
- "version": "7.20.3",
3
+ "version": "7.20.5",
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",
@@ -27,7 +27,7 @@
27
27
  "files": [
28
28
  "bin",
29
29
  "lib",
30
- "typings",
30
+ "typings/babel-parser.d.ts",
31
31
  "index.cjs"
32
32
  ],
33
33
  "engines": {
@@ -224,4 +224,4 @@ type ParseResult<Result> = Result & {
224
224
  errors: ParseError[];
225
225
  };
226
226
 
227
- export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };
227
+ export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };
@@ -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
- X_INVALID_EXPRESSION = 44,
450
- X_KEEP_ALIVE_INVALID_CHILDREN = 45,
451
- X_PREFIX_ID_NOT_SUPPORTED = 46,
452
- X_MODULE_MODE_NOT_SUPPORTED = 47,
453
- X_CACHE_HANDLER_NOT_SUPPORTED = 48,
454
- X_SCOPE_ID_NOT_SUPPORTED = 49,
455
- __EXTEND_POINT__ = 50
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: any;
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: any): void;
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.40",
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.40",
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 = 50,
22
- X_V_HTML_WITH_CHILDREN = 51,
23
- X_V_TEXT_NO_EXPRESSION = 52,
24
- X_V_TEXT_WITH_CHILDREN = 53,
25
- X_V_MODEL_ON_INVALID_ELEMENT = 54,
26
- X_V_MODEL_ARG_ON_ELEMENT = 55,
27
- X_V_MODEL_ON_FILE_INPUT_ELEMENT = 56,
28
- X_V_MODEL_UNNECESSARY_VALUE = 57,
29
- X_V_SHOW_NO_EXPRESSION = 58,
30
- X_TRANSITION_INVALID_CHILDREN = 59,
31
- X_IGNORED_SIDE_EFFECT_TAG = 60,
32
- __EXTEND_POINT__ = 61
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.40",
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.40",
41
- "@vue/compiler-core": "3.2.40"
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
- * import('\@babel/types').Statement
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.40",
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.40",
37
- "@vue/compiler-dom": "3.2.40",
38
- "@vue/compiler-ssr": "3.2.40",
39
- "@vue/reactivity-transform": "3.2.40",
40
- "@vue/shared": "3.2.40",
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.40",
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.40",
32
- "@vue/compiler-dom": "3.2.40"
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 Array<any> ? {
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.40",
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.40"
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.40",
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.40",
33
- "@vue/shared": "3.2.40",
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
  },