@duxweb/dvha-core 0.0.7 → 0.0.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 (44) hide show
  1. package/dist/cjs/components/loader/iframe.cjs +1 -0
  2. package/dist/cjs/hooks/auth.cjs +1 -1
  3. package/dist/cjs/hooks/data.cjs +1 -1
  4. package/dist/cjs/hooks/manage.cjs +1 -1
  5. package/dist/cjs/hooks/menu.cjs +1 -1
  6. package/dist/cjs/hooks/theme.cjs +1 -1
  7. package/dist/cjs/index.cjs +1 -1
  8. package/dist/cjs/provider/app.cjs +1 -1
  9. package/dist/cjs/provider/tab.cjs +1 -1
  10. package/dist/cjs/simple/authProvider.cjs +1 -1
  11. package/dist/cjs/simple/dataProvider.cjs +1 -1
  12. package/dist/cjs/stores/auth.cjs +1 -1
  13. package/dist/cjs/stores/manage.cjs +1 -0
  14. package/dist/cjs/stores/route.cjs +1 -1
  15. package/dist/cjs/stores/tab.cjs +1 -1
  16. package/dist/esm/components/loader/iframe.js +22 -0
  17. package/dist/esm/hooks/auth.js +34 -36
  18. package/dist/esm/hooks/data.js +237 -219
  19. package/dist/esm/hooks/manage.js +16 -18
  20. package/dist/esm/hooks/menu.js +13 -14
  21. package/dist/esm/hooks/theme.js +16 -16
  22. package/dist/esm/index.js +51 -51
  23. package/dist/esm/provider/app.js +58 -55
  24. package/dist/esm/provider/tab.js +11 -10
  25. package/dist/esm/simple/authProvider.js +111 -88
  26. package/dist/esm/simple/dataProvider.js +95 -90
  27. package/dist/esm/stores/auth.js +49 -48
  28. package/dist/esm/stores/manage.js +41 -0
  29. package/dist/esm/stores/route.js +0 -1
  30. package/dist/esm/stores/tab.js +1 -2
  31. package/dist/types/components/loader/index.d.ts +1 -1
  32. package/dist/types/hooks/data.d.ts +17 -2
  33. package/dist/types/hooks/manage.d.ts +1 -1
  34. package/dist/types/simple/authProvider.d.ts +16 -1
  35. package/dist/types/simple/dataProvider.d.ts +4 -1
  36. package/dist/types/stores/auth.d.ts +28 -22
  37. package/dist/types/stores/index.d.ts +1 -0
  38. package/dist/types/stores/manage.d.ts +23 -0
  39. package/dist/types/stores/route.d.ts +0 -2019
  40. package/dist/types/stores/tab.d.ts +1 -830
  41. package/dist/types/types/config.d.ts +1 -2
  42. package/dist/types/types/data.d.ts +3 -2
  43. package/dist/types/types/manage.d.ts +1 -2
  44. package/package.json +5 -2
@@ -1,90 +1,113 @@
1
- import e from "axios";
2
- const i = {
3
- login: async (u, c) => await e.post(c.getApiUrl("/login"), u).then((t) => {
4
- var s, a;
5
- return {
6
- success: !0,
7
- message: (s = t == null ? void 0 : t.data) == null ? void 0 : s.message,
8
- redirectTo: "/",
9
- data: (a = t == null ? void 0 : t.data) == null ? void 0 : a.data
10
- };
11
- }).catch((t) => {
12
- var s, a;
13
- return {
14
- success: !1,
15
- message: ((a = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : a.message) || (t == null ? void 0 : t.message)
16
- };
17
- }),
18
- check: async (u, c) => await e.get((c == null ? void 0 : c.getApiUrl("/check")) || "").then((t) => {
19
- var s, a;
20
- return {
21
- success: !0,
22
- message: (s = t == null ? void 0 : t.data) == null ? void 0 : s.message,
23
- data: (a = t == null ? void 0 : t.data) == null ? void 0 : a.data
24
- };
25
- }).catch((t) => {
26
- var s, a;
27
- return {
28
- success: !1,
29
- message: ((a = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : a.message) || (t == null ? void 0 : t.message)
30
- };
31
- }),
32
- onError: async (u) => u.status === 403 ? {
33
- logout: !0,
34
- redirectTo: "/login",
35
- error: u
36
- } : {
37
- logout: !1,
38
- error: u
39
- },
40
- logout: async () => ({
41
- success: !0,
42
- redirectTo: "/login"
43
- }),
44
- register: async (u, c) => await e.post((c == null ? void 0 : c.getApiUrl("/auth/register")) || "", u).then((t) => {
45
- var s, a;
46
- return {
47
- success: !0,
48
- message: (s = t == null ? void 0 : t.data) == null ? void 0 : s.message,
49
- redirectTo: "/",
50
- data: (a = t == null ? void 0 : t.data) == null ? void 0 : a.data
51
- };
52
- }).catch((t) => {
53
- var s, a;
54
- return {
55
- success: !1,
56
- message: ((a = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : a.message) || (t == null ? void 0 : t.message)
57
- };
58
- }),
59
- forgotPassword: async (u, c) => await e.post((c == null ? void 0 : c.getApiUrl("/auth/forgot-password")) || "", u).then((t) => {
60
- var s;
61
- return {
62
- success: !0,
63
- message: (s = t == null ? void 0 : t.data) == null ? void 0 : s.message,
64
- redirectTo: "/login"
65
- };
66
- }).catch((t) => {
67
- var s, a;
68
- return {
69
- success: !1,
70
- message: ((a = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : a.message) || (t == null ? void 0 : t.message)
71
- };
72
- }),
73
- updatePassword: async (u, c) => await e.post((c == null ? void 0 : c.getApiUrl("/auth/update-password")) || "", u).then((t) => {
74
- var s;
75
- return {
76
- success: !0,
77
- message: (s = t == null ? void 0 : t.data) == null ? void 0 : s.message,
78
- redirectTo: "/login"
79
- };
80
- }).catch((t) => {
81
- var s, a;
82
- return {
83
- success: !1,
84
- message: ((a = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : a.message) || (t == null ? void 0 : t.message)
85
- };
86
- })
87
- };
1
+ import g from "axios";
2
+ function h(a) {
3
+ return {
4
+ login: async (i, c) => {
5
+ var d;
6
+ return await g.post(c.getApiUrl((d = a == null ? void 0 : a.apiPath) == null ? void 0 : d.login, a == null ? void 0 : a.dataProviderName), i).then((t) => {
7
+ var e, u, n;
8
+ return {
9
+ success: !0,
10
+ message: (e = t == null ? void 0 : t.data) == null ? void 0 : e.message,
11
+ redirectTo: ((u = a == null ? void 0 : a.routePath) == null ? void 0 : u.index) || "/",
12
+ data: (n = t == null ? void 0 : t.data) == null ? void 0 : n.data
13
+ };
14
+ }).catch((t) => {
15
+ var e, u;
16
+ return {
17
+ success: !1,
18
+ message: ((u = (e = t == null ? void 0 : t.response) == null ? void 0 : e.data) == null ? void 0 : u.message) || (t == null ? void 0 : t.message)
19
+ };
20
+ });
21
+ },
22
+ check: async (i, c) => {
23
+ var d;
24
+ return await g.get((c == null ? void 0 : c.getApiUrl((d = a == null ? void 0 : a.apiPath) == null ? void 0 : d.check, a == null ? void 0 : a.dataProviderName)) || "").then((t) => {
25
+ var e, u;
26
+ return {
27
+ success: !0,
28
+ message: (e = t == null ? void 0 : t.data) == null ? void 0 : e.message,
29
+ data: (u = t == null ? void 0 : t.data) == null ? void 0 : u.data
30
+ };
31
+ }).catch((t) => {
32
+ var e, u;
33
+ return {
34
+ success: !1,
35
+ message: ((u = (e = t == null ? void 0 : t.response) == null ? void 0 : e.data) == null ? void 0 : u.message) || (t == null ? void 0 : t.message)
36
+ };
37
+ });
38
+ },
39
+ onError: async (i) => {
40
+ var c;
41
+ return i.status === 403 ? {
42
+ logout: !0,
43
+ redirectTo: ((c = a == null ? void 0 : a.routePath) == null ? void 0 : c.login) || "/login",
44
+ error: i
45
+ } : {
46
+ logout: !1,
47
+ error: i
48
+ };
49
+ },
50
+ logout: async () => {
51
+ var i;
52
+ return {
53
+ success: !0,
54
+ redirectTo: ((i = a == null ? void 0 : a.routePath) == null ? void 0 : i.login) || "/login"
55
+ };
56
+ },
57
+ register: async (i, c) => {
58
+ var d;
59
+ return await g.post((c == null ? void 0 : c.getApiUrl((d = a == null ? void 0 : a.apiPath) == null ? void 0 : d.register, a == null ? void 0 : a.dataProviderName)) || "", i).then((t) => {
60
+ var e, u, n;
61
+ return {
62
+ success: !0,
63
+ message: (e = t == null ? void 0 : t.data) == null ? void 0 : e.message,
64
+ redirectTo: ((u = a == null ? void 0 : a.routePath) == null ? void 0 : u.index) || "/",
65
+ data: (n = t == null ? void 0 : t.data) == null ? void 0 : n.data
66
+ };
67
+ }).catch((t) => {
68
+ var e, u;
69
+ return {
70
+ success: !1,
71
+ message: ((u = (e = t == null ? void 0 : t.response) == null ? void 0 : e.data) == null ? void 0 : u.message) || (t == null ? void 0 : t.message)
72
+ };
73
+ });
74
+ },
75
+ forgotPassword: async (i, c) => {
76
+ var d;
77
+ return await g.post((c == null ? void 0 : c.getApiUrl((d = a == null ? void 0 : a.apiPath) == null ? void 0 : d.forgotPassword, a == null ? void 0 : a.dataProviderName)) || "", i).then((t) => {
78
+ var e, u;
79
+ return {
80
+ success: !0,
81
+ message: (e = t == null ? void 0 : t.data) == null ? void 0 : e.message,
82
+ redirectTo: ((u = a == null ? void 0 : a.routePath) == null ? void 0 : u.login) || "/login"
83
+ };
84
+ }).catch((t) => {
85
+ var e, u;
86
+ return {
87
+ success: !1,
88
+ message: ((u = (e = t == null ? void 0 : t.response) == null ? void 0 : e.data) == null ? void 0 : u.message) || (t == null ? void 0 : t.message)
89
+ };
90
+ });
91
+ },
92
+ updatePassword: async (i, c) => {
93
+ var d;
94
+ return await g.post((c == null ? void 0 : c.getApiUrl((d = a == null ? void 0 : a.apiPath) == null ? void 0 : d.updatePassword, a == null ? void 0 : a.dataProviderName)) || "", i).then((t) => {
95
+ var e, u;
96
+ return {
97
+ success: !0,
98
+ message: (e = t == null ? void 0 : t.data) == null ? void 0 : e.message,
99
+ redirectTo: ((u = a == null ? void 0 : a.routePath) == null ? void 0 : u.login) || "/login"
100
+ };
101
+ }).catch((t) => {
102
+ var e, u;
103
+ return {
104
+ success: !1,
105
+ message: ((u = (e = t == null ? void 0 : t.response) == null ? void 0 : e.data) == null ? void 0 : u.message) || (t == null ? void 0 : t.message)
106
+ };
107
+ });
108
+ }
109
+ };
110
+ }
88
111
  export {
89
- i as simpleAuthProvider
112
+ h as simpleAuthProvider
90
113
  };
@@ -1,99 +1,104 @@
1
- import i from "axios";
2
- const z = {
3
- getList: (r, e, t) => {
4
- const d = {};
5
- return r.pagination && typeof r.pagination == "object" && (d.page = r.pagination.page, d.limit = r.pagination.limit, d.pageSize = r.pagination.pageSize), i.get((e == null ? void 0 : e.getApiUrl(r.path)) || "", {
1
+ import { trimStart as i } from "lodash-es";
2
+ import d from "axios";
3
+ function z(g) {
4
+ const t = (e) => e ? `${g.apiUrl}/${i(e || "", "/")}` : g.apiUrl;
5
+ return {
6
+ apiUrl: t,
7
+ getList: (e, n, r) => {
8
+ const a = {};
9
+ return e.pagination && typeof e.pagination == "object" && (a.page = e.pagination.page, a.limit = e.pagination.limit, a.pageSize = e.pagination.pageSize), d.get(t(e.path) || "", {
10
+ params: {
11
+ ...a,
12
+ ...e.filters,
13
+ ...e.sorters
14
+ },
15
+ headers: {
16
+ Authorization: r == null ? void 0 : r.token
17
+ },
18
+ ...e.meta
19
+ }).then((m) => m.data);
20
+ },
21
+ create: (e, n, r) => d.post(t(e.path) || "", e.data, {
22
+ headers: {
23
+ Authorization: r == null ? void 0 : r.token
24
+ },
25
+ ...e.meta
26
+ }).then((a) => a.data),
27
+ update: (e, n, r) => d.put(t(e.id ? `${e.path}/${e.id}` : e.path) || "", e.data, {
28
+ headers: {
29
+ Authorization: r == null ? void 0 : r.token
30
+ },
31
+ ...e.meta
32
+ }).then((a) => a.data),
33
+ deleteOne: (e, n, r) => d.delete(t(e.id ? `${e.path}/${e.id}` : e.path) || "", {
34
+ headers: {
35
+ Authorization: r == null ? void 0 : r.token
36
+ },
37
+ ...e.meta
38
+ }).then((a) => a.data),
39
+ getOne: (e, n, r) => d.get(t(e.id ? `${e.path}/${e.id}` : e.path) || "", {
40
+ headers: {
41
+ Authorization: r == null ? void 0 : r.token
42
+ },
43
+ ...e.meta
44
+ }).then((a) => a.data),
45
+ getMany: (e, n, r) => d.get(t(e.path) || "", {
6
46
  params: {
7
- ...d,
8
- ...r.filters,
9
- ...r.sorters
47
+ ids: e.ids
10
48
  },
11
49
  headers: {
12
- Authorization: t == null ? void 0 : t.token
50
+ Authorization: r == null ? void 0 : r.token
13
51
  },
14
- ...r.meta
15
- }).then((l) => l.data);
16
- },
17
- create: (r, e, t) => i.post((e == null ? void 0 : e.getApiUrl(r.path)) || "", r.data, {
18
- headers: {
19
- Authorization: t == null ? void 0 : t.token
20
- },
21
- ...r.meta
22
- }).then((d) => d.data),
23
- update: (r, e, t) => i.put((e == null ? void 0 : e.getApiUrl(r.id ? `${r.path}/${r.id}` : r.path)) || "", r.data, {
24
- headers: {
25
- Authorization: t == null ? void 0 : t.token
26
- },
27
- ...r.meta
28
- }).then((d) => d.data),
29
- deleteOne: (r, e, t) => i.delete((e == null ? void 0 : e.getApiUrl(r.id ? `${r.path}/${r.id}` : r.path)) || "", {
30
- headers: {
31
- Authorization: t == null ? void 0 : t.token
32
- },
33
- ...r.meta
34
- }).then((d) => d.data),
35
- getOne: (r, e, t) => i.get((e == null ? void 0 : e.getApiUrl(r.id ? `${r.path}/${r.id}` : r.path)) || "", {
36
- headers: {
37
- Authorization: t == null ? void 0 : t.token
38
- },
39
- ...r.meta
40
- }).then((d) => d.data),
41
- getMany: (r, e, t) => i.get((e == null ? void 0 : e.getApiUrl(r.path)) || "", {
42
- params: {
43
- ids: r.ids
44
- },
45
- headers: {
46
- Authorization: t == null ? void 0 : t.token
47
- },
48
- ...r.meta
49
- }).then((d) => d.data),
50
- createMany: (r, e, t) => i.post((e == null ? void 0 : e.getApiUrl(r.path)) || "", r.data, {
51
- headers: {
52
- Authorization: t == null ? void 0 : t.token
53
- },
54
- ...r.meta
55
- }).then((d) => d.data),
56
- updateMany: (r, e, t) => i.put((e == null ? void 0 : e.getApiUrl(r.path)) || "", {
57
- ids: r.ids,
58
- data: r.data
59
- }, {
60
- headers: {
61
- Authorization: t == null ? void 0 : t.token
62
- },
63
- ...r.meta
64
- }).then((d) => d.data),
65
- deleteMany: (r, e, t) => i.delete((e == null ? void 0 : e.getApiUrl(r.path)) || "", {
66
- params: {
67
- ids: r.ids
68
- },
69
- headers: {
70
- Authorization: t == null ? void 0 : t.token
71
- },
72
- ...r.meta
73
- }).then((d) => d.data),
74
- custom: (r, e, t) => {
75
- let d = {
76
- ...r.query
77
- };
78
- return r.sorters && typeof r.sorters == "object" && (d = {
79
- ...d,
80
- ...r.sorters
81
- }), r.filters && typeof r.filters == "object" && (d = {
82
- ...d,
83
- ...r.filters
84
- }), i.request({
85
- url: e == null ? void 0 : e.getApiUrl(r.path || ""),
86
- method: r.method || "GET",
87
- data: r.payload,
88
- params: d,
52
+ ...e.meta
53
+ }).then((a) => a.data),
54
+ createMany: (e, n, r) => d.post(t(e.path) || "", e.data, {
89
55
  headers: {
90
- Authorization: t == null ? void 0 : t.token,
91
- ...r.headers
56
+ Authorization: r == null ? void 0 : r.token
92
57
  },
93
- ...r.meta
94
- }).then((l) => l.data);
95
- }
96
- };
58
+ ...e.meta
59
+ }).then((a) => a.data),
60
+ updateMany: (e, n, r) => d.put(t(e.path) || "", {
61
+ ids: e.ids,
62
+ data: e.data
63
+ }, {
64
+ headers: {
65
+ Authorization: r == null ? void 0 : r.token
66
+ },
67
+ ...e.meta
68
+ }).then((a) => a.data),
69
+ deleteMany: (e, n, r) => d.delete(t(e.path) || "", {
70
+ params: {
71
+ ids: e.ids
72
+ },
73
+ headers: {
74
+ Authorization: r == null ? void 0 : r.token
75
+ },
76
+ ...e.meta
77
+ }).then((a) => a.data),
78
+ custom: (e, n, r) => {
79
+ let a = {
80
+ ...e.query
81
+ };
82
+ return e.sorters && typeof e.sorters == "object" && (a = {
83
+ ...a,
84
+ ...e.sorters
85
+ }), e.filters && typeof e.filters == "object" && (a = {
86
+ ...a,
87
+ ...e.filters
88
+ }), d.request({
89
+ url: t(e.path || ""),
90
+ method: e.method || "GET",
91
+ data: e.payload,
92
+ params: a,
93
+ headers: {
94
+ Authorization: r == null ? void 0 : r.token,
95
+ ...e.headers
96
+ },
97
+ ...e.meta
98
+ }).then((m) => m.data);
99
+ }
100
+ };
101
+ }
97
102
  export {
98
103
  z as simpleDataProvider
99
104
  };
@@ -1,50 +1,51 @@
1
- import { defineStore as i } from "pinia";
2
- import { ref as u } from "vue";
3
- const p = i("auth", () => {
4
- const o = u({});
5
- return {
6
- data: o,
7
- getUser: (t) => o.value[t] || {},
8
- login: (t, e) => {
9
- o.value = {
10
- ...o.value,
11
- [t]: {
12
- token: e.token,
13
- id: e.id,
14
- info: e.info,
15
- permission: e.permission
16
- }
17
- };
18
- },
19
- isLogin: (t) => !!o.value[t],
20
- logout: (t) => {
21
- const e = { ...o.value };
22
- delete e[t], o.value = e;
23
- },
24
- update: (t, e) => {
25
- o.value = {
26
- ...o.value,
27
- [t]: {
28
- token: e.token,
29
- id: e.id,
30
- info: e.info,
31
- permission: e.permission
32
- }
33
- };
34
- },
35
- updateKey: (t, e, n) => {
36
- o.value = {
37
- ...o.value,
38
- [t]: {
39
- ...o.value[t],
40
- [e]: n
41
- }
42
- };
43
- }
44
- };
45
- }, {
46
- persist: !0
47
- });
1
+ import { defineStore as u } from "pinia";
2
+ import { inject as c, ref as d } from "vue";
3
+ function x(e) {
4
+ const o = c("dux.manage");
5
+ if (e || (e = (o == null ? void 0 : o.value) || ""), !e)
6
+ throw new Error("manage not found");
7
+ return f(e)();
8
+ }
9
+ function f(e) {
10
+ return u(`auths-${e}`, () => {
11
+ const o = d();
12
+ return {
13
+ data: o,
14
+ getUser: () => o.value || {},
15
+ login: (t) => {
16
+ o.value = {
17
+ token: t == null ? void 0 : t.token,
18
+ id: t == null ? void 0 : t.id,
19
+ info: t == null ? void 0 : t.info,
20
+ permission: t == null ? void 0 : t.permission
21
+ };
22
+ },
23
+ isLogin: () => {
24
+ var t;
25
+ return !!((t = o.value) != null && t.token);
26
+ },
27
+ logout: () => {
28
+ o.value = void 0;
29
+ },
30
+ update: (t) => {
31
+ o.value = {
32
+ token: t == null ? void 0 : t.token,
33
+ id: t == null ? void 0 : t.id,
34
+ info: t == null ? void 0 : t.info,
35
+ permission: t == null ? void 0 : t.permission
36
+ };
37
+ },
38
+ updateKey: (t, i) => {
39
+ o.value = {
40
+ ...o.value,
41
+ [t]: i
42
+ };
43
+ }
44
+ };
45
+ }, {
46
+ persist: !0
47
+ });
48
+ }
48
49
  export {
49
- p as useAuthStore
50
+ x as useAuthStore
50
51
  };
@@ -0,0 +1,41 @@
1
+ import { cloneDeep as v } from "lodash-es";
2
+ import { defineStore as P } from "pinia";
3
+ import { inject as h, ref as u } from "vue";
4
+ function p(e) {
5
+ return e != null && typeof e == "object" && !Array.isArray(e) && typeof e.getList != "function";
6
+ }
7
+ function I(e) {
8
+ const i = h("dux.manage");
9
+ if (e || (e = (i == null ? void 0 : i.value) || ""), !e)
10
+ throw new Error("manage not found");
11
+ return a(e)();
12
+ }
13
+ function a(e) {
14
+ return P(`manages-${e}`, () => {
15
+ const i = u(), o = u(!1);
16
+ return {
17
+ config: i,
18
+ isInit: () => {
19
+ const s = o.value;
20
+ return o.value = !0, s;
21
+ },
22
+ setConfig: (s, r) => {
23
+ const t = v(s), n = [];
24
+ t.title && n.push(t.title), r.title && n.push(r.title), t.title = n.join(" - "), t.copyright = t.copyright || r.copyright, t.description = t.description || r.description, t.theme = { ...r == null ? void 0 : r.theme, ...t == null ? void 0 : t.theme };
25
+ const d = {};
26
+ r != null && r.dataProvider && (p(r.dataProvider) ? Object.keys(r.dataProvider).forEach((c) => {
27
+ d[c] = r.dataProvider[c];
28
+ }) : d.default = r.dataProvider), t != null && t.dataProvider && (p(t.dataProvider) ? Object.keys(t.dataProvider).forEach((c) => {
29
+ d[c] = t.dataProvider[c];
30
+ }) : d.default = t.dataProvider), t.authProvider = (r == null ? void 0 : r.authProvider) || (t == null ? void 0 : t.authProvider), t.dataProvider = d, t.layoutComponent = {
31
+ ...r.layoutComponent,
32
+ ...t.layoutComponent
33
+ }, i.value = t;
34
+ },
35
+ getConfig: () => i.value
36
+ };
37
+ });
38
+ }
39
+ export {
40
+ I as useManageStore
41
+ };
@@ -60,6 +60,5 @@ function E(n) {
60
60
  });
61
61
  }
62
62
  export {
63
- E as createRouteStore,
64
63
  b as useRouteStore
65
64
  };
@@ -7,7 +7,7 @@ function R(r) {
7
7
  return c(r)();
8
8
  }
9
9
  function c(r) {
10
- return f(`tab-${r}`, () => {
10
+ return f(`tabs-${r}`, () => {
11
11
  const o = s(), t = s([]);
12
12
  return {
13
13
  current: o,
@@ -65,6 +65,5 @@ function c(r) {
65
65
  });
66
66
  }
67
67
  export {
68
- c as createTabStore,
69
68
  R as useTabStore
70
69
  };
@@ -1 +1 @@
1
- export * from './iframe';
1
+ export { default as DuxLoaderIframe } from './iframe';