@justifi/webcomponents 4.19.3 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-a0a86d82.js → Analytics-03981aad.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
- package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
- package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -4
- package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -4
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +8 -6
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -2
- package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-99f4d813.js → package-7fdd14b9.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -3
- package/dist/cjs/styled-host-9e0b67b3.js +14 -0
- package/dist/cjs/utils-f8a6962c.js +25 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-details/business-details.js +2 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
- package/dist/collection/components/checkout/checkout.js +4 -2
- package/dist/collection/components/form/form-control-date.js +26 -28
- package/dist/collection/components/form/form-control-select.js +45 -45
- package/dist/collection/components/form/form-control-text.js +34 -34
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
- package/dist/collection/components/payment-details/payment-details.js +2 -0
- package/dist/collection/components/payment-form/payment-form.js +5 -3
- package/dist/collection/components/payments-list/payments-list-core.js +14 -9
- package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
- package/dist/collection/components/payments-list/payments-list.js +2 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +2 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +2 -0
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
- package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
- package/dist/collection/ui-components/filters/utils.js +20 -0
- package/dist/collection/utils/check-pkg-version.js +19 -0
- package/dist/docs.json +523 -19
- package/dist/esm/{Analytics-e460ab05.js → Analytics-3103f8e9.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
- package/dist/esm/custom-popper.entry.js +1890 -0
- package/dist/esm/form-control-date_3.entry.js +4 -4
- package/dist/esm/form-control-error-text_4.entry.js +9 -9
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +4 -2
- package/dist/esm/justifi-business-form.entry.js +6 -4
- package/dist/esm/justifi-card-form.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +6 -4
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -2
- package/dist/esm/justifi-payment-details.entry.js +4 -2
- package/dist/esm/justifi-payment-form.entry.js +8 -6
- package/dist/esm/justifi-payment-method-form.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -3
- package/dist/esm/justifi-payments-list.entry.js +4 -2
- package/dist/esm/justifi-payout-details.entry.js +4 -2
- package/dist/esm/justifi-payouts-list.entry.js +4 -2
- package/dist/esm/justifi-refund-form.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-0935c5e5.js → package-0e3cc41e.js} +3 -1
- package/dist/esm/payment-details-core.entry.js +1 -1
- package/dist/esm/payments-list-core.entry.js +15 -10
- package/dist/esm/payments-list-filters_2.entry.js +17261 -0
- package/dist/esm/payout-details-core.entry.js +2 -2
- package/dist/esm/payouts-list-core.entry.js +3 -3
- package/dist/esm/styled-host-3171ae1f.js +12 -0
- package/dist/esm/utils-3a4d8f3a.js +22 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/check-pkg-version.js +22 -0
- package/dist/module/custom-popper.d.ts +11 -0
- package/dist/module/custom-popper.js +6 -0
- package/dist/module/custom-popper2.js +1912 -0
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-select2.js +9 -9
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/justifi-business-details.js +2 -0
- package/dist/module/justifi-business-form.js +3 -1
- package/dist/module/justifi-checkout.js +4 -2
- package/dist/module/justifi-gross-payment-chart.js +2 -0
- package/dist/module/justifi-payment-details.js +2 -0
- package/dist/module/justifi-payment-form.js +5 -3
- package/dist/module/justifi-payment-provisioning.js +3 -1
- package/dist/module/justifi-payments-list.js +42 -10
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payouts-list.js +2 -0
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +3 -1
- package/dist/module/package.js +3 -1
- package/dist/module/payments-list-core2.js +51 -17
- package/dist/module/payments-list-filters.d.ts +11 -0
- package/dist/module/payments-list-filters.js +6 -0
- package/dist/module/payments-list-filters2.js +17294 -0
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu.d.ts +11 -0
- package/dist/module/table-filters-menu.js +6 -0
- package/dist/module/table-filters-menu2.js +80 -0
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/components/form/form-control-date.d.ts +4 -4
- package/dist/types/components/form/form-control-select.d.ts +6 -6
- package/dist/types/components/form/form-control-text.d.ts +4 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
- package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
- package/dist/types/components.d.ts +89 -10
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
- package/dist/types/ui-components/filters/utils.d.ts +2 -0
- package/dist/types/utils/check-pkg-version.d.ts +1 -0
- package/dist/webcomponents/p-05718341.entry.js +1 -0
- package/dist/webcomponents/{p-b676bca5.entry.js → p-0de026dd.entry.js} +1 -1
- package/dist/webcomponents/p-0e84986e.entry.js +10 -0
- package/dist/webcomponents/p-1612894d.js +1 -0
- package/dist/webcomponents/p-20dafb46.entry.js +1 -0
- package/dist/webcomponents/p-2c51d29f.js +1 -0
- package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
- package/dist/webcomponents/{p-be39c802.entry.js → p-3c7fac29.entry.js} +1 -1
- package/dist/webcomponents/p-428e9b64.entry.js +1 -0
- package/dist/webcomponents/{p-edb62047.entry.js → p-430f81c6.entry.js} +1 -1
- package/dist/webcomponents/{p-4e017b58.js → p-437f9114.js} +1 -1
- package/dist/webcomponents/p-44055818.js +1 -0
- package/dist/webcomponents/{p-f5ebca3e.entry.js → p-4628cc9b.entry.js} +1 -1
- package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
- package/dist/webcomponents/p-5540a47c.entry.js +1 -0
- package/dist/webcomponents/{p-fb58feb5.entry.js → p-570a0f02.entry.js} +1 -1
- package/dist/webcomponents/{p-c9f8f7ec.entry.js → p-59cf5391.entry.js} +1 -1
- package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
- package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
- package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
- package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
- package/dist/webcomponents/p-8281f09a.js +1 -0
- package/dist/webcomponents/p-8921a478.entry.js +1 -0
- package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
- package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
- package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
- package/dist/webcomponents/{p-bd278ff4.entry.js → p-938bf2b4.entry.js} +1 -1
- package/dist/webcomponents/p-9b154d98.entry.js +1 -0
- package/dist/webcomponents/{p-4e01fec8.entry.js → p-b14da2fd.entry.js} +1 -1
- package/dist/webcomponents/{p-124c1ecd.entry.js → p-bdc91c61.entry.js} +1 -1
- package/dist/webcomponents/{p-487b72a8.entry.js → p-c64ce69d.entry.js} +1 -1
- package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
- package/dist/webcomponents/p-eea79a55.entry.js +1 -0
- package/dist/webcomponents/{p-b6c3b7bc.entry.js → p-f6a2dc78.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +3 -1
- package/dist/cjs/styled-host-cc053016.js +0 -14
- package/dist/esm/styled-host-ab9da520.js +0 -12
- package/dist/webcomponents/p-07109641.entry.js +0 -1
- package/dist/webcomponents/p-11b6ed0c.entry.js +0 -1
- package/dist/webcomponents/p-15976984.entry.js +0 -1
- package/dist/webcomponents/p-1cf90026.entry.js +0 -1
- package/dist/webcomponents/p-3423ddfd.entry.js +0 -1
- package/dist/webcomponents/p-39c6f36a.entry.js +0 -1
- package/dist/webcomponents/p-421ed39d.entry.js +0 -1
- package/dist/webcomponents/p-69c18f39.entry.js +0 -1
- package/dist/webcomponents/p-6abb2a04.entry.js +0 -1
- package/dist/webcomponents/p-721dcf51.entry.js +0 -1
- package/dist/webcomponents/p-817da23c.entry.js +0 -1
- package/dist/webcomponents/p-a99032e1.entry.js +0 -1
- package/dist/webcomponents/p-ba4bae6f.js +0 -1
- package/dist/webcomponents/p-d4a44a1e.entry.js +0 -1
- package/dist/webcomponents/p-d78eb6ce.js +0 -1
- package/dist/webcomponents/p-e2b2213f.entry.js +0 -1
- package/dist/webcomponents/p-e7fd1357.entry.js +0 -1
- package/dist/webcomponents/p-eccf2e8e.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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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,11 +7,17 @@ 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 {
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
11
|
+
import { d as defineCustomElement$b } from './custom-popper2.js';
|
|
12
|
+
import { d as defineCustomElement$a } from './form-control-date2.js';
|
|
13
|
+
import { d as defineCustomElement$9 } from './form-control-error-text2.js';
|
|
14
|
+
import { d as defineCustomElement$8 } from './form-control-help-text2.js';
|
|
15
|
+
import { d as defineCustomElement$7 } from './form-control-select2.js';
|
|
16
|
+
import { d as defineCustomElement$6 } from './form-control-text2.js';
|
|
17
|
+
import { d as defineCustomElement$5 } from './pagination-menu2.js';
|
|
18
|
+
import { d as defineCustomElement$4 } from './payments-list-core2.js';
|
|
19
|
+
import { d as defineCustomElement$3 } from './payments-list-filters2.js';
|
|
20
|
+
import { d as defineCustomElement$2 } from './table-filters-menu2.js';
|
|
15
21
|
|
|
16
22
|
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
17
23
|
var _a, _b;
|
|
@@ -58,6 +64,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
58
64
|
this.errorMessage = null;
|
|
59
65
|
}
|
|
60
66
|
componentWillLoad() {
|
|
67
|
+
checkPkgVersion();
|
|
61
68
|
this.analytics = new JustifiAnalytics(this);
|
|
62
69
|
this.initializeGetPayments();
|
|
63
70
|
}
|
|
@@ -107,34 +114,59 @@ function defineCustomElement$1() {
|
|
|
107
114
|
if (typeof customElements === "undefined") {
|
|
108
115
|
return;
|
|
109
116
|
}
|
|
110
|
-
const components = ["justifi-payments-list", "form-control-date", "form-control-error-text", "form-control-help-text", "pagination-menu", "payments-list-core"];
|
|
117
|
+
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
118
|
components.forEach(tagName => { switch (tagName) {
|
|
112
119
|
case "justifi-payments-list":
|
|
113
120
|
if (!customElements.get(tagName)) {
|
|
114
121
|
customElements.define(tagName, PaymentsList);
|
|
115
122
|
}
|
|
116
123
|
break;
|
|
124
|
+
case "custom-popper":
|
|
125
|
+
if (!customElements.get(tagName)) {
|
|
126
|
+
defineCustomElement$b();
|
|
127
|
+
}
|
|
128
|
+
break;
|
|
117
129
|
case "form-control-date":
|
|
118
130
|
if (!customElements.get(tagName)) {
|
|
119
|
-
defineCustomElement$
|
|
131
|
+
defineCustomElement$a();
|
|
120
132
|
}
|
|
121
133
|
break;
|
|
122
134
|
case "form-control-error-text":
|
|
123
135
|
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$
|
|
136
|
+
defineCustomElement$9();
|
|
125
137
|
}
|
|
126
138
|
break;
|
|
127
139
|
case "form-control-help-text":
|
|
128
140
|
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$
|
|
141
|
+
defineCustomElement$8();
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case "form-control-select":
|
|
145
|
+
if (!customElements.get(tagName)) {
|
|
146
|
+
defineCustomElement$7();
|
|
147
|
+
}
|
|
148
|
+
break;
|
|
149
|
+
case "form-control-text":
|
|
150
|
+
if (!customElements.get(tagName)) {
|
|
151
|
+
defineCustomElement$6();
|
|
130
152
|
}
|
|
131
153
|
break;
|
|
132
154
|
case "pagination-menu":
|
|
133
155
|
if (!customElements.get(tagName)) {
|
|
134
|
-
defineCustomElement$
|
|
156
|
+
defineCustomElement$5();
|
|
135
157
|
}
|
|
136
158
|
break;
|
|
137
159
|
case "payments-list-core":
|
|
160
|
+
if (!customElements.get(tagName)) {
|
|
161
|
+
defineCustomElement$4();
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
case "payments-list-filters":
|
|
165
|
+
if (!customElements.get(tagName)) {
|
|
166
|
+
defineCustomElement$3();
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case "table-filters-menu":
|
|
138
170
|
if (!customElements.get(tagName)) {
|
|
139
171
|
defineCustomElement$2();
|
|
140
172
|
}
|
|
@@ -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: '
|
|
103
|
+
return (h(StyledHost, { key: '317b405be6fae390e20b7bf8586aced9fdf5e246' }, h("h1", { key: 'e27cd7c30b74eae1be005dfd17cc4a33411024d1' }, "Refund"), this.refundInfoText && (h("div", { key: '00298ad8bd4a0c5e56d78e94f2b9da8b3ad065df', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: 'e32db4b03e42a6e8180b10e99a7a7de94e753850', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'd63e3a790338bd5c3ac9f304aaa01b65928bd34e', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: 'a5cb24ef9f8214e37398d4c2eb790f0c5ffb5a18', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'c8e24f30f8db93bef5e6b56d9eea5208aa768f94', class: "form-group" }, h("form-control-monetary", { key: 'a52701bc026714e8e0851eeff6c8458385f2f5da', 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: 'e2ff04104c47d2852da925de074b1667dcc684f4', class: "form-group" }, h("form-control-text", { key: '8567d4f6082642919e2a132511af6eb9f393cd65', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '6634bfd2156b45f189c4c4b630983712bbc5baa4', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '1a0c80e5ee42673d09f9d7f9a36acc2f4ea52f8b', 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: '
|
|
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"],
|
package/dist/module/package.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "@justifi/webcomponents";
|
|
2
|
-
const version = "4.
|
|
2
|
+
const version = "4.20.0";
|
|
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",
|