@feedmepos/mf-payment 1.6.6 → 1.6.7

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 (42) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-D4az2wyZ.js → Actions.vue_vue_type_script_setup_true_lang-Cbk_MreH.js} +1 -1
  2. package/dist/{Chargeback-DBVoS1i7.js → Chargeback-BEi2nlVn.js} +5 -5
  3. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-Be-_CCcQ.js → DocumentViewer.vue_vue_type_script_setup_true_lang-B4ENSps-.js} +1 -1
  4. package/dist/{OnboardForm-BMaAyObv.js → OnboardForm-D41P8FFN.js} +5 -5
  5. package/dist/{OnboardForm-BU7aOlzx.js → OnboardForm-DDgeZgKf.js} +5 -5
  6. package/dist/{OnboardSubmission-CLFVR6it.js → OnboardSubmission-BcAkrgzK.js} +5 -5
  7. package/dist/{OnboardSubmission-DtFnP6FY.js → OnboardSubmission-D5jduoxM.js} +2 -2
  8. package/dist/{PayoutAccount-DvtJX-p_.js → PayoutAccount-BnrWIwAj.js} +5 -5
  9. package/dist/{PayoutAccount-C6OmmbYN.js → PayoutAccount-DZEeWfTC.js} +5 -5
  10. package/dist/{PayoutAccountSetting-DJfZtrOH.js → PayoutAccountSetting-C5hE43-T.js} +6 -6
  11. package/dist/{Restaurant-BwCkOdwS.js → Restaurant-BjGWAkqS.js} +4 -4
  12. package/dist/{RestaurantSetting-BVhDLkdp.js → RestaurantSetting-BdsSOjYT.js} +3 -3
  13. package/dist/{Settlement-Ci4gsT3q.js → Settlement-BSUpbjEP.js} +4 -4
  14. package/dist/{Settlement-C2QjrIE9.js → Settlement-C0cPL0OZ.js} +3 -3
  15. package/dist/{SettlementTransactions-Ckg3LMbO.js → SettlementTransactions-OmlpfTWV.js} +4 -4
  16. package/dist/{SettlementTransactions-ZcVe5tH6.js → SettlementTransactions-v4ng6f2k.js} +4 -4
  17. package/dist/{Status.vue_vue_type_script_setup_true_lang-C2ZmF0NE.js → Status.vue_vue_type_script_setup_true_lang-cQgIrkcE.js} +1 -1
  18. package/dist/{Terminal-DTDXa21H.js → Terminal-HEW4rnOq.js} +5 -5
  19. package/dist/{TerminalSetting-BMqkYpsw.js → TerminalSetting-BHlInTZf.js} +245 -243
  20. package/dist/{Transaction-C2wFhXAg.js → Transaction-B1jwaS3J.js} +9 -9
  21. package/dist/{Transaction-FQIms26e.js → Transaction-BDybYle3.js} +13 -13
  22. package/dist/{TransactionOld-BasKP0K7.js → TransactionOld-D1fduTRQ.js} +7 -7
  23. package/dist/{app-BuPNcf-O.js → app-CWF4CCE6.js} +23 -23
  24. package/dist/app.js +1 -1
  25. package/dist/{assets-Du8qsnf-.js → assets-DAUhSFQ-.js} +1 -1
  26. package/dist/{grafana-1G_iTavB.js → grafana-BoOwwBs6.js} +1 -1
  27. package/dist/{index-DuL66Vcr.js → index-Bdq78dY4.js} +1 -1
  28. package/dist/{index-CvC3YvHi.js → index-Biy5kUL3.js} +1 -1
  29. package/dist/{index-zk68cBfO.js → index-BmS49Rkd.js} +1 -1
  30. package/dist/{index-B2i7UU1z.js → index-BuS87mM1.js} +2 -2
  31. package/dist/{index-D9s283fb.js → index-DDWbthoH.js} +1 -1
  32. package/dist/{index-CNmDA8d1.js → index-DUmu91Gp.js} +1 -1
  33. package/dist/index-FbkInaFL.js +62 -0
  34. package/dist/{index-C4v-8x6h.js → index-KTcr1EH9.js} +1 -1
  35. package/dist/{index-BiXh6p-b.js → index-WdAP5SDV.js} +1 -1
  36. package/dist/{index-BscmizJ1.js → index-uErwvsXB.js} +1 -1
  37. package/dist/{index.vue_vue_type_script_setup_true_lang-CWhuHC-7.js → index.vue_vue_type_script_setup_true_lang-B5ZUyxUG.js} +1 -1
  38. package/dist/package.json +1 -1
  39. package/dist/{payout-account-Lal_bAeh.js → payout-account-DHY-ZyA9.js} +3 -3
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/package.json +1 -1
  42. package/dist/index-BwdnN4a2.js +0 -58
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,58 +0,0 @@
1
- import { h as d } from "./moment-h96o7c8I.js";
2
- import { ref as m } from "vue";
3
- import { useSnackbar as g } from "@feedmepos/ui-library";
4
- const h = () => ({
5
- getBillLink: (t) => {
6
- var n;
7
- return !((n = t.payId) != null && n.startsWith("bill_")) || !t.restaurantId || t.restaurantId == "" || !t.businessId || t.businessId == "" ? null : `/restaurant-operation/transaction/${encodeURIComponent(t.payId)}?restaurantId=${encodeURIComponent(t.restaurantId)}&businessId=${encodeURIComponent(t.businessId)}`;
8
- }
9
- }), p = /^[a-f\d]{24}$/i, b = ({
10
- searchKey: o,
11
- dateRange: t,
12
- onBeforeApply: n
13
- }) => {
14
- const u = g(), r = m(null), i = () => {
15
- const e = o.value.trim();
16
- return p.test(e) ? e : null;
17
- }, a = () => {
18
- if (!r.value)
19
- return;
20
- const e = r.value;
21
- r.value = null, u.close(e);
22
- }, l = () => {
23
- r.value = null;
24
- }, c = (e) => {
25
- const s = parseInt(e.slice(0, 8), 16);
26
- return d.unix(s).format("YYYY-MM-DD");
27
- }, I = () => {
28
- const e = i();
29
- if (!e) {
30
- a();
31
- return;
32
- }
33
- n == null || n();
34
- const s = c(e);
35
- (t.value.startDate !== s || t.value.endDate !== s) && (t.value = {
36
- ...t.value,
37
- startDate: s,
38
- endDate: s
39
- }), a();
40
- };
41
- return {
42
- promptSuggestion: () => {
43
- a(), i() && (r.value = u.open({
44
- title: "Are you searching for transaction ID ?",
45
- message: "We can auto-set the date range from this ID to help narrow down the results.",
46
- action: "Apply",
47
- type: "info",
48
- onAction: I,
49
- onClose: l
50
- }, 5e3));
51
- },
52
- closeSuggestion: a
53
- };
54
- };
55
- export {
56
- h as a,
57
- b as u
58
- };