@justifi/webcomponents 6.1.1-rc.1 → 6.1.1
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/LICENSE +21 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-iW3HGQFY.js → check-pkg-version-CEZpYUNV.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CwcyK2nz.js → package-D2S7GRvh.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -7
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -2
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/docs.json +97 -22
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-XGo_oqEC.js → check-pkg-version-Ba95SWgY.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +1 -1
- package/dist/esm/form-alert_5.entry.js +4 -4
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-number-masked_2.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +2 -2
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +6 -6
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-owner-form_3.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-YyotqiSL.js → package-Csfiax9X.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
- package/dist/types/components.d.ts +10 -8
- package/dist/webcomponents/{p-e9f6a621.entry.js → p-000d6b5d.entry.js} +1 -1
- package/dist/webcomponents/{p-de95bf57.entry.js → p-0256af65.entry.js} +1 -1
- package/dist/webcomponents/{p-c2569b4c.entry.js → p-0f16c00f.entry.js} +1 -1
- package/dist/webcomponents/{p-aeb22aa2.entry.js → p-0f47f052.entry.js} +1 -1
- package/dist/webcomponents/{p-7686ef15.entry.js → p-1872ee94.entry.js} +1 -1
- package/dist/webcomponents/{p-3dd950bf.entry.js → p-281ea1f6.entry.js} +1 -1
- package/dist/webcomponents/{p-c12d0453.entry.js → p-2b568e8e.entry.js} +1 -1
- package/dist/webcomponents/{p-13df20c1.entry.js → p-2d9b817b.entry.js} +1 -1
- package/dist/webcomponents/{p-f378af59.entry.js → p-40c3d17c.entry.js} +1 -1
- package/dist/webcomponents/p-44ec2d88.entry.js +1 -0
- package/dist/webcomponents/{p-cb782215.entry.js → p-44f9739e.entry.js} +1 -1
- package/dist/webcomponents/p-5235230f.entry.js +1 -0
- package/dist/webcomponents/{p-773d6dd3.entry.js → p-5c0c35ac.entry.js} +1 -1
- package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
- package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
- package/dist/webcomponents/{p-d88d7418.entry.js → p-7eb4b9b4.entry.js} +1 -1
- package/dist/webcomponents/p-84551ee4.entry.js +1 -0
- package/dist/webcomponents/p-854b3db0.entry.js +1 -0
- package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
- package/dist/webcomponents/p-8b3245c4.entry.js +1 -0
- package/dist/webcomponents/{p-63ad8ebd.entry.js → p-8f8dfd4b.entry.js} +1 -1
- package/dist/webcomponents/{p-e365b251.entry.js → p-9365c7c2.entry.js} +1 -1
- package/dist/webcomponents/p-Csfiax9X.js +1 -0
- package/dist/webcomponents/{p-7680c57b.entry.js → p-a10ae013.entry.js} +1 -1
- package/dist/webcomponents/{p-6e9cd0dd.entry.js → p-a8ad5f5c.entry.js} +1 -1
- package/dist/webcomponents/p-a8e8d944.entry.js +1 -0
- package/dist/webcomponents/{p-fbc5fc6d.entry.js → p-aa14cc74.entry.js} +1 -1
- package/dist/webcomponents/{p-e6fe9b7d.entry.js → p-b3094b8f.entry.js} +1 -1
- package/dist/webcomponents/{p-447b55c0.entry.js → p-baf0d3e7.entry.js} +1 -1
- package/dist/webcomponents/{p-adc1d0be.entry.js → p-bdf293f6.entry.js} +1 -1
- package/dist/webcomponents/{p-28625e07.entry.js → p-c089fb5f.entry.js} +1 -1
- package/dist/webcomponents/{p-63fb5e82.entry.js → p-c6dc30e2.entry.js} +1 -1
- package/dist/webcomponents/p-d37d752e.entry.js +1 -0
- package/dist/webcomponents/{p-7b55e1c1.entry.js → p-da1fb2a3.entry.js} +1 -1
- package/dist/webcomponents/{p-d5452069.entry.js → p-ddc0b742.entry.js} +1 -1
- package/dist/webcomponents/{p-7b5ad3a7.entry.js → p-e6011271.entry.js} +1 -1
- package/dist/webcomponents/{p-4bf52215.entry.js → p-eaefb320.entry.js} +1 -1
- package/dist/webcomponents/{p-9ed7b13f.entry.js → p-f11a74c3.entry.js} +1 -1
- package/dist/webcomponents/p-fedfe376.entry.js +1 -0
- package/dist/webcomponents/{p-CdEseavG.js → p-l8F_7Ihw.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/dist/webcomponents/p-02fdd7f5.entry.js +0 -1
- package/dist/webcomponents/p-6472b6db.entry.js +0 -1
- package/dist/webcomponents/p-6f27030e.entry.js +0 -1
- package/dist/webcomponents/p-705dba52.entry.js +0 -1
- package/dist/webcomponents/p-80b2cdec.entry.js +0 -1
- package/dist/webcomponents/p-YyotqiSL.js +0 -1
- package/dist/webcomponents/p-a09695c4.entry.js +0 -1
- package/dist/webcomponents/p-b149a2fc.entry.js +0 -1
- package/dist/webcomponents/p-b4aa9298.entry.js +0 -1
- package/dist/webcomponents/p-bc099dd0.entry.js +0 -1
- package/dist/webcomponents/p-c644a9f1.entry.js +0 -1
- package/dist/webcomponents/p-edfeb034.entry.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 JustiFi Technologies, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -25,7 +25,7 @@ const BankAccountDocumentFormInputs = class {
|
|
|
25
25
|
index.registerInstance(this, hostRef);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("div", { key: '
|
|
28
|
+
return (index.h("div", { key: '23f5fa6b191b3feea7677a85a421002642a86f50', class: "row gy-3" }, index.h("div", { key: 'da9d9698f15aeb4bb05baef8fb63c630fcff8a82', class: "col-12" }, index.h("form-control-file", { key: 'b84a8ec1753210f74989c04b5520f0e94c5a083d', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '06d442df900406f122970bde6b2b293f2c9080ee', class: "col-12" }, index.h("form-control-file", { key: 'b3dc1d48900c5932c4d59f8b31a323193f0e86b4', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ const BankAccountFormInputs = class {
|
|
|
34
34
|
index.registerInstance(this, hostRef);
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (index.h("div", { key: '
|
|
37
|
+
return (index.h("div", { key: 'da4dc9523bca84cdd02f7e5d47e513c426ed90fd', class: "row gy-3" }, index.h("div", { key: 'b625a293dec704cbbb132469fdbc8c5d99a660e1', class: "col-12" }, index.h("form-control-text", { key: 'b41460ddc605f73faf71233ccbbef7e34e690e5a', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'e5560bcdba399baa2e54441436ef5c67936e9fef', class: "col-12" }, index.h("form-control-text", { key: '18cd16931899f724fd92cb89f1b8d4cd41c5354c', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '3bb589db98e5d65022576b602bda41f36e3a90d5', class: "col-12" }, index.h("form-control-text", { key: 'c870513b8895add114d5ec588561fa6f33a63514', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '1783e7b4af2b012338fe2e1b4f1faa9b5e086bcd', class: "col-12" }, index.h("form-control-select", { key: '6a9af0f6edeae133dce04b7f829abb802db4ac83', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '3c3ffced96f67320b4c580be6f28dd8ef5d2c109', class: "col-12" }, index.h("form-control-text", { key: 'e85df115a9de08ad9abb3237f7bf6c6d23c84150', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: '5a25cb25160aff24d1f62df2115dbd248709141e', class: "col-12" }, index.h("form-control-text", { key: 'dfdf7dce470efb8eea65aa6daf562d190963bace', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -48,10 +48,10 @@ const BankAccountForm = class {
|
|
|
48
48
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'f570c76e32ab7b017f220b8bcc0cecfafeffe47a' }, index.h(BankAccountFormSkeleton, { key: '390e43942d12ca974aa2d591e4df537c0300f235', isReady: this.isReady }), index.h("div", { key: '97a667e02df2bdc7b804708c122627e315d96c73', class: "container-fluid p-0", style: {
|
|
52
52
|
opacity: this.isReady ? '1' : '0',
|
|
53
53
|
height: this.isReady ? 'auto' : '0',
|
|
54
|
-
} }, index.h("div", { key: '
|
|
54
|
+
} }, index.h("div", { key: '7b4230ade22fa763a07259d0041a07d6a551e2a7', class: "row mb-3" }, index.h("iframe-input", { key: '2c1ee3b97a75aae1985fd04d59268c35e61b06e8', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '4aec3fd9f5e9d2ac57d12ecfda773ca75570ae54', class: "row" }, index.h("iframe-input", { key: 'd2c538e1772bafdcf4bb63bd58951ba8bc617be5', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -52,10 +52,10 @@ const CardForm = class {
|
|
|
52
52
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '038d2c8e2f9fcd1015d7177c79afa8c4e5810486' }, index.h(CardFormSkeleton, { key: 'b231bb34f43670bb1d92597d2ab37a5ef2c742e1', isReady: this.isReady }), index.h("div", { key: 'ede0af7f1964c2241982bfed4ca71f229d9096a1', class: "container-fluid p-0", style: {
|
|
56
56
|
opacity: this.isReady ? '1' : '0',
|
|
57
57
|
height: this.isReady ? 'auto' : '0',
|
|
58
|
-
} }, index.h("div", { key: '
|
|
58
|
+
} }, index.h("div", { key: '7c895da0378cc512b152a6629160009b12fa47aa', class: "mb-3" }, index.h("iframe-input", { key: '7717e0cf984a83402c61bceece2077cda780510f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'b28428997690059244e4da2cd5080af2fb44ca00', class: "d-flex align-items-start" }, index.h("div", { key: 'e2f11a9293e00ab5b950de51a41b3af266b8084a', class: "flex-fill me-3" }, index.h("iframe-input", { key: '16d798effe3e29a06d5714b742749a1ce9b40760', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: 'e75c69175bd23bc96192d17a4561a0118f640ebe', class: "flex-fill me-3" }, index.h("iframe-input", { key: '04d1c4fb7693e42a18984d9c102a5d799e7c1c3f', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: 'a2130dcbe8e72f156bc0434d47a26a8e287b1fce', class: "flex-fill" }, index.h("iframe-input", { key: '4709dcb93de9543be9a5143df0bdeaf66935bde3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -136,7 +136,7 @@ const CheckoutsListCore = class {
|
|
|
136
136
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
|
-
return (index.h(table.TableWrapper, { key: '
|
|
139
|
+
return (index.h(table.TableWrapper, { key: 'a39afbb74067a8ce3b4958f8509c6432d2e9acd4' }, index.h(table.TableComponent, { key: '912298a9c2b9f701b939bc224ff73d74c5451d55' }, index.h(table.TableHead, { key: 'dc14d0c44f7521360ccd76129c472825ded515cb' }, index.h(table.TableHeadRow, { key: '2dd9d8f52b56ce9e2fc1d4b50fa37143ee33e6cf' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '41f0ccf7b211593bb5a4396a5c6f5b1d6c5c7bc3' }, index.h(table.TableLoadingState, { key: 'e80fb55f7e4ae660a97c37fe710a17190164d132', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'cd1f4f3204d6ee3baa4d826b0081196716e4b5dd', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'cb54166a78e4ee8ea25f1905893763cdd8d3dd92', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: 'bf8bfd7790f5bfbcb43d1d656fcdcc5a5776df98' }, index.h(table.TableFootRow, { key: 'fb86e28f22e368cc78d55e165ced57b2a2076dca' }, index.h(table.TableFootCell, { key: 'c5e1254f49c06c4129565422cb68ab956f420f74', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '14ec42d778e22b4c8796a1895e3f7f90732da45b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
140
140
|
}
|
|
141
141
|
static get watchers() { return {
|
|
142
142
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -41,7 +41,7 @@ const AdditionalQuestions = class {
|
|
|
41
41
|
render() {
|
|
42
42
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
43
43
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
|
|
44
|
-
return (index.h(index.Host, { key: '
|
|
44
|
+
return (index.h(index.Host, { key: 'e3e354a7cf470f658e0f95d37186b1f45771b673' }, index.h("fieldset", { key: '7fb001177a4f907d513eb5955063d446234ede0c' }, index.h("legend", { key: 'ee6b045a438be9f56345daad752e105640f1ca3d', part: parts.heading2 }, "Additional Questions"), index.h("div", { key: 'ed114675357f3b70c34a3eb941fdb30e6219cdc9', class: "row gy-3" }, index.h("div", { key: 'b85c27c827cf5e5d0d556c343315e5eec736f538', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '4576f67fa74ba7c2ca9730468ddc52b055a3c496', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '0614c60cc7daaf890ccb4888d41b0260a26f9a0e', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '2c435c1553714d75542e0e3bcf1d723f26b37da8', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '8d4a19eb0b6b5707f4a423543d86ae50f6492efc', class: "col-12" }, index.h("form-control-select", { key: '2e49f907bae85cd4901e4aa4413284596fbed365', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessFormOptions.businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), index.h("div", { key: '11bc4e0bbe2122b977cf8bc29ac0601ef941881c', class: "col-12" }, index.h("form-control-select", { key: 'c511b728971250dc3272c1ef9ff96131a9ac6a2e', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: businessFormOptions.recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), index.h("div", { key: '5a40dfe41a9fca815cdf0eb7455b41615d1e6c76', class: "col-12" }, index.h("form-control-text", { key: 'd8aaf0f6d7d44b1b15ec76af198a0117493f08c6', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), index.h("div", { key: 'b211bb865a60baf1ea00c81f76f000ff2a31d7bd', class: "col-12" }, index.h("form-control-select", { key: '4b693e7425e690a59e2c70646cca2b886b8a8796', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: businessFormOptions.seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), index.h("div", { key: 'e85b7fceb9cdc808afaf3559609b7519c9630266', class: "col-12" }, index.h("form-control-text", { key: 'ae4a6518c7499826f30376f1c902f694244059c7', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -63,7 +63,7 @@ const BusinessCoreInfo = class {
|
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
65
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '75bbee71e68fb0dafa609838f4d3e22bf4388332' }, index.h("fieldset", { key: '1e1cc71bfd46b278ad3f7d3a73d5b126fbf19533' }, index.h("legend", { key: '341b82942f116b4a2b0b29ce505fda3a153f88ec', part: parts.heading2 }, "General Info"), index.h("div", { key: 'e97b3c3a38f888795c24c887d42854c79f1f7b34', class: "row gy-3" }, index.h("div", { key: '6d560585e9843143c836a302ad83b19719732467', class: "col-12" }, index.h("form-control-text", { key: '9868049d15e3f2552feba3ff6fa6b1ab43c7ae9c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: 'f77c1d66117c29b6f5963a99bbb531f76242d052', class: "col-12" }, index.h("form-control-text", { key: '2708d678c35d4fa9838cd3fd834c77105b94feff', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: 'bb17f23c8f7fc1be73524dce8ed11ce9a9524a21', class: "col-12 col-md-8" }, index.h("form-control-select", { key: 'bc4175a9ed29127d89cf9c6135448c80733f6959', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: '6c5faad25c64ec50023be5128b8b0527584f9a7c', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '54a151222d7eabc40a66ffbd5d0dba2e765cd135', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: '5a562ba1811a319d2f5dd10197be2e1ecb94da8b', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '03780a900fd4c176e5658b0784ef57eb48d2b3f7', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '96e4110eb7b40f87a804b24a2ec94defca0be899', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '3cfda64e576a93bbed143b34c235b5388dade635', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.TAX_ID_MASKS.US })), index.h("div", { key: '6a6e4d87838f2666c2750662c1f031f3b8d0effe', class: "col-12" }, index.h("form-control-text", { key: '68f28a6b78e2df1cd69631097a001369722d8081', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: '8a334f64bc214d1211772e5a5018b82dadd88d1a', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '639888a2d30e785e1d403830c718b7991f28285a', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'b4aac33c17ce96c5c9a9ce5a90f322f69941df5e', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'c384d24cc34fefca964a5eb412b28360361ab780', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
|
|
@@ -92,7 +92,7 @@ const BusinessRepresentative = class {
|
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
94
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
95
|
-
return (index.h(index.Host, { key: '
|
|
95
|
+
return (index.h(index.Host, { key: '88bd35928331776d5cbb7d085fd55a76fde1a084' }, index.h("fieldset", { key: '202c40f332352c2f4d3c8a136888c39c67379e5f' }, index.h("legend", { key: 'a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7', part: parts.heading2 }, "Representative"), index.h("div", { key: 'ba50c004e2b37f384dd8af63b1e0e397abadb9de', class: "row gy-3" }, index.h("div", { key: 'b85bf5fb0da9e8feae19dbebb0a911362e914601', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '95f849c7c0ba0c67bdc0a55727e00755e03897ef', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '074067a3ce960b678ea38d53b84adda24e60754c', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '7ef397af32b7c0f79eeae1499bf3d3d147961c96', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: 'a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '39174c4b812462d1aa28824bca550e3f6e1d98b4', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '96092fd371ec82a8f8ebbf8bc4e3064768d4ad97', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'c24980f126c056aff139e897fdef9795905ea89b', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), index.h("div", { key: '9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8', class: "col-12 col-md-8" }, index.h("form-control-number-masked", { key: '8d8a56c08fb06f1a54baf3ee3d6e31a684205290', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK })), index.h("div", { key: '22fa5e16517e14ab031aa5e7e95ea77bd7b28986', class: "col-12" }, index.h("justifi-identity-address-form", { key: '4a990de739a0ae6fbf1f6a621ff7c0078517e970', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
|
|
@@ -112,7 +112,7 @@ const LegalAddressForm = class {
|
|
|
112
112
|
render() {
|
|
113
113
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
114
114
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '5b21d99717f9b24c0551c7a96acf68e53e7787bf' }, index.h("fieldset", { key: 'd63cbd20b2648405c50a819724e0f8cf556f7d26' }, index.h("legend", { key: 'c0acd14073f13f914015f40d39bf22fb58792434', part: parts.heading2 }, "Business Legal Address"), index.h("div", { key: 'ee4cee6bd662816f822ee209aeda5e9664f6a64d', class: "row gy-3" }, index.h("div", { key: '86b258fd09e73cbd2475330419274732231f3871', class: "col-12" }, index.h("form-control-text", { key: '8d898a9ae448f07932afe2d8cfc2314b92d9c597', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), index.h("div", { key: '1a50c4b86a754035f71efacd39721219fcd54d60', class: "col-12" }, index.h("form-control-text", { key: '507b1451685e359a900f0bc7010ff39e3631daf2', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), index.h("div", { key: '1446b4db5f86a3b18e3aceb78274ffe458dbd3db', class: "col-12" }, index.h("form-control-text", { key: 'e17e4bd95ad4290d18edde79cf05a6b3a105166c', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), index.h("div", { key: '9b880203bad9e104e6d1299ff73c83cba46ab563', class: "col-12" }, index.h("form-control-select", { key: '24e4df10f688c9a1b5f2af5217f03919bf7abec7', name: "state", label: "State", options: stateOptions.StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), index.h("div", { key: '71f21b19602c268e3b6a839ce41ff9d4f8ffb8c4', class: "col-12" }, index.h("form-control-text", { key: 'ca71d3e21c5a0aea5367fa28ec1a2422ba9b1cf3', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler })), index.h("div", { key: 'aaee0bf6a24ba182e002c1ffb49736fb622cde1f', class: "col-12" }, index.h("form-control-select", { key: '2b6486771818e584dcc195c304e5a6e16850b4a9', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
116
116
|
// just for now so we skip handling country specificities
|
|
117
117
|
disabled: true }))))));
|
|
118
118
|
}
|
|
@@ -39,10 +39,10 @@ const CheckboxInput = class {
|
|
|
39
39
|
return parts.inputCheckbox;
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '5f005eb28eba876fdb960c1f2f1dcde88eb3301e' }, index.h("div", { key: '09ee456c7f4339129b7b8b6a3988e460729a1b63', class: 'form-group d-flex flex-column' }, index.h("div", { key: '37ed948a6a54b5274416183130718d4edb5a0438', class: "form-check" }, index.h("input", { key: 'd787cb203ba00e73e802b9d4fb19176b3b773ada', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
43
43
|
this.isFocused = false;
|
|
44
44
|
this.formControlBlur.emit();
|
|
45
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '
|
|
45
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '46548faac2cfe3d43ac71a68616ae3fb2d496d03', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: 'ac4d887f51e5a32bed3b57053f4fbdbff5bac22d', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '4e4274031280fe30b9b3c8089aa0b313ff2308c9', errorText: this.errorText, name: this.name }))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -64,10 +64,10 @@ const MonetaryInputProvisioning = class {
|
|
|
64
64
|
return part;
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (index.h(index.Host, { key: '
|
|
67
|
+
return (index.h(index.Host, { key: '59e5e4d46e7d4ece898464d846505756611f6635' }, index.h("div", { key: 'e82201d6777584666ec5ca04ad9e02b83fa956c0', class: "form-group d-flex flex-column" }, index.h("label", { key: '9bbb22bb201d3db07670e4f26521593ff229f583', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("div", { key: '61909b4796f78e22d9e6508d9257cdf16220e675', class: "input-group" }, index.h("span", { key: '152a4f1a6323e55bf6f48aa25353939569acc419', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: 'cc8055c02a4ccb4f63553f45b5ded4ee3d8cf972', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
68
68
|
this.isFocused = false;
|
|
69
69
|
this.formControlBlur.emit();
|
|
70
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h(formControlHelpText.FormControlHelpText, { key: '
|
|
70
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h(formControlHelpText.FormControlHelpText, { key: '776dfb4a9d74342ba139dda6706af8e60b4700fc', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '74e503b7e525aeeb994b1ae94941f07365d2460e', errorText: this.errorText, name: this.name }))));
|
|
71
71
|
}
|
|
72
72
|
static get watchers() { return {
|
|
73
73
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -94,7 +94,7 @@ const IdentityAddressForm = class {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
97
|
+
return (index.h(index.Host, { key: '136f90a2d2e8634c003a5f47af20d422b7cc59be' }, index.h("div", { key: 'e7441c2a0410381be43f8d0735fdf4e390f664f2', class: "row gy-3" }, index.h("div", { key: '93f23a3ba51716a88bf90628f395dbb3bc456cdc', class: "col-12 col-md-8" }, index.h("form-control-text", { key: 'f4801f6eb05d3a169142daa6b0d123ef84864de8', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), index.h("div", { key: 'e8ce49dcd4d3c6df3327d2c011ec1c0a080fb4f2', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '8cbe92c156c4d410b712b2fc95c7bfe55be4e337', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), index.h("div", { key: '4cfcfc24268fd92ccaac110a8293e95bc9998af8', class: "col-12" }, index.h("form-control-text", { key: 'b2739b7fd7838ee73c9127fd8e9b0dd6dcd12210', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), index.h("div", { key: 'ce9e4974dcdab596dfcefef362d045ee2fea3648', class: "col-12 col-md-6" }, index.h("form-control-select", { key: 'c001d0a3d3b402768ec428c0e5760cf0e88c318d', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: stateOptions.StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), index.h("div", { key: '7b73598a2b207db9ec2480ed37d163aa45128e6d', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'a070edca32110dc4ec238c486ae96852733ae924', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler, inputHandler: this.inputHandler })), index.h("div", { key: '57b01955142ed533a65058b63cfd20598e8387c2', class: "col-12" }, index.h("form-control-select", { key: '8f07809025c039b4c39a452ddf2948f973a82d9a', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
|
|
98
98
|
// just for now so we skip handling country specificities
|
|
99
99
|
disabled: true })))));
|
|
100
100
|
}
|
|
@@ -5,7 +5,7 @@ var index = require('./index-CWM5ions.js');
|
|
|
5
5
|
var parts = require('./parts-Pb06tUMp.js');
|
|
6
6
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
|
|
8
|
-
var _package = require('./package-
|
|
8
|
+
var _package = require('./package-D2S7GRvh.js');
|
|
9
9
|
|
|
10
10
|
const iframeInputStylesStore = index.createStore({
|
|
11
11
|
focused: {
|
|
@@ -59,7 +59,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h("justifi-additional-questions-form-step-core", { key: '
|
|
62
|
+
return (index.h("justifi-additional-questions-form-step-core", { key: 'b494a48aa19f63e30007663276876540c5149879', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
63
63
|
}
|
|
64
64
|
static get watchers() { return {
|
|
65
65
|
"authToken": ["propChanged"],
|
|
@@ -106,7 +106,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (index.h("justifi-business-bank-account-form-step-core", { key: '
|
|
109
|
+
return (index.h("justifi-business-bank-account-form-step-core", { key: 'adb496ad14cd3334d30e571d873150ed8335f833', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
110
110
|
}
|
|
111
111
|
static get watchers() { return {
|
|
112
112
|
"authToken": ["propChanged"],
|
|
@@ -150,7 +150,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return (index.h("justifi-business-core-info-form-step-core", { key: '
|
|
153
|
+
return (index.h("justifi-business-core-info-form-step-core", { key: '1d2bd68e87d5f312c54f5a4bda8863b26fdeec5d', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
154
154
|
}
|
|
155
155
|
static get watchers() { return {
|
|
156
156
|
"authToken": ["propChanged"],
|
|
@@ -194,7 +194,7 @@ const BusinessOwnersFormStep = class {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return (index.h(index.Host, { key: '
|
|
197
|
+
return (index.h(index.Host, { key: '3420b6e74da344665583a49146b5b7fd1be40155' }, index.h("justifi-business-owners-form-step-core", { key: '3e092450028815a0b134af4294edbb7589864409', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
|
|
198
198
|
}
|
|
199
199
|
static get watchers() { return {
|
|
200
200
|
"authToken": ["propChanged"],
|
|
@@ -238,7 +238,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
render() {
|
|
241
|
-
return (index.h("justifi-business-representative-form-step-core", { key: '
|
|
241
|
+
return (index.h("justifi-business-representative-form-step-core", { key: '582c77f4b763573a1d29726285a9b871afe96d89', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
242
242
|
}
|
|
243
243
|
static get watchers() { return {
|
|
244
244
|
"authToken": ["propChanged"],
|
|
@@ -366,7 +366,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
366
366
|
return (index.h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
367
367
|
}
|
|
368
368
|
render() {
|
|
369
|
-
return (index.h("form", { key: '
|
|
369
|
+
return (index.h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, index.h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, index.h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: parts.heading2 }, "Terms and Conditions"), index.h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), index.h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, index.h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), index.h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), index.h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, index.h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, index.h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
|
|
@@ -406,7 +406,7 @@ const LegalAddressFormStep = class {
|
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
render() {
|
|
409
|
-
return (index.h("justifi-legal-address-form-step-core", { key: '
|
|
409
|
+
return (index.h("justifi-legal-address-form-step-core", { key: 'bd286476461181f2e8a435a97bf148d55876b49c', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
410
410
|
}
|
|
411
411
|
static get watchers() { return {
|
|
412
412
|
"authToken": ["propChanged"],
|
|
@@ -428,7 +428,7 @@ const PaymentProvisioningFormButtons = class {
|
|
|
428
428
|
return this.currentStep === this.totalSteps;
|
|
429
429
|
}
|
|
430
430
|
render() {
|
|
431
|
-
return (index.h("div", { key: '
|
|
431
|
+
return (index.h("div", { key: '5869ed8c350e3a1ae5fe62dcd04493f432eecff7', class: 'd-flex gap-2' }, index.h(button.Button, { key: 'b1e8c2fff97e9a053d715860a43ddd78c99b255a', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), index.h(button.Button, { key: '8696fe4f0bde5434e51f05f67b39a8e5b2f550bf', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, eventTypes.BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), index.h(button.Button, { key: 'b1750a849d60244bdb3cf82690c6cbd15b6e1110', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, eventTypes.BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
|
|
@@ -450,7 +450,7 @@ const PaymentProvisioningFormSteps = class {
|
|
|
450
450
|
return this.componentStepMapping[this.currentStep]();
|
|
451
451
|
}
|
|
452
452
|
render() {
|
|
453
|
-
return (index.h("div", { key: '
|
|
453
|
+
return (index.h("div", { key: '9a09e562d0a3548cb40863ba5780c5d1692b6ec3', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
|
|
@@ -11,7 +11,7 @@ var utils = require('./utils-Bab-tddY.js');
|
|
|
11
11
|
var header1 = require('./header-1-D3r87SC6.js');
|
|
12
12
|
var insuranceState = require('./insurance-state-JbqYvJN3.js');
|
|
13
13
|
var header3 = require('./header-3-BFQJJgBb.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-CEZpYUNV.js');
|
|
15
15
|
require('./config-state-C7babhLh.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
17
17
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
@@ -24,7 +24,7 @@ var checkout_service = require('./checkout.service-Bc8L9ixO.js');
|
|
|
24
24
|
var index$1 = require('./index-C2ITzalN.js');
|
|
25
25
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
26
26
|
require('./index-CWM5ions.js');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-D2S7GRvh.js');
|
|
28
28
|
require('./helpers-B5OCqlIM.js');
|
|
29
29
|
require('./state-options-CIT9xdTz.js');
|
|
30
30
|
|
|
@@ -7,7 +7,7 @@ var parts = require('./parts-Pb06tUMp.js');
|
|
|
7
7
|
var styledHost = require('./styled-host-BSooSIhA.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
9
|
var skeleton = require('./skeleton-BvdAh448.js');
|
|
10
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
10
|
+
var checkPkgVersion = require('./check-pkg-version-CEZpYUNV.js');
|
|
11
11
|
var configState = require('./config-state-C7babhLh.js');
|
|
12
12
|
var index$1 = require('./index-C2ITzalN.js');
|
|
13
13
|
var header3 = require('./header-3-BFQJJgBb.js');
|
|
@@ -19,7 +19,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
|
|
|
19
19
|
require('./business-form-options-CMII7nIK.js');
|
|
20
20
|
require('./Business-DCRzZf0w.js');
|
|
21
21
|
require('./helpers-B5OCqlIM.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-D2S7GRvh.js');
|
|
23
23
|
require('./Api-CjtvTD2_.js');
|
|
24
24
|
require('./utils-Bab-tddY.js');
|
|
25
25
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -40,7 +40,7 @@ const JustifiRadioListItem = class {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
43
|
+
return (index.h(styledHost.StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, index.h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: parts.radioListItem, onClick: this.handleClick, hidden: this.hidden }, index.h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -99,7 +99,7 @@ const BankAccountBillingFormSimple = class {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
102
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
102
|
+
return (index.h(styledHost.StyledHost, { key: 'fc6e23e6f8b64b5635dbeea93b9d5fe261dc772c' }, index.h("div", { key: '05b37c65fe24ddcb546e204350996976f5a53eea', part: parts.billingForm, class: "mt-4" }, index.h("form", { key: 'b02df8adf96ac298b15bfb744177524f0c067254' }, index.h("fieldset", { key: '83d292caaa4322fbf151bf5bdac007ea13ea0b7e' }, this.legend && (index.h("legend", { key: 'bf956b7714776d01869e4bf740b5ee75d758a2cc' }, this.legend)), index.h("div", { key: '7095362ffbba89a5b6396921e8c5c05d144a9a5b', class: "row gy-3" }, index.h("div", { key: '36dc450d4411e5755cff8b76fceba7e7cff516c8', class: "col-12" }, index.h("form-control-text", { key: 'ea52769979280cde0854cbf9fe12fa4abe40b769', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
|
|
@@ -266,7 +266,7 @@ const CardBillingFormSimple = class {
|
|
|
266
266
|
}
|
|
267
267
|
render() {
|
|
268
268
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
269
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
269
|
+
return (index.h(styledHost.StyledHost, { key: '26fd30b96e63f0adac380f70fae5cb4b80d9b36f' }, index.h("div", { key: '79558919d544889647d034bdc415f9b404d4a058', part: parts.billingForm }, index.h("form", { key: '21b722098010050f4a22b1e3cc995090c50a9f74' }, index.h("fieldset", { key: 'f371a839f16363d8242a38469c78eba1759e46a7' }, this.legend && (index.h("legend", { key: '45b9d4d5b0dd502f5ebca9c357cdf6b75a16f9e1' }, this.legend)), index.h("div", { key: 'ae1c10a2bae0061dd2aa0645e7d1f8c8ed899444', class: "row gy-3" }, index.h("div", { key: 'cd99d74f2803336bd0b25c7a962ef95fa66079ba', class: "col-12" }, index.h("form-control-text", { key: '6ac34b703ae83a9e6c4c86b3c239795c5a7d0d57', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: utils.numberOnlyHandler }))))))));
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
|
|
@@ -339,7 +339,7 @@ const SaveNewPaymentMethod = class {
|
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
341
|
render() {
|
|
342
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
342
|
+
return (index.h(styledHost.StyledHost, { key: '04ed1491d4f5ca3e03a8a1f7a46dff5a0eb888de' }, index.h("form-control-checkbox", { key: '7901643960e9d5d26c5916fb6e06601a6b59906a', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
|
|
@@ -5,7 +5,7 @@ var utils = require('./utils-CUcA4G_O.js');
|
|
|
5
5
|
var business_service = require('./business.service-Cj_NUZsr.js');
|
|
6
6
|
var getBusiness = require('./get-business-o5jPq_ME.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
8
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-CEZpYUNV.js');
|
|
9
9
|
require('./parts-Pb06tUMp.js');
|
|
10
10
|
require('./Api-CjtvTD2_.js');
|
|
11
11
|
require('./config-state-C7babhLh.js');
|
|
@@ -19,7 +19,7 @@ require('./Business-DCRzZf0w.js');
|
|
|
19
19
|
require('./helpers-B5OCqlIM.js');
|
|
20
20
|
require('./state-options-CIT9xdTz.js');
|
|
21
21
|
require('./utils-DvUQQLmR.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-D2S7GRvh.js');
|
|
23
23
|
|
|
24
24
|
const BusinessDetails = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ require('./Refund-BnhHNKLz.js');
|
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
var Business = require('./Business-DCRzZf0w.js');
|
|
13
13
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-CEZpYUNV.js');
|
|
15
15
|
var button = require('./button-gPNZ9XRn.js');
|
|
16
16
|
var styledHost = require('./styled-host-BSooSIhA.js');
|
|
17
17
|
var header1 = require('./header-1-D3r87SC6.js');
|
|
@@ -27,7 +27,7 @@ require('./business-form-options-CMII7nIK.js');
|
|
|
27
27
|
require('./index-CWM5ions.js');
|
|
28
28
|
require('./utils-Bab-tddY.js');
|
|
29
29
|
require('./helpers-B5OCqlIM.js');
|
|
30
|
-
require('./package-
|
|
30
|
+
require('./package-D2S7GRvh.js');
|
|
31
31
|
require('./Api-CjtvTD2_.js');
|
|
32
32
|
require('./parts-Pb06tUMp.js');
|
|
33
33
|
require('./utils-DvUQQLmR.js');
|
|
@@ -19,7 +19,7 @@ const RepresentativeFormInputs = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
22
|
-
return (index.h("form", { key: '
|
|
22
|
+
return (index.h("form", { key: 'e4b7a532e18a921a5a28aab31f679fbbad164198' }, index.h("fieldset", { key: 'd7056e5ee25625adb563e2687f581157653c8a9d' }, index.h("div", { key: '456aab0ef1399a7c1d272059c881c6c6f3d0e87c', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '430b3731bbd97ff1589bd81bd6fdaa4082161180', class: "mb-0", part: parts.heading2 }, "Representative"), index.h("form-control-tooltip", { key: '47676ededb80e0f766cb786265d8fb307c60d125', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), index.h("hr", { key: '514197b5bd4868ec29e75dc74367deb187b32063', class: "mt-2" }), index.h("div", { key: 'f2986d55d0bfbf0e6059f0b2a766d2dc603acdc5', class: "row gy-3" }, index.h("div", { key: 'e4a3749c5e972f505527b8fc172f9a4214806345', class: "col-12 col-md-8" }, index.h("form-control-text", { key: 'd54c8d17f0360277fe04dd91a528e303182495c7', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '4fa0b1a192fb39a982c957d202ea2ac1e40dedd8', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '8c3bca4234ea0e7ae3c79d810ffb469637898eb6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: '7e14a61364883172f2938bd8b1e53883ddd369fe', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '8d9c81d374998dbaea5322906fddb5eeadea1546', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'c3f369b226a08497926b26d0732b7dc9d6413559', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '734625aeac8384f2b8676c4d350368675cff3a6f', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '23d509b724f2617eb0a4f85c74238b09a052a6cb', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '0f838cc474beab9822a84856733a86ecf43f0ec3', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'f6d08c53dad2e9a550adf893ac59166015ffb6e4', class: "col-12 col-md-8" }, index.h("form-control-number-masked", { key: 'dd610955fb7c62fd0aab9af925af34cdc47ab3e9', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), index.h("div", { key: 'd4e2a212a87ca9be4be8e21f3e47008b2201871c', class: "col-12" }, index.h("justifi-identity-address-form", { key: 'bb2d0d01e07be4d37acfd448796c8a33460111ed', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|