@justifi/webcomponents 4.19.1-rc-8 → 4.19.1-rc-9

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.
Files changed (97) hide show
  1. package/dist/cjs/{Analytics-e0556436.js → Analytics-7b691662.js} +2 -2
  2. package/dist/cjs/{business.service-6bb7ac82.js → business.service-090a21e1.js} +5 -5
  3. package/dist/cjs/{get-payout-csv-1391ff3e.js → get-payout-csv-238e839a.js} +3 -3
  4. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +4 -4
  5. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  6. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  7. package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
  8. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  9. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  10. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  11. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  12. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +4 -4
  13. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +1 -1
  14. package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
  15. package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -3
  16. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
  17. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  18. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
  20. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  22. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -4
  23. package/dist/cjs/{package-708bf5ef.js → package-bf1bdd89.js} +1 -1
  24. package/dist/cjs/{payment.service-dfcfa19b.js → payment.service-c92635c8.js} +2 -2
  25. package/dist/docs.json +1 -1
  26. package/dist/esm/{Analytics-6591d732.js → Analytics-f41168f5.js} +2 -2
  27. package/dist/esm/{business.service-f45decfc.js → business.service-37d0cc72.js} +5 -5
  28. package/dist/esm/{get-payout-csv-e784a2ab.js → get-payout-csv-a702a0d9.js} +3 -3
  29. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +4 -4
  30. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  31. package/dist/esm/justifi-business-details.entry.js +3 -3
  32. package/dist/esm/justifi-business-form.entry.js +3 -3
  33. package/dist/esm/justifi-card-form.entry.js +3 -3
  34. package/dist/esm/justifi-checkout-core.entry.js +1 -1
  35. package/dist/esm/justifi-checkout.entry.js +4 -4
  36. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  37. package/dist/esm/justifi-new-payment-method_4.entry.js +4 -4
  38. package/dist/esm/justifi-owner-form_3.entry.js +1 -1
  39. package/dist/esm/justifi-payment-details.entry.js +3 -3
  40. package/dist/esm/justifi-payment-form.entry.js +3 -3
  41. package/dist/esm/justifi-payment-method-form.entry.js +1 -1
  42. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  43. package/dist/esm/justifi-payments-list.entry.js +3 -3
  44. package/dist/esm/justifi-payout-details.entry.js +3 -3
  45. package/dist/esm/justifi-payouts-list.entry.js +3 -3
  46. package/dist/esm/justifi-refund-form.entry.js +1 -1
  47. package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -4
  48. package/dist/esm/{package-701844d2.js → package-1e26d7be.js} +1 -1
  49. package/dist/esm/{payment.service-dad5153b.js → payment.service-9359fe15.js} +2 -2
  50. package/dist/module/Analytics.js +1 -1
  51. package/dist/module/business-bank-account-form-step.js +1 -1
  52. package/dist/module/business-document-upload-form-step.js +1 -1
  53. package/dist/module/business-terms-conditions-form-step.js +1 -1
  54. package/dist/module/business.service.js +5 -5
  55. package/dist/module/checkout-core.js +1 -1
  56. package/dist/module/get-payout-csv.js +3 -3
  57. package/dist/module/justifi-bank-account-form.js +1 -1
  58. package/dist/module/justifi-business-form.js +1 -1
  59. package/dist/module/justifi-card-form.js +1 -1
  60. package/dist/module/justifi-checkout.js +2 -2
  61. package/dist/module/justifi-gross-payment-chart.js +1 -1
  62. package/dist/module/justifi-payment-form.js +1 -1
  63. package/dist/module/justifi-payment-provisioning.js +1 -1
  64. package/dist/module/justifi-refund-form.js +1 -1
  65. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  66. package/dist/module/new-payment-method.js +1 -1
  67. package/dist/module/package.js +1 -1
  68. package/dist/module/payment-method-options.js +1 -1
  69. package/dist/module/payment.service.js +2 -2
  70. package/dist/module/saved-payment-method.js +1 -1
  71. package/dist/module/sezzle-payment-method.js +1 -1
  72. package/dist/webcomponents/{p-3eca9d31.entry.js → p-02ad434c.entry.js} +3 -3
  73. package/dist/webcomponents/{p-1a7340ef.entry.js → p-03a16d1d.entry.js} +3 -3
  74. package/dist/webcomponents/{p-7256fd96.entry.js → p-06b795d9.entry.js} +1 -1
  75. package/dist/webcomponents/{p-3e9ef4a8.js → p-0e1bc91e.js} +5 -5
  76. package/dist/webcomponents/{p-7a9102e1.entry.js → p-1cbed2a0.entry.js} +4 -4
  77. package/dist/webcomponents/{p-c636f563.entry.js → p-24dc023a.entry.js} +4 -4
  78. package/dist/webcomponents/{p-6999bd05.entry.js → p-26dec41c.entry.js} +3 -3
  79. package/dist/webcomponents/{p-865f883a.entry.js → p-2b9846b8.entry.js} +3 -3
  80. package/dist/webcomponents/{p-93056176.entry.js → p-40cd264a.entry.js} +4 -4
  81. package/dist/webcomponents/{p-035f33d8.entry.js → p-42f855f5.entry.js} +3 -3
  82. package/dist/webcomponents/{p-cb26f708.js → p-47d79529.js} +2 -2
  83. package/dist/webcomponents/{p-fdbef002.entry.js → p-4e492fed.entry.js} +4 -4
  84. package/dist/webcomponents/{p-5cb3f0b2.entry.js → p-53ecc8b9.entry.js} +1 -1
  85. package/dist/webcomponents/{p-3aef4459.js → p-67600cc0.js} +2 -2
  86. package/dist/webcomponents/{p-2e28e46b.entry.js → p-6771e64c.entry.js} +3 -3
  87. package/dist/webcomponents/{p-258b1ee2.entry.js → p-75fd6367.entry.js} +1 -1
  88. package/dist/webcomponents/{p-012288ad.entry.js → p-92694c3d.entry.js} +3 -3
  89. package/dist/webcomponents/{p-b3520d11.js → p-9c868390.js} +1 -1
  90. package/dist/webcomponents/{p-18f47a5e.entry.js → p-a63e3c0d.entry.js} +3 -3
  91. package/dist/webcomponents/{p-a6d04afc.js → p-b4b8b531.js} +3 -3
  92. package/dist/webcomponents/{p-a5c5821e.entry.js → p-bd66f9d2.entry.js} +1 -1
  93. package/dist/webcomponents/{p-f39b87b4.entry.js → p-c031ddc0.entry.js} +3 -3
  94. package/dist/webcomponents/{p-890088fc.entry.js → p-dad3e069.entry.js} +4 -4
  95. package/dist/webcomponents/{p-54b3332b.entry.js → p-e461747b.entry.js} +3 -3
  96. package/dist/webcomponents/webcomponents.esm.js +1 -1
  97. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
3
- import './package-701844d2.js';
2
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
3
+ import './package-1e26d7be.js';
4
4
  import './Api-b09a2f6a.js';
5
5
 
6
6
  const BankAccountForm = class {
@@ -11,7 +11,7 @@ const BankAccountForm = class {
11
11
  this.bankAccountFormTokenized = createEvent(this, "bankAccountFormTokenize", 7);
12
12
  this.bankAccountFormValidated = createEvent(this, "bankAccountFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = undefined;
14
+ this.iframeOrigin = "";
15
15
  this.internalStyleOverrides = undefined;
16
16
  }
17
17
  readyHandler(event) {
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
2
  import { E as ErrorState } from './utils-01413a95.js';
3
- import { B as BusinessService } from './business.service-f45decfc.js';
3
+ import { B as BusinessService } from './business.service-37d0cc72.js';
4
4
  import { B as Business } from './Business-e218b4f4.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 { J as JustifiAnalytics } from './Analytics-6591d732.js';
7
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
8
8
  import './Api-b09a2f6a.js';
9
9
  import './helpers-96ea3464.js';
10
10
  import './state-options-a356fb11.js';
11
- import './package-701844d2.js';
11
+ import './package-1e26d7be.js';
12
12
 
13
13
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -8,13 +8,13 @@ import './Payment-6bf26fe2.js';
8
8
  import './Payout-dfe15b00.js';
9
9
  import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
10
10
  import { B as Business } from './Business-e218b4f4.js';
11
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
11
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
12
12
  import { S as StyledHost } from './styled-host-ab9da520.js';
13
13
  import './schema-validations-a83ff220.js';
14
14
  import './state-options-a356fb11.js';
15
15
  import './business-form-options-7a9a74fc.js';
16
16
  import './helpers-96ea3464.js';
17
- import './package-701844d2.js';
17
+ import './package-1e26d7be.js';
18
18
 
19
19
  const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
20
20
 
@@ -81,7 +81,7 @@ const BusinessForm = class {
81
81
  if (!this.businessId)
82
82
  console.error(missingBusinessIdMessage);
83
83
  this.formController = new FormController(businessFormSchema);
84
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
84
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
85
85
  this.fetchData();
86
86
  }
87
87
  disconnectedCallback() {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
3
- import './package-701844d2.js';
2
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
3
+ import './package-1e26d7be.js';
4
4
  import './Api-b09a2f6a.js';
5
5
 
6
6
  const CardForm = class {
@@ -11,7 +11,7 @@ const CardForm = class {
11
11
  this.cardFormTokenized = createEvent(this, "cardFormTokenize", 7);
12
12
  this.cardFormValidated = createEvent(this, "cardFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = undefined;
14
+ this.iframeOrigin = "";
15
15
  this.singleLine = false;
16
16
  this.internalStyleOverrides = undefined;
17
17
  }
@@ -44,7 +44,7 @@ const CheckoutCore = class {
44
44
  });
45
45
  this.renderState = 'error';
46
46
  };
47
- this.iframeOrigin = undefined;
47
+ this.iframeOrigin = "";
48
48
  this.authToken = undefined;
49
49
  this.getCheckout = undefined;
50
50
  this.complete = undefined;
@@ -5,8 +5,8 @@ import { A as Api } from './Api-b09a2f6a.js';
5
5
  import './Pagination-afc8f96d.js';
6
6
  import './Payment-6bf26fe2.js';
7
7
  import './Payout-dfe15b00.js';
8
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
9
- import './package-701844d2.js';
8
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
9
+ import './package-1e26d7be.js';
10
10
 
11
11
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
12
12
  var _a;
@@ -65,7 +65,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
65
65
  class CheckoutService {
66
66
  async fetchCheckout(authToken, checkoutId) {
67
67
  const endpoint = `checkouts/${checkoutId}`;
68
- return Api({ authToken, apiOrigin: undefined }).get(endpoint);
68
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
69
69
  }
70
70
  async complete(authToken, checkoutId, payment) {
71
71
  const endpoint = `checkouts/${checkoutId}/complete`;
@@ -75,7 +75,7 @@ class CheckoutService {
75
75
  if (payment.payment_token) {
76
76
  payload.payment_token = payment.payment_token;
77
77
  }
78
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
78
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
79
79
  }
80
80
  }
81
81
 
@@ -3,12 +3,12 @@ import { A as Api } from './Api-b09a2f6a.js';
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
4
4
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
5
5
  import { E as ErrorState } from './utils-01413a95.js';
6
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
7
- import './package-701844d2.js';
6
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
7
+ import './package-1e26d7be.js';
8
8
 
9
9
  class ReportsService {
10
10
  async fetchGrossVolumeChartData(accountId, authToken) {
11
- const api = Api({ authToken: authToken, apiOrigin: undefined });
11
+ const api = Api({ authToken: authToken, apiOrigin: "" });
12
12
  const endpoint = `account/${accountId}/reports/gross_volume`;
13
13
  return api.get(endpoint);
14
14
  }
@@ -13,7 +13,7 @@ const NewPaymentMethod = class {
13
13
  this.onPaymentMethodOptionClick = () => {
14
14
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
15
15
  };
16
- this.iframeOrigin = undefined;
16
+ this.iframeOrigin = "";
17
17
  this.authToken = undefined;
18
18
  this.accountId = undefined;
19
19
  this.paymentMethodOption = undefined;
@@ -119,7 +119,7 @@ const PaymentMethodOptions = class {
119
119
  this.insuranceToggled = undefined;
120
120
  this.authToken = undefined;
121
121
  this.accountId = undefined;
122
- this.iframeOrigin = undefined;
122
+ this.iframeOrigin = "";
123
123
  this.savedPaymentMethods = [];
124
124
  this.paymentAmount = undefined;
125
125
  this.selectedPaymentMethodId = undefined;
@@ -206,7 +206,7 @@ const SavedPaymentMethod = class {
206
206
  this.onPaymentMethodOptionClick = () => {
207
207
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
208
208
  };
209
- this.iframeOrigin = undefined;
209
+ this.iframeOrigin = "";
210
210
  this.paymentMethodOption = undefined;
211
211
  this.isSelected = undefined;
212
212
  }
@@ -265,7 +265,7 @@ const SezzlePaymentMethod = class {
265
265
  this.sezzleCheckout = checkout;
266
266
  this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
267
267
  };
268
- this.iframeOrigin = undefined;
268
+ this.iframeOrigin = "";
269
269
  this.bnpl = undefined;
270
270
  this.clientId = undefined;
271
271
  this.accountId = undefined;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
2
  import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-0635eff7.js';
3
- import { I as IdentityService } from './business.service-f45decfc.js';
3
+ import { I as IdentityService } from './business.service-37d0cc72.js';
4
4
  import { F as FormController } from './index.esm-fc4f5c0c.js';
5
5
  import { O as Owner } from './Business-e218b4f4.js';
6
6
  import { a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { P as PaymentService } from './payment.service-dad5153b.js';
2
+ import { P as PaymentService } from './payment.service-9359fe15.js';
3
3
  import './Pagination-afc8f96d.js';
4
4
  import { P as Payment } from './Payment-6bf26fe2.js';
5
5
  import './Payout-dfe15b00.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
8
8
  import { E as ErrorState } from './utils-01413a95.js';
9
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
9
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
10
10
  import './Api-b09a2f6a.js';
11
- import './package-701844d2.js';
11
+ import './package-1e26d7be.js';
12
12
 
13
13
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -5,10 +5,10 @@ import './Payout-dfe15b00.js';
5
5
  import { l as loadFontsOnParent } from './utils-3c1dd2fa.js';
6
6
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
7
7
  import { g as getErrorMessage } from './utils-b10dae27.js';
8
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
8
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
9
9
  import { B as Button } from './button-34e75e0f.js';
10
10
  import { S as StyledHost } from './styled-host-ab9da520.js';
11
- import './package-701844d2.js';
11
+ import './package-1e26d7be.js';
12
12
  import './Api-b09a2f6a.js';
13
13
 
14
14
  const paymentFormCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
@@ -117,7 +117,7 @@ const PaymentForm = class {
117
117
  }
118
118
  }
119
119
  render() {
120
- return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: undefined, ref: el => {
120
+ return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: "", ref: el => {
121
121
  if (el) {
122
122
  this.paymentMethodFormRef = el;
123
123
  }
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
- import { p as packageJson } from './package-701844d2.js';
2
+ import { p as packageJson } from './package-1e26d7be.js';
3
3
  import { m as composeQueryParams } from './utils-3c1dd2fa.js';
4
4
 
5
5
  var iframeResizer = {exports: {}};
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
2
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
3
3
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
4
4
  import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-0635eff7.js';
5
- import { B as BusinessService } from './business.service-f45decfc.js';
5
+ import { B as BusinessService } from './business.service-37d0cc72.js';
6
6
  import { A as Api } from './Api-b09a2f6a.js';
7
- import './package-701844d2.js';
7
+ import './package-1e26d7be.js';
8
8
  import './utils-b10dae27.js';
9
9
 
10
10
  class ProvisionService {
@@ -14,7 +14,7 @@ class ProvisionService {
14
14
  business_id: businessId,
15
15
  product_category: product,
16
16
  };
17
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
17
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
18
18
  }
19
19
  }
20
20
 
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { P as PaymentService } from './payment.service-dad5153b.js';
2
+ import { P as PaymentService } from './payment.service-9359fe15.js';
3
3
  import './Pagination-afc8f96d.js';
4
4
  import { P as Payment } from './Payment-6bf26fe2.js';
5
5
  import './Payout-dfe15b00.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
8
8
  import { E as ErrorState } from './utils-01413a95.js';
9
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
9
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
10
10
  import './Api-b09a2f6a.js';
11
- import './package-701844d2.js';
11
+ import './package-1e26d7be.js';
12
12
 
13
13
  const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
14
14
  var _a, _b;
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-e784a2ab.js';
2
+ import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-a702a0d9.js';
3
3
  import './Pagination-afc8f96d.js';
4
4
  import './Payment-6bf26fe2.js';
5
5
  import { P as Payout } from './Payout-dfe15b00.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
8
8
  import { E as ErrorState } from './utils-01413a95.js';
9
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
9
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
10
10
  import './Api-b09a2f6a.js';
11
- import './package-701844d2.js';
11
+ import './package-1e26d7be.js';
12
12
 
13
13
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
2
  import { t as tableExportedParts } from './exported-parts-abd4c027.js';
3
- import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-e784a2ab.js';
3
+ import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-a702a0d9.js';
4
4
  import './Pagination-afc8f96d.js';
5
5
  import './Payment-6bf26fe2.js';
6
6
  import { P as Payout } from './Payout-dfe15b00.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
8
8
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
9
9
  import { E as ErrorState } from './utils-01413a95.js';
10
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
10
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
11
11
  import './Api-b09a2f6a.js';
12
- import './package-701844d2.js';
12
+ import './package-1e26d7be.js';
13
13
 
14
14
  const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
15
15
  var _a, _b;
@@ -89,7 +89,7 @@ const RefundForm = class {
89
89
  if (!this.authToken) {
90
90
  console.warn('Warning: Missing auth-token.');
91
91
  }
92
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
92
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
93
93
  }
94
94
  render() {
95
95
  var _a;
@@ -5,17 +5,17 @@ import './Payment-6bf26fe2.js';
5
5
  import './Payout-dfe15b00.js';
6
6
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
8
- import { J as JustifiAnalytics } from './Analytics-6591d732.js';
9
- import './package-701844d2.js';
8
+ import { J as JustifiAnalytics } from './Analytics-f41168f5.js';
9
+ import './package-1e26d7be.js';
10
10
 
11
11
  class InsuranceService {
12
12
  async fetchQuote(authToken, payload) {
13
13
  const endpoint = 'insurance/quotes';
14
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
14
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
15
15
  }
16
16
  async toggleCoverage(authToken, quoteId, payload) {
17
17
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
18
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
18
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
19
19
  }
20
20
  }
21
21
 
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "4.19.1-rc-8";
2
+ const version = "4.19.1-rc-9";
3
3
  const description = "JustiFi Web Components";
4
4
  const collection = "dist/collection/collection-manifest.json";
5
5
  const main = "dist/index.cjs.js";
@@ -5,13 +5,13 @@ import './Payout-dfe15b00.js';
5
5
 
6
6
  class PaymentService {
7
7
  async fetchPayments(accountId, authToken, params) {
8
- const api = Api({ authToken, apiOrigin: undefined });
8
+ const api = Api({ authToken, apiOrigin: "" });
9
9
  const endpoint = `account/${accountId}/payments`;
10
10
  return api.get(endpoint, params);
11
11
  }
12
12
  async fetchPayment(paymentId, authToken) {
13
13
  const endpoint = `payments/${paymentId}`;
14
- return Api({ authToken, apiOrigin: undefined }).get(endpoint);
14
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
15
15
  }
16
16
  }
17
17
 
@@ -4,7 +4,7 @@ import { A as Api } from './Api.js';
4
4
  class AnalyticsService {
5
5
  async record(body) {
6
6
  const endpoint = 'analytics';
7
- return Api({ apiOrigin: undefined }).post(endpoint, JSON.stringify(body));
7
+ return Api({ apiOrigin: "" }).post(endpoint, JSON.stringify(body));
8
8
  }
9
9
  }
10
10
 
@@ -147,7 +147,7 @@ const BusinessBankAccountFormStep = /*@__PURE__*/ proxyCustomElement(class Busin
147
147
  ;
148
148
  componentWillLoad() {
149
149
  this.formController = new FormController(businessBankAccountSchema(this.allowOptionalFields));
150
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
150
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
151
151
  if (this.businessId && this.authToken) {
152
152
  this.fetchData();
153
153
  }
@@ -178,7 +178,7 @@ const BusinessDocumentFormStep = /*@__PURE__*/ proxyCustomElement(class Business
178
178
  return 'entities/document';
179
179
  }
180
180
  componentWillLoad() {
181
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
181
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
182
182
  if (this.businessId && this.authToken) {
183
183
  this.fetchData();
184
184
  }
@@ -94,7 +94,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
94
94
  };
95
95
  }
96
96
  async componentWillLoad() {
97
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
97
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
98
98
  this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
99
99
  if (this.businessId && this.authToken) {
100
100
  this.fetchData();
@@ -3,25 +3,25 @@ import { A as Api } from './Api.js';
3
3
  class BusinessService {
4
4
  async fetchBusiness(businessId, authToken) {
5
5
  const endpoint = `entities/business/${businessId}`;
6
- return Api({ authToken, apiOrigin: undefined }).get(endpoint);
6
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
7
7
  }
8
8
  async patchBusiness(authToken, businessId, payload) {
9
9
  const endpoint = `entities/business/${businessId}`;
10
- return Api({ authToken, apiOrigin: undefined }).patch(endpoint, payload);
10
+ return Api({ authToken, apiOrigin: "" }).patch(endpoint, payload);
11
11
  }
12
12
  }
13
13
  class IdentityService {
14
14
  async fetchIdentity(identityId, authToken) {
15
15
  const endpoint = `entities/identity/${identityId}`;
16
- return Api({ authToken, apiOrigin: undefined }).get(endpoint);
16
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
17
17
  }
18
18
  async patchIdentity(authToken, identityId, payload) {
19
19
  const endpoint = `entities/identity/${identityId}`;
20
- return Api({ authToken, apiOrigin: undefined }).patch(endpoint, payload);
20
+ return Api({ authToken, apiOrigin: "" }).patch(endpoint, payload);
21
21
  }
22
22
  async postIdentity(authToken, payload) {
23
23
  const endpoint = `entities/identity`;
24
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
24
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, payload);
25
25
  }
26
26
  }
27
27
 
@@ -57,7 +57,7 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
57
57
  });
58
58
  this.renderState = 'error';
59
59
  };
60
- this.iframeOrigin = undefined;
60
+ this.iframeOrigin = "";
61
61
  this.authToken = undefined;
62
62
  this.getCheckout = undefined;
63
63
  this.complete = undefined;
@@ -7,17 +7,17 @@ import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
7
7
 
8
8
  class PayoutService {
9
9
  async fetchPayouts(accountId, authToken, params) {
10
- const api = Api({ authToken, apiOrigin: undefined });
10
+ const api = Api({ authToken, apiOrigin: "" });
11
11
  const endpoint = `account/${accountId}/payouts`;
12
12
  return api.get(endpoint, params);
13
13
  }
14
14
  async fetchPayout(payoutId, authToken) {
15
- const api = Api({ authToken, apiOrigin: undefined });
15
+ const api = Api({ authToken, apiOrigin: "" });
16
16
  const endpoint = `payouts/${payoutId}`;
17
17
  return api.get(endpoint);
18
18
  }
19
19
  async fetchCSV(payoutId, authToken) {
20
- const api = Api({ authToken, apiOrigin: undefined });
20
+ const api = Api({ authToken, apiOrigin: "" });
21
21
  const endpoint = `reports/payouts/${payoutId}`;
22
22
  return api.get(endpoint);
23
23
  }
@@ -11,7 +11,7 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
11
11
  this.bankAccountFormTokenized = createEvent(this, "bankAccountFormTokenize", 7);
12
12
  this.bankAccountFormValidated = createEvent(this, "bankAccountFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = undefined;
14
+ this.iframeOrigin = "";
15
15
  this.internalStyleOverrides = undefined;
16
16
  }
17
17
  readyHandler(event) {
@@ -94,7 +94,7 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
94
94
  if (!this.businessId)
95
95
  console.error(missingBusinessIdMessage);
96
96
  this.formController = new FormController(businessFormSchema);
97
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
97
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
98
98
  this.fetchData();
99
99
  }
100
100
  disconnectedCallback() {
@@ -11,7 +11,7 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
11
11
  this.cardFormTokenized = createEvent(this, "cardFormTokenize", 7);
12
12
  this.cardFormValidated = createEvent(this, "cardFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = undefined;
14
+ this.iframeOrigin = "";
15
15
  this.singleLine = false;
16
16
  this.internalStyleOverrides = undefined;
17
17
  }
@@ -76,7 +76,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
76
76
  class CheckoutService {
77
77
  async fetchCheckout(authToken, checkoutId) {
78
78
  const endpoint = `checkouts/${checkoutId}`;
79
- return Api({ authToken, apiOrigin: undefined }).get(endpoint);
79
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
80
80
  }
81
81
  async complete(authToken, checkoutId, payment) {
82
82
  const endpoint = `checkouts/${checkoutId}/complete`;
@@ -86,7 +86,7 @@ class CheckoutService {
86
86
  if (payment.payment_token) {
87
87
  payload.payment_token = payment.payment_token;
88
88
  }
89
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
89
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
90
90
  }
91
91
  }
92
92
 
@@ -8,7 +8,7 @@ import { d as defineCustomElement$2 } from './gross-payment-chart-core2.js';
8
8
 
9
9
  class ReportsService {
10
10
  async fetchGrossVolumeChartData(accountId, authToken) {
11
- const api = Api({ authToken: authToken, apiOrigin: undefined });
11
+ const api = Api({ authToken: authToken, apiOrigin: "" });
12
12
  const endpoint = `account/${accountId}/reports/gross_volume`;
13
13
  return api.get(endpoint);
14
14
  }
@@ -124,7 +124,7 @@ const PaymentForm = /*@__PURE__*/ proxyCustomElement(class PaymentForm extends H
124
124
  }
125
125
  }
126
126
  render() {
127
- return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: undefined, ref: el => {
127
+ return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: "", ref: el => {
128
128
  if (el) {
129
129
  this.paymentMethodFormRef = el;
130
130
  }
@@ -45,7 +45,7 @@ class ProvisionService {
45
45
  business_id: businessId,
46
46
  product_category: product,
47
47
  };
48
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
48
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
49
49
  }
50
50
  }
51
51
 
@@ -95,7 +95,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
95
95
  if (!this.authToken) {
96
96
  console.warn('Warning: Missing auth-token.');
97
97
  }
98
- this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
98
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
99
99
  }
100
100
  render() {
101
101
  var _a;
@@ -11,11 +11,11 @@ import { d as defineCustomElement$2 } from './season-interruption-insurance-core
11
11
  class InsuranceService {
12
12
  async fetchQuote(authToken, payload) {
13
13
  const endpoint = 'insurance/quotes';
14
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
14
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
15
15
  }
16
16
  async toggleCoverage(authToken, quoteId, payload) {
17
17
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
18
- return Api({ authToken, apiOrigin: undefined }).post(endpoint, JSON.stringify(payload));
18
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
19
19
  }
20
20
  }
21
21
 
@@ -19,7 +19,7 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
19
19
  this.onPaymentMethodOptionClick = () => {
20
20
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
21
21
  };
22
- this.iframeOrigin = undefined;
22
+ this.iframeOrigin = "";
23
23
  this.authToken = undefined;
24
24
  this.accountId = undefined;
25
25
  this.paymentMethodOption = undefined;
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "4.19.1-rc-8";
2
+ const version = "4.19.1-rc-9";
3
3
  const description = "JustiFi Web Components";
4
4
  const collection = "dist/collection/collection-manifest.json";
5
5
  const main = "dist/index.cjs.js";