@saasquatch/mint-components 2.1.8-1 → 2.1.8
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/cjs/{ShadowViewAddon-5ce32291.js → ShadowViewAddon-a26deae6.js} +1 -90
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +54 -381
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +9 -332
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -158
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +37 -75
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +13 -688
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
- package/dist/esm/{ShadowViewAddon-9d97b5d5.js → ShadowViewAddon-47f1e579.js} +2 -90
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +54 -381
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +14 -336
- package/dist/esm/sqm-stencilbook.entry.js +2 -158
- package/dist/esm-es5/{ShadowViewAddon-9d97b5d5.js → ShadowViewAddon-47f1e579.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0614dcbc.entry.js +9 -0
- package/dist/mint-components/{p-adc4e263.js → p-217dedde.js} +25 -25
- package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
- package/dist/mint-components/p-7ee8f2ed.entry.js +273 -0
- package/dist/mint-components/p-bf545082.system.entry.js +1 -0
- package/dist/mint-components/p-ca098be1.system.js +1 -1
- package/dist/mint-components/p-ce050888.system.js +1 -0
- package/dist/mint-components/p-d4f332a7.entry.js +106 -0
- package/dist/mint-components/p-de343dd0.system.entry.js +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -165
- package/dist/types/components.d.ts +10 -378
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -143
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -90
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -462
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -180
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/mint-components/p-0f036907.system.js +0 -1
- package/dist/mint-components/p-22e39d2c.entry.js +0 -342
- package/dist/mint-components/p-499885aa.entry.js +0 -9
- package/dist/mint-components/p-a6621899.system.entry.js +0 -1
- package/dist/mint-components/p-b0253f4c.entry.js +0 -108
- package/dist/mint-components/p-d93e19e9.system.entry.js +0 -1
- package/dist/mint-components/p-e45a9966.system.entry.js +0 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -41
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -80
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -16
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js
CHANGED
|
@@ -287,156 +287,6 @@ export class BankingInfoForm {
|
|
|
287
287
|
* @uiName Information modal button text
|
|
288
288
|
*/
|
|
289
289
|
this.modalButtonText = "I understand, update my information";
|
|
290
|
-
// ──────────────────────────────────────────────────────────────────
|
|
291
|
-
// Per-field validation error messages
|
|
292
|
-
// Each prop uses ICU select on {errorCode} to pick the right message.
|
|
293
|
-
// Error codes are short frontend keys mapped from the API error codes.
|
|
294
|
-
// The `other` branch displays the raw API message directly via {errorCode},
|
|
295
|
-
// which is already human-readable English (e.g. "Invalid Routing Code").
|
|
296
|
-
// ──────────────────────────────────────────────────────────────────
|
|
297
|
-
/**
|
|
298
|
-
* Error messages for the beneficiary / account holder name field.
|
|
299
|
-
* Supports error codes: empty, invalidCharacters, numeric, tooLong,
|
|
300
|
-
* nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
|
|
301
|
-
* @uiName Beneficiary account name error
|
|
302
|
-
* @uiWidget textArea
|
|
303
|
-
*/
|
|
304
|
-
this.beneficiaryAccountNameError = "{errorCode, select, empty {Account holder name is required} invalidCharacters {Account holder name contains invalid characters} numeric {Account holder name cannot be purely numeric} tooLong {Account holder name must be 70 characters or fewer} nonEnglish {Account holder name must contain only English characters for this currency} businessNameMismatch {Beneficiary name must match the name on your tax document} nameMismatch {Beneficiary name must match the name on your tax document} businessPayeeMismatch {Payee name must match the name on your tax document} payeeMismatch {Payee name must match the name on your tax document} other {{errorCode}}}";
|
|
305
|
-
/**
|
|
306
|
-
* Error messages for the bank account number / IBAN field.
|
|
307
|
-
* Supports error codes: empty, invalidUk, invalid, ibanEmpty,
|
|
308
|
-
* ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
|
|
309
|
-
* @uiName Bank account number / IBAN error
|
|
310
|
-
* @uiWidget textArea
|
|
311
|
-
*/
|
|
312
|
-
this.bankAccountNumberError = "{errorCode, select, empty {Account number is required} invalidUk {Please enter a valid UK account number} invalid {Account number is invalid} ibanEmpty {IBAN is required} ibanAlphanumeric {IBAN must contain only letters and numbers} ibanInvalid {IBAN is invalid} ibanCountryMismatch {UK accounts must use an IBAN starting with GB} other {{errorCode}}}";
|
|
313
|
-
/**
|
|
314
|
-
* Error messages for the routing code / sort code / BSB field.
|
|
315
|
-
* Supports error codes: invalidBsb, invalidSortCode, empty, invalid
|
|
316
|
-
* @uiName Routing code error
|
|
317
|
-
* @uiWidget textArea
|
|
318
|
-
*/
|
|
319
|
-
this.routingCodeError = "{errorCode, select, invalidBsb {Please enter a valid BSB number} invalidSortCode {Please enter a valid sort code} empty {Routing number is required} invalid {Routing number is invalid} other {{errorCode}}}";
|
|
320
|
-
/**
|
|
321
|
-
* Error messages for the SWIFT / BIC code field.
|
|
322
|
-
* Supports error codes: empty, alphanumeric, invalid
|
|
323
|
-
* @uiName SWIFT code error
|
|
324
|
-
* @uiWidget textArea
|
|
325
|
-
*/
|
|
326
|
-
this.swiftCodeError = "{errorCode, select, empty {SWIFT/BIC code is required} alphanumeric {SWIFT/BIC code must contain only letters and numbers} invalid {SWIFT/BIC code is invalid} other {{errorCode}}}";
|
|
327
|
-
/**
|
|
328
|
-
* Error messages for the bank account type field.
|
|
329
|
-
* Supports error codes: empty
|
|
330
|
-
* @uiName Bank account type error
|
|
331
|
-
* @uiWidget textArea
|
|
332
|
-
*/
|
|
333
|
-
this.bankAccountTypeError = "{errorCode, select, empty {Bank account type is required} other {{errorCode}}}";
|
|
334
|
-
/**
|
|
335
|
-
* Error messages for the bank name field.
|
|
336
|
-
* Supports error codes: empty
|
|
337
|
-
* @uiName Bank name error
|
|
338
|
-
* @uiWidget textArea
|
|
339
|
-
*/
|
|
340
|
-
this.bankNameError = "{errorCode, select, empty {Bank name is required} other {{errorCode}}}";
|
|
341
|
-
/**
|
|
342
|
-
* Error messages for the tax payer ID / classification entity field.
|
|
343
|
-
* Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
|
|
344
|
-
* alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
|
|
345
|
-
* @uiName Tax payer ID error
|
|
346
|
-
* @uiWidget textArea
|
|
347
|
-
*/
|
|
348
|
-
this.taxPayerIdError = "{errorCode, select, empty {Tax payer ID is required} emptyAr {CUIT/CUIL is required} emptyKr {Classification ID is required} alphanumeric {Tax payer ID must contain only letters and numbers} alphanumericAr {CUIT/CUIL must contain only letters and numbers} alphanumericKr {Classification ID must contain only letters and numbers} invalid {Tax payer ID is invalid} invalidAr {CUIT/CUIL must be 11 characters} invalidKr {Classification ID length is invalid} invalidKzt {Tax payer ID must be 12 characters for KZT} cnpjTooShort {CNPJ must be at least 14 characters} cpfTooShort {CPF must be at least 11 characters} other {{errorCode}}}";
|
|
349
|
-
/**
|
|
350
|
-
* Error messages for the patronymic name field.
|
|
351
|
-
* Supports error codes: empty, alphanumeric
|
|
352
|
-
* @uiName Patronymic name error
|
|
353
|
-
* @uiWidget textArea
|
|
354
|
-
*/
|
|
355
|
-
this.patronymicNameError = "{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}";
|
|
356
|
-
/**
|
|
357
|
-
* Error messages for the VO code field.
|
|
358
|
-
* Supports error codes: empty, alphanumeric
|
|
359
|
-
* @uiName VO code error
|
|
360
|
-
* @uiWidget textArea
|
|
361
|
-
*/
|
|
362
|
-
this.voCodeError = "{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}";
|
|
363
|
-
/**
|
|
364
|
-
* Error messages for the agency code field.
|
|
365
|
-
* Supports error codes: empty, alphanumeric, tooShort
|
|
366
|
-
* @uiName Agency code error
|
|
367
|
-
* @uiWidget textArea
|
|
368
|
-
*/
|
|
369
|
-
this.agencyCodeError = "{errorCode, select, empty {Agency code is required} alphanumeric {Agency code must contain only letters and numbers} tooShort {Agency code must be at least 5 characters} other {{errorCode}}}";
|
|
370
|
-
/**
|
|
371
|
-
* Error messages for the bank address field.
|
|
372
|
-
* Supports error codes: empty
|
|
373
|
-
* @uiName Bank address error
|
|
374
|
-
* @uiWidget textArea
|
|
375
|
-
*/
|
|
376
|
-
this.bankAddressError = "{errorCode, select, empty {Bank address is required} other {{errorCode}}}";
|
|
377
|
-
/**
|
|
378
|
-
* Error messages for the bank city field.
|
|
379
|
-
* Supports error codes: empty
|
|
380
|
-
* @uiName Bank city error
|
|
381
|
-
* @uiWidget textArea
|
|
382
|
-
*/
|
|
383
|
-
this.bankCityError = "{errorCode, select, empty {Bank city is required} other {{errorCode}}}";
|
|
384
|
-
/**
|
|
385
|
-
* Error messages for the bank province/state field.
|
|
386
|
-
* Supports error codes: empty
|
|
387
|
-
* @uiName Bank province/state error
|
|
388
|
-
* @uiWidget textArea
|
|
389
|
-
*/
|
|
390
|
-
this.bankStateError = "{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}";
|
|
391
|
-
/**
|
|
392
|
-
* Error messages for the bank postal code field.
|
|
393
|
-
* Supports error codes: empty
|
|
394
|
-
* @uiName Bank postal code error
|
|
395
|
-
* @uiWidget textArea
|
|
396
|
-
*/
|
|
397
|
-
this.bankPostalCodeError = "{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}";
|
|
398
|
-
/**
|
|
399
|
-
* Error messages for the branch code field.
|
|
400
|
-
* Supports error codes: invalid
|
|
401
|
-
* @uiName Branch code error
|
|
402
|
-
* @uiWidget textArea
|
|
403
|
-
*/
|
|
404
|
-
this.branchCodeError = "{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}";
|
|
405
|
-
/**
|
|
406
|
-
* Error messages for the branch name field.
|
|
407
|
-
* Supports error codes: empty
|
|
408
|
-
* @uiName Branch name error
|
|
409
|
-
* @uiWidget textArea
|
|
410
|
-
*/
|
|
411
|
-
this.branchNameError = "{errorCode, select, empty {Branch name is required} other {{errorCode}}}";
|
|
412
|
-
/**
|
|
413
|
-
* Error messages for the classification code field.
|
|
414
|
-
* Supports error codes: empty, invalidKzt
|
|
415
|
-
* @uiName Classification code error
|
|
416
|
-
* @uiWidget textArea
|
|
417
|
-
*/
|
|
418
|
-
this.classificationCodeError = "{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}";
|
|
419
|
-
/**
|
|
420
|
-
* Error messages for the PayPal email field.
|
|
421
|
-
* Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
|
|
422
|
-
* @uiName PayPal email error
|
|
423
|
-
* @uiWidget textArea
|
|
424
|
-
*/
|
|
425
|
-
this.paypalEmailError = "{errorCode, select, empty {PayPal email is required} unsupportedCurrency {PayPal is not supported for this currency} invalidEmail {Please enter a valid email address} verificationIncomplete {PayPal verification is not complete} other {{errorCode}}}";
|
|
426
|
-
/**
|
|
427
|
-
* Error messages for the payment threshold field.
|
|
428
|
-
* Supports error codes: empty, invalid
|
|
429
|
-
* @uiName Payment threshold error
|
|
430
|
-
* @uiWidget textArea
|
|
431
|
-
*/
|
|
432
|
-
this.paymentThresholdError = "{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}";
|
|
433
|
-
/**
|
|
434
|
-
* Error messages for the payment day field.
|
|
435
|
-
* Supports error codes: empty, invalid
|
|
436
|
-
* @uiName Payment day error
|
|
437
|
-
* @uiWidget textArea
|
|
438
|
-
*/
|
|
439
|
-
this.paymentDayError = "{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}";
|
|
440
290
|
withHooks(this);
|
|
441
291
|
}
|
|
442
292
|
disconnectedCallback() { }
|
|
@@ -450,54 +300,17 @@ export class BankingInfoForm {
|
|
|
450
300
|
loadingErrorAlertDescription: props.loadingErrorAlertDescription,
|
|
451
301
|
loadingErrorAlertHeader: props.loadingErrorAlertHeader,
|
|
452
302
|
},
|
|
453
|
-
errorMessages: {
|
|
454
|
-
beneficiaryAccountName: props.beneficiaryAccountNameError,
|
|
455
|
-
bankAccountNumber: props.bankAccountNumberError,
|
|
456
|
-
routingCode: props.routingCodeError,
|
|
457
|
-
swiftCode: props.swiftCodeError,
|
|
458
|
-
bankAccountType: props.bankAccountTypeError,
|
|
459
|
-
bankName: props.bankNameError,
|
|
460
|
-
taxPayerId: props.taxPayerIdError,
|
|
461
|
-
patronymicName: props.patronymicNameError,
|
|
462
|
-
voCode: props.voCodeError,
|
|
463
|
-
agencyCode: props.agencyCodeError,
|
|
464
|
-
bankAddress: props.bankAddressError,
|
|
465
|
-
bankCity: props.bankCityError,
|
|
466
|
-
bankState: props.bankStateError,
|
|
467
|
-
bankPostalCode: props.bankPostalCodeError,
|
|
468
|
-
branchCode: props.branchCodeError,
|
|
469
|
-
branchName: props.branchNameError,
|
|
470
|
-
beneficiaryClassification: props.classificationCodeError,
|
|
471
|
-
paypalEmailAddress: props.paypalEmailError,
|
|
472
|
-
paymentThreshold: props.paymentThresholdError,
|
|
473
|
-
paymentDay: props.paymentDayError,
|
|
474
|
-
},
|
|
475
303
|
};
|
|
476
304
|
}
|
|
477
305
|
render() {
|
|
478
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0
|
|
306
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
479
307
|
const props = isDemo()
|
|
480
308
|
? useDemoBankingInfoForm(this)
|
|
481
309
|
: useBankingInfoForm(this);
|
|
482
310
|
const { errors } = props.states.formState;
|
|
483
311
|
const fieldRequiredError = this.fieldRequiredError;
|
|
484
312
|
const fieldInvalidError = this.fieldInvalidError;
|
|
485
|
-
function getValidationErrorMessage({ type, label,
|
|
486
|
-
var _a;
|
|
487
|
-
// If we have a specific error code from the API, try to use
|
|
488
|
-
// the per-field ICU error message template for a rich message
|
|
489
|
-
if (type === "invalid" && errorCode && fieldName) {
|
|
490
|
-
const errorTemplate = (_a = props.text.errorMessages) === null || _a === void 0 ? void 0 : _a[fieldName];
|
|
491
|
-
if (errorTemplate) {
|
|
492
|
-
return intl.formatMessage({
|
|
493
|
-
id: `fieldError-${fieldName}-${errorCode}`,
|
|
494
|
-
defaultMessage: errorTemplate,
|
|
495
|
-
}, {
|
|
496
|
-
errorCode,
|
|
497
|
-
fieldName: label,
|
|
498
|
-
});
|
|
499
|
-
}
|
|
500
|
-
}
|
|
313
|
+
function getValidationErrorMessage({ type, label, }) {
|
|
501
314
|
if (type === "required") {
|
|
502
315
|
return intl.formatMessage({
|
|
503
316
|
id: `requiredText-${label}`,
|
|
@@ -585,8 +398,6 @@ export class BankingInfoForm {
|
|
|
585
398
|
helpText: getValidationErrorMessage({
|
|
586
399
|
type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
|
|
587
400
|
label: props.text.bankLocationLabel,
|
|
588
|
-
errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankCountry) === null || _e === void 0 ? void 0 : _e.errorCode,
|
|
589
|
-
fieldName: "bankCountry",
|
|
590
401
|
}),
|
|
591
402
|
})),
|
|
592
403
|
h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
|
|
@@ -594,39 +405,33 @@ export class BankingInfoForm {
|
|
|
594
405
|
e.stopPropagation();
|
|
595
406
|
}, "onSl-input": (e) => {
|
|
596
407
|
props.callbacks.setCountrySearch(e.target.value);
|
|
597
|
-
} }), (
|
|
598
|
-
|
|
408
|
+
} }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
|
|
409
|
+
_d.map((country) => {
|
|
599
410
|
return (h("sl-menu-item", { value: country.countryCode }, country.displayName));
|
|
600
|
-
}), (
|
|
601
|
-
|
|
411
|
+
}), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
|
|
412
|
+
_f.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
|
|
602
413
|
paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
|
|
603
|
-
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((
|
|
414
|
+
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
|
|
604
415
|
class: "error-input",
|
|
605
416
|
helpText: getValidationErrorMessage({
|
|
606
|
-
type: (
|
|
417
|
+
type: (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.paymentThreshold) === null || _l === void 0 ? void 0 : _l.type,
|
|
607
418
|
label: props.text.paymentThresholdSelectLabel,
|
|
608
|
-
errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentThreshold) === null || _q === void 0 ? void 0 : _q.errorCode,
|
|
609
|
-
fieldName: "paymentThreshold",
|
|
610
419
|
}),
|
|
611
420
|
})), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
|
|
612
|
-
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((
|
|
421
|
+
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
|
|
613
422
|
class: "error-input",
|
|
614
423
|
helpText: getValidationErrorMessage({
|
|
615
|
-
type: (
|
|
424
|
+
type: (_r = (_q = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _q === void 0 ? void 0 : _q.paymentDay) === null || _r === void 0 ? void 0 : _r.type,
|
|
616
425
|
label: props.text.paymentDaySelectLabel,
|
|
617
|
-
errorCode: (_x = (_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.paymentDay) === null || _x === void 0 ? void 0 : _x.errorCode,
|
|
618
|
-
fieldName: "paymentDay",
|
|
619
426
|
}),
|
|
620
427
|
})),
|
|
621
428
|
h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText),
|
|
622
429
|
h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
|
|
623
|
-
paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((
|
|
430
|
+
paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
|
|
624
431
|
class: "error-input",
|
|
625
432
|
helpText: getValidationErrorMessage({
|
|
626
|
-
type: (
|
|
433
|
+
type: (_0 = (_z = (_y = (_x = props.states.formState) === null || _x === void 0 ? void 0 : _x.errors) === null || _y === void 0 ? void 0 : _y.inputErrors) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) === null || _0 === void 0 ? void 0 : _0.type,
|
|
627
434
|
label: props.text.payPalInputLabel,
|
|
628
|
-
errorCode: (_10 = (_9 = (_8 = (_7 = props.states.formState) === null || _7 === void 0 ? void 0 : _7.errors) === null || _8 === void 0 ? void 0 : _8.inputErrors) === null || _9 === void 0 ? void 0 : _9.paypalEmailAddress) === null || _10 === void 0 ? void 0 : _10.errorCode,
|
|
629
|
-
fieldName: "paypalEmailAddress",
|
|
630
435
|
}),
|
|
631
436
|
})))),
|
|
632
437
|
} })));
|
|
@@ -1911,492 +1716,12 @@ export class BankingInfoForm {
|
|
|
1911
1716
|
"reflect": false,
|
|
1912
1717
|
"defaultValue": "\"I understand, update my information\""
|
|
1913
1718
|
},
|
|
1914
|
-
"beneficiaryAccountNameError": {
|
|
1915
|
-
"type": "string",
|
|
1916
|
-
"mutable": false,
|
|
1917
|
-
"complexType": {
|
|
1918
|
-
"original": "string",
|
|
1919
|
-
"resolved": "string",
|
|
1920
|
-
"references": {}
|
|
1921
|
-
},
|
|
1922
|
-
"required": false,
|
|
1923
|
-
"optional": false,
|
|
1924
|
-
"docs": {
|
|
1925
|
-
"tags": [{
|
|
1926
|
-
"text": "Beneficiary account name error",
|
|
1927
|
-
"name": "uiName"
|
|
1928
|
-
}, {
|
|
1929
|
-
"text": "textArea",
|
|
1930
|
-
"name": "uiWidget"
|
|
1931
|
-
}],
|
|
1932
|
-
"text": "Error messages for the beneficiary / account holder name field.\nSupports error codes: empty, invalidCharacters, numeric, tooLong,\nnonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch"
|
|
1933
|
-
},
|
|
1934
|
-
"attribute": "beneficiary-account-name-error",
|
|
1935
|
-
"reflect": false,
|
|
1936
|
-
"defaultValue": "\"{errorCode, select, empty {Account holder name is required} invalidCharacters {Account holder name contains invalid characters} numeric {Account holder name cannot be purely numeric} tooLong {Account holder name must be 70 characters or fewer} nonEnglish {Account holder name must contain only English characters for this currency} businessNameMismatch {Beneficiary name must match the name on your tax document} nameMismatch {Beneficiary name must match the name on your tax document} businessPayeeMismatch {Payee name must match the name on your tax document} payeeMismatch {Payee name must match the name on your tax document} other {{errorCode}}}\""
|
|
1937
|
-
},
|
|
1938
|
-
"bankAccountNumberError": {
|
|
1939
|
-
"type": "string",
|
|
1940
|
-
"mutable": false,
|
|
1941
|
-
"complexType": {
|
|
1942
|
-
"original": "string",
|
|
1943
|
-
"resolved": "string",
|
|
1944
|
-
"references": {}
|
|
1945
|
-
},
|
|
1946
|
-
"required": false,
|
|
1947
|
-
"optional": false,
|
|
1948
|
-
"docs": {
|
|
1949
|
-
"tags": [{
|
|
1950
|
-
"text": "Bank account number / IBAN error",
|
|
1951
|
-
"name": "uiName"
|
|
1952
|
-
}, {
|
|
1953
|
-
"text": "textArea",
|
|
1954
|
-
"name": "uiWidget"
|
|
1955
|
-
}],
|
|
1956
|
-
"text": "Error messages for the bank account number / IBAN field.\nSupports error codes: empty, invalidUk, invalid, ibanEmpty,\nibanAlphanumeric, ibanInvalid, ibanCountryMismatch"
|
|
1957
|
-
},
|
|
1958
|
-
"attribute": "bank-account-number-error",
|
|
1959
|
-
"reflect": false,
|
|
1960
|
-
"defaultValue": "\"{errorCode, select, empty {Account number is required} invalidUk {Please enter a valid UK account number} invalid {Account number is invalid} ibanEmpty {IBAN is required} ibanAlphanumeric {IBAN must contain only letters and numbers} ibanInvalid {IBAN is invalid} ibanCountryMismatch {UK accounts must use an IBAN starting with GB} other {{errorCode}}}\""
|
|
1961
|
-
},
|
|
1962
|
-
"routingCodeError": {
|
|
1963
|
-
"type": "string",
|
|
1964
|
-
"mutable": false,
|
|
1965
|
-
"complexType": {
|
|
1966
|
-
"original": "string",
|
|
1967
|
-
"resolved": "string",
|
|
1968
|
-
"references": {}
|
|
1969
|
-
},
|
|
1970
|
-
"required": false,
|
|
1971
|
-
"optional": false,
|
|
1972
|
-
"docs": {
|
|
1973
|
-
"tags": [{
|
|
1974
|
-
"text": "Routing code error",
|
|
1975
|
-
"name": "uiName"
|
|
1976
|
-
}, {
|
|
1977
|
-
"text": "textArea",
|
|
1978
|
-
"name": "uiWidget"
|
|
1979
|
-
}],
|
|
1980
|
-
"text": "Error messages for the routing code / sort code / BSB field.\nSupports error codes: invalidBsb, invalidSortCode, empty, invalid"
|
|
1981
|
-
},
|
|
1982
|
-
"attribute": "routing-code-error",
|
|
1983
|
-
"reflect": false,
|
|
1984
|
-
"defaultValue": "\"{errorCode, select, invalidBsb {Please enter a valid BSB number} invalidSortCode {Please enter a valid sort code} empty {Routing number is required} invalid {Routing number is invalid} other {{errorCode}}}\""
|
|
1985
|
-
},
|
|
1986
|
-
"swiftCodeError": {
|
|
1987
|
-
"type": "string",
|
|
1988
|
-
"mutable": false,
|
|
1989
|
-
"complexType": {
|
|
1990
|
-
"original": "string",
|
|
1991
|
-
"resolved": "string",
|
|
1992
|
-
"references": {}
|
|
1993
|
-
},
|
|
1994
|
-
"required": false,
|
|
1995
|
-
"optional": false,
|
|
1996
|
-
"docs": {
|
|
1997
|
-
"tags": [{
|
|
1998
|
-
"text": "SWIFT code error",
|
|
1999
|
-
"name": "uiName"
|
|
2000
|
-
}, {
|
|
2001
|
-
"text": "textArea",
|
|
2002
|
-
"name": "uiWidget"
|
|
2003
|
-
}],
|
|
2004
|
-
"text": "Error messages for the SWIFT / BIC code field.\nSupports error codes: empty, alphanumeric, invalid"
|
|
2005
|
-
},
|
|
2006
|
-
"attribute": "swift-code-error",
|
|
2007
|
-
"reflect": false,
|
|
2008
|
-
"defaultValue": "\"{errorCode, select, empty {SWIFT/BIC code is required} alphanumeric {SWIFT/BIC code must contain only letters and numbers} invalid {SWIFT/BIC code is invalid} other {{errorCode}}}\""
|
|
2009
|
-
},
|
|
2010
|
-
"bankAccountTypeError": {
|
|
2011
|
-
"type": "string",
|
|
2012
|
-
"mutable": false,
|
|
2013
|
-
"complexType": {
|
|
2014
|
-
"original": "string",
|
|
2015
|
-
"resolved": "string",
|
|
2016
|
-
"references": {}
|
|
2017
|
-
},
|
|
2018
|
-
"required": false,
|
|
2019
|
-
"optional": false,
|
|
2020
|
-
"docs": {
|
|
2021
|
-
"tags": [{
|
|
2022
|
-
"text": "Bank account type error",
|
|
2023
|
-
"name": "uiName"
|
|
2024
|
-
}, {
|
|
2025
|
-
"text": "textArea",
|
|
2026
|
-
"name": "uiWidget"
|
|
2027
|
-
}],
|
|
2028
|
-
"text": "Error messages for the bank account type field.\nSupports error codes: empty"
|
|
2029
|
-
},
|
|
2030
|
-
"attribute": "bank-account-type-error",
|
|
2031
|
-
"reflect": false,
|
|
2032
|
-
"defaultValue": "\"{errorCode, select, empty {Bank account type is required} other {{errorCode}}}\""
|
|
2033
|
-
},
|
|
2034
|
-
"bankNameError": {
|
|
2035
|
-
"type": "string",
|
|
2036
|
-
"mutable": false,
|
|
2037
|
-
"complexType": {
|
|
2038
|
-
"original": "string",
|
|
2039
|
-
"resolved": "string",
|
|
2040
|
-
"references": {}
|
|
2041
|
-
},
|
|
2042
|
-
"required": false,
|
|
2043
|
-
"optional": false,
|
|
2044
|
-
"docs": {
|
|
2045
|
-
"tags": [{
|
|
2046
|
-
"text": "Bank name error",
|
|
2047
|
-
"name": "uiName"
|
|
2048
|
-
}, {
|
|
2049
|
-
"text": "textArea",
|
|
2050
|
-
"name": "uiWidget"
|
|
2051
|
-
}],
|
|
2052
|
-
"text": "Error messages for the bank name field.\nSupports error codes: empty"
|
|
2053
|
-
},
|
|
2054
|
-
"attribute": "bank-name-error",
|
|
2055
|
-
"reflect": false,
|
|
2056
|
-
"defaultValue": "\"{errorCode, select, empty {Bank name is required} other {{errorCode}}}\""
|
|
2057
|
-
},
|
|
2058
|
-
"taxPayerIdError": {
|
|
2059
|
-
"type": "string",
|
|
2060
|
-
"mutable": false,
|
|
2061
|
-
"complexType": {
|
|
2062
|
-
"original": "string",
|
|
2063
|
-
"resolved": "string",
|
|
2064
|
-
"references": {}
|
|
2065
|
-
},
|
|
2066
|
-
"required": false,
|
|
2067
|
-
"optional": false,
|
|
2068
|
-
"docs": {
|
|
2069
|
-
"tags": [{
|
|
2070
|
-
"text": "Tax payer ID error",
|
|
2071
|
-
"name": "uiName"
|
|
2072
|
-
}, {
|
|
2073
|
-
"text": "textArea",
|
|
2074
|
-
"name": "uiWidget"
|
|
2075
|
-
}],
|
|
2076
|
-
"text": "Error messages for the tax payer ID / classification entity field.\nSupports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,\nalphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort"
|
|
2077
|
-
},
|
|
2078
|
-
"attribute": "tax-payer-id-error",
|
|
2079
|
-
"reflect": false,
|
|
2080
|
-
"defaultValue": "\"{errorCode, select, empty {Tax payer ID is required} emptyAr {CUIT/CUIL is required} emptyKr {Classification ID is required} alphanumeric {Tax payer ID must contain only letters and numbers} alphanumericAr {CUIT/CUIL must contain only letters and numbers} alphanumericKr {Classification ID must contain only letters and numbers} invalid {Tax payer ID is invalid} invalidAr {CUIT/CUIL must be 11 characters} invalidKr {Classification ID length is invalid} invalidKzt {Tax payer ID must be 12 characters for KZT} cnpjTooShort {CNPJ must be at least 14 characters} cpfTooShort {CPF must be at least 11 characters} other {{errorCode}}}\""
|
|
2081
|
-
},
|
|
2082
|
-
"patronymicNameError": {
|
|
2083
|
-
"type": "string",
|
|
2084
|
-
"mutable": false,
|
|
2085
|
-
"complexType": {
|
|
2086
|
-
"original": "string",
|
|
2087
|
-
"resolved": "string",
|
|
2088
|
-
"references": {}
|
|
2089
|
-
},
|
|
2090
|
-
"required": false,
|
|
2091
|
-
"optional": false,
|
|
2092
|
-
"docs": {
|
|
2093
|
-
"tags": [{
|
|
2094
|
-
"text": "Patronymic name error",
|
|
2095
|
-
"name": "uiName"
|
|
2096
|
-
}, {
|
|
2097
|
-
"text": "textArea",
|
|
2098
|
-
"name": "uiWidget"
|
|
2099
|
-
}],
|
|
2100
|
-
"text": "Error messages for the patronymic name field.\nSupports error codes: empty, alphanumeric"
|
|
2101
|
-
},
|
|
2102
|
-
"attribute": "patronymic-name-error",
|
|
2103
|
-
"reflect": false,
|
|
2104
|
-
"defaultValue": "\"{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}\""
|
|
2105
|
-
},
|
|
2106
|
-
"voCodeError": {
|
|
2107
|
-
"type": "string",
|
|
2108
|
-
"mutable": false,
|
|
2109
|
-
"complexType": {
|
|
2110
|
-
"original": "string",
|
|
2111
|
-
"resolved": "string",
|
|
2112
|
-
"references": {}
|
|
2113
|
-
},
|
|
2114
|
-
"required": false,
|
|
2115
|
-
"optional": false,
|
|
2116
|
-
"docs": {
|
|
2117
|
-
"tags": [{
|
|
2118
|
-
"text": "VO code error",
|
|
2119
|
-
"name": "uiName"
|
|
2120
|
-
}, {
|
|
2121
|
-
"text": "textArea",
|
|
2122
|
-
"name": "uiWidget"
|
|
2123
|
-
}],
|
|
2124
|
-
"text": "Error messages for the VO code field.\nSupports error codes: empty, alphanumeric"
|
|
2125
|
-
},
|
|
2126
|
-
"attribute": "vo-code-error",
|
|
2127
|
-
"reflect": false,
|
|
2128
|
-
"defaultValue": "\"{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}\""
|
|
2129
|
-
},
|
|
2130
|
-
"agencyCodeError": {
|
|
2131
|
-
"type": "string",
|
|
2132
|
-
"mutable": false,
|
|
2133
|
-
"complexType": {
|
|
2134
|
-
"original": "string",
|
|
2135
|
-
"resolved": "string",
|
|
2136
|
-
"references": {}
|
|
2137
|
-
},
|
|
2138
|
-
"required": false,
|
|
2139
|
-
"optional": false,
|
|
2140
|
-
"docs": {
|
|
2141
|
-
"tags": [{
|
|
2142
|
-
"text": "Agency code error",
|
|
2143
|
-
"name": "uiName"
|
|
2144
|
-
}, {
|
|
2145
|
-
"text": "textArea",
|
|
2146
|
-
"name": "uiWidget"
|
|
2147
|
-
}],
|
|
2148
|
-
"text": "Error messages for the agency code field.\nSupports error codes: empty, alphanumeric, tooShort"
|
|
2149
|
-
},
|
|
2150
|
-
"attribute": "agency-code-error",
|
|
2151
|
-
"reflect": false,
|
|
2152
|
-
"defaultValue": "\"{errorCode, select, empty {Agency code is required} alphanumeric {Agency code must contain only letters and numbers} tooShort {Agency code must be at least 5 characters} other {{errorCode}}}\""
|
|
2153
|
-
},
|
|
2154
|
-
"bankAddressError": {
|
|
2155
|
-
"type": "string",
|
|
2156
|
-
"mutable": false,
|
|
2157
|
-
"complexType": {
|
|
2158
|
-
"original": "string",
|
|
2159
|
-
"resolved": "string",
|
|
2160
|
-
"references": {}
|
|
2161
|
-
},
|
|
2162
|
-
"required": false,
|
|
2163
|
-
"optional": false,
|
|
2164
|
-
"docs": {
|
|
2165
|
-
"tags": [{
|
|
2166
|
-
"text": "Bank address error",
|
|
2167
|
-
"name": "uiName"
|
|
2168
|
-
}, {
|
|
2169
|
-
"text": "textArea",
|
|
2170
|
-
"name": "uiWidget"
|
|
2171
|
-
}],
|
|
2172
|
-
"text": "Error messages for the bank address field.\nSupports error codes: empty"
|
|
2173
|
-
},
|
|
2174
|
-
"attribute": "bank-address-error",
|
|
2175
|
-
"reflect": false,
|
|
2176
|
-
"defaultValue": "\"{errorCode, select, empty {Bank address is required} other {{errorCode}}}\""
|
|
2177
|
-
},
|
|
2178
|
-
"bankCityError": {
|
|
2179
|
-
"type": "string",
|
|
2180
|
-
"mutable": false,
|
|
2181
|
-
"complexType": {
|
|
2182
|
-
"original": "string",
|
|
2183
|
-
"resolved": "string",
|
|
2184
|
-
"references": {}
|
|
2185
|
-
},
|
|
2186
|
-
"required": false,
|
|
2187
|
-
"optional": false,
|
|
2188
|
-
"docs": {
|
|
2189
|
-
"tags": [{
|
|
2190
|
-
"text": "Bank city error",
|
|
2191
|
-
"name": "uiName"
|
|
2192
|
-
}, {
|
|
2193
|
-
"text": "textArea",
|
|
2194
|
-
"name": "uiWidget"
|
|
2195
|
-
}],
|
|
2196
|
-
"text": "Error messages for the bank city field.\nSupports error codes: empty"
|
|
2197
|
-
},
|
|
2198
|
-
"attribute": "bank-city-error",
|
|
2199
|
-
"reflect": false,
|
|
2200
|
-
"defaultValue": "\"{errorCode, select, empty {Bank city is required} other {{errorCode}}}\""
|
|
2201
|
-
},
|
|
2202
|
-
"bankStateError": {
|
|
2203
|
-
"type": "string",
|
|
2204
|
-
"mutable": false,
|
|
2205
|
-
"complexType": {
|
|
2206
|
-
"original": "string",
|
|
2207
|
-
"resolved": "string",
|
|
2208
|
-
"references": {}
|
|
2209
|
-
},
|
|
2210
|
-
"required": false,
|
|
2211
|
-
"optional": false,
|
|
2212
|
-
"docs": {
|
|
2213
|
-
"tags": [{
|
|
2214
|
-
"text": "Bank province/state error",
|
|
2215
|
-
"name": "uiName"
|
|
2216
|
-
}, {
|
|
2217
|
-
"text": "textArea",
|
|
2218
|
-
"name": "uiWidget"
|
|
2219
|
-
}],
|
|
2220
|
-
"text": "Error messages for the bank province/state field.\nSupports error codes: empty"
|
|
2221
|
-
},
|
|
2222
|
-
"attribute": "bank-state-error",
|
|
2223
|
-
"reflect": false,
|
|
2224
|
-
"defaultValue": "\"{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}\""
|
|
2225
|
-
},
|
|
2226
|
-
"bankPostalCodeError": {
|
|
2227
|
-
"type": "string",
|
|
2228
|
-
"mutable": false,
|
|
2229
|
-
"complexType": {
|
|
2230
|
-
"original": "string",
|
|
2231
|
-
"resolved": "string",
|
|
2232
|
-
"references": {}
|
|
2233
|
-
},
|
|
2234
|
-
"required": false,
|
|
2235
|
-
"optional": false,
|
|
2236
|
-
"docs": {
|
|
2237
|
-
"tags": [{
|
|
2238
|
-
"text": "Bank postal code error",
|
|
2239
|
-
"name": "uiName"
|
|
2240
|
-
}, {
|
|
2241
|
-
"text": "textArea",
|
|
2242
|
-
"name": "uiWidget"
|
|
2243
|
-
}],
|
|
2244
|
-
"text": "Error messages for the bank postal code field.\nSupports error codes: empty"
|
|
2245
|
-
},
|
|
2246
|
-
"attribute": "bank-postal-code-error",
|
|
2247
|
-
"reflect": false,
|
|
2248
|
-
"defaultValue": "\"{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}\""
|
|
2249
|
-
},
|
|
2250
|
-
"branchCodeError": {
|
|
2251
|
-
"type": "string",
|
|
2252
|
-
"mutable": false,
|
|
2253
|
-
"complexType": {
|
|
2254
|
-
"original": "string",
|
|
2255
|
-
"resolved": "string",
|
|
2256
|
-
"references": {}
|
|
2257
|
-
},
|
|
2258
|
-
"required": false,
|
|
2259
|
-
"optional": false,
|
|
2260
|
-
"docs": {
|
|
2261
|
-
"tags": [{
|
|
2262
|
-
"text": "Branch code error",
|
|
2263
|
-
"name": "uiName"
|
|
2264
|
-
}, {
|
|
2265
|
-
"text": "textArea",
|
|
2266
|
-
"name": "uiWidget"
|
|
2267
|
-
}],
|
|
2268
|
-
"text": "Error messages for the branch code field.\nSupports error codes: invalid"
|
|
2269
|
-
},
|
|
2270
|
-
"attribute": "branch-code-error",
|
|
2271
|
-
"reflect": false,
|
|
2272
|
-
"defaultValue": "\"{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}\""
|
|
2273
|
-
},
|
|
2274
|
-
"branchNameError": {
|
|
2275
|
-
"type": "string",
|
|
2276
|
-
"mutable": false,
|
|
2277
|
-
"complexType": {
|
|
2278
|
-
"original": "string",
|
|
2279
|
-
"resolved": "string",
|
|
2280
|
-
"references": {}
|
|
2281
|
-
},
|
|
2282
|
-
"required": false,
|
|
2283
|
-
"optional": false,
|
|
2284
|
-
"docs": {
|
|
2285
|
-
"tags": [{
|
|
2286
|
-
"text": "Branch name error",
|
|
2287
|
-
"name": "uiName"
|
|
2288
|
-
}, {
|
|
2289
|
-
"text": "textArea",
|
|
2290
|
-
"name": "uiWidget"
|
|
2291
|
-
}],
|
|
2292
|
-
"text": "Error messages for the branch name field.\nSupports error codes: empty"
|
|
2293
|
-
},
|
|
2294
|
-
"attribute": "branch-name-error",
|
|
2295
|
-
"reflect": false,
|
|
2296
|
-
"defaultValue": "\"{errorCode, select, empty {Branch name is required} other {{errorCode}}}\""
|
|
2297
|
-
},
|
|
2298
|
-
"classificationCodeError": {
|
|
2299
|
-
"type": "string",
|
|
2300
|
-
"mutable": false,
|
|
2301
|
-
"complexType": {
|
|
2302
|
-
"original": "string",
|
|
2303
|
-
"resolved": "string",
|
|
2304
|
-
"references": {}
|
|
2305
|
-
},
|
|
2306
|
-
"required": false,
|
|
2307
|
-
"optional": false,
|
|
2308
|
-
"docs": {
|
|
2309
|
-
"tags": [{
|
|
2310
|
-
"text": "Classification code error",
|
|
2311
|
-
"name": "uiName"
|
|
2312
|
-
}, {
|
|
2313
|
-
"text": "textArea",
|
|
2314
|
-
"name": "uiWidget"
|
|
2315
|
-
}],
|
|
2316
|
-
"text": "Error messages for the classification code field.\nSupports error codes: empty, invalidKzt"
|
|
2317
|
-
},
|
|
2318
|
-
"attribute": "classification-code-error",
|
|
2319
|
-
"reflect": false,
|
|
2320
|
-
"defaultValue": "\"{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}\""
|
|
2321
|
-
},
|
|
2322
|
-
"paypalEmailError": {
|
|
2323
|
-
"type": "string",
|
|
2324
|
-
"mutable": false,
|
|
2325
|
-
"complexType": {
|
|
2326
|
-
"original": "string",
|
|
2327
|
-
"resolved": "string",
|
|
2328
|
-
"references": {}
|
|
2329
|
-
},
|
|
2330
|
-
"required": false,
|
|
2331
|
-
"optional": false,
|
|
2332
|
-
"docs": {
|
|
2333
|
-
"tags": [{
|
|
2334
|
-
"text": "PayPal email error",
|
|
2335
|
-
"name": "uiName"
|
|
2336
|
-
}, {
|
|
2337
|
-
"text": "textArea",
|
|
2338
|
-
"name": "uiWidget"
|
|
2339
|
-
}],
|
|
2340
|
-
"text": "Error messages for the PayPal email field.\nSupports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete"
|
|
2341
|
-
},
|
|
2342
|
-
"attribute": "paypal-email-error",
|
|
2343
|
-
"reflect": false,
|
|
2344
|
-
"defaultValue": "\"{errorCode, select, empty {PayPal email is required} unsupportedCurrency {PayPal is not supported for this currency} invalidEmail {Please enter a valid email address} verificationIncomplete {PayPal verification is not complete} other {{errorCode}}}\""
|
|
2345
|
-
},
|
|
2346
|
-
"paymentThresholdError": {
|
|
2347
|
-
"type": "string",
|
|
2348
|
-
"mutable": false,
|
|
2349
|
-
"complexType": {
|
|
2350
|
-
"original": "string",
|
|
2351
|
-
"resolved": "string",
|
|
2352
|
-
"references": {}
|
|
2353
|
-
},
|
|
2354
|
-
"required": false,
|
|
2355
|
-
"optional": false,
|
|
2356
|
-
"docs": {
|
|
2357
|
-
"tags": [{
|
|
2358
|
-
"text": "Payment threshold error",
|
|
2359
|
-
"name": "uiName"
|
|
2360
|
-
}, {
|
|
2361
|
-
"text": "textArea",
|
|
2362
|
-
"name": "uiWidget"
|
|
2363
|
-
}],
|
|
2364
|
-
"text": "Error messages for the payment threshold field.\nSupports error codes: empty, invalid"
|
|
2365
|
-
},
|
|
2366
|
-
"attribute": "payment-threshold-error",
|
|
2367
|
-
"reflect": false,
|
|
2368
|
-
"defaultValue": "\"{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}\""
|
|
2369
|
-
},
|
|
2370
|
-
"paymentDayError": {
|
|
2371
|
-
"type": "string",
|
|
2372
|
-
"mutable": false,
|
|
2373
|
-
"complexType": {
|
|
2374
|
-
"original": "string",
|
|
2375
|
-
"resolved": "string",
|
|
2376
|
-
"references": {}
|
|
2377
|
-
},
|
|
2378
|
-
"required": false,
|
|
2379
|
-
"optional": false,
|
|
2380
|
-
"docs": {
|
|
2381
|
-
"tags": [{
|
|
2382
|
-
"text": "Payment day error",
|
|
2383
|
-
"name": "uiName"
|
|
2384
|
-
}, {
|
|
2385
|
-
"text": "textArea",
|
|
2386
|
-
"name": "uiWidget"
|
|
2387
|
-
}],
|
|
2388
|
-
"text": "Error messages for the payment day field.\nSupports error codes: empty, invalid"
|
|
2389
|
-
},
|
|
2390
|
-
"attribute": "payment-day-error",
|
|
2391
|
-
"reflect": false,
|
|
2392
|
-
"defaultValue": "\"{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}\""
|
|
2393
|
-
},
|
|
2394
1719
|
"demoData": {
|
|
2395
1720
|
"type": "unknown",
|
|
2396
1721
|
"mutable": false,
|
|
2397
1722
|
"complexType": {
|
|
2398
1723
|
"original": "DemoData<BankingInfoFormViewProps>",
|
|
2399
|
-
"resolved": "{ states?: { showVerification: boolean; step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\";
|
|
1724
|
+
"resolved": "{ states?: { showVerification: boolean; step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\"; }; }; }; }; bitset?: number; currency?: string; thresholds: string[]; countries?: { countryCode: string; displayName: string; }[]; allCountries?: { countryCode: string; displayName: string; }[]; currentPaymentOption?: any; showInputs?: boolean; bankCountry?: string; countrySearch?: string; email?: string; showModal: boolean; }; slots?: { verificationDialogSlot?: VNode; formInputsSlot?: VNode[]; countryInputSlot?: VNode; paymentMethodSlot?: VNode; paymentThresholdSelectSlot?: VNode; paymentFixedDaySelectSlot?: VNode; paypalInputSlot?: VNode; }; refs?: { formRef: any; }; }",
|
|
2400
1725
|
"references": {
|
|
2401
1726
|
"DemoData": {
|
|
2402
1727
|
"location": "import",
|