@socotra/ec-react-components 2.6.1 → 2.6.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -8
- package/dist/index.es.js +10 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare type Props = {
|
|
|
71
71
|
/**
|
|
72
72
|
* The custom data types for the configuration that may be referenced by the account's data model
|
|
73
73
|
*/
|
|
74
|
-
dataTypes
|
|
74
|
+
dataTypes?: DataTypeConfigRecord;
|
|
75
75
|
advancedOptions?: {
|
|
76
76
|
/**
|
|
77
77
|
* The auto renewal plans for the account
|
|
@@ -154,7 +154,7 @@ declare type Props_2 = {
|
|
|
154
154
|
/**
|
|
155
155
|
* The custom data types for the configuration that may be referenced by the elementModel
|
|
156
156
|
*/
|
|
157
|
-
dataTypes
|
|
157
|
+
dataTypes?: DataTypeConfigRecord;
|
|
158
158
|
/**
|
|
159
159
|
* The function to call when the form is submitted. It will create an QuoteRequest from the form data.
|
|
160
160
|
*/
|
|
@@ -213,11 +213,11 @@ declare type Props_3 = {
|
|
|
213
213
|
/**
|
|
214
214
|
* The custom data types for the configuration that may be referenced by the elementModel
|
|
215
215
|
*/
|
|
216
|
-
dataTypes
|
|
216
|
+
dataTypes?: DataTypeConfigRecord;
|
|
217
217
|
/**
|
|
218
218
|
* The coverage terms configuration that may be referenced by the elementModel
|
|
219
219
|
*/
|
|
220
|
-
coverageTerms
|
|
220
|
+
coverageTerms?: CoverageTermsConfigRecord;
|
|
221
221
|
/**
|
|
222
222
|
* The function to call when the form is submitted. It will create an ElementUpdateRequest.
|
|
223
223
|
*/
|
|
@@ -306,11 +306,11 @@ declare type Props_5 = {
|
|
|
306
306
|
/**
|
|
307
307
|
* The coverage terms for the transaction, taken from the tenant data model
|
|
308
308
|
*/
|
|
309
|
-
coverageTerms
|
|
309
|
+
coverageTerms?: CoverageTermsConfigRecord;
|
|
310
310
|
/**
|
|
311
311
|
* The custom data types for the configuration that may be referenced by the elementModel
|
|
312
312
|
*/
|
|
313
|
-
dataTypes
|
|
313
|
+
dataTypes?: DataTypeConfigRecord;
|
|
314
314
|
/**
|
|
315
315
|
* The function to call when the form is submitted. It will create an `ElementRequest` from the form data.
|
|
316
316
|
*/
|
|
@@ -373,11 +373,11 @@ declare type Props_6 = {
|
|
|
373
373
|
/**
|
|
374
374
|
* The coverage terms for the transaction, taken from the tenant data model
|
|
375
375
|
*/
|
|
376
|
-
coverageTerms
|
|
376
|
+
coverageTerms?: CoverageTermsConfigRecord;
|
|
377
377
|
/**
|
|
378
378
|
* The custom data types for the configuration that may be referenced by the elementModel
|
|
379
379
|
*/
|
|
380
|
-
dataTypes
|
|
380
|
+
dataTypes?: DataTypeConfigRecord;
|
|
381
381
|
/**
|
|
382
382
|
* The function to call when the form is submitted. It will create an array of `ParamsChangeInstructionCreateRequest` and `ModifyChangeInstructionCreateRequest` from the form data.
|
|
383
383
|
*/
|
package/dist/index.es.js
CHANGED
|
@@ -17780,13 +17780,13 @@ const Qne = u.object({
|
|
|
17780
17780
|
}), Iae = u.record(Cae);
|
|
17781
17781
|
u.object({
|
|
17782
17782
|
// Root level
|
|
17783
|
-
dataTypes: ps,
|
|
17783
|
+
dataTypes: ps.optional(),
|
|
17784
17784
|
accounts: eae,
|
|
17785
17785
|
products: vae,
|
|
17786
|
-
coverageTerms: cae,
|
|
17786
|
+
coverageTerms: cae.optional(),
|
|
17787
17787
|
delinquencyPlans: pae,
|
|
17788
17788
|
autoRenewalPlans: rae,
|
|
17789
|
-
transactionTypes: Iae,
|
|
17789
|
+
transactionTypes: Iae.optional(),
|
|
17790
17790
|
reversalTypes: _ae.optional(),
|
|
17791
17791
|
dataAccessControl: u.any().optional(),
|
|
17792
17792
|
bootstrap: oae.optional(),
|
|
@@ -18144,7 +18144,7 @@ u.object({
|
|
|
18144
18144
|
duration: u.number(),
|
|
18145
18145
|
durationBasis: ev,
|
|
18146
18146
|
termNumber: u.number().int(),
|
|
18147
|
-
subsegments: kae.array(),
|
|
18147
|
+
subsegments: kae.array().optional(),
|
|
18148
18148
|
documentSummary: I$.array().optional()
|
|
18149
18149
|
});
|
|
18150
18150
|
const Fae = u.object({
|
|
@@ -18582,7 +18582,7 @@ const pi = (e) => {
|
|
|
18582
18582
|
coverageTermOptions: e,
|
|
18583
18583
|
coverageTermDataModel: t
|
|
18584
18584
|
}) => {
|
|
18585
|
-
if (!Object.keys(e ?? {}).length) return {};
|
|
18585
|
+
if (!Object.keys(e ?? {}).length || !t) return {};
|
|
18586
18586
|
const r = structuredClone(e) ?? {}, n = t;
|
|
18587
18587
|
return Object.keys(n).forEach((a) => {
|
|
18588
18588
|
r[a] || Object.keys(
|
|
@@ -19950,13 +19950,13 @@ const oie = u.object({
|
|
|
19950
19950
|
}), Pie = u.record(Sie);
|
|
19951
19951
|
u.object({
|
|
19952
19952
|
// Root level
|
|
19953
|
-
dataTypes: hs,
|
|
19953
|
+
dataTypes: hs.optional(),
|
|
19954
19954
|
accounts: sie,
|
|
19955
19955
|
products: wie,
|
|
19956
|
-
coverageTerms: gie,
|
|
19956
|
+
coverageTerms: gie.optional(),
|
|
19957
19957
|
delinquencyPlans: _ie,
|
|
19958
19958
|
autoRenewalPlans: cie,
|
|
19959
|
-
transactionTypes: Pie,
|
|
19959
|
+
transactionTypes: Pie.optional(),
|
|
19960
19960
|
reversalTypes: Tie.optional(),
|
|
19961
19961
|
dataAccessControl: u.any().optional(),
|
|
19962
19962
|
bootstrap: pie.optional(),
|
|
@@ -20315,7 +20315,7 @@ u.object({
|
|
|
20315
20315
|
duration: u.number(),
|
|
20316
20316
|
durationBasis: uv,
|
|
20317
20317
|
termNumber: u.number().int(),
|
|
20318
|
-
subsegments: Zie.array(),
|
|
20318
|
+
subsegments: Zie.array().optional(),
|
|
20319
20319
|
documentSummary: R$.array().optional()
|
|
20320
20320
|
});
|
|
20321
20321
|
const Hie = u.object({
|
|
@@ -29173,7 +29173,7 @@ const Td = (e, t, r) => {
|
|
|
29173
29173
|
};
|
|
29174
29174
|
return e.forEach((a) => {
|
|
29175
29175
|
const o = Jae(a).name;
|
|
29176
|
-
if (!t[o])
|
|
29176
|
+
if (!t || !t[o])
|
|
29177
29177
|
return;
|
|
29178
29178
|
const c = t[o], l = c.options, d = {
|
|
29179
29179
|
type: "string",
|