@feedmepos/mf-payment 1.6.30-dev → 1.7.0

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-DnYxawNz.js → Actions.vue_vue_type_script_setup_true_lang-eppVogL4.js} +1 -1
  2. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-C09Zc2yY.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-Ee0Kcdli.js} +2 -2
  3. package/dist/{Chargeback-4dVzZbFZ.js → Chargeback-jT9X2WFA.js} +5 -5
  4. package/dist/{PDFViewer-CIPPbzWD.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CdfIF2L-.js} +5069 -4948
  5. package/dist/{OnboardForm-Dk9ZECLJ.js → OnboardForm-BGBrKIbM.js} +7 -8
  6. package/dist/{OnboardForm-CjEjpYxz.js → OnboardForm-ijX8FIZm.js} +5 -5
  7. package/dist/{OnboardSubmission-CYtyPlF1.js → OnboardSubmission-B3MuOwB7.js} +5 -5
  8. package/dist/{OnboardSubmission-DdoEUtf-.js → OnboardSubmission-B3lcdEGp.js} +2 -2
  9. package/dist/{PayoutAccount-CdNFCi5z.js → PayoutAccount-CRJgMDkh.js} +7 -8
  10. package/dist/{PayoutAccount-BBoQdjnL.js → PayoutAccount-QPYj4pDq.js} +5 -5
  11. package/dist/{PayoutAccountSetting-67hgm--k.js → PayoutAccountSetting-Cz4Q8Nw3.js} +133 -134
  12. package/dist/{Restaurant-BJWKGoep.js → Restaurant-BqSRu2oB.js} +4 -4
  13. package/dist/{RestaurantSetting-D_Q7cyky.js → RestaurantSetting-DQG-5w2m.js} +3 -3
  14. package/dist/{Settlement-D4Vyx5cd.js → Settlement-BNEDs442.js} +4 -4
  15. package/dist/{Settlement-IG78kruB.js → Settlement-BdbmT2V9.js} +3 -3
  16. package/dist/{SettlementTransactions-DKa4Jrl4.js → SettlementTransactions-DUkhc-Q6.js} +4 -4
  17. package/dist/{SettlementTransactions-ewxoUcu0.js → SettlementTransactions-DkUCtlRh.js} +4 -4
  18. package/dist/{Status.vue_vue_type_script_setup_true_lang-DwOlx2Fk.js → Status.vue_vue_type_script_setup_true_lang-Bo7M8cD8.js} +1 -1
  19. package/dist/{Terminal-CNGQgmjZ.js → Terminal-DjSvvdd5.js} +5 -5
  20. package/dist/{TerminalSetting-CxZY9PJo.js → TerminalSetting-CjSfDoXo.js} +4 -4
  21. package/dist/{Transaction-BbWjLqro.js → Transaction-BAmiWdbA.js} +9 -9
  22. package/dist/{Transaction-B2tcvJEe.js → Transaction-BI9Y1L8-.js} +10 -10
  23. package/dist/{TransactionOld-DG_4Vovo.js → TransactionOld-D2uBVn6-.js} +7 -7
  24. package/dist/{app-gnD_lgDE.js → app-Bv9EfJm8.js} +442 -451
  25. package/dist/app.js +1 -1
  26. package/dist/{assets-CmfoPIpc.js → assets-Bt1SQIBr.js} +1 -1
  27. package/dist/components/DocumentViewer.vue.d.ts +1 -0
  28. package/dist/{grafana-VxUrxdE4.js → grafana-C1LGsF7g.js} +1 -1
  29. package/dist/{index-SxK1831p.js → index-9-IsOLYo.js} +1 -1
  30. package/dist/{index-s3O4Ulnc.js → index-BCpKOPCB.js} +1 -1
  31. package/dist/{index-MWfVxwUN.js → index-BQ7YWpB_.js} +1 -1
  32. package/dist/{index-CN3QMYWB.js → index-C-3b4IKH.js} +1 -1
  33. package/dist/{index-DVfiTUAz.js → index-CdgUOxke.js} +1 -1
  34. package/dist/{index-23n8-7UD.js → index-D9LWgOgk.js} +1 -1
  35. package/dist/{index-DYd8CSWb.js → index-DRTaSAHc.js} +1 -1
  36. package/dist/{index-Bhk7RTSe.js → index-gTLQWhrT.js} +1 -1
  37. package/dist/{index-CNmzvdir.js → index-r34z-yqf.js} +2 -2
  38. package/dist/{index.vue_vue_type_script_setup_true_lang-0P7yv8du.js → index.vue_vue_type_script_setup_true_lang-D1UlVu4n.js} +1 -1
  39. package/dist/package.json +1 -1
  40. package/dist/{payout-account-DlHoX0DD.js → payout-account-CNsrpNV-.js} +3 -3
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/package.json +1 -1
  43. package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-Dxrni9eN.js +0 -93
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.6.30-dev",
3
+ "version": "1.7.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,93 +0,0 @@
1
- import { defineComponent as A, computed as d, ref as c, resolveComponent as p, openBlock as C, createElementBlock as l, renderSlot as u, createElementVNode as o, createVNode as y, createCommentVNode as L, createBlock as x } from "vue";
2
- import { d as m } from "./index-Bhk7RTSe.js";
3
- const M = "data:image/svg+xml,%3csvg%20width='858'%20height='376'%20viewBox='0%200%20858%20376'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1132_89720)'%3e%3cpath%20d='M440%20505.86C651.525%20505.86%20823%20437.839%20823%20353.93C823%20270.021%20651.525%20202%20440%20202C228.475%20202%2057%20270.021%2057%20353.93C57%20437.839%20228.475%20505.86%20440%20505.86Z'%20fill='url(%23paint0_linear_1132_89720)'%20fill-opacity='0.5'/%3e%3cg%20clip-path='url(%23clip1_1132_89720)'%3e%3cpath%20d='M331.443%20106.351C343.852%2058.097%20379.776%2037.6206%20397.221%2030.2477C402.417%2028.0519%20407.88%2026.5702%20413.469%2025.749L424.914%2024.0709C430.503%2023.2497%20436.163%2023.1069%20441.769%2023.7138C460.588%2025.749%20500.887%2035.0321%20526.652%2077.6808C561.416%20135.2%20586.627%20250.954%20457.589%20272.322V272.376C456.91%20272.483%20456.25%20272.555%20455.589%20272.644C454.928%20272.751%20454.268%20272.858%20453.589%20272.965V272.912C323.854%20289.55%20314.695%20171.458%20331.443%20106.351Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M429.807%20275.839C396.221%20275.839%20370.046%20265.414%20351.762%20244.705C319.016%20207.644%20319.641%20146.84%20330.14%20106.03C342.406%2058.3112%20377.099%2037.2993%20396.686%2029.0337C401.899%2026.8379%20407.47%2025.2848%20413.273%2024.4457L424.718%2022.7676C430.521%2021.9107%20436.306%2021.7858%20441.912%2022.3928C463.053%2024.6778%20502.316%2034.8178%20527.795%2076.9845C549.596%20113.046%20567.701%20171.119%20547.007%20216.035C532.973%20246.508%20503.387%20265.824%20459.089%20273.429V273.465L457.786%20273.715C457.375%20273.768%20456.982%20273.822%20456.589%20273.876L454.982%20274.108C454.59%20274.179%20454.197%20274.233%20453.786%20274.304L452.447%20274.5L452.429%20274.411C444.573%20275.357%20437.02%20275.839%20429.807%20275.839ZM332.747%20106.69C322.408%20146.876%20321.712%20206.662%20353.762%20242.956C375.563%20267.645%20409.095%20277.285%20453.429%20271.591L454.75%20271.43V271.448L456.268%20271.233C456.375%20271.216%20456.5%20271.198%20456.607%20271.198L457.375%20271.037C501.477%20263.736%20530.813%20244.866%20544.597%20214.946C564.845%20170.976%20546.972%20113.921%20525.528%2078.3949C500.638%2037.1743%20462.285%2027.2842%20441.645%2025.0349C436.252%2024.4457%20430.699%2024.5707%20425.129%2025.3919L413.684%2027.07C408.113%2027.8912%20402.756%2029.3729%20397.757%2031.4795C378.598%2039.5665%20344.727%2060.0964%20332.747%20106.69Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M360.457%20129.166L360.493%20111.814C362.475%2083.3041%20397.685%2072.0216%20409.041%2068.3083C417.504%2065.5413%20428.467%2063.6489%20432.359%2063.042V63.0241C432.359%2063.0241%20432.609%2062.9884%20433.074%2062.917C433.538%2062.8456%20433.788%2062.8099%20433.788%2062.8099V62.8277C437.68%2062.31%20448.732%2060.9533%20457.642%2061.1675C469.569%2061.471%20506.547%2062.1315%20516.653%2088.874L521.67%20105.476C527.045%20124.114%20518.974%20141.324%20501.566%20143.876L390.757%20160.175C373.348%20162.728%20360.671%20148.571%20360.457%20129.166Z'%20fill='white'/%3e%3cpath%20d='M490.656%20119.473C482.675%20120.651%20473.997%20114.76%20473.158%20106.458C472.319%2098.1393%20477.622%2090.213%20486.175%2088.9633C494.156%2087.7851%20502.833%2093.6763%20503.673%20101.978C504.512%20110.297%20499.209%20118.223%20490.656%20119.473Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M488.585%20120.972C484.836%20120.972%20481.068%20119.651%20477.944%20117.223C474.426%20114.474%20472.248%20110.707%20471.837%20106.601C470.891%2097.2824%20477.105%2088.9455%20485.996%2087.6423C490.442%2086.9818%20495.156%2088.285%20498.923%2091.2306C502.441%2093.9798%20504.619%2097.7466%20505.03%20101.853C505.976%20111.171%20499.763%20119.508%20490.871%20120.812C490.103%20120.919%20489.335%20120.972%20488.585%20120.972ZM488.21%2090.1594C487.586%2090.1594%20486.978%2090.1952%20486.371%2090.2844C478.908%2091.3734%20473.694%2098.425%20474.498%20106.316C474.837%20109.69%20476.64%20112.796%20479.586%20115.099C482.729%20117.545%20486.8%20118.687%20490.478%20118.152C497.941%20117.063%20503.155%20110.011%20502.352%20102.12C502.012%2098.7463%20500.209%2095.6222%20497.263%2093.3371C494.62%2091.2841%20491.353%2090.1594%20488.21%2090.1594Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M411.309%20131.13C403.327%20132.308%20394.65%20126.417%20393.811%20118.116C392.971%20109.797%20398.274%20101.87%20406.827%20100.621C414.808%2099.4426%20423.486%20105.334%20424.325%20113.635C425.182%20121.954%20419.861%20129.88%20411.309%20131.13Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M409.238%20132.63C405.488%20132.63%20401.721%20131.309%20398.596%20128.881C395.079%20126.131%20392.9%20122.365%20392.49%20118.259C391.543%20108.94%20397.757%20100.603%20406.649%2099.2997C411.095%2098.6392%20415.808%2099.9603%20419.576%20102.888C423.093%20105.637%20425.272%20109.404%20425.682%20113.51C426.629%20122.829%20420.415%20131.166%20411.523%20132.469C410.755%20132.576%20409.988%20132.63%20409.238%20132.63ZM408.863%20101.817C408.238%20101.817%20407.631%20101.853%20407.024%20101.942C399.56%20103.031%20394.347%20110.082%20395.15%20117.973C395.489%20121.347%20397.293%20124.453%20400.239%20126.756C403.381%20129.202%20407.452%20130.345%20411.13%20129.809C418.594%20128.72%20423.807%20121.668%20423.004%20113.778C422.665%20110.404%20420.861%20107.28%20417.915%20104.995C415.291%20102.942%20412.005%20101.817%20408.863%20101.817Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M567.791%20147.286C576.968%20161.747%20586.699%20171.994%20597.698%20165.031C608.679%20158.069%20610.161%20140.699%20600.983%20126.239C591.806%20111.778%20575.468%20105.709%20564.47%20112.671C553.471%20119.633%20558.613%20132.826%20567.791%20147.286Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M317.962%20176.582C318.141%20176.546%20318.319%20176.546%20318.498%20176.51C318.569%20177.242%20318.623%20177.992%20318.712%20178.724C320.962%20200.039%20326.747%20219.07%20335.674%20234.905C334.121%20236.101%20332.193%20236.975%20329.836%20237.44C317.069%20239.921%20304.053%20228.317%20300.786%20211.518C297.518%20194.719%20305.178%20179.081%20317.962%20176.582Z'%20fill='%23D6D6D6'/%3e%3cpath%20d='M547.167%20216.088C549.917%20210.143%20552.006%20203.734%20553.506%20196.969C550.417%20185.579%20546.542%20174.671%20541.686%20165.852C539.775%20162.371%20535.883%20160.479%20531.955%20161.032L526.045%20161.871C519.849%20162.746%20516.153%20169.226%20518.546%20175.028C520.01%20178.599%20521.224%20180.241%20522.17%20183.454C523.831%20189.096%20520.081%20194.88%20514.243%20195.665L413.415%20209.179C408.059%20209.893%20403.095%20206.073%20402.559%20200.682C402.059%20195.737%20401.309%20192.88%20400.595%20188.953C399.685%20183.883%20394.917%20180.455%20389.829%20181.187L375.116%20183.276C369.902%20184.008%20366.242%20188.828%20366.974%20194.041C368.849%20207.751%20371.241%20234.101%20366.188%20256.952C366.117%20257.255%20366.099%20257.559%20366.063%20257.862C382.865%20269.93%20404.184%20276.018%20429.824%20276.018C437.002%20276.018%20444.501%20275.536%20452.339%20274.59L452.357%20274.679L453.857%20274.465C454.268%20274.411%20454.66%20274.34%20455.071%20274.268L456.678%20274.036C457.071%20273.983%20457.464%20273.929%20457.856%20273.875L459.32%20273.608V273.572C503.565%20265.913%20533.133%20246.58%20547.167%20216.088Z'%20fill='white'/%3e%3cpath%20d='M476.069%20249.668C484.727%20249.668%20491.746%20242.651%20491.746%20233.994C491.746%20225.337%20484.727%20218.32%20476.069%20218.32C467.411%20218.32%20460.393%20225.337%20460.393%20233.994C460.393%20242.651%20467.411%20249.668%20476.069%20249.668Z'%20fill='white'/%3e%3cpath%20d='M484.854%20240.617C485.032%20242.135%20485.318%20244.562%20485.55%20246.473C489.978%20243.116%20492.478%20237.511%20491.603%20231.62C490.443%20223.836%20483.765%20218.248%20476.141%20218.213C476.158%20218.552%20476.176%20218.855%20476.176%20218.909C476.212%20219.712%20476.248%20220.498%20476.266%20221.301C476.337%20223.497%20477.176%20224.657%20479.23%20225.461C479.783%20225.675%20480.337%20225.961%20480.836%20226.3C482.604%20227.496%20483.425%20229.263%20483.729%20231.298C483.997%20233.083%20484.175%20234.887%20484.39%20236.69C484.568%20238.011%20484.693%20239.314%20484.854%20240.617Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M460.499%20236.261C461.356%20242.045%20465.266%20246.615%20470.355%20248.597C470.319%20248.365%20470.302%20248.204%20470.284%20248.186C470.07%20246.812%20469.855%20245.437%20469.623%20244.063C469.016%20240.331%20468.373%20236.6%20467.802%20232.851C467.481%20230.816%20468.07%20229.031%20469.552%20227.567C470.105%20227.014%20470.694%20226.496%20471.248%20225.925C472.194%20224.961%20472.48%20223.854%20472.105%20222.497C471.623%20220.569%20471.784%20221.212%20471.623%20220.569C471.551%20220.284%20471.355%20219.569%20471.212%20218.962C464.017%20221.301%20459.356%20228.549%20460.499%20236.261Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M480.925%20235.797C480.89%20235.511%20480.818%20235.208%20480.729%20234.922C480.515%20234.19%20479.783%20233.762%20479.051%20233.94C478.336%20234.101%20477.872%20234.797%20477.979%20235.547C478.604%20239.725%20479.372%20244.919%20480.015%20249.168C480.979%20248.918%20481.907%20248.579%20482.782%20248.169C482.229%20244.473%20481.443%20239.225%20480.925%20235.797Z'%20fill='%23A7A9AC'/%3e%3cpath%20d='M472.855%20234.976C471.98%20235.261%20471.623%20235.833%20471.766%20236.779C472.266%20240.224%20473.069%20245.598%20473.641%20249.472C474.587%20249.615%20475.569%20249.686%20476.551%20249.65C476.373%20248.258%20476.087%20246.258%20475.944%20245.259C475.498%20242.152%20475.033%20239.046%20474.569%20235.958C474.444%20235.226%20473.587%20234.744%20472.855%20234.976Z'%20fill='%23A7A9AC'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1132_89720'%20x1='440.003'%20y1='133.148'%20x2='440.003'%20y2='371.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A5A5A5'/%3e%3cstop%20offset='0.4764'%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1132_89720'%3e%3crect%20width='858'%20height='376'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_1132_89720'%3e%3crect%20width='307'%20height='254'%20fill='white'%20transform='translate(300%2022)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Z = { key: 0 }, D = ["src"], V = { key: 1 }, k = ["src"], b = {
4
- key: 2,
5
- class: "max-w-[340px] bg-white border border-gray-200 rounded-md overflow-hidden shadow-sm flex flex-col font-sans"
6
- }, P = { class: "relative aspect-video w-full bg-gray-50 flex items-center justify-center overflow-hidden" }, B = { key: 0 }, E = {
7
- key: 0,
8
- class: "flex flex-col items-center gap-3 p-4"
9
- }, I = {
10
- key: 0,
11
- class: "text-xs text-red-500"
12
- }, N = {
13
- key: 1,
14
- class: "flex flex-col items-center gap-2 py-8"
15
- }, U = /* @__PURE__ */ A({
16
- __name: "DocumentViewer",
17
- props: {
18
- document: {},
19
- restaurantId: {},
20
- businessId: {}
21
- },
22
- setup(h) {
23
- const t = h, f = d(() => {
24
- var e;
25
- return (e = t.document) == null ? void 0 : e.startsWith("data:");
26
- }), i = c(!1), s = c(!1), n = c(!1), a = c(""), _ = d(() => !!t.document), v = async () => {
27
- if (t.document) {
28
- s.value = !0;
29
- try {
30
- let e = "";
31
- t.businessId ? e = await m.adminView(
32
- t.document,
33
- t.businessId,
34
- t.restaurantId
35
- ) : e = await m.view(t.document, t.restaurantId), a.value = e, i.value = !0;
36
- } catch {
37
- n.value = !0;
38
- } finally {
39
- s.value = !1;
40
- }
41
- }
42
- };
43
- return (e, r) => {
44
- const g = p("FmButton"), w = p("FmCircularProgress");
45
- return f.value ? (C(), l("div", Z, [
46
- u(e.$slots, "default", {
47
- src: e.$props.document ?? ""
48
- }, () => [
49
- o("img", {
50
- src: e.$props.document ?? "",
51
- alt: "Document"
52
- }, null, 8, D)
53
- ])
54
- ])) : i.value ? (C(), l("div", V, [
55
- u(e.$slots, "default", { src: a.value }, () => [
56
- o("img", {
57
- src: a.value,
58
- alt: "Document"
59
- }, null, 8, k)
60
- ])
61
- ])) : (C(), l("div", b, [
62
- o("div", P, [
63
- _.value ? (C(), l("div", B, [
64
- s.value ? (C(), x(w, {
65
- key: 1,
66
- size: "xl",
67
- color: "primary"
68
- })) : (C(), l("div", E, [
69
- y(g, {
70
- onClick: v,
71
- label: "View Document",
72
- "prepend-icon": "manage_accounts",
73
- size: "md",
74
- variant: "primary"
75
- }),
76
- n.value ? (C(), l("span", I, " Oops, something went wrong. Please try again. ")) : L("", !0)
77
- ]))
78
- ])) : (C(), l("div", N, [...r[0] || (r[0] = [
79
- o("img", {
80
- src: M,
81
- alt: "No document",
82
- class: "w-128 h-80 object-contain opacity-80"
83
- }, null, -1),
84
- o("span", { class: "text-xs text-gray-400 mt-2" }, "No document available.", -1)
85
- ])]))
86
- ])
87
- ]));
88
- };
89
- }
90
- });
91
- export {
92
- U as _
93
- };