Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x 493x | import { VALIDATION_MESSAGES } from "@validation/messages";
export const SUPPORT_DEFAULT_MESSAGE =
"Would you mind helping our business by covering the processing fee?";
// Character cap for the Confirmation-tab messages (Custom Thank You Message and
// Custom Message for Receipt). This is a UI-side product limit, not a backend
// one: the API caps successMessage/receiptMessage at 8000 *bytes*
// (app/ui/params.go). 2000 UTF-16 units stays inside that even in the worst
// case, because the portal expands each newline to "<br>" (4 bytes) before
// sending the receipt message -- raising this const requires raising that
// bound too. Passing it to GiveInput is also what makes the character
// (app/ui/params.go). Passing it to GiveInput is also what makes the character
// counter render at all -- displayCounter alone is inert without a maxLength.
export const MAX_CONFIRMATION_MESSAGE_LEN = 2000;
// Product
export const DEFAULT_THANK_YOU_MESSAGE =
"Your order has been received and currently is being processed. You will receive a confirmation email shortly.";
export const DEFAULT_RECEIPT_MESSAGE =
"Thank you for your order. We're busy getting it ready for you.";
// Fundraiser
export const DEFAULT_FUNDRAISER_THANK_YOU_MESSAGE = `Thank you for your donation! Your generosity makes a difference, and we’re thrilled to have your support. You’ll receive a confirmation email with your donation details shortly.`;
export const DEFAULT_FUNDRAISER_RECEIPT_MESSAGE = `Thank you for your donation! Your generosity makes a difference, and we’re thrilled to have your support.`;
export const DEFAULT_FUNDRAISER_OPTIONAL_AMOUNTS = [
"5.00",
"20.00",
"100.00",
"500.00",
];
export const DEFAULT_SWEEPSTAKES_CUSTOM_QNT = ["1", "2", "3", "4"];
// Event
export const DEFAULT_EVENT_THANK_YOU_MESSAGE = `Thank you for your order. We're excited to have you join us at the event. You will receive a confirmation email shortly.`;
export const DEFAULT_EVENT_RECEIPT_MESSAGE = `Thank you for your order. We're excited to have you join us at the event.`;
// Memberships
export const DEFAULT_MEMBERSHIP_THANK_YOU_MESSAGE =
"Your membership has been set up and will activate soon. You will receive a confirmation email shortly.";
export const DEFAULT_MEMBERSHIP_RECEIPT_MESSAGE =
"Thank you for joining! We're excited to have you with us. Enjoy all the great benefits we offer.";
// Sweepstakes
export const DEFAULT_SWEEEPSTAKE_THANK_YOU_MESSAGE =
"Thanks for taking part in our Sweepstakes! You will receive a confirmation email shortly.";
export const DEFAULT_SWEEPSTAKE_RECEIPT_MESSAGE =
"Thanks for taking part in our Sweepstakes!";
// Invoices
export const DEFAULT_INVOICE_THANK_YOU_MESSAGE =
"Thank you for your payment. Your invoice has been processed successfully.";
export const DEFAULT_INVOICE_RECEIPT_MESSAGE =
"Thank you for your payment. Your invoice has been processed successfully.";
export const addressFields = {
country: "United States",
firstName: "",
lastName: "",
address: "",
apartment: "",
city: "",
province: "",
zipCode: "",
};
export const FIELD_REQUIRED_MESSAGE = VALIDATION_MESSAGES.REQUIRED;
export const FIELD_DISABLED_TOOLTIP =
"You can't type in this field while in preview mode";
export const DEFAULT_FEE_PAYER = "merchant";
export const FEE_PAYER_OPTIONS = {
MERCHANT: "merchant",
CUSTOMER: "customer",
CUSTOMER_CHOICE: "selectable",
} as const;
|