@delopay/sdk 0.164.0 → 0.166.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/README.md +2 -0
- package/dist/{chunk-GCJDY4KX.js → chunk-W57MOHOE.js} +740 -50
- package/dist/chunk-W57MOHOE.js.map +1 -0
- package/dist/index.cjs +756 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +349 -44
- package/dist/index.d.ts +349 -44
- package/dist/index.js +37 -1
- package/dist/internal.cjs +778 -60
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +77 -7
- package/dist/internal.d.ts +77 -7
- package/dist/internal.js +60 -12
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-GCJDY4KX.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
DEFAULT_BADGES_DARK,
|
|
43
43
|
DEFAULT_BRANDING,
|
|
44
44
|
DEFAULT_BRANDING_DARK,
|
|
45
|
+
DEFAULT_NOTICES,
|
|
45
46
|
Delopay,
|
|
46
47
|
DelopayAuthenticationError,
|
|
47
48
|
DelopayError,
|
|
@@ -63,6 +64,12 @@ import {
|
|
|
63
64
|
NATIVE_PANE_CATEGORY_KEYS,
|
|
64
65
|
NATIVE_PANE_ICON_KEYS,
|
|
65
66
|
NOMUPAY_FORM_STYLES,
|
|
67
|
+
NOTICES_PER_SECTION,
|
|
68
|
+
NOTICE_ICONS,
|
|
69
|
+
NOTICE_ICON_FALLBACK,
|
|
70
|
+
NOTICE_ICON_PATHS,
|
|
71
|
+
NOTICE_LABEL_MAX_LENGTH,
|
|
72
|
+
NOTICE_SECTIONS,
|
|
66
73
|
OperationLimits,
|
|
67
74
|
PANES_MAX,
|
|
68
75
|
PANE_CATEGORY_KEYS,
|
|
@@ -120,6 +127,7 @@ import {
|
|
|
120
127
|
cloneBranding,
|
|
121
128
|
cloneCustomField,
|
|
122
129
|
cloneNativePane,
|
|
130
|
+
cloneNotice,
|
|
123
131
|
clonePane,
|
|
124
132
|
compareSections,
|
|
125
133
|
contrastRatio,
|
|
@@ -135,11 +143,13 @@ import {
|
|
|
135
143
|
decodeMethodSectionLabels,
|
|
136
144
|
decodeMethodSectionOrder,
|
|
137
145
|
decodeNativePanes,
|
|
146
|
+
decodeNotices,
|
|
138
147
|
decodePanes,
|
|
139
148
|
defaultBranding,
|
|
140
149
|
defaultCustomFieldVisibility,
|
|
141
150
|
defaultMethodSectionOrder,
|
|
142
151
|
defaultNativePane,
|
|
152
|
+
defaultNotices,
|
|
143
153
|
defaultOperatorForSource,
|
|
144
154
|
defaultPane,
|
|
145
155
|
emptyPaneCatalog,
|
|
@@ -149,6 +159,7 @@ import {
|
|
|
149
159
|
encodeMethodSectionLabels,
|
|
150
160
|
encodeMethodSectionOrder,
|
|
151
161
|
encodeNativePanes,
|
|
162
|
+
encodeNotices,
|
|
152
163
|
encodePanes,
|
|
153
164
|
evaluateCustomFieldCondition,
|
|
154
165
|
evaluateCustomFieldVisibility,
|
|
@@ -159,13 +170,17 @@ import {
|
|
|
159
170
|
inputPadValue,
|
|
160
171
|
isCheckboxChecked,
|
|
161
172
|
isDarkSurface,
|
|
173
|
+
isDefaultBadgeSet,
|
|
162
174
|
isHexColor,
|
|
175
|
+
isNoticeIcon,
|
|
163
176
|
isSubscriptionDisputeWebhook,
|
|
164
177
|
isSubscriptionLifecycleWebhook,
|
|
165
178
|
knownSectionLabelKey,
|
|
166
179
|
leaf,
|
|
167
180
|
logoDimensions,
|
|
168
181
|
nativePaneMethodInfo,
|
|
182
|
+
noticeText,
|
|
183
|
+
noticesIn,
|
|
169
184
|
offerablePaneMethods,
|
|
170
185
|
paneCatalogFor,
|
|
171
186
|
paneDisplayDefaults,
|
|
@@ -174,6 +189,7 @@ import {
|
|
|
174
189
|
paneViewVisibility,
|
|
175
190
|
parseCustomFieldsLoose,
|
|
176
191
|
parseImportedBranding,
|
|
192
|
+
parseNoticesLoose,
|
|
177
193
|
programToTree,
|
|
178
194
|
radiusValue,
|
|
179
195
|
readableInkOn,
|
|
@@ -181,12 +197,14 @@ import {
|
|
|
181
197
|
resolveAirwallexLabelStyle,
|
|
182
198
|
resolveApplePayButtonStyle,
|
|
183
199
|
resolveGooglePayButtonColor,
|
|
200
|
+
resolveNoticesAndBadges,
|
|
184
201
|
resolveStripeTheme,
|
|
185
202
|
ruleMatchToTree,
|
|
186
203
|
sanitizeCustomCss,
|
|
187
204
|
sectionLabel,
|
|
188
205
|
sectionOrderOf,
|
|
189
206
|
shadowFor,
|
|
207
|
+
shownNotices,
|
|
190
208
|
stripeSpacingValues,
|
|
191
209
|
surchargeFigurePlan,
|
|
192
210
|
surchargeShowsLabel,
|
|
@@ -197,7 +215,7 @@ import {
|
|
|
197
215
|
validatePanes,
|
|
198
216
|
verticalGapValue,
|
|
199
217
|
visibleCustomFields
|
|
200
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-W57MOHOE.js";
|
|
201
219
|
export {
|
|
202
220
|
AIRWALLEX_AUTOFILL_TREATMENTS,
|
|
203
221
|
AIRWALLEX_CARD_LAYOUTS,
|
|
@@ -242,6 +260,7 @@ export {
|
|
|
242
260
|
DEFAULT_BADGES_DARK,
|
|
243
261
|
DEFAULT_BRANDING,
|
|
244
262
|
DEFAULT_BRANDING_DARK,
|
|
263
|
+
DEFAULT_NOTICES,
|
|
245
264
|
Delopay,
|
|
246
265
|
DelopayAuthenticationError,
|
|
247
266
|
DelopayError,
|
|
@@ -263,6 +282,12 @@ export {
|
|
|
263
282
|
NATIVE_PANE_CATEGORY_KEYS,
|
|
264
283
|
NATIVE_PANE_ICON_KEYS,
|
|
265
284
|
NOMUPAY_FORM_STYLES,
|
|
285
|
+
NOTICES_PER_SECTION,
|
|
286
|
+
NOTICE_ICONS,
|
|
287
|
+
NOTICE_ICON_FALLBACK,
|
|
288
|
+
NOTICE_ICON_PATHS,
|
|
289
|
+
NOTICE_LABEL_MAX_LENGTH,
|
|
290
|
+
NOTICE_SECTIONS,
|
|
266
291
|
OperationLimits,
|
|
267
292
|
PANES_MAX,
|
|
268
293
|
PANE_CATEGORY_KEYS,
|
|
@@ -320,6 +345,7 @@ export {
|
|
|
320
345
|
cloneBranding,
|
|
321
346
|
cloneCustomField,
|
|
322
347
|
cloneNativePane,
|
|
348
|
+
cloneNotice,
|
|
323
349
|
clonePane,
|
|
324
350
|
compareSections,
|
|
325
351
|
contrastRatio,
|
|
@@ -335,11 +361,13 @@ export {
|
|
|
335
361
|
decodeMethodSectionLabels,
|
|
336
362
|
decodeMethodSectionOrder,
|
|
337
363
|
decodeNativePanes,
|
|
364
|
+
decodeNotices,
|
|
338
365
|
decodePanes,
|
|
339
366
|
defaultBranding,
|
|
340
367
|
defaultCustomFieldVisibility,
|
|
341
368
|
defaultMethodSectionOrder,
|
|
342
369
|
defaultNativePane,
|
|
370
|
+
defaultNotices,
|
|
343
371
|
defaultOperatorForSource,
|
|
344
372
|
defaultPane,
|
|
345
373
|
emptyPaneCatalog,
|
|
@@ -349,6 +377,7 @@ export {
|
|
|
349
377
|
encodeMethodSectionLabels,
|
|
350
378
|
encodeMethodSectionOrder,
|
|
351
379
|
encodeNativePanes,
|
|
380
|
+
encodeNotices,
|
|
352
381
|
encodePanes,
|
|
353
382
|
evaluateCustomFieldCondition,
|
|
354
383
|
evaluateCustomFieldVisibility,
|
|
@@ -359,13 +388,17 @@ export {
|
|
|
359
388
|
inputPadValue,
|
|
360
389
|
isCheckboxChecked,
|
|
361
390
|
isDarkSurface,
|
|
391
|
+
isDefaultBadgeSet,
|
|
362
392
|
isHexColor,
|
|
393
|
+
isNoticeIcon,
|
|
363
394
|
isSubscriptionDisputeWebhook,
|
|
364
395
|
isSubscriptionLifecycleWebhook,
|
|
365
396
|
knownSectionLabelKey,
|
|
366
397
|
leaf,
|
|
367
398
|
logoDimensions,
|
|
368
399
|
nativePaneMethodInfo,
|
|
400
|
+
noticeText,
|
|
401
|
+
noticesIn,
|
|
369
402
|
offerablePaneMethods,
|
|
370
403
|
paneCatalogFor,
|
|
371
404
|
paneDisplayDefaults,
|
|
@@ -374,6 +407,7 @@ export {
|
|
|
374
407
|
paneViewVisibility,
|
|
375
408
|
parseCustomFieldsLoose,
|
|
376
409
|
parseImportedBranding,
|
|
410
|
+
parseNoticesLoose,
|
|
377
411
|
programToTree,
|
|
378
412
|
radiusValue,
|
|
379
413
|
readableInkOn,
|
|
@@ -381,12 +415,14 @@ export {
|
|
|
381
415
|
resolveAirwallexLabelStyle,
|
|
382
416
|
resolveApplePayButtonStyle,
|
|
383
417
|
resolveGooglePayButtonColor,
|
|
418
|
+
resolveNoticesAndBadges,
|
|
384
419
|
resolveStripeTheme,
|
|
385
420
|
ruleMatchToTree,
|
|
386
421
|
sanitizeCustomCss,
|
|
387
422
|
sectionLabel,
|
|
388
423
|
sectionOrderOf,
|
|
389
424
|
shadowFor,
|
|
425
|
+
shownNotices,
|
|
390
426
|
stripeSpacingValues,
|
|
391
427
|
surchargeFigurePlan,
|
|
392
428
|
surchargeShowsLabel,
|