@feedmepos/mf-payment 1.8.0 → 1.8.1-dev

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 (46) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-CX1_lQSw.js → Actions.vue_vue_type_script_setup_true_lang-Cuzla1oY.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-BeMe0eWN.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-D79gyND3.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DfYsAAaC.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-OINuOkas.js} +2 -2
  4. package/dist/{Chargeback-xwB_glv5.js → Chargeback-sQQp7fCd.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-CrvzKQgC.js → DocumentViewer.vue_vue_type_script_setup_true_lang-C42uptsa.js} +1 -1
  6. package/dist/{OnboardForm-DKhsjm3n.js → OnboardForm-9mnBqMmd.js} +722 -717
  7. package/dist/{OnboardForm-F2Qcvalp.js → OnboardForm-CaOEbQ22.js} +128 -127
  8. package/dist/{OnboardSubmission-0hfx_f8i.js → OnboardSubmission-BdRBebcC.js} +3 -3
  9. package/dist/{OnboardSubmission-D2ebcVnG.js → OnboardSubmission-BeP-x0v2.js} +6 -6
  10. package/dist/{PayoutAccount-CIek2Qnh.js → PayoutAccount-DOFljBvE.js} +5 -5
  11. package/dist/{PayoutAccount-Dw-_pf4z.js → PayoutAccount-PBySjzsl.js} +7 -7
  12. package/dist/{PayoutAccountSetting-DSk8ZV9p.js → PayoutAccountSetting-CWAxe_Bk.js} +6 -6
  13. package/dist/{Restaurant-Bdike4SW.js → Restaurant-DoMkz27y.js} +4 -4
  14. package/dist/{RestaurantSetting-DSDzRmgE.js → RestaurantSetting-Bz6qwpNC.js} +3 -3
  15. package/dist/{Settlement-Cw6JGHxU.js → Settlement-BYZHrs8E.js} +3 -3
  16. package/dist/{Settlement-BEhvMZje.js → Settlement-CMayu7aU.js} +4 -4
  17. package/dist/{SettlementTransactions-BlRbAo_K.js → SettlementTransactions-CRPIYXVW.js} +5 -5
  18. package/dist/{SettlementTransactions-yczyKInV.js → SettlementTransactions-CyxL85fB.js} +5 -5
  19. package/dist/{Status.vue_vue_type_script_setup_true_lang-sobv3LfF.js → Status.vue_vue_type_script_setup_true_lang-DWJ_miup.js} +1 -1
  20. package/dist/{Terminal-BwHi929R.js → Terminal-DkwnRFFL.js} +5 -5
  21. package/dist/{TerminalSetting-ZA-ADJVD.js → TerminalSetting-CGlMvxa8.js} +5 -5
  22. package/dist/{Transaction-DqwB7HTI.js → Transaction-8t3Tgjwa.js} +10 -10
  23. package/dist/{Transaction-BvvdK0go.js → Transaction-fm0B5nRC.js} +11 -11
  24. package/dist/{TransactionOld-B0fQrQ7W.js → TransactionOld-BCUkorA2.js} +7 -7
  25. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-KpyoB07o.js → TransactionStatus.vue_vue_type_script_setup_true_lang-DRthK8zD.js} +1 -1
  26. package/dist/{app-v4m_QvHC.js → app-HurNvNS5.js} +361 -352
  27. package/dist/app.js +1 -1
  28. package/dist/{assets-xspGnWqt.js → assets-DVLU2t_q.js} +1 -1
  29. package/dist/{grafana-By90eHTE.js → grafana-BsMCGCzE.js} +1 -1
  30. package/dist/{index-ClZtCkMC.js → index-03Hs823S.js} +1 -1
  31. package/dist/{index-BO4m11-f.js → index-BifkD6JA.js} +1 -1
  32. package/dist/{index-COhy5Sra.js → index-BmEpfjpT.js} +1 -1
  33. package/dist/{index-B-1dMDti.js → index-BwALxMhM.js} +1 -1
  34. package/dist/{index-Bm1fndT6.js → index-C4XdtTWx.js} +1 -1
  35. package/dist/{index-DQ81tv1s.js → index-CYzo-plj.js} +1 -1
  36. package/dist/{index-D3G27Mr4.js → index-DHD88s-a.js} +2 -2
  37. package/dist/{index-CnoeFPh3.js → index-DsLgOa7d.js} +1 -1
  38. package/dist/{index-CMIKOUH0.js → index-nSB5f6HJ.js} +1 -1
  39. package/dist/{index.vue_vue_type_script_setup_true_lang-FjfVgwqj.js → index.vue_vue_type_script_setup_true_lang-BsBHrQLx.js} +1 -1
  40. package/dist/model/onboard-submission.d.ts +1 -0
  41. package/dist/onboard-submission-CPRheDQl.js +30 -0
  42. package/dist/package.json +2 -2
  43. package/dist/{payout-account-Dz18wMnQ.js → payout-account-D3OetCJc.js} +3 -3
  44. package/dist/tsconfig.app.tsbuildinfo +1 -1
  45. package/package.json +1 -1
  46. package/dist/onboard-submission-dp_mz2J_.js +0 -23
@@ -1,4 +1,4 @@
1
- import { e as i } from "./index-B-1dMDti.js";
1
+ import { e as i } from "./index-BwALxMhM.js";
2
2
  import { useCoreStore as l } from "@feedmepos/mf-common";
3
3
  import { h as a } from "./moment-h96o7c8I.js";
4
4
  const y = "https://grafana.feedme.farm/d/hyperdx-trace-explorer/hyperdx-trace-explorer-embedded", m = "69a1a2665dc2f34c0563c0a7", h = "6a4e8eefbcd09745155bda80", n = {
@@ -1,4 +1,4 @@
1
- import { g as t, b as n, c as u, a as e } from "./index-B-1dMDti.js";
1
+ import { g as t, b as n, c as u, a as e } from "./index-BwALxMhM.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,4 +1,4 @@
1
- import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-B-1dMDti.js";
1
+ import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-BwALxMhM.js";
2
2
  import { h as r } from "./moment-h96o7c8I.js";
3
3
  import { d as p } from "./dinero-CIVmXLL-.js";
4
4
  function* f(t, a) {
@@ -1,4 +1,4 @@
1
- import { a as s, b as e, g as r } from "./index-B-1dMDti.js";
1
+ import { a as s, b as e, g as r } from "./index-BwALxMhM.js";
2
2
  const i = {
3
3
  async readRestaurantById(a) {
4
4
  const t = await e().get(`/payments/restaurants/${a}`);
@@ -1,4 +1,4 @@
1
- import { w as V, x as IR, v as AR } from "./app-v4m_QvHC.js";
1
+ import { w as V, x as IR, v as AR } from "./app-HurNvNS5.js";
2
2
  import { useCoreStore as Ou } from "@feedmepos/mf-common";
3
3
  import { ref as pR } from "vue";
4
4
  var Ah = {}, $d = {}, y = {}, zh = {}, jm = {}, Um = {}, Ic = {};
@@ -1,4 +1,4 @@
1
- import { b as r, c as p } from "./index-B-1dMDti.js";
1
+ import { b as r, c as p } from "./index-BwALxMhM.js";
2
2
  const i = {
3
3
  async upload(e, s, t) {
4
4
  const o = (await p().post("/document/presign", {
@@ -1,6 +1,6 @@
1
1
  import { ref as b, watch as w } from "vue";
2
2
  import { useRoute as A, useRouter as m } from "vue-router";
3
- import { v as y } from "./app-v4m_QvHC.js";
3
+ import { v as y } from "./app-HurNvNS5.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,6 +1,6 @@
1
- import { g as o, b as s, o as m, a as d } from "./index-B-1dMDti.js";
1
+ import { g as o, b as s, o as m, a as d } from "./index-BwALxMhM.js";
2
2
  import { h as c } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-Bm1fndT6.js";
3
+ import { d as b } from "./index-C4XdtTWx.js";
4
4
  async function g(t) {
5
5
  if (t.type !== "image/png") return t;
6
6
  const a = await p(t), e = document.createElement("canvas");
@@ -1,4 +1,4 @@
1
- import { g as r, b as n, a as s, d as I, l, c, r as m } from "./index-B-1dMDti.js";
1
+ import { g as r, b as n, a as s, d as I, l, c, r as m } from "./index-BwALxMhM.js";
2
2
  import { h as a } from "./moment-h96o7c8I.js";
3
3
  const w = {
4
4
  async readBySettlementId(t) {
@@ -1,4 +1,4 @@
1
- import { b as a, g as t, p as r, c as i, a as s } from "./index-B-1dMDti.js";
1
+ import { b as a, g as t, p as r, c as i, a as s } from "./index-BwALxMhM.js";
2
2
  const m = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, ref as r, resolveComponent as f, openBlock as g, createBlock as z, withCtx as I, createElementVNode as i, normalizeStyle as E, createElementBlock as M, Fragment as N, renderList as O, createVNode as c, computed as _, watch as L, onMounted as R, unref as D, toDisplayString as B, createCommentVNode as G, nextTick as H, normalizeClass as J } from "vue";
2
- import { u as K } from "./index-B-1dMDti.js";
2
+ import { u as K } from "./index-BwALxMhM.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const Q = ["id"], U = /* @__PURE__ */ q({
5
5
  __name: "FmTableSelection",
@@ -1,6 +1,7 @@
1
1
  import { F_COUNTRY } from "@feedmepos/core/entity";
2
2
  import { FdoOnboardType } from "@feedmepos/payment-entity";
3
3
  export declare const ONBOARD_TYPE_REGIONS: Record<FdoOnboardType, F_COUNTRY[]>;
4
+ export declare const ONSITE_PHOTO_LABELS: readonly ["Left Exterior Photo", "Right Exterior Photo", "Front Exterior Photo", "Entrance Exterior Photo (Outside to Inside)", "Entrance Interior Photo (Inside to Outside)"];
4
5
  export declare const OnboardConfig: {
5
6
  typeOptions(): {
6
7
  label: "softspace" | "digipay" | "ntt" | "tyro";
@@ -0,0 +1,30 @@
1
+ import { e as t, p as r } from "./index-BwALxMhM.js";
2
+ import { useCoreStore as i } from "@feedmepos/mf-common";
3
+ const s = {
4
+ softspace: [t.F_COUNTRY.enum.MY],
5
+ digipay: [t.F_COUNTRY.enum.TH],
6
+ ntt: [t.F_COUNTRY.enum.TH],
7
+ tyro: [t.F_COUNTRY.enum.AU]
8
+ }, u = [
9
+ "Left Exterior Photo",
10
+ "Right Exterior Photo",
11
+ "Front Exterior Photo",
12
+ "Entrance Exterior Photo (Outside to Inside)",
13
+ "Entrance Interior Photo (Inside to Outside)"
14
+ ], p = {
15
+ typeOptions() {
16
+ const n = i().currentCountry.value ?? t.F_COUNTRY.enum.MY;
17
+ return r.FdoOnboardType.options.filter((o) => {
18
+ var e;
19
+ return ((e = s[o]) == null ? void 0 : e.includes(n)) ?? !1;
20
+ }).map((o) => ({
21
+ label: o,
22
+ value: o
23
+ }));
24
+ }
25
+ };
26
+ export {
27
+ p as O,
28
+ u as a,
29
+ s as b
30
+ };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.8.0",
3
+ "version": "1.8.1-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -109,4 +109,4 @@
109
109
  "vite": "^5.2.11",
110
110
  "vue-tsc": "^2.0.11"
111
111
  }
112
- }
112
+ }
@@ -1,7 +1,7 @@
1
- import { p as E, B as st } from "./index-B-1dMDti.js";
2
- import { v as it, w as at, _ as ut } from "./app-v4m_QvHC.js";
1
+ import { p as E, B as st } from "./index-BwALxMhM.js";
2
+ import { v as it, w as at, _ as ut } from "./app-HurNvNS5.js";
3
3
  import { useCoreStore as ot } from "@feedmepos/mf-common";
4
- import { d as H } from "./index-Bm1fndT6.js";
4
+ import { d as H } from "./index-C4XdtTWx.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {