@justifi/webcomponents 4.19.0 → 4.19.1-rc-3
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-ff013cbc.js → Analytics-1ca4e47e.js} +2 -3
- package/dist/cjs/{business.service-f63650f5.js → business.service-6bb7ac82.js} +5 -6
- package/dist/cjs/{get-payout-csv-f3aee6d0.js → get-payout-csv-1391ff3e.js} +3 -4
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +7 -8
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +4 -5
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +11 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +1 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -5
- package/dist/cjs/{package-cb0f8cb1.js → package-bc2632e4.js} +2 -4
- package/dist/cjs/{payment.service-0a64f9cd.js → payment.service-dfcfa19b.js} +2 -3
- package/dist/collection/api/services/analytics.service.js +1 -2
- package/dist/collection/api/services/business.service.js +5 -6
- package/dist/collection/api/services/checkout.service.js +2 -3
- package/dist/collection/api/services/insurance.service.js +2 -3
- package/dist/collection/api/services/payment.service.js +2 -3
- package/dist/collection/api/services/payout.service.js +3 -4
- package/dist/collection/api/services/provision.service.js +2 -4
- package/dist/collection/api/services/reports.service.js +1 -2
- package/dist/collection/components/bank-account-form/bank-account-form.js +3 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
- package/dist/collection/components/card-form/card-form.js +3 -4
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/checkout/new-payment-method.js +6 -4
- package/dist/collection/components/checkout/payment-method-options.js +3 -4
- package/dist/collection/components/checkout/saved-payment-method.js +3 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +3 -4
- package/dist/collection/components/payment-form/payment-form.js +3 -4
- package/dist/collection/components/refund-form/refund-form.js +2 -3
- package/dist/docs.json +8 -8
- package/dist/esm/{Analytics-33b8fa8d.js → Analytics-c51439be.js} +2 -3
- package/dist/esm/{business.service-74bd1212.js → business.service-f45decfc.js} +5 -6
- package/dist/esm/{get-payout-csv-b494abfe.js → get-payout-csv-e784a2ab.js} +3 -4
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +7 -8
- package/dist/esm/justifi-bank-account-form.entry.js +4 -5
- package/dist/esm/justifi-business-details.entry.js +3 -4
- package/dist/esm/justifi-business-form.entry.js +4 -5
- package/dist/esm/justifi-card-form.entry.js +4 -5
- package/dist/esm/justifi-checkout-core.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +4 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +11 -9
- package/dist/esm/justifi-owner-form_3.entry.js +1 -2
- package/dist/esm/justifi-payment-details.entry.js +3 -4
- package/dist/esm/justifi-payment-form.entry.js +5 -6
- package/dist/esm/justifi-payment-method-form.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
- package/dist/esm/justifi-payments-list.entry.js +3 -4
- package/dist/esm/justifi-payout-details.entry.js +3 -4
- package/dist/esm/justifi-payouts-list.entry.js +3 -4
- package/dist/esm/justifi-refund-form.entry.js +2 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
- package/dist/esm/{package-3e407c6d.js → package-09a354e0.js} +2 -4
- package/dist/esm/{payment.service-3ca4a492.js → payment.service-dad5153b.js} +2 -3
- package/dist/globals.d.ts +2 -0
- package/dist/module/Analytics.js +1 -2
- package/dist/module/business-bank-account-form-step.js +2 -3
- package/dist/module/business-document-upload-form-step.js +2 -3
- package/dist/module/business-terms-conditions-form-step.js +2 -3
- package/dist/module/business.service.js +5 -6
- package/dist/module/checkout-core.js +3 -3
- package/dist/module/get-payout-csv.js +3 -4
- package/dist/module/justifi-bank-account-form.js +2 -3
- package/dist/module/justifi-business-form.js +2 -3
- package/dist/module/justifi-card-form.js +2 -3
- package/dist/module/justifi-checkout.js +2 -3
- package/dist/module/justifi-gross-payment-chart.js +1 -2
- package/dist/module/justifi-payment-form.js +3 -4
- package/dist/module/justifi-payment-provisioning.js +2 -3
- package/dist/module/justifi-refund-form.js +2 -3
- package/dist/module/justifi-season-interruption-insurance.js +2 -3
- package/dist/module/new-payment-method.js +5 -3
- package/dist/module/package.js +2 -4
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment.service.js +2 -3
- package/dist/module/saved-payment-method.js +2 -3
- package/dist/module/sezzle-payment-method.js +2 -3
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +1 -0
- package/dist/webcomponents/p-01a404ca.entry.js +44 -0
- package/dist/webcomponents/p-03d35880.entry.js +130 -0
- package/dist/webcomponents/p-06ff0429.entry.js +65 -0
- package/dist/webcomponents/p-08b0fb31.js +41 -1
- package/dist/webcomponents/p-14c91ffd.js +20 -1
- package/dist/webcomponents/p-1a17ea7d.entry.js +1684 -0
- package/dist/webcomponents/p-1ad5995e.js +3599 -1
- package/dist/webcomponents/p-1ff8810b.js +29 -1
- package/dist/webcomponents/p-21aeb013.entry.js +80 -0
- package/dist/webcomponents/p-2338affa.js +213 -1
- package/dist/webcomponents/p-258b1ee2.entry.js +149 -0
- package/dist/webcomponents/p-25d8cd65.entry.js +102 -0
- package/dist/webcomponents/p-29c0b182.js +114 -1
- package/dist/webcomponents/p-2b6c9c4f.js +7 -1
- package/dist/webcomponents/p-2dabeb5a.js +79 -0
- package/dist/webcomponents/p-2eab3c90.js +3052 -1
- package/dist/webcomponents/p-33272d05.entry.js +94 -0
- package/dist/webcomponents/p-3642ad71.entry.js +145 -0
- package/dist/webcomponents/p-387450f6.js +77 -0
- package/dist/webcomponents/p-3e9ef4a8.js +28 -0
- package/dist/webcomponents/p-3fd13ca3.js +52 -1
- package/dist/webcomponents/p-41bc7c5c.entry.js +97 -0
- package/dist/webcomponents/p-4d8b45c6.entry.js +98 -0
- package/dist/webcomponents/p-525db3e8.js +22 -1
- package/dist/webcomponents/p-5482d030.entry.js +21 -0
- package/dist/webcomponents/p-56f6ce4c.js +10 -1
- package/dist/webcomponents/p-576826b1.entry.js +43 -0
- package/dist/webcomponents/p-5968ff8a.js +178 -1
- package/dist/webcomponents/p-5bd7b204.entry.js +75 -0
- package/dist/webcomponents/p-5cb3f0b2.entry.js +261 -0
- package/dist/webcomponents/p-5e70442b.entry.js +74 -0
- package/dist/webcomponents/p-5f835b89.entry.js +606 -0
- package/dist/webcomponents/p-6078a370.js +244 -1
- package/dist/webcomponents/p-68843186.entry.js +73 -0
- package/dist/webcomponents/p-70a2aa74.entry.js +76 -0
- package/dist/webcomponents/p-7582b554.entry.js +18 -0
- package/dist/webcomponents/p-79646550.entry.js +61 -0
- package/dist/webcomponents/p-7c76e67c.entry.js +117 -0
- package/dist/webcomponents/p-7d85af5c.js +16 -1
- package/dist/webcomponents/p-800d31fe.entry.js +162 -0
- package/dist/webcomponents/p-8115b2f4.js +28 -1
- package/dist/webcomponents/p-83125497.js +4027 -1
- package/dist/webcomponents/p-85fc69e5.js +90 -1
- package/dist/webcomponents/p-890088fc.entry.js +298 -0
- package/dist/webcomponents/p-89887332.js +301 -1
- package/dist/webcomponents/p-8df7bde8.js +27 -1
- package/dist/webcomponents/p-8eb774df.entry.js +54 -0
- package/dist/webcomponents/p-9c9c7dac.js +24 -1
- package/dist/webcomponents/p-9f94bbb6.entry.js +118 -0
- package/dist/webcomponents/p-a5a225d9.entry.js +125 -0
- package/dist/webcomponents/p-a5c5821e.entry.js +101 -0
- package/dist/webcomponents/p-a5fb51dc.entry.js +131 -0
- package/dist/webcomponents/p-a6d04afc.js +44 -0
- package/dist/webcomponents/p-ac086069.entry.js +58 -0
- package/dist/webcomponents/p-af244664.js +126 -1
- package/dist/webcomponents/p-b82c146f.entry.js +111 -0
- package/dist/webcomponents/p-b8a03a4b.entry.js +131 -0
- package/dist/webcomponents/p-ba4bae6f.js +12 -1
- package/dist/webcomponents/p-ba5fae28.js +90 -1
- package/dist/webcomponents/p-c636f563.entry.js +791 -0
- package/dist/webcomponents/p-c86c24d2.entry.js +94 -0
- package/dist/webcomponents/p-cb26f708.js +18 -0
- package/dist/webcomponents/p-ce733539.entry.js +99 -0
- package/dist/webcomponents/p-d17aee2b.entry.js +26 -0
- package/dist/webcomponents/p-d5095f6c.entry.js +133 -0
- package/dist/webcomponents/p-d89bad72.js +39 -1
- package/dist/webcomponents/p-dce846bf.js +27 -1
- package/dist/webcomponents/p-df21aaad.js +120 -1
- package/dist/webcomponents/p-e1255160.js +3 -1
- package/dist/webcomponents/p-e333620e.js +34 -1
- package/dist/webcomponents/p-e356f280.entry.js +29 -0
- package/dist/webcomponents/p-e3fab0e2.js +43 -1
- package/dist/webcomponents/p-ec854a3e.entry.js +11053 -0
- package/dist/webcomponents/p-f02b75dc.entry.js +96 -0
- package/dist/webcomponents/p-fad19d75.js +1638 -2
- package/dist/webcomponents/webcomponents.css +362 -4
- package/dist/webcomponents/webcomponents.esm.js +20 -1
- package/package.json +2 -4
- package/dist/cjs/config-ff2dda66.js +0 -15
- package/dist/config.js +0 -11
- package/dist/esm/config-476c7241.js +0 -13
- package/dist/module/config.js +0 -13
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
- package/dist/webcomponents/p-07109641.entry.js +0 -1
- package/dist/webcomponents/p-0f7b9555.entry.js +0 -1
- package/dist/webcomponents/p-17e4246f.entry.js +0 -1
- package/dist/webcomponents/p-195f92e9.entry.js +0 -1
- package/dist/webcomponents/p-1a43e355.entry.js +0 -19
- package/dist/webcomponents/p-23014988.entry.js +0 -1
- package/dist/webcomponents/p-25dba252.entry.js +0 -1
- package/dist/webcomponents/p-27981600.entry.js +0 -1
- package/dist/webcomponents/p-301e0493.entry.js +0 -1
- package/dist/webcomponents/p-304dd644.entry.js +0 -1
- package/dist/webcomponents/p-30a493cd.entry.js +0 -1
- package/dist/webcomponents/p-462dc522.entry.js +0 -1
- package/dist/webcomponents/p-487b72a8.entry.js +0 -1
- package/dist/webcomponents/p-4abc17f0.entry.js +0 -1
- package/dist/webcomponents/p-4b4580dd.js +0 -1
- package/dist/webcomponents/p-52021fa1.entry.js +0 -1
- package/dist/webcomponents/p-53e64f15.entry.js +0 -1
- package/dist/webcomponents/p-60a370fc.entry.js +0 -1
- package/dist/webcomponents/p-623a4479.entry.js +0 -1
- package/dist/webcomponents/p-62b32c4c.entry.js +0 -1
- package/dist/webcomponents/p-63acf322.js +0 -1
- package/dist/webcomponents/p-6f03b35a.entry.js +0 -1
- package/dist/webcomponents/p-75b4daef.js +0 -1
- package/dist/webcomponents/p-8603348a.js +0 -1
- package/dist/webcomponents/p-8c1e981b.entry.js +0 -1
- package/dist/webcomponents/p-8e541a32.entry.js +0 -1
- package/dist/webcomponents/p-9279aa49.entry.js +0 -1
- package/dist/webcomponents/p-96b42e7d.entry.js +0 -1
- package/dist/webcomponents/p-99022846.entry.js +0 -1
- package/dist/webcomponents/p-ae263544.js +0 -1
- package/dist/webcomponents/p-b16dfd5d.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bc92235c.entry.js +0 -1
- package/dist/webcomponents/p-be39c802.entry.js +0 -1
- package/dist/webcomponents/p-c4b87db2.entry.js +0 -1
- package/dist/webcomponents/p-c9f8f7ec.entry.js +0 -1
- package/dist/webcomponents/p-cd7105dd.entry.js +0 -1
- package/dist/webcomponents/p-d101c5db.js +0 -1
- package/dist/webcomponents/p-d1fbeae5.entry.js +0 -1
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-e2c88817.entry.js +0 -1
- package/dist/webcomponents/p-e31f0f3e.entry.js +0 -1
- package/dist/webcomponents/p-e7067ef2.entry.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
- package/dist/webcomponents/p-fb58feb5.entry.js +0 -1
- package/dist/webcomponents/p-fe33151d.entry.js +0 -1
|
@@ -1 +1,114 @@
|
|
|
1
|
-
|
|
1
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
2
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
3
|
+
// generators (like Math.random()).
|
|
4
|
+
let getRandomValues;
|
|
5
|
+
const rnds8 = new Uint8Array(16);
|
|
6
|
+
function rng() {
|
|
7
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
|
8
|
+
if (!getRandomValues) {
|
|
9
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
|
10
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
11
|
+
|
|
12
|
+
if (!getRandomValues) {
|
|
13
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return getRandomValues(rnds8);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
|
22
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
const byteToHex = [];
|
|
26
|
+
|
|
27
|
+
for (let i = 0; i < 256; ++i) {
|
|
28
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function unsafeStringify(arr, offset = 0) {
|
|
32
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
|
33
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
|
34
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
38
|
+
const native = {
|
|
39
|
+
randomUUID
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
function v4(options, buf, offset) {
|
|
43
|
+
if (native.randomUUID && !buf && !options) {
|
|
44
|
+
return native.randomUUID();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
options = options || {};
|
|
48
|
+
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
49
|
+
|
|
50
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
51
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
52
|
+
|
|
53
|
+
if (buf) {
|
|
54
|
+
offset = offset || 0;
|
|
55
|
+
|
|
56
|
+
for (let i = 0; i < 16; ++i) {
|
|
57
|
+
buf[offset + i] = rnds[i];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return buf;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return unsafeStringify(rnds);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const Api = ({ authToken, apiOrigin }) => {
|
|
67
|
+
async function getAuthorizationHeader() {
|
|
68
|
+
if (!authToken) {
|
|
69
|
+
return {
|
|
70
|
+
'Content-Type': 'application/json',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
Authorization: `Bearer ${authToken}`,
|
|
75
|
+
'Idempotency-Key': v4(),
|
|
76
|
+
'Content-Type': 'application/json',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
async function makeRequest(endpoint, method, params, body, signal) {
|
|
80
|
+
const url = `${apiOrigin}/v1/${endpoint}`;
|
|
81
|
+
const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
|
|
82
|
+
const response = await fetch(requestUrl, {
|
|
83
|
+
method: method,
|
|
84
|
+
headers: await getAuthorizationHeader(),
|
|
85
|
+
body: body,
|
|
86
|
+
signal: signal,
|
|
87
|
+
});
|
|
88
|
+
if (response) {
|
|
89
|
+
return response.status === 204 ? {} : response.json();
|
|
90
|
+
}
|
|
91
|
+
handleError(requestUrl);
|
|
92
|
+
}
|
|
93
|
+
async function get(endpoint, params, signal) {
|
|
94
|
+
return makeRequest(endpoint, 'GET', params, null, signal);
|
|
95
|
+
}
|
|
96
|
+
async function post(endpoint, body, params, signal) {
|
|
97
|
+
return makeRequest(endpoint, 'POST', params, body, signal);
|
|
98
|
+
}
|
|
99
|
+
async function put(endpoint, body, params, signal) {
|
|
100
|
+
return makeRequest(endpoint, 'PUT', params, body, signal);
|
|
101
|
+
}
|
|
102
|
+
async function patch(endpoint, body, params, signal) {
|
|
103
|
+
return makeRequest(endpoint, 'PATCH', params, body, signal);
|
|
104
|
+
}
|
|
105
|
+
async function destroy(endpoint, params, signal) {
|
|
106
|
+
return makeRequest(endpoint, 'DELETE', params, null, signal);
|
|
107
|
+
}
|
|
108
|
+
return { get, post, put, patch, destroy };
|
|
109
|
+
};
|
|
110
|
+
function handleError(requestUrl) {
|
|
111
|
+
console.error(`Error fetching from ${requestUrl}`);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export { Api as A };
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const tableExportedParts = `
|
|
2
|
+
table-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,
|
|
3
|
+
table-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,
|
|
4
|
+
empty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text
|
|
5
|
+
`;
|
|
6
|
+
|
|
7
|
+
export { tableExportedParts as t };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const name = "@justifi/webcomponents";
|
|
2
|
+
const version = "4.19.1-rc-3";
|
|
3
|
+
const description = "JustiFi Web Components";
|
|
4
|
+
const collection = "dist/collection/collection-manifest.json";
|
|
5
|
+
const main = "dist/index.cjs.js";
|
|
6
|
+
const module = "dist/module/index.js";
|
|
7
|
+
const types = "dist/module/index.d.ts";
|
|
8
|
+
const repository = {
|
|
9
|
+
type: "git",
|
|
10
|
+
url: "git+https://github.com/justifi-tech/web-component-library.git"
|
|
11
|
+
};
|
|
12
|
+
const homepage = "https://storybook.justifi.ai/?path=/docs/introduction--docs";
|
|
13
|
+
const publishConfig = {
|
|
14
|
+
registry: "https://registry.npmjs.org"
|
|
15
|
+
};
|
|
16
|
+
const files = [
|
|
17
|
+
"dist/"
|
|
18
|
+
];
|
|
19
|
+
const scripts = {
|
|
20
|
+
build: "stencil build --docs",
|
|
21
|
+
dev: "stencil build --watch",
|
|
22
|
+
lint: "eslint . --max-warnings 0",
|
|
23
|
+
clean: "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
24
|
+
generate: "stencil generate",
|
|
25
|
+
test: "TZ=utc stencil test --spec",
|
|
26
|
+
"test:watch": "TZ=utc stencil test --spec --watchAll",
|
|
27
|
+
"test:file": "stencil test --spec --watch --"
|
|
28
|
+
};
|
|
29
|
+
const dependencies = {
|
|
30
|
+
"@stencil/core": "^4.0.5",
|
|
31
|
+
"@stencil/store": "^2.0.8",
|
|
32
|
+
bootstrap: "^5.2.3",
|
|
33
|
+
"chart.js": "^4.4.1",
|
|
34
|
+
"date-fns": "^2.29.3",
|
|
35
|
+
"dinero.js": "^1.9.1",
|
|
36
|
+
"iframe-resizer": "^4.3.7",
|
|
37
|
+
imask: "^7.6.0",
|
|
38
|
+
rxjs: "^7.8.1",
|
|
39
|
+
"ts-dedent": "^2.2.0",
|
|
40
|
+
uuid: "^9.0.0",
|
|
41
|
+
yup: "^1.0.0"
|
|
42
|
+
};
|
|
43
|
+
const devDependencies = {
|
|
44
|
+
"@babel/preset-env": "^7.21.5",
|
|
45
|
+
"@babel/preset-react": "^7.18.6",
|
|
46
|
+
"@babel/preset-typescript": "^7.21.5",
|
|
47
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
48
|
+
"@stencil/sass": "^3.0.1",
|
|
49
|
+
"@types/jest": "27.0.3",
|
|
50
|
+
"@types/react": "^18.0.37",
|
|
51
|
+
"@types/react-dom": "^18.0.11",
|
|
52
|
+
dotenv: "^16.3.1",
|
|
53
|
+
jest: "^29.7.0",
|
|
54
|
+
"jest-cli": "^29.7.0",
|
|
55
|
+
"jest-environment-node": "^29.7.0",
|
|
56
|
+
"ts-jest": "^29.1.2"
|
|
57
|
+
};
|
|
58
|
+
const license = "MIT";
|
|
59
|
+
const gitHead = "507bac1d941eae6e1f56e185ecd9bc9d22637783";
|
|
60
|
+
const packageJson = {
|
|
61
|
+
name: name,
|
|
62
|
+
version: version,
|
|
63
|
+
description: description,
|
|
64
|
+
collection: collection,
|
|
65
|
+
main: main,
|
|
66
|
+
module: module,
|
|
67
|
+
types: types,
|
|
68
|
+
repository: repository,
|
|
69
|
+
homepage: homepage,
|
|
70
|
+
publishConfig: publishConfig,
|
|
71
|
+
files: files,
|
|
72
|
+
scripts: scripts,
|
|
73
|
+
dependencies: dependencies,
|
|
74
|
+
devDependencies: devDependencies,
|
|
75
|
+
license: license,
|
|
76
|
+
gitHead: gitHead
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { packageJson as p };
|