@justifi/webcomponents 6.5.1-rc.4 → 6.5.1-rc.7
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/{check-pkg-version-Bj0XkWnL.js → check-pkg-version-BHAFLsKe.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +2 -2
- package/dist/cjs/justifi-apple-pay_7.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/{package-Dptg-P5y.js → package-CZK-K7yM.js} +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{check-pkg-version-D6a-vvrO.js → check-pkg-version-ClZuo82s.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +2 -2
- package/dist/esm/justifi-apple-pay_7.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/{package-czPIvHxt.js → package-C3_8r8V7.js} +1 -1
- package/dist/module/package.js +1 -1
- package/dist/webcomponents/{p-2bd821a8.entry.js → p-082efda3.entry.js} +1 -1
- package/dist/webcomponents/{p-f6ec50c9.entry.js → p-12499226.entry.js} +1 -1
- package/dist/webcomponents/p-1ddddc82.entry.js +1 -0
- package/dist/webcomponents/p-215ce79e.entry.js +1 -0
- package/dist/webcomponents/{p-aec7a3c8.entry.js → p-239d1d07.entry.js} +1 -1
- package/dist/webcomponents/{p-0b760c4f.entry.js → p-23a3e38e.entry.js} +1 -1
- package/dist/webcomponents/{p-21c060ce.entry.js → p-27b88afd.entry.js} +1 -1
- package/dist/webcomponents/{p-75f3161c.entry.js → p-2a347349.entry.js} +1 -1
- package/dist/webcomponents/{p-9d67209d.entry.js → p-3787cf63.entry.js} +1 -1
- package/dist/webcomponents/{p-db17bc59.entry.js → p-476ebd43.entry.js} +1 -1
- package/dist/webcomponents/p-64ddd8ea.entry.js +1 -0
- package/dist/webcomponents/p-7becc3d3.entry.js +1 -0
- package/dist/webcomponents/p-8071daf3.entry.js +1 -0
- package/dist/webcomponents/{p-26e95adb.entry.js → p-93aa2d31.entry.js} +1 -1
- package/dist/webcomponents/{p-e07bf523.entry.js → p-9e346c2e.entry.js} +1 -1
- package/dist/webcomponents/p-C3_8r8V7.js +1 -0
- package/dist/webcomponents/p-a9ea2c82.entry.js +1 -0
- package/dist/webcomponents/{p-306c7c33.entry.js → p-aaef1450.entry.js} +1 -1
- package/dist/webcomponents/{p-e00fb7b1.entry.js → p-beb0a3c8.entry.js} +1 -1
- package/dist/webcomponents/{p-3aaedf9d.entry.js → p-d3697504.entry.js} +1 -1
- package/dist/webcomponents/{p-d7a06b34.entry.js → p-d9c090b6.entry.js} +1 -1
- package/dist/webcomponents/{p-38ff97ea.entry.js → p-f11eb1bc.entry.js} +1 -1
- package/dist/webcomponents/{p-5981869a.entry.js → p-f358610a.entry.js} +1 -1
- package/dist/webcomponents/{p-CApezhx9.js → p-sassRpOu.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/docs/entities/businessdetails/index.mdx +55 -72
- package/docs/entities/businessform/index.mdx +13 -19
- package/docs/entities/payment-provisioning/index.mdx +9 -17
- package/docs/helpers/PartsTable.jsx +29 -0
- package/docs/helpers/PropsTable.jsx +35 -0
- package/docs/helpers/{version.ts → version.js} +2 -2
- package/docs/merchant-tools/checkouts-list/index.mdx +50 -64
- package/docs/merchant-tools/gross-payments-chart/index.mdx +17 -19
- package/docs/merchant-tools/order-terminals/index.mdx +13 -17
- package/docs/merchant-tools/payment-details/index.mdx +13 -16
- package/docs/merchant-tools/payment-transactions-list/index.mdx +13 -17
- package/docs/merchant-tools/payments-list/index.mdx +13 -19
- package/docs/merchant-tools/payout-details/index.mdx +47 -57
- package/docs/merchant-tools/payout-transactions-list/index.mdx +13 -17
- package/docs/merchant-tools/payouts-list/index.mdx +13 -19
- package/docs/merchant-tools/terminal-orders-list/index.mdx +13 -17
- package/docs/merchant-tools/terminals-list/index.mdx +13 -17
- package/docs/modular-checkout/index.mdx +0 -5
- package/docs/modular-checkout/introduction/index.mdx +13 -15
- package/docs/modular-checkout/sub-components/apple-pay.mdx +27 -22
- package/docs/modular-checkout/sub-components/bank-account-form.mdx +51 -51
- package/docs/modular-checkout/sub-components/card-form.mdx +50 -54
- package/docs/modular-checkout/sub-components/payment-method-options.mdx +13 -15
- package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +33 -55
- package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +56 -55
- package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +21 -24
- package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +104 -109
- package/docs/modular-checkout/sub-components/summary.mdx +13 -14
- package/docs/payment-facilitation/dispute-management/index.mdx +13 -17
- package/docs/payment-facilitation/refund-payment/index.mdx +22 -15
- package/docs/payment-facilitation/tokenize-payment-method/index.mdx +28 -45
- package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +104 -123
- package/package.json +1 -1
- package/dist/webcomponents/p-50a4d4c4.entry.js +0 -1
- package/dist/webcomponents/p-7661c41a.entry.js +0 -1
- package/dist/webcomponents/p-92a43706.entry.js +0 -1
- package/dist/webcomponents/p-9ef4288b.entry.js +0 -1
- package/dist/webcomponents/p-c9b50493.entry.js +0 -1
- package/dist/webcomponents/p-czPIvHxt.js +0 -1
- package/dist/webcomponents/p-deda2e9d.entry.js +0 -1
- package/docs/helpers/PartsTable.ts +0 -55
- package/docs/helpers/PropsTable.ts +0 -63
- package/docs/modular-checkout/docs/index.mdx +0 -32
- package/docs/modular-checkout/example/index.mdx +0 -25
|
@@ -5,7 +5,7 @@ description: Paginated reporting table for monitoring active and past checkouts.
|
|
|
5
5
|
sidebar_position: 26
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -15,11 +15,13 @@ Component to render a formated list of checkouts for the requested account.
|
|
|
15
15
|
|
|
16
16
|
### Basic list with filters
|
|
17
17
|
|
|
18
|
-
<pre
|
|
18
|
+
<pre>
|
|
19
|
+
<code className="language-html">{`<justifi-checkouts-list-filters></justifi-checkouts-list-filters>
|
|
19
20
|
<justifi-checkouts-list
|
|
20
21
|
account-id="acc_123"
|
|
21
22
|
auth-token="wct_reportingToken"
|
|
22
|
-
/>`}</code
|
|
23
|
+
/>`}</code>
|
|
24
|
+
</pre>
|
|
23
25
|
|
|
24
26
|
### Custom columns
|
|
25
27
|
|
|
@@ -27,30 +29,28 @@ Pass a comma-separated list to the `columns` prop (`created_at,payment_amount,st
|
|
|
27
29
|
|
|
28
30
|
## Props, Events & Methods
|
|
29
31
|
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
]),
|
|
53
|
-
}}
|
|
32
|
+
<PropsTable
|
|
33
|
+
rows={[
|
|
34
|
+
{
|
|
35
|
+
name: 'account-id',
|
|
36
|
+
type: 'string',
|
|
37
|
+
required: true,
|
|
38
|
+
description: 'Platform or sub-account whose checkouts should appear.',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'auth-token',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
description: 'Token with `read:checkouts` scope.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'columns',
|
|
48
|
+
type: 'string',
|
|
49
|
+
defaultValue:
|
|
50
|
+
'created_at,payment_amount,payment_description,payment_mode,status',
|
|
51
|
+
description: 'Controls which table columns render and their order.',
|
|
52
|
+
},
|
|
53
|
+
]}
|
|
54
54
|
/>
|
|
55
55
|
|
|
56
56
|
### Events
|
|
@@ -65,43 +65,29 @@ Pass a comma-separated list to the `columns` prop (`created_at,payment_amount,st
|
|
|
65
65
|
|
|
66
66
|
## Theming & Layout
|
|
67
67
|
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
]),
|
|
92
|
-
}}
|
|
68
|
+
<PartsTable
|
|
69
|
+
parts={[
|
|
70
|
+
{
|
|
71
|
+
name: 'font-family',
|
|
72
|
+
description: 'Controls the font family for the component.',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'color',
|
|
76
|
+
description: 'Controls the text color.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'background-color',
|
|
80
|
+
description: 'Controls the background color.',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'button',
|
|
84
|
+
description: 'Button styles.',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'button-disabled',
|
|
88
|
+
description: 'Disabled button styles.',
|
|
89
|
+
},
|
|
90
|
+
]}
|
|
93
91
|
/>
|
|
94
92
|
|
|
95
93
|
- Filters component emits custom events; ensure both components share the same container so spacing stays consistent.
|
|
96
|
-
|
|
97
|
-
## Static examples
|
|
98
|
-
|
|
99
|
-
### Listening for row clicks
|
|
100
|
-
|
|
101
|
-
<pre><code className="language-js">{`const list = document.querySelector('justifi-checkouts-list');
|
|
102
|
-
|
|
103
|
-
list.addEventListener('click-event', (event) => {
|
|
104
|
-
if (event.detail.name === 'row') {
|
|
105
|
-
router.navigate('/checkouts/' + event.detail.checkout_id);
|
|
106
|
-
}
|
|
107
|
-
});`}</code></pre>
|
|
@@ -5,7 +5,7 @@ description: Visualizes gross payment volume over time with tooltips and range s
|
|
|
5
5
|
sidebar_position: 43
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -15,16 +15,19 @@ Component to render chart displaying last 30 days of gross payment data.
|
|
|
15
15
|
|
|
16
16
|
### Chart monthly volume
|
|
17
17
|
|
|
18
|
-
<pre
|
|
18
|
+
<pre>
|
|
19
|
+
<code className="language-html">{`<justifi-gross-payment-chart
|
|
19
20
|
account-id="acc_123"
|
|
20
21
|
auth-token="wct_reporting"
|
|
21
22
|
interval="month"
|
|
22
23
|
range="12m"
|
|
23
|
-
/>`}</code
|
|
24
|
+
/>`}</code>
|
|
25
|
+
</pre>
|
|
24
26
|
|
|
25
27
|
## Props, Events & Methods
|
|
26
28
|
|
|
27
|
-
<
|
|
29
|
+
<PropsTable
|
|
30
|
+
rows={[
|
|
28
31
|
{
|
|
29
32
|
name: 'account-id',
|
|
30
33
|
type: 'string',
|
|
@@ -49,7 +52,8 @@ Component to render chart displaying last 30 days of gross payment data.
|
|
|
49
52
|
defaultValue: '30d',
|
|
50
53
|
description: 'Total timeframe (e.g., `7d`, `3m`, `12m`).',
|
|
51
54
|
},
|
|
52
|
-
]
|
|
55
|
+
]}
|
|
56
|
+
/>
|
|
53
57
|
|
|
54
58
|
### Events
|
|
55
59
|
|
|
@@ -61,21 +65,15 @@ Component to render chart displaying last 30 days of gross payment data.
|
|
|
61
65
|
|
|
62
66
|
## Theming & Layout
|
|
63
67
|
|
|
64
|
-
<
|
|
65
|
-
|
|
68
|
+
<PartsTable
|
|
69
|
+
parts={[
|
|
70
|
+
{
|
|
71
|
+
name: 'chart',
|
|
72
|
+
description: 'SVG/Canvas container for the line chart.',
|
|
73
|
+
},
|
|
66
74
|
{
|
|
67
75
|
name: 'tooltip',
|
|
68
76
|
description: 'Floating tooltip bubble when hovering/focusing a point.',
|
|
69
77
|
},
|
|
70
|
-
]
|
|
71
|
-
|
|
72
|
-
## Static examples
|
|
73
|
-
|
|
74
|
-
### Toggle ranges
|
|
75
|
-
|
|
76
|
-
<pre><code className="language-js">{`const chart = document.querySelector('justifi-gross-payment-chart');
|
|
77
|
-
|
|
78
|
-
document.querySelector('#range').addEventListener('change', (event) => {
|
|
79
|
-
chart.setAttribute('range', event.target.value);
|
|
80
|
-
chart.refresh();
|
|
81
|
-
});`}</code></pre>
|
|
78
|
+
]}
|
|
79
|
+
/>
|
|
@@ -5,7 +5,7 @@ description: Guided purchasing flow for ordering in-person terminals and accesso
|
|
|
5
5
|
sidebar_position: 50
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -13,15 +13,18 @@ Component to render a form for terminal order requests.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-order-terminals
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_terminals"
|
|
19
20
|
shipping-contact="contact_456"
|
|
20
|
-
/>`}</code
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
21
23
|
|
|
22
24
|
## Props, Events & Methods
|
|
23
25
|
|
|
24
|
-
<
|
|
26
|
+
<PropsTable
|
|
27
|
+
rows={[
|
|
25
28
|
{
|
|
26
29
|
name: 'account-id',
|
|
27
30
|
type: 'string',
|
|
@@ -45,7 +48,8 @@ Component to render a form for terminal order requests.
|
|
|
45
48
|
type: 'string',
|
|
46
49
|
description: 'Comma-separated SKU list to limit which devices appear.',
|
|
47
50
|
},
|
|
48
|
-
]
|
|
51
|
+
]}
|
|
52
|
+
/>
|
|
49
53
|
|
|
50
54
|
### Events
|
|
51
55
|
|
|
@@ -58,7 +62,8 @@ Component to render a form for terminal order requests.
|
|
|
58
62
|
|
|
59
63
|
## Theming & Layout
|
|
60
64
|
|
|
61
|
-
<
|
|
65
|
+
<PartsTable
|
|
66
|
+
parts={[
|
|
62
67
|
{
|
|
63
68
|
name: 'font-family',
|
|
64
69
|
description: 'Controls the font family for the component.',
|
|
@@ -71,14 +76,5 @@ Component to render a form for terminal order requests.
|
|
|
71
76
|
name: 'background-color',
|
|
72
77
|
description: 'Controls the background color.',
|
|
73
78
|
},
|
|
74
|
-
]
|
|
75
|
-
|
|
76
|
-
## Static examples
|
|
77
|
-
|
|
78
|
-
### Restrict SKUs
|
|
79
|
-
|
|
80
|
-
<pre><code className="language-html">{`<justifi-order-terminals
|
|
81
|
-
account-id="acc_123"
|
|
82
|
-
auth-token="wct_terminals"
|
|
83
|
-
allowed-products="WISEPAD_3,WISEPOS_E"
|
|
84
|
-
/>`}</code></pre>
|
|
79
|
+
]}
|
|
80
|
+
/>
|
|
@@ -5,8 +5,11 @@ description: Detailed view for a single payment, including customer data, timeli
|
|
|
5
5
|
sidebar_position: 30
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
PropsTable,
|
|
10
|
+
PartsTable,
|
|
11
|
+
getWebcomponentsVersion,
|
|
12
|
+
} from '@justifi/webcomponents/docs/helpers';
|
|
10
13
|
|
|
11
14
|
## Overview
|
|
12
15
|
|
|
@@ -67,7 +70,8 @@ Component to display detailed information about a specific payment.
|
|
|
67
70
|
|
|
68
71
|
## Props, Events & Methods
|
|
69
72
|
|
|
70
|
-
<
|
|
73
|
+
<PropsTable
|
|
74
|
+
rows={[
|
|
71
75
|
{
|
|
72
76
|
name: 'account-id',
|
|
73
77
|
type: 'string',
|
|
@@ -92,7 +96,8 @@ Component to display detailed information about a specific payment.
|
|
|
92
96
|
defaultValue: 'true',
|
|
93
97
|
description: 'Hide when you only need a read-only audit surface.',
|
|
94
98
|
},
|
|
95
|
-
]
|
|
99
|
+
]}
|
|
100
|
+
/>
|
|
96
101
|
|
|
97
102
|
### Events
|
|
98
103
|
|
|
@@ -105,7 +110,8 @@ Component to display detailed information about a specific payment.
|
|
|
105
110
|
|
|
106
111
|
## Theming & Layout
|
|
107
112
|
|
|
108
|
-
<
|
|
113
|
+
<PartsTable
|
|
114
|
+
parts={[
|
|
109
115
|
{
|
|
110
116
|
name: 'font-family',
|
|
111
117
|
description: 'Controls the font family for the component.',
|
|
@@ -118,14 +124,5 @@ Component to display detailed information about a specific payment.
|
|
|
118
124
|
name: 'background-color',
|
|
119
125
|
description: 'Controls the background color.',
|
|
120
126
|
},
|
|
121
|
-
]
|
|
122
|
-
|
|
123
|
-
## Static examples
|
|
124
|
-
|
|
125
|
-
### Hook into refund events
|
|
126
|
-
|
|
127
|
-
<pre><code className="language-js">{`const details = document.querySelector('justifi-payment-details');
|
|
128
|
-
|
|
129
|
-
details.addEventListener('refund-requested', ({ detail }) => {
|
|
130
|
-
console.log('Starting refund flow for payment', detail.payment_id);
|
|
131
|
-
});`}</code></pre>
|
|
127
|
+
]}
|
|
128
|
+
/>
|
|
@@ -5,7 +5,7 @@ description: Transaction-level ledger for payments, grouped by status and fundin
|
|
|
5
5
|
sidebar_position: 32
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -13,15 +13,18 @@ Component to display a list of payment transactions for a specific payment.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payment-transactions-list
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_reporting"
|
|
19
20
|
filters='{"payment_id":"pay_456"}'
|
|
20
|
-
/>`}</code
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
21
23
|
|
|
22
24
|
## Props, Events & Methods
|
|
23
25
|
|
|
24
|
-
<
|
|
26
|
+
<PropsTable
|
|
27
|
+
rows={[
|
|
25
28
|
{
|
|
26
29
|
name: 'account-id',
|
|
27
30
|
type: 'string',
|
|
@@ -46,7 +49,8 @@ Component to display a list of payment transactions for a specific payment.
|
|
|
46
49
|
defaultValue: 'false',
|
|
47
50
|
description: 'Adds export controls when true.',
|
|
48
51
|
},
|
|
49
|
-
]
|
|
52
|
+
]}
|
|
53
|
+
/>
|
|
50
54
|
|
|
51
55
|
### Events
|
|
52
56
|
|
|
@@ -59,7 +63,8 @@ Component to display a list of payment transactions for a specific payment.
|
|
|
59
63
|
|
|
60
64
|
## Theming & Layout
|
|
61
65
|
|
|
62
|
-
<
|
|
66
|
+
<PartsTable
|
|
67
|
+
parts={[
|
|
63
68
|
{
|
|
64
69
|
name: 'font-family',
|
|
65
70
|
description: 'Controls the font family for the component.',
|
|
@@ -72,14 +77,5 @@ Component to display a list of payment transactions for a specific payment.
|
|
|
72
77
|
name: 'background-color',
|
|
73
78
|
description: 'Controls the background color.',
|
|
74
79
|
},
|
|
75
|
-
]
|
|
76
|
-
|
|
77
|
-
## Static examples
|
|
78
|
-
|
|
79
|
-
### Listening for filter changes
|
|
80
|
-
|
|
81
|
-
<pre><code className="language-js">{`const ledger = document.querySelector('justifi-payment-transactions-list');
|
|
82
|
-
|
|
83
|
-
ledger.addEventListener('filter-changed', (event) => {
|
|
84
|
-
console.log('Filters now', event.detail);
|
|
85
|
-
});`}</code></pre>
|
|
80
|
+
]}
|
|
81
|
+
/>
|
|
@@ -5,7 +5,7 @@ description: Paginated table of payments with filtering, export, and quick actio
|
|
|
5
5
|
sidebar_position: 31
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -13,7 +13,8 @@ Component to render a formated list of payments for the requested account.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<div class="payments-report">
|
|
17
18
|
<justifi-filters
|
|
18
19
|
account-id="acc_123"
|
|
19
20
|
auth-token="wct_reporting"
|
|
@@ -24,11 +25,13 @@ Component to render a formated list of payments for the requested account.
|
|
|
24
25
|
auth-token="wct_reporting"
|
|
25
26
|
columns="created_at,customer_name,payment_amount,status"
|
|
26
27
|
></justifi-payments-list>
|
|
27
|
-
</div>`}</code
|
|
28
|
+
</div>`}</code>
|
|
29
|
+
</pre>
|
|
28
30
|
|
|
29
31
|
## Props, Events & Methods
|
|
30
32
|
|
|
31
|
-
<
|
|
33
|
+
<PropsTable
|
|
34
|
+
rows={[
|
|
32
35
|
{
|
|
33
36
|
name: 'account-id',
|
|
34
37
|
type: 'string',
|
|
@@ -61,7 +64,8 @@ Component to render a formated list of payments for the requested account.
|
|
|
61
64
|
defaultValue: 'false',
|
|
62
65
|
description: 'Adds an export button that streams CSV data when true.',
|
|
63
66
|
},
|
|
64
|
-
]
|
|
67
|
+
]}
|
|
68
|
+
/>
|
|
65
69
|
|
|
66
70
|
### Events
|
|
67
71
|
|
|
@@ -75,7 +79,8 @@ Component to render a formated list of payments for the requested account.
|
|
|
75
79
|
|
|
76
80
|
## Theming & Layout
|
|
77
81
|
|
|
78
|
-
<
|
|
82
|
+
<PartsTable
|
|
83
|
+
parts={[
|
|
79
84
|
{
|
|
80
85
|
name: 'font-family',
|
|
81
86
|
description: 'Controls the font family for the component.',
|
|
@@ -96,16 +101,5 @@ Component to render a formated list of payments for the requested account.
|
|
|
96
101
|
name: 'button-disabled',
|
|
97
102
|
description: 'Disabled button styles.',
|
|
98
103
|
},
|
|
99
|
-
]
|
|
100
|
-
|
|
101
|
-
## Static examples
|
|
102
|
-
|
|
103
|
-
### Reacting to row clicks
|
|
104
|
-
|
|
105
|
-
<pre><code className="language-js">{`const list = document.querySelector('justifi-payments-list');
|
|
106
|
-
|
|
107
|
-
list.addEventListener('click-event', (event) => {
|
|
108
|
-
if (event.detail.name === 'row') {
|
|
109
|
-
router.push('/payments/' + event.detail.payment_id);
|
|
110
|
-
}
|
|
111
|
-
});`}</code></pre>
|
|
104
|
+
]}
|
|
105
|
+
/>
|
|
@@ -5,7 +5,7 @@ description: Drill-down view for a single payout, including ledger items and ban
|
|
|
5
5
|
sidebar_position: 41
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -13,43 +13,43 @@ Component to display detailed information about a specific payout.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payout-details
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_reporting"
|
|
19
20
|
payout-id="po_456"
|
|
20
|
-
/>`}</code
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
21
23
|
|
|
22
24
|
## Props, Events & Methods
|
|
23
25
|
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
]),
|
|
52
|
-
}}
|
|
26
|
+
<PropsTable
|
|
27
|
+
rows={[
|
|
28
|
+
{
|
|
29
|
+
name: 'account-id',
|
|
30
|
+
type: 'string',
|
|
31
|
+
required: true,
|
|
32
|
+
description: 'Scope the payout to a platform or merchant.',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'auth-token',
|
|
36
|
+
type: 'string',
|
|
37
|
+
required: true,
|
|
38
|
+
description: 'Token with `read:payouts` scope.',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'payout-id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
description: 'Identifier for the payout you want to view.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'show-ledger',
|
|
48
|
+
type: 'boolean',
|
|
49
|
+
defaultValue: 'true',
|
|
50
|
+
description: 'Hide the ledger table when you only need summary data.',
|
|
51
|
+
},
|
|
52
|
+
]}
|
|
53
53
|
/>
|
|
54
54
|
|
|
55
55
|
### Events
|
|
@@ -62,29 +62,19 @@ Component to display detailed information about a specific payout.
|
|
|
62
62
|
|
|
63
63
|
## Theming & Layout
|
|
64
64
|
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
]),
|
|
81
|
-
}}
|
|
65
|
+
<PartsTable
|
|
66
|
+
parts={[
|
|
67
|
+
{
|
|
68
|
+
name: 'font-family',
|
|
69
|
+
description: 'Controls the font family for the component.',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'color',
|
|
73
|
+
description: 'Controls the text color.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'background-color',
|
|
77
|
+
description: 'Controls the background color.',
|
|
78
|
+
},
|
|
79
|
+
]}
|
|
82
80
|
/>
|
|
83
|
-
|
|
84
|
-
## Static examples
|
|
85
|
-
|
|
86
|
-
### Auto-refresh
|
|
87
|
-
|
|
88
|
-
<pre><code className="language-js">{`const payout = document.querySelector('justifi-payout-details');
|
|
89
|
-
|
|
90
|
-
setInterval(() => payout.refresh(), 60_000);`}</code></pre>
|
|
@@ -5,7 +5,7 @@ description: Ledger of transactions contributing to a payout, with filtering and
|
|
|
5
5
|
sidebar_position: 42
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { PropsTable, PartsTable } from '
|
|
8
|
+
import { PropsTable, PartsTable } from '@justifi/webcomponents/docs/helpers';
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
@@ -13,15 +13,18 @@ Component to display a list of payout transactions for a specific payout.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payout-transactions-list
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_reporting"
|
|
19
20
|
payout-id="po_456"
|
|
20
|
-
/>`}</code
|
|
21
|
+
/>`}</code>
|
|
22
|
+
</pre>
|
|
21
23
|
|
|
22
24
|
## Props, Events & Methods
|
|
23
25
|
|
|
24
|
-
<
|
|
26
|
+
<PropsTable
|
|
27
|
+
rows={[
|
|
25
28
|
{
|
|
26
29
|
name: 'account-id',
|
|
27
30
|
type: 'string',
|
|
@@ -46,7 +49,8 @@ Component to display a list of payout transactions for a specific payout.
|
|
|
46
49
|
defaultValue: 'type,amount,source,status',
|
|
47
50
|
description: 'Column ordering and selection.',
|
|
48
51
|
},
|
|
49
|
-
]
|
|
52
|
+
]}
|
|
53
|
+
/>
|
|
50
54
|
|
|
51
55
|
### Events
|
|
52
56
|
|
|
@@ -58,7 +62,8 @@ Component to display a list of payout transactions for a specific payout.
|
|
|
58
62
|
|
|
59
63
|
## Theming & Layout
|
|
60
64
|
|
|
61
|
-
<
|
|
65
|
+
<PartsTable
|
|
66
|
+
parts={[
|
|
62
67
|
{
|
|
63
68
|
name: 'font-family',
|
|
64
69
|
description: 'Controls the font family for the component.',
|
|
@@ -71,14 +76,5 @@ Component to display a list of payout transactions for a specific payout.
|
|
|
71
76
|
name: 'background-color',
|
|
72
77
|
description: 'Controls the background color.',
|
|
73
78
|
},
|
|
74
|
-
]
|
|
75
|
-
|
|
76
|
-
## Static examples
|
|
77
|
-
|
|
78
|
-
### Open payment details
|
|
79
|
-
|
|
80
|
-
<pre><code className="language-js">{`const payoutLedger = document.querySelector('justifi-payout-transactions-list');
|
|
81
|
-
|
|
82
|
-
payoutLedger.addEventListener('click-event', ({ detail }) => {
|
|
83
|
-
router.push('/payments/' + detail.transaction_id);
|
|
84
|
-
});`}</code></pre>
|
|
79
|
+
]}
|
|
80
|
+
/>
|