@feedmepos/mf-payment 1.0.17-beta.1 → 1.0.17
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-DVTKC9HU.js → PayoutAccount-B4_FlpNy.js} +3 -4
- package/dist/{PayoutAccount-DaSWi1Me.js → PayoutAccount-C1F4nzhY.js} +5 -5
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-CYE3OEXe.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-D1JZ56cv.js} +2 -2
- package/dist/{PayoutAccountSetting-CqWDYDDi.js → PayoutAccountSetting-BEw1XNuX.js} +4 -4
- package/dist/{Restaurant-C-pno48_.js → Restaurant-TCSbQjCj.js} +4 -4
- package/dist/{RestaurantSetting-D5BXiTn2.js → RestaurantSetting-D_dNcxQd.js} +4 -4
- package/dist/{Settlement-Cgxts5eu.js → Settlement-BQe2JW-Q.js} +3 -3
- package/dist/{Settlement-I67N2bqy.js → Settlement-DTA0SdZc.js} +3 -3
- package/dist/{SettlementTransactions-BWe-hWjq.js → SettlementTransactions-9sVg8_eQ.js} +4 -4
- package/dist/{SettlementTransactions-BXPsJSOI.js → SettlementTransactions-DD6wLd4W.js} +4 -4
- package/dist/{Terminal-o9zfC9WW.js → Terminal-Dd2OGvH_.js} +5 -5
- package/dist/{TerminalSetting-BciOf47B.js → TerminalSetting-CNjiW8AS.js} +41 -43
- package/dist/TerminalTransaction-BDye71lK.js +819 -0
- package/dist/{TerminalTransaction-BYlEOFjg.js → TerminalTransaction-BHdUR8kU.js} +107 -130
- package/dist/{Transaction-gDdSiqs9.js → Transaction-EmgoD2xm.js} +5 -5
- package/dist/{Transaction-B362xcHT.js → Transaction-Sq0Vy8K5.js} +6 -6
- package/dist/{TransactionOld--8HuiCzC.js → TransactionOld-DgFEZ8lO.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-yAM0nD2z.js → TransactionTable.vue_vue_type_script_setup_true_lang-B10hKLw3.js} +2 -2
- package/dist/{app-Dm8kGtux.js → app-DSs9frsP.js} +212 -212
- package/dist/app.js +1 -1
- package/dist/{assets-BDTkzAxB.js → assets-isbnAWcO.js} +1 -1
- package/dist/{grafana-Dtn-kbRH.js → grafana-Bf4L47IF.js} +12 -12
- package/dist/{index-BC85ddk1.js → index-B7mrn8cQ.js} +1 -1
- package/dist/{index-CZAwC5k6.js → index-C-YBzOUs.js} +1 -1
- package/dist/{index-4uEqQ1dj.js → index-CMfikq5P.js} +1 -1
- package/dist/{index-D7Uh09kd.js → index-CRJ6lKaL.js} +2 -2
- package/dist/{index-CZ9tbaEh.js → index-DuemQbuN.js} +1 -1
- package/dist/{index-BroiGVyD.js → index-M-Xwbigf.js} +1 -1
- package/dist/{index-CtVHR2Os.js → index-_cvebzIU.js} +1 -1
- package/dist/{index-DmltKkqh.js → index-zuIHTzhv.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-3Bmqvkzy.js → index.vue_vue_type_script_setup_true_lang-atP7HnX3.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-BZ-WV3GM.js → payout-account-DcBR5HoD.js} +2 -2
- package/dist/{transaction-XK-M9o1a.js → transaction-3qMvkl2b.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/TerminalTransaction-C_2wLJJV.js +0 -820
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as f, ref as I, reactive as J, computed as Z, watch as p, 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 as N } from "./index-
|
3
|
-
import { _ as z, u as L, e as S } from "./index-
|
2
|
+
import { p as N } from "./index-zuIHTzhv.js";
|
3
|
+
import { _ as z, u as L, e as S } from "./index-CRJ6lKaL.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-DcBR5HoD.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";
|
@@ -158,7 +158,6 @@ const gA = _("mf-payment-payoutAccount", {
|
|
158
158
|
"onUpdate:modelValue": A[3] || (A[3] = (c) => e.payoutSetting.store.bank.accountNumber = c),
|
159
159
|
label: "Account Number",
|
160
160
|
"label-mark": "required",
|
161
|
-
type: "number",
|
162
161
|
rules: w(X)(w(x).string().min(1))
|
163
162
|
}, null, 8, ["modelValue", "rules"]),
|
164
163
|
i(M, {
|
@@ -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-_cvebzIU.js";
|
3
|
+
import { _ as O } from "./index-CRJ6lKaL.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-DcBR5HoD.js";
|
6
|
+
import { p as $ } from "./index-zuIHTzhv.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-atP7HnX3.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,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-zuIHTzhv.js";
|
3
|
+
import { u as E } from "./index-CRJ6lKaL.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-zuIHTzhv.js";
|
3
|
+
import { u as H, e as D } from "./index-CRJ6lKaL.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-_cvebzIU.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-DuemQbuN.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-_cvebzIU.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-CRJ6lKaL.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-M-Xwbigf.js";
|
8
8
|
import { useRouter as J } from "vue-router";
|
9
|
-
import { g as X } from "./grafana-
|
9
|
+
import { g as X } from "./grafana-Bf4L47IF.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-CRJ6lKaL.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-_cvebzIU.js";
|
6
|
+
import { p as x } from "./index-DuemQbuN.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-M-Xwbigf.js";
|
10
10
|
const j = { class: "flex mt-6 space-x-6" }, z = /* @__PURE__ */ S({
|
11
11
|
__name: "FiuuGateway",
|
12
12
|
props: {
|
@@ -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-CRJ6lKaL.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-CMfikq5P.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-_cvebzIU.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,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-CRJ6lKaL.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-CMfikq5P.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-_cvebzIU.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,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-CRJ6lKaL.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-isbnAWcO.js";
|
6
|
+
import { t as P, a as Z } from "./transaction-3qMvkl2b.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-CMfikq5P.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,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-CRJ6lKaL.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-isbnAWcO.js";
|
6
|
+
import { t as q, a as J } from "./transaction-3qMvkl2b.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-CMfikq5P.js";
|
10
10
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
11
11
|
const ee = /* @__PURE__ */ T({
|
12
12
|
__name: "Status",
|
@@ -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-CRJ6lKaL.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-_cvebzIU.js";
|
5
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-atP7HnX3.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-B7mrn8cQ.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-Bf4L47IF.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,14 +1,13 @@
|
|
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 k, createVNode as I, createBlock as _, withCtx as q, createCommentVNode as B, isRef as h, resolveDynamicComponent as L, normalizeProps as j, mergeProps as E } from "vue";
|
2
|
+
import { u as R, e as U } from "./index-CRJ6lKaL.js";
|
3
|
+
import { useRouter as A } from "vue-router";
|
4
|
+
import { t as C } from "./index-B7mrn8cQ.js";
|
5
|
+
import { _ as z } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
+
import { u as H } from "./index-_cvebzIU.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";
|
10
9
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
11
|
-
const
|
10
|
+
const W = /* @__PURE__ */ T({
|
12
11
|
__name: "Information",
|
13
12
|
props: {
|
14
13
|
terminal: {
|
@@ -32,10 +31,10 @@ const Z = /* @__PURE__ */ T({
|
|
32
31
|
e[7] || (e[7] = g("br", null, null, -1))
|
33
32
|
], 64));
|
34
33
|
}
|
35
|
-
}),
|
34
|
+
}), X = {
|
36
35
|
key: 0,
|
37
36
|
class: "flex items-center justify-center min-h-[80vh]"
|
38
|
-
},
|
37
|
+
}, Z = { class: "flex mt-6 space-x-6" }, ee = /* @__PURE__ */ T({
|
39
38
|
__name: "TerminalGateway",
|
40
39
|
props: {
|
41
40
|
terminal: {
|
@@ -76,10 +75,10 @@ const Z = /* @__PURE__ */ T({
|
|
76
75
|
(r = c.terminal.ecrs) == null || r.splice(t, 1), c.onUpdate(c.terminal);
|
77
76
|
}
|
78
77
|
return (t, r) => {
|
79
|
-
const m = f("FmCircularProgress"),
|
80
|
-
return
|
78
|
+
const m = f("FmCircularProgress"), x = f("FmSelect"), w = f("FmButton"), K = f("FmForm");
|
79
|
+
return k(d) ? (b(), N("div", X, [
|
81
80
|
I(m, { size: "xxl" })
|
82
|
-
])) : (b(),
|
81
|
+
])) : (b(), _(K, {
|
83
82
|
key: 1,
|
84
83
|
ref: v.value,
|
85
84
|
class: "flex flex-col gap-16 w-[500px]",
|
@@ -88,15 +87,14 @@ const Z = /* @__PURE__ */ T({
|
|
88
87
|
})
|
89
88
|
}, {
|
90
89
|
default: q(() => [
|
91
|
-
I(
|
90
|
+
I(x, {
|
92
91
|
modelValue: p.value.terminalId,
|
93
92
|
"onUpdate:modelValue": r[0] || (r[0] = (P) => p.value.terminalId = P),
|
94
93
|
label: "Terminal ID",
|
95
|
-
items: s.value
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
n.value > -1 ? (b(), x(w, {
|
94
|
+
items: s.value
|
95
|
+
}, null, 8, ["modelValue", "items"]),
|
96
|
+
g("div", Z, [
|
97
|
+
n.value > -1 ? (b(), _(w, {
|
100
98
|
key: 0,
|
101
99
|
class: "flex-1",
|
102
100
|
variant: "secondary",
|
@@ -115,7 +113,7 @@ const Z = /* @__PURE__ */ T({
|
|
115
113
|
}, 512));
|
116
114
|
};
|
117
115
|
}
|
118
|
-
}),
|
116
|
+
}), ae = { class: "flex mt-6 space-x-6" }, te = /* @__PURE__ */ T({
|
119
117
|
__name: "FiuuGateway",
|
120
118
|
props: {
|
121
119
|
terminal: {
|
@@ -168,8 +166,8 @@ const Z = /* @__PURE__ */ T({
|
|
168
166
|
(u = a.value.gateways) == null || u.splice(s, 1), d.onUpdate(a.value);
|
169
167
|
}
|
170
168
|
return (s, u) => {
|
171
|
-
const t = f("FmSelect"), r = f("FmTextField"), m = f("FmButton"),
|
172
|
-
return b(), x
|
169
|
+
const t = f("FmSelect"), r = f("FmTextField"), m = f("FmButton"), x = f("FmForm");
|
170
|
+
return b(), _(x, {
|
173
171
|
ref: o.value,
|
174
172
|
class: "flex flex-col gap-16 w-[500px]",
|
175
173
|
onValidationSuccess: u[2] || (u[2] = () => {
|
@@ -181,15 +179,15 @@ const Z = /* @__PURE__ */ T({
|
|
181
179
|
modelValue: n.value.packageId,
|
182
180
|
"onUpdate:modelValue": u[0] || (u[0] = (w) => n.value.packageId = w),
|
183
181
|
label: "Package ID",
|
184
|
-
items: c.filter((w) => w.region ===
|
182
|
+
items: c.filter((w) => w.region === k(e))
|
185
183
|
}, null, 8, ["modelValue", "items"]),
|
186
184
|
I(r, {
|
187
185
|
modelValue: n.value.uniqueId,
|
188
186
|
"onUpdate:modelValue": u[1] || (u[1] = (w) => n.value.uniqueId = w),
|
189
187
|
label: "Unique ID"
|
190
188
|
}, null, 8, ["modelValue"]),
|
191
|
-
g("div",
|
192
|
-
v.value > -1 ? (b(),
|
189
|
+
g("div", ae, [
|
190
|
+
v.value > -1 ? (b(), _(m, {
|
193
191
|
key: 0,
|
194
192
|
class: "flex-1",
|
195
193
|
variant: "secondary",
|
@@ -208,7 +206,7 @@ const Z = /* @__PURE__ */ T({
|
|
208
206
|
}, 512);
|
209
207
|
};
|
210
208
|
}
|
211
|
-
}),
|
209
|
+
}), ne = { class: "flex mt-6 space-x-6" }, le = /* @__PURE__ */ T({
|
212
210
|
__name: "GhlGateway",
|
213
211
|
props: {
|
214
212
|
terminal: {
|
@@ -248,7 +246,7 @@ const Z = /* @__PURE__ */ T({
|
|
248
246
|
}
|
249
247
|
return (i, l) => {
|
250
248
|
const s = f("FmTextField"), u = f("FmTextarea"), t = f("FmButton"), r = f("FmForm");
|
251
|
-
return b(),
|
249
|
+
return b(), _(r, {
|
252
250
|
ref: c.value,
|
253
251
|
class: "flex flex-col gap-16 w-[500px]",
|
254
252
|
onValidationSuccess: l[3] || (l[3] = () => {
|
@@ -271,8 +269,8 @@ const Z = /* @__PURE__ */ T({
|
|
271
269
|
"onUpdate:modelValue": l[2] || (l[2] = (m) => o.value.privateKey = m),
|
272
270
|
label: "Private Key"
|
273
271
|
}, null, 8, ["modelValue"]),
|
274
|
-
g("div",
|
275
|
-
a.value > -1 ? (b(),
|
272
|
+
g("div", ne, [
|
273
|
+
a.value > -1 ? (b(), _(t, {
|
276
274
|
key: 0,
|
277
275
|
class: "flex-1",
|
278
276
|
variant: "secondary",
|
@@ -291,7 +289,7 @@ const Z = /* @__PURE__ */ T({
|
|
291
289
|
}, 512);
|
292
290
|
};
|
293
291
|
}
|
294
|
-
}),
|
292
|
+
}), pe = /* @__PURE__ */ T({
|
295
293
|
__name: "TerminalSetting",
|
296
294
|
props: {
|
297
295
|
terminalId: {
|
@@ -302,7 +300,7 @@ const Z = /* @__PURE__ */ T({
|
|
302
300
|
setup(y) {
|
303
301
|
const d = y, { tab: e } = H({
|
304
302
|
tab: "information"
|
305
|
-
}), { isLoading: c, startAsyncCall: a } = R(!0), o =
|
303
|
+
}), { isLoading: c, startAsyncCall: a } = R(!0), o = A(), v = Q(), n = F();
|
306
304
|
async function p(t) {
|
307
305
|
a(async () => {
|
308
306
|
try {
|
@@ -332,13 +330,13 @@ const Z = /* @__PURE__ */ T({
|
|
332
330
|
label: "Information",
|
333
331
|
value: "information",
|
334
332
|
icon: "overview",
|
335
|
-
render:
|
333
|
+
render: W
|
336
334
|
},
|
337
335
|
{
|
338
336
|
label: "Fiuu",
|
339
337
|
value: "fiuu",
|
340
338
|
icon: "payment",
|
341
|
-
render:
|
339
|
+
render: te
|
342
340
|
}
|
343
341
|
], l = $().currentCountry, s = O(() => {
|
344
342
|
var t;
|
@@ -350,31 +348,31 @@ const Z = /* @__PURE__ */ T({
|
|
350
348
|
label: "FeedMe Terminal",
|
351
349
|
value: "terminal",
|
352
350
|
icon: "shopping_cart_checkout",
|
353
|
-
render:
|
351
|
+
render: ee
|
354
352
|
}), l.value === U.F_COUNTRY.enum.MY && i.push({
|
355
353
|
label: "GHL Terminal (V2)",
|
356
354
|
value: "ghl",
|
357
355
|
icon: "shopping_cart_checkout",
|
358
|
-
render:
|
356
|
+
render: le
|
359
357
|
}));
|
360
358
|
});
|
361
359
|
}
|
362
360
|
return G(u), (t, r) => {
|
363
|
-
var
|
361
|
+
var x;
|
364
362
|
const m = f("FmTabs");
|
365
|
-
return b(),
|
366
|
-
title: `Terminal (${(
|
367
|
-
loading:
|
368
|
-
onBack:
|
363
|
+
return b(), _(z, {
|
364
|
+
title: `Terminal (${(x = n.value) == null ? void 0 : x._id})`,
|
365
|
+
loading: k(c),
|
366
|
+
onBack: k(o).back
|
369
367
|
}, {
|
370
368
|
default: q(() => [
|
371
369
|
I(m, {
|
372
|
-
"model-value":
|
370
|
+
"model-value": k(e),
|
373
371
|
"onUpdate:modelValue": r[0] || (r[0] = (w) => h(e) ? e.value = w : null),
|
374
372
|
class: "mb-6",
|
375
373
|
items: i
|
376
374
|
}, null, 8, ["model-value"]),
|
377
|
-
|
375
|
+
k(e) ? (b(), _(L(s.value), j(E({ key: 0 }, {
|
378
376
|
terminal: n.value,
|
379
377
|
onUpdate: p
|
380
378
|
})), null, 16)) : B("", !0)
|
@@ -385,5 +383,5 @@ const Z = /* @__PURE__ */ T({
|
|
385
383
|
}
|
386
384
|
});
|
387
385
|
export {
|
388
|
-
|
386
|
+
pe as default
|
389
387
|
};
|