@delopay/sdk 0.154.0 → 0.156.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CRR4YKJV.js → chunk-IJN66KOR.js} +377 -1
- package/dist/chunk-IJN66KOR.js.map +1 -0
- package/dist/index.cjs +398 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +305 -16
- package/dist/index.d.ts +305 -16
- package/dist/index.js +45 -1
- package/dist/internal.cjs +398 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +45 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CRR4YKJV.js.map +0 -1
|
@@ -3809,6 +3809,9 @@ var Verification = class {
|
|
|
3809
3809
|
function isSubscriptionLifecycleWebhook(object) {
|
|
3810
3810
|
return typeof object.transition_id === "string";
|
|
3811
3811
|
}
|
|
3812
|
+
function isSubscriptionDisputeWebhook(object) {
|
|
3813
|
+
return typeof object.connector_dispute_id === "string";
|
|
3814
|
+
}
|
|
3812
3815
|
function hexToBytes(hex) {
|
|
3813
3816
|
if (hex.length === 0 || hex.length % 2 !== 0) return null;
|
|
3814
3817
|
const bytes = new Uint8Array(hex.length / 2);
|
|
@@ -5853,6 +5856,72 @@ function airwallexFieldWeightValue(weight) {
|
|
|
5853
5856
|
}
|
|
5854
5857
|
var AIRWALLEX_NETWORK_MARKS = ["visa", "mastercard", "amex", "discover"];
|
|
5855
5858
|
|
|
5859
|
+
// src/cardFormStyles.ts
|
|
5860
|
+
var CARD_FIELD_CHROMES = AIRWALLEX_FIELD_CHROMES;
|
|
5861
|
+
var CARD_FIELD_FONT_SIZES = AIRWALLEX_FIELD_FONT_SIZES;
|
|
5862
|
+
var CARD_FIELD_WEIGHTS = AIRWALLEX_FIELD_WEIGHTS;
|
|
5863
|
+
var CARD_FOCUS_RINGS = AIRWALLEX_FOCUS_RINGS;
|
|
5864
|
+
function cardFieldFontPx(size) {
|
|
5865
|
+
return size === "sm" ? 14 : size === "lg" ? 18 : 16;
|
|
5866
|
+
}
|
|
5867
|
+
function cardFieldWeightValue(weight) {
|
|
5868
|
+
return weight === "regular" ? 400 : weight === "semibold" ? 600 : 500;
|
|
5869
|
+
}
|
|
5870
|
+
var STRIPE_THEMES = ["auto", "stripe", "flat", "night"];
|
|
5871
|
+
function resolveStripeTheme(theme, dark) {
|
|
5872
|
+
if (theme === "auto") return dark ? "night" : "stripe";
|
|
5873
|
+
return theme;
|
|
5874
|
+
}
|
|
5875
|
+
var STRIPE_INPUT_STYLES = ["spaced", "condensed"];
|
|
5876
|
+
var STRIPE_LABEL_PLACEMENTS = ["above", "floating"];
|
|
5877
|
+
var STRIPE_SPACINGS = ["compact", "comfortable", "spacious"];
|
|
5878
|
+
function stripeSpacingValues(spacing) {
|
|
5879
|
+
if (spacing === "compact") return { spacingUnit: "3px", gridRowSpacing: "8px" };
|
|
5880
|
+
if (spacing === "spacious") return { spacingUnit: "5px", gridRowSpacing: "16px" };
|
|
5881
|
+
return { spacingUnit: "4px", gridRowSpacing: "12px" };
|
|
5882
|
+
}
|
|
5883
|
+
var PAYPAL_CARD_LAYOUTS = ["split", "stacked"];
|
|
5884
|
+
var PAYPAL_LABEL_STYLES = ["above", "none"];
|
|
5885
|
+
var NOMUPAY_FORM_STYLES = ["plain", "card"];
|
|
5886
|
+
var APPLE_PAY_BUTTON_STYLES = ["auto", "black", "white", "white-outline"];
|
|
5887
|
+
function resolveApplePayButtonStyle(style, dark) {
|
|
5888
|
+
if (style === "auto") return dark ? "white" : "black";
|
|
5889
|
+
return style;
|
|
5890
|
+
}
|
|
5891
|
+
var APPLE_PAY_BUTTON_TYPES = [
|
|
5892
|
+
"pay",
|
|
5893
|
+
"plain",
|
|
5894
|
+
"buy",
|
|
5895
|
+
"check-out",
|
|
5896
|
+
"continue",
|
|
5897
|
+
"book",
|
|
5898
|
+
"order",
|
|
5899
|
+
"subscribe",
|
|
5900
|
+
"donate",
|
|
5901
|
+
"contribute",
|
|
5902
|
+
"support",
|
|
5903
|
+
"tip",
|
|
5904
|
+
"add-money",
|
|
5905
|
+
"top-up",
|
|
5906
|
+
"reload",
|
|
5907
|
+
"rent"
|
|
5908
|
+
];
|
|
5909
|
+
var GOOGLE_PAY_BUTTON_COLORS = ["auto", "default", "black", "white"];
|
|
5910
|
+
function resolveGooglePayButtonColor(color, dark) {
|
|
5911
|
+
if (color === "auto") return dark ? "white" : "black";
|
|
5912
|
+
return color;
|
|
5913
|
+
}
|
|
5914
|
+
var GOOGLE_PAY_BUTTON_TYPES = [
|
|
5915
|
+
"pay",
|
|
5916
|
+
"plain",
|
|
5917
|
+
"buy",
|
|
5918
|
+
"checkout",
|
|
5919
|
+
"book",
|
|
5920
|
+
"order",
|
|
5921
|
+
"subscribe",
|
|
5922
|
+
"donate"
|
|
5923
|
+
];
|
|
5924
|
+
|
|
5856
5925
|
// src/branding.ts
|
|
5857
5926
|
function surchargeShowsLabel(labelMode, style, position) {
|
|
5858
5927
|
if (labelMode !== "labelled") return false;
|
|
@@ -6416,6 +6485,34 @@ var DEFAULT_BRANDING_BASE = {
|
|
|
6416
6485
|
airwallexAutofill: "system",
|
|
6417
6486
|
airwallexValidTint: false,
|
|
6418
6487
|
airwallexNetworkMarks: false,
|
|
6488
|
+
// Every card-form field below starts on what its pane drew before the
|
|
6489
|
+
// setting existed, so a merchant who never opens a section sees no change.
|
|
6490
|
+
stripeTheme: "auto",
|
|
6491
|
+
stripeInputs: "spaced",
|
|
6492
|
+
stripeLabels: "above",
|
|
6493
|
+
stripeSpacing: "comfortable",
|
|
6494
|
+
stripeFieldFontSize: "md",
|
|
6495
|
+
stripeFieldWeight: "medium",
|
|
6496
|
+
stripeFocusRing: "strong",
|
|
6497
|
+
stripeDisableAnimations: false,
|
|
6498
|
+
paypalCardLayout: "split",
|
|
6499
|
+
paypalLabelStyle: "above",
|
|
6500
|
+
paypalFieldChrome: "outlined",
|
|
6501
|
+
paypalFieldFontSize: "md",
|
|
6502
|
+
paypalFieldWeight: "regular",
|
|
6503
|
+
paypalFocusRing: "strong",
|
|
6504
|
+
paypalValidTint: false,
|
|
6505
|
+
nomupayFormStyle: "plain",
|
|
6506
|
+
nomupayShowLabels: true,
|
|
6507
|
+
nomupayShowPlaceholders: true,
|
|
6508
|
+
nomupayShowCvvHint: false,
|
|
6509
|
+
nomupayFieldChrome: "outlined",
|
|
6510
|
+
nomupayFieldFontSize: "md",
|
|
6511
|
+
nomupayFocusRing: "none",
|
|
6512
|
+
nomupayApplePayButtonStyle: "auto",
|
|
6513
|
+
nomupayApplePayButtonType: "pay",
|
|
6514
|
+
nomupayGooglePayButtonColor: "auto",
|
|
6515
|
+
nomupayGooglePayButtonType: "pay",
|
|
6419
6516
|
customCss: ""
|
|
6420
6517
|
};
|
|
6421
6518
|
var DEFAULT_BRANDING = {
|
|
@@ -7154,6 +7251,125 @@ function decodeBranding(source) {
|
|
|
7154
7251
|
extras["airwallexNetworkMarks"],
|
|
7155
7252
|
DEFAULT_BRANDING.airwallexNetworkMarks
|
|
7156
7253
|
),
|
|
7254
|
+
stripeTheme: pickEnum(
|
|
7255
|
+
extras["stripeTheme"],
|
|
7256
|
+
STRIPE_THEMES,
|
|
7257
|
+
DEFAULT_BRANDING.stripeTheme
|
|
7258
|
+
),
|
|
7259
|
+
stripeInputs: pickEnum(
|
|
7260
|
+
extras["stripeInputs"],
|
|
7261
|
+
STRIPE_INPUT_STYLES,
|
|
7262
|
+
DEFAULT_BRANDING.stripeInputs
|
|
7263
|
+
),
|
|
7264
|
+
stripeLabels: pickEnum(
|
|
7265
|
+
extras["stripeLabels"],
|
|
7266
|
+
STRIPE_LABEL_PLACEMENTS,
|
|
7267
|
+
DEFAULT_BRANDING.stripeLabels
|
|
7268
|
+
),
|
|
7269
|
+
stripeSpacing: pickEnum(
|
|
7270
|
+
extras["stripeSpacing"],
|
|
7271
|
+
STRIPE_SPACINGS,
|
|
7272
|
+
DEFAULT_BRANDING.stripeSpacing
|
|
7273
|
+
),
|
|
7274
|
+
stripeFieldFontSize: pickEnum(
|
|
7275
|
+
extras["stripeFieldFontSize"],
|
|
7276
|
+
CARD_FIELD_FONT_SIZES,
|
|
7277
|
+
DEFAULT_BRANDING.stripeFieldFontSize
|
|
7278
|
+
),
|
|
7279
|
+
stripeFieldWeight: pickEnum(
|
|
7280
|
+
extras["stripeFieldWeight"],
|
|
7281
|
+
CARD_FIELD_WEIGHTS,
|
|
7282
|
+
DEFAULT_BRANDING.stripeFieldWeight
|
|
7283
|
+
),
|
|
7284
|
+
stripeFocusRing: pickEnum(
|
|
7285
|
+
extras["stripeFocusRing"],
|
|
7286
|
+
CARD_FOCUS_RINGS,
|
|
7287
|
+
DEFAULT_BRANDING.stripeFocusRing
|
|
7288
|
+
),
|
|
7289
|
+
stripeDisableAnimations: parseBool(
|
|
7290
|
+
extras["stripeDisableAnimations"],
|
|
7291
|
+
DEFAULT_BRANDING.stripeDisableAnimations
|
|
7292
|
+
),
|
|
7293
|
+
paypalCardLayout: pickEnum(
|
|
7294
|
+
extras["paypalCardLayout"],
|
|
7295
|
+
PAYPAL_CARD_LAYOUTS,
|
|
7296
|
+
DEFAULT_BRANDING.paypalCardLayout
|
|
7297
|
+
),
|
|
7298
|
+
paypalLabelStyle: pickEnum(
|
|
7299
|
+
extras["paypalLabelStyle"],
|
|
7300
|
+
PAYPAL_LABEL_STYLES,
|
|
7301
|
+
DEFAULT_BRANDING.paypalLabelStyle
|
|
7302
|
+
),
|
|
7303
|
+
paypalFieldChrome: pickEnum(
|
|
7304
|
+
extras["paypalFieldChrome"],
|
|
7305
|
+
CARD_FIELD_CHROMES,
|
|
7306
|
+
DEFAULT_BRANDING.paypalFieldChrome
|
|
7307
|
+
),
|
|
7308
|
+
paypalFieldFontSize: pickEnum(
|
|
7309
|
+
extras["paypalFieldFontSize"],
|
|
7310
|
+
CARD_FIELD_FONT_SIZES,
|
|
7311
|
+
DEFAULT_BRANDING.paypalFieldFontSize
|
|
7312
|
+
),
|
|
7313
|
+
paypalFieldWeight: pickEnum(
|
|
7314
|
+
extras["paypalFieldWeight"],
|
|
7315
|
+
CARD_FIELD_WEIGHTS,
|
|
7316
|
+
DEFAULT_BRANDING.paypalFieldWeight
|
|
7317
|
+
),
|
|
7318
|
+
paypalFocusRing: pickEnum(
|
|
7319
|
+
extras["paypalFocusRing"],
|
|
7320
|
+
CARD_FOCUS_RINGS,
|
|
7321
|
+
DEFAULT_BRANDING.paypalFocusRing
|
|
7322
|
+
),
|
|
7323
|
+
paypalValidTint: parseBool(extras["paypalValidTint"], DEFAULT_BRANDING.paypalValidTint),
|
|
7324
|
+
nomupayFormStyle: pickEnum(
|
|
7325
|
+
extras["nomupayFormStyle"],
|
|
7326
|
+
NOMUPAY_FORM_STYLES,
|
|
7327
|
+
DEFAULT_BRANDING.nomupayFormStyle
|
|
7328
|
+
),
|
|
7329
|
+
nomupayShowLabels: parseBool(extras["nomupayShowLabels"], DEFAULT_BRANDING.nomupayShowLabels),
|
|
7330
|
+
nomupayShowPlaceholders: parseBool(
|
|
7331
|
+
extras["nomupayShowPlaceholders"],
|
|
7332
|
+
DEFAULT_BRANDING.nomupayShowPlaceholders
|
|
7333
|
+
),
|
|
7334
|
+
nomupayShowCvvHint: parseBool(
|
|
7335
|
+
extras["nomupayShowCvvHint"],
|
|
7336
|
+
DEFAULT_BRANDING.nomupayShowCvvHint
|
|
7337
|
+
),
|
|
7338
|
+
nomupayFieldChrome: pickEnum(
|
|
7339
|
+
extras["nomupayFieldChrome"],
|
|
7340
|
+
CARD_FIELD_CHROMES,
|
|
7341
|
+
DEFAULT_BRANDING.nomupayFieldChrome
|
|
7342
|
+
),
|
|
7343
|
+
nomupayFieldFontSize: pickEnum(
|
|
7344
|
+
extras["nomupayFieldFontSize"],
|
|
7345
|
+
CARD_FIELD_FONT_SIZES,
|
|
7346
|
+
DEFAULT_BRANDING.nomupayFieldFontSize
|
|
7347
|
+
),
|
|
7348
|
+
nomupayFocusRing: pickEnum(
|
|
7349
|
+
extras["nomupayFocusRing"],
|
|
7350
|
+
CARD_FOCUS_RINGS,
|
|
7351
|
+
DEFAULT_BRANDING.nomupayFocusRing
|
|
7352
|
+
),
|
|
7353
|
+
nomupayApplePayButtonStyle: pickEnum(
|
|
7354
|
+
extras["nomupayApplePayButtonStyle"],
|
|
7355
|
+
APPLE_PAY_BUTTON_STYLES,
|
|
7356
|
+
DEFAULT_BRANDING.nomupayApplePayButtonStyle
|
|
7357
|
+
),
|
|
7358
|
+
nomupayApplePayButtonType: pickEnum(
|
|
7359
|
+
extras["nomupayApplePayButtonType"],
|
|
7360
|
+
APPLE_PAY_BUTTON_TYPES,
|
|
7361
|
+
DEFAULT_BRANDING.nomupayApplePayButtonType
|
|
7362
|
+
),
|
|
7363
|
+
nomupayGooglePayButtonColor: pickEnum(
|
|
7364
|
+
extras["nomupayGooglePayButtonColor"],
|
|
7365
|
+
GOOGLE_PAY_BUTTON_COLORS,
|
|
7366
|
+
DEFAULT_BRANDING.nomupayGooglePayButtonColor
|
|
7367
|
+
),
|
|
7368
|
+
nomupayGooglePayButtonType: pickEnum(
|
|
7369
|
+
extras["nomupayGooglePayButtonType"],
|
|
7370
|
+
GOOGLE_PAY_BUTTON_TYPES,
|
|
7371
|
+
DEFAULT_BRANDING.nomupayGooglePayButtonType
|
|
7372
|
+
),
|
|
7157
7373
|
customCss: s(extras["customCss"])
|
|
7158
7374
|
};
|
|
7159
7375
|
}
|
|
@@ -7226,6 +7442,32 @@ function encodeBranding(branding, base) {
|
|
|
7226
7442
|
airwallexAutofill: branding.airwallexAutofill,
|
|
7227
7443
|
airwallexValidTint: String(branding.airwallexValidTint),
|
|
7228
7444
|
airwallexNetworkMarks: String(branding.airwallexNetworkMarks),
|
|
7445
|
+
stripeTheme: branding.stripeTheme,
|
|
7446
|
+
stripeInputs: branding.stripeInputs,
|
|
7447
|
+
stripeLabels: branding.stripeLabels,
|
|
7448
|
+
stripeSpacing: branding.stripeSpacing,
|
|
7449
|
+
stripeFieldFontSize: branding.stripeFieldFontSize,
|
|
7450
|
+
stripeFieldWeight: branding.stripeFieldWeight,
|
|
7451
|
+
stripeFocusRing: branding.stripeFocusRing,
|
|
7452
|
+
stripeDisableAnimations: String(branding.stripeDisableAnimations),
|
|
7453
|
+
paypalCardLayout: branding.paypalCardLayout,
|
|
7454
|
+
paypalLabelStyle: branding.paypalLabelStyle,
|
|
7455
|
+
paypalFieldChrome: branding.paypalFieldChrome,
|
|
7456
|
+
paypalFieldFontSize: branding.paypalFieldFontSize,
|
|
7457
|
+
paypalFieldWeight: branding.paypalFieldWeight,
|
|
7458
|
+
paypalFocusRing: branding.paypalFocusRing,
|
|
7459
|
+
paypalValidTint: String(branding.paypalValidTint),
|
|
7460
|
+
nomupayFormStyle: branding.nomupayFormStyle,
|
|
7461
|
+
nomupayShowLabels: String(branding.nomupayShowLabels),
|
|
7462
|
+
nomupayShowPlaceholders: String(branding.nomupayShowPlaceholders),
|
|
7463
|
+
nomupayShowCvvHint: String(branding.nomupayShowCvvHint),
|
|
7464
|
+
nomupayFieldChrome: branding.nomupayFieldChrome,
|
|
7465
|
+
nomupayFieldFontSize: branding.nomupayFieldFontSize,
|
|
7466
|
+
nomupayFocusRing: branding.nomupayFocusRing,
|
|
7467
|
+
nomupayApplePayButtonStyle: branding.nomupayApplePayButtonStyle,
|
|
7468
|
+
nomupayApplePayButtonType: branding.nomupayApplePayButtonType,
|
|
7469
|
+
nomupayGooglePayButtonColor: branding.nomupayGooglePayButtonColor,
|
|
7470
|
+
nomupayGooglePayButtonType: branding.nomupayGooglePayButtonType,
|
|
7229
7471
|
trustBadges: encodeBadges(branding.trustBadges),
|
|
7230
7472
|
[METHOD_SECTION_ORDER_KEY]: encodeMethodSectionOrder(branding.methodSectionOrder)
|
|
7231
7473
|
};
|
|
@@ -7496,6 +7738,118 @@ function parseImportedBranding(raw) {
|
|
|
7496
7738
|
),
|
|
7497
7739
|
airwallexValidTint: parseBool(root["airwallexValidTint"], dflt.airwallexValidTint),
|
|
7498
7740
|
airwallexNetworkMarks: parseBool(root["airwallexNetworkMarks"], dflt.airwallexNetworkMarks),
|
|
7741
|
+
stripeTheme: pickEnum(root["stripeTheme"], STRIPE_THEMES, dflt.stripeTheme),
|
|
7742
|
+
stripeInputs: pickEnum(
|
|
7743
|
+
root["stripeInputs"],
|
|
7744
|
+
STRIPE_INPUT_STYLES,
|
|
7745
|
+
dflt.stripeInputs
|
|
7746
|
+
),
|
|
7747
|
+
stripeLabels: pickEnum(
|
|
7748
|
+
root["stripeLabels"],
|
|
7749
|
+
STRIPE_LABEL_PLACEMENTS,
|
|
7750
|
+
dflt.stripeLabels
|
|
7751
|
+
),
|
|
7752
|
+
stripeSpacing: pickEnum(
|
|
7753
|
+
root["stripeSpacing"],
|
|
7754
|
+
STRIPE_SPACINGS,
|
|
7755
|
+
dflt.stripeSpacing
|
|
7756
|
+
),
|
|
7757
|
+
stripeFieldFontSize: pickEnum(
|
|
7758
|
+
root["stripeFieldFontSize"],
|
|
7759
|
+
CARD_FIELD_FONT_SIZES,
|
|
7760
|
+
dflt.stripeFieldFontSize
|
|
7761
|
+
),
|
|
7762
|
+
stripeFieldWeight: pickEnum(
|
|
7763
|
+
root["stripeFieldWeight"],
|
|
7764
|
+
CARD_FIELD_WEIGHTS,
|
|
7765
|
+
dflt.stripeFieldWeight
|
|
7766
|
+
),
|
|
7767
|
+
stripeFocusRing: pickEnum(
|
|
7768
|
+
root["stripeFocusRing"],
|
|
7769
|
+
CARD_FOCUS_RINGS,
|
|
7770
|
+
dflt.stripeFocusRing
|
|
7771
|
+
),
|
|
7772
|
+
stripeDisableAnimations: parseBool(
|
|
7773
|
+
root["stripeDisableAnimations"],
|
|
7774
|
+
dflt.stripeDisableAnimations
|
|
7775
|
+
),
|
|
7776
|
+
paypalCardLayout: pickEnum(
|
|
7777
|
+
root["paypalCardLayout"],
|
|
7778
|
+
PAYPAL_CARD_LAYOUTS,
|
|
7779
|
+
dflt.paypalCardLayout
|
|
7780
|
+
),
|
|
7781
|
+
paypalLabelStyle: pickEnum(
|
|
7782
|
+
root["paypalLabelStyle"],
|
|
7783
|
+
PAYPAL_LABEL_STYLES,
|
|
7784
|
+
dflt.paypalLabelStyle
|
|
7785
|
+
),
|
|
7786
|
+
paypalFieldChrome: pickEnum(
|
|
7787
|
+
root["paypalFieldChrome"],
|
|
7788
|
+
CARD_FIELD_CHROMES,
|
|
7789
|
+
dflt.paypalFieldChrome
|
|
7790
|
+
),
|
|
7791
|
+
paypalFieldFontSize: pickEnum(
|
|
7792
|
+
root["paypalFieldFontSize"],
|
|
7793
|
+
CARD_FIELD_FONT_SIZES,
|
|
7794
|
+
dflt.paypalFieldFontSize
|
|
7795
|
+
),
|
|
7796
|
+
paypalFieldWeight: pickEnum(
|
|
7797
|
+
root["paypalFieldWeight"],
|
|
7798
|
+
CARD_FIELD_WEIGHTS,
|
|
7799
|
+
dflt.paypalFieldWeight
|
|
7800
|
+
),
|
|
7801
|
+
paypalFocusRing: pickEnum(
|
|
7802
|
+
root["paypalFocusRing"],
|
|
7803
|
+
CARD_FOCUS_RINGS,
|
|
7804
|
+
dflt.paypalFocusRing
|
|
7805
|
+
),
|
|
7806
|
+
paypalValidTint: parseBool(root["paypalValidTint"], dflt.paypalValidTint),
|
|
7807
|
+
nomupayFormStyle: pickEnum(
|
|
7808
|
+
root["nomupayFormStyle"],
|
|
7809
|
+
NOMUPAY_FORM_STYLES,
|
|
7810
|
+
dflt.nomupayFormStyle
|
|
7811
|
+
),
|
|
7812
|
+
nomupayShowLabels: parseBool(root["nomupayShowLabels"], dflt.nomupayShowLabels),
|
|
7813
|
+
nomupayShowPlaceholders: parseBool(
|
|
7814
|
+
root["nomupayShowPlaceholders"],
|
|
7815
|
+
dflt.nomupayShowPlaceholders
|
|
7816
|
+
),
|
|
7817
|
+
nomupayShowCvvHint: parseBool(root["nomupayShowCvvHint"], dflt.nomupayShowCvvHint),
|
|
7818
|
+
nomupayFieldChrome: pickEnum(
|
|
7819
|
+
root["nomupayFieldChrome"],
|
|
7820
|
+
CARD_FIELD_CHROMES,
|
|
7821
|
+
dflt.nomupayFieldChrome
|
|
7822
|
+
),
|
|
7823
|
+
nomupayFieldFontSize: pickEnum(
|
|
7824
|
+
root["nomupayFieldFontSize"],
|
|
7825
|
+
CARD_FIELD_FONT_SIZES,
|
|
7826
|
+
dflt.nomupayFieldFontSize
|
|
7827
|
+
),
|
|
7828
|
+
nomupayFocusRing: pickEnum(
|
|
7829
|
+
root["nomupayFocusRing"],
|
|
7830
|
+
CARD_FOCUS_RINGS,
|
|
7831
|
+
dflt.nomupayFocusRing
|
|
7832
|
+
),
|
|
7833
|
+
nomupayApplePayButtonStyle: pickEnum(
|
|
7834
|
+
root["nomupayApplePayButtonStyle"],
|
|
7835
|
+
APPLE_PAY_BUTTON_STYLES,
|
|
7836
|
+
dflt.nomupayApplePayButtonStyle
|
|
7837
|
+
),
|
|
7838
|
+
nomupayApplePayButtonType: pickEnum(
|
|
7839
|
+
root["nomupayApplePayButtonType"],
|
|
7840
|
+
APPLE_PAY_BUTTON_TYPES,
|
|
7841
|
+
dflt.nomupayApplePayButtonType
|
|
7842
|
+
),
|
|
7843
|
+
nomupayGooglePayButtonColor: pickEnum(
|
|
7844
|
+
root["nomupayGooglePayButtonColor"],
|
|
7845
|
+
GOOGLE_PAY_BUTTON_COLORS,
|
|
7846
|
+
dflt.nomupayGooglePayButtonColor
|
|
7847
|
+
),
|
|
7848
|
+
nomupayGooglePayButtonType: pickEnum(
|
|
7849
|
+
root["nomupayGooglePayButtonType"],
|
|
7850
|
+
GOOGLE_PAY_BUTTON_TYPES,
|
|
7851
|
+
dflt.nomupayGooglePayButtonType
|
|
7852
|
+
),
|
|
7499
7853
|
customCss: sStr(root["customCss"], dflt.customCss).slice(0, CUSTOM_CSS_MAX_LENGTH)
|
|
7500
7854
|
};
|
|
7501
7855
|
}
|
|
@@ -8373,6 +8727,7 @@ export {
|
|
|
8373
8727
|
PaypalDisputes,
|
|
8374
8728
|
Search,
|
|
8375
8729
|
isSubscriptionLifecycleWebhook,
|
|
8730
|
+
isSubscriptionDisputeWebhook,
|
|
8376
8731
|
Webhooks,
|
|
8377
8732
|
Analytics,
|
|
8378
8733
|
AnalyticsDashboard,
|
|
@@ -8415,6 +8770,27 @@ export {
|
|
|
8415
8770
|
airwallexFieldFontPx,
|
|
8416
8771
|
airwallexFieldWeightValue,
|
|
8417
8772
|
AIRWALLEX_NETWORK_MARKS,
|
|
8773
|
+
CARD_FIELD_CHROMES,
|
|
8774
|
+
CARD_FIELD_FONT_SIZES,
|
|
8775
|
+
CARD_FIELD_WEIGHTS,
|
|
8776
|
+
CARD_FOCUS_RINGS,
|
|
8777
|
+
cardFieldFontPx,
|
|
8778
|
+
cardFieldWeightValue,
|
|
8779
|
+
STRIPE_THEMES,
|
|
8780
|
+
resolveStripeTheme,
|
|
8781
|
+
STRIPE_INPUT_STYLES,
|
|
8782
|
+
STRIPE_LABEL_PLACEMENTS,
|
|
8783
|
+
STRIPE_SPACINGS,
|
|
8784
|
+
stripeSpacingValues,
|
|
8785
|
+
PAYPAL_CARD_LAYOUTS,
|
|
8786
|
+
PAYPAL_LABEL_STYLES,
|
|
8787
|
+
NOMUPAY_FORM_STYLES,
|
|
8788
|
+
APPLE_PAY_BUTTON_STYLES,
|
|
8789
|
+
resolveApplePayButtonStyle,
|
|
8790
|
+
APPLE_PAY_BUTTON_TYPES,
|
|
8791
|
+
GOOGLE_PAY_BUTTON_COLORS,
|
|
8792
|
+
resolveGooglePayButtonColor,
|
|
8793
|
+
GOOGLE_PAY_BUTTON_TYPES,
|
|
8418
8794
|
surchargeShowsLabel,
|
|
8419
8795
|
surchargeFigurePlan,
|
|
8420
8796
|
readableInkOn,
|
|
@@ -8540,4 +8916,4 @@ export {
|
|
|
8540
8916
|
decodeNativePanes,
|
|
8541
8917
|
encodeNativePanes
|
|
8542
8918
|
};
|
|
8543
|
-
//# sourceMappingURL=chunk-
|
|
8919
|
+
//# sourceMappingURL=chunk-IJN66KOR.js.map
|