@feedmepos/mf-transaction 0.0.21 → 0.0.23
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/{App-6D8mOR3Q.js → App-mYNB5Fxn.js} +1 -1
- package/dist/{Receipt-mDEqS0qJ.js → Receipt-C5y6QkRz.js} +31095 -30311
- package/dist/{app-hjY912_W.js → app-k9bCbSNc.js} +38 -36
- package/dist/app.js +1 -1
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-CsZXudNr.js → index-DkCUBXQb.js} +13097 -12964
- package/dist/index.es-Bgillj3g.js +5619 -0
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/packages/shared/src/composable/elementPosition.d.ts +1 -1
- package/dist/packages/shared/src/helpers/browser.d.ts +1 -0
- package/package.json +5 -5
- package/dist/index.es-qchl3MNC.js +0 -5619
|
@@ -1,61 +1,63 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as d, watch as s, nextTick as l, onMounted as h, onBeforeUnmount as v, defineComponent as m, computed as x, openBlock as u, createElementBlock as y, normalizeStyle as _, renderSlot as b, resolveComponent as P, createBlock as I, withCtx as g, createElementVNode as w, createVNode as R, defineAsyncComponent as C } from "vue";
|
|
2
2
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
3
|
-
function k(
|
|
4
|
-
const r =
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
const
|
|
3
|
+
function k(e, n) {
|
|
4
|
+
const r = d({ top: 0, bottom: 0, left: 0, right: 0 });
|
|
5
|
+
function t() {
|
|
6
|
+
if (e.value) {
|
|
7
|
+
const o = e.value.getBoundingClientRect();
|
|
8
8
|
r.value = {
|
|
9
|
-
top:
|
|
10
|
-
bottom:
|
|
11
|
-
left:
|
|
12
|
-
right:
|
|
9
|
+
top: o.top,
|
|
10
|
+
bottom: o.bottom,
|
|
11
|
+
left: o.left,
|
|
12
|
+
right: o.right
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
return
|
|
17
|
-
|
|
16
|
+
return s(n, async () => {
|
|
17
|
+
await l(), t();
|
|
18
|
+
}), s(e, async (o) => {
|
|
19
|
+
o && (await l(), t());
|
|
18
20
|
}), h(() => {
|
|
19
|
-
window.addEventListener("resize",
|
|
21
|
+
window.addEventListener("resize", t);
|
|
20
22
|
}), v(() => {
|
|
21
|
-
window.removeEventListener("resize",
|
|
23
|
+
window.removeEventListener("resize", t);
|
|
22
24
|
}), r;
|
|
23
25
|
}
|
|
24
|
-
const N = /* @__PURE__ */
|
|
26
|
+
const N = /* @__PURE__ */ m({
|
|
25
27
|
__name: "FullWrapper",
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
+
setup(e) {
|
|
29
|
+
const n = E(), r = d(null), t = k(r), o = x(() => {
|
|
28
30
|
var c;
|
|
29
|
-
const
|
|
31
|
+
const a = n.isAtMost("sm") ? 56 : 0;
|
|
30
32
|
return {
|
|
31
|
-
height: `calc(100dvh - ${((c =
|
|
33
|
+
height: `calc(100dvh - ${((c = t.value) == null ? void 0 : c.top) + 24 + a}px)`
|
|
32
34
|
};
|
|
33
35
|
});
|
|
34
|
-
return (
|
|
36
|
+
return (i, a) => (u(), y("div", {
|
|
35
37
|
ref_key: "wrapper",
|
|
36
|
-
ref:
|
|
37
|
-
style: _(
|
|
38
|
+
ref: r,
|
|
39
|
+
style: _(o.value)
|
|
38
40
|
}, [
|
|
39
|
-
b(
|
|
41
|
+
b(i.$slots, "default")
|
|
40
42
|
], 4));
|
|
41
43
|
}
|
|
42
|
-
}), D = { class: "flex justify-center items-center h-full w-full" }, F = /* @__PURE__ */
|
|
44
|
+
}), D = { class: "flex justify-center items-center h-full w-full" }, F = /* @__PURE__ */ m({
|
|
43
45
|
__name: "PageLoading",
|
|
44
|
-
setup(
|
|
45
|
-
return (
|
|
46
|
-
const
|
|
47
|
-
return
|
|
46
|
+
setup(e) {
|
|
47
|
+
return (n, r) => {
|
|
48
|
+
const t = P("FmCircularProgress");
|
|
49
|
+
return u(), I(N, null, {
|
|
48
50
|
default: g(() => [
|
|
49
51
|
w("div", D, [
|
|
50
|
-
R(
|
|
52
|
+
R(t, { size: "xl" })
|
|
51
53
|
])
|
|
52
54
|
]),
|
|
53
55
|
_: 1
|
|
54
56
|
});
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
|
-
}),
|
|
58
|
-
loader:
|
|
59
|
+
}), f = (e) => C({
|
|
60
|
+
loader: e,
|
|
59
61
|
loadingComponent: F
|
|
60
62
|
}), S = {
|
|
61
63
|
title: "Transaction",
|
|
@@ -171,20 +173,20 @@ const N = /* @__PURE__ */ l({
|
|
|
171
173
|
}
|
|
172
174
|
}, A = {
|
|
173
175
|
transaction: z
|
|
174
|
-
},
|
|
176
|
+
}, p = "$transaction-receipt", $ = [
|
|
175
177
|
{
|
|
176
178
|
path: "/",
|
|
177
|
-
redirect: { name:
|
|
179
|
+
redirect: { name: p }
|
|
178
180
|
},
|
|
179
181
|
{
|
|
180
182
|
path: "/receipt",
|
|
181
|
-
name:
|
|
182
|
-
component:
|
|
183
|
+
name: p,
|
|
184
|
+
component: f(() => import("./Receipt-C5y6QkRz.js").then((e) => e.R))
|
|
183
185
|
}
|
|
184
186
|
], L = {
|
|
185
187
|
"en-US": T,
|
|
186
188
|
"zh-CN": A
|
|
187
|
-
}, O =
|
|
189
|
+
}, O = f(() => import("./App-mYNB5Fxn.js"));
|
|
188
190
|
export {
|
|
189
191
|
O as F,
|
|
190
192
|
N as _,
|
package/dist/app.js
CHANGED