@justifi/webcomponents 4.19.3 → 4.20.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.
Files changed (203) hide show
  1. package/dist/cjs/{Analytics-a0a86d82.js → Analytics-3c89cfb4.js} +1 -1
  2. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  3. package/dist/cjs/check-pkg-version-4fa0367d.js +24 -0
  4. package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
  5. package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
  6. package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
  7. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
  8. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1 -1
  9. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -2
  10. package/dist/cjs/justifi-business-form.cjs.entry.js +6 -4
  11. package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
  12. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  13. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -4
  14. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  15. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -2
  16. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -3
  17. package/dist/cjs/justifi-payment-form.cjs.entry.js +8 -6
  18. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
  19. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  20. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -3
  21. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -8
  22. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -2
  23. package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -2
  24. package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -3
  27. package/dist/cjs/loader.cjs.js +1 -1
  28. package/dist/cjs/{package-99f4d813.js → package-3a9ac89d.js} +3 -1
  29. package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
  30. package/dist/cjs/{payment.service-4b1c0a20.js → payment.service-47e2d84e.js} +5 -2
  31. package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
  32. package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
  33. package/dist/cjs/payout-details-core.cjs.entry.js +2 -2
  34. package/dist/cjs/payouts-list-core.cjs.entry.js +3 -3
  35. package/dist/cjs/styled-host-9e0b67b3.js +14 -0
  36. package/dist/cjs/utils-f8a6962c.js +25 -0
  37. package/dist/cjs/webcomponents.cjs.js +1 -1
  38. package/dist/collection/api/services/payment.service.js +5 -2
  39. package/dist/collection/collection-manifest.json +4 -1
  40. package/dist/collection/components/business-details/business-details.js +2 -0
  41. package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
  42. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
  43. package/dist/collection/components/checkout/checkout.js +4 -2
  44. package/dist/collection/components/form/form-control-date.js +26 -28
  45. package/dist/collection/components/form/form-control-select.js +45 -45
  46. package/dist/collection/components/form/form-control-text.js +34 -34
  47. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
  48. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
  49. package/dist/collection/components/payment-details/payment-details.js +2 -0
  50. package/dist/collection/components/payment-form/payment-form.js +5 -3
  51. package/dist/collection/components/payments-list/get-payments.js +2 -2
  52. package/dist/collection/components/payments-list/payments-list-core.js +14 -9
  53. package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
  54. package/dist/collection/components/payments-list/payments-list.js +25 -2
  55. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  56. package/dist/collection/components/payout-details/payout-details.js +2 -0
  57. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
  58. package/dist/collection/components/payouts-list/payouts-list.js +2 -0
  59. package/dist/collection/components/refund-form/refund-form.js +1 -1
  60. package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
  61. package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
  62. package/dist/collection/ui-components/filters/utils.js +20 -0
  63. package/dist/collection/utils/check-pkg-version.js +19 -0
  64. package/dist/docs.json +545 -19
  65. package/dist/esm/{Analytics-e460ab05.js → Analytics-b0f6936a.js} +1 -1
  66. package/dist/esm/business-details-core.entry.js +1 -1
  67. package/dist/esm/check-pkg-version-10cadb08.js +22 -0
  68. package/dist/esm/custom-popper.entry.js +1890 -0
  69. package/dist/esm/form-control-date_3.entry.js +4 -4
  70. package/dist/esm/form-control-error-text_4.entry.js +9 -9
  71. package/dist/esm/justifi-bank-account-form.entry.js +2 -2
  72. package/dist/esm/justifi-billing-form_2.entry.js +1 -1
  73. package/dist/esm/justifi-business-details.entry.js +4 -2
  74. package/dist/esm/justifi-business-form.entry.js +6 -4
  75. package/dist/esm/justifi-card-form.entry.js +2 -2
  76. package/dist/esm/justifi-checkout-core.entry.js +1 -1
  77. package/dist/esm/justifi-checkout.entry.js +6 -4
  78. package/dist/esm/justifi-details.entry.js +1 -1
  79. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -2
  80. package/dist/esm/justifi-payment-details.entry.js +5 -3
  81. package/dist/esm/justifi-payment-form.entry.js +8 -6
  82. package/dist/esm/justifi-payment-method-form.entry.js +1 -1
  83. package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
  84. package/dist/esm/justifi-payment-provisioning.entry.js +5 -3
  85. package/dist/esm/justifi-payments-list.entry.js +12 -8
  86. package/dist/esm/justifi-payout-details.entry.js +4 -2
  87. package/dist/esm/justifi-payouts-list.entry.js +4 -2
  88. package/dist/esm/justifi-refund-form.entry.js +2 -2
  89. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
  90. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -3
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/{package-0935c5e5.js → package-2ef16e2c.js} +3 -1
  93. package/dist/esm/payment-details-core.entry.js +1 -1
  94. package/dist/esm/{payment.service-02c596b9.js → payment.service-21a3e2d3.js} +5 -2
  95. package/dist/esm/payments-list-core.entry.js +15 -10
  96. package/dist/esm/payments-list-filters_2.entry.js +17261 -0
  97. package/dist/esm/payout-details-core.entry.js +2 -2
  98. package/dist/esm/payouts-list-core.entry.js +3 -3
  99. package/dist/esm/styled-host-3171ae1f.js +12 -0
  100. package/dist/esm/utils-3a4d8f3a.js +22 -0
  101. package/dist/esm/webcomponents.js +1 -1
  102. package/dist/module/check-pkg-version.js +22 -0
  103. package/dist/module/custom-popper.d.ts +11 -0
  104. package/dist/module/custom-popper.js +6 -0
  105. package/dist/module/custom-popper2.js +1912 -0
  106. package/dist/module/form-control-date2.js +7 -7
  107. package/dist/module/form-control-select2.js +9 -9
  108. package/dist/module/form-control-text2.js +7 -7
  109. package/dist/module/justifi-business-details.js +2 -0
  110. package/dist/module/justifi-business-form.js +3 -1
  111. package/dist/module/justifi-checkout.js +4 -2
  112. package/dist/module/justifi-gross-payment-chart.js +2 -0
  113. package/dist/module/justifi-payment-details.js +2 -0
  114. package/dist/module/justifi-payment-form.js +5 -3
  115. package/dist/module/justifi-payment-provisioning.js +3 -1
  116. package/dist/module/justifi-payments-list.js +50 -14
  117. package/dist/module/justifi-payout-details.js +2 -0
  118. package/dist/module/justifi-payouts-list.js +2 -0
  119. package/dist/module/justifi-refund-form.js +1 -1
  120. package/dist/module/justifi-season-interruption-insurance.js +3 -1
  121. package/dist/module/package.js +3 -1
  122. package/dist/module/payment.service.js +5 -2
  123. package/dist/module/payments-list-core2.js +51 -17
  124. package/dist/module/payments-list-filters.d.ts +11 -0
  125. package/dist/module/payments-list-filters.js +6 -0
  126. package/dist/module/payments-list-filters2.js +17294 -0
  127. package/dist/module/payout-details-core2.js +1 -1
  128. package/dist/module/payouts-list-core2.js +2 -2
  129. package/dist/module/styled-host.js +1 -1
  130. package/dist/module/table-filters-menu.d.ts +11 -0
  131. package/dist/module/table-filters-menu.js +6 -0
  132. package/dist/module/table-filters-menu2.js +80 -0
  133. package/dist/types/api/Payment.d.ts +9 -0
  134. package/dist/types/api/services/payment.service.d.ts +2 -2
  135. package/dist/types/components/form/form-control-date.d.ts +4 -4
  136. package/dist/types/components/form/form-control-select.d.ts +6 -6
  137. package/dist/types/components/form/form-control-text.d.ts +4 -4
  138. package/dist/types/components/payments-list/get-payments.d.ts +2 -1
  139. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
  140. package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
  141. package/dist/types/components/payments-list/payments-list.d.ts +3 -2
  142. package/dist/types/components.d.ts +91 -10
  143. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
  144. package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
  145. package/dist/types/ui-components/filters/utils.d.ts +2 -0
  146. package/dist/types/utils/check-pkg-version.d.ts +1 -0
  147. package/dist/webcomponents/p-034fc302.entry.js +1 -0
  148. package/dist/webcomponents/{p-f5ebca3e.entry.js → p-1c04aacd.entry.js} +1 -1
  149. package/dist/webcomponents/{p-b676bca5.entry.js → p-232016ba.entry.js} +1 -1
  150. package/dist/webcomponents/p-2c51d29f.js +1 -0
  151. package/dist/webcomponents/p-35846553.js +1 -0
  152. package/dist/webcomponents/{p-bd278ff4.entry.js → p-37888614.entry.js} +1 -1
  153. package/dist/webcomponents/{p-be39c802.entry.js → p-3c7fac29.entry.js} +1 -1
  154. package/dist/webcomponents/{p-edb62047.entry.js → p-430f81c6.entry.js} +1 -1
  155. package/dist/webcomponents/p-44055818.js +1 -0
  156. package/dist/webcomponents/p-538fd427.entry.js +1 -0
  157. package/dist/webcomponents/{p-fb58feb5.entry.js → p-570a0f02.entry.js} +1 -1
  158. package/dist/webcomponents/p-57d7534f.entry.js +1 -0
  159. package/dist/webcomponents/{p-c9f8f7ec.entry.js → p-59cf5391.entry.js} +1 -1
  160. package/dist/webcomponents/p-60d3571e.entry.js +1 -0
  161. package/dist/webcomponents/{p-4e017b58.js → p-707bdf68.js} +1 -1
  162. package/dist/webcomponents/p-75139399.entry.js +1 -0
  163. package/dist/webcomponents/p-7771f64b.entry.js +1 -0
  164. package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
  165. package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
  166. package/dist/webcomponents/p-9add7d3e.entry.js +1 -0
  167. package/dist/webcomponents/p-9b154d98.entry.js +1 -0
  168. package/dist/webcomponents/p-ab92abb1.entry.js +1 -0
  169. package/dist/webcomponents/{p-4e01fec8.entry.js → p-b14da2fd.entry.js} +1 -1
  170. package/dist/webcomponents/p-b91bcbfc.js +1 -0
  171. package/dist/webcomponents/{p-124c1ecd.entry.js → p-bdc91c61.entry.js} +1 -1
  172. package/dist/webcomponents/{p-eccf2e8e.entry.js → p-c1772671.entry.js} +1 -1
  173. package/dist/webcomponents/{p-487b72a8.entry.js → p-c64ce69d.entry.js} +1 -1
  174. package/dist/webcomponents/{p-b6c3b7bc.entry.js → p-c740b6ca.entry.js} +1 -1
  175. package/dist/webcomponents/p-ce5fe369.entry.js +10 -0
  176. package/dist/webcomponents/p-d9579cd6.entry.js +1 -0
  177. package/dist/webcomponents/p-d99a5f30.entry.js +1 -0
  178. package/dist/webcomponents/p-dc048c3c.entry.js +1 -0
  179. package/dist/webcomponents/p-f2924369.js +1 -0
  180. package/dist/webcomponents/p-fb7f7a8c.entry.js +1 -0
  181. package/dist/webcomponents/p-ffddac99.entry.js +1 -0
  182. package/dist/webcomponents/webcomponents.esm.js +1 -1
  183. package/package.json +3 -1
  184. package/dist/cjs/styled-host-cc053016.js +0 -14
  185. package/dist/esm/styled-host-ab9da520.js +0 -12
  186. package/dist/webcomponents/p-07109641.entry.js +0 -1
  187. package/dist/webcomponents/p-11b6ed0c.entry.js +0 -1
  188. package/dist/webcomponents/p-15976984.entry.js +0 -1
  189. package/dist/webcomponents/p-1cf90026.entry.js +0 -1
  190. package/dist/webcomponents/p-3423ddfd.entry.js +0 -1
  191. package/dist/webcomponents/p-39c6f36a.entry.js +0 -1
  192. package/dist/webcomponents/p-421ed39d.entry.js +0 -1
  193. package/dist/webcomponents/p-69c18f39.entry.js +0 -1
  194. package/dist/webcomponents/p-6abb2a04.entry.js +0 -1
  195. package/dist/webcomponents/p-721dcf51.entry.js +0 -1
  196. package/dist/webcomponents/p-817da23c.entry.js +0 -1
  197. package/dist/webcomponents/p-a99032e1.entry.js +0 -1
  198. package/dist/webcomponents/p-ba4bae6f.js +0 -1
  199. package/dist/webcomponents/p-d4a44a1e.entry.js +0 -1
  200. package/dist/webcomponents/p-d78eb6ce.js +0 -1
  201. package/dist/webcomponents/p-e2b2213f.entry.js +0 -1
  202. package/dist/webcomponents/p-e3f4a2a6.js +0 -1
  203. package/dist/webcomponents/p-e7fd1357.entry.js +0 -1
@@ -14,12 +14,12 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
14
14
  this.inputHandler(name, target.value);
15
15
  this.formControlInput.emit({ name, value: target.value });
16
16
  };
17
- this.label = undefined;
18
17
  this.name = undefined;
18
+ this.label = undefined;
19
+ this.inputHandler = undefined;
20
+ this.defaultValue = undefined;
19
21
  this.helpText = undefined;
20
22
  this.errorText = undefined;
21
- this.defaultValue = undefined;
22
- this.inputHandler = undefined;
23
23
  this.disabled = undefined;
24
24
  }
25
25
  handleDefaultValueChange(newValue) {
@@ -32,18 +32,18 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
32
32
  this.dateInput.value = value;
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: 'fa61a426a5a070d951fa425ae42a59add69a9d96', exportparts: "label,input,input-invalid" }, h("label", { key: 'e7679e6a66277a130414b59421b01d1f8e328cf2', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'b3fb4afd3181fec3eef3dfb851ab8965cb7bbfe7', type: "date", ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: 'dbc9ac76d75521a7d1ee5cc34393471521ffa1c2', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0f9731278250bde69dd7dee9a7b44e339d919774', errorText: this.errorText, name: this.name })));
35
+ return (h(Host, { key: 'dfbfc1ea5d7139a1c1d30c7bd84b33a9c22604cf', exportparts: "label,input,input-invalid" }, h("label", { key: '99a01781ecd1421fa439ad08f77d3f750a55eaee', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'd8db68d8a62e0f982c3aa7d4bd3a5cf7c2681db3', type: "date", ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '1ee2ccdc1e409c5427e39efe2929b830960edce9', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '1db50cca364b4d059dac37243cf83bb4b11459cd', errorText: this.errorText, name: this.name })));
36
36
  }
37
37
  static get watchers() { return {
38
38
  "defaultValue": ["handleDefaultValueChange"]
39
39
  }; }
40
40
  }, [0, "form-control-date", {
41
- "label": [1],
42
41
  "name": [1],
42
+ "label": [1],
43
+ "inputHandler": [16],
44
+ "defaultValue": [1, "default-value"],
43
45
  "helpText": [1, "help-text"],
44
46
  "errorText": [1, "error-text"],
45
- "defaultValue": [1, "default-value"],
46
- "inputHandler": [8, "input-handler"],
47
47
  "disabled": [4]
48
48
  }, undefined, {
49
49
  "defaultValue": ["handleDefaultValueChange"]
@@ -17,13 +17,13 @@ const SelectInput = /*@__PURE__*/ proxyCustomElement(class SelectInput extends H
17
17
  this.updateInput = (newValue) => {
18
18
  this.selectElement.value = newValue;
19
19
  };
20
- this.label = undefined;
21
20
  this.name = undefined;
21
+ this.label = undefined;
22
+ this.options = undefined;
23
+ this.inputHandler = undefined;
24
+ this.defaultValue = undefined;
22
25
  this.helpText = undefined;
23
26
  this.errorText = undefined;
24
- this.defaultValue = undefined;
25
- this.inputHandler = undefined;
26
- this.options = undefined;
27
27
  this.disabled = undefined;
28
28
  }
29
29
  handleDefaultValueChange(newValue) {
@@ -34,19 +34,19 @@ const SelectInput = /*@__PURE__*/ proxyCustomElement(class SelectInput extends H
34
34
  }
35
35
  render() {
36
36
  var _a;
37
- return (h(Host, { key: '99449e3724103b12af7f2a4573831961074a484a', exportparts: "label,input,input-invalid" }, h("div", { key: 'd73e89d43da9968b687afece24794d9472fec6b5', class: "form-group d-flex flex-column" }, h("label", { key: '6964c55858fc3cf96a137e1061c7f66831105348', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("select", { key: '5b1a09a607ad9638915f5e70f2164f6010020438', ref: el => (this.selectElement = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText ? 'input-invalid' : ''}`, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h("form-control-help-text", { key: '62d862921d463c98e56888293c878624f7311548', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0b1c4d4752965fb058208c72c7f1c3872d1e0561', errorText: this.errorText, name: this.name }))));
37
+ return (h(Host, { key: 'e62a08c8ba656cc7e82c0f8f7facccc086fbafe7', exportparts: "label,input,input-invalid" }, h("div", { key: 'f9a4c428311f32f2585ca9259ba31909187b809d', class: "form-group d-flex flex-column" }, h("label", { key: '006a3bd7ae2874bf3fa24e2c053808e51b652d9a', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("select", { key: 'f0ac14e8b74c939b4928b9ce800118f660c90613', ref: el => (this.selectElement = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText ? 'input-invalid' : ''}`, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h("form-control-help-text", { key: '3a60ff2a2af7668013baf2767d97095379b2d37e', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '8c4049d16408f305b8bf1e8a49c91db56991a840', errorText: this.errorText, name: this.name }))));
38
38
  }
39
39
  static get watchers() { return {
40
40
  "defaultValue": ["handleDefaultValueChange"]
41
41
  }; }
42
42
  }, [0, "form-control-select", {
43
- "label": [1],
44
43
  "name": [8],
44
+ "label": [1],
45
+ "options": [16],
46
+ "inputHandler": [16],
47
+ "defaultValue": [1, "default-value"],
45
48
  "helpText": [1, "help-text"],
46
49
  "errorText": [1, "error-text"],
47
- "defaultValue": [1, "default-value"],
48
- "inputHandler": [16],
49
- "options": [16],
50
50
  "disabled": [4]
51
51
  }, undefined, {
52
52
  "defaultValue": ["handleDefaultValueChange"]
@@ -20,13 +20,13 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
20
20
  inputElement.value = newValue || '';
21
21
  }
22
22
  };
23
- this.label = undefined;
24
23
  this.name = undefined;
24
+ this.label = undefined;
25
+ this.inputHandler = undefined;
26
+ this.defaultValue = undefined;
25
27
  this.helpText = undefined;
26
28
  this.errorText = undefined;
27
- this.defaultValue = undefined;
28
29
  this.maxLength = undefined;
29
- this.inputHandler = undefined;
30
30
  this.keyDownHandler = undefined;
31
31
  this.disabled = undefined;
32
32
  }
@@ -37,20 +37,20 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
37
37
  this.updateInput(this.defaultValue);
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '1194532f81831734543bad80860da14f8a5ad856', exportparts: "label,input,input-invalid" }, h("div", { key: '296538cf90b62f8041e21620aa06b4074f68b71a', class: "form-group d-flex flex-column" }, h("label", { key: '7c009ce96124e58f9657dba2565ef298225f10f7', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '4b33cb700aecf4d0a359366ba2e0d248c602d904', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-help-text", { key: '7a279d72bb262fcb044b5b0cc31703878ce9f444', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '00bea288a99f626806697a98b6dca3f3298dc0b3', errorText: this.errorText, name: this.name }))));
40
+ return (h(Host, { key: 'fddfb4134747c8d8caf6594f5450e57fa4c2dc3e', exportparts: "label,input,input-invalid" }, h("div", { key: 'bbd0174fb56d911992907e0a2c453b9d1412b636', class: "form-group d-flex flex-column" }, h("label", { key: 'f5d9d3d6c4694d08d86963df37adbd1b334593b3', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'ae49e4c86782fd0901c1a0e8530981cf1b0b7c65', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-help-text", { key: '1e1bbc8d39e5caeca559515f72eb17ca9b3ab0b1', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '44c121cb0eb69840440e696e784c7a73689a42f2', errorText: this.errorText, name: this.name }))));
41
41
  }
42
42
  get el() { return this; }
43
43
  static get watchers() { return {
44
44
  "defaultValue": ["handleDefaultValueChange"]
45
45
  }; }
46
46
  }, [0, "form-control-text", {
47
- "label": [1],
48
47
  "name": [8],
48
+ "label": [1],
49
+ "inputHandler": [16],
50
+ "defaultValue": [1, "default-value"],
49
51
  "helpText": [1, "help-text"],
50
52
  "errorText": [1, "error-text"],
51
- "defaultValue": [1, "default-value"],
52
53
  "maxLength": [2, "max-length"],
53
- "inputHandler": [16],
54
54
  "keyDownHandler": [16],
55
55
  "disabled": [4]
56
56
  }, undefined, {
@@ -5,6 +5,7 @@ import { a as Business } from './Business.js';
5
5
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
6
6
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
7
7
  import { J as JustifiAnalytics } from './Analytics.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version.js';
8
9
  import { d as defineCustomElement$7 } from './additional-questions-details2.js';
9
10
  import { d as defineCustomElement$6 } from './business-details-core2.js';
10
11
  import { d as defineCustomElement$5 } from './generic-info-details2.js';
@@ -51,6 +52,7 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
51
52
  this.getBusiness = undefined;
52
53
  }
53
54
  componentWillLoad() {
55
+ checkPkgVersion();
54
56
  this.analytics = new JustifiAnalytics(this);
55
57
  this.initializeGetBusiness();
56
58
  }
@@ -13,6 +13,7 @@ import { a as BusinessFormServerErrors, b as BusinessFormClickActions } from './
13
13
  import { a as Business } from './Business.js';
14
14
  import { J as JustifiAnalytics } from './Analytics.js';
15
15
  import { S as StyledHost } from './styled-host.js';
16
+ import { c as checkPkgVersion } from './check-pkg-version.js';
16
17
  import { d as defineCustomElement$e } from './form-alert2.js';
17
18
  import { d as defineCustomElement$d } from './form-control-date2.js';
18
19
  import { d as defineCustomElement$c } from './form-control-error-text2.js';
@@ -86,6 +87,7 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
86
87
  this.errorMessage = undefined;
87
88
  }
88
89
  componentWillLoad() {
90
+ checkPkgVersion();
89
91
  this.analytics = new JustifiAnalytics(this);
90
92
  const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
91
93
  const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
@@ -122,7 +124,7 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
122
124
  this.instantiateBusiness(response.data);
123
125
  }
124
126
  render() {
125
- return (h(StyledHost, { key: 'e388e1e7658969f0e5687102a62345e2790da97a', exportparts: "label,input,input-invalid" }, h("form", { key: 'c22a562e57539e982a071b1906e5bf0bcc249e7d', onSubmit: this.validateAndSubmit }, h("div", { key: '44243cd965b448f5be9058880aa2deb32f4ce8dc', class: "row gap-3" }, h("h1", { key: 'd666ed8ddacc8ac05d7f42c2f4824208b92cdb3f' }, this.title), h("form-alert", { key: 'b1d4025078c4373a789609f2e14d309f0ee280fe', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: 'cdc1d597a5dbf9581182de302a453e4ea98bb28f', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: '2333164de020eadf54da91cabdcbeb87a2fd1b75', formController: this.formController })), h("div", { key: '74eafa5c419f6d6fe2eb3eeb8521e12175f7ee3a', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: '1e5a373f95a77bf3aba1a9f3538b3a2ac3dbf716', formController: this.formController })), h("div", { key: 'ec9f6195f3674b426722463341445f0ed1746178', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: '0adbc60492f4ad71e3877c446376999418b7dc15', formController: this.formController })), h("div", { key: 'cdfb8d0d40e9f888afd9c23cd97d33d861d16f62', class: "col-12 mb-4" }, h("justifi-business-representative", { key: '4d03ec95b7c2918494c9970b3e6a5826d4d69a10', formController: this.formController })), h("div", { key: '0682dba469e57a938b175499312de5d5c4f55a69', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '64791e2742ee129787094c7123e87c4262735556', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
127
+ return (h(StyledHost, { key: '2f28b3e44c64d6ea1ac0d8584946927f6c9c3d05', exportparts: "label,input,input-invalid" }, h("form", { key: '5e57787b7dcd649c3523dc49d0a6946138643c7c', onSubmit: this.validateAndSubmit }, h("div", { key: '0ee6212aa6157ade79ab9b2ff5eb700549a8a916', class: "row gap-3" }, h("h1", { key: '84824314dd924cdab149c2b62b7e01b07dbf5d28' }, this.title), h("form-alert", { key: 'dca6d7ef6bcddd3090f44e5ccf9199bbd441dc87', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: 'a022912c284d63afbf9ce698b145d964d720b110', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: 'be264b806255b790a166b8a3349d78845c6c8225', formController: this.formController })), h("div", { key: 'b3a52da227a71f941941f66b758f718cdc3b7800', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: '258dc5ebabc0e2dfaa8de28534238ef80a4f951d', formController: this.formController })), h("div", { key: '9dd5d30daf37d90a689333640cd1630000ee5e25', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: 'aa1cdf3a39170fcefbd07afcce193ed36430dc5b', formController: this.formController })), h("div", { key: 'a8cd6655a6408bef11c9ad442ecae7a0b5e3c50d', class: "col-12 mb-4" }, h("justifi-business-representative", { key: '33db8cd22d22b694917332941b89b7535bd19201', formController: this.formController })), h("div", { key: '99d46400c8d46e5a3ca6747e5bae70bf5652a367', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '8b858727a11d5ec5f855c446f34da3c1d6253563', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
126
128
  }
127
129
  static get style() { return JustifiBusinessFormStyle0; }
128
130
  }, [1, "justifi-business-form", {
@@ -7,6 +7,7 @@ import './Payment.js';
7
7
  import './Payout.js';
8
8
  import { c as config } from './config.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version.js';
10
11
  import { d as defineCustomElement$d } from './form-control-error-text2.js';
11
12
  import { d as defineCustomElement$c } from './form-control-help-text2.js';
12
13
  import { d as defineCustomElement$b } from './form-control-select2.js';
@@ -109,6 +110,7 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
109
110
  this.errorMessage = '';
110
111
  }
111
112
  componentWillLoad() {
113
+ checkPkgVersion();
112
114
  this.analytics = new JustifiAnalytics(this);
113
115
  this.initializeGetCheckout();
114
116
  }
@@ -143,11 +145,11 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
143
145
  this.checkoutCoreRef.fillBillingForm(fields);
144
146
  }
145
147
  render() {
146
- return (h("justifi-checkout-core", { key: 'd2f6bfed1be767edcf4ba21cddc503ff5efbec1a', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, ref: el => {
148
+ return (h("justifi-checkout-core", { key: 'ea50f0df79dae86294ccfdf2ec523f0fb81433e4', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, ref: el => {
147
149
  if (el) {
148
150
  this.checkoutCoreRef = el;
149
151
  }
150
- } }, h("div", { key: '45ac1bea74ca8ef7999211b51fe7791225d61f00', slot: "insurance" }, h("slot", { key: '13e051844cc7cb4aed98076ccd64954b2dd68228', name: "insurance" }))));
152
+ } }, h("div", { key: '301247cf7c916ba1c6c5464e3c2f0226d0f6f041', slot: "insurance" }, h("slot", { key: 'a75ff85e5a6d954e7c0d3c24abac518a2765f889', name: "insurance" }))));
151
153
  }
152
154
  static get watchers() { return {
153
155
  "authToken": ["propChanged"],
@@ -5,6 +5,7 @@ import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Compone
5
5
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
6
6
  import { E as ErrorState } from './utils.js';
7
7
  import { J as JustifiAnalytics } from './Analytics.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version.js';
8
9
  import { d as defineCustomElement$2 } from './gross-payment-chart-core2.js';
9
10
 
10
11
  class ReportsService {
@@ -59,6 +60,7 @@ const GrossPaymentChart = /*@__PURE__*/ proxyCustomElement(class GrossPaymentCha
59
60
  this.errorMessage = null;
60
61
  }
61
62
  componentWillLoad() {
63
+ checkPkgVersion();
62
64
  this.analytics = new JustifiAnalytics(this);
63
65
  this.initializeGetGrossPayment();
64
66
  }
@@ -7,6 +7,7 @@ import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Compone
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
8
8
  import { E as ErrorState } from './utils.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version.js';
10
11
  import { d as defineCustomElement$3 } from './details.js';
11
12
  import { d as defineCustomElement$2 } from './payment-details-core2.js';
12
13
 
@@ -54,6 +55,7 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
54
55
  this.errorMessage = null;
55
56
  }
56
57
  componentWillLoad() {
58
+ checkPkgVersion();
57
59
  this.analytics = new JustifiAnalytics(this);
58
60
  this.initializeGetPaymentDetails();
59
61
  }
@@ -9,6 +9,7 @@ import { g as getErrorMessage } from './utils3.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
10
  import { B as Button } from './button.js';
11
11
  import { S as StyledHost } from './styled-host.js';
12
+ import { c as checkPkgVersion } from './check-pkg-version.js';
12
13
  import { d as defineCustomElement$8 } from './form-control-error-text2.js';
13
14
  import { d as defineCustomElement$7 } from './form-control-help-text2.js';
14
15
  import { d as defineCustomElement$6 } from './form-control-select2.js';
@@ -39,6 +40,7 @@ const PaymentForm = /*@__PURE__*/ proxyCustomElement(class PaymentForm extends H
39
40
  this.selectedPaymentMethodType = PaymentMethodTypes.card;
40
41
  }
41
42
  componentWillLoad() {
43
+ checkPkgVersion();
42
44
  this.analytics = new JustifiAnalytics(this);
43
45
  if (!this.validateProps()) {
44
46
  this.errorEvent.emit({
@@ -125,15 +127,15 @@ const PaymentForm = /*@__PURE__*/ proxyCustomElement(class PaymentForm extends H
125
127
  }
126
128
  }
127
129
  render() {
128
- return (h(StyledHost, { key: '38bd6cca38d9068fa9277a8568a98f261a4cc616' }, h("form", { key: 'fec19f5e2f11934e6783124c4c437a2d3947f596', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '18001f78e03336d01de8473a57e3e228e9fce201', class: "col-12" }, h("justifi-payment-method-selector", { key: '260ac1ade3ccfe6baf518eb856bdf4d380025620', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: 'f6ade2336314e05f2bdce75df8577939efe33e3b', class: "col-12" }, h("justifi-payment-method-form", { key: 'ad8e5b121b8425175f7ac7f38ab24dfba1801a28', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: config.iframeOrigin, ref: el => {
130
+ return (h(StyledHost, { key: 'f7d035a9ed8b16016493aa07a85a6b4d6d83b5f5' }, h("form", { key: 'fb9354b439332ef4ee67e915f27b60b9b744e6e2', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '303fbccf9beb30c1d822f0ac148128dfba9d158f', class: "col-12" }, h("justifi-payment-method-selector", { key: 'f71353d3f90ab50461a57ce3738ea853ca4d1cc3', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: 'd9024a406dcde487ff2bb7d34385da0a1be8aef5', class: "col-12" }, h("justifi-payment-method-form", { key: '010488c96f1b6b5af049b89151cea9ce61f263bb', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: config.iframeOrigin, ref: el => {
129
131
  if (el) {
130
132
  this.paymentMethodFormRef = el;
131
133
  }
132
- } })), h("div", { key: '29f15f1cece3e07a569e514d08bf9996405699c6', class: "col-12" }, h("justifi-billing-form", { key: '9928924cc29bfa5c5e46ada294cb26da0c1d222b', legend: "Billing Info", ref: el => {
134
+ } })), h("div", { key: 'c8b41e9d6bc0d21db4bc1efa12852480ed4a0bbd', class: "col-12" }, h("justifi-billing-form", { key: '2226122296e6b9da8359b90fe563b6c4342c72f3', legend: "Billing Info", ref: el => {
133
135
  if (el) {
134
136
  this.billingFormRef = el;
135
137
  }
136
- } })), h("slot", { key: 'c36583ab34bc105b506df27aec02898455855cec', name: 'insurance' }), h("div", { key: 'cc38292ae8a59bc6f4624a8535e8b7c93e6f3a35', class: "col-12" }, h(Button, { key: 'e5fe0f50ee2322ab2a199a6229015c9daa198cc0', variant: "primary", type: "submit", onClick: event => this.submit(event), disabled: !this.submitButtonEnabled || this.isLoading, isLoading: this.isLoading, "data-testid": "submit-button", style: { width: '100%' } }, this.submitButtonText || 'Submit')))));
138
+ } })), h("slot", { key: '5aa12164db0d1ac4570db49b7a1bc527d974a8ab', name: 'insurance' }), h("div", { key: '5b0ad786dcf96a4c83696b1e3d1cd09345313807', class: "col-12" }, h(Button, { key: 'b3a55eaf9403d33a0e0769ca2c6c42b086f4da9a', variant: "primary", type: "submit", onClick: event => this.submit(event), disabled: !this.submitButtonEnabled || this.isLoading, isLoading: this.isLoading, "data-testid": "submit-button", style: { width: '100%' } }, this.submitButtonText || 'Submit')))));
137
139
  }
138
140
  static get style() { return JustifiPaymentFormStyle0; }
139
141
  }, [1, "justifi-payment-form", {
@@ -5,6 +5,7 @@ import { m as makeGetBusiness, e as makePostProvisioning } from './payment-provi
5
5
  import { B as BusinessService } from './business.service.js';
6
6
  import { c as config } from './config.js';
7
7
  import { A as Api } from './Api.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version.js';
8
9
  import { d as defineCustomElement$y } from './form-control-checkbox2.js';
9
10
  import { d as defineCustomElement$x } from './form-control-date2.js';
10
11
  import { d as defineCustomElement$w } from './form-control-error-text2.js';
@@ -66,6 +67,7 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
66
67
  this.initializeApi();
67
68
  }
68
69
  componentWillLoad() {
70
+ checkPkgVersion();
69
71
  this.analytics = new JustifiAnalytics(this);
70
72
  this.initializeApi();
71
73
  }
@@ -95,7 +97,7 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
95
97
  }
96
98
  }
97
99
  render() {
98
- return (h("justifi-payment-provisioning-core", { key: 'a93ee23fabf4bdeb381e924bfdf684ddd183075a', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
100
+ return (h("justifi-payment-provisioning-core", { key: '82b3601d3349a92bed1aa93e2a847039d7493c04', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
99
101
  }
100
102
  static get watchers() { return {
101
103
  "authToken": ["propChanged"],
@@ -7,16 +7,23 @@ import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Compone
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
8
8
  import { E as ErrorState } from './utils.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
- import { d as defineCustomElement$6 } from './form-control-date2.js';
11
- import { d as defineCustomElement$5 } from './form-control-error-text2.js';
12
- import { d as defineCustomElement$4 } from './form-control-help-text2.js';
13
- import { d as defineCustomElement$3 } from './pagination-menu2.js';
14
- import { d as defineCustomElement$2 } from './payments-list-core2.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version.js';
11
+ import { c as config } from './config.js';
12
+ import { d as defineCustomElement$b } from './custom-popper2.js';
13
+ import { d as defineCustomElement$a } from './form-control-date2.js';
14
+ import { d as defineCustomElement$9 } from './form-control-error-text2.js';
15
+ import { d as defineCustomElement$8 } from './form-control-help-text2.js';
16
+ import { d as defineCustomElement$7 } from './form-control-select2.js';
17
+ import { d as defineCustomElement$6 } from './form-control-text2.js';
18
+ import { d as defineCustomElement$5 } from './pagination-menu2.js';
19
+ import { d as defineCustomElement$4 } from './payments-list-core2.js';
20
+ import { d as defineCustomElement$3 } from './payments-list-filters2.js';
21
+ import { d as defineCustomElement$2 } from './table-filters-menu2.js';
15
22
 
16
- const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
23
+ const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
17
24
  var _a, _b;
18
25
  try {
19
- const response = await service.fetchPayments(id, authToken, params);
26
+ const response = await service.fetchPayments(id, authToken, params, apiOrigin);
20
27
  if (!response.error) {
21
28
  const pagingInfo = Object.assign({}, response.page_info);
22
29
  const payments = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payment(dataItem))) || [];
@@ -52,12 +59,14 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
52
59
  this.errorMessage = event.detail.message;
53
60
  this.errorEvent.emit(event.detail);
54
61
  };
55
- this.accountId = undefined;
56
- this.authToken = undefined;
57
62
  this.getPayments = undefined;
58
63
  this.errorMessage = null;
64
+ this.accountId = undefined;
65
+ this.authToken = undefined;
66
+ this.apiOrigin = config.proxyApiOrigin;
59
67
  }
60
68
  componentWillLoad() {
69
+ checkPkgVersion();
61
70
  this.analytics = new JustifiAnalytics(this);
62
71
  this.initializeGetPayments();
63
72
  }
@@ -73,6 +82,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
73
82
  id: this.accountId,
74
83
  authToken: this.authToken,
75
84
  service: new PaymentService(),
85
+ apiOrigin: this.apiOrigin,
76
86
  });
77
87
  }
78
88
  else {
@@ -97,6 +107,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
97
107
  }, [1, "justifi-payments-list", {
98
108
  "accountId": [1, "account-id"],
99
109
  "authToken": [1, "auth-token"],
110
+ "apiOrigin": [1, "api-origin"],
100
111
  "getPayments": [32],
101
112
  "errorMessage": [32]
102
113
  }, undefined, {
@@ -107,34 +118,59 @@ function defineCustomElement$1() {
107
118
  if (typeof customElements === "undefined") {
108
119
  return;
109
120
  }
110
- const components = ["justifi-payments-list", "form-control-date", "form-control-error-text", "form-control-help-text", "pagination-menu", "payments-list-core"];
121
+ const components = ["justifi-payments-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-help-text", "form-control-select", "form-control-text", "pagination-menu", "payments-list-core", "payments-list-filters", "table-filters-menu"];
111
122
  components.forEach(tagName => { switch (tagName) {
112
123
  case "justifi-payments-list":
113
124
  if (!customElements.get(tagName)) {
114
125
  customElements.define(tagName, PaymentsList);
115
126
  }
116
127
  break;
128
+ case "custom-popper":
129
+ if (!customElements.get(tagName)) {
130
+ defineCustomElement$b();
131
+ }
132
+ break;
117
133
  case "form-control-date":
118
134
  if (!customElements.get(tagName)) {
119
- defineCustomElement$6();
135
+ defineCustomElement$a();
120
136
  }
121
137
  break;
122
138
  case "form-control-error-text":
123
139
  if (!customElements.get(tagName)) {
124
- defineCustomElement$5();
140
+ defineCustomElement$9();
125
141
  }
126
142
  break;
127
143
  case "form-control-help-text":
128
144
  if (!customElements.get(tagName)) {
129
- defineCustomElement$4();
145
+ defineCustomElement$8();
146
+ }
147
+ break;
148
+ case "form-control-select":
149
+ if (!customElements.get(tagName)) {
150
+ defineCustomElement$7();
151
+ }
152
+ break;
153
+ case "form-control-text":
154
+ if (!customElements.get(tagName)) {
155
+ defineCustomElement$6();
130
156
  }
131
157
  break;
132
158
  case "pagination-menu":
133
159
  if (!customElements.get(tagName)) {
134
- defineCustomElement$3();
160
+ defineCustomElement$5();
135
161
  }
136
162
  break;
137
163
  case "payments-list-core":
164
+ if (!customElements.get(tagName)) {
165
+ defineCustomElement$4();
166
+ }
167
+ break;
168
+ case "payments-list-filters":
169
+ if (!customElements.get(tagName)) {
170
+ defineCustomElement$3();
171
+ }
172
+ break;
173
+ case "table-filters-menu":
138
174
  if (!customElements.get(tagName)) {
139
175
  defineCustomElement$2();
140
176
  }
@@ -7,6 +7,7 @@ import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Compone
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
8
8
  import { E as ErrorState } from './utils.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version.js';
10
11
  import { d as defineCustomElement$3 } from './details.js';
11
12
  import { d as defineCustomElement$2 } from './payout-details-core2.js';
12
13
 
@@ -56,6 +57,7 @@ const PayoutDetails = /*@__PURE__*/ proxyCustomElement(class PayoutDetails exten
56
57
  this.errorMessage = null;
57
58
  }
58
59
  componentWillLoad() {
60
+ checkPkgVersion();
59
61
  this.analytics = new JustifiAnalytics(this);
60
62
  this.initializeServices();
61
63
  }
@@ -8,6 +8,7 @@ import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Compone
8
8
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
9
9
  import { E as ErrorState } from './utils.js';
10
10
  import { J as JustifiAnalytics } from './Analytics.js';
11
+ import { c as checkPkgVersion } from './check-pkg-version.js';
11
12
  import { d as defineCustomElement$6 } from './form-control-date2.js';
12
13
  import { d as defineCustomElement$5 } from './form-control-error-text2.js';
13
14
  import { d as defineCustomElement$4 } from './form-control-help-text2.js';
@@ -61,6 +62,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
61
62
  this.errorMessage = null;
62
63
  }
63
64
  componentWillLoad() {
65
+ checkPkgVersion();
64
66
  this.analytics = new JustifiAnalytics(this);
65
67
  this.initializeServices();
66
68
  }
@@ -100,7 +100,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
100
100
  }
101
101
  render() {
102
102
  var _a;
103
- return (h(StyledHost, { key: 'd0d0962eaecab749aa1eb124e86701a2fb4dfd53' }, h("h1", { key: 'cb3071d89c291b1664e551fcf2808a64569ba5eb' }, "Refund"), this.refundInfoText && (h("div", { key: '01a6f4567f882d2eec492ef6d98db7d04747ecb4', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '8ae5928aaf8ead35a7ad180a01bdde05ebec3d5f', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '425a7dfe9d8b886b55fd0878f3989373733c1758', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '5516d2ac500611d2410b9b4c2a4d0d15e417b2d1', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'b67a7c56f070a5a25d91aa0cc77755b27d420fdc', class: "form-group" }, h("form-control-monetary", { key: '76b6cfdf2b39674434f4d880333dd5d5f603f0b6', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '5e581cdea69d2ce9dbad774214cd904923d199b3', class: "form-group" }, h("form-control-text", { key: '926ae888676a4089d3381bd4d650e6f84f6e206a', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: 'de5df506b7b64a69a16241f117bf9bea4fd79b57', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '92ad4d43677587c2c20dc03c6f03a6cf1f20ac12', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
103
+ return (h(StyledHost, { key: 'bb3d26c841a9697e5881426fb92027e1fff62e9f' }, h("h1", { key: 'b89354d3dec27b3e496af20957fa4d30b7c2e99e' }, "Refund"), this.refundInfoText && (h("div", { key: '493ff3e052c5b28bb382355dd32ebf407446346d', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '72211dc3be8aef8bb87aaff278455170a2be0ed4', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'fa22ea217cbb789cd6a4d2798903df20c7a99c3a', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: 'd698a190fbc5f92375cda2707ea54a0b7d7ca4c3', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '68796a301cea039ba86eaba91e4a63f7db800f47', class: "form-group" }, h("form-control-monetary", { key: '7a03e3d50bad0f932ca69ba7bb8c20cf80d62bc7', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'b4c548b884d7b537a8caa8c91da505af6f6bd6ad', class: "form-group" }, h("form-control-text", { key: '936fb7ee8ce365311c9f368fc7a3c4f183d675ba', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '9b8c5c4175279e8ce5d4d5c10de9ac1e3249bae7', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '8f8a0a878a541d1740d63927d36ad7f2982f83cb', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
104
104
  }
105
105
  static get style() { return JustifiRefundFormStyle0; }
106
106
  }, [1, "justifi-refund-form", {
@@ -7,6 +7,7 @@ import { c as config } from './config.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
8
8
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version.js';
10
11
  import { d as defineCustomElement$2 } from './season-interruption-insurance-core.js';
11
12
 
12
13
  class InsuranceService {
@@ -102,6 +103,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
102
103
  return this.seasonInterruptionCoreRef.validate();
103
104
  }
104
105
  componentWillLoad() {
106
+ checkPkgVersion();
105
107
  this.analytics = new JustifiAnalytics(this);
106
108
  this.initializeServiceMethods();
107
109
  }
@@ -127,7 +129,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
127
129
  });
128
130
  }
129
131
  render() {
130
- return (h("justifi-season-interruption-insurance-core", { key: '256d45d39c5d297abb7f955229b0e0e9fbc9504a', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
132
+ return (h("justifi-season-interruption-insurance-core", { key: '0ef99882f70c9886e8a5b49da5fe89dd4421067a', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
131
133
  }
132
134
  }, [1, "justifi-season-interruption-insurance", {
133
135
  "authToken": [1, "auth-token"],
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "4.19.3";
2
+ const version = "4.20.1";
3
3
  const description = "JustiFi Web Components";
4
4
  const collection = "dist/collection/collection-manifest.json";
5
5
  const main = "dist/index.cjs.js";
@@ -27,6 +27,7 @@ const scripts = {
27
27
  "test:file": "stencil test --spec --watch --"
28
28
  };
29
29
  const dependencies = {
30
+ "@popperjs/core": "^2.11.8",
30
31
  "@stencil/core": "^4.0.5",
31
32
  "@stencil/store": "^2.0.8",
32
33
  bootstrap: "^5.2.3",
@@ -35,6 +36,7 @@ const dependencies = {
35
36
  "dinero.js": "^1.9.1",
36
37
  "iframe-resizer": "^4.3.7",
37
38
  imask: "^7.6.0",
39
+ lodash: "^4.17.21",
38
40
  rxjs: "^7.8.1",
39
41
  "ts-dedent": "^2.2.0",
40
42
  uuid: "^9.0.0",
@@ -5,8 +5,11 @@ import './Payout.js';
5
5
  import { c as config } from './config.js';
6
6
 
7
7
  class PaymentService {
8
- async fetchPayments(accountId, authToken, params) {
9
- const api = Api({ authToken, apiOrigin: config.proxyApiOrigin });
8
+ async fetchPayments(accountId, authToken, params, apiOrigin) {
9
+ if (!apiOrigin) {
10
+ apiOrigin = config.proxyApiOrigin;
11
+ }
12
+ const api = Api({ authToken, apiOrigin: apiOrigin });
10
13
  const endpoint = `account/${accountId}/payments`;
11
14
  return api.get(endpoint, params);
12
15
  }