vue-asyncx 1.5.3 → 1.6.0

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.
@@ -1,3 +1,4 @@
1
+ import { ComputedRef } from 'vue';
1
2
  import { Ref } from 'vue';
2
3
  import { WatchCallback } from 'vue';
3
4
  import { WatchOptions } from 'vue';
@@ -33,6 +34,7 @@ export declare function useAsyncData<Data = any, Fn extends (...args: any) => Da
33
34
  export declare function useAsyncData<Data = any, Fn extends (...args: any) => Data | Promise<Data> | PromiseLike<Data> = (...args: any) => Data | Promise<Data> | PromiseLike<Data>, DataName extends string = string>(name: DataName, fn: Fn, options?: UseAsyncDataOptions<Fn>): UseAsyncDataResult<Fn, DataName>;
34
35
 
35
36
  declare interface UseAsyncDataOptions<Fn extends (...args: any) => any> extends UseAsyncOptions<Fn> {
37
+ initialData?: any;
36
38
  enhanceFirstArgument?: boolean;
37
39
  }
38
40
 
@@ -53,7 +55,9 @@ declare type UseAsyncResult<Fn extends (...args: any) => any, Name extends strin
53
55
  } & {
54
56
  [K in `${StringDefaultWhenEmpty<Name, 'method'>}Loading`]: Ref<boolean>;
55
57
  } & {
56
- [K in `${StringDefaultWhenEmpty<Name, 'method'>}Arguments`]: Ref<Parameters<Fn>>;
58
+ [K in `${StringDefaultWhenEmpty<Name, 'method'>}Arguments`]: ComputedRef<Parameters<Fn>>;
59
+ } & {
60
+ [K in `${StringDefaultWhenEmpty<Name, 'method'>}ArgumentFirst`]: ComputedRef<Parameters<Fn>['0']>;
57
61
  } & {
58
62
  [K in `${StringDefaultWhenEmpty<Name, 'method'>}Error`]: Ref<any>;
59
63
  };
@@ -1,86 +1,90 @@
1
- var L = Object.defineProperty, O = Object.defineProperties;
2
- var b = Object.getOwnPropertyDescriptors;
3
- var F = Object.getOwnPropertySymbols;
4
- var B = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
5
- var T = (e, n, t) => n in e ? L(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, w = (e, n) => {
6
- for (var t in n || (n = {}))
7
- B.call(n, t) && T(e, t, n[t]);
8
- if (F)
9
- for (var t of F(n))
10
- $.call(n, t) && T(e, t, n[t]);
1
+ var b = Object.defineProperty, g = Object.defineProperties;
2
+ var x = Object.getOwnPropertyDescriptors;
3
+ var E = Object.getOwnPropertySymbols;
4
+ var $ = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
+ var B = (e, t, n) => t in e ? b(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, w = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ $.call(t, n) && B(e, n, t[n]);
8
+ if (E)
9
+ for (var n of E(t))
10
+ D.call(t, n) && B(e, n, t[n]);
11
11
  return e;
12
- }, C = (e, n) => O(e, b(n));
13
- var U = (e, n) => {
14
- var t = {};
12
+ }, C = (e, t) => g(e, x(t));
13
+ var _ = (e, t) => {
14
+ var n = {};
15
15
  for (var a in e)
16
- B.call(e, a) && n.indexOf(a) < 0 && (t[a] = e[a]);
17
- if (e != null && F)
18
- for (var a of F(e))
19
- n.indexOf(a) < 0 && $.call(e, a) && (t[a] = e[a]);
20
- return t;
16
+ $.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
17
+ if (e != null && E)
18
+ for (var a of E(e))
19
+ t.indexOf(a) < 0 && D.call(e, a) && (n[a] = e[a]);
20
+ return n;
21
21
  };
22
- import { ref as E, watch as x, computed as N } from "vue";
22
+ import { ref as F, computed as H, watch as N } from "vue";
23
23
  function j(...e) {
24
24
  var v;
25
25
  if (!Array.isArray(e) || !e.length) throw TypeError("参数错误:未传递");
26
- const { name: n, fn: t, options: a } = typeof e[0] == "function" ? { name: "method", fn: e[0], options: e[1] } : { name: e[0] || "method", fn: e[1], options: e[2] };
27
- if (typeof n != "string") throw TypeError("参数错误:name");
28
- if (typeof t != "function") throw TypeError("参数错误:fn");
29
- const p = E(!1), m = E(), s = E(), u = { called: 0, finished: 0 };
30
- function y(...h) {
31
- const d = ++u.called, A = (r) => {
32
- s.value = void 0, p.value = !0, m.value = r;
26
+ const { name: t, fn: n, options: a } = typeof e[0] == "function" ? { name: "method", fn: e[0], options: e[1] } : { name: e[0] || "method", fn: e[1], options: e[2] };
27
+ if (typeof t != "string") throw TypeError("参数错误:name");
28
+ if (typeof n != "function") throw TypeError("参数错误:fn");
29
+ const m = F(!1), p = F(), U = H(() => {
30
+ var d;
31
+ return (d = p.value) == null ? void 0 : d[0];
32
+ }), s = F(), u = { called: 0, finished: 0 };
33
+ function y(...d) {
34
+ const l = ++u.called, A = (r) => {
35
+ s.value = void 0, m.value = !0, p.value = r;
33
36
  }, c = (r, { scene: o, sn: i }) => {
34
- i > u.finished && (u.finished = i), u.called === u.finished && (o === "error" && (s.value = r), p.value = !1, m.value = void 0);
37
+ i > u.finished && (u.finished = i), u.called === u.finished && (o === "error" && (s.value = r), m.value = !1, p.value = void 0);
35
38
  };
36
- A(h);
39
+ A(d);
37
40
  try {
38
- const r = t(...h);
41
+ const r = n(...d);
39
42
  return r instanceof Promise ? r.then(
40
- () => c(void 0, { scene: "normal", sn: d }),
41
- (o) => c(o, { scene: "error", sn: d })
42
- ) : c(void 0, { scene: "normal", sn: d }), r;
43
+ () => c(void 0, { scene: "normal", sn: l }),
44
+ (o) => c(o, { scene: "error", sn: l })
45
+ ) : c(void 0, { scene: "normal", sn: l }), r;
43
46
  } catch (r) {
44
- throw c(r, { scene: "error", sn: d }), r;
47
+ throw c(r, { scene: "error", sn: l }), r;
45
48
  }
46
49
  }
47
50
  if (a) {
48
- const h = () => {
49
- }, l = Object.assign(
51
+ const d = () => {
52
+ }, h = Object.assign(
50
53
  {},
51
54
  "immediate" in a ? { immediate: a.immediate } : {},
52
55
  (v = a.watchOptions) != null ? v : {}
53
- ), { handlerCreator: d } = l, A = U(l, ["handlerCreator"]), { watch: c } = a, o = (() => {
56
+ ), { handlerCreator: l } = h, A = _(h, ["handlerCreator"]), { watch: c } = a, o = (() => {
54
57
  const i = () => y();
55
- if (typeof d != "function") return i;
58
+ if (typeof l != "function") return i;
56
59
  try {
57
- const f = d(y);
60
+ const f = l(y);
58
61
  return typeof f == "function" ? f : i;
59
62
  } catch (f) {
60
63
  return i;
61
64
  }
62
65
  })();
63
- x(c != null ? c : h, o, A);
66
+ N(c != null ? c : d, o, A);
64
67
  }
65
68
  return {
66
- [n]: y,
67
- [`${n}Loading`]: p,
68
- [`${n}Arguments`]: m,
69
- [`${n}Error`]: s
69
+ [t]: y,
70
+ [`${t}Loading`]: m,
71
+ [`${t}Arguments`]: p,
72
+ [`${t}ArgumentFirst`]: U,
73
+ [`${t}Error`]: s
70
74
  };
71
75
  }
72
76
  function G(e) {
73
77
  if (!e) return "";
74
- const n = e[0], t = e.slice(1);
75
- return n.toUpperCase() + t;
78
+ const t = e[0], n = e.slice(1);
79
+ return t.toUpperCase() + n;
76
80
  }
77
- const D = "__va_fae";
78
- function q(...e) {
81
+ const L = "__va_fae";
82
+ function z(...e) {
79
83
  if (!Array.isArray(e) || !e.length) throw TypeError("参数错误:未传递");
80
- const { name: n, fn: t, options: a } = typeof e[0] == "function" ? { name: "data", fn: e[0], options: e[1] } : { name: e[0] || "data", fn: e[1], options: e[2] };
81
- if (typeof n != "string") throw TypeError("参数错误:name");
82
- if (typeof t != "function") throw TypeError("参数错误:fn");
83
- const c = a || {}, { enhanceFirstArgument: p } = c, m = U(c, ["enhanceFirstArgument"]), s = E({
84
+ const { name: t, fn: n, options: a } = typeof e[0] == "function" ? { name: "data", fn: e[0], options: e[1] } : { name: e[0] || "data", fn: e[1], options: e[2] };
85
+ if (typeof t != "string") throw TypeError("参数错误:name");
86
+ if (typeof n != "function") throw TypeError("参数错误:fn");
87
+ const c = a || {}, { enhanceFirstArgument: m, initialData: p } = c, U = _(c, ["enhanceFirstArgument", "initialData"]), s = F({
84
88
  // 调用序号(即:fn 第 called 次调用)
85
89
  called: 0,
86
90
  // 完成序号(即:fn 第 finished 次调用完成)
@@ -89,55 +93,55 @@ function q(...e) {
89
93
  dataUpdateByCalled: 0,
90
94
  // 数据完成更新序号(即:data 数据由第 dataUpdateByFinished 次调用完成后更新)
91
95
  dataUpdateByFinished: 0
92
- }), u = E(), y = N(() => !(s.value.dataUpdateByFinished >= s.value.finished || s.value.dataUpdateByCalled > s.value.finished));
96
+ }), u = F(p), y = H(() => !(s.value.dataUpdateByFinished >= s.value.finished || s.value.dataUpdateByCalled > s.value.finished));
93
97
  function v(r, { sn: o, scene: i }) {
94
98
  o < s.value.dataUpdateByCalled || (u.value = r, s.value.dataUpdateByCalled = o, i === "finish" && (s.value.dataUpdateByFinished = o));
95
99
  }
96
- function l(r, { scene: o, sn: i }) {
100
+ function h(r, { scene: o, sn: i }) {
97
101
  o === "normal" && v(r, { sn: i, scene: "finish" }), i > s.value.finished && (s.value.finished = i);
98
102
  }
99
- function h(r, {
103
+ function d(r, {
100
104
  enhanceFirstArgument: o,
101
105
  sn: i
102
106
  }) {
103
107
  if (!o) return r;
104
- const [f, ...H] = r;
108
+ const [f, ...O] = r;
105
109
  return [C(w({
106
- [D]: !0
110
+ [L]: !0
107
111
  }, r.length ? { firstArgument: f } : {}), {
108
112
  getData: () => u.value,
109
- updateData: (_) => (v(_, { sn: i, scene: "update" }), _)
110
- }), ...H];
113
+ updateData: (T) => (v(T, { sn: i, scene: "update" }), T)
114
+ }), ...O];
111
115
  }
112
- function d(...r) {
116
+ function l(...r) {
113
117
  const o = ++s.value.called;
114
- r = h(r, { enhanceFirstArgument: p, sn: o });
118
+ r = d(r, { enhanceFirstArgument: m, sn: o });
115
119
  try {
116
- const i = t(...r);
120
+ const i = n(...r);
117
121
  return i instanceof Promise ? i.then(
118
122
  // promise 正常结束
119
- (f) => l(f, { scene: "normal", sn: o }),
123
+ (f) => h(f, { scene: "normal", sn: o }),
120
124
  // promise 出现拒绝
121
- (f) => l(f, { scene: "error", sn: o })
122
- ) : l(i, { scene: "normal", sn: o }), i;
125
+ (f) => h(f, { scene: "error", sn: o })
126
+ ) : h(i, { scene: "normal", sn: o }), i;
123
127
  } catch (i) {
124
- throw l(i, { scene: "error", sn: o }), i;
128
+ throw h(i, { scene: "error", sn: o }), i;
125
129
  }
126
130
  }
127
- const A = j(`query${G(n)}`, d, m);
131
+ const A = j(`query${G(t)}`, l, U);
128
132
  return C(w({}, A), {
129
- [n]: u,
130
- [`${n}Expired`]: y
133
+ [t]: u,
134
+ [`${t}Expired`]: y
131
135
  });
132
136
  }
133
- function z(e, n) {
134
- if (typeof e != "object" || !e || !e[D]) throw Error("请配置 options.enhanceFirstArgument = true");
135
- const t = e;
136
- return arguments.length === 2 && t.firstArgument === void 0 ? C(w({}, t), { firstArgument: n }) : t;
137
+ function I(e, t) {
138
+ if (typeof e != "object" || !e || !e[L]) throw Error("请配置 options.enhanceFirstArgument = true");
139
+ const n = e;
140
+ return arguments.length === 2 && n.firstArgument === void 0 ? C(w({}, n), { firstArgument: t }) : n;
137
141
  }
138
142
  export {
139
- z as unFirstArgumentEnhanced,
143
+ I as unFirstArgumentEnhanced,
140
144
  j as useAsync,
141
- q as useAsyncData,
145
+ z as useAsyncData,
142
146
  j as useAsyncFunction
143
147
  };
@@ -1 +1 @@
1
- (function(e,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.VueAsyncx={},e.Vue))})(this,function(e,n){"use strict";var N=Object.defineProperty,P=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var O=(e,n,a)=>n in e?N(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,U=(e,n)=>{for(var a in n||(n={}))$.call(n,a)&&O(e,a,n[a]);if(C)for(var a of C(n))j.call(n,a)&&O(e,a,n[a]);return e},_=(e,n)=>P(e,q(n));var B=(e,n)=>{var a={};for(var c in e)$.call(e,c)&&n.indexOf(c)<0&&(a[c]=e[c]);if(e!=null&&C)for(var c of C(e))n.indexOf(c)<0&&j.call(e,c)&&(a[c]=e[c]);return a};function a(...t){var w;if(!Array.isArray(t)||!t.length)throw TypeError("参数错误:未传递");const{name:s,fn:u,options:m}=typeof t[0]=="function"?{name:"method",fn:t[0],options:t[1]}:{name:t[0]||"method",fn:t[1],options:t[2]};if(typeof s!="string")throw TypeError("参数错误:name");if(typeof u!="function")throw TypeError("参数错误:fn");const v=n.ref(!1),E=n.ref(),f=n.ref(),h={called:0,finished:0};function F(...A){const p=++h.called,T=i=>{f.value=void 0,v.value=!0,E.value=i},d=(i,{scene:o,sn:r})=>{r>h.finished&&(h.finished=r),h.called===h.finished&&(o==="error"&&(f.value=i),v.value=!1,E.value=void 0)};T(A);try{const i=u(...A);return i instanceof Promise?i.then(()=>d(void 0,{scene:"normal",sn:p}),o=>d(o,{scene:"error",sn:p})):d(void 0,{scene:"normal",sn:p}),i}catch(i){throw d(i,{scene:"error",sn:p}),i}}if(m){const A=()=>{},y=Object.assign({},"immediate"in m?{immediate:m.immediate}:{},(w=m.watchOptions)!=null?w:{}),{handlerCreator:p}=y,T=B(y,["handlerCreator"]),{watch:d}=m,o=(()=>{const r=()=>F();if(typeof p!="function")return r;try{const l=p(F);return typeof l=="function"?l:r}catch(l){return r}})();n.watch(d!=null?d:A,o,T)}return{[s]:F,[`${s}Loading`]:v,[`${s}Arguments`]:E,[`${s}Error`]:f}}function c(t){if(!t)return"";const s=t[0],u=t.slice(1);return s.toUpperCase()+u}const b="__va_fae";function H(...t){if(!Array.isArray(t)||!t.length)throw TypeError("参数错误:未传递");const{name:s,fn:u,options:m}=typeof t[0]=="function"?{name:"data",fn:t[0],options:t[1]}:{name:t[0]||"data",fn:t[1],options:t[2]};if(typeof s!="string")throw TypeError("参数错误:name");if(typeof u!="function")throw TypeError("参数错误:fn");const d=m||{},{enhanceFirstArgument:v}=d,E=B(d,["enhanceFirstArgument"]),f=n.ref({called:0,finished:0,dataUpdateByCalled:0,dataUpdateByFinished:0}),h=n.ref(),F=n.computed(()=>!(f.value.dataUpdateByFinished>=f.value.finished||f.value.dataUpdateByCalled>f.value.finished));function w(i,{sn:o,scene:r}){o<f.value.dataUpdateByCalled||(h.value=i,f.value.dataUpdateByCalled=o,r==="finish"&&(f.value.dataUpdateByFinished=o))}function y(i,{scene:o,sn:r}){o==="normal"&&w(i,{sn:r,scene:"finish"}),r>f.value.finished&&(f.value.finished=r)}function A(i,{enhanceFirstArgument:o,sn:r}){if(!o)return i;const[l,...g]=i;return[_(U({[b]:!0},i.length?{firstArgument:l}:{}),{getData:()=>h.value,updateData:D=>(w(D,{sn:r,scene:"update"}),D)}),...g]}function p(...i){const o=++f.value.called;i=A(i,{enhanceFirstArgument:v,sn:o});try{const r=u(...i);return r instanceof Promise?r.then(l=>y(l,{scene:"normal",sn:o}),l=>y(l,{scene:"error",sn:o})):y(r,{scene:"normal",sn:o}),r}catch(r){throw y(r,{scene:"error",sn:o}),r}}const T=a(`query${c(s)}`,p,E);return _(U({},T),{[s]:h,[`${s}Expired`]:F})}function L(t,s){if(typeof t!="object"||!t||!t[b])throw Error("请配置 options.enhanceFirstArgument = true");const u=t;return arguments.length===2&&u.firstArgument===void 0?_(U({},u),{firstArgument:s}):u}e.unFirstArgumentEnhanced=L,e.useAsync=a,e.useAsyncData=H,e.useAsyncFunction=a,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(e,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.VueAsyncx={},e.Vue))})(this,function(e,n){"use strict";var P=Object.defineProperty,q=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var g=(e,n,a)=>n in e?P(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,U=(e,n)=>{for(var a in n||(n={}))O.call(n,a)&&g(e,a,n[a]);if(C)for(var a of C(n))j.call(n,a)&&g(e,a,n[a]);return e},_=(e,n)=>q(e,x(n));var D=(e,n)=>{var a={};for(var c in e)O.call(e,c)&&n.indexOf(c)<0&&(a[c]=e[c]);if(e!=null&&C)for(var c of C(e))n.indexOf(c)<0&&j.call(e,c)&&(a[c]=e[c]);return a};function a(...t){var w;if(!Array.isArray(t)||!t.length)throw TypeError("参数错误:未传递");const{name:s,fn:u,options:y}=typeof t[0]=="function"?{name:"method",fn:t[0],options:t[1]}:{name:t[0]||"method",fn:t[1],options:t[2]};if(typeof s!="string")throw TypeError("参数错误:name");if(typeof u!="function")throw TypeError("参数错误:fn");const F=n.ref(!1),v=n.ref(),B=n.computed(()=>{var p;return(p=v.value)==null?void 0:p[0]}),f=n.ref(),h={called:0,finished:0};function E(...p){const m=++h.called,T=i=>{f.value=void 0,F.value=!0,v.value=i},d=(i,{scene:o,sn:r})=>{r>h.finished&&(h.finished=r),h.called===h.finished&&(o==="error"&&(f.value=i),F.value=!1,v.value=void 0)};T(p);try{const i=u(...p);return i instanceof Promise?i.then(()=>d(void 0,{scene:"normal",sn:m}),o=>d(o,{scene:"error",sn:m})):d(void 0,{scene:"normal",sn:m}),i}catch(i){throw d(i,{scene:"error",sn:m}),i}}if(y){const p=()=>{},A=Object.assign({},"immediate"in y?{immediate:y.immediate}:{},(w=y.watchOptions)!=null?w:{}),{handlerCreator:m}=A,T=D(A,["handlerCreator"]),{watch:d}=y,o=(()=>{const r=()=>E();if(typeof m!="function")return r;try{const l=m(E);return typeof l=="function"?l:r}catch(l){return r}})();n.watch(d!=null?d:p,o,T)}return{[s]:E,[`${s}Loading`]:F,[`${s}Arguments`]:v,[`${s}ArgumentFirst`]:B,[`${s}Error`]:f}}function c(t){if(!t)return"";const s=t[0],u=t.slice(1);return s.toUpperCase()+u}const $="__va_fae";function H(...t){if(!Array.isArray(t)||!t.length)throw TypeError("参数错误:未传递");const{name:s,fn:u,options:y}=typeof t[0]=="function"?{name:"data",fn:t[0],options:t[1]}:{name:t[0]||"data",fn:t[1],options:t[2]};if(typeof s!="string")throw TypeError("参数错误:name");if(typeof u!="function")throw TypeError("参数错误:fn");const d=y||{},{enhanceFirstArgument:F,initialData:v}=d,B=D(d,["enhanceFirstArgument","initialData"]),f=n.ref({called:0,finished:0,dataUpdateByCalled:0,dataUpdateByFinished:0}),h=n.ref(v),E=n.computed(()=>!(f.value.dataUpdateByFinished>=f.value.finished||f.value.dataUpdateByCalled>f.value.finished));function w(i,{sn:o,scene:r}){o<f.value.dataUpdateByCalled||(h.value=i,f.value.dataUpdateByCalled=o,r==="finish"&&(f.value.dataUpdateByFinished=o))}function A(i,{scene:o,sn:r}){o==="normal"&&w(i,{sn:r,scene:"finish"}),r>f.value.finished&&(f.value.finished=r)}function p(i,{enhanceFirstArgument:o,sn:r}){if(!o)return i;const[l,...N]=i;return[_(U({[$]:!0},i.length?{firstArgument:l}:{}),{getData:()=>h.value,updateData:b=>(w(b,{sn:r,scene:"update"}),b)}),...N]}function m(...i){const o=++f.value.called;i=p(i,{enhanceFirstArgument:F,sn:o});try{const r=u(...i);return r instanceof Promise?r.then(l=>A(l,{scene:"normal",sn:o}),l=>A(l,{scene:"error",sn:o})):A(r,{scene:"normal",sn:o}),r}catch(r){throw A(r,{scene:"error",sn:o}),r}}const T=a(`query${c(s)}`,m,B);return _(U({},T),{[s]:h,[`${s}Expired`]:E})}function L(t,s){if(typeof t!="object"||!t||!t[$])throw Error("请配置 options.enhanceFirstArgument = true");const u=t;return arguments.length===2&&u.firstArgument===void 0?_(U({},u),{firstArgument:s}):u}e.unFirstArgumentEnhanced=L,e.useAsync=a,e.useAsyncData=H,e.useAsyncFunction=a,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-asyncx",
3
- "version": "1.5.3",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "types": "dist/vue-asyncx.d.ts",