spree_vpago 2.4.5 → 2.4.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/javascripts/vpago/vpago_payments/user_informers/firebase.js +75 -15
- data/app/assets/javascripts/vpago/wing_mini_app/login.js +8 -27
- data/app/controllers/spree/mini_app/wings_controller.rb +3 -1
- data/app/javascripts/vpago/vpago_payments/user_informers/firebase.js +75 -20
- data/app/models/vpago/order_decorator.rb +8 -0
- data/app/services/vpago/user_informers/firebase.rb +10 -0
- data/app/views/spree/vpago_payments/forms/spree/gateway/_acleda_mini_app.html.erb +4 -1
- data/app/views/spree/vpago_shared/processing.html.erb +6 -0
- data/lib/spree_vpago/version.rb +1 -1
- data/lib/vpago/acleda_mini_app/checkout.rb +23 -0
- data/node_modules/.yarn-integrity +36 -35
- data/package.json +1 -1
- data/yarn.lock +106 -106
- metadata +2 -3
- data/app/views/spree/mini_app/wings/show.html.erb +0 -44
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0afd902aaf11c67af6f5bea8d5f01ff6f66fd46123dd09c6d9d7d862ba09723c
|
|
4
|
+
data.tar.gz: 67f3f305c56badc0965e075004adfb1eed13910cd1a2c98f46601c8bd09641ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf0e7a811c8450d4478e3e7fa15fef70b595e6c645cde94a1ade32f7085b8f4483c06a5278b2e2e08014b10f176e2a2d6ad3bd63932a47bb89824b3537a6a4bf
|
|
7
|
+
data.tar.gz: 850d058f704c65768ae036cec3e31eb81ad5509730654c2273db0688833153e02353f578d17e945fc0ba930999765bd0181cf029bc2afec0070d9fca8fddb9f1
|
data/Gemfile.lock
CHANGED
|
@@ -12278,6 +12278,9 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
12278
12278
|
function __PRIVATE_validateDocumentPath(e) {
|
|
12279
12279
|
if (!DocumentKey.isDocumentKey(e)) throw new FirestoreError(C.INVALID_ARGUMENT, `Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`);
|
|
12280
12280
|
}
|
|
12281
|
+
function __PRIVATE_validateCollectionPath(e) {
|
|
12282
|
+
if (DocumentKey.isDocumentKey(e)) throw new FirestoreError(C.INVALID_ARGUMENT, `Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`);
|
|
12283
|
+
}
|
|
12281
12284
|
function __PRIVATE_valueDescription(e) {
|
|
12282
12285
|
if (void 0 === e) return "undefined";
|
|
12283
12286
|
if (null === e) return "null";
|
|
@@ -12512,6 +12515,27 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
12512
12515
|
return new _CollectionReference(this.firestore, e, this._path);
|
|
12513
12516
|
}
|
|
12514
12517
|
};
|
|
12518
|
+
function collection(e, t, ...n) {
|
|
12519
|
+
if (e = getModularInstance(e), __PRIVATE_validateNonEmptyArgument("collection", "path", t), e instanceof Firestore$1) {
|
|
12520
|
+
const r = ResourcePath.fromString(t, ...n);
|
|
12521
|
+
return __PRIVATE_validateCollectionPath(r), new CollectionReference(
|
|
12522
|
+
e,
|
|
12523
|
+
/* converter= */
|
|
12524
|
+
null,
|
|
12525
|
+
r
|
|
12526
|
+
);
|
|
12527
|
+
}
|
|
12528
|
+
{
|
|
12529
|
+
if (!(e instanceof DocumentReference || e instanceof CollectionReference)) throw new FirestoreError(C.INVALID_ARGUMENT, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
|
|
12530
|
+
const r = e._path.child(ResourcePath.fromString(t, ...n));
|
|
12531
|
+
return __PRIVATE_validateCollectionPath(r), new CollectionReference(
|
|
12532
|
+
e.firestore,
|
|
12533
|
+
/* converter= */
|
|
12534
|
+
null,
|
|
12535
|
+
r
|
|
12536
|
+
);
|
|
12537
|
+
}
|
|
12538
|
+
}
|
|
12515
12539
|
function doc(e, t, ...n) {
|
|
12516
12540
|
if (e = getModularInstance(e), // We allow omission of 'pathString' but explicitly prohibit passing in both
|
|
12517
12541
|
// 'undefined' and 'null'.
|
|
@@ -13694,6 +13718,8 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
13694
13718
|
"payment_capture_retrying",
|
|
13695
13719
|
"payment_capture_unconfirmed"
|
|
13696
13720
|
];
|
|
13721
|
+
var STEP_FINISHED_STATUSES = ["done", "failed"];
|
|
13722
|
+
var COMPLETION_STEPS_TIMEOUT_MS = 2e4;
|
|
13697
13723
|
async function listenToProcessingState({
|
|
13698
13724
|
firebaseConfigs,
|
|
13699
13725
|
documentReferencePath,
|
|
@@ -13704,6 +13730,7 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
13704
13730
|
onPaymentIsCapturing,
|
|
13705
13731
|
onPaymentCaptureRetrying,
|
|
13706
13732
|
onPaymentCaptureUnconfirmed,
|
|
13733
|
+
onCompletionStepsPending,
|
|
13707
13734
|
onOrderProcessFailed,
|
|
13708
13735
|
onPaymentProcessFailed,
|
|
13709
13736
|
onCompleted
|
|
@@ -13713,32 +13740,62 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
13713
13740
|
const documentRef = doc(db, documentReferencePath);
|
|
13714
13741
|
await setDoc(documentRef, { listening: true }, { merge: true });
|
|
13715
13742
|
const queueProcessor = new QueueProcessor();
|
|
13743
|
+
let orderData = null;
|
|
13744
|
+
let steps = {};
|
|
13745
|
+
let stepsTimer = null;
|
|
13746
|
+
let completed = false;
|
|
13747
|
+
const complete = () => {
|
|
13748
|
+
if (completed) return;
|
|
13749
|
+
completed = true;
|
|
13750
|
+
if (window.parent !== window) {
|
|
13751
|
+
window.parent.postMessage("order_is_completed", "*");
|
|
13752
|
+
}
|
|
13753
|
+
queueProcessor.queueStateChange({
|
|
13754
|
+
minDelayInMs: 1500,
|
|
13755
|
+
callback: async () => {
|
|
13756
|
+
await onCompleted(
|
|
13757
|
+
orderData["order_state"],
|
|
13758
|
+
orderData["payment_state"],
|
|
13759
|
+
orderData["reason_code"],
|
|
13760
|
+
orderData["reason_message"]
|
|
13761
|
+
);
|
|
13762
|
+
}
|
|
13763
|
+
});
|
|
13764
|
+
};
|
|
13765
|
+
const completeWhenReady = () => {
|
|
13766
|
+
if (completed || !isOrderCompleted(orderData)) return;
|
|
13767
|
+
let pendingSteps = (orderData["expected_steps"] ?? []).filter(
|
|
13768
|
+
(key) => !STEP_FINISHED_STATUSES.includes(steps[key]?.status)
|
|
13769
|
+
);
|
|
13770
|
+
if (pendingSteps.length === 0) return complete();
|
|
13771
|
+
queueProcessor.queueStateChange({
|
|
13772
|
+
minDelayInMs: 1500,
|
|
13773
|
+
callback: async () => {
|
|
13774
|
+
await onCompletionStepsPending?.(pendingSteps);
|
|
13775
|
+
}
|
|
13776
|
+
});
|
|
13777
|
+
stepsTimer ??= setTimeout(complete, COMPLETION_STEPS_TIMEOUT_MS);
|
|
13778
|
+
};
|
|
13779
|
+
onSnapshot(collection(documentRef, "steps"), (snapshot) => {
|
|
13780
|
+
steps = Object.fromEntries(snapshot.docs.map((d) => [d.id, d.data()]));
|
|
13781
|
+
completeWhenReady();
|
|
13782
|
+
});
|
|
13716
13783
|
onSnapshot(documentRef, (doc2) => {
|
|
13717
13784
|
let documentData = doc2.data();
|
|
13785
|
+
orderData = documentData;
|
|
13718
13786
|
let messageCode = documentData["message_code"];
|
|
13719
13787
|
let orderState = documentData["order_state"];
|
|
13720
13788
|
let paymentState = documentData["payment_state"];
|
|
13721
13789
|
let processing = documentData["processing"] === true;
|
|
13722
13790
|
let reasonCode = documentData["reason_code"];
|
|
13723
13791
|
let reasonMessage = documentData["reason_message"];
|
|
13792
|
+
if (isOrderCompleted(documentData)) {
|
|
13793
|
+
completeWhenReady();
|
|
13794
|
+
return;
|
|
13795
|
+
}
|
|
13724
13796
|
if (window.parent !== window) {
|
|
13725
13797
|
window.parent.postMessage(messageCode, "*");
|
|
13726
13798
|
}
|
|
13727
|
-
let orderCompleted = orderState === "complete" && !CAPTURE_PENDING_CODES.includes(messageCode);
|
|
13728
|
-
if (orderCompleted) {
|
|
13729
|
-
queueProcessor.queueStateChange({
|
|
13730
|
-
minDelayInMs: 1500,
|
|
13731
|
-
callback: async () => {
|
|
13732
|
-
await onCompleted(
|
|
13733
|
-
orderState,
|
|
13734
|
-
paymentState,
|
|
13735
|
-
reasonCode,
|
|
13736
|
-
reasonMessage
|
|
13737
|
-
);
|
|
13738
|
-
}
|
|
13739
|
-
});
|
|
13740
|
-
return;
|
|
13741
|
-
}
|
|
13742
13799
|
switch (messageCode) {
|
|
13743
13800
|
case "payment_is_processing":
|
|
13744
13801
|
queueProcessor.queueStateChange({
|
|
@@ -13871,6 +13928,9 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
13871
13928
|
}
|
|
13872
13929
|
});
|
|
13873
13930
|
}
|
|
13931
|
+
function isOrderCompleted(data) {
|
|
13932
|
+
return data?.["order_state"] === "complete" && !CAPTURE_PENDING_CODES.includes(data["message_code"]);
|
|
13933
|
+
}
|
|
13874
13934
|
window.listenToProcessingState = listenToProcessingState;
|
|
13875
13935
|
})();
|
|
13876
13936
|
/*! Bundled license information:
|
|
@@ -7,34 +7,15 @@
|
|
|
7
7
|
(function () {
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
status.textContent = message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Any status shown via this path is a failure to sign in — stop the spinner
|
|
18
|
-
// (nothing left to wait for) and mark the text as an error rather than
|
|
19
|
-
// routine progress.
|
|
20
|
-
function showError(message) {
|
|
21
|
-
var spinner = document.getElementById('wing-mini-app-spinner');
|
|
22
|
-
if (spinner) {
|
|
23
|
-
spinner.style.display = 'none';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var status = document.getElementById('wing-mini-app-status');
|
|
27
|
-
if (status) {
|
|
28
|
-
status.classList.add('wing-mini-app-error');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
showStatus(message);
|
|
10
|
+
// The page renders nothing, so failures only go to the console for debugging.
|
|
11
|
+
function logError(message) {
|
|
12
|
+
console.error('[Wing Mini App] ' + message);
|
|
32
13
|
}
|
|
33
14
|
|
|
34
15
|
var bridge = window.WebJSBridge && window.WebJSBridge.$bridge;
|
|
35
16
|
|
|
36
17
|
if (!bridge || !bridge.isAvailable()) {
|
|
37
|
-
|
|
18
|
+
logError('This page only works inside the Wing app.');
|
|
38
19
|
return;
|
|
39
20
|
}
|
|
40
21
|
|
|
@@ -56,7 +37,7 @@
|
|
|
56
37
|
})
|
|
57
38
|
.then(function (result) {
|
|
58
39
|
if (!result.ok) {
|
|
59
|
-
|
|
40
|
+
logError(result.data.error || 'Login failed.');
|
|
60
41
|
return;
|
|
61
42
|
}
|
|
62
43
|
|
|
@@ -64,12 +45,12 @@
|
|
|
64
45
|
// Universal Links / Android App Links and handed to the native BookMe+ app
|
|
65
46
|
// instead of continuing inside Wing's WebView.
|
|
66
47
|
//
|
|
67
|
-
// replace, not href: this
|
|
48
|
+
// replace, not href: this page has nothing to come back to, and assigning href
|
|
68
49
|
// leaves it in the back stack — the customer pressing back on the home page lands
|
|
69
|
-
// on
|
|
50
|
+
// on this blank page and has to press back twice to leave the mini app.
|
|
70
51
|
window.top.location.replace(result.data.miniAppUrl);
|
|
71
52
|
})
|
|
72
53
|
.catch(function (error) {
|
|
73
|
-
|
|
54
|
+
logError('Error: ' + error.message);
|
|
74
55
|
});
|
|
75
56
|
})();
|
|
@@ -14,7 +14,9 @@ module Spree
|
|
|
14
14
|
# neither has an authenticated session for a CSRF token to protect.
|
|
15
15
|
skip_before_action :verify_authenticity_token, only: %i[create callback]
|
|
16
16
|
|
|
17
|
-
def show
|
|
17
|
+
def show
|
|
18
|
+
render html: '', layout: true
|
|
19
|
+
end
|
|
18
20
|
|
|
19
21
|
def create
|
|
20
22
|
result = ::Vpago::WingMiniApp::Session::Create.call(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { initializeApp } from "firebase/app";
|
|
2
|
-
import { getFirestore, doc, onSnapshot, setDoc } from "firebase/firestore";
|
|
2
|
+
import { getFirestore, doc, collection, onSnapshot, setDoc } from "firebase/firestore";
|
|
3
3
|
import QueueProcessor from "../../../queue_processor.js";
|
|
4
4
|
|
|
5
5
|
const CAPTURE_PENDING_CODES = [
|
|
@@ -8,6 +8,14 @@ const CAPTURE_PENDING_CODES = [
|
|
|
8
8
|
"payment_capture_unconfirmed",
|
|
9
9
|
];
|
|
10
10
|
|
|
11
|
+
// A completion step (the order document's expected_steps) is over once its job reports either; the page
|
|
12
|
+
// doesn't wait on a failed one, since payment is already final by then.
|
|
13
|
+
const STEP_FINISHED_STATUSES = ["done", "failed"];
|
|
14
|
+
|
|
15
|
+
// Completion steps (e.g. seat assignment) only refine a paid booking and keep running after the user
|
|
16
|
+
// leaves, so a slow one must not hold them here.
|
|
17
|
+
const COMPLETION_STEPS_TIMEOUT_MS = 20000;
|
|
18
|
+
|
|
11
19
|
async function listenToProcessingState({
|
|
12
20
|
firebaseConfigs,
|
|
13
21
|
documentReferencePath,
|
|
@@ -18,6 +26,7 @@ async function listenToProcessingState({
|
|
|
18
26
|
onPaymentIsCapturing,
|
|
19
27
|
onPaymentCaptureRetrying,
|
|
20
28
|
onPaymentCaptureUnconfirmed,
|
|
29
|
+
onCompletionStepsPending,
|
|
21
30
|
onOrderProcessFailed,
|
|
22
31
|
onPaymentProcessFailed,
|
|
23
32
|
onCompleted,
|
|
@@ -30,8 +39,59 @@ async function listenToProcessingState({
|
|
|
30
39
|
|
|
31
40
|
const queueProcessor = new QueueProcessor();
|
|
32
41
|
|
|
42
|
+
let orderData = null;
|
|
43
|
+
let steps = {};
|
|
44
|
+
let stepsTimer = null;
|
|
45
|
+
let completed = false;
|
|
46
|
+
|
|
47
|
+
const complete = () => {
|
|
48
|
+
if (completed) return;
|
|
49
|
+
completed = true;
|
|
50
|
+
|
|
51
|
+
if (window.parent !== window) {
|
|
52
|
+
window.parent.postMessage("order_is_completed", "*");
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
queueProcessor.queueStateChange({
|
|
56
|
+
minDelayInMs: 1500,
|
|
57
|
+
callback: async () => {
|
|
58
|
+
await onCompleted(
|
|
59
|
+
orderData["order_state"],
|
|
60
|
+
orderData["payment_state"],
|
|
61
|
+
orderData["reason_code"],
|
|
62
|
+
orderData["reason_message"],
|
|
63
|
+
);
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
// Success needs the order complete (capture landed) and every expected step finished. They arrive on
|
|
69
|
+
// separate listeners -- each step is its own document, written only by its job -- so both re-check.
|
|
70
|
+
const completeWhenReady = () => {
|
|
71
|
+
if (completed || !isOrderCompleted(orderData)) return;
|
|
72
|
+
|
|
73
|
+
let pendingSteps = (orderData["expected_steps"] ?? []).filter(
|
|
74
|
+
(key) => !STEP_FINISHED_STATUSES.includes(steps[key]?.status),
|
|
75
|
+
);
|
|
76
|
+
if (pendingSteps.length === 0) return complete();
|
|
77
|
+
|
|
78
|
+
queueProcessor.queueStateChange({
|
|
79
|
+
minDelayInMs: 1500,
|
|
80
|
+
callback: async () => {
|
|
81
|
+
await onCompletionStepsPending?.(pendingSteps);
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
stepsTimer ??= setTimeout(complete, COMPLETION_STEPS_TIMEOUT_MS);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
onSnapshot(collection(documentRef, "steps"), (snapshot) => {
|
|
88
|
+
steps = Object.fromEntries(snapshot.docs.map((d) => [d.id, d.data()]));
|
|
89
|
+
completeWhenReady();
|
|
90
|
+
});
|
|
91
|
+
|
|
33
92
|
onSnapshot(documentRef, (doc) => {
|
|
34
93
|
let documentData = doc.data();
|
|
94
|
+
orderData = documentData;
|
|
35
95
|
|
|
36
96
|
let messageCode = documentData["message_code"];
|
|
37
97
|
let orderState = documentData["order_state"];
|
|
@@ -40,27 +100,13 @@ async function listenToProcessingState({
|
|
|
40
100
|
let reasonCode = documentData["reason_code"];
|
|
41
101
|
let reasonMessage = documentData["reason_message"];
|
|
42
102
|
|
|
43
|
-
if (
|
|
44
|
-
|
|
103
|
+
if (isOrderCompleted(documentData)) {
|
|
104
|
+
completeWhenReady();
|
|
105
|
+
return;
|
|
45
106
|
}
|
|
46
107
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
let orderCompleted =
|
|
50
|
-
orderState === "complete" && !CAPTURE_PENDING_CODES.includes(messageCode);
|
|
51
|
-
if (orderCompleted) {
|
|
52
|
-
queueProcessor.queueStateChange({
|
|
53
|
-
minDelayInMs: 1500,
|
|
54
|
-
callback: async () => {
|
|
55
|
-
await onCompleted(
|
|
56
|
-
orderState,
|
|
57
|
-
paymentState,
|
|
58
|
-
reasonCode,
|
|
59
|
-
reasonMessage,
|
|
60
|
-
);
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
return;
|
|
108
|
+
if (window.parent !== window) {
|
|
109
|
+
window.parent.postMessage(messageCode, "*");
|
|
64
110
|
}
|
|
65
111
|
|
|
66
112
|
switch (messageCode) {
|
|
@@ -197,4 +243,13 @@ async function listenToProcessingState({
|
|
|
197
243
|
});
|
|
198
244
|
}
|
|
199
245
|
|
|
246
|
+
// A pre-auth order completes on the hold, before the money is captured, so it isn't a success yet: the
|
|
247
|
+
// server sends these capture codes until PaymentCapturerJob reports order_is_completed.
|
|
248
|
+
function isOrderCompleted(data) {
|
|
249
|
+
return (
|
|
250
|
+
data?.["order_state"] === "complete" &&
|
|
251
|
+
!CAPTURE_PENDING_CODES.includes(data["message_code"])
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
|
|
200
255
|
window.listenToProcessingState = listenToProcessingState;
|
|
@@ -27,6 +27,14 @@ module Vpago
|
|
|
27
27
|
@order_url_constructor ||= Vpago::OrderUrlConstructor.new(self)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
# Extension hook: work a host app still runs in the background after the order completed, which the
|
|
31
|
+
# processing page waits for before redirecting to success. Returns the keys of the steps still
|
|
32
|
+
# pending, in the order the page shows them; extensions append with `super + [...]`. Each step's
|
|
33
|
+
# job reports its own result with UserInformers::Firebase#notify_step.
|
|
34
|
+
def pending_completion_steps
|
|
35
|
+
[]
|
|
36
|
+
end
|
|
37
|
+
|
|
30
38
|
# override
|
|
31
39
|
def process_payments!
|
|
32
40
|
super
|
|
@@ -19,6 +19,13 @@ module Vpago
|
|
|
19
19
|
def order_process_failed(processing:, reason_code:, reason_message: nil) = notify(:order_process_failed, processing, reason_code, reason_message)
|
|
20
20
|
def payment_process_failed(processing:, reason_code:, reason_message: nil) = notify(:payment_process_failed, processing, reason_code, reason_message)
|
|
21
21
|
|
|
22
|
+
# Reports a completion step's result (Order#pending_completion_steps) in its own document under
|
|
23
|
+
# steps/, written only by the job that runs the step. Kept off the order's document so parallel
|
|
24
|
+
# jobs never write to the same document, and adding a step never touches the others.
|
|
25
|
+
def notify_step(key, status:)
|
|
26
|
+
firestore_reference.col('steps').doc(key.to_s).set({ status: status, updated_at: Time.current })
|
|
27
|
+
end
|
|
28
|
+
|
|
22
29
|
def notify(message_code, processing, reason_code = nil, reason_message = nil)
|
|
23
30
|
order.reload
|
|
24
31
|
|
|
@@ -29,6 +36,9 @@ module Vpago
|
|
|
29
36
|
reason_message: reason_message,
|
|
30
37
|
order_state: order.state,
|
|
31
38
|
payment_state: order.payment_state,
|
|
39
|
+
# The steps the page waits for after completion. Re-read on every write, so it can only lag
|
|
40
|
+
# behind a step that already finished — whose own document under steps/ says so.
|
|
41
|
+
expected_steps: (order.pending_completion_steps if order.complete?),
|
|
32
42
|
updated_at: Time.current
|
|
33
43
|
}.compact
|
|
34
44
|
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
Rails.logger.error("[Acleda] openSessionV2 failed: #{checkout.error_message}") if checkout.failed?
|
|
16
|
+
|
|
17
|
+
# Android opens the wallet by its app address rather than the deeplink (see #acleda_android_app_link).
|
|
18
|
+
acleda_wallet_link = (opr_device == 'android' && acleda_deeplink.present? && checkout.acleda_android_app_link) || acleda_deeplink
|
|
16
19
|
%>
|
|
17
20
|
|
|
18
21
|
<p id="acleda-message"
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
document.addEventListener('DOMContentLoaded', () => {
|
|
44
|
-
const acledaDeeplink = "<%= raw
|
|
47
|
+
const acledaDeeplink = "<%= raw acleda_wallet_link %>";
|
|
45
48
|
|
|
46
49
|
if (!acledaDeeplink) {
|
|
47
50
|
showError('openSessionV2 returned no deeplinkUrl');
|
|
@@ -53,6 +53,12 @@
|
|
|
53
53
|
document.getElementById("processing").innerText = processing ? "Processing..." : "No more process.";
|
|
54
54
|
document.getElementById("reason_message").innerText = reasonMessage;
|
|
55
55
|
},
|
|
56
|
+
onCompletionStepsPending: function (pendingSteps) {
|
|
57
|
+
document.getElementById("status").innerText = "Order is finalizing";
|
|
58
|
+
document.getElementById("reason_code").innerText = pendingSteps.join(", ");
|
|
59
|
+
document.getElementById("processing").innerText = "Processing...";
|
|
60
|
+
document.getElementById("reason_message").innerText = "";
|
|
61
|
+
},
|
|
56
62
|
onOrderProcessFailed: function (orderState, paymentState, processing, reasonCode, reasonMessage) {
|
|
57
63
|
document.getElementById("status").innerText = "Order process failed";
|
|
58
64
|
document.getElementById("reason_code").innerText = reasonCode;
|
data/lib/spree_vpago/version.rb
CHANGED
|
@@ -3,6 +3,8 @@ module Vpago
|
|
|
3
3
|
# ACLEDA Mini App checkout. Reuses ACLEDA V2's openSessionV2 flow to obtain the deeplink
|
|
4
4
|
# the payment page opens, instead of redirecting the page to ACLEDA.
|
|
5
5
|
class Checkout < Vpago::AcledaV2::Checkout
|
|
6
|
+
ANDROID_APP_HOST = 'com.domain.acledabankqr'.freeze
|
|
7
|
+
|
|
6
8
|
# The mini app always pays by deeplink, regardless of the gateway's configured mode.
|
|
7
9
|
def deeplink?
|
|
8
10
|
true
|
|
@@ -14,6 +16,27 @@ module Vpago
|
|
|
14
16
|
call if @response.nil?
|
|
15
17
|
deeplink_url
|
|
16
18
|
end
|
|
19
|
+
|
|
20
|
+
# The app address ACLEDA's deeplink landing page opens on Android, built from the
|
|
21
|
+
# deeplink's own query.
|
|
22
|
+
#
|
|
23
|
+
# Opened instead of the deeplink: 500 ms after opening the app, that landing page sends the
|
|
24
|
+
# WebView to the Play Store unless the page was hidden, and inside ACLEDA's app the wallet
|
|
25
|
+
# is a dialog that never hides it — so the customer comes back to a Play Store error page.
|
|
26
|
+
# ACLEDA's WebView opens the wallet for this address without loading anything, so our page
|
|
27
|
+
# stays behind the wallet.
|
|
28
|
+
def acleda_android_app_link
|
|
29
|
+
deeplink = acleda_deeplink
|
|
30
|
+
return nil if deeplink.blank?
|
|
31
|
+
|
|
32
|
+
query = URI.parse(deeplink).query
|
|
33
|
+
# Re-serialized the way the landing page does (URLSearchParams#toString).
|
|
34
|
+
params = query.present? ? "?#{URI.encode_www_form(URI.decode_www_form(query))}" : ''
|
|
35
|
+
|
|
36
|
+
"https://#{ANDROID_APP_HOST}/app#{params}"
|
|
37
|
+
rescue URI::InvalidURIError, ArgumentError
|
|
38
|
+
nil
|
|
39
|
+
end
|
|
17
40
|
end
|
|
18
41
|
end
|
|
19
42
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"flags": [],
|
|
7
7
|
"linkedModules": [],
|
|
8
8
|
"topLevelPatterns": [
|
|
9
|
-
"@spree/dashboard@^6.0.
|
|
9
|
+
"@spree/dashboard@^6.0.3",
|
|
10
10
|
"chai@^5.2.0",
|
|
11
11
|
"esbuild@^0.24.2",
|
|
12
12
|
"firebase@^11.2.0",
|
|
@@ -15,33 +15,34 @@
|
|
|
15
15
|
"lockfileEntries": {
|
|
16
16
|
"@babel/code-frame@^7.29.7": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7",
|
|
17
17
|
"@babel/compat-data@^7.29.7": "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.29.7.tgz#6f0237f0f36d2e51c0570a636faed9d2d0efe629",
|
|
18
|
-
"@babel/core@^7.23.7": "https://registry.yarnpkg.com/@babel/core/-/core-7.29.
|
|
19
|
-
"@babel/core@^7.29.7": "https://registry.yarnpkg.com/@babel/core/-/core-7.29.
|
|
20
|
-
"@babel/generator@^7.29.
|
|
21
|
-
"@babel/generator@^7.29.
|
|
22
|
-
"@babel/
|
|
23
|
-
"@babel/helper-compilation-targets@^7.29.7": "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz#7a1def704302401c47f64fa85589e974ae217042",
|
|
18
|
+
"@babel/core@^7.23.7": "https://registry.yarnpkg.com/@babel/core/-/core-7.29.13.tgz#dcfa718e09c1bde8531b72b6d0d1830481397b1d",
|
|
19
|
+
"@babel/core@^7.29.7": "https://registry.yarnpkg.com/@babel/core/-/core-7.29.13.tgz#dcfa718e09c1bde8531b72b6d0d1830481397b1d",
|
|
20
|
+
"@babel/generator@^7.29.13": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.13.tgz#89bd5d368cde7437920ab3f2e67ef24f0ecfe620",
|
|
21
|
+
"@babel/generator@^7.29.8": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.13.tgz#89bd5d368cde7437920ab3f2e67ef24f0ecfe620",
|
|
22
|
+
"@babel/helper-compilation-targets@^7.29.13": "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz#bd48c347d19d5357c6eaf742007a99b2fff5e315",
|
|
24
23
|
"@babel/helper-globals@^7.29.7": "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b",
|
|
25
24
|
"@babel/helper-module-imports@^7.29.7": "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz#ef25048a518e828d7393fac5882ddd73921d7396",
|
|
26
|
-
"@babel/helper-module-transforms@^7.29.
|
|
27
|
-
"@babel/helper-string-parser@^7.29.11": "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.
|
|
25
|
+
"@babel/helper-module-transforms@^7.29.13": "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.29.13.tgz#c41ab4648d60baba54d39c9d154936123c667351",
|
|
26
|
+
"@babel/helper-string-parser@^7.29.11": "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.13.tgz#00a43cc19b8f84e9e3f17f32813e69ae9bfceba8",
|
|
28
27
|
"@babel/helper-validator-identifier@^7.29.7": "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2",
|
|
29
28
|
"@babel/helper-validator-option@^7.29.7": "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz#cf315be940213b354eb4abcc0bd01ebe3f73bc2a",
|
|
30
|
-
"@babel/helpers@^7.29.
|
|
31
|
-
"@babel/parser@^7.23.6": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.
|
|
32
|
-
"@babel/parser@^7.29.
|
|
33
|
-
"@babel/parser@^7.29.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.
|
|
34
|
-
"@babel/parser@^7.29.8": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.
|
|
29
|
+
"@babel/helpers@^7.29.13": "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.13.tgz#0f72c9bb2bef0c35f7ef41442358c873487071c5",
|
|
30
|
+
"@babel/parser@^7.23.6": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.13.tgz#dbba85be72b94635123d594035fd087fe7e42bb3",
|
|
31
|
+
"@babel/parser@^7.29.13": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.13.tgz#dbba85be72b94635123d594035fd087fe7e42bb3",
|
|
32
|
+
"@babel/parser@^7.29.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.13.tgz#dbba85be72b94635123d594035fd087fe7e42bb3",
|
|
33
|
+
"@babel/parser@^7.29.8": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.13.tgz#dbba85be72b94635123d594035fd087fe7e42bb3",
|
|
35
34
|
"@babel/template@^7.29.7": "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700",
|
|
36
|
-
"@babel/traverse@^7.23.7": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.
|
|
37
|
-
"@babel/traverse@^7.29.
|
|
35
|
+
"@babel/traverse@^7.23.7": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.13.tgz#2c536b67d36f8d3cb86393fe0f0567bd01b748a5",
|
|
36
|
+
"@babel/traverse@^7.29.13": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.13.tgz#2c536b67d36f8d3cb86393fe0f0567bd01b748a5",
|
|
37
|
+
"@babel/traverse@^7.29.7": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.13.tgz#2c536b67d36f8d3cb86393fe0f0567bd01b748a5",
|
|
38
38
|
"@babel/types@^7.23.6": "https://registry.yarnpkg.com/@babel/types/-/types-7.29.11.tgz#774cffe8cac2ca494f1334e4052002c96bf628fc",
|
|
39
39
|
"@babel/types@^7.29.11": "https://registry.yarnpkg.com/@babel/types/-/types-7.29.11.tgz#774cffe8cac2ca494f1334e4052002c96bf628fc",
|
|
40
40
|
"@babel/types@^7.29.7": "https://registry.yarnpkg.com/@babel/types/-/types-7.29.11.tgz#774cffe8cac2ca494f1334e4052002c96bf628fc",
|
|
41
41
|
"@babel/types@^7.29.8": "https://registry.yarnpkg.com/@babel/types/-/types-7.29.11.tgz#774cffe8cac2ca494f1334e4052002c96bf628fc",
|
|
42
42
|
"@dnd-kit/accessibility@^3.1.1": "https://registry.yarnpkg.com/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz#3b4202bd6bb370a0730f6734867785919beac6af",
|
|
43
|
-
"@dnd-kit/core
|
|
44
|
-
"@dnd-kit/sortable
|
|
43
|
+
"@dnd-kit/core@6.3.1": "https://registry.yarnpkg.com/@dnd-kit/core/-/core-6.3.1.tgz#4c36406a62c7baac499726f899935f93f0e6d003",
|
|
44
|
+
"@dnd-kit/sortable@10.0.0": "https://registry.yarnpkg.com/@dnd-kit/sortable/-/sortable-10.0.0.tgz#1f9382b90d835cd5c65d92824fa9dafb78c4c3e8",
|
|
45
|
+
"@dnd-kit/utilities@3.2.2": "https://registry.yarnpkg.com/@dnd-kit/utilities/-/utilities-3.2.2.tgz#5a32b6af356dc5f74d61b37d6f7129a4040ced7b",
|
|
45
46
|
"@dnd-kit/utilities@^3.2.2": "https://registry.yarnpkg.com/@dnd-kit/utilities/-/utilities-3.2.2.tgz#5a32b6af356dc5f74d61b37d6f7129a4040ced7b",
|
|
46
47
|
"@esbuild/aix-ppc64@0.24.2": "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz#38848d3e25afe842a7943643cbcd387cc6e13461",
|
|
47
48
|
"@esbuild/android-arm64@0.24.2": "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz#f592957ae8b5643129fa889c79e69cd8669bb894",
|
|
@@ -138,16 +139,16 @@
|
|
|
138
139
|
"@protobufjs/pool@^1.1.0": "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54",
|
|
139
140
|
"@protobufjs/utf8@^1.1.0": "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570",
|
|
140
141
|
"@reduxjs/toolkit@^1.9.0 || 2.x.x": "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.14.0.tgz#4977d4f7f889e634eeb7381becc5b5648fecf051",
|
|
141
|
-
"@rolldown/pluginutils@^1.0.1": "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.
|
|
142
|
-
"@spree/core@^6.0.
|
|
143
|
-
"@spree/dashboard@^6.0.
|
|
142
|
+
"@rolldown/pluginutils@^1.0.1": "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.1.0.tgz#9c029af4d8bdd9c0765784edbabe741f2b314629",
|
|
143
|
+
"@spree/core@^6.0.3": "https://registry.yarnpkg.com/@spree/core/-/core-6.0.3.tgz#929b677bfa592d99095a54091b95df6b9300c6d0",
|
|
144
|
+
"@spree/dashboard@^6.0.3": "https://registry.yarnpkg.com/@spree/dashboard/-/dashboard-6.0.3.tgz#ec9fd0cb4cb08cc6151066d3048f11d5cd27da4e",
|
|
144
145
|
"@standard-schema/spec@^1.0.0": "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.1.0.tgz#a79b55dbaf8604812f52d140b2c9ab41bc150bb8",
|
|
145
146
|
"@standard-schema/utils@^0.3.0": "https://registry.yarnpkg.com/@standard-schema/utils/-/utils-0.3.0.tgz#3d5e608f16c2390c10528e98e59aef6bf73cae7b",
|
|
146
147
|
"@tanstack/history@1.162.5": "https://registry.yarnpkg.com/@tanstack/history/-/history-1.162.5.tgz#967cb42b2e33fb1a45cb6d17a561c9223567a0f3",
|
|
147
148
|
"@tanstack/router-core@1.171.39": "https://registry.yarnpkg.com/@tanstack/router-core/-/router-core-1.171.39.tgz#6d44a91e56285c7e9558fc091c7e4ff3ca9a6cd7",
|
|
148
|
-
"@tanstack/router-generator@1.
|
|
149
|
-
"@tanstack/router-plugin@^1.168.47": "https://registry.yarnpkg.com/@tanstack/router-plugin/-/router-plugin-1.
|
|
150
|
-
"@tanstack/router-utils@1.
|
|
149
|
+
"@tanstack/router-generator@1.168.0": "https://registry.yarnpkg.com/@tanstack/router-generator/-/router-generator-1.168.0.tgz#0b2a01767246cffccf94aad8273ede128ee721c9",
|
|
150
|
+
"@tanstack/router-plugin@^1.168.47": "https://registry.yarnpkg.com/@tanstack/router-plugin/-/router-plugin-1.169.0.tgz#a5d2ef2e98dadc47b10e156583c53d4ba28519c8",
|
|
151
|
+
"@tanstack/router-utils@1.163.0": "https://registry.yarnpkg.com/@tanstack/router-utils/-/router-utils-1.163.0.tgz#86cc9af88ead303f568358e53f036c2f8acfa95b",
|
|
151
152
|
"@tanstack/virtual-file-routes@1.162.0": "https://registry.yarnpkg.com/@tanstack/virtual-file-routes/-/virtual-file-routes-1.162.0.tgz#d2dfa1c98aab0236d2cef25b3938b59a247a8acd",
|
|
152
153
|
"@tanstack/virtual-file-routes@^1.162.0": "https://registry.yarnpkg.com/@tanstack/virtual-file-routes/-/virtual-file-routes-1.162.0.tgz#d2dfa1c98aab0236d2cef25b3938b59a247a8acd",
|
|
153
154
|
"@types/d3-array@^3.0.3": "https://registry.yarnpkg.com/@types/d3-array/-/d3-array-3.2.2.tgz#e02151464d02d4a1b44646d0fcdb93faf88fde8c",
|
|
@@ -183,7 +184,7 @@
|
|
|
183
184
|
"browser-stdout@^1.3.1": "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60",
|
|
184
185
|
"browserslist@^4.24.0": "https://registry.yarnpkg.com/browserslist/-/browserslist-4.29.5.tgz#e835ff9a00f683305b33f02828c908b397410d4a",
|
|
185
186
|
"camelcase@^6.0.0": "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a",
|
|
186
|
-
"caniuse-lite@^1.0.30001819": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.
|
|
187
|
+
"caniuse-lite@^1.0.30001819": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz#6c2cc43e4858e54d6f7200fa87b4de93cb39aa77",
|
|
187
188
|
"chai@^5.2.0": "https://registry.yarnpkg.com/chai/-/chai-5.2.0.tgz#1358ee106763624114addf84ab02697e411c9c05",
|
|
188
189
|
"chalk@^4.1.0": "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01",
|
|
189
190
|
"check-error@^2.1.1": "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc",
|
|
@@ -212,8 +213,8 @@
|
|
|
212
213
|
"d3-time@2.1.1 - 3": "https://registry.yarnpkg.com/d3-time/-/d3-time-3.1.1.tgz#8a2306d202ff96dbe35d5b92d45b8125ac7417a2",
|
|
213
214
|
"d3-time@^3.0.0": "https://registry.yarnpkg.com/d3-time/-/d3-time-3.1.1.tgz#8a2306d202ff96dbe35d5b92d45b8125ac7417a2",
|
|
214
215
|
"d3-timer@^3.0.1": "https://registry.yarnpkg.com/d3-timer/-/d3-timer-3.0.2.tgz#35decb7421234fb6ec58cafd3d14351f945f2f37",
|
|
215
|
-
"date-fns-tz
|
|
216
|
-
"date-fns
|
|
216
|
+
"date-fns-tz@3.2.0": "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-3.2.0.tgz#647dc56d38ac33a3e37b65e9d5c4cda5af5e58e6",
|
|
217
|
+
"date-fns@4.4.0": "https://registry.yarnpkg.com/date-fns/-/date-fns-4.4.0.tgz#806539edf45c616b2b76b5f78b88c56ed3c7e036",
|
|
217
218
|
"debug@^4.1.0": "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a",
|
|
218
219
|
"debug@^4.3.1": "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a",
|
|
219
220
|
"debug@^4.3.5": "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a",
|
|
@@ -224,10 +225,10 @@
|
|
|
224
225
|
"diff@^9.0.0": "https://registry.yarnpkg.com/diff/-/diff-9.0.0.tgz#297c31cd7c280f13dfe335791ec2063bd4a73a6f",
|
|
225
226
|
"dompurify@^3.4.17": "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.17.tgz#074bbb24eaa419535ac19ffe7f663104b0e1543d",
|
|
226
227
|
"eastasianwidth@^0.2.0": "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb",
|
|
227
|
-
"electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.
|
|
228
|
+
"electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.481.tgz#cb6d3067ae0611e0f2004fffc6b9d821f24a88b3",
|
|
228
229
|
"emoji-regex@^8.0.0": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37",
|
|
229
230
|
"emoji-regex@^9.2.2": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72",
|
|
230
|
-
"es-toolkit@^1.39.3": "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.
|
|
231
|
+
"es-toolkit@^1.39.3": "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.2.tgz#334b8210b2e63eb19d18aea9830b71b079e11265",
|
|
231
232
|
"esbuild@^0.24.2": "https://registry.yarnpkg.com/esbuild/-/esbuild-0.24.2.tgz#b5b55bee7de017bff5fb8a4e3e44f2ebe2c3567d",
|
|
232
233
|
"escalade@^3.1.1": "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5",
|
|
233
234
|
"escalade@^3.2.0": "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5",
|
|
@@ -249,8 +250,8 @@
|
|
|
249
250
|
"he@^1.2.0": "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f",
|
|
250
251
|
"http-parser-js@>=0.5.1": "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.9.tgz#b817b3ca0edea6236225000d795378707c169cec",
|
|
251
252
|
"idb@7.1.1": "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b",
|
|
252
|
-
"immer@^11.1.8": "https://registry.yarnpkg.com/immer/-/immer-11.2.
|
|
253
|
-
"immer@^11.2.9": "https://registry.yarnpkg.com/immer/-/immer-11.2.
|
|
253
|
+
"immer@^11.1.8": "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252",
|
|
254
|
+
"immer@^11.2.9": "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252",
|
|
254
255
|
"internmap@1 - 2": "https://registry.yarnpkg.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009",
|
|
255
256
|
"is-binary-path@~2.1.0": "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09",
|
|
256
257
|
"is-extglob@^2.1.1": "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2",
|
|
@@ -274,7 +275,7 @@
|
|
|
274
275
|
"loupe@^3.1.0": "https://registry.yarnpkg.com/loupe/-/loupe-3.1.3.tgz#042a8f7986d77f3d0f98ef7990a2b2fef18b0fd2",
|
|
275
276
|
"lru-cache@^10.2.0": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119",
|
|
276
277
|
"lru-cache@^5.1.1": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920",
|
|
277
|
-
"lucide-react
|
|
278
|
+
"lucide-react@1.60.0": "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.60.0.tgz#62729ce45aff0f13574718759441592c0bcb0c37",
|
|
278
279
|
"magic-string@^0.30.21": "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91",
|
|
279
280
|
"minimatch@^5.1.6": "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96",
|
|
280
281
|
"minimatch@^9.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5",
|
|
@@ -314,8 +315,8 @@
|
|
|
314
315
|
"safe-buffer@^5.1.0": "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6",
|
|
315
316
|
"semver@^6.3.1": "https://registry.yarnpkg.com/semver/-/semver-6.3.2.tgz#f50413fbe5a686c6379385b2e8789b61c124a3c7",
|
|
316
317
|
"serialize-javascript@^6.0.2": "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2",
|
|
317
|
-
"seroval-plugins@^1.6.7": "https://registry.yarnpkg.com/seroval-plugins/-/seroval-plugins-1.
|
|
318
|
-
"seroval@^1.6.7": "https://registry.yarnpkg.com/seroval/-/seroval-1.
|
|
318
|
+
"seroval-plugins@^1.6.7": "https://registry.yarnpkg.com/seroval-plugins/-/seroval-plugins-1.8.0.tgz#1600d792c09548ed6980ec1729aa96c70b78d4c1",
|
|
319
|
+
"seroval@^1.6.7": "https://registry.yarnpkg.com/seroval/-/seroval-1.8.0.tgz#bb98f29a64b5ac6939b91240a3b649bddbb7d8bc",
|
|
319
320
|
"shebang-command@^2.0.0": "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea",
|
|
320
321
|
"shebang-regex@^3.0.0": "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172",
|
|
321
322
|
"signal-exit@^4.0.1": "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04",
|
|
@@ -338,7 +339,7 @@
|
|
|
338
339
|
"tslib@^2.0.0": "https://registry.yarnpkg.com/tslib/-/tslib-2.9.1.tgz#8986213ba2f17f38ba39a7c43d0e565a9134ff5f",
|
|
339
340
|
"tslib@^2.1.0": "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f",
|
|
340
341
|
"undici-types@~6.20.0": "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433",
|
|
341
|
-
"unplugin@^3.
|
|
342
|
+
"unplugin@^3.5.0": "https://registry.yarnpkg.com/unplugin/-/unplugin-3.7.0.tgz#d3780c9c0f886fd84ea3a3ae961210cf8545f256",
|
|
342
343
|
"update-browserslist-db@^1.3.4": "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz#e8bd4596f6900805f9f12c5a5200c83c59c38faf",
|
|
343
344
|
"use-sync-external-store@^1.2.2": "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz#6dcb66ef569e02f186af6b3d575f414ce746e18f",
|
|
344
345
|
"use-sync-external-store@^1.4.0": "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz#6dcb66ef569e02f186af6b3d575f414ce746e18f",
|
data/package.json
CHANGED
data/yarn.lock
CHANGED
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
integrity sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==
|
|
18
18
|
|
|
19
19
|
"@babel/core@^7.23.7", "@babel/core@^7.29.7":
|
|
20
|
-
version "7.29.
|
|
21
|
-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.29.
|
|
22
|
-
integrity sha512-
|
|
20
|
+
version "7.29.13"
|
|
21
|
+
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.29.13.tgz#dcfa718e09c1bde8531b72b6d0d1830481397b1d"
|
|
22
|
+
integrity sha512-j1nvOQCZYSgp7HLmisnCXFTpVvFODiijQ9QHkORfGKWH6YDtskTEeCJS7eV545GZ9UBzrq0e2xsOd5QQ5PjIqw==
|
|
23
23
|
dependencies:
|
|
24
24
|
"@babel/code-frame" "^7.29.7"
|
|
25
|
-
"@babel/generator" "^7.29.
|
|
26
|
-
"@babel/helper-compilation-targets" "^7.29.
|
|
27
|
-
"@babel/helper-module-transforms" "^7.29.
|
|
28
|
-
"@babel/helpers" "^7.29.
|
|
29
|
-
"@babel/parser" "^7.29.
|
|
25
|
+
"@babel/generator" "^7.29.13"
|
|
26
|
+
"@babel/helper-compilation-targets" "^7.29.13"
|
|
27
|
+
"@babel/helper-module-transforms" "^7.29.13"
|
|
28
|
+
"@babel/helpers" "^7.29.13"
|
|
29
|
+
"@babel/parser" "^7.29.13"
|
|
30
30
|
"@babel/template" "^7.29.7"
|
|
31
|
-
"@babel/traverse" "^7.29.
|
|
32
|
-
"@babel/types" "^7.29.
|
|
31
|
+
"@babel/traverse" "^7.29.13"
|
|
32
|
+
"@babel/types" "^7.29.11"
|
|
33
33
|
"@jridgewell/remapping" "^2.3.5"
|
|
34
34
|
convert-source-map "^2.0.0"
|
|
35
35
|
debug "^4.1.0"
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
json5 "^2.2.3"
|
|
38
38
|
semver "^6.3.1"
|
|
39
39
|
|
|
40
|
-
"@babel/generator@^7.29.
|
|
41
|
-
version "7.29.
|
|
42
|
-
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.
|
|
43
|
-
integrity sha512-
|
|
40
|
+
"@babel/generator@^7.29.13", "@babel/generator@^7.29.8":
|
|
41
|
+
version "7.29.13"
|
|
42
|
+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.13.tgz#89bd5d368cde7437920ab3f2e67ef24f0ecfe620"
|
|
43
|
+
integrity sha512-T5FRo+RzVHvGjWOuF1Ljc44b+NXAOazodHkGUHp4I3zCkQ4/sNVJm56h1S278LMR0bY5xBhztGziSbli8zObIw==
|
|
44
44
|
dependencies:
|
|
45
|
-
"@babel/parser" "^7.29.
|
|
45
|
+
"@babel/parser" "^7.29.13"
|
|
46
46
|
"@babel/types" "^7.29.11"
|
|
47
47
|
"@jridgewell/gen-mapping" "^0.3.12"
|
|
48
48
|
"@jridgewell/trace-mapping" "^0.3.28"
|
|
49
49
|
jsesc "^3.0.2"
|
|
50
50
|
|
|
51
|
-
"@babel/helper-compilation-targets@^7.29.
|
|
52
|
-
version "7.29.
|
|
53
|
-
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.
|
|
54
|
-
integrity sha512-
|
|
51
|
+
"@babel/helper-compilation-targets@^7.29.13":
|
|
52
|
+
version "7.29.13"
|
|
53
|
+
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz#bd48c347d19d5357c6eaf742007a99b2fff5e315"
|
|
54
|
+
integrity sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==
|
|
55
55
|
dependencies:
|
|
56
56
|
"@babel/compat-data" "^7.29.7"
|
|
57
57
|
"@babel/helper-validator-option" "^7.29.7"
|
|
@@ -72,19 +72,19 @@
|
|
|
72
72
|
"@babel/traverse" "^7.29.7"
|
|
73
73
|
"@babel/types" "^7.29.7"
|
|
74
74
|
|
|
75
|
-
"@babel/helper-module-transforms@^7.29.
|
|
76
|
-
version "7.29.
|
|
77
|
-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.29.
|
|
78
|
-
integrity sha512
|
|
75
|
+
"@babel/helper-module-transforms@^7.29.13":
|
|
76
|
+
version "7.29.13"
|
|
77
|
+
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.29.13.tgz#c41ab4648d60baba54d39c9d154936123c667351"
|
|
78
|
+
integrity sha512-/U96wOz+SCoZ7Da/8kjDGltcNY280JPQcRNPK0Hk3PTbdpaiBDQImtC6JsbVwb1HGMr3usZQU2WsWVjhYNmRzw==
|
|
79
79
|
dependencies:
|
|
80
80
|
"@babel/helper-module-imports" "^7.29.7"
|
|
81
81
|
"@babel/helper-validator-identifier" "^7.29.7"
|
|
82
|
-
"@babel/traverse" "^7.29.
|
|
82
|
+
"@babel/traverse" "^7.29.13"
|
|
83
83
|
|
|
84
84
|
"@babel/helper-string-parser@^7.29.11":
|
|
85
|
-
version "7.29.
|
|
86
|
-
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.
|
|
87
|
-
integrity sha512-
|
|
85
|
+
version "7.29.13"
|
|
86
|
+
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.13.tgz#00a43cc19b8f84e9e3f17f32813e69ae9bfceba8"
|
|
87
|
+
integrity sha512-fWegr+WsEsiMVW4KUNdIIzzMTZSzNiqhy0//6+2MRi2d5NFNsL/AYwBQW8eBnRbTBVRnDVzjaJEUqKaCWjMMdQ==
|
|
88
88
|
|
|
89
89
|
"@babel/helper-validator-identifier@^7.29.7":
|
|
90
90
|
version "7.29.7"
|
|
@@ -96,18 +96,18 @@
|
|
|
96
96
|
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz#cf315be940213b354eb4abcc0bd01ebe3f73bc2a"
|
|
97
97
|
integrity sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==
|
|
98
98
|
|
|
99
|
-
"@babel/helpers@^7.29.
|
|
100
|
-
version "7.29.
|
|
101
|
-
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.
|
|
102
|
-
integrity sha512-
|
|
99
|
+
"@babel/helpers@^7.29.13":
|
|
100
|
+
version "7.29.13"
|
|
101
|
+
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.13.tgz#0f72c9bb2bef0c35f7ef41442358c873487071c5"
|
|
102
|
+
integrity sha512-laoRpD/kO/iA4CDlgJbixHekg7oPvWALK0PQyK3Ob2I2njZRvVAD77RfWCIImtqWCq6KijoBoZK7bp/HlTWASQ==
|
|
103
103
|
dependencies:
|
|
104
104
|
"@babel/template" "^7.29.7"
|
|
105
|
-
"@babel/types" "^7.29.
|
|
105
|
+
"@babel/types" "^7.29.11"
|
|
106
106
|
|
|
107
|
-
"@babel/parser@^7.23.6", "@babel/parser@^7.29.
|
|
108
|
-
version "7.29.
|
|
109
|
-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.
|
|
110
|
-
integrity sha512-
|
|
107
|
+
"@babel/parser@^7.23.6", "@babel/parser@^7.29.13", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8":
|
|
108
|
+
version "7.29.13"
|
|
109
|
+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.13.tgz#dbba85be72b94635123d594035fd087fe7e42bb3"
|
|
110
|
+
integrity sha512-fJM50YYjlTiBhgdkGmC1tBpv+FMAyo4annf2X6Aks+0yRlaiVkYW/3f07xAfVVkYIoZ9fFZp+mEThUFnuybhkQ==
|
|
111
111
|
dependencies:
|
|
112
112
|
"@babel/types" "^7.29.11"
|
|
113
113
|
|
|
@@ -120,15 +120,15 @@
|
|
|
120
120
|
"@babel/parser" "^7.29.7"
|
|
121
121
|
"@babel/types" "^7.29.7"
|
|
122
122
|
|
|
123
|
-
"@babel/traverse@^7.23.7", "@babel/traverse@^7.29.7":
|
|
124
|
-
version "7.29.
|
|
125
|
-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.
|
|
126
|
-
integrity sha512-
|
|
123
|
+
"@babel/traverse@^7.23.7", "@babel/traverse@^7.29.13", "@babel/traverse@^7.29.7":
|
|
124
|
+
version "7.29.13"
|
|
125
|
+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.13.tgz#2c536b67d36f8d3cb86393fe0f0567bd01b748a5"
|
|
126
|
+
integrity sha512-0ve0xMlFA73dgY1oyJRY6RoW+/bncdcOQqg6jjYcVfXBK90OdLXjm9R6lmRetdZVrPjXkKIoMVBqYFPjcAlZ4Q==
|
|
127
127
|
dependencies:
|
|
128
128
|
"@babel/code-frame" "^7.29.7"
|
|
129
|
-
"@babel/generator" "^7.29.
|
|
129
|
+
"@babel/generator" "^7.29.13"
|
|
130
130
|
"@babel/helper-globals" "^7.29.7"
|
|
131
|
-
"@babel/parser" "^7.29.
|
|
131
|
+
"@babel/parser" "^7.29.13"
|
|
132
132
|
"@babel/template" "^7.29.7"
|
|
133
133
|
"@babel/types" "^7.29.11"
|
|
134
134
|
debug "^4.3.1"
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
dependencies:
|
|
149
149
|
tslib "^2.0.0"
|
|
150
150
|
|
|
151
|
-
"@dnd-kit/core
|
|
151
|
+
"@dnd-kit/core@6.3.1":
|
|
152
152
|
version "6.3.1"
|
|
153
153
|
resolved "https://registry.yarnpkg.com/@dnd-kit/core/-/core-6.3.1.tgz#4c36406a62c7baac499726f899935f93f0e6d003"
|
|
154
154
|
integrity sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"@dnd-kit/utilities" "^3.2.2"
|
|
158
158
|
tslib "^2.0.0"
|
|
159
159
|
|
|
160
|
-
"@dnd-kit/sortable
|
|
160
|
+
"@dnd-kit/sortable@10.0.0":
|
|
161
161
|
version "10.0.0"
|
|
162
162
|
resolved "https://registry.yarnpkg.com/@dnd-kit/sortable/-/sortable-10.0.0.tgz#1f9382b90d835cd5c65d92824fa9dafb78c4c3e8"
|
|
163
163
|
integrity sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"@dnd-kit/utilities" "^3.2.2"
|
|
166
166
|
tslib "^2.0.0"
|
|
167
167
|
|
|
168
|
-
"@dnd-kit/utilities@^3.2.2":
|
|
168
|
+
"@dnd-kit/utilities@3.2.2", "@dnd-kit/utilities@^3.2.2":
|
|
169
169
|
version "3.2.2"
|
|
170
170
|
resolved "https://registry.yarnpkg.com/@dnd-kit/utilities/-/utilities-3.2.2.tgz#5a32b6af356dc5f74d61b37d6f7129a4040ced7b"
|
|
171
171
|
integrity sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==
|
|
@@ -830,31 +830,31 @@
|
|
|
830
830
|
reselect "^5.1.0"
|
|
831
831
|
|
|
832
832
|
"@rolldown/pluginutils@^1.0.1":
|
|
833
|
-
version "1.0
|
|
834
|
-
resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.
|
|
835
|
-
integrity sha512-
|
|
836
|
-
|
|
837
|
-
"@spree/core@^6.0.
|
|
838
|
-
version "6.0.
|
|
839
|
-
resolved "https://registry.yarnpkg.com/@spree/core/-/core-6.0.
|
|
840
|
-
integrity sha512-
|
|
841
|
-
|
|
842
|
-
"@spree/dashboard@^6.0.
|
|
843
|
-
version "6.0.
|
|
844
|
-
resolved "https://registry.yarnpkg.com/@spree/dashboard/-/dashboard-6.0.
|
|
845
|
-
integrity sha512-
|
|
846
|
-
dependencies:
|
|
847
|
-
"@dnd-kit/core" "
|
|
848
|
-
"@dnd-kit/sortable" "
|
|
849
|
-
"@dnd-kit/utilities" "
|
|
833
|
+
version "1.1.0"
|
|
834
|
+
resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.1.0.tgz#9c029af4d8bdd9c0765784edbabe741f2b314629"
|
|
835
|
+
integrity sha512-K+NU2HDCEem4sClgHH4ZZXwdJeNFkJo+hRk479DIwdIviAPN2hFJH1KHHwg8CxHQXvi0M5XY4deTXINfIiSG6w==
|
|
836
|
+
|
|
837
|
+
"@spree/core@^6.0.3":
|
|
838
|
+
version "6.0.3"
|
|
839
|
+
resolved "https://registry.yarnpkg.com/@spree/core/-/core-6.0.3.tgz#929b677bfa592d99095a54091b95df6b9300c6d0"
|
|
840
|
+
integrity sha512-ju3iJHWwjGrNKeZoqOijMG7XE4rAzzdflTwoIZX5q8AZ4FjXicgIC7c3cg8biruzTb6HNkbZeujDNakp56k/eA==
|
|
841
|
+
|
|
842
|
+
"@spree/dashboard@^6.0.3":
|
|
843
|
+
version "6.0.3"
|
|
844
|
+
resolved "https://registry.yarnpkg.com/@spree/dashboard/-/dashboard-6.0.3.tgz#ec9fd0cb4cb08cc6151066d3048f11d5cd27da4e"
|
|
845
|
+
integrity sha512-oDMfyJ2U+Ij2l0QWzBH7vF5AFeRC3/Q1T9ekkXaoJyTUEjpwbAHJ9ecimS/X/zx3WlPNwjbkzraFSvXrerz6Sg==
|
|
846
|
+
dependencies:
|
|
847
|
+
"@dnd-kit/core" "6.3.1"
|
|
848
|
+
"@dnd-kit/sortable" "10.0.0"
|
|
849
|
+
"@dnd-kit/utilities" "3.2.2"
|
|
850
850
|
"@hookform/resolvers" "^6.0.0"
|
|
851
|
-
"@spree/core" "^6.0.
|
|
851
|
+
"@spree/core" "^6.0.3"
|
|
852
852
|
"@tanstack/router-plugin" "^1.168.47"
|
|
853
853
|
"@tanstack/virtual-file-routes" "^1.162.0"
|
|
854
|
-
date-fns "
|
|
855
|
-
date-fns-tz "
|
|
854
|
+
date-fns "4.4.0"
|
|
855
|
+
date-fns-tz "3.2.0"
|
|
856
856
|
dompurify "^3.4.17"
|
|
857
|
-
lucide-react "
|
|
857
|
+
lucide-react "1.60.0"
|
|
858
858
|
recharts "3.10.1"
|
|
859
859
|
zod "^4.6.7"
|
|
860
860
|
|
|
@@ -883,14 +883,14 @@
|
|
|
883
883
|
seroval "^1.6.7"
|
|
884
884
|
seroval-plugins "^1.6.7"
|
|
885
885
|
|
|
886
|
-
"@tanstack/router-generator@1.
|
|
887
|
-
version "1.
|
|
888
|
-
resolved "https://registry.yarnpkg.com/@tanstack/router-generator/-/router-generator-1.
|
|
889
|
-
integrity sha512-
|
|
886
|
+
"@tanstack/router-generator@1.168.0":
|
|
887
|
+
version "1.168.0"
|
|
888
|
+
resolved "https://registry.yarnpkg.com/@tanstack/router-generator/-/router-generator-1.168.0.tgz#0b2a01767246cffccf94aad8273ede128ee721c9"
|
|
889
|
+
integrity sha512-Ty3y1g96Nq4yMojTH+OTgRFp0oa14LBKhiDW8+SrsdgW2mCpPRzZ8Ix7jjztxmkS8O+AKc2WaLkSskGUe3oEDQ==
|
|
890
890
|
dependencies:
|
|
891
891
|
"@babel/types" "^7.29.8"
|
|
892
892
|
"@tanstack/router-core" "1.171.39"
|
|
893
|
-
"@tanstack/router-utils" "1.
|
|
893
|
+
"@tanstack/router-utils" "1.163.0"
|
|
894
894
|
"@tanstack/virtual-file-routes" "1.162.0"
|
|
895
895
|
jiti "^2.7.0"
|
|
896
896
|
magic-string "^0.30.21"
|
|
@@ -898,24 +898,24 @@
|
|
|
898
898
|
zod "^4.5.4"
|
|
899
899
|
|
|
900
900
|
"@tanstack/router-plugin@^1.168.47":
|
|
901
|
-
version "1.
|
|
902
|
-
resolved "https://registry.yarnpkg.com/@tanstack/router-plugin/-/router-plugin-1.
|
|
903
|
-
integrity sha512-
|
|
901
|
+
version "1.169.0"
|
|
902
|
+
resolved "https://registry.yarnpkg.com/@tanstack/router-plugin/-/router-plugin-1.169.0.tgz#a5d2ef2e98dadc47b10e156583c53d4ba28519c8"
|
|
903
|
+
integrity sha512-aulFJmvW/rN5zQg/IM1Z5iUueX9dnYjBKxNpFWstpHxbatdlRlEwtSrc57VlBmfzRuckVxpZLi6wH3O40DMLgw==
|
|
904
904
|
dependencies:
|
|
905
905
|
"@babel/core" "^7.29.7"
|
|
906
906
|
"@babel/template" "^7.29.7"
|
|
907
907
|
"@babel/types" "^7.29.8"
|
|
908
908
|
"@tanstack/router-core" "1.171.39"
|
|
909
|
-
"@tanstack/router-generator" "1.
|
|
910
|
-
"@tanstack/router-utils" "1.
|
|
909
|
+
"@tanstack/router-generator" "1.168.0"
|
|
910
|
+
"@tanstack/router-utils" "1.163.0"
|
|
911
911
|
chokidar "^5.0.0"
|
|
912
|
-
unplugin "^3.
|
|
912
|
+
unplugin "^3.5.0"
|
|
913
913
|
zod "^4.5.4"
|
|
914
914
|
|
|
915
|
-
"@tanstack/router-utils@1.
|
|
916
|
-
version "1.
|
|
917
|
-
resolved "https://registry.yarnpkg.com/@tanstack/router-utils/-/router-utils-1.
|
|
918
|
-
integrity sha512-
|
|
915
|
+
"@tanstack/router-utils@1.163.0":
|
|
916
|
+
version "1.163.0"
|
|
917
|
+
resolved "https://registry.yarnpkg.com/@tanstack/router-utils/-/router-utils-1.163.0.tgz#86cc9af88ead303f568358e53f036c2f8acfa95b"
|
|
918
|
+
integrity sha512-OMeFv8aRwk9Xtf3JhRmQrjtMxCj7qqfnsueASuL8xUgItoblIL9eCIyt4Zv0hk3LBp/s7NqviZgQhiAfDhJb/A==
|
|
919
919
|
dependencies:
|
|
920
920
|
"@babel/generator" "^7.29.8"
|
|
921
921
|
"@babel/parser" "^7.29.8"
|
|
@@ -1110,9 +1110,9 @@ camelcase@^6.0.0:
|
|
|
1110
1110
|
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
|
1111
1111
|
|
|
1112
1112
|
caniuse-lite@^1.0.30001819:
|
|
1113
|
-
version "1.0.
|
|
1114
|
-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.
|
|
1115
|
-
integrity sha512-
|
|
1113
|
+
version "1.0.30001826"
|
|
1114
|
+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz#6c2cc43e4858e54d6f7200fa87b4de93cb39aa77"
|
|
1115
|
+
integrity sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==
|
|
1116
1116
|
|
|
1117
1117
|
chai@^5.2.0:
|
|
1118
1118
|
version "5.2.0"
|
|
@@ -1276,12 +1276,12 @@ d3-timer@^3.0.1:
|
|
|
1276
1276
|
resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-3.0.2.tgz#35decb7421234fb6ec58cafd3d14351f945f2f37"
|
|
1277
1277
|
integrity sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==
|
|
1278
1278
|
|
|
1279
|
-
date-fns-tz
|
|
1279
|
+
date-fns-tz@3.2.0:
|
|
1280
1280
|
version "3.2.0"
|
|
1281
1281
|
resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-3.2.0.tgz#647dc56d38ac33a3e37b65e9d5c4cda5af5e58e6"
|
|
1282
1282
|
integrity sha512-sg8HqoTEulcbbbVXeg84u5UnlsQa8GS5QXMqjjYIhS4abEVVKIUwe0/l/UhrZdKaL/W5eWZNlbTeEIiOXTcsBQ==
|
|
1283
1283
|
|
|
1284
|
-
date-fns
|
|
1284
|
+
date-fns@4.4.0:
|
|
1285
1285
|
version "4.4.0"
|
|
1286
1286
|
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-4.4.0.tgz#806539edf45c616b2b76b5f78b88c56ed3c7e036"
|
|
1287
1287
|
integrity sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==
|
|
@@ -1338,9 +1338,9 @@ eastasianwidth@^0.2.0:
|
|
|
1338
1338
|
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
|
|
1339
1339
|
|
|
1340
1340
|
electron-to-chromium@^1.5.464:
|
|
1341
|
-
version "1.5.
|
|
1342
|
-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.
|
|
1343
|
-
integrity sha512-
|
|
1341
|
+
version "1.5.481"
|
|
1342
|
+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.481.tgz#cb6d3067ae0611e0f2004fffc6b9d821f24a88b3"
|
|
1343
|
+
integrity sha512-dNUsbAP6E2S1dHIYEuN3cQ0dViThjMtpVRheGdvv5HgHFtzLi4Cu4Mbzms85YggP3Eh2VVZTl5+XxEN8ofCbmQ==
|
|
1344
1344
|
|
|
1345
1345
|
emoji-regex@^8.0.0:
|
|
1346
1346
|
version "8.0.0"
|
|
@@ -1353,9 +1353,9 @@ emoji-regex@^9.2.2:
|
|
|
1353
1353
|
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
|
|
1354
1354
|
|
|
1355
1355
|
es-toolkit@^1.39.3:
|
|
1356
|
-
version "1.53.
|
|
1357
|
-
resolved "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.
|
|
1358
|
-
integrity sha512-
|
|
1356
|
+
version "1.53.2"
|
|
1357
|
+
resolved "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.2.tgz#334b8210b2e63eb19d18aea9830b71b079e11265"
|
|
1358
|
+
integrity sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==
|
|
1359
1359
|
|
|
1360
1360
|
esbuild@^0.24.2:
|
|
1361
1361
|
version "0.24.2"
|
|
@@ -1532,9 +1532,9 @@ idb@7.1.1:
|
|
|
1532
1532
|
integrity sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==
|
|
1533
1533
|
|
|
1534
1534
|
immer@^11.1.8, immer@^11.2.9:
|
|
1535
|
-
version "11.2.
|
|
1536
|
-
resolved "https://registry.yarnpkg.com/immer/-/immer-11.2.
|
|
1537
|
-
integrity sha512-
|
|
1535
|
+
version "11.2.10"
|
|
1536
|
+
resolved "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252"
|
|
1537
|
+
integrity sha512-pzANBj+0A9u+prdhBJ14DVi44vCvVUQzBa8DKt6I0AMCokPHtt722BK9IX5bFC70xUSU9TnzLRIJLTGqIzjEFw==
|
|
1538
1538
|
|
|
1539
1539
|
"internmap@1 - 2":
|
|
1540
1540
|
version "2.0.3"
|
|
@@ -1663,10 +1663,10 @@ lru-cache@^5.1.1:
|
|
|
1663
1663
|
dependencies:
|
|
1664
1664
|
yallist "^3.0.2"
|
|
1665
1665
|
|
|
1666
|
-
lucide-react
|
|
1667
|
-
version "1.
|
|
1668
|
-
resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.
|
|
1669
|
-
integrity sha512-
|
|
1666
|
+
lucide-react@1.60.0:
|
|
1667
|
+
version "1.60.0"
|
|
1668
|
+
resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.60.0.tgz#62729ce45aff0f13574718759441592c0bcb0c37"
|
|
1669
|
+
integrity sha512-UqxOW0FgAfDyb9VmjKb6/BkOzW6yfhf/QNboKtS2NDsscnNRW2CDzlyhbMKBQ1ontmcxuIDqHJ2AVgFR3NI+GA==
|
|
1670
1670
|
|
|
1671
1671
|
magic-string@^0.30.21:
|
|
1672
1672
|
version "0.30.21"
|
|
@@ -1907,14 +1907,14 @@ serialize-javascript@^6.0.2:
|
|
|
1907
1907
|
randombytes "^2.1.0"
|
|
1908
1908
|
|
|
1909
1909
|
seroval-plugins@^1.6.7:
|
|
1910
|
-
version "1.
|
|
1911
|
-
resolved "https://registry.yarnpkg.com/seroval-plugins/-/seroval-plugins-1.
|
|
1912
|
-
integrity sha512-
|
|
1910
|
+
version "1.8.0"
|
|
1911
|
+
resolved "https://registry.yarnpkg.com/seroval-plugins/-/seroval-plugins-1.8.0.tgz#1600d792c09548ed6980ec1729aa96c70b78d4c1"
|
|
1912
|
+
integrity sha512-96vBb12rDvPPwdKUgWw1op3fGq8AVBFOr0IllbnM72yR5J9WWXF18cQ4g1XfDO7HCyh2dt70P3XdtyRayP8FWg==
|
|
1913
1913
|
|
|
1914
1914
|
seroval@^1.6.7:
|
|
1915
|
-
version "1.
|
|
1916
|
-
resolved "https://registry.yarnpkg.com/seroval/-/seroval-1.
|
|
1917
|
-
integrity sha512-
|
|
1915
|
+
version "1.8.0"
|
|
1916
|
+
resolved "https://registry.yarnpkg.com/seroval/-/seroval-1.8.0.tgz#bb98f29a64b5ac6939b91240a3b649bddbb7d8bc"
|
|
1917
|
+
integrity sha512-W5N4cMPc58lypAsScCmhGTyZxNZ6gPHvLHtMqtyvDFpfyNDsH1QjU0nI9Lr34+Q5ZLPsWeqOhkgTY5XtaPVQ4A==
|
|
1918
1918
|
|
|
1919
1919
|
shebang-command@^2.0.0:
|
|
1920
1920
|
version "2.0.0"
|
|
@@ -2035,7 +2035,7 @@ undici-types@~6.20.0:
|
|
|
2035
2035
|
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
|
|
2036
2036
|
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
|
|
2037
2037
|
|
|
2038
|
-
unplugin@^3.
|
|
2038
|
+
unplugin@^3.5.0:
|
|
2039
2039
|
version "3.7.0"
|
|
2040
2040
|
resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-3.7.0.tgz#d3780c9c0f886fd84ea3a3ae961210cf8545f256"
|
|
2041
2041
|
integrity sha512-GrM2uq3DQo3hvLU2FjeYhooJ8BY9N6j1Fbzgx7Pta3VVJevsD3VP4dPjZkZOS0mLvN8w9zzr9OlP+31bSMyuLw==
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_vpago
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- You
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -358,7 +358,6 @@ files:
|
|
|
358
358
|
- app/views/spree/checkout/payment/payway_form.html.erb
|
|
359
359
|
- app/views/spree/checkout/payment/payway_v2_form.html.erb
|
|
360
360
|
- app/views/spree/checkout/payment/wingsdk_form.html.erb
|
|
361
|
-
- app/views/spree/mini_app/wings/show.html.erb
|
|
362
361
|
- app/views/spree/payway_card_popups/_form.html.erb
|
|
363
362
|
- app/views/spree/payway_card_popups/show.html.erb
|
|
364
363
|
- app/views/spree/payway_results/failed.html.erb
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
body {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
height: 100vh;
|
|
7
|
-
margin: 0;
|
|
8
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
#wing-mini-app-loading {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: 16px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
#wing-mini-app-spinner {
|
|
19
|
-
width: 32px;
|
|
20
|
-
height: 32px;
|
|
21
|
-
border: 3px solid #e0e0e0;
|
|
22
|
-
border-top-color: #6b46c1;
|
|
23
|
-
border-radius: 50%;
|
|
24
|
-
animation: wing-mini-app-spin 0.8s linear infinite;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes wing-mini-app-spin {
|
|
28
|
-
to { transform: rotate(360deg); }
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
#wing-mini-app-status {
|
|
32
|
-
color: #666;
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
#wing-mini-app-status.wing-mini-app-error {
|
|
37
|
-
color: #c0392b;
|
|
38
|
-
}
|
|
39
|
-
</style>
|
|
40
|
-
|
|
41
|
-
<div id="wing-mini-app-loading">
|
|
42
|
-
<div id="wing-mini-app-spinner"></div>
|
|
43
|
-
<div id="wing-mini-app-status">Signing you in…</div>
|
|
44
|
-
</div>
|