@feedmepos/mf-payment 1.6.5-dev → 1.6.6

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 (43) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-YYDPaS_E.js → Actions.vue_vue_type_script_setup_true_lang-D4az2wyZ.js} +1 -1
  2. package/dist/{Chargeback-BUu9f1RK.js → Chargeback-DBVoS1i7.js} +5 -5
  3. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DzJh-Vaf.js → DocumentViewer.vue_vue_type_script_setup_true_lang-Be-_CCcQ.js} +1 -1
  4. package/dist/{OnboardForm-C2IBqB-n.js → OnboardForm-BMaAyObv.js} +5 -5
  5. package/dist/{OnboardForm-vsYIDpeX.js → OnboardForm-BU7aOlzx.js} +5 -5
  6. package/dist/{OnboardSubmission-B-aQpnpa.js → OnboardSubmission-CLFVR6it.js} +5 -5
  7. package/dist/{OnboardSubmission-Cd1RB0Jg.js → OnboardSubmission-DtFnP6FY.js} +2 -2
  8. package/dist/{PayoutAccount-RUxuoh4c.js → PayoutAccount-C6OmmbYN.js} +5 -5
  9. package/dist/{PayoutAccount-C0f7Xt95.js → PayoutAccount-DvtJX-p_.js} +5 -5
  10. package/dist/{PayoutAccountSetting-OwViZYiH.js → PayoutAccountSetting-DJfZtrOH.js} +96 -93
  11. package/dist/{Restaurant-WoIPOuVK.js → Restaurant-BwCkOdwS.js} +4 -4
  12. package/dist/{RestaurantSetting-CSp5KYPV.js → RestaurantSetting-BVhDLkdp.js} +3 -3
  13. package/dist/{Settlement-s7Sg5yMu.js → Settlement-C2QjrIE9.js} +3 -3
  14. package/dist/{Settlement-BzEWt-Sp.js → Settlement-Ci4gsT3q.js} +4 -4
  15. package/dist/{SettlementTransactions-BSWyhuT9.js → SettlementTransactions-Ckg3LMbO.js} +4 -4
  16. package/dist/{SettlementTransactions-TCIV9KXu.js → SettlementTransactions-ZcVe5tH6.js} +4 -4
  17. package/dist/{Status.vue_vue_type_script_setup_true_lang-CUb440nP.js → Status.vue_vue_type_script_setup_true_lang-C2ZmF0NE.js} +1 -1
  18. package/dist/{Terminal-Dewmg13M.js → Terminal-DTDXa21H.js} +5 -5
  19. package/dist/{TerminalSetting-QK1F8399.js → TerminalSetting-BMqkYpsw.js} +243 -245
  20. package/dist/{Transaction-Edd4br9p.js → Transaction-C2wFhXAg.js} +9 -9
  21. package/dist/{Transaction-DvgbScu9.js → Transaction-FQIms26e.js} +13 -13
  22. package/dist/{TransactionOld-DKrLquBs.js → TransactionOld-BasKP0K7.js} +7 -7
  23. package/dist/api/document/index.d.ts +1 -0
  24. package/dist/{app-DRhh29hN.js → app-BuPNcf-O.js} +546 -563
  25. package/dist/app.js +1 -1
  26. package/dist/{assets-CbdfLdMj.js → assets-Du8qsnf-.js} +1 -1
  27. package/dist/{grafana-DQRXJ2-g.js → grafana-1G_iTavB.js} +1 -1
  28. package/dist/{index-BZnFjrTl.js → index-B2i7UU1z.js} +2 -2
  29. package/dist/{index-Kv65DwXY.js → index-BiXh6p-b.js} +1 -1
  30. package/dist/{index-BJNPknyd.js → index-BscmizJ1.js} +1 -1
  31. package/dist/index-BwdnN4a2.js +58 -0
  32. package/dist/{index-DRSGui6T.js → index-C4v-8x6h.js} +1 -1
  33. package/dist/{index-S6NOUgPl.js → index-CNmDA8d1.js} +1 -1
  34. package/dist/{index-CpNhb1dz.js → index-CvC3YvHi.js} +1 -1
  35. package/dist/{index-DJnq80r2.js → index-D9s283fb.js} +21 -3
  36. package/dist/{index-Db6LPSD_.js → index-DuL66Vcr.js} +1 -1
  37. package/dist/{index-DTkPWXFi.js → index-zk68cBfO.js} +1 -1
  38. package/dist/{index.vue_vue_type_script_setup_true_lang-CJ5N_POT.js → index.vue_vue_type_script_setup_true_lang-CWhuHC-7.js} +1 -1
  39. package/dist/package.json +2 -2
  40. package/dist/{payout-account-DDuxDcff.js → payout-account-Lal_bAeh.js} +3 -3
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/package.json +1 -1
  43. package/dist/index-FbkInaFL.js +0 -62
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.6.5-dev",
3
+ "version": "1.6.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,62 +0,0 @@
1
- import { useCoreStore as d } from "@feedmepos/mf-common";
2
- import { h as m } from "./moment-h96o7c8I.js";
3
- import { ref as g } from "vue";
4
- import { useSnackbar as p } from "@feedmepos/ui-library";
5
- const k = () => {
6
- const { currentCountry: a } = d();
7
- return {
8
- getBillLink: (t) => {
9
- var o;
10
- return !((o = t.payId) != null && o.startsWith("bill_")) || !t.restaurantId || t.restaurantId == "" || !t.businessId || t.businessId == "" || a.value == null ? null : `/restaurant-operation/transaction/${encodeURIComponent(t.payId)}?restaurantId=${encodeURIComponent(t.restaurantId)}&businessId=${encodeURIComponent(t.businessId)}&country=${encodeURIComponent(a.value)}`;
11
- }
12
- };
13
- }, v = /^[a-f\d]{24}$/i, C = ({
14
- searchKey: a,
15
- dateRange: s,
16
- onBeforeApply: t
17
- }) => {
18
- const o = p(), r = g(null), i = () => {
19
- const e = a.value.trim();
20
- return v.test(e) ? e : null;
21
- }, u = () => {
22
- if (!r.value)
23
- return;
24
- const e = r.value;
25
- r.value = null, o.close(e);
26
- }, l = () => {
27
- r.value = null;
28
- }, c = (e) => {
29
- const n = parseInt(e.slice(0, 8), 16);
30
- return m.unix(n).format("YYYY-MM-DD");
31
- }, I = () => {
32
- const e = i();
33
- if (!e) {
34
- u();
35
- return;
36
- }
37
- t == null || t();
38
- const n = c(e);
39
- (s.value.startDate !== n || s.value.endDate !== n) && (s.value = {
40
- ...s.value,
41
- startDate: n,
42
- endDate: n
43
- }), u();
44
- };
45
- return {
46
- promptSuggestion: () => {
47
- u(), i() && (r.value = o.open({
48
- title: "Are you searching for transaction ID ?",
49
- message: "We can auto-set the date range from this ID to help narrow down the results.",
50
- action: "Apply",
51
- type: "info",
52
- onAction: I,
53
- onClose: l
54
- }, 5e3));
55
- },
56
- closeSuggestion: u
57
- };
58
- };
59
- export {
60
- C as a,
61
- k as u
62
- };