@justifi/webcomponents 6.5.1-rc.5 → 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-T54BeR4n.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-JstJdxIu.js → package-CZK-K7yM.js} +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{check-pkg-version-C8hgGLFx.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-DEhd71m_.js → package-C3_8r8V7.js} +1 -1
- package/dist/module/package.js +1 -1
- package/dist/webcomponents/{p-266a9aee.entry.js → p-082efda3.entry.js} +1 -1
- package/dist/webcomponents/{p-de35abb6.entry.js → p-12499226.entry.js} +1 -1
- package/dist/webcomponents/p-1ddddc82.entry.js +1 -0
- package/dist/webcomponents/{p-5a3687bf.entry.js → p-215ce79e.entry.js} +1 -1
- package/dist/webcomponents/{p-9fef2496.entry.js → p-239d1d07.entry.js} +1 -1
- package/dist/webcomponents/{p-04b23547.entry.js → p-23a3e38e.entry.js} +1 -1
- package/dist/webcomponents/{p-8cfda6c1.entry.js → p-27b88afd.entry.js} +1 -1
- package/dist/webcomponents/{p-cfd858be.entry.js → p-2a347349.entry.js} +1 -1
- package/dist/webcomponents/{p-20608f0c.entry.js → p-3787cf63.entry.js} +1 -1
- package/dist/webcomponents/{p-73388c68.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-d1951301.entry.js → p-93aa2d31.entry.js} +1 -1
- package/dist/webcomponents/{p-a9bd4e27.entry.js → p-9e346c2e.entry.js} +1 -1
- package/dist/webcomponents/p-C3_8r8V7.js +1 -0
- package/dist/webcomponents/{p-90de8098.entry.js → p-a9ea2c82.entry.js} +1 -1
- package/dist/webcomponents/{p-7a3d9c24.entry.js → p-aaef1450.entry.js} +1 -1
- package/dist/webcomponents/{p-7128920a.entry.js → p-beb0a3c8.entry.js} +1 -1
- package/dist/webcomponents/{p-c364c76d.entry.js → p-d3697504.entry.js} +1 -1
- package/dist/webcomponents/{p-42c3bda4.entry.js → p-d9c090b6.entry.js} +1 -1
- package/dist/webcomponents/{p-e47a2592.entry.js → p-f11eb1bc.entry.js} +1 -1
- package/dist/webcomponents/{p-2bafa257.entry.js → p-f358610a.entry.js} +1 -1
- package/dist/webcomponents/{p-C6wS5-M7.js → p-sassRpOu.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/docs/entities/businessdetails/index.mdx +50 -70
- package/docs/entities/businessform/index.mdx +13 -18
- package/docs/entities/payment-provisioning/index.mdx +8 -16
- package/docs/helpers/PartsTable.jsx +29 -0
- package/docs/helpers/PropsTable.jsx +35 -0
- package/docs/merchant-tools/checkouts-list/index.mdx +49 -63
- package/docs/merchant-tools/gross-payments-chart/index.mdx +16 -18
- package/docs/merchant-tools/order-terminals/index.mdx +12 -16
- package/docs/merchant-tools/payment-details/index.mdx +13 -15
- package/docs/merchant-tools/payment-transactions-list/index.mdx +12 -16
- package/docs/merchant-tools/payments-list/index.mdx +12 -18
- package/docs/merchant-tools/payout-details/index.mdx +46 -56
- package/docs/merchant-tools/payout-transactions-list/index.mdx +12 -16
- package/docs/merchant-tools/payouts-list/index.mdx +12 -18
- package/docs/merchant-tools/terminal-orders-list/index.mdx +12 -16
- package/docs/merchant-tools/terminals-list/index.mdx +12 -16
- package/docs/modular-checkout/index.mdx +0 -5
- package/docs/modular-checkout/introduction/index.mdx +12 -14
- package/docs/modular-checkout/sub-components/apple-pay.mdx +27 -21
- package/docs/modular-checkout/sub-components/bank-account-form.mdx +51 -50
- package/docs/modular-checkout/sub-components/card-form.mdx +50 -53
- package/docs/modular-checkout/sub-components/payment-method-options.mdx +12 -14
- package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +33 -54
- package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +56 -54
- package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +21 -23
- package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +104 -108
- package/docs/modular-checkout/sub-components/summary.mdx +13 -13
- package/docs/payment-facilitation/dispute-management/index.mdx +12 -16
- package/docs/payment-facilitation/refund-payment/index.mdx +22 -14
- package/docs/payment-facilitation/tokenize-payment-method/index.mdx +28 -44
- package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +103 -122
- package/package.json +1 -1
- package/dist/webcomponents/p-04ed045b.entry.js +0 -1
- package/dist/webcomponents/p-3101565c.entry.js +0 -1
- package/dist/webcomponents/p-8c07d9f0.entry.js +0 -1
- package/dist/webcomponents/p-9efd1bce.entry.js +0 -1
- package/dist/webcomponents/p-DEhd71m_.js +0 -1
- package/docs/helpers/PartsTable.js +0 -50
- package/docs/helpers/PartsTable.ts +0 -55
- package/docs/helpers/PropsTable.js +0 -56
- package/docs/helpers/PropsTable.ts +0 -63
- package/docs/helpers/index.js +0 -4
- package/docs/helpers/version.ts +0 -32
- package/docs/modular-checkout/docs/index.mdx +0 -32
- package/docs/modular-checkout/example/index.mdx +0 -25
|
@@ -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
|
+
/>
|
|
@@ -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,7 +5,11 @@ description: Detailed view for a single payment, including customer data, timeli
|
|
|
5
5
|
sidebar_position: 30
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
PropsTable,
|
|
10
|
+
PartsTable,
|
|
11
|
+
getWebcomponentsVersion,
|
|
12
|
+
} from '@justifi/webcomponents/docs/helpers';
|
|
9
13
|
|
|
10
14
|
## Overview
|
|
11
15
|
|
|
@@ -66,7 +70,8 @@ Component to display detailed information about a specific payment.
|
|
|
66
70
|
|
|
67
71
|
## Props, Events & Methods
|
|
68
72
|
|
|
69
|
-
<
|
|
73
|
+
<PropsTable
|
|
74
|
+
rows={[
|
|
70
75
|
{
|
|
71
76
|
name: 'account-id',
|
|
72
77
|
type: 'string',
|
|
@@ -91,7 +96,8 @@ Component to display detailed information about a specific payment.
|
|
|
91
96
|
defaultValue: 'true',
|
|
92
97
|
description: 'Hide when you only need a read-only audit surface.',
|
|
93
98
|
},
|
|
94
|
-
]
|
|
99
|
+
]}
|
|
100
|
+
/>
|
|
95
101
|
|
|
96
102
|
### Events
|
|
97
103
|
|
|
@@ -104,7 +110,8 @@ Component to display detailed information about a specific payment.
|
|
|
104
110
|
|
|
105
111
|
## Theming & Layout
|
|
106
112
|
|
|
107
|
-
<
|
|
113
|
+
<PartsTable
|
|
114
|
+
parts={[
|
|
108
115
|
{
|
|
109
116
|
name: 'font-family',
|
|
110
117
|
description: 'Controls the font family for the component.',
|
|
@@ -117,14 +124,5 @@ Component to display detailed information about a specific payment.
|
|
|
117
124
|
name: 'background-color',
|
|
118
125
|
description: 'Controls the background color.',
|
|
119
126
|
},
|
|
120
|
-
]
|
|
121
|
-
|
|
122
|
-
## Static examples
|
|
123
|
-
|
|
124
|
-
### Hook into refund events
|
|
125
|
-
|
|
126
|
-
<pre><code className="language-js">{`const details = document.querySelector('justifi-payment-details');
|
|
127
|
-
|
|
128
|
-
details.addEventListener('refund-requested', ({ detail }) => {
|
|
129
|
-
console.log('Starting refund flow for payment', detail.payment_id);
|
|
130
|
-
});`}</code></pre>
|
|
127
|
+
]}
|
|
128
|
+
/>
|
|
@@ -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
|
+
/>
|
|
@@ -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
|
+
/>
|
|
@@ -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>
|
|
@@ -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
|
+
/>
|
|
@@ -13,15 +13,18 @@ Component to render a formated list of payouts for the requested account.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-payouts-list
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_reporting"
|
|
19
20
|
columns="created_at,amount,destination,status"
|
|
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 render a formated list of payouts for the requested account.
|
|
|
46
49
|
defaultValue: 'UTC',
|
|
47
50
|
description: 'Controls formatting for timestamps.',
|
|
48
51
|
},
|
|
49
|
-
]
|
|
52
|
+
]}
|
|
53
|
+
/>
|
|
50
54
|
|
|
51
55
|
### Events
|
|
52
56
|
|
|
@@ -58,7 +62,8 @@ Component to render a formated list of payouts for the requested account.
|
|
|
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.',
|
|
@@ -79,16 +84,5 @@ Component to render a formated list of payouts for the requested account.
|
|
|
79
84
|
name: 'button-disabled',
|
|
80
85
|
description: 'Disabled button styles.',
|
|
81
86
|
},
|
|
82
|
-
]
|
|
83
|
-
|
|
84
|
-
## Static examples
|
|
85
|
-
|
|
86
|
-
### Navigate to payout details
|
|
87
|
-
|
|
88
|
-
<pre><code className="language-js">{`const payouts = document.querySelector('justifi-payouts-list');
|
|
89
|
-
|
|
90
|
-
payouts.addEventListener('click-event', (event) => {
|
|
91
|
-
if (event.detail.name === 'row') {
|
|
92
|
-
router.push('/payouts/' + event.detail.payout_id);
|
|
93
|
-
}
|
|
94
|
-
});`}</code></pre>
|
|
87
|
+
]}
|
|
88
|
+
/>
|
|
@@ -13,14 +13,17 @@ Component to render a formated list of terminal device orders for the requested
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-terminal-orders-list
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_terminals"
|
|
19
|
-
/>`}</code
|
|
20
|
+
/>`}</code>
|
|
21
|
+
</pre>
|
|
20
22
|
|
|
21
23
|
## Props, Events & Methods
|
|
22
24
|
|
|
23
|
-
<
|
|
25
|
+
<PropsTable
|
|
26
|
+
rows={[
|
|
24
27
|
{
|
|
25
28
|
name: 'account-id',
|
|
26
29
|
type: 'string',
|
|
@@ -39,7 +42,8 @@ Component to render a formated list of terminal device orders for the requested
|
|
|
39
42
|
defaultValue: 'created_at,order_number,items,status,tracking_number',
|
|
40
43
|
description: 'Customize visible columns.',
|
|
41
44
|
},
|
|
42
|
-
]
|
|
45
|
+
]}
|
|
46
|
+
/>
|
|
43
47
|
|
|
44
48
|
### Events
|
|
45
49
|
|
|
@@ -51,7 +55,8 @@ Component to render a formated list of terminal device orders for the requested
|
|
|
51
55
|
|
|
52
56
|
## Theming & Layout
|
|
53
57
|
|
|
54
|
-
<
|
|
58
|
+
<PartsTable
|
|
59
|
+
parts={[
|
|
55
60
|
{
|
|
56
61
|
name: 'font-family',
|
|
57
62
|
description: 'Controls the font family for the component.',
|
|
@@ -72,14 +77,5 @@ Component to render a formated list of terminal device orders for the requested
|
|
|
72
77
|
name: 'button-disabled',
|
|
73
78
|
description: 'Disabled button styles.',
|
|
74
79
|
},
|
|
75
|
-
]
|
|
76
|
-
|
|
77
|
-
## Static examples
|
|
78
|
-
|
|
79
|
-
### Navigate to order details
|
|
80
|
-
|
|
81
|
-
<pre><code className="language-js">{`const orders = document.querySelector('justifi-terminal-orders-list');
|
|
82
|
-
|
|
83
|
-
orders.addEventListener('click-event', ({ detail }) => {
|
|
84
|
-
if (detail.name === 'row') router.push('/terminals/orders/' + detail.order_id);
|
|
85
|
-
});`}</code></pre>
|
|
80
|
+
]}
|
|
81
|
+
/>
|
|
@@ -13,15 +13,18 @@ Component to render a formated list of terminals for the requested account.
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
<pre
|
|
16
|
+
<pre>
|
|
17
|
+
<code className="language-html">{`<justifi-terminals-list
|
|
17
18
|
account-id="acc_123"
|
|
18
19
|
auth-token="wct_terminals"
|
|
19
20
|
filters='{"status":"online"}'
|
|
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 render a formated list of terminals for the requested account.
|
|
|
46
49
|
defaultValue: 'name,status,location,last_check_in',
|
|
47
50
|
description: 'Customize visible columns.',
|
|
48
51
|
},
|
|
49
|
-
]
|
|
52
|
+
]}
|
|
53
|
+
/>
|
|
50
54
|
|
|
51
55
|
### Events
|
|
52
56
|
|
|
@@ -59,7 +63,8 @@ Component to render a formated list of terminals for the requested account.
|
|
|
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.',
|
|
@@ -80,14 +85,5 @@ Component to render a formated list of terminals for the requested account.
|
|
|
80
85
|
name: 'button-disabled',
|
|
81
86
|
description: 'Disabled button styles.',
|
|
82
87
|
},
|
|
83
|
-
]
|
|
84
|
-
|
|
85
|
-
## Static examples
|
|
86
|
-
|
|
87
|
-
### Open device detail
|
|
88
|
-
|
|
89
|
-
<pre><code className="language-js">{`const terminals = document.querySelector('justifi-terminals-list');
|
|
90
|
-
|
|
91
|
-
terminals.addEventListener('click-event', ({ detail }) => {
|
|
92
|
-
router.push('/terminals/' + detail.terminal_id);
|
|
93
|
-
});`}</code></pre>
|
|
88
|
+
]}
|
|
89
|
+
/>
|
|
@@ -10,10 +10,6 @@ the journey:
|
|
|
10
10
|
|
|
11
11
|
- [Introduction](./introduction/index) for architecture, props, events, and
|
|
12
12
|
theming guidance.
|
|
13
|
-
- [Docs](./docs/index) when you are authoring or updating technical reference
|
|
14
|
-
material for new sub-components.
|
|
15
|
-
- [Example](./example/index) for a single-file snippet that you can paste into
|
|
16
|
-
a sandbox or CMS.
|
|
17
13
|
- [Complete Examples](./complete-examples/index) for Storybook layouts that
|
|
18
14
|
demonstrate multi-step funnels.
|
|
19
15
|
- [Sub-components](./sub-components/index) for deep dives on each child element
|
|
@@ -22,4 +18,3 @@ the journey:
|
|
|
22
18
|
> Ship custom layouts fast: combine `[sub-components](./sub-components/index)`
|
|
23
19
|
> with the patterns in `[Example](./example/index)` so you can validate UX
|
|
24
20
|
> decisions before plumbing real data.
|
|
25
|
-
|