@feedmepos/mf-payment 1.5.25-dev → 1.5.26-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.
@@ -8,7 +8,7 @@ import { p as Rn } from "./index-OA39241x.js";
8
8
  import { useSnackbar as kn, useFormChild as Vn, useDialog as Sn } from "@feedmepos/ui-library";
9
9
  import { u as cn } from "./index-DRKoa7dT.js";
10
10
  import { s as Wn } from "./vue-signature-pad.esm-IXPjf4fL.js";
11
- import { P as In } from "./payout-account-Th15UywB.js";
11
+ import { P as In } from "./payout-account-V9peDwuP.js";
12
12
  import { useRouter as Cn } from "vue-router";
13
13
  const Fn = { class: "flex" }, qn = { class: "justify-self-center font-semibold" }, Kn = ["src"], Qn = ["src"], B = /* @__PURE__ */ vn({
14
14
  __name: "UploadButton",
@@ -21510,7 +21510,7 @@ notice.
21510
21510
  }, qt = { class: "col-start-1 col-span-2" }, Kt = { class: "col-span-1" }, Qt = {
21511
21511
  key: 2,
21512
21512
  class: "grid grid-cols-4 gap-24"
21513
- }, Ut = { key: 3 }, _t = { class: "mb-6" }, $t = ["title", "srcdoc"], ne = { class: "mb-6" }, te = { class: "grid grid-cols-4 gap-24 mb-6" }, ee = { class: "col-span-2" }, fe = { class: "col-span-2" }, de = { class: "col-span-2" }, ve = { class: "col-span-2" }, re = { class: "flex items-start gap-6" }, Pe = { class: "flex flex-1 flex-row items-start gap-8" }, le = { class: "grid grid-cols-4 gap-24 mt-6" }, Ae = { class: "col-span-2" }, se = { class: "col-span-2" }, be = { class: "col-span-2" }, ie = /* @__PURE__ */ vn({
21513
+ }, Ut = { key: 3 }, _t = { class: "mb-6" }, $t = ["title", "srcdoc"], ne = { class: "mb-6" }, te = { class: "grid grid-cols-4 gap-24 mb-6" }, ee = { class: "col-span-2" }, fe = { class: "col-span-2" }, de = { class: "col-span-2" }, ve = { class: "col-span-2" }, re = { class: "flex flex-1 flex-row items-start gap-6" }, Pe = { class: "grid grid-cols-4 gap-24 mt-6" }, le = { class: "col-span-2" }, Ae = { class: "col-span-2" }, se = { class: "col-span-2" }, be = /* @__PURE__ */ vn({
21514
21514
  __name: "NTTSubmission",
21515
21515
  props: {
21516
21516
  submission: {}
@@ -22130,6 +22130,7 @@ notice.
22130
22130
  modelValue: A.value.picContact,
22131
22131
  "onUpdate:modelValue": e[33] || (e[33] = (v) => A.value.picContact = v),
22132
22132
  "default-country": "TH",
22133
+ "extra-country-codes": ["TH"],
22133
22134
  label: n("field.picContact.label"),
22134
22135
  "label-mark": "required",
22135
22136
  rules: t(w)(
@@ -22139,33 +22140,31 @@ notice.
22139
22140
  ])
22140
22141
  ]),
22141
22142
  b("div", re, [
22142
- b("div", Pe, [
22143
- f(mn, {
22144
- modelValue: p.value.signature,
22145
- "onUpdate:modelValue": e[34] || (e[34] = (v) => p.value.signature = v),
22146
- class: "w-[256px] h-[128px]",
22147
- label: n("field.signature.label"),
22148
- "label-mark": "required",
22149
- "restaurant-id": (un = t(z)) == null ? void 0 : un._id,
22150
- rules: [
22151
- (v) => !!v || n("validation.signatureRequired")
22152
- ]
22153
- }, null, 8, ["modelValue", "label", "restaurant-id", "rules"]),
22154
- f(B, {
22155
- label: n("document.companyStamp"),
22156
- type: "image",
22157
- class: "w-[256px]",
22158
- modelValue: p.value.companyStamp,
22159
- "onUpdate:modelValue": [
22160
- e[35] || (e[35] = (v) => p.value.companyStamp = v),
22161
- e[36] || (e[36] = (v) => S("companyStamp", v))
22162
- ],
22163
- "restaurant-id": (hn = t(z)) == null ? void 0 : hn._id
22164
- }, null, 8, ["label", "modelValue", "restaurant-id"])
22165
- ])
22143
+ f(mn, {
22144
+ modelValue: p.value.signature,
22145
+ "onUpdate:modelValue": e[34] || (e[34] = (v) => p.value.signature = v),
22146
+ class: "w-[256px]",
22147
+ label: n("field.signature.label"),
22148
+ "label-mark": "required",
22149
+ "restaurant-id": (un = t(z)) == null ? void 0 : un._id,
22150
+ rules: [
22151
+ (v) => !!v || n("validation.signatureRequired")
22152
+ ]
22153
+ }, null, 8, ["modelValue", "label", "restaurant-id", "rules"]),
22154
+ f(B, {
22155
+ label: n("document.companyStamp"),
22156
+ type: "image",
22157
+ class: "w-[256px]",
22158
+ modelValue: p.value.companyStamp,
22159
+ "onUpdate:modelValue": [
22160
+ e[35] || (e[35] = (v) => p.value.companyStamp = v),
22161
+ e[36] || (e[36] = (v) => S("companyStamp", v))
22162
+ ],
22163
+ "restaurant-id": (hn = t(z)) == null ? void 0 : hn._id
22164
+ }, null, 8, ["label", "modelValue", "restaurant-id"])
22166
22165
  ]),
22167
- b("div", le, [
22168
- b("div", Ae, [
22166
+ b("div", Pe, [
22167
+ b("div", le, [
22169
22168
  f(m, {
22170
22169
  modelValue: A.value.witnessName,
22171
22170
  "onUpdate:modelValue": e[37] || (e[37] = (v) => A.value.witnessName = v),
@@ -22177,7 +22176,7 @@ notice.
22177
22176
  )
22178
22177
  }, null, 8, ["modelValue", "label", "placeholder", "rules"])
22179
22178
  ]),
22180
- b("div", se, [
22179
+ b("div", Ae, [
22181
22180
  f(m, {
22182
22181
  modelValue: A.value.witnessRole,
22183
22182
  "onUpdate:modelValue": e[38] || (e[38] = (v) => A.value.witnessRole = v),
@@ -22189,11 +22188,11 @@ notice.
22189
22188
  )
22190
22189
  }, null, 8, ["modelValue", "label", "placeholder", "rules"])
22191
22190
  ]),
22192
- b("div", be, [
22191
+ b("div", se, [
22193
22192
  f(mn, {
22194
22193
  modelValue: p.value.witnessSignature,
22195
22194
  "onUpdate:modelValue": e[39] || (e[39] = (v) => p.value.witnessSignature = v),
22196
- class: "w-[256px] h-[128px]",
22195
+ class: "w-[256px]",
22197
22196
  label: n("field.witnessSignature.label"),
22198
22197
  "label-mark": "required",
22199
22198
  "restaurant-id": (Dn = t(z)) == null ? void 0 : Dn._id,
@@ -22222,7 +22221,7 @@ notice.
22222
22221
  ], 64);
22223
22222
  };
22224
22223
  }
22225
- }), oe = {
22224
+ }), ie = {
22226
22225
  props: ["type", "submission"],
22227
22226
  computed: {
22228
22227
  currentComponent() {
@@ -22230,7 +22229,7 @@ notice.
22230
22229
  case "softspace":
22231
22230
  return gt;
22232
22231
  case "ntt":
22233
- return ie;
22232
+ return be;
22234
22233
  default:
22235
22234
  return this.$nextTick(() => {
22236
22235
  this.$router.back();
@@ -22239,10 +22238,10 @@ notice.
22239
22238
  }
22240
22239
  }
22241
22240
  };
22242
- function ze(h, z, G, O, N, R) {
22241
+ function oe(h, z, G, O, N, R) {
22243
22242
  return o(), Z(Yn(R.currentComponent), { submission: G.submission }, null, 8, ["submission"]);
22244
22243
  }
22245
- const he = /* @__PURE__ */ En(oe, [["render", ze]]);
22244
+ const ue = /* @__PURE__ */ En(ie, [["render", oe]]);
22246
22245
  export {
22247
- he as default
22246
+ ue as default
22248
22247
  };
@@ -3,7 +3,7 @@ import { o as z } from "./index-Ci4uxsSz.js";
3
3
  import { u as Z, p as oe } from "./index-DRKoa7dT.js";
4
4
  import { useRouter as re } from "vue-router";
5
5
  import { z as u, a as d } from "./validator-DzjyJnvv.js";
6
- import { P as ie } from "./payout-account-Th15UywB.js";
6
+ import { P as ie } from "./payout-account-V9peDwuP.js";
7
7
  import { _ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-KCfloaC1.js";
8
8
  import { s as ue } from "./vue-signature-pad.esm-IXPjf4fL.js";
9
9
  import { _ as ee } from "./Status.vue_vue_type_script_setup_true_lang-DnWFKNCZ.js";
@@ -3,7 +3,7 @@ import { defineStore as rA, storeToRefs as lA } from "pinia";
3
3
  import { p as J } from "./index-OA39241x.js";
4
4
  import { p as Z, u as nA, e as cA } from "./index-DRKoa7dT.js";
5
5
  import { useI18n as L, useCoreStore as sA } from "@feedmepos/mf-common";
6
- import { c as BA, a as AA, P as k } from "./payout-account-Th15UywB.js";
6
+ import { c as BA, a as AA, P as k } from "./payout-account-V9peDwuP.js";
7
7
  import { useDialogChild as uA, useDialog as wA } from "@feedmepos/ui-library";
8
8
  import { z as X, a as q } from "./validator-DzjyJnvv.js";
9
9
  import { P as tA } from "./PDFViewer-CIPPbzWD.js";
@@ -2,7 +2,7 @@ import { defineComponent as _, resolveComponent as p, openBlock as y, createBloc
2
2
  import { u as K } from "./index-zMl6AuFw.js";
3
3
  import { p as D } from "./index-DRKoa7dT.js";
4
4
  import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
5
- import { P } from "./payout-account-Th15UywB.js";
5
+ import { P } from "./payout-account-V9peDwuP.js";
6
6
  import { p as A } from "./index-OA39241x.js";
7
7
  import "@feedmepos/ui-library";
8
8
  import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-BYTNfOkc.js";
@@ -1152,7 +1152,7 @@ const Kn = {
1152
1152
  sidebarDisplay: "Payout Accounts",
1153
1153
  section: "payment-gateway"
1154
1154
  },
1155
- component: () => import("./PayoutAccount-BeC2YgKa.js")
1155
+ component: () => import("./PayoutAccount-DB72Minq.js")
1156
1156
  },
1157
1157
  {
1158
1158
  path: "/admin/payout-accounts/:accountId",
@@ -1179,7 +1179,7 @@ const Kn = {
1179
1179
  meta: {
1180
1180
  parent: "mf-payment-admin.onboard-submission"
1181
1181
  },
1182
- component: () => import("./OnboardForm-DepiUIOr.js")
1182
+ component: () => import("./OnboardForm-Z433FFST.js")
1183
1183
  },
1184
1184
  {
1185
1185
  path: "/admin/terminal/pos",
@@ -1285,7 +1285,7 @@ const Kn = {
1285
1285
  {
1286
1286
  path: "/payout-account",
1287
1287
  name: "mf-payment-payout-account",
1288
- component: () => import("./PayoutAccount-BmA6yq1q.js"),
1288
+ component: () => import("./PayoutAccount-Bf8TpJtM.js"),
1289
1289
  meta: {
1290
1290
  sidebarDisplay: "i18n:payment.routes.payout_account"
1291
1291
  }
@@ -1303,7 +1303,7 @@ const Kn = {
1303
1303
  path: "/onboard-submission/:type/:submission?",
1304
1304
  name: "mf-payment-onboard-submission-form",
1305
1305
  props: !0,
1306
- component: () => import("./OnboardForm-C5e22OaA.js"),
1306
+ component: () => import("./OnboardForm-CXCnqEIi.js"),
1307
1307
  meta: {
1308
1308
  parent: "mf-payment-onboard-submission"
1309
1309
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, i as o, r as p } from "./app-BI2iqyvj.js";
1
+ import { a as e, i as o, r as p } from "./app-BkfY9b4E.js";
2
2
  import "@feedmepos/mf-financing";
3
3
  export {
4
4
  e as FmApp,
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.5.25-dev",
3
+ "version": "1.5.26-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,7 +1,7 @@
1
1
  import { a as st, c as it, p as E, B as at } from "./index-DRKoa7dT.js";
2
2
  import { useCoreStore as ut } from "@feedmepos/mf-common";
3
3
  import { d as H } from "./index-ey7xefKL.js";
4
- import { _ as ot } from "./app-BI2iqyvj.js";
4
+ import { _ as ot } from "./app-BkfY9b4E.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {