@fractalpay/fractalpay-next-dev 0.0.297 → 0.0.298
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/index.js +14 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
"package.json"(exports, module) {
|
|
40
40
|
module.exports = {
|
|
41
41
|
name: "@fractalpay/fractalpay-next-dev",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.298",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -3595,7 +3595,7 @@ function FractalWidgetStyles() {
|
|
|
3595
3595
|
.fps-logo img { max-height: 43px; max-width: 160px; object-fit: contain; }
|
|
3596
3596
|
.fps-divider { width: 100%; height: 1px; background: var(--fps-border); flex-shrink: 0; }
|
|
3597
3597
|
.fps-invoice { font-size: 14px; font-weight: 500; color: var(--fps-text-tertiary); }
|
|
3598
|
-
.fps-lines { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 14px; font-weight: 500; }
|
|
3598
|
+
.fps-lines { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 14px; font-weight: 500; text-align: start !important; }
|
|
3599
3599
|
.fps-line { display: flex; align-items: center; justify-content: space-between; }
|
|
3600
3600
|
.fps-line .fps-lbl { color: var(--fps-text-tertiary); }
|
|
3601
3601
|
.fps-line .fps-val { color: var(--fps-text-primary); }
|
|
@@ -3611,6 +3611,7 @@ function FractalWidgetStyles() {
|
|
|
3611
3611
|
font-size: 11px;
|
|
3612
3612
|
line-height: 16px;
|
|
3613
3613
|
color: var(--fps-green-text);
|
|
3614
|
+
text-align: start !important;
|
|
3614
3615
|
}
|
|
3615
3616
|
.fps-note b { font-weight: 700; }
|
|
3616
3617
|
.fps-note-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
@@ -3627,6 +3628,7 @@ function FractalWidgetStyles() {
|
|
|
3627
3628
|
color: var(--fps-text-tertiary);
|
|
3628
3629
|
}
|
|
3629
3630
|
.fps-secure img { height: 16px; width: auto; object-fit: contain; }
|
|
3631
|
+
.fps-total-div { text-align: start !important; }
|
|
3630
3632
|
|
|
3631
3633
|
/* ---------- Right: content ---------- */
|
|
3632
3634
|
.fps-content {
|
|
@@ -3669,6 +3671,7 @@ function FractalWidgetStyles() {
|
|
|
3669
3671
|
font-weight: 500;
|
|
3670
3672
|
line-height: normal;
|
|
3671
3673
|
margin: 0;
|
|
3674
|
+
text-align: start !important;
|
|
3672
3675
|
}
|
|
3673
3676
|
|
|
3674
3677
|
/* scrollable middle region between header and footer */
|
|
@@ -3912,7 +3915,7 @@ function FractalWidgetStyles() {
|
|
|
3912
3915
|
width: 100%;
|
|
3913
3916
|
margin-top: auto;
|
|
3914
3917
|
}
|
|
3915
|
-
.fps-auth { font-size: 11px; font-weight: 500; color: var(--fps-text-tertiary); line-height: 1.45; margin: 0; }
|
|
3918
|
+
.fps-auth { font-size: 11px; font-weight: 500; color: var(--fps-text-tertiary); line-height: 1.45; margin: 0; text-align: start !important; }
|
|
3916
3919
|
.fps-auth u, .fps-auth a { text-decoration: underline; cursor: pointer; color: inherit; }
|
|
3917
3920
|
.fps-pay-btn {
|
|
3918
3921
|
height: 44px;
|
|
@@ -3936,7 +3939,7 @@ function FractalWidgetStyles() {
|
|
|
3936
3939
|
width: 16px; height: 16px; margin: 0; margin-top: 1px;
|
|
3937
3940
|
flex-shrink: 0; accent-color: var(--fps-brand); cursor: pointer;
|
|
3938
3941
|
}
|
|
3939
|
-
.fps-check label { font-size: 12px; font-weight: 500; color: var(--fps-text-primary); line-height: 1.4; cursor: pointer; margin: 0; font-family: 'Inter', sans-serif; text-transform: none; }
|
|
3942
|
+
.fps-check label { font-size: 12px; font-weight: 500; color: var(--fps-text-primary); line-height: 1.4; cursor: pointer; margin: 0; font-family: 'Inter', sans-serif; text-transform: none; text-align: start !important; }
|
|
3940
3943
|
.fps-check u, .fps-check a { text-decoration: underline; cursor: pointer; }
|
|
3941
3944
|
.fps-error { color: #dc2626; font-size: 12px; display: block; }
|
|
3942
3945
|
|
|
@@ -3972,7 +3975,7 @@ function FractalOrderSummary({
|
|
|
3972
3975
|
/* @__PURE__ */ jsx17("span", { className: "fps-val", children: l.value })
|
|
3973
3976
|
] }, i)) }),
|
|
3974
3977
|
/* @__PURE__ */ jsx17("div", { className: "fps-divider" }),
|
|
3975
|
-
/* @__PURE__ */ jsxs8("div", { children: [
|
|
3978
|
+
/* @__PURE__ */ jsxs8("div", { className: "fps-total-div", children: [
|
|
3976
3979
|
/* @__PURE__ */ jsx17("div", { className: "fps-total-label", children: totalLabel }),
|
|
3977
3980
|
/* @__PURE__ */ jsx17("div", { className: "fps-total", children: total })
|
|
3978
3981
|
] }),
|
|
@@ -4694,8 +4697,9 @@ function GetPaymentPage(props) {
|
|
|
4694
4697
|
setLoading2(false);
|
|
4695
4698
|
}
|
|
4696
4699
|
const card_issue_type = ((_i2 = tokenizeData == null ? void 0 : tokenizeData.bin_lookup_result) == null ? void 0 : _i2.card_issue_type) || null;
|
|
4697
|
-
|
|
4698
|
-
|
|
4700
|
+
const feeExempt = ["debit", "prepaid"].includes(String(card_issue_type || "").toLowerCase());
|
|
4701
|
+
if (feeExempt && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
|
|
4702
|
+
setLoderText(`Processing ${card_issue_type} card without fee`);
|
|
4699
4703
|
}
|
|
4700
4704
|
console.log(tokenizeData, "tokenizeData");
|
|
4701
4705
|
const reqData = JSON.stringify(__spreadProps(__spreadValues({}, tokenizeData), {
|
|
@@ -4874,8 +4878,9 @@ function GetPaymentPage(props) {
|
|
|
4874
4878
|
if (customer_id) {
|
|
4875
4879
|
if (card_id) {
|
|
4876
4880
|
setLoading2(true);
|
|
4877
|
-
|
|
4878
|
-
|
|
4881
|
+
const feeExempt = ["debit", "prepaid"].includes(String(card_issue_type || "").toLowerCase());
|
|
4882
|
+
if (feeExempt && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
|
|
4883
|
+
setLoderText(`Processing ${card_issue_type} card without fee`);
|
|
4879
4884
|
}
|
|
4880
4885
|
let resultofOrderCreate;
|
|
4881
4886
|
if (!(card_type === "Bank")) {
|