@feedmepos/mf-payment 1.0.16-beta.1 → 1.0.16-beta.2
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/{PayoutAccount-BLnAnrdL.js → PayoutAccount-8PS0XG-o.js} +5 -5
- package/dist/{PayoutAccount-6es5M8rA.js → PayoutAccount-BaR-pQsE.js} +3 -3
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-Cfkyp9mf.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-Bpfma3sQ.js} +2 -2
- package/dist/{PayoutAccountSetting-BmqsY0rS.js → PayoutAccountSetting-DGv-V72Q.js} +4 -4
- package/dist/{Restaurant-BYlL_o6q.js → Restaurant-DxFHtTvZ.js} +4 -4
- package/dist/{RestaurantSetting-Cj1hxkIg.js → RestaurantSetting-CClHn4b1.js} +4 -4
- package/dist/{Settlement-Nq0i8Jkq.js → Settlement-BZ47PeA4.js} +3 -3
- package/dist/{Settlement-B5kB8Fnq.js → Settlement-Dre6hrbR.js} +3 -3
- package/dist/{SettlementTransactions-D4utbC0A.js → SettlementTransactions-BX1rAyIV.js} +4 -4
- package/dist/{SettlementTransactions-C7L0siVw.js → SettlementTransactions-DMrhyxeT.js} +4 -4
- package/dist/{Terminal-CDQJ9wy0.js → Terminal-3YWAIFU-.js} +5 -5
- package/dist/{TerminalSetting-BgFe3rKb.js → TerminalSetting-6uNjMrlx.js} +43 -41
- package/dist/{TerminalTransaction-BSjwDhBv.js → TerminalTransaction-Dx55gC2L.js} +129 -129
- package/dist/{TerminalTransaction-CnQmbEoQ.js → TerminalTransaction-DxNG44rA.js} +6 -6
- package/dist/{Transaction-CAzMLsJt.js → Transaction-PnNFOZeu.js} +5 -5
- package/dist/{Transaction-CV2ymNDx.js → Transaction-cDKuWfvi.js} +6 -6
- package/dist/{TransactionOld-CgLoRexV.js → TransactionOld-Ba4Fhq0A.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CktM2jzP.js → TransactionTable.vue_vue_type_script_setup_true_lang-6RXME_ux.js} +2 -2
- package/dist/{app-Ci-Vcr4m.js → app-DOh5Q7Wl.js} +352 -352
- package/dist/app.js +1 -1
- package/dist/{assets-FkjGSBQ1.js → assets-CofaZ_lT.js} +1 -1
- package/dist/{grafana-931Nxkhi.js → grafana-Bk6PPzTz.js} +1 -1
- package/dist/{index-BcCZ_0v0.js → index-BGLG0L6x.js} +1 -1
- package/dist/{index-BgRAawwk.js → index-BdPxytRc.js} +1 -1
- package/dist/{index-CUiFh1mv.js → index-BvOwxlNE.js} +1 -1
- package/dist/{index-CBBlXAaP.js → index-CORtn1qp.js} +1 -1
- package/dist/{index-DGdWaUJP.js → index-CiR5XvPL.js} +1 -1
- package/dist/{index-CTyGGtdE.js → index-Cn1xSOHw.js} +1 -1
- package/dist/{index-CoZV8mxc.js → index-D1ycS_0Y.js} +1 -1
- package/dist/{index-C6keHWJr.js → index-d4H-VoHb.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-ooSmpomb.js → index.vue_vue_type_script_setup_true_lang-Cz-jVTPU.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CGdTzV98.js → payout-account-lrJn2HVt.js} +2 -2
- package/dist/{transaction-2NjSBj5U.js → transaction-B8ifjkL4.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as g, resolveComponent as i, openBlock as h, createBlock as y, normalizeClass as N, withCtx as _, createElementVNode as P, toDisplayString as C, createVNode as p, computed as x, ref as E, watch as F, unref as s, isRef as b, h as v } from "vue";
|
2
|
-
import { u as S } from "./index-
|
3
|
-
import { _ as O } from "./index-
|
2
|
+
import { u as S } from "./index-d4H-VoHb.js";
|
3
|
+
import { _ as O } from "./index-BGLG0L6x.js";
|
4
4
|
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
5
|
-
import { P as V } from "./payout-account-
|
6
|
-
import { p as $ } from "./index-
|
5
|
+
import { P as V } from "./payout-account-lrJn2HVt.js";
|
6
|
+
import { p as $ } from "./index-BvOwxlNE.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
|
-
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-
|
8
|
+
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-Cz-jVTPU.js";
|
9
9
|
import { useRouter as T } from "vue-router";
|
10
10
|
import { _ as U } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
|
11
11
|
const G = /* @__PURE__ */ g({
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as f, ref as I, reactive as J, computed as Z, watch as N, resolveComponent as Y, openBlock as n, createBlock as u, withCtx as Q, createElementVNode as r, createVNode as i, unref as w, createCommentVNode as O, createElementBlock as U, normalizeClass as h, toDisplayString as k, h as y, onMounted as R, Fragment as T } from "vue";
|
2
|
-
import { p } from "./index-
|
3
|
-
import { _ as z, u as L, e as S } from "./index-
|
2
|
+
import { p } from "./index-BvOwxlNE.js";
|
3
|
+
import { _ as z, u as L, e as S } from "./index-BGLG0L6x.js";
|
4
4
|
import { defineStore as _ } from "pinia";
|
5
5
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
6
|
-
import { c as AA, P as W } from "./payout-account-
|
6
|
+
import { c as AA, P as W } from "./payout-account-lrJn2HVt.js";
|
7
7
|
import { useDialogChild as eA, useDialog as sA } from "@feedmepos/ui-library";
|
8
8
|
import { z as X, a as x } from "./validator-D5jtpt9A.js";
|
9
9
|
import { P as K } from "./PDFViewer-xrBtzrlR.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as N, mergeModels as $, ref as M, computed as w, useModel as z, watch as B, onMounted as I, resolveComponent as d, openBlock as l, createElementBlock as m, Fragment as i, unref as P, createBlock as c, createCommentVNode as y, withCtx as p, createVNode as V, renderList as _ } from "vue";
|
2
|
-
import { p as q } from "./index-
|
3
|
-
import { u as E } from "./index-
|
2
|
+
import { p as q } from "./index-BvOwxlNE.js";
|
3
|
+
import { u as E } from "./index-BGLG0L6x.js";
|
4
4
|
import { useCoreStore as j } from "@feedmepos/mf-common";
|
5
5
|
const O = /* @__PURE__ */ N({
|
6
6
|
__name: "PayoutAccountSelector",
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as I, resolveComponent as i, openBlock as F, createElementBlock as R, Fragment as N, createElementVNode as s, createVNode as u, withCtx as x, createTextVNode as C, toDisplayString as P, createCommentVNode as U, createBlock as V, ref as k, watch as q, computed as B, unref as r, isRef as M, h as E, onMounted as O, resolveDynamicComponent as j, normalizeProps as Y, mergeProps as z } from "vue";
|
2
|
-
import { p as $ } from "./index-
|
3
|
-
import { u as H, e as D } from "./index-
|
2
|
+
import { p as $ } from "./index-BvOwxlNE.js";
|
3
|
+
import { u as H, e as D } from "./index-BGLG0L6x.js";
|
4
4
|
import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
5
5
|
import { useRouter as W } from "vue-router";
|
6
|
-
import { u as L } from "./index-
|
6
|
+
import { u as L } from "./index-d4H-VoHb.js";
|
7
7
|
import { P as K } from "./PDFViewer-xrBtzrlR.js";
|
8
8
|
import { useSnackbar as Z } from "@feedmepos/ui-library";
|
9
9
|
import { u as J } from "./error-K1CakhA9.js";
|
10
|
-
import { p as _ } from "./index-
|
10
|
+
import { p as _ } from "./index-CiR5XvPL.js";
|
11
11
|
import { z as A, a as S } from "./validator-D5jtpt9A.js";
|
12
12
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
13
13
|
const h = { class: "flex gap-16 mb-6" }, ee = ["src"], te = /* @__PURE__ */ I({
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as F, ref as y, resolveComponent as g, openBlock as x, createBlock as A, withCtx as $, createVNode as f, createElementVNode as d, normalizeStyle as T, createElementBlock as R, Fragment as D, renderList as q, computed as C, watch as I, onMounted as N, unref as b, toDisplayString as B, normalizeClass as W, isRef as E, h as P } from "vue";
|
2
|
-
import { u as O } from "./index-
|
2
|
+
import { u as O } from "./index-d4H-VoHb.js";
|
3
3
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
4
4
|
import "@feedmepos/ui-library";
|
5
|
-
import { u as G } from "./index-
|
5
|
+
import { u as G } from "./index-BGLG0L6x.js";
|
6
6
|
import { _ as Q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
7
|
-
import { r as H } from "./index-
|
7
|
+
import { r as H } from "./index-Cn1xSOHw.js";
|
8
8
|
import { useRouter as J } from "vue-router";
|
9
|
-
import { g as X } from "./grafana-
|
9
|
+
import { g as X } from "./grafana-Bk6PPzTz.js";
|
10
10
|
const Y = ["id"], L = /* @__PURE__ */ F({
|
11
11
|
__name: "FmTableSelection",
|
12
12
|
props: {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as S, ref as U, resolveComponent as i, openBlock as v, createBlock as V, withCtx as k, createVNode as u, unref as a, createElementVNode as T, createCommentVNode as C, onMounted as D, computed as K, createElementBlock as R, Fragment as E, resolveDynamicComponent as P, normalizeProps as q, mergeProps as O, isRef as M } from "vue";
|
2
|
-
import { u as B, e as I } from "./index-
|
2
|
+
import { u as B, e as I } from "./index-BGLG0L6x.js";
|
3
3
|
import { _ as N } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
4
4
|
import { useRouter as Y } from "vue-router";
|
5
|
-
import { u as $ } from "./index-
|
6
|
-
import { p as x } from "./index-
|
5
|
+
import { u as $ } from "./index-d4H-VoHb.js";
|
6
|
+
import { p as x } from "./index-CiR5XvPL.js";
|
7
7
|
import { z as p, a as y } from "./validator-D5jtpt9A.js";
|
8
8
|
import { useCoreStore as A } from "@feedmepos/mf-common";
|
9
|
-
import { r as L } from "./index-
|
9
|
+
import { r as L } from "./index-Cn1xSOHw.js";
|
10
10
|
const j = { class: "flex mt-6 space-x-6" }, z = /* @__PURE__ */ S({
|
11
11
|
__name: "FiuuGateway",
|
12
12
|
props: {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as h, ref as v, computed as x, resolveComponent as Y, openBlock as g, createBlock as D, h as S, onMounted as A, watch as R, withCtx as V, createElementVNode as m, createVNode as i, unref as n, isRef as $ } from "vue";
|
2
|
-
import { u as b } from "./index-
|
2
|
+
import { u as b } from "./index-BGLG0L6x.js";
|
3
3
|
import { h as _ } from "./moment-h96o7c8I.js";
|
4
4
|
import { useCoreStore as C } from "@feedmepos/mf-common";
|
5
5
|
import { _ as k } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
-
import { s as w } from "./index-
|
6
|
+
import { s as w } from "./index-BdPxytRc.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { d as f } from "./dinero-CIVmXLL-.js";
|
9
9
|
import { _ as F } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
10
10
|
import { useRouter as M } from "vue-router";
|
11
|
-
import { u as K } from "./index-
|
11
|
+
import { u as K } from "./index-d4H-VoHb.js";
|
12
12
|
import { _ as B } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
13
13
|
import { _ as I } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-p4qddIbp.js";
|
14
14
|
import { _ as L } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as C, ref as h, computed as x, resolveComponent as d, openBlock as k, createBlock as A, h as B, watch as V, onMounted as I, unref as a, withCtx as b, createElementVNode as y, createVNode as s, isRef as $, createElementBlock as L, Fragment as K, renderList as E } from "vue";
|
2
|
-
import { u as D } from "./index-
|
2
|
+
import { u as D } from "./index-BGLG0L6x.js";
|
3
3
|
import { h as g } from "./moment-h96o7c8I.js";
|
4
|
-
import { s as c } from "./index-
|
4
|
+
import { s as c } from "./index-BdPxytRc.js";
|
5
5
|
import { useSnackbar as T } from "@feedmepos/ui-library";
|
6
6
|
import { d as v } from "./dinero-CIVmXLL-.js";
|
7
7
|
import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
8
8
|
import { useRouter as q } from "vue-router";
|
9
9
|
import { _ as N } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
10
|
-
import { u as O } from "./index-
|
10
|
+
import { u as O } from "./index-d4H-VoHb.js";
|
11
11
|
import { u as U } from "./error-K1CakhA9.js";
|
12
12
|
import { _ as j } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
13
13
|
const z = /* @__PURE__ */ C({
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as T, resolveComponent as g, openBlock as F, createBlock as P, normalizeClass as j, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as c, ref as _, onMounted as z, watch as $, createVNode as a, createTextVNode as i, h } from "vue";
|
2
|
-
import { e as C, u as G } from "./index-
|
2
|
+
import { e as C, u as G } from "./index-BGLG0L6x.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
import { d as E } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as Y, a as H } from "./assets-
|
6
|
-
import { t as q, a as J } from "./transaction-
|
5
|
+
import { g as Y, a as H } from "./assets-CofaZ_lT.js";
|
6
|
+
import { t as q, a as J } from "./transaction-B8ifjkL4.js";
|
7
7
|
import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
8
|
import { useRouter as W } from "vue-router";
|
9
|
-
import { s as X } from "./index-
|
9
|
+
import { s as X } from "./index-BdPxytRc.js";
|
10
10
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
11
11
|
const ee = /* @__PURE__ */ T({
|
12
12
|
__name: "Status",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as k, normalizeClass as G, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as x, onMounted as Y, watch as H, createVNode as n, createTextVNode as i, h as N } from "vue";
|
2
|
-
import { e as E, u as q } from "./index-
|
2
|
+
import { e as E, u as q } from "./index-BGLG0L6x.js";
|
3
3
|
import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
4
4
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as W, a as X } from "./assets-
|
6
|
-
import { t as P, a as Z } from "./transaction-
|
5
|
+
import { g as W, a as X } from "./assets-CofaZ_lT.js";
|
6
|
+
import { t as P, a as Z } from "./transaction-B8ifjkL4.js";
|
7
7
|
import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
8
|
import { useRouter as te } from "vue-router";
|
9
|
-
import { s as ae } from "./index-
|
9
|
+
import { s as ae } from "./index-BdPxytRc.js";
|
10
10
|
import { u as ne } from "./error-K1CakhA9.js";
|
11
11
|
import { w as oe } from "./Modal-DB8M9o1T.js";
|
12
12
|
const re = /* @__PURE__ */ w({
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as h, openBlock as g, createElementBlock as V, createTextVNode as M, createElementVNode as x, toDisplayString as L, resolveComponent as f, createVNode as v, normalizeClass as z, withCtx as B, createBlock as b, createCommentVNode as F, ref as C, computed as Y, unref as m, watch as K, isRef as P, h as E } from "vue";
|
2
|
-
import "./index-
|
2
|
+
import "./index-BGLG0L6x.js";
|
3
3
|
import { h as q } from "./moment-h96o7c8I.js";
|
4
|
-
import { u as j } from "./index-
|
5
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
4
|
+
import { u as j } from "./index-d4H-VoHb.js";
|
5
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-Cz-jVTPU.js";
|
6
6
|
import { _ as G } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
7
7
|
import { useSnackbar as D, useDialogChild as Q, useDialog as J } from "@feedmepos/ui-library";
|
8
|
-
import { t as A } from "./index-
|
8
|
+
import { t as A } from "./index-CORtn1qp.js";
|
9
9
|
import { c as O } from "./clipboard-4jh1WteU.js";
|
10
|
-
import { g as W } from "./grafana-
|
10
|
+
import { g as W } from "./grafana-Bk6PPzTz.js";
|
11
11
|
import { u as N } from "./error-K1CakhA9.js";
|
12
12
|
import { z as R, a as U } from "./validator-D5jtpt9A.js";
|
13
13
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import { defineComponent as T, openBlock as b, createElementBlock as N, Fragment as Y, createElementVNode as g, createTextVNode as V, toDisplayString as S, toRef as M, ref as F, watch as D, onMounted as G, computed as O, resolveComponent as f, unref as
|
2
|
-
import { u as R, e as U } from "./index-
|
3
|
-
import { useRouter as
|
4
|
-
import { t as C } from "./index-
|
5
|
-
import { _ as
|
6
|
-
import { u as H } from "./index-
|
1
|
+
import { defineComponent as T, openBlock as b, createElementBlock as N, Fragment as Y, createElementVNode as g, createTextVNode as V, toDisplayString as S, toRef as M, ref as F, watch as D, onMounted as G, computed as O, resolveComponent as f, unref as _, createVNode as I, createBlock as x, withCtx as q, createCommentVNode as B, isRef as h, resolveDynamicComponent as L, normalizeProps as j, mergeProps as z } from "vue";
|
2
|
+
import { u as R, e as U } from "./index-BGLG0L6x.js";
|
3
|
+
import { useRouter as E } from "vue-router";
|
4
|
+
import { t as C } from "./index-CORtn1qp.js";
|
5
|
+
import { _ as A } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
+
import { u as H } from "./index-d4H-VoHb.js";
|
7
7
|
import { useSnackbar as Q } from "@feedmepos/ui-library";
|
8
8
|
import { u as J } from "./error-K1CakhA9.js";
|
9
|
+
import { z as W, a as X } from "./validator-D5jtpt9A.js";
|
9
10
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
10
|
-
const
|
11
|
+
const Z = /* @__PURE__ */ T({
|
11
12
|
__name: "Information",
|
12
13
|
props: {
|
13
14
|
terminal: {
|
@@ -31,10 +32,10 @@ const W = /* @__PURE__ */ T({
|
|
31
32
|
e[7] || (e[7] = g("br", null, null, -1))
|
32
33
|
], 64));
|
33
34
|
}
|
34
|
-
}),
|
35
|
+
}), ee = {
|
35
36
|
key: 0,
|
36
37
|
class: "flex items-center justify-center min-h-[80vh]"
|
37
|
-
},
|
38
|
+
}, ae = { class: "flex mt-6 space-x-6" }, te = /* @__PURE__ */ T({
|
38
39
|
__name: "TerminalGateway",
|
39
40
|
props: {
|
40
41
|
terminal: {
|
@@ -75,10 +76,10 @@ const W = /* @__PURE__ */ T({
|
|
75
76
|
(r = c.terminal.ecrs) == null || r.splice(t, 1), c.onUpdate(c.terminal);
|
76
77
|
}
|
77
78
|
return (t, r) => {
|
78
|
-
const m = f("FmCircularProgress"),
|
79
|
-
return
|
79
|
+
const m = f("FmCircularProgress"), k = f("FmSelect"), w = f("FmButton"), K = f("FmForm");
|
80
|
+
return _(d) ? (b(), N("div", ee, [
|
80
81
|
I(m, { size: "xxl" })
|
81
|
-
])) : (b(),
|
82
|
+
])) : (b(), x(K, {
|
82
83
|
key: 1,
|
83
84
|
ref: v.value,
|
84
85
|
class: "flex flex-col gap-16 w-[500px]",
|
@@ -87,14 +88,15 @@ const W = /* @__PURE__ */ T({
|
|
87
88
|
})
|
88
89
|
}, {
|
89
90
|
default: q(() => [
|
90
|
-
I(
|
91
|
+
I(k, {
|
91
92
|
modelValue: p.value.terminalId,
|
92
93
|
"onUpdate:modelValue": r[0] || (r[0] = (P) => p.value.terminalId = P),
|
93
94
|
label: "Terminal ID",
|
94
|
-
items: s.value
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
items: s.value,
|
96
|
+
rules: _(W)(_(X).string())
|
97
|
+
}, null, 8, ["modelValue", "items", "rules"]),
|
98
|
+
g("div", ae, [
|
99
|
+
n.value > -1 ? (b(), x(w, {
|
98
100
|
key: 0,
|
99
101
|
class: "flex-1",
|
100
102
|
variant: "secondary",
|
@@ -113,7 +115,7 @@ const W = /* @__PURE__ */ T({
|
|
113
115
|
}, 512));
|
114
116
|
};
|
115
117
|
}
|
116
|
-
}),
|
118
|
+
}), ne = { class: "flex mt-6 space-x-6" }, le = /* @__PURE__ */ T({
|
117
119
|
__name: "FiuuGateway",
|
118
120
|
props: {
|
119
121
|
terminal: {
|
@@ -166,8 +168,8 @@ const W = /* @__PURE__ */ T({
|
|
166
168
|
(u = a.value.gateways) == null || u.splice(s, 1), d.onUpdate(a.value);
|
167
169
|
}
|
168
170
|
return (s, u) => {
|
169
|
-
const t = f("FmSelect"), r = f("FmTextField"), m = f("FmButton"),
|
170
|
-
return b(),
|
171
|
+
const t = f("FmSelect"), r = f("FmTextField"), m = f("FmButton"), k = f("FmForm");
|
172
|
+
return b(), x(k, {
|
171
173
|
ref: o.value,
|
172
174
|
class: "flex flex-col gap-16 w-[500px]",
|
173
175
|
onValidationSuccess: u[2] || (u[2] = () => {
|
@@ -179,15 +181,15 @@ const W = /* @__PURE__ */ T({
|
|
179
181
|
modelValue: n.value.packageId,
|
180
182
|
"onUpdate:modelValue": u[0] || (u[0] = (w) => n.value.packageId = w),
|
181
183
|
label: "Package ID",
|
182
|
-
items: c.filter((w) => w.region ===
|
184
|
+
items: c.filter((w) => w.region === _(e))
|
183
185
|
}, null, 8, ["modelValue", "items"]),
|
184
186
|
I(r, {
|
185
187
|
modelValue: n.value.uniqueId,
|
186
188
|
"onUpdate:modelValue": u[1] || (u[1] = (w) => n.value.uniqueId = w),
|
187
189
|
label: "Unique ID"
|
188
190
|
}, null, 8, ["modelValue"]),
|
189
|
-
g("div",
|
190
|
-
v.value > -1 ? (b(),
|
191
|
+
g("div", ne, [
|
192
|
+
v.value > -1 ? (b(), x(m, {
|
191
193
|
key: 0,
|
192
194
|
class: "flex-1",
|
193
195
|
variant: "secondary",
|
@@ -206,7 +208,7 @@ const W = /* @__PURE__ */ T({
|
|
206
208
|
}, 512);
|
207
209
|
};
|
208
210
|
}
|
209
|
-
}),
|
211
|
+
}), re = { class: "flex mt-6 space-x-6" }, ue = /* @__PURE__ */ T({
|
210
212
|
__name: "GhlGateway",
|
211
213
|
props: {
|
212
214
|
terminal: {
|
@@ -246,7 +248,7 @@ const W = /* @__PURE__ */ T({
|
|
246
248
|
}
|
247
249
|
return (i, l) => {
|
248
250
|
const s = f("FmTextField"), u = f("FmTextarea"), t = f("FmButton"), r = f("FmForm");
|
249
|
-
return b(),
|
251
|
+
return b(), x(r, {
|
250
252
|
ref: c.value,
|
251
253
|
class: "flex flex-col gap-16 w-[500px]",
|
252
254
|
onValidationSuccess: l[3] || (l[3] = () => {
|
@@ -269,8 +271,8 @@ const W = /* @__PURE__ */ T({
|
|
269
271
|
"onUpdate:modelValue": l[2] || (l[2] = (m) => o.value.privateKey = m),
|
270
272
|
label: "Private Key"
|
271
273
|
}, null, 8, ["modelValue"]),
|
272
|
-
g("div",
|
273
|
-
a.value > -1 ? (b(),
|
274
|
+
g("div", re, [
|
275
|
+
a.value > -1 ? (b(), x(t, {
|
274
276
|
key: 0,
|
275
277
|
class: "flex-1",
|
276
278
|
variant: "secondary",
|
@@ -289,7 +291,7 @@ const W = /* @__PURE__ */ T({
|
|
289
291
|
}, 512);
|
290
292
|
};
|
291
293
|
}
|
292
|
-
}),
|
294
|
+
}), ge = /* @__PURE__ */ T({
|
293
295
|
__name: "TerminalSetting",
|
294
296
|
props: {
|
295
297
|
terminalId: {
|
@@ -300,7 +302,7 @@ const W = /* @__PURE__ */ T({
|
|
300
302
|
setup(y) {
|
301
303
|
const d = y, { tab: e } = H({
|
302
304
|
tab: "information"
|
303
|
-
}), { isLoading: c, startAsyncCall: a } = R(!0), o =
|
305
|
+
}), { isLoading: c, startAsyncCall: a } = R(!0), o = E(), v = Q(), n = F();
|
304
306
|
async function p(t) {
|
305
307
|
a(async () => {
|
306
308
|
try {
|
@@ -330,13 +332,13 @@ const W = /* @__PURE__ */ T({
|
|
330
332
|
label: "Information",
|
331
333
|
value: "information",
|
332
334
|
icon: "overview",
|
333
|
-
render:
|
335
|
+
render: Z
|
334
336
|
},
|
335
337
|
{
|
336
338
|
label: "Fiuu",
|
337
339
|
value: "fiuu",
|
338
340
|
icon: "payment",
|
339
|
-
render:
|
341
|
+
render: le
|
340
342
|
}
|
341
343
|
], l = $().currentCountry, s = O(() => {
|
342
344
|
var t;
|
@@ -348,31 +350,31 @@ const W = /* @__PURE__ */ T({
|
|
348
350
|
label: "FeedMe Terminal",
|
349
351
|
value: "terminal",
|
350
352
|
icon: "shopping_cart_checkout",
|
351
|
-
render:
|
353
|
+
render: te
|
352
354
|
}), l.value === U.F_COUNTRY.enum.MY && i.push({
|
353
355
|
label: "GHL Terminal (V2)",
|
354
356
|
value: "ghl",
|
355
357
|
icon: "shopping_cart_checkout",
|
356
|
-
render:
|
358
|
+
render: ue
|
357
359
|
}));
|
358
360
|
});
|
359
361
|
}
|
360
362
|
return G(u), (t, r) => {
|
361
|
-
var
|
363
|
+
var k;
|
362
364
|
const m = f("FmTabs");
|
363
|
-
return b(),
|
364
|
-
title: `Terminal (${(
|
365
|
-
loading:
|
366
|
-
onBack:
|
365
|
+
return b(), x(A, {
|
366
|
+
title: `Terminal (${(k = n.value) == null ? void 0 : k._id})`,
|
367
|
+
loading: _(c),
|
368
|
+
onBack: _(o).back
|
367
369
|
}, {
|
368
370
|
default: q(() => [
|
369
371
|
I(m, {
|
370
|
-
"model-value":
|
372
|
+
"model-value": _(e),
|
371
373
|
"onUpdate:modelValue": r[0] || (r[0] = (w) => h(e) ? e.value = w : null),
|
372
374
|
class: "mb-6",
|
373
375
|
items: i
|
374
376
|
}, null, 8, ["model-value"]),
|
375
|
-
|
377
|
+
_(e) ? (b(), x(L(s.value), j(z({ key: 0 }, {
|
376
378
|
terminal: n.value,
|
377
379
|
onUpdate: p
|
378
380
|
})), null, 16)) : B("", !0)
|
@@ -383,5 +385,5 @@ const W = /* @__PURE__ */ T({
|
|
383
385
|
}
|
384
386
|
});
|
385
387
|
export {
|
386
|
-
|
388
|
+
ge as default
|
387
389
|
};
|