@justifi/webcomponents 5.3.0 → 5.3.2
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/{Api-b0e4be29.js → Api-089e7501.js} +1 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +10 -6
- package/dist/cjs/billing-form_3.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-2f66f025.js → business-additional-questions-schema-2cc0c6f7.js} +1 -1
- package/dist/cjs/{business-identity-schema-be495474.js → business-identity-schema-7d462eb3.js} +1 -1
- package/dist/cjs/{business.service-d575b515.js → business.service-33d7c7f2.js} +1 -1
- package/dist/cjs/{check-pkg-version-1658df6f.js → check-pkg-version-fe4c6467.js} +2 -2
- package/dist/cjs/{checkout.service-057b5a7a.js → checkout.service-d9047ddb.js} +1 -1
- package/dist/cjs/{dispute.service-df9e1830.js → dispute.service-739631c7.js} +1 -1
- package/dist/cjs/{get-payout-csv-527a238c.js → get-payout-csv-bdaff21b.js} +1 -1
- package/dist/cjs/{get-subaccounts-6068c1aa.js → get-subaccounts-2db9fc01.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-06419e54.js → package-8b04bef0.js} +1 -1
- package/dist/cjs/{payment.service-3eebfe3e.js → payment.service-87924c1a.js} +1 -1
- package/dist/cjs/{schema-validations-cc4e6071.js → schema-validations-f948158d.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +25 -1
- package/dist/collection/components/checkout/card-form/card-form.js +25 -1
- package/dist/collection/components/checkout/checkout-core.js +20 -2
- package/dist/collection/components/checkout/checkout.js +22 -2
- package/dist/collection/components/checkout/new-payment-method.js +20 -2
- package/dist/collection/components/checkout/payment-method-options.js +20 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +44 -18
- package/dist/config.js +1 -0
- package/dist/docs.json +176 -20
- package/dist/esm/{Api-0cac5b8a.js → Api-97801a4b.js} +1 -0
- package/dist/esm/bank-account-form_9.entry.js +10 -6
- package/dist/esm/billing-form_3.entry.js +2 -2
- package/dist/esm/{business-additional-questions-schema-212a96ed.js → business-additional-questions-schema-60e9b76a.js} +1 -1
- package/dist/esm/{business-identity-schema-05bd2a5f.js → business-identity-schema-191d85c2.js} +1 -1
- package/dist/esm/{business.service-6a208f8f.js → business.service-45c7df3c.js} +1 -1
- package/dist/esm/{check-pkg-version-bac7eb5e.js → check-pkg-version-e2273f4f.js} +2 -2
- package/dist/esm/{checkout.service-ac067baa.js → checkout.service-36e3355e.js} +1 -1
- package/dist/esm/{dispute.service-26a788a8.js → dispute.service-9b9b87e5.js} +1 -1
- package/dist/esm/{get-payout-csv-684fece6.js → get-payout-csv-80210301.js} +1 -1
- package/dist/esm/{get-subaccounts-b1bed757.js → get-subaccounts-d3eeb85d.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-core.entry.js +3 -2
- package/dist/esm/justifi-checkout.entry.js +7 -6
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-dispute-management.entry.js +4 -4
- package/dist/esm/justifi-dispute-notification_3.entry.js +4 -4
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-owner-form_3.entry.js +4 -4
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +5 -5
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +4 -4
- package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-90ebd343.js → package-a8e8f775.js} +1 -1
- package/dist/esm/{payment.service-2e418da1.js → payment.service-c847c1f6.js} +1 -1
- package/dist/esm/{schema-validations-ccea6a06.js → schema-validations-38e8bc7b.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/bank-account-form2.js +3 -1
- package/dist/module/card-form2.js +3 -1
- package/dist/module/checkout-core.js +4 -2
- package/dist/module/config.js +1 -0
- package/dist/module/justifi-checkout.js +5 -2
- package/dist/module/justifi-tokenize-payment-method.js +17 -8
- package/dist/module/new-payment-method.js +4 -2
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-options.js +4 -2
- package/dist/module/schema-validations.js +1 -1
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout-core.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +5 -3
- package/dist/types/components.d.ts +24 -12
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +1 -0
- package/dist/webcomponents/p-02d36485.entry.js +1 -0
- package/dist/webcomponents/p-1820fd87.entry.js +1 -0
- package/dist/webcomponents/{p-d07c45e6.entry.js → p-1882d7d6.entry.js} +1 -1
- package/dist/webcomponents/{p-e0db920c.entry.js → p-25c9c88c.entry.js} +1 -1
- package/dist/webcomponents/{p-f5925b1e.entry.js → p-2710884e.entry.js} +1 -1
- package/dist/webcomponents/{p-de13f23c.js → p-27c8ffa2.js} +1 -1
- package/dist/webcomponents/{p-865733bc.js → p-35b00a0d.js} +1 -1
- package/dist/webcomponents/{p-c5ce98b0.entry.js → p-39696abd.entry.js} +1 -1
- package/dist/webcomponents/{p-f9728478.entry.js → p-40eabfca.entry.js} +1 -1
- package/dist/webcomponents/p-4810f227.entry.js +1 -0
- package/dist/webcomponents/{p-ed17e472.entry.js → p-485814d8.entry.js} +1 -1
- package/dist/webcomponents/p-4bad3621.js +1 -0
- package/dist/webcomponents/p-57206dc4.entry.js +1 -0
- package/dist/webcomponents/{p-3d5c8a98.entry.js → p-63a8b08f.entry.js} +1 -1
- package/dist/webcomponents/p-67b75e01.entry.js +1 -0
- package/dist/webcomponents/{p-21cf557e.entry.js → p-68bf1a1d.entry.js} +1 -1
- package/dist/webcomponents/{p-a263a3db.entry.js → p-72992c97.entry.js} +1 -1
- package/dist/webcomponents/{p-0277c1b2.js → p-849c68e5.js} +1 -1
- package/dist/webcomponents/{p-2a136295.js → p-933537ca.js} +1 -1
- package/dist/webcomponents/{p-c470a150.js → p-960a8ec2.js} +1 -1
- package/dist/webcomponents/{p-f706d70e.js → p-a2076a0e.js} +1 -1
- package/dist/webcomponents/p-a47c14cb.entry.js +1 -0
- package/dist/webcomponents/p-b01405ab.entry.js +1 -0
- package/dist/webcomponents/{p-c5c03d88.js → p-b0b40bcd.js} +1 -1
- package/dist/webcomponents/p-b15ad5df.js +1 -0
- package/dist/webcomponents/{p-42047b14.entry.js → p-b2209632.entry.js} +1 -1
- package/dist/webcomponents/{p-c845cb7a.js → p-b2edb944.js} +1 -1
- package/dist/webcomponents/{p-9235b94e.entry.js → p-c75481bf.entry.js} +1 -1
- package/dist/webcomponents/{p-cc4adf97.js → p-dd867d1f.js} +1 -1
- package/dist/webcomponents/{p-abb46c6b.entry.js → p-e22df884.entry.js} +1 -1
- package/dist/webcomponents/{p-3c0b56cd.entry.js → p-e8d0f978.entry.js} +1 -1
- package/dist/webcomponents/{p-f9ac523e.entry.js → p-fbe16023.entry.js} +1 -1
- package/dist/webcomponents/p-fdbcd486.js +1 -0
- package/dist/webcomponents/{p-f1e01bab.entry.js → p-ff955a18.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-0ef9eae6.entry.js +0 -1
- package/dist/webcomponents/p-2d801915.js +0 -1
- package/dist/webcomponents/p-56addd0a.entry.js +0 -1
- package/dist/webcomponents/p-631d54a2.entry.js +0 -1
- package/dist/webcomponents/p-6b0bec46.entry.js +0 -1
- package/dist/webcomponents/p-cdb7fa19.entry.js +0 -1
- package/dist/webcomponents/p-ea105de3.js +0 -1
- package/dist/webcomponents/p-ea5cf135.entry.js +0 -1
- package/dist/webcomponents/p-f9d63d9d.js +0 -1
- package/dist/webcomponents/p-fe0d245f.entry.js +0 -1
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-02-
|
|
2
|
+
"timestamp": "2025-02-07T16:52:15",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.19.2",
|
|
@@ -174,7 +174,29 @@
|
|
|
174
174
|
"docs": "",
|
|
175
175
|
"docsTags": [],
|
|
176
176
|
"usage": {},
|
|
177
|
-
"props": [
|
|
177
|
+
"props": [
|
|
178
|
+
{
|
|
179
|
+
"name": "iframeOrigin",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "string",
|
|
183
|
+
"resolved": "string",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"attr": "iframe-origin",
|
|
188
|
+
"reflectToAttr": false,
|
|
189
|
+
"docs": "",
|
|
190
|
+
"docsTags": [],
|
|
191
|
+
"values": [
|
|
192
|
+
{
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"optional": false,
|
|
197
|
+
"required": false
|
|
198
|
+
}
|
|
199
|
+
],
|
|
178
200
|
"methods": [
|
|
179
201
|
{
|
|
180
202
|
"name": "tokenize",
|
|
@@ -713,7 +735,29 @@
|
|
|
713
735
|
"docs": "",
|
|
714
736
|
"docsTags": [],
|
|
715
737
|
"usage": {},
|
|
716
|
-
"props": [
|
|
738
|
+
"props": [
|
|
739
|
+
{
|
|
740
|
+
"name": "iframeOrigin",
|
|
741
|
+
"type": "string",
|
|
742
|
+
"complexType": {
|
|
743
|
+
"original": "string",
|
|
744
|
+
"resolved": "string",
|
|
745
|
+
"references": {}
|
|
746
|
+
},
|
|
747
|
+
"mutable": false,
|
|
748
|
+
"attr": "iframe-origin",
|
|
749
|
+
"reflectToAttr": false,
|
|
750
|
+
"docs": "",
|
|
751
|
+
"docsTags": [],
|
|
752
|
+
"values": [
|
|
753
|
+
{
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"optional": false,
|
|
758
|
+
"required": false
|
|
759
|
+
}
|
|
760
|
+
],
|
|
717
761
|
"methods": [
|
|
718
762
|
{
|
|
719
763
|
"name": "tokenize",
|
|
@@ -8096,6 +8140,28 @@
|
|
|
8096
8140
|
],
|
|
8097
8141
|
"optional": true,
|
|
8098
8142
|
"required": false
|
|
8143
|
+
},
|
|
8144
|
+
{
|
|
8145
|
+
"name": "iframeOrigin",
|
|
8146
|
+
"type": "string",
|
|
8147
|
+
"complexType": {
|
|
8148
|
+
"original": "string",
|
|
8149
|
+
"resolved": "string",
|
|
8150
|
+
"references": {}
|
|
8151
|
+
},
|
|
8152
|
+
"mutable": false,
|
|
8153
|
+
"attr": "iframe-origin",
|
|
8154
|
+
"reflectToAttr": false,
|
|
8155
|
+
"docs": "",
|
|
8156
|
+
"docsTags": [],
|
|
8157
|
+
"default": "config.iFrameOrigin",
|
|
8158
|
+
"values": [
|
|
8159
|
+
{
|
|
8160
|
+
"type": "string"
|
|
8161
|
+
}
|
|
8162
|
+
],
|
|
8163
|
+
"optional": true,
|
|
8164
|
+
"required": false
|
|
8099
8165
|
}
|
|
8100
8166
|
],
|
|
8101
8167
|
"methods": [
|
|
@@ -8459,6 +8525,27 @@
|
|
|
8459
8525
|
],
|
|
8460
8526
|
"optional": true,
|
|
8461
8527
|
"required": false
|
|
8528
|
+
},
|
|
8529
|
+
{
|
|
8530
|
+
"name": "iframeOrigin",
|
|
8531
|
+
"type": "string",
|
|
8532
|
+
"complexType": {
|
|
8533
|
+
"original": "string",
|
|
8534
|
+
"resolved": "string",
|
|
8535
|
+
"references": {}
|
|
8536
|
+
},
|
|
8537
|
+
"mutable": false,
|
|
8538
|
+
"attr": "iframe-origin",
|
|
8539
|
+
"reflectToAttr": false,
|
|
8540
|
+
"docs": "",
|
|
8541
|
+
"docsTags": [],
|
|
8542
|
+
"values": [
|
|
8543
|
+
{
|
|
8544
|
+
"type": "string"
|
|
8545
|
+
}
|
|
8546
|
+
],
|
|
8547
|
+
"optional": false,
|
|
8548
|
+
"required": false
|
|
8462
8549
|
}
|
|
8463
8550
|
],
|
|
8464
8551
|
"methods": [
|
|
@@ -10946,6 +11033,27 @@
|
|
|
10946
11033
|
"optional": true,
|
|
10947
11034
|
"required": false
|
|
10948
11035
|
},
|
|
11036
|
+
{
|
|
11037
|
+
"name": "iframeOrigin",
|
|
11038
|
+
"type": "string",
|
|
11039
|
+
"complexType": {
|
|
11040
|
+
"original": "string",
|
|
11041
|
+
"resolved": "string",
|
|
11042
|
+
"references": {}
|
|
11043
|
+
},
|
|
11044
|
+
"mutable": false,
|
|
11045
|
+
"attr": "iframe-origin",
|
|
11046
|
+
"reflectToAttr": false,
|
|
11047
|
+
"docs": "",
|
|
11048
|
+
"docsTags": [],
|
|
11049
|
+
"values": [
|
|
11050
|
+
{
|
|
11051
|
+
"type": "string"
|
|
11052
|
+
}
|
|
11053
|
+
],
|
|
11054
|
+
"optional": false,
|
|
11055
|
+
"required": false
|
|
11056
|
+
},
|
|
10949
11057
|
{
|
|
10950
11058
|
"name": "isSelected",
|
|
10951
11059
|
"type": "boolean",
|
|
@@ -11678,6 +11786,27 @@
|
|
|
11678
11786
|
"optional": true,
|
|
11679
11787
|
"required": false
|
|
11680
11788
|
},
|
|
11789
|
+
{
|
|
11790
|
+
"name": "iframeOrigin",
|
|
11791
|
+
"type": "string",
|
|
11792
|
+
"complexType": {
|
|
11793
|
+
"original": "string",
|
|
11794
|
+
"resolved": "string",
|
|
11795
|
+
"references": {}
|
|
11796
|
+
},
|
|
11797
|
+
"mutable": false,
|
|
11798
|
+
"attr": "iframe-origin",
|
|
11799
|
+
"reflectToAttr": false,
|
|
11800
|
+
"docs": "",
|
|
11801
|
+
"docsTags": [],
|
|
11802
|
+
"values": [
|
|
11803
|
+
{
|
|
11804
|
+
"type": "string"
|
|
11805
|
+
}
|
|
11806
|
+
],
|
|
11807
|
+
"optional": false,
|
|
11808
|
+
"required": false
|
|
11809
|
+
},
|
|
11681
11810
|
{
|
|
11682
11811
|
"name": "insuranceToggled",
|
|
11683
11812
|
"type": "boolean",
|
|
@@ -15566,6 +15695,28 @@
|
|
|
15566
15695
|
"optional": true,
|
|
15567
15696
|
"required": false
|
|
15568
15697
|
},
|
|
15698
|
+
{
|
|
15699
|
+
"name": "iframeOrigin",
|
|
15700
|
+
"type": "string",
|
|
15701
|
+
"complexType": {
|
|
15702
|
+
"original": "string",
|
|
15703
|
+
"resolved": "string",
|
|
15704
|
+
"references": {}
|
|
15705
|
+
},
|
|
15706
|
+
"mutable": false,
|
|
15707
|
+
"attr": "iframe-origin",
|
|
15708
|
+
"reflectToAttr": false,
|
|
15709
|
+
"docs": "",
|
|
15710
|
+
"docsTags": [],
|
|
15711
|
+
"default": "config.iFrameOrigin",
|
|
15712
|
+
"values": [
|
|
15713
|
+
{
|
|
15714
|
+
"type": "string"
|
|
15715
|
+
}
|
|
15716
|
+
],
|
|
15717
|
+
"optional": true,
|
|
15718
|
+
"required": false
|
|
15719
|
+
},
|
|
15569
15720
|
{
|
|
15570
15721
|
"name": "paymentMethodGroupId",
|
|
15571
15722
|
"type": "string",
|
|
@@ -15632,8 +15783,8 @@
|
|
|
15632
15783
|
},
|
|
15633
15784
|
"BillingFormFields": {
|
|
15634
15785
|
"location": "import",
|
|
15635
|
-
"path": "
|
|
15636
|
-
"id": "src/components.
|
|
15786
|
+
"path": "../billing-forms/billing-form-schema",
|
|
15787
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
15637
15788
|
}
|
|
15638
15789
|
},
|
|
15639
15790
|
"return": "Promise<void>"
|
|
@@ -15652,11 +15803,11 @@
|
|
|
15652
15803
|
{
|
|
15653
15804
|
"name": "tokenizePaymentMethod",
|
|
15654
15805
|
"returns": {
|
|
15655
|
-
"type": "Promise<
|
|
15806
|
+
"type": "Promise<PaymentMethodPayload>",
|
|
15656
15807
|
"docs": ""
|
|
15657
15808
|
},
|
|
15658
15809
|
"complexType": {
|
|
15659
|
-
"signature": "(event?: CustomEvent) => Promise<
|
|
15810
|
+
"signature": "(event?: CustomEvent) => Promise<PaymentMethodPayload>",
|
|
15660
15811
|
"parameters": [
|
|
15661
15812
|
{
|
|
15662
15813
|
"name": "event",
|
|
@@ -15669,19 +15820,24 @@
|
|
|
15669
15820
|
"location": "global",
|
|
15670
15821
|
"id": "global::Promise"
|
|
15671
15822
|
},
|
|
15823
|
+
"PaymentMethodPayload": {
|
|
15824
|
+
"location": "import",
|
|
15825
|
+
"path": "../checkout/payment-method-payload",
|
|
15826
|
+
"id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
|
|
15827
|
+
},
|
|
15672
15828
|
"CustomEvent": {
|
|
15673
15829
|
"location": "global",
|
|
15674
15830
|
"id": "global::CustomEvent"
|
|
15675
15831
|
},
|
|
15676
15832
|
"ComponentErrorCodes": {
|
|
15677
15833
|
"location": "import",
|
|
15678
|
-
"path": "../../api
|
|
15679
|
-
"id": "src/api/
|
|
15834
|
+
"path": "../../api",
|
|
15835
|
+
"id": "src/api/index.ts::ComponentErrorCodes"
|
|
15680
15836
|
}
|
|
15681
15837
|
},
|
|
15682
|
-
"return": "Promise<
|
|
15838
|
+
"return": "Promise<PaymentMethodPayload>"
|
|
15683
15839
|
},
|
|
15684
|
-
"signature": "tokenizePaymentMethod(event?: CustomEvent) => Promise<
|
|
15840
|
+
"signature": "tokenizePaymentMethod(event?: CustomEvent) => Promise<PaymentMethodPayload>",
|
|
15685
15841
|
"parameters": [
|
|
15686
15842
|
{
|
|
15687
15843
|
"name": "event",
|
|
@@ -15704,8 +15860,8 @@
|
|
|
15704
15860
|
"references": {
|
|
15705
15861
|
"ComponentErrorEvent": {
|
|
15706
15862
|
"location": "import",
|
|
15707
|
-
"path": "../../api
|
|
15708
|
-
"id": "src/api/
|
|
15863
|
+
"path": "../../api",
|
|
15864
|
+
"id": "src/api/index.ts::ComponentErrorEvent"
|
|
15709
15865
|
}
|
|
15710
15866
|
}
|
|
15711
15867
|
},
|
|
@@ -15724,8 +15880,8 @@
|
|
|
15724
15880
|
"references": {
|
|
15725
15881
|
"ComponentSubmitEvent": {
|
|
15726
15882
|
"location": "import",
|
|
15727
|
-
"path": "../../api
|
|
15728
|
-
"id": "src/api/
|
|
15883
|
+
"path": "../../api",
|
|
15884
|
+
"id": "src/api/index.ts::ComponentSubmitEvent"
|
|
15729
15885
|
}
|
|
15730
15886
|
}
|
|
15731
15887
|
},
|
|
@@ -17598,15 +17754,15 @@
|
|
|
17598
17754
|
"docstring": "",
|
|
17599
17755
|
"path": "src/components/refund-form/refund-form-schema.ts"
|
|
17600
17756
|
},
|
|
17601
|
-
"src/api/
|
|
17602
|
-
"declaration": "
|
|
17757
|
+
"src/api/index.ts::ComponentSubmitEvent": {
|
|
17758
|
+
"declaration": "any",
|
|
17603
17759
|
"docstring": "",
|
|
17604
|
-
"path": "src/api/
|
|
17760
|
+
"path": "src/api/index.ts"
|
|
17605
17761
|
},
|
|
17606
|
-
"src/
|
|
17762
|
+
"src/api/index.ts::ComponentErrorCodes": {
|
|
17607
17763
|
"declaration": "any",
|
|
17608
17764
|
"docstring": "",
|
|
17609
|
-
"path": "src/
|
|
17765
|
+
"path": "src/api/index.ts"
|
|
17610
17766
|
},
|
|
17611
17767
|
"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/index.d.ts::Placement": {
|
|
17612
17768
|
"declaration": "any",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const config = {
|
|
2
2
|
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
3
|
+
iFrameOrigin: "https://components.justifi.ai/v2",
|
|
3
4
|
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
4
5
|
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
|
5
6
|
exampleBusinessId: 'biz_3bh69bq1rk3dmXNoAKVonu',
|
|
@@ -10,6 +10,7 @@ import './Dispute-5fd28ec9.js';
|
|
|
10
10
|
const BankAccountForm = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
registerInstance(this, hostRef);
|
|
13
|
+
this.iframeOrigin = undefined;
|
|
13
14
|
}
|
|
14
15
|
async validate() {
|
|
15
16
|
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
@@ -20,13 +21,14 @@ const BankAccountForm = class {
|
|
|
20
21
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
21
22
|
}
|
|
22
23
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'e2aa1322935463d5e0c32154ed8af52baad6b241' }, h("div", { key: 'bf528ad389d4a34762c164440cb946b727ddbfdd', class: "container-fluid p-0" }, h("div", { key: 'f2004a7223ebb0f2e54ea8c87a813461acb5449a', class: "row mb-3" }, h("iframe-input", { key: '27390ec2ac66557c2a12a38f1bc88dab0415fe57', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '59063a5784405bba8800d1595aecd2748ea9a058', class: "row" }, h("iframe-input", { key: 'fcad3cd545486450882258b86398c2bf84afca74', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
const CardForm = class {
|
|
28
29
|
constructor(hostRef) {
|
|
29
30
|
registerInstance(this, hostRef);
|
|
31
|
+
this.iframeOrigin = undefined;
|
|
30
32
|
}
|
|
31
33
|
async validate() {
|
|
32
34
|
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
@@ -39,7 +41,7 @@ const CardForm = class {
|
|
|
39
41
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
40
42
|
}
|
|
41
43
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '5dfd2c79d7691744614af89d0919e58db17434b3', class: "container-fluid p-0" }, h("div", { key: '307e9a7acd80285a59369e813bb0172627395cf6', class: "mb-3" }, h("iframe-input", { key: '42de95d9e8f6b785e0dfd7a9b79b23e8c1aab4ee', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '9ab568a45c652478daa2fdd936cb49258b8bdd18', class: "row" }, h("div", { key: 'ee106aa794d4fb0bbcab36f6daada68740bb4262', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c2edb5592c479763a47d399d4d0428d5468f6be5', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'e9577f47e9d3fea9be62fbbde95dc890091c47e0', class: "col-4 align-content-end" }, h("iframe-input", { key: '2f623e190959ed454c3016637f90f38c531d9062', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '4522288e5e0f1b41dc89a690830bb78063ea4df0', class: "col-4 align-content-end" }, h("iframe-input", { key: '9036d997bcd4f8c73e63daa3997111803bc99a36', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` })))));
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
47
|
|
|
@@ -185,6 +187,7 @@ const NewPaymentMethod = class {
|
|
|
185
187
|
this.paymentMethodGroupId = undefined;
|
|
186
188
|
this.isSelected = undefined;
|
|
187
189
|
this.hideCardBillingForm = undefined;
|
|
190
|
+
this.iframeOrigin = undefined;
|
|
188
191
|
this.saveNewPaymentMethodChecked = false;
|
|
189
192
|
}
|
|
190
193
|
handleCheckboxChanged(event) {
|
|
@@ -244,11 +247,11 @@ const NewPaymentMethod = class {
|
|
|
244
247
|
showNewPaymentMethodForm() {
|
|
245
248
|
var _a;
|
|
246
249
|
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
247
|
-
return (h("div", { class: "mt-4 pb-4
|
|
250
|
+
return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), h("div", { class: "mb-4" }, paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin }))), h("justifi-billing-form-wrapper", { ref: (el) => (this.billingFormWrapperRef = el), hideCardBillingForm: this.hideCardBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
|
|
248
251
|
}
|
|
249
252
|
render() {
|
|
250
253
|
var _a, _b;
|
|
251
|
-
return (h(Host, { key: '
|
|
254
|
+
return (h(Host, { key: '17b922ca3b03d458a0e139be895db31b33c255ed', class: "payment-method" }, h("div", { key: '5d1bb3a05e7fc0516d29ade315f13c2f64d3afaf', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '165fd1b54a6d387be307f05ab67078e0d703f0b1', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
252
255
|
}
|
|
253
256
|
};
|
|
254
257
|
|
|
@@ -287,6 +290,7 @@ const PaymentMethodOptions = class {
|
|
|
287
290
|
this.savedPaymentMethods = [];
|
|
288
291
|
this.paymentAmount = undefined;
|
|
289
292
|
this.hideCardBillingForm = undefined;
|
|
293
|
+
this.iframeOrigin = undefined;
|
|
290
294
|
this.selectedPaymentMethodId = undefined;
|
|
291
295
|
this.paymentMethodOptions = [];
|
|
292
296
|
}
|
|
@@ -330,13 +334,13 @@ const PaymentMethodOptions = class {
|
|
|
330
334
|
}
|
|
331
335
|
render() {
|
|
332
336
|
var _a;
|
|
333
|
-
return (h(Host, { key: '
|
|
337
|
+
return (h(Host, { key: '24e7d418958eb61f9582317e615502e77b4090d0' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
334
338
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
335
339
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
336
340
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
337
341
|
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
338
342
|
if (newCard || newBankAccount) {
|
|
339
|
-
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, ref: (el) => {
|
|
343
|
+
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: (el) => {
|
|
340
344
|
if (isSelected) {
|
|
341
345
|
this.selectedPaymentMethodOptionRef = el;
|
|
342
346
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-29fcfdf5.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
|
|
3
|
-
import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-
|
|
3
|
+
import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-38e8bc7b.js';
|
|
4
4
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
5
5
|
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
6
6
|
import { F as FormControlErrorText } from './form-control-error-text-b3d14e92.js';
|
|
7
|
-
import { p as packageJson } from './package-
|
|
7
|
+
import { p as packageJson } from './package-a8e8f775.js';
|
|
8
8
|
import { a as iframeInputStyles } from './iframe-input-styles-state-ff730fe5.js';
|
|
9
9
|
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-ab2bb4b5.js';
|
|
10
10
|
import './business-form-options-018f62a5.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3 } from './index.esm-0b6849c2.js';
|
|
2
|
-
import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-
|
|
2
|
+
import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-38e8bc7b.js';
|
|
3
3
|
|
|
4
4
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
package/dist/esm/{business-identity-schema-05bd2a5f.js → business-identity-schema-191d85c2.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './index.esm-0b6849c2.js';
|
|
2
|
-
import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-
|
|
2
|
+
import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-38e8bc7b.js';
|
|
3
3
|
|
|
4
4
|
const addressSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
2
|
-
import { A as Api, c as config } from './Api-
|
|
1
|
+
import { p as packageJson } from './package-a8e8f775.js';
|
|
2
|
+
import { A as Api, c as config } from './Api-97801a4b.js';
|
|
3
3
|
|
|
4
4
|
class AnalyticsService {
|
|
5
5
|
async record(body) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
|
|
2
|
-
import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-
|
|
2
|
+
import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-60e9b76a.js';
|
|
3
3
|
import { F as FormController, c as create$3 } from './index.esm-0b6849c2.js';
|
|
4
4
|
import { A as AdditionalQuestions, C as CoreBusinessInfo, R as Representative, c as Address } from './Business-29c69f22.js';
|
|
5
5
|
import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-0e18300f.js';
|
|
@@ -7,7 +7,7 @@ import { h as heading2 } from './parts-ab2bb4b5.js';
|
|
|
7
7
|
import { S as Skeleton } from './skeleton-ee7c3b32.js';
|
|
8
8
|
import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-018f62a5.js';
|
|
9
9
|
import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-5c87de02.js';
|
|
10
|
-
import { z as bankNameValidation, A as nicknameValidation, u as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as bankStatementValidation } from './schema-validations-
|
|
10
|
+
import { z as bankNameValidation, A as nicknameValidation, u as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as bankStatementValidation } from './schema-validations-38e8bc7b.js';
|
|
11
11
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
12
12
|
import './Checkout-8325c97a.js';
|
|
13
13
|
import './Pagination-afc8f96d.js';
|
|
@@ -16,7 +16,7 @@ import './SubAccount-a73bf971.js';
|
|
|
16
16
|
import { a as EntityDocument, b as EntityDocumentStorage } from './Document-1907c0d4.js';
|
|
17
17
|
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
18
18
|
import { B as Button } from './button-4b3f3934.js';
|
|
19
|
-
import { i as identitySchema, a as addressSchema } from './business-identity-schema-
|
|
19
|
+
import { i as identitySchema, a as addressSchema } from './business-identity-schema-191d85c2.js';
|
|
20
20
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
21
21
|
import './helpers-96ea3464.js';
|
|
22
22
|
import './utils-c37124fc.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
|
|
2
2
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
3
3
|
import { m as makeGetBusiness, b as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord } from './payment-provisioning-actions-726795a0.js';
|
|
4
|
-
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-
|
|
4
|
+
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-45c7df3c.js';
|
|
5
5
|
import './Checkout-8325c97a.js';
|
|
6
6
|
import './Pagination-afc8f96d.js';
|
|
7
7
|
import './Payment-82d2f453.js';
|
|
8
8
|
import './SubAccount-a73bf971.js';
|
|
9
9
|
import './Document-1907c0d4.js';
|
|
10
10
|
import { c as create$3, e as create$7, F as FormController } from './index.esm-0b6849c2.js';
|
|
11
|
-
import { A as Api, c as config } from './Api-
|
|
11
|
+
import { A as Api, c as config } from './Api-97801a4b.js';
|
|
12
12
|
import { h as heading2 } from './parts-ab2bb4b5.js';
|
|
13
13
|
import './Business-29c69f22.js';
|
|
14
14
|
import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-5c87de02.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
|
|
2
2
|
import { E as ErrorState } from './utils-c2dc83b2.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
3
|
+
import { B as BusinessService } from './business.service-45c7df3c.js';
|
|
4
4
|
import { B as Business } from './Business-29c69f22.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
6
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
7
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
7
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-e2273f4f.js';
|
|
8
8
|
import './parts-ab2bb4b5.js';
|
|
9
|
-
import './Api-
|
|
9
|
+
import './Api-97801a4b.js';
|
|
10
10
|
import './helpers-96ea3464.js';
|
|
11
11
|
import './state-options-a356fb11.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-a8e8f775.js';
|
|
13
13
|
|
|
14
14
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
15
15
|
var _a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
|
|
3
|
-
import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-
|
|
4
|
-
import { a as addressSchema, i as identitySchema } from './business-identity-schema-
|
|
5
|
-
import { A as Api, c as config } from './Api-
|
|
3
|
+
import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-60e9b76a.js';
|
|
4
|
+
import { a as addressSchema, i as identitySchema } from './business-identity-schema-191d85c2.js';
|
|
5
|
+
import { A as Api, c as config } from './Api-97801a4b.js';
|
|
6
6
|
import './ComponentError-3ce7f437.js';
|
|
7
7
|
import './Checkout-8325c97a.js';
|
|
8
8
|
import './Pagination-afc8f96d.js';
|
|
@@ -10,19 +10,19 @@ import './Payment-82d2f453.js';
|
|
|
10
10
|
import './SubAccount-a73bf971.js';
|
|
11
11
|
import './Document-1907c0d4.js';
|
|
12
12
|
import { B as Business, a as BusinessFormServerErrors } from './Business-29c69f22.js';
|
|
13
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
13
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-e2273f4f.js';
|
|
14
14
|
import { B as Button } from './button-4b3f3934.js';
|
|
15
15
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
16
16
|
import { H as Header1 } from './header-1-4db0c986.js';
|
|
17
17
|
import { S as Skeleton } from './skeleton-ee7c3b32.js';
|
|
18
18
|
import { B as BusinessFormClickActions } from './event-types-5c87de02.js';
|
|
19
|
-
import './schema-validations-
|
|
19
|
+
import './schema-validations-38e8bc7b.js';
|
|
20
20
|
import './state-options-a356fb11.js';
|
|
21
21
|
import './business-form-options-018f62a5.js';
|
|
22
22
|
import './utils-c37124fc.js';
|
|
23
23
|
import './Dispute-5fd28ec9.js';
|
|
24
24
|
import './helpers-96ea3464.js';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-a8e8f775.js';
|
|
26
26
|
import './parts-ab2bb4b5.js';
|
|
27
27
|
|
|
28
28
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
@@ -40,6 +40,7 @@ const CheckoutCore = class {
|
|
|
40
40
|
this.getCheckout = undefined;
|
|
41
41
|
this.complete = undefined;
|
|
42
42
|
this.checkoutId = undefined;
|
|
43
|
+
this.iframeOrigin = undefined;
|
|
43
44
|
this.disableCreditCard = undefined;
|
|
44
45
|
this.disableBankAccount = undefined;
|
|
45
46
|
this.disableBnpl = undefined;
|
|
@@ -125,14 +126,14 @@ const CheckoutCore = class {
|
|
|
125
126
|
}
|
|
126
127
|
get paymentType() {
|
|
127
128
|
var _a, _b, _c, _d, _e;
|
|
128
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
129
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled, iframeOrigin: this.iframeOrigin }))));
|
|
129
130
|
}
|
|
130
131
|
get summary() {
|
|
131
132
|
var _a, _b;
|
|
132
133
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
133
134
|
}
|
|
134
135
|
render() {
|
|
135
|
-
return (h(StyledHost, { key: '
|
|
136
|
+
return (h(StyledHost, { key: '8f7bb796cec8a51b3a871ecc6f1d040636103503' }, h("div", { key: 'f616c1705dd8d9da854b496d5b028cebb4c88ce5', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'e374110371f020c9de996f4ca3932f7535e208ee', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'aa9227b3ff49dc43c6a42d1988ec0669b298cef0', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'e8e9cddcc4cb11c6d7c020c1dc18d7b5bfe457c3', class: "col-12" }, h("slot", { key: '69e623e8c23aec6f49430b395f86d7134ceeddc9', name: "insurance" })), h("div", { key: 'fea072a50acb658433a36d8234b27c1fd8415dc4', class: "col-12 mt-4" }, h(Header2, { key: '9b0a5c9e5e7db31a6d6cfda87cad18786d638bd9', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '2eeae1935b2b238573be4bf1edfc5d80700d9c80', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '5c9fd0558a37ff903ec7137beeb3c49d406bcd1d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2538670c227dc2e96c43d878ae09357a72a7e267', class: "col-12" }, h("div", { key: 'b51e39da64972578815a2cf0cf5342d292edaa45', class: "d-flex justify-content-end" }, h(Button, { key: 'abcb099a4ad152a38d05d99781e02292efd246e0', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
136
137
|
}
|
|
137
138
|
};
|
|
138
139
|
|