@tellescope/react-components 1.162.0 → 1.164.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/lib/cjs/Forms/inputs.d.ts +2 -1
- package/lib/cjs/Forms/inputs.d.ts.map +1 -1
- package/lib/cjs/Forms/inputs.js +23 -7
- package/lib/cjs/Forms/inputs.js.map +1 -1
- package/lib/cjs/inputs.js +1 -1
- package/lib/cjs/inputs.js.map +1 -1
- package/lib/cjs/state.d.ts +115 -0
- package/lib/cjs/state.d.ts.map +1 -1
- package/lib/cjs/state.js +19 -3
- package/lib/cjs/state.js.map +1 -1
- package/lib/esm/Forms/inputs.d.ts +2 -1
- package/lib/esm/Forms/inputs.d.ts.map +1 -1
- package/lib/esm/Forms/inputs.js +21 -6
- package/lib/esm/Forms/inputs.js.map +1 -1
- package/lib/esm/inputs.js +1 -1
- package/lib/esm/inputs.js.map +1 -1
- package/lib/esm/inputs.native.d.ts +0 -1
- package/lib/esm/inputs.native.d.ts.map +1 -1
- package/lib/esm/state.d.ts +119 -4
- package/lib/esm/state.d.ts.map +1 -1
- package/lib/esm/state.js +15 -0
- package/lib/esm/state.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/Forms/inputs.tsx +43 -4
- package/src/inputs.tsx +1 -1
- package/src/state.tsx +22 -0
|
@@ -33,6 +33,7 @@ export declare const NumberInput: ({ field, value, onChange, form, ...props }: F
|
|
|
33
33
|
export declare const InsuranceInput: ({ field, value, onChange, form, responses, enduser, ...props }: FormInputProps<'Insurance'>) => JSX.Element;
|
|
34
34
|
export declare const TimeInput: ({ field, value, onChange, ...props }: FormInputProps<'string'>) => JSX.Element;
|
|
35
35
|
export declare const AddressInput: ({ field, form, value, onChange, ...props }: FormInputProps<'Address'>) => JSX.Element;
|
|
36
|
+
export declare const ESignatureTerms: () => JSX.Element;
|
|
36
37
|
export declare const SignatureInput: ({ value, field, autoFocus, enduser, onChange }: FormInputProps<'signature'>) => JSX.Element;
|
|
37
38
|
export declare function convertHEIC(file: FileBlob | string): Promise<string>;
|
|
38
39
|
export declare const FileInput: ({ value, onChange, field, existingFileName }: FormInputProps<"file"> & {
|
|
@@ -60,7 +61,7 @@ export declare const contact_is_valid: (e: Partial<Enduser>) => "Email is invali
|
|
|
60
61
|
export declare const RelatedContactsInput: ({ field, value: _value, onChange, ...props }: FormInputProps<'Related Contacts'>) => JSX.Element;
|
|
61
62
|
export declare const AppointmentBookingInput: ({ formResponseId, field, value, onChange, form, responses, goToPreviousField, isPreviousDisabled, enduserId, ...props }: FormInputProps<'Appointment Booking'>) => JSX.Element;
|
|
62
63
|
export declare const HeightInput: ({ field, value, onChange, ...props }: FormInputProps<'Height'>) => JSX.Element;
|
|
63
|
-
export declare const RedirectInput: ({ groupId, groupInsance, rootResponseId, formResponseId, field, submit, value, onChange, responses, enduser, ...props }: FormInputProps<'Redirect'>) => JSX.Element | null;
|
|
64
|
+
export declare const RedirectInput: ({ enduserId, groupId, groupInsance, rootResponseId, formResponseId, field, submit, value, onChange, responses, enduser, ...props }: FormInputProps<'Redirect'>) => JSX.Element | null;
|
|
64
65
|
export declare const HiddenValueInput: ({ goToNextField, goToPreviousField, field, value, onChange, form, isSinglePage, }: FormInputProps<'email'>) => JSX.Element;
|
|
65
66
|
export declare const EmotiiInput: ({ goToNextField, goToPreviousField, field, value, onChange, form, formResponseId, ...props }: FormInputProps<'email'>) => JSX.Element;
|
|
66
67
|
export declare const AllergiesInput: ({ goToNextField, goToPreviousField, field, value, onChange, form, formResponseId, ...props }: FormInputProps<'Allergies'>) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../src/Forms/inputs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwE,MAAM,OAAO,CAAA;AAE5F,OAAO,EAAuJ,OAAO,EAAa,cAAc,EAAc,MAAM,eAAe,CAAA;AACnO,OAAO,EAAE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AkD,eAAe,kBAAkB,CAAC,gBAyKpH,CAAA;AAED,eAAO,MAAM,uBAAuB,4HAA6H,eAAe,qBAAqB,CAAC,gBA8NrM,CAAA;AAED,eAAO,MAAM,WAAW,yCAAoD,eAAe,QAAQ,CAAC,gBAenG,CAAA;AAED,eAAO,MAAM,aAAa,uIAAkJ,eAAe,UAAU,CAAC,uBAkGrM,CAAA;AAED,eAAO,MAAM,gBAAgB,sFAAuF,eAAe,OAAO,CAAC,gBAiB1I,CAAA;AAED,eAAO,MAAM,WAAW,iGAAkG,eAAe,OAAO,CAAC,gBA8ChJ,CAAA;AAMD,eAAO,MAAM,cAAc,iGAAkG,eAAe,WAAW,CAAC,gBAqHvJ,CAAA;AAGD,eAAO,MAAM,eAAe,iGAAkG,eAAe,YAAY,CAAC,gBAsDzJ,CAAA"}
|
package/lib/esm/Forms/inputs.js
CHANGED
|
@@ -445,9 +445,23 @@ export var AddressInput = function (_a) {
|
|
|
445
445
|
return onChange(__assign(__assign({}, value), { zipPlusFour: (_a = e.target.value) !== null && _a !== void 0 ? _a : '' }), field.id);
|
|
446
446
|
} })) }))] })) }))] }))));
|
|
447
447
|
};
|
|
448
|
+
export var ESignatureTerms = function () {
|
|
449
|
+
var companyName = 'Tellescope';
|
|
450
|
+
try {
|
|
451
|
+
var indexOfName = window.location.href.indexOf('name=');
|
|
452
|
+
if (indexOfName !== -1) {
|
|
453
|
+
companyName = (decodeURIComponent(window.location.href.substring(indexOfName + 5))
|
|
454
|
+
|| companyName);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
catch (err) {
|
|
458
|
+
console.error(err);
|
|
459
|
+
}
|
|
460
|
+
return (_jsxs("div", __assign({ style: { paddingLeft: 10 } }, { children: [_jsxs("h1", { children: [companyName, " Electronic Signature Terms"] }), _jsxs("p", { children: ["By selecting the \"I consent to use electronic signatures\" checkbox, you are signing this Agreement electronically. You agree your electronic signature is the legal equivalent of your manual/handwritten signature on this Agreement. By selecting \"I consent to use electronic signatures\" using any device, means or action, you consent to the legally binding terms and conditions of this Agreement. You further agree that your signature on this document (hereafter referred to as your \"E-Signature\") is as valid as if you signed the document in writing. You also agree that no certification authority or other third party verification is necessary to validate your E-Signature, and that the lack of such certification or third party verification will not in any way affect the enforceability of your E-Signature or any resulting agreement between you and", companyName, " or between you and a customer of ", companyName, "."] })] })));
|
|
461
|
+
};
|
|
448
462
|
export var SignatureInput = function (_a) {
|
|
449
|
-
var _b, _d, _e, _f;
|
|
450
|
-
var value = _a.value, field = _a.field,
|
|
463
|
+
var _b, _d, _e, _f, _g;
|
|
464
|
+
var value = _a.value, field = _a.field, _h = _a.autoFocus, autoFocus = _h === void 0 ? true : _h, enduser = _a.enduser, onChange = _a.onChange;
|
|
451
465
|
var prefill = (((_b = field.options) === null || _b === void 0 ? void 0 : _b.prefillSignature) && (enduser === null || enduser === void 0 ? void 0 : enduser.fname) && enduser.lname
|
|
452
466
|
? "".concat(enduser.fname, " ").concat(enduser.lname)
|
|
453
467
|
: undefined);
|
|
@@ -477,7 +491,7 @@ export var SignatureInput = function (_a) {
|
|
|
477
491
|
height: 400,
|
|
478
492
|
width: '100%',
|
|
479
493
|
marginBottom: '5px'
|
|
480
|
-
} }), _jsx("a", __assign({ href: field.options.signatureUrl, target: "_blank", rel: "noopener noreferrer" }, { children: "View document in new tab" }))] })), _jsxs(Grid, __assign({ item: true, xs: 12 }, { children: [_jsx(Checkbox, { style: { margin: 0, marginTop: 5, padding: 0, paddingRight: 3 }, color: "primary", checked: !!(value === null || value === void 0 ? void 0 : value.signed), onClick: function () { return handleConsentChange(); }, inputProps: { 'aria-label': 'consent to e-signature checkbox' } }), _jsxs(Typography, __assign({ component: "span", style: { position: 'relative', top: 5, left: 2 } }, { children: ["I consent to use ", _jsx("a", __assign({ href: "/e-signature-terms", target: "_blank", rel: "noopener noreferrer" }, { children: " electronic signatures " }))] }))] })), _jsxs(Grid, __assign({ item: true, xs: 12, style: { marginTop: 12 } }, { children: [_jsx(TextField, { disabled: !(value === null || value === void 0 ? void 0 : value.signed), autoFocus: autoFocus, style: { width: '100%' }, size: "small", "aria-label": "Full Name", value: value === null || value === void 0 ? void 0 : value.fullName, placeholder: prefill || "Full Name", variant: "outlined", onChange: function (e) { return handleNameChange(e.target.value); }, InputProps: defaultInputProps }), _jsx(Typography, __assign({ color: "primary", style: { fontSize: 15, marginTop: 2 } }, { children: "Enter your legal full name to complete the signature" }))] }))] })));
|
|
494
|
+
} }), _jsx("a", __assign({ href: field.options.signatureUrl, target: "_blank", rel: "noopener noreferrer" }, { children: "View document in new tab" }))] })), _jsxs(Grid, __assign({ item: true, xs: 12 }, { children: [_jsx(Checkbox, { style: { margin: 0, marginTop: 5, padding: 0, paddingRight: 3 }, color: "primary", checked: !!(value === null || value === void 0 ? void 0 : value.signed), onClick: function () { return handleConsentChange(); }, inputProps: { 'aria-label': 'consent to e-signature checkbox' } }), _jsxs(Typography, __assign({ component: "span", style: { position: 'relative', top: 5, left: 2 } }, { children: ["I consent to use ", _jsx("a", __assign({ href: "/e-signature-terms?name=".concat(((_g = field.options) === null || _g === void 0 ? void 0 : _g.esignatureTermsCompanyName) || ''), target: "_blank", rel: "noopener noreferrer" }, { children: " electronic signatures " }))] }))] })), _jsxs(Grid, __assign({ item: true, xs: 12, style: { marginTop: 12 } }, { children: [_jsx(TextField, { disabled: !(value === null || value === void 0 ? void 0 : value.signed), autoFocus: autoFocus, style: { width: '100%' }, size: "small", "aria-label": "Full Name", value: value === null || value === void 0 ? void 0 : value.fullName, placeholder: prefill || "Full Name", variant: "outlined", onChange: function (e) { return handleNameChange(e.target.value); }, InputProps: defaultInputProps }), _jsx(Typography, __assign({ color: "primary", style: { fontSize: 15, marginTop: 2 } }, { children: "Enter your legal full name to complete the signature" }))] }))] })));
|
|
481
495
|
};
|
|
482
496
|
export function convertHEIC(file) {
|
|
483
497
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1543,14 +1557,15 @@ export var HeightInput = function (_a) {
|
|
|
1543
1557
|
};
|
|
1544
1558
|
export var RedirectInput = function (_a) {
|
|
1545
1559
|
var _b, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
1546
|
-
var groupId = _a.groupId, groupInsance = _a.groupInsance, rootResponseId = _a.rootResponseId, formResponseId = _a.formResponseId, field = _a.field, submit = _a.submit, _u = _a.value, value = _u === void 0 ? {} : _u, onChange = _a.onChange, responses = _a.responses, enduser = _a.enduser, props = __rest(_a, ["groupId", "groupInsance", "rootResponseId", "formResponseId", "field", "submit", "value", "onChange", "responses", "enduser"]);
|
|
1560
|
+
var enduserId = _a.enduserId, groupId = _a.groupId, groupInsance = _a.groupInsance, rootResponseId = _a.rootResponseId, formResponseId = _a.formResponseId, field = _a.field, submit = _a.submit, _u = _a.value, value = _u === void 0 ? {} : _u, onChange = _a.onChange, responses = _a.responses, enduser = _a.enduser, props = __rest(_a, ["enduserId", "groupId", "groupInsance", "rootResponseId", "formResponseId", "field", "submit", "value", "onChange", "responses", "enduser"]);
|
|
1547
1561
|
console.log('formResponseId', formResponseId, 'rootResponseId', rootResponseId);
|
|
1548
1562
|
var session = useResolvedSession();
|
|
1549
1563
|
var eId = '';
|
|
1550
1564
|
try {
|
|
1551
|
-
eId = new URL(window.location.href).searchParams.get('eId') || '';
|
|
1565
|
+
eId = new URL(window.location.href).searchParams.get('eId') || enduserId || '';
|
|
1552
1566
|
}
|
|
1553
1567
|
catch (err) { }
|
|
1568
|
+
console.log(eId);
|
|
1554
1569
|
var email = (((_d = (_b = responses === null || responses === void 0 ? void 0 : responses.find(function (r) { return r.intakeField === 'email'; })) === null || _b === void 0 ? void 0 : _b.answer) === null || _d === void 0 ? void 0 : _d.value)
|
|
1555
1570
|
|| (enduser === null || enduser === void 0 ? void 0 : enduser.email)
|
|
1556
1571
|
|| session.userInfo.email);
|
|
@@ -1578,7 +1593,7 @@ export var RedirectInput = function (_a) {
|
|
|
1578
1593
|
if (!((_a = field.options) === null || _a === void 0 ? void 0 : _a.redirectExternalUrl)) {
|
|
1579
1594
|
return;
|
|
1580
1595
|
}
|
|
1581
|
-
window.location.href = (replace_enduser_template_values(field.options.redirectExternalUrl, __assign(__assign({}, session.userInfo), { email: email, fname: fname, lname: lname, state: state, phone: phone })));
|
|
1596
|
+
window.location.href = (replace_enduser_template_values(field.options.redirectExternalUrl, __assign(__assign({}, session.userInfo), { id: eId, email: email, fname: fname, lname: lname, state: state, phone: phone })));
|
|
1582
1597
|
}).catch(console.error);
|
|
1583
1598
|
return;
|
|
1584
1599
|
}
|