@feedmepos/mf-payment 1.0.0-beta.9 → 1.0.1-beta.1
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/{AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js → AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js} +8 -9
- package/dist/{PayoutAccount-_d3TfUSc.js → PayoutAccount-CyVXI1Sx.js} +5 -5
- package/dist/{PayoutAccount-DgN3EHTj.js → PayoutAccount-DGUnImHC.js} +4 -4
- package/dist/{PayoutAccountSetting-CmgVLhdp.js → PayoutAccountSetting-BbtOFbsd.js} +161 -183
- package/dist/Restaurant-ewsvVw3P.js +262 -0
- package/dist/RestaurantSetting-BboKM1iG.js +389 -0
- package/dist/{Settlement-B1-WmCwC.js → Settlement-DsJlFpCC.js} +4 -4
- package/dist/{Settlement-BSOQRlp1.js → Settlement-Hr7jN3EL.js} +4 -4
- package/dist/{SettlementTransactions-Cqd2raea.js → SettlementTransactions-BncoGGQ3.js} +10 -10
- package/dist/{SettlementTransactions-JTwD_Vuq.js → SettlementTransactions-Bz9ZVYfq.js} +41 -41
- package/dist/{Terminal-De69bTKY.js → Terminal-D-U0BVTe.js} +121 -108
- package/dist/{TerminalSetting-DlRHaEZh.js → TerminalSetting-JD3sbXOB.js} +3 -3
- package/dist/{TerminalTransaction-CZCsCpEp.js → TerminalTransaction-B5iY_F-3.js} +18 -18
- package/dist/{TerminalTransaction-C1egvX6I.js → TerminalTransaction-DHmD5x8e.js} +12 -12
- package/dist/{Transaction-B3ZWKg6Q.js → Transaction-BedQtv8p.js} +64 -64
- package/dist/{Transaction-B_0nUmpf.js → Transaction-DA_TB9zD.js} +11 -11
- package/dist/api/restaurant/index.d.ts +6 -0
- package/dist/{app-B-XC_fSK.js → app-CpyZU23J.js} +164 -147
- package/dist/app.js +1 -1
- package/dist/{assets-BCAivOTo.js → assets-8c19wXSV.js} +22 -21
- package/dist/components/PagingTable/FmTableSelection.vue.d.ts +13 -0
- package/dist/components/PagingTable/index.vue.d.ts +48 -0
- package/dist/{index-4meiCsRz.js → index-1fXAFo2E.js} +31211 -31211
- package/dist/index-BIXuzGa9.js +19 -0
- package/dist/{index-BFYq3eq8.js → index-Cb1zVhcH.js} +1 -1
- package/dist/{index-CbsnpMWl.js → index-DEpszFWF.js} +1 -1
- package/dist/{index-BwFHcZlm.js → index-DdJrUqkm.js} +1 -1
- package/dist/{index-CBa6eapm.js → index-DeU3Qyca.js} +1 -1
- package/dist/{index-CETCXB6X.js → index-DoAIw4wM.js} +1 -1
- package/dist/index-DsLFmVsY.js +28 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKOlikHb.js → index.vue_vue_type_script_setup_true_lang-GT2x04Bn.js} +64 -61
- package/dist/package.json +2 -2
- package/dist/{payout-account-CKhGpN_d.js → payout-account-BbheLTUt.js} +2 -2
- package/dist/{transaction-COjHU7aN.js → transaction-W49zE8RL.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/restaurant/Restaurant.vue.d.ts +2 -0
- package/dist/views/admin/restaurant/RestaurantSetting.vue.d.ts +12 -0
- package/dist/views/admin/restaurant/cell/IsActive.vue.d.ts +7 -0
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +803 -0
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/package.json +2 -2
@@ -6,22 +6,21 @@ const x = /* @__PURE__ */ i({
|
|
6
6
|
props: {
|
7
7
|
data: {}
|
8
8
|
},
|
9
|
-
setup(
|
10
|
-
const
|
11
|
-
function
|
9
|
+
setup(n) {
|
10
|
+
const r = n, o = _();
|
11
|
+
function a() {
|
12
12
|
try {
|
13
|
-
u(
|
13
|
+
u(r.data), o.open({ title: "Text copied to clipboard." }, 1e3);
|
14
14
|
} catch {
|
15
|
-
|
15
|
+
o.open({ title: "Clipboard API incompatible." }, 1e3);
|
16
16
|
}
|
17
|
-
o.data;
|
18
17
|
}
|
19
|
-
return (e,
|
18
|
+
return (e, t) => {
|
20
19
|
const p = s("FmIcon");
|
21
20
|
return l(), m("div", {
|
22
21
|
class: "flex",
|
23
|
-
onClick:
|
24
|
-
c.stopPropagation(),
|
22
|
+
onClick: t[0] || (t[0] = (c) => {
|
23
|
+
c.stopPropagation(), a();
|
25
24
|
})
|
26
25
|
}, [
|
27
26
|
d(p, {
|
@@ -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-DdJrUqkm.js";
|
3
|
+
import { _ as O } from "./index-1fXAFo2E.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-BbheLTUt.js";
|
6
|
+
import { p as $ } from "./index-Cb1zVhcH.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-GT2x04Bn.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 W, reactive as k, computed as j, watch as p, resolveComponent as Y, openBlock as n, createBlock as u, withCtx as E, createElementVNode as r, createVNode as D, unref as w, createCommentVNode as I, createElementBlock as N, normalizeClass as U, toDisplayString as R, h as O, onMounted as T, Fragment as L } from "vue";
|
2
|
-
import { p as z } from "./index-
|
3
|
-
import { _ as y, u as S, e as K } from "./index-
|
2
|
+
import { p as z } from "./index-Cb1zVhcH.js";
|
3
|
+
import { _ as y, u as S, e as K } from "./index-1fXAFo2E.js";
|
4
4
|
import { defineStore as _ } from "pinia";
|
5
5
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
6
|
-
import { c as AA, P as v } from "./payout-account-
|
6
|
+
import { c as AA, P as v } from "./payout-account-BbheLTUt.js";
|
7
7
|
import { useDialogChild as sA, useDialog as eA } from "@feedmepos/ui-library";
|
8
8
|
import { z as X, a as x } from "./validator-D5jtpt9A.js";
|
9
9
|
import { P as J } from "./PDFViewer-xrBtzrlR.js";
|
@@ -512,7 +512,7 @@ const gA = _("mf-payment-payoutAccount", {
|
|
512
512
|
}, YA = { class: "hidden mr-6 lg:block lg:w-1/6" }, GA = ["src"], mA = { class: "w-full max-w-lg text-left" }, dA = { class: "py-4" }, CA = { class: "flex justify-end items-center mb-6" }, VA = { class: "flex space-x-4 items-center" }, jA = /* @__PURE__ */ f({
|
513
513
|
__name: "PayoutAccount",
|
514
514
|
setup(a) {
|
515
|
-
const { currentBusiness: o, restaurants: g } = $(), { isLoading: d, startAsyncCall: s } = S(!0), G = eA(), m = gA(), e = j(() => m.getBusinessPayoutAccounts), B = j(() => g.value.filter((c) => e.value.
|
515
|
+
const { currentBusiness: o, restaurants: g } = $(), { isLoading: d, startAsyncCall: s } = S(!0), G = eA(), m = gA(), e = j(() => m.getBusinessPayoutAccounts), B = j(() => g.value.filter((c) => e.value.findIndex((t) => t.store.id === c._id) === -1).map((c) => ({ label: c.profile.name, value: c._id }))), M = j(() => {
|
516
516
|
var c, t;
|
517
517
|
return [{ label: (c = o.value) == null ? void 0 : c.name, value: (t = o.value) == null ? void 0 : t._id }];
|
518
518
|
}), V = j(() => B.value.length > 0 || !e.value.find((c) => c.store.event === "MARKETING"));
|