@achyutlabsau/vue-payment-gateway 0.8.1 → 0.8.3
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.
- package/dist/{PairInstructions.vue_vue_type_script_setup_true_lang-Ckf0Q7kS.js → PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js} +6 -2
- package/dist/{PairLinkly.vue_vue_type_script_setup_true_lang-OzYd90mq.js → PairLinkly.vue_vue_type_script_setup_true_lang-T2pFHPfq.js} +4 -2
- package/dist/{PairMX51.vue_vue_type_script_setup_true_lang-DHGuS3zp.js → PairMX51.vue_vue_type_script_setup_true_lang-BXOxZgA9.js} +1 -1
- package/dist/{PairSmartPay.vue_vue_type_script_setup_true_lang-BxMFKCdq.js → PairSmartPay.vue_vue_type_script_setup_true_lang-iDqycxJ6.js} +7 -3
- package/dist/{PairTillPayment.vue_vue_type_script_setup_true_lang-Cy392bZw.js → PairTillPayment.vue_vue_type_script_setup_true_lang-BjQQ6JVC.js} +66 -57
- package/dist/{PairTyro.vue_vue_type_script_setup_true_lang-ClmlRTyD.js → PairTyro.vue_vue_type_script_setup_true_lang-DWRqMKgQ.js} +7 -3
- package/dist/index.js +6 -6
- package/dist/linkly.js +1 -1
- package/dist/mx51.js +2 -2
- package/dist/smartpay.js +1 -1
- package/dist/till-payment.js +1 -1
- package/dist/tyro.js +1 -1
- package/dist/worldline.js +6 -2
- package/package.json +11 -11
|
@@ -54,7 +54,7 @@ const mdiRefresh = "M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 1
|
|
|
54
54
|
const _hoisted_1 = { class: "mb-8 space-y-4" };
|
|
55
55
|
const _hoisted_2 = { class: "flex items-center justify-center" };
|
|
56
56
|
const _hoisted_3 = { class: "mb-8 space-y-4" };
|
|
57
|
-
const _hoisted_4 = { class: "flex h-8 w-8
|
|
57
|
+
const _hoisted_4 = { class: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-gray-100 font-semibold dark:bg-gray-700" };
|
|
58
58
|
const _hoisted_5 = { class: "text-gray-700 dark:text-gray-200" };
|
|
59
59
|
const _hoisted_6 = { class: "mb-6 flex items-start space-x-3 rounded-lg bg-amber-50 p-4 text-base dark:bg-slate-700" };
|
|
60
60
|
const _hoisted_7 = { class: "flex justify-end" };
|
|
@@ -66,7 +66,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
emits: ["next"],
|
|
67
67
|
setup(__props) {
|
|
68
68
|
return (_ctx, _cache) => {
|
|
69
|
-
return openBlock(), createBlock(unref(QCard), {
|
|
69
|
+
return openBlock(), createBlock(unref(QCard), {
|
|
70
|
+
class: "rounded-lg p-6",
|
|
71
|
+
flat: "",
|
|
72
|
+
bordered: ""
|
|
73
|
+
}, {
|
|
70
74
|
default: withCtx(() => [
|
|
71
75
|
createElementVNode("div", _hoisted_1, [
|
|
72
76
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -4,7 +4,7 @@ import { i as isNetworkError, a as isServerError, d as delay, g as generateTrans
|
|
|
4
4
|
import axios, { isAxiosError, HttpStatusCode } from "axios";
|
|
5
5
|
import { v7 } from "uuid";
|
|
6
6
|
import { d as dialogDefaultOpts } from "./utils-GrbVNAXw.js";
|
|
7
|
-
import { e as environment, c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { e as environment, c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
|
|
9
9
|
import { useLocalStorage } from "@vueuse/core";
|
|
10
10
|
const LINKLY_CONSTANTS = {
|
|
@@ -667,7 +667,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
667
667
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
668
668
|
unref(pairConfig).isPaired ? (openBlock(), createBlock(unref(QCard), {
|
|
669
669
|
key: "paired",
|
|
670
|
-
class: "flex items-center justify-center rounded-lg p-8
|
|
670
|
+
class: "flex items-center justify-center rounded-lg p-8",
|
|
671
|
+
flat: "",
|
|
672
|
+
bordered: ""
|
|
671
673
|
}, {
|
|
672
674
|
default: withCtx(() => [
|
|
673
675
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, onMounted, watch, resolveDirective, cre
|
|
|
2
2
|
import { QCard, QForm, QSelect, QInput, QIcon, QDialog, QCardSection, Dialog } from "quasar";
|
|
3
3
|
import { Spi, TransactionOptions, SuccessState, TransactionType, SpiStatus } from "@mx51/spi-client-js";
|
|
4
4
|
import { useEventListener } from "@vueuse/core";
|
|
5
|
-
import { c as state, _ as _sfc_main$1 } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { c as state, _ as _sfc_main$1 } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
6
6
|
import { _ as _sfc_main$2 } from "./PBtn.vue_vue_type_script_setup_true_lang-BZRHAS0P.js";
|
|
7
7
|
const spiSettings = {
|
|
8
8
|
secureWebSockets: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, createBlock, createElementBlock, unref, openBlock, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, withModifiers } from "vue";
|
|
2
2
|
import { useLocalStorage } from "@vueuse/core";
|
|
3
3
|
import { Dialog, QCard, QIcon, QBtn, QInput } from "quasar";
|
|
4
|
-
import { c as state, e as environment, m as mdiCheckCircle, d as mdiRefresh, _ as _sfc_main$1, f as mdiChevronLeft, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { c as state, e as environment, m as mdiCheckCircle, d as mdiRefresh, _ as _sfc_main$1, f as mdiChevronLeft, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
5
5
|
import axios, { HttpStatusCode, isAxiosError } from "axios";
|
|
6
6
|
import { d as delay } from "./index-e4lpzJsL.js";
|
|
7
7
|
import { d as dialogDefaultOpts } from "./utils-GrbVNAXw.js";
|
|
@@ -319,7 +319,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
319
319
|
return (_ctx, _cache) => {
|
|
320
320
|
return unref(pairConfig).isPaired ? (openBlock(), createBlock(unref(QCard), {
|
|
321
321
|
key: "paired",
|
|
322
|
-
class: "flex items-center justify-center rounded-lg p-8
|
|
322
|
+
class: "flex items-center justify-center rounded-lg p-8",
|
|
323
|
+
flat: "",
|
|
324
|
+
bordered: ""
|
|
323
325
|
}, {
|
|
324
326
|
default: withCtx(() => [
|
|
325
327
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -356,7 +358,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
356
358
|
steps: SETUP_STEPS
|
|
357
359
|
})) : (openBlock(), createBlock(unref(QCard), {
|
|
358
360
|
key: 1,
|
|
359
|
-
class: "rounded-lg p-8
|
|
361
|
+
class: "rounded-lg p-8",
|
|
362
|
+
flat: "",
|
|
363
|
+
bordered: ""
|
|
360
364
|
}, {
|
|
361
365
|
default: withCtx(() => [
|
|
362
366
|
_cache[4] || (_cache[4] = createElementVNode("h3", { class: "mb-6 text-xl font-semibold" }, "Enter Terminal Details", -1)),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, useModel, ref, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, withDirectives, renderSlot, createTextVNode, createElementVNode, onMounted, createElementBlock, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, useModel, ref, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, withDirectives, renderSlot, createTextVNode, createElementVNode, onMounted, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { useLocalStorage } from "@vueuse/core";
|
|
3
3
|
import axios, { isAxiosError, HttpStatusCode } from "axios";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { Loading, Dialog, QDialog, QCard, QForm, QToolbar, QToolbarTitle, QIcon, QCardSection, QInput, QCardActions, QBtn, Notify, QSelect } from "quasar";
|
|
6
6
|
import { d as delay } from "./index-e4lpzJsL.js";
|
|
7
|
-
import { c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
|
|
9
9
|
import { validate } from "uuid";
|
|
10
10
|
var SettlementTypes = /* @__PURE__ */ ((SettlementTypes2) => {
|
|
@@ -643,7 +643,8 @@ const _hoisted_2 = { class: "mb-6" };
|
|
|
643
643
|
const _hoisted_3 = { class: "!mb-2 text-sm text-gray-500 dark:text-gray-300" };
|
|
644
644
|
const _hoisted_4 = { class: "mb-6 text-sm text-gray-500 dark:text-gray-300" };
|
|
645
645
|
const _hoisted_5 = { class: "!space-x-3" };
|
|
646
|
-
const _hoisted_6 = {
|
|
646
|
+
const _hoisted_6 = { key: 1 };
|
|
647
|
+
const _hoisted_7 = { class: "flex items-center justify-end gap-3" };
|
|
647
648
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
648
649
|
__name: "PairTillPayment",
|
|
649
650
|
setup(__props) {
|
|
@@ -707,7 +708,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
707
708
|
return openBlock(), createElementBlock("div", null, [
|
|
708
709
|
unref(pairConfig).isPaired ? (openBlock(), createBlock(unref(QCard), {
|
|
709
710
|
key: "paired",
|
|
710
|
-
class: "flex items-center justify-center rounded-lg p-8
|
|
711
|
+
class: "flex items-center justify-center rounded-lg p-8",
|
|
712
|
+
flat: "",
|
|
713
|
+
bordered: ""
|
|
711
714
|
}, {
|
|
712
715
|
default: withCtx(() => [
|
|
713
716
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -753,59 +756,65 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
753
756
|
}, null, 8, ["modelValue"])
|
|
754
757
|
]),
|
|
755
758
|
_: 1
|
|
756
|
-
})) : (openBlock(),
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
"no-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
"
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
759
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
760
|
+
showInstructions.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
761
|
+
key: 0,
|
|
762
|
+
onNext: handleNext,
|
|
763
|
+
steps: SETUP_STEPS
|
|
764
|
+
})) : createCommentVNode("", true),
|
|
765
|
+
createVNode(unref(QCard), {
|
|
766
|
+
flat: "",
|
|
767
|
+
bordered: ""
|
|
768
|
+
}, {
|
|
769
|
+
default: withCtx(() => [
|
|
770
|
+
createVNode(unref(QCardSection), null, {
|
|
771
|
+
default: withCtx(() => [
|
|
772
|
+
_cache[7] || (_cache[7] = createElementVNode("h3", { class: "mb-3 !text-xl font-semibold" }, "Pairing configuration", -1)),
|
|
773
|
+
createVNode(unref(QForm), { onSubmit }, {
|
|
774
|
+
default: withCtx(() => [
|
|
775
|
+
createVNode(unref(QSelect), {
|
|
776
|
+
label: "Select Terminal",
|
|
777
|
+
dense: "",
|
|
778
|
+
outlined: "",
|
|
779
|
+
modelValue: selectedTerminal.value,
|
|
780
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedTerminal.value = $event),
|
|
781
|
+
"option-disable": (option) => option.status.connectivity !== "AVAILABLE",
|
|
782
|
+
"option-label": ({ name, terminalId }) => name ? `${name} (${terminalId})` : "",
|
|
783
|
+
options: terminals.value,
|
|
784
|
+
rules: [(v) => !!v || "Please select terminal."],
|
|
785
|
+
"option-value": "terminalId",
|
|
786
|
+
"outer-label": "Select Terminal",
|
|
787
|
+
"emit-value": "",
|
|
788
|
+
"map-options": "",
|
|
789
|
+
"no-error-icon": ""
|
|
790
|
+
}, null, 8, ["modelValue", "option-disable", "option-label", "options", "rules"]),
|
|
791
|
+
createElementVNode("div", _hoisted_7, [
|
|
792
|
+
createVNode(unref(QBtn), {
|
|
793
|
+
flat: "",
|
|
794
|
+
"no-caps": "",
|
|
795
|
+
label: "Back",
|
|
796
|
+
"icon-left": unref(mdiChevronLeft),
|
|
797
|
+
onClick: _cache[3] || (_cache[3] = ($event) => showInstructions.value = true)
|
|
798
|
+
}, null, 8, ["icon-left"]),
|
|
799
|
+
createVNode(unref(QBtn), {
|
|
800
|
+
type: "submit",
|
|
801
|
+
color: "primary",
|
|
802
|
+
unelevated: "",
|
|
803
|
+
"no-caps": "",
|
|
804
|
+
"icon-right": unref(mdiLink),
|
|
805
|
+
label: "Pair Device"
|
|
806
|
+
}, null, 8, ["icon-right"])
|
|
807
|
+
])
|
|
808
|
+
]),
|
|
809
|
+
_: 1
|
|
810
|
+
})
|
|
811
|
+
]),
|
|
812
|
+
_: 1
|
|
813
|
+
})
|
|
814
|
+
]),
|
|
815
|
+
_: 1
|
|
816
|
+
})
|
|
817
|
+
]))
|
|
809
818
|
]);
|
|
810
819
|
};
|
|
811
820
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useModel, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, withDirectives, createTextVNode, ref, createElementBlock, toDisplayString, withModifiers } from "vue";
|
|
2
2
|
import { useLocalStorage } from "@vueuse/core";
|
|
3
3
|
import { QSpinnerHourglass, Dialog, QDialog, QCard, QToolbar, QToolbarTitle, QIcon, QBtn, QInput } from "quasar";
|
|
4
|
-
import { h as checkPluginInitialized, e as environment, c as state, m as mdiCheckCircle, d as mdiRefresh, _ as _sfc_main$2, j as mdiBarcode, f as mdiChevronLeft, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { h as checkPluginInitialized, e as environment, c as state, m as mdiCheckCircle, d as mdiRefresh, _ as _sfc_main$2, j as mdiBarcode, f as mdiChevronLeft, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
5
5
|
const dialogDefaultOpts = {
|
|
6
6
|
message: "Pairing in progress...",
|
|
7
7
|
class: "text-lg",
|
|
@@ -220,7 +220,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
220
|
return (_ctx, _cache) => {
|
|
221
221
|
return unref(pairConfig).isPaired ? (openBlock(), createBlock(unref(QCard), {
|
|
222
222
|
key: "paired",
|
|
223
|
-
class: "flex items-center justify-center rounded-lg p-8
|
|
223
|
+
class: "flex items-center justify-center rounded-lg p-8",
|
|
224
|
+
flat: "",
|
|
225
|
+
bordered: ""
|
|
224
226
|
}, {
|
|
225
227
|
default: withCtx(() => [
|
|
226
228
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -269,7 +271,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
271
|
steps: SETUP_STEPS
|
|
270
272
|
})) : (openBlock(), createBlock(unref(QCard), {
|
|
271
273
|
key: 1,
|
|
272
|
-
class: "rounded-lg p-8
|
|
274
|
+
class: "rounded-lg p-8",
|
|
275
|
+
flat: "",
|
|
276
|
+
bordered: ""
|
|
273
277
|
}, {
|
|
274
278
|
default: withCtx(() => [
|
|
275
279
|
_cache[6] || (_cache[6] = createElementVNode("h3", { class: "mb-6 text-xl font-semibold" }, "Enter Terminal Details", -1)),
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { i as isDense, a as isPluginInitialized, s as setState, b as setEnvironment, P as PaymentGateways } from "./PairInstructions.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { i as isDense, a as isPluginInitialized, s as setState, b as setEnvironment, P as PaymentGateways } from "./PairInstructions.vue_vue_type_script_setup_true_lang-D1m0sTpb.js";
|
|
2
2
|
import "quasar";
|
|
3
|
-
import { T as TYRO_CONSTANTS, _ as _sfc_main$1 } from "./PairTyro.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { T as TYRO_CONSTANTS, _ as _sfc_main$1 } from "./PairTyro.vue_vue_type_script_setup_true_lang-DWRqMKgQ.js";
|
|
4
4
|
import { defineComponent, createElementBlock, openBlock, createBlock, createCommentVNode, unref } from "vue";
|
|
5
5
|
import { useEventListener, useScriptTag } from "@vueuse/core";
|
|
6
|
-
import { s as spi, _ as _sfc_main$2 } from "./PairMX51.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { s as spi, _ as _sfc_main$2 } from "./PairMX51.vue_vue_type_script_setup_true_lang-BXOxZgA9.js";
|
|
7
7
|
import "@mx51/spi-client-js";
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "./emitter-B70DsNvX.js";
|
|
10
10
|
import { TimApiEvents, timApi, PairTimapi as _sfc_main$4 } from "./worldline.js";
|
|
11
11
|
import "axios";
|
|
12
12
|
import "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
|
|
13
|
-
import { _ as _sfc_main$3 } from "./PairLinkly.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as _sfc_main$6 } from "./PairSmartPay.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as _sfc_main$3 } from "./PairLinkly.vue_vue_type_script_setup_true_lang-T2pFHPfq.js";
|
|
14
|
+
import { _ as _sfc_main$6 } from "./PairSmartPay.vue_vue_type_script_setup_true_lang-iDqycxJ6.js";
|
|
15
15
|
import "dayjs";
|
|
16
|
-
import { _ as _sfc_main$5 } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as _sfc_main$5 } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-BjQQ6JVC.js";
|
|
17
17
|
import { g } from "./index-e4lpzJsL.js";
|
|
18
18
|
var ReceiptTypes = /* @__PURE__ */ ((ReceiptTypes2) => {
|
|
19
19
|
ReceiptTypes2["MERCHANT_COPY"] = "MERCHANT_COPY";
|
package/dist/linkly.js
CHANGED
package/dist/mx51.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as spi, r as receiptOptions } from "./PairMX51.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _, l } from "./PairMX51.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { s as spi, r as receiptOptions } from "./PairMX51.vue_vue_type_script_setup_true_lang-BXOxZgA9.js";
|
|
2
|
+
import { _, l } from "./PairMX51.vue_vue_type_script_setup_true_lang-BXOxZgA9.js";
|
|
3
3
|
import { defineComponent, ref, onMounted, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, withDirectives } from "vue";
|
|
4
4
|
import { SuccessState, TransactionType, SpiStatus } from "@mx51/spi-client-js";
|
|
5
5
|
import { v4 } from "uuid";
|
package/dist/smartpay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D, P, _, R, S, T, b, a, c, u } from "./PairSmartPay.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { D, P, _, R, S, T, b, a, c, u } from "./PairSmartPay.vue_vue_type_script_setup_true_lang-iDqycxJ6.js";
|
|
2
2
|
export {
|
|
3
3
|
D as DEV_SMARTPAY_API_URL,
|
|
4
4
|
P as PROD_SMARTPAY_API_URL,
|
package/dist/till-payment.js
CHANGED
package/dist/tyro.js
CHANGED
package/dist/worldline.js
CHANGED
|
@@ -433,7 +433,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
433
433
|
emitter.on("connectCompleted", (event) => {
|
|
434
434
|
if (event.exception) {
|
|
435
435
|
pairInfo.value.state = "FINISHED";
|
|
436
|
-
pairInfo.value.message =
|
|
436
|
+
pairInfo.value.message = `Pairing failed: ${event.exception.localizedMessage}`;
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
439
439
|
pairInfo.value.state = "FINISHED";
|
|
@@ -449,7 +449,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
449
449
|
}, 5e3);
|
|
450
450
|
return (_ctx, _cache) => {
|
|
451
451
|
const _directive_close_popup = resolveDirective("close-popup");
|
|
452
|
-
return openBlock(), createBlock(unref(QCard), {
|
|
452
|
+
return openBlock(), createBlock(unref(QCard), {
|
|
453
|
+
class: "my-6 rounded-md p-6",
|
|
454
|
+
flat: "",
|
|
455
|
+
bordered: ""
|
|
456
|
+
}, {
|
|
453
457
|
default: withCtx(() => [
|
|
454
458
|
createVNode(unref(QForm), {
|
|
455
459
|
onSubmit: onPairTerminal,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@achyutlabsau/vue-payment-gateway",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@mx51/spi-client-js": "^2.9.13",
|
|
59
59
|
"@vueuse/core": "^14.0",
|
|
60
60
|
"@vueuse/rxjs": "^14.0.0",
|
|
61
|
-
"axios": "1.13.
|
|
61
|
+
"axios": "1.13.2",
|
|
62
62
|
"dayjs": "1.11.19",
|
|
63
63
|
"dexie": "^4.2.1",
|
|
64
64
|
"uuid": "^13.0.0"
|
|
@@ -69,25 +69,25 @@
|
|
|
69
69
|
"dayjs": "^1",
|
|
70
70
|
"quasar": "^2",
|
|
71
71
|
"uuid": ">=11",
|
|
72
|
-
"vue": ">=3.
|
|
72
|
+
"vue": ">=3.5.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@microsoft/api-extractor": "^7.
|
|
75
|
+
"@microsoft/api-extractor": "^7.54.0",
|
|
76
76
|
"@quasar/extras": "^1.17.0",
|
|
77
|
-
"@tailwindcss/vite": "^4.1.
|
|
77
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
78
78
|
"@types/node": "*",
|
|
79
79
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
80
|
-
"@vue/language-core": "^3.1.
|
|
81
|
-
"oxlint": "^1.
|
|
80
|
+
"@vue/language-core": "^3.1.3",
|
|
81
|
+
"oxlint": "^1.26.0",
|
|
82
82
|
"prettier": "^3.6.2",
|
|
83
83
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
84
84
|
"quasar": "^2.18.5",
|
|
85
|
-
"tailwindcss": "^4.1.
|
|
85
|
+
"tailwindcss": "^4.1.17",
|
|
86
86
|
"typescript": "5.9.3",
|
|
87
87
|
"unplugin-dts": "^1.0.0-beta.6",
|
|
88
|
-
"vite": "^7.
|
|
88
|
+
"vite": "^7.2.2",
|
|
89
89
|
"vitepress": "^2.0.0-alpha.8",
|
|
90
|
-
"vue": "^3.5.
|
|
91
|
-
"vue-tsc": "^3.1.
|
|
90
|
+
"vue": "^3.5.24",
|
|
91
|
+
"vue-tsc": "^3.1.3"
|
|
92
92
|
}
|
|
93
93
|
}
|