@feathery/react 2.49.0 → 2.50.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/cjs/Form/grid/Container/index.d.ts.map +1 -1
- package/cjs/elements/basic/ButtonElement.d.ts.map +1 -1
- package/cjs/elements/components/HoverTooltip.d.ts +24 -0
- package/cjs/elements/components/HoverTooltip.d.ts.map +1 -0
- package/cjs/elements/components/InlineTooltip.d.ts.map +1 -1
- package/cjs/elements/components/Overlay.d.ts +1 -1
- package/cjs/elements/components/Overlay.d.ts.map +1 -1
- package/cjs/elements/components/QuikFormViewer.d.ts.map +1 -1
- package/cjs/elements/components/TextHoverTooltip.d.ts.map +1 -1
- package/cjs/elements/components/Tooltip.d.ts +2 -1
- package/cjs/elements/components/Tooltip.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.BuqbKhai.js → fthry_AssistantChat.Bv_PnXs-.js} +4 -4
- package/cjs/{fthry_FormControl.BuMQfeZ1.js → fthry_FormControl.BAksZlDz.js} +1 -1
- package/cjs/{fthry_InlineTooltip.D8PDRhj_.js → fthry_InlineTooltip.DplyptTz.js} +2 -16
- package/cjs/{fthry_PaymentMethodField.myalaaOZ.js → fthry_PaymentMethodField.DpnN0V1H.js} +3 -4
- package/cjs/{fthry_Placeholder.UOTZToMt.js → fthry_Placeholder.5Mvr4ask.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.D8qDJDzZ.js → fthry_ShowEyeIcon.5HKujzSD.js} +1 -1
- package/cjs/{fthry_TabsElement.BK0wFYNE.js → fthry_TabsElement.CxiHTqRU.js} +1 -1
- package/cjs/{fthry_auto-track.B5EtzK5A.js → fthry_auto-track.DV30-QdL.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.BEO11ycd.js → fthry_highlighted-body-TPN3WLV5.CtyrCPuE.js} +3 -3
- package/cjs/{fthry_index.BFw_StvJ.js → fthry_index.0UtK4ObD.js} +2 -2
- package/cjs/{fthry_index.B_0S-igL.js → fthry_index.9V9ezpt1.js} +5 -6
- package/cjs/{fthry_index.CP8jeStb.js → fthry_index.B-vFxNO_.js} +6 -7
- package/cjs/{fthry_index.CrgFXYzE.js → fthry_index.B2kwLyNr.js} +1 -1
- package/cjs/{fthry_index.C9AIy59J.js → fthry_index.B9iGCw8F.js} +2 -2
- package/cjs/{fthry_index.DgGKGO1E.js → fthry_index.BPYIEjMq.js} +10 -10
- package/cjs/{fthry_index.OwukJO9-.js → fthry_index.BQKxTWNQ.js} +2 -2
- package/cjs/{fthry_index.BcfL5ZZY.js → fthry_index.BUVzO2k5.js} +1 -1
- package/cjs/{fthry_index.7ndzGWiJ.js → fthry_index.Bp0-0Hpt.js} +4 -5
- package/cjs/{fthry_index.b8IraXmQ.js → fthry_index.Byf43ZJS.js} +3 -4
- package/cjs/{fthry_index.B6qHn3Vr.js → fthry_index.C5BkZnrm.js} +5 -6
- package/cjs/{fthry_index.DrrJo2Gf.js → fthry_index.CB082HFt.js} +5 -6
- package/cjs/{fthry_index.CHLGQEBH.js → fthry_index.CG2qDLCN.js} +3 -4
- package/cjs/{fthry_index.cpUxhiq-.js → fthry_index.CVkyw_dk.js} +2 -2
- package/cjs/{fthry_index.BU9fFX-g.js → fthry_index.CXiwWMaB.js} +1 -1
- package/cjs/{fthry_index.C2vpx_Q9.js → fthry_index.CXpQuMt1.js} +1 -1
- package/cjs/{fthry_index.DTMlYZBn.js → fthry_index.C_0LGAaW.js} +1 -1
- package/cjs/{fthry_index.964D9mAK.js → fthry_index.Cbfqikpc.js} +2 -2
- package/cjs/{fthry_index.DKv8MgEz.js → fthry_index.D0tdVxWg.js} +8 -9
- package/cjs/{fthry_index.w9-CuoQH.js → fthry_index.D698F2zZ.js} +5 -6
- package/cjs/{fthry_index.C6ebZNtr.js → fthry_index.DBDbbLL1.js} +3 -18
- package/cjs/{fthry_index.D0My8MmY.js → fthry_index.DFZUCN27.js} +1 -1
- package/cjs/{fthry_index.BmILtMAD.js → fthry_index.DNf7jYzX.js} +3 -3
- package/cjs/{fthry_index.DPIewKZa.js → fthry_index.DO90MI7L.js} +1 -1
- package/cjs/{fthry_index.DHx_H1T3.js → fthry_index.DSxhyu57.js} +1 -1
- package/cjs/{fthry_index.BvnQTPSY.js → fthry_index.DXBYYUOP.js} +1 -1
- package/cjs/{fthry_index.CoZzaKnE.js → fthry_index.DmtMegnj.js} +5 -6
- package/cjs/{fthry_index.e_GKEQRk.js → fthry_index.Dx62aGHl.js} +1 -1
- package/cjs/{fthry_index.BckiEDZJ.js → fthry_index.GZc-hNji.js} +4 -5
- package/cjs/{fthry_index.BRo8czXJ.js → fthry_index.OHud4Plq.js} +2 -2
- package/cjs/{fthry_index.C-kN7c0o.js → fthry_index.lC_5XhON.js} +340 -43
- package/cjs/{fthry_index.umd.YAgbegYu.js → fthry_index.umd.DCBQBTfy.js} +1 -1
- package/cjs/{fthry_input.D3t8liSW.js → fthry_input.3B0IH5fK.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.C5wDh0Pr.js → fthry_mermaid-O7DHMXV3.BwkCSjZC.js} +3 -3
- package/cjs/{fthry_script.sEVfx6Kl.js → fthry_script.Dfvbhz8G.js} +1 -1
- package/cjs/{fthry_styles.CFNJAwLy.js → fthry_styles.BecNWwfa.js} +1 -1
- package/cjs/{fthry_useElementSize.yeWmUfpM.js → fthry_useElementSize.D9fwVm32.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.C_sMWo9m.js → fthry_useSalesforceSync.B8WpZf2e.js} +1 -1
- package/cjs/{fthry_webfontloader.DLiAwukX.js → fthry_webfontloader.maDTrAYi.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/thumbnail-renderer.js +1 -1
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +1 -0
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/Form/grid/Container/index.d.ts.map +1 -1
- package/dist/elements/basic/ButtonElement.d.ts.map +1 -1
- package/dist/elements/components/HoverTooltip.d.ts +24 -0
- package/dist/elements/components/HoverTooltip.d.ts.map +1 -0
- package/dist/elements/components/InlineTooltip.d.ts.map +1 -1
- package/dist/elements/components/Overlay.d.ts +1 -1
- package/dist/elements/components/Overlay.d.ts.map +1 -1
- package/dist/elements/components/QuikFormViewer.d.ts.map +1 -1
- package/dist/elements/components/TextHoverTooltip.d.ts.map +1 -1
- package/dist/elements/components/Tooltip.d.ts +2 -1
- package/dist/elements/components/Tooltip.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.BejpFcyu.js → fthry_AssistantChat.BWUYjfwA.js} +4 -4
- package/dist/{fthry_FormControl.C3pHyJdN.js → fthry_FormControl.gQmC3Q_5.js} +1 -1
- package/dist/{fthry_InlineTooltip.mv-Gc2Xw.js → fthry_InlineTooltip.M1XQiZpn.js} +2 -16
- package/dist/{fthry_PaymentMethodField.D7ElRh4C.js → fthry_PaymentMethodField.DEs0It74.js} +3 -4
- package/dist/{fthry_Placeholder.CRBysDun.js → fthry_Placeholder.B8e4W9VJ.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.Ds0oud66.js → fthry_ShowEyeIcon.DdLap_w9.js} +1 -1
- package/dist/{fthry_TabsElement.BCuhzX6e.js → fthry_TabsElement.DpJTusbm.js} +1 -1
- package/dist/{fthry_auto-track.Dbu38K5j.js → fthry_auto-track.HTzxPnUa.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.Cuh_lSww.js → fthry_highlighted-body-TPN3WLV5.kj3f_DpN.js} +3 -3
- package/dist/{fthry_index.NwQXVZvL.js → fthry_index.B8mrrhCT.js} +3 -3
- package/dist/{fthry_index.DJHFwZtE.js → fthry_index.BBhLiIOO.js} +4 -5
- package/dist/{fthry_index.Du_mis5t.js → fthry_index.BDiGpbY8.js} +3 -18
- package/dist/{fthry_index.B31t0UUz.js → fthry_index.BNN_GnRE.js} +2 -2
- package/dist/{fthry_index.C8wcBfv1.js → fthry_index.Bo8U-enX.js} +1 -1
- package/dist/{fthry_index.T_q8o1IJ.js → fthry_index.Bq05T75f.js} +1 -1
- package/dist/{fthry_index.CQaO0qYK.js → fthry_index.Bx652TAg.js} +1 -1
- package/dist/{fthry_index.B8QhrENg.js → fthry_index.C0iUe75-.js} +1 -1
- package/dist/{fthry_index.5jB_IKHJ.js → fthry_index.C4_1X7GA.js} +5 -6
- package/dist/{fthry_index.aL99gjHK.js → fthry_index.CIqCJp4_.js} +4 -5
- package/dist/{fthry_index.Bx6S1qZa.js → fthry_index.CNFIYUXl.js} +2 -2
- package/dist/{fthry_index.Bb2rQlTP.js → fthry_index.CQOB3Ugj.js} +3 -4
- package/dist/{fthry_index.CreqHrWa.js → fthry_index.CVJtI2Xl.js} +1 -1
- package/dist/{fthry_index.BEUoZUyK.js → fthry_index.CWe8WGnw.js} +1 -1
- package/dist/{fthry_index.CWSqgxAa.js → fthry_index.CkW0oER4.js} +5 -6
- package/dist/{fthry_index.D4jtsTFt.js → fthry_index.CyvJ8-bB.js} +2 -2
- package/dist/{fthry_index.YJH2_M8x.js → fthry_index.D0Cgvg7i.js} +3 -4
- package/dist/{fthry_index.0OEg6H3i.js → fthry_index.D1WDrqdZ.js} +1 -1
- package/dist/{fthry_index.YWCe9xut.js → fthry_index.D4NYHwF9.js} +7 -8
- package/dist/{fthry_index.xZSdf7ry.js → fthry_index.D7yot10w.js} +1 -1
- package/dist/{fthry_index.DeOBTZSR.js → fthry_index.DIAR7NXW.js} +2 -2
- package/dist/{fthry_index.DS-rgCeg.js → fthry_index.DTmSNKnS.js} +5 -6
- package/dist/{fthry_index.DJzR8T-r.js → fthry_index.DXY-WeCY.js} +4 -5
- package/dist/{fthry_index.B0NbPkQc.js → fthry_index.Dav1_JFe.js} +1 -1
- package/dist/{fthry_index.DEpC-Z5v.js → fthry_index.DfrV6A68.js} +4 -5
- package/dist/{fthry_index.BgljRyhO.js → fthry_index.DpXk-u8o.js} +10 -10
- package/dist/{fthry_index.BnWgnMbc.js → fthry_index.Dt6zQK3e.js} +4 -5
- package/dist/{fthry_index.B-NWpaAl.js → fthry_index.DzM7hukc.js} +2 -2
- package/dist/{fthry_index.cdWJRcXS.js → fthry_index.ptJrcCPy.js} +338 -44
- package/dist/{fthry_index.C2TazyZo.js → fthry_index.r1TNpIHy.js} +1 -1
- package/dist/{fthry_index.umd.BYgeEgf8.js → fthry_index.umd.C9mURNOx.js} +1 -1
- package/dist/{fthry_index._4LdTVJS.js → fthry_index.znErF4eB.js} +2 -2
- package/dist/{fthry_input.DbXz6y8m.js → fthry_input.C-ByVjA4.js} +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.BLTan-1s.js +8 -0
- package/dist/{fthry_script.BORBdvL8.js → fthry_script.DvAaqiBk.js} +1 -1
- package/dist/{fthry_styles.BfxKVFUw.js → fthry_styles.DwzdoBlX.js} +1 -1
- package/dist/{fthry_useElementSize.BIz4pNfw.js → fthry_useElementSize.9DmbhgBu.js} +1 -1
- package/dist/{fthry_useSalesforceSync.wO8Y6yIk.js → fthry_useSalesforceSync.qRdq0wu3.js} +1 -1
- package/dist/{fthry_webfontloader.D4WGyNNh.js → fthry_webfontloader.B5npG4_8.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/thumbnail-renderer.js +1 -1
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +1 -0
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/AddressField.4a4788a40afba5fc22d2.js +1 -0
- package/umd/ButtonGroupField.fcf087a9664e14da7fc5.js +1 -0
- package/umd/CheckboxGroupField.7b055043cbd1ef8b3787.js +1 -0
- package/umd/DateSelectorField.b87988253da02a40c6f7.js +1 -0
- package/umd/DropdownField.459ba798e2ff6a8518c2.js +1 -0
- package/umd/DropdownMultiField.ad59b04c5e3c1ad1a6e8.js +1 -0
- package/umd/MatrixField.6541a0f9570b2c56e336.js +1 -0
- package/umd/PasswordField.fb8f587107389274112e.js +1 -0
- package/umd/PaymentMethodField.f6820da8252bb2eed6b1.js +1 -0
- package/umd/PhoneField.a161db93d8f815ced395.js +1 -0
- package/umd/RadioButtonGroupField.9a43334b87129e33afd2.js +1 -0
- package/umd/TextArea.8341b3d302383a53175d.js +1 -0
- package/umd/TextField.fa9f11c4b1fab1747ae1.js +1 -0
- package/umd/index.js +1 -1
- package/cjs/fthry_Overlay.D-NnFWEe.js +0 -231
- package/dist/fthry_Overlay.CPbgvfMU.js +0 -228
- package/dist/fthry_mermaid-O7DHMXV3.BTTUMTMH.js +0 -8
- package/umd/277.1a33ea06f86326613fcb.js +0 -1
- package/umd/664.4a3ec465094a3d59c184.js +0 -1
- package/umd/AddressField.648b3da916171008dc9f.js +0 -1
- package/umd/ButtonGroupField.d39ac976a6dee9ef593a.js +0 -1
- package/umd/CheckboxGroupField.e495eb152c4faa000d4b.js +0 -1
- package/umd/DateSelectorField.e702b3e6b0a5b498c824.js +0 -1
- package/umd/DropdownField.d1a234d236d9989bbf20.js +0 -1
- package/umd/DropdownMultiField.5b4e24025035f1678c83.js +0 -1
- package/umd/MatrixField.bcd6f58ea1896f386988.js +0 -1
- package/umd/PasswordField.593d7b7d3d954634fa30.js +0 -1
- package/umd/PaymentMethodField.8e4fd6353793eaaa2b5b.js +0 -1
- package/umd/PhoneField.861b99c7e81b4b9c8648.js +0 -1
- package/umd/RadioButtonGroupField.7a333a6f7e578a181a98.js +0 -1
- package/umd/TextArea.04335be4f0f0d6c0cc1a.js +0 -1
- package/umd/TextField.749931ebb258bf38e007.js +0 -1
|
@@ -9244,7 +9244,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9244
9244
|
};
|
|
9245
9245
|
IntegrationClient.prototype.sendDocusignEnvelope = function (_a) {
|
|
9246
9246
|
var _this = this;
|
|
9247
|
-
var documents = _a.documents, libraryDocuments = _a.libraryDocuments, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers, existingEnvelopeId = _a.existingEnvelopeId;
|
|
9247
|
+
var documents = _a.documents, libraryDocuments = _a.libraryDocuments, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers, existingEnvelopeId = _a.existingEnvelopeId, draft = _a.draft;
|
|
9248
9248
|
var userId = initInfo().userId;
|
|
9249
9249
|
var url = "".concat(API_URL, "docusign/envelope/");
|
|
9250
9250
|
var options = {
|
|
@@ -9259,7 +9259,8 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9259
9259
|
email_subject: emailSubject,
|
|
9260
9260
|
email_blurb: emailBlurb,
|
|
9261
9261
|
signers: signers,
|
|
9262
|
-
docusign_envelope_id: existingEnvelopeId
|
|
9262
|
+
docusign_envelope_id: existingEnvelopeId,
|
|
9263
|
+
draft: draft
|
|
9263
9264
|
})
|
|
9264
9265
|
};
|
|
9265
9266
|
return this._fetch(url, options, false).then(function (response) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
@@ -23594,21 +23595,277 @@ var StyledContainer = React.forwardRef(function (_a, ref) {
|
|
|
23594
23595
|
return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", exports.__assign({ className: classNames('styled-container', type, className) }, props, { css: exports.__assign(exports.__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", exports.__assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", exports.__assign({ ref: ref, css: isFixed ? exports.__assign(exports.__assign({}, styles), { visibility: 'hidden' }) : styles, className: classNames('styled-container', type, className) }, props, { "data-id": node.id, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", exports.__assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
|
|
23595
23596
|
});
|
|
23596
23597
|
|
|
23598
|
+
var Tooltip = function (_a) {
|
|
23599
|
+
var children = _a.children, css = _a.css, _b = _a.maxWidth, maxWidth = _b === void 0 ? '200px' : _b, props = __rest$1(_a, ["children", "css", "maxWidth"]);
|
|
23600
|
+
return (jsx$1("div", exports.__assign({ css: exports.__assign({ zIndex: FORM_Z_INDEX + 1, padding: '.4rem 0', transition: 'opacity .10s linear', '.tooltip-inner': {
|
|
23601
|
+
maxWidth: maxWidth,
|
|
23602
|
+
padding: '.25rem .5rem',
|
|
23603
|
+
color: '#fff',
|
|
23604
|
+
textAlign: 'center',
|
|
23605
|
+
backgroundColor: '#000',
|
|
23606
|
+
borderRadius: '.25rem',
|
|
23607
|
+
fontSize: 'smaller',
|
|
23608
|
+
// break long unbroken words so they wrap instead of overflowing
|
|
23609
|
+
overflowWrap: 'anywhere'
|
|
23610
|
+
} }, css) }, props, { children: jsx$1("div", exports.__assign({ className: 'tooltip-inner' }, { children: children })) })));
|
|
23611
|
+
};
|
|
23612
|
+
|
|
23613
|
+
var Overlay = function (_a) {
|
|
23614
|
+
var show = _a.show, targetRef = _a.targetRef, children = _a.children, onHide = _a.onHide, _b = _a.placement, placement = _b === void 0 ? 'bottom-start' : _b, _c = _a.offset, offset = _c === void 0 ? 0 : _c, _d = _a.zIndex, zIndex = _d === void 0 ? 1000 : _d, containerRef = _a.containerRef;
|
|
23615
|
+
var ref = React.useRef(null);
|
|
23616
|
+
var _e = __read(React.useState(null), 2), position = _e[0], setPosition = _e[1];
|
|
23617
|
+
var getContainer = React.useCallback(function () {
|
|
23618
|
+
return (containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) || featheryDoc().body;
|
|
23619
|
+
}, [containerRef]);
|
|
23620
|
+
var recalcPosition = React.useCallback(function () {
|
|
23621
|
+
var _a;
|
|
23622
|
+
if (!show || !targetRef.current || !ref.current)
|
|
23623
|
+
return;
|
|
23624
|
+
var window = featheryWindow();
|
|
23625
|
+
var container = getContainer();
|
|
23626
|
+
if (!container)
|
|
23627
|
+
return;
|
|
23628
|
+
var targetRect = targetRef.current.getBoundingClientRect();
|
|
23629
|
+
var overlayRect = ref.current.getBoundingClientRect();
|
|
23630
|
+
var containerRect = container.getBoundingClientRect();
|
|
23631
|
+
var _b = calcPosition(placement, targetRect, overlayRect, offset), top = _b.top, left = _b.left;
|
|
23632
|
+
// Flip if it doesn’t fit
|
|
23633
|
+
var overlayBottom = top + overlayRect.height;
|
|
23634
|
+
var overlayRight = left + overlayRect.width;
|
|
23635
|
+
var fitsVertically = top >= 0 && overlayBottom <= window.innerHeight;
|
|
23636
|
+
var fitsHorizontally = left >= 0 && overlayRight <= window.innerWidth;
|
|
23637
|
+
if (!fitsVertically || !fitsHorizontally) {
|
|
23638
|
+
var flipped = getFlippedPlacement(placement, !fitsVertically, !fitsHorizontally);
|
|
23639
|
+
if (flipped !== placement) {
|
|
23640
|
+
(_a = calcPosition(flipped, targetRect, overlayRect, offset), top = _a.top, left = _a.left);
|
|
23641
|
+
}
|
|
23642
|
+
}
|
|
23643
|
+
var isBodyContainer = container === featheryDoc().body;
|
|
23644
|
+
var finalTop = isBodyContainer
|
|
23645
|
+
? top + window.scrollY
|
|
23646
|
+
: top - containerRect.top;
|
|
23647
|
+
var finalLeft = isBodyContainer
|
|
23648
|
+
? left + window.scrollX
|
|
23649
|
+
: left - containerRect.left;
|
|
23650
|
+
setPosition(function (prev) {
|
|
23651
|
+
if (!prev || prev.top !== finalTop || prev.left !== finalLeft) {
|
|
23652
|
+
return { top: finalTop, left: finalLeft };
|
|
23653
|
+
}
|
|
23654
|
+
return prev;
|
|
23655
|
+
});
|
|
23656
|
+
}, [show, placement, offset, getContainer, targetRef]);
|
|
23657
|
+
var throttledRecalc = React.useCallback(function () {
|
|
23658
|
+
var ticking = false;
|
|
23659
|
+
return function () {
|
|
23660
|
+
if (!ticking) {
|
|
23661
|
+
ticking = true;
|
|
23662
|
+
requestAnimationFrame(function () {
|
|
23663
|
+
recalcPosition();
|
|
23664
|
+
ticking = false;
|
|
23665
|
+
});
|
|
23666
|
+
}
|
|
23667
|
+
};
|
|
23668
|
+
}, [recalcPosition])();
|
|
23669
|
+
React.useLayoutEffect(function () {
|
|
23670
|
+
if (show)
|
|
23671
|
+
recalcPosition();
|
|
23672
|
+
}, [show, recalcPosition]);
|
|
23673
|
+
React.useEffect(function () {
|
|
23674
|
+
if (!show)
|
|
23675
|
+
return;
|
|
23676
|
+
var window = featheryWindow();
|
|
23677
|
+
var container = getContainer();
|
|
23678
|
+
if (!container)
|
|
23679
|
+
return;
|
|
23680
|
+
window.addEventListener('resize', throttledRecalc);
|
|
23681
|
+
window.addEventListener('scroll', throttledRecalc, true);
|
|
23682
|
+
if (container !== featheryDoc().body) {
|
|
23683
|
+
container.addEventListener('scroll', throttledRecalc);
|
|
23684
|
+
}
|
|
23685
|
+
var resizeObserver = new ResizeObserver(function () { return throttledRecalc(); });
|
|
23686
|
+
if (targetRef.current)
|
|
23687
|
+
resizeObserver.observe(targetRef.current);
|
|
23688
|
+
if (container !== featheryDoc().body)
|
|
23689
|
+
resizeObserver.observe(container);
|
|
23690
|
+
return function () {
|
|
23691
|
+
window.removeEventListener('resize', throttledRecalc);
|
|
23692
|
+
window.removeEventListener('scroll', throttledRecalc, true);
|
|
23693
|
+
if (container !== featheryDoc().body) {
|
|
23694
|
+
container.removeEventListener('scroll', throttledRecalc);
|
|
23695
|
+
}
|
|
23696
|
+
resizeObserver.disconnect();
|
|
23697
|
+
};
|
|
23698
|
+
}, [show, throttledRecalc, getContainer, targetRef]);
|
|
23699
|
+
React.useEffect(function () {
|
|
23700
|
+
if (!show)
|
|
23701
|
+
return;
|
|
23702
|
+
var handleKeyDown = function (event) {
|
|
23703
|
+
if (event.key === 'Escape') {
|
|
23704
|
+
setPosition(null);
|
|
23705
|
+
onHide === null || onHide === void 0 ? void 0 : onHide();
|
|
23706
|
+
}
|
|
23707
|
+
};
|
|
23708
|
+
var handleClickOutside = function (event) {
|
|
23709
|
+
var target = event.target;
|
|
23710
|
+
if (ref.current &&
|
|
23711
|
+
!ref.current.contains(target) &&
|
|
23712
|
+
targetRef.current &&
|
|
23713
|
+
!targetRef.current.contains(target)) {
|
|
23714
|
+
setPosition(null);
|
|
23715
|
+
onHide === null || onHide === void 0 ? void 0 : onHide();
|
|
23716
|
+
}
|
|
23717
|
+
};
|
|
23718
|
+
var doc = featheryDoc();
|
|
23719
|
+
doc.addEventListener('mousedown', handleClickOutside);
|
|
23720
|
+
doc.addEventListener('keydown', handleKeyDown);
|
|
23721
|
+
return function () {
|
|
23722
|
+
doc.removeEventListener('mousedown', handleClickOutside);
|
|
23723
|
+
doc.removeEventListener('keydown', handleKeyDown);
|
|
23724
|
+
};
|
|
23725
|
+
}, [show, onHide, targetRef]);
|
|
23726
|
+
if (!show)
|
|
23727
|
+
return null;
|
|
23728
|
+
var container = getContainer();
|
|
23729
|
+
if (!container)
|
|
23730
|
+
return jsx$1(Fragment, { children: children });
|
|
23731
|
+
return ReactDOM.createPortal(jsx$1("div", exports.__assign({ ref: ref, style: exports.__assign(exports.__assign({ position: 'absolute' }, (position || { top: -9999, left: -9999 })), { zIndex: zIndex }) }, { children: children })), container);
|
|
23732
|
+
};
|
|
23733
|
+
var getFlippedPlacement = function (original, needsVerticalFlip, needsHorizontalFlip) {
|
|
23734
|
+
if (needsVerticalFlip) {
|
|
23735
|
+
if (original.includes('top')) {
|
|
23736
|
+
return original.replace('top', 'bottom');
|
|
23737
|
+
}
|
|
23738
|
+
if (original.includes('bottom')) {
|
|
23739
|
+
return original.replace('bottom', 'top');
|
|
23740
|
+
}
|
|
23741
|
+
}
|
|
23742
|
+
if (needsHorizontalFlip) {
|
|
23743
|
+
if (original.includes('left')) {
|
|
23744
|
+
return original.replace('left', 'right');
|
|
23745
|
+
}
|
|
23746
|
+
if (original.includes('right')) {
|
|
23747
|
+
return original.replace('right', 'left');
|
|
23748
|
+
}
|
|
23749
|
+
}
|
|
23750
|
+
return original;
|
|
23751
|
+
};
|
|
23752
|
+
var calcPosition = function (pl, targetRect, overlayRect, offset) {
|
|
23753
|
+
if (offset === void 0) { offset = 0; }
|
|
23754
|
+
switch (pl) {
|
|
23755
|
+
case 'top':
|
|
23756
|
+
return {
|
|
23757
|
+
top: targetRect.top - overlayRect.height - offset,
|
|
23758
|
+
left: targetRect.left + (targetRect.width - overlayRect.width) / 2
|
|
23759
|
+
};
|
|
23760
|
+
case 'top-start':
|
|
23761
|
+
return {
|
|
23762
|
+
top: targetRect.top - overlayRect.height - offset,
|
|
23763
|
+
left: targetRect.left
|
|
23764
|
+
};
|
|
23765
|
+
case 'top-end':
|
|
23766
|
+
return {
|
|
23767
|
+
top: targetRect.top - overlayRect.height - offset,
|
|
23768
|
+
left: targetRect.right - overlayRect.width
|
|
23769
|
+
};
|
|
23770
|
+
case 'left':
|
|
23771
|
+
return {
|
|
23772
|
+
top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
|
|
23773
|
+
left: targetRect.left - overlayRect.width - offset
|
|
23774
|
+
};
|
|
23775
|
+
case 'left-start':
|
|
23776
|
+
return {
|
|
23777
|
+
top: targetRect.top,
|
|
23778
|
+
left: targetRect.left - overlayRect.width - offset
|
|
23779
|
+
};
|
|
23780
|
+
case 'left-end':
|
|
23781
|
+
return {
|
|
23782
|
+
top: targetRect.bottom - overlayRect.height,
|
|
23783
|
+
left: targetRect.left - overlayRect.width - offset
|
|
23784
|
+
};
|
|
23785
|
+
case 'bottom':
|
|
23786
|
+
return {
|
|
23787
|
+
top: targetRect.bottom + offset,
|
|
23788
|
+
left: targetRect.left + (targetRect.width - overlayRect.width) / 2
|
|
23789
|
+
};
|
|
23790
|
+
case 'bottom-start':
|
|
23791
|
+
return {
|
|
23792
|
+
top: targetRect.bottom + offset,
|
|
23793
|
+
left: targetRect.left
|
|
23794
|
+
};
|
|
23795
|
+
case 'bottom-end':
|
|
23796
|
+
return {
|
|
23797
|
+
top: targetRect.bottom + offset,
|
|
23798
|
+
left: targetRect.right - overlayRect.width
|
|
23799
|
+
};
|
|
23800
|
+
case 'right':
|
|
23801
|
+
return {
|
|
23802
|
+
top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
|
|
23803
|
+
left: targetRect.right + offset
|
|
23804
|
+
};
|
|
23805
|
+
case 'right-start':
|
|
23806
|
+
return {
|
|
23807
|
+
top: targetRect.top,
|
|
23808
|
+
left: targetRect.right + offset
|
|
23809
|
+
};
|
|
23810
|
+
case 'right-end':
|
|
23811
|
+
return {
|
|
23812
|
+
top: targetRect.bottom - overlayRect.height,
|
|
23813
|
+
left: targetRect.right + offset
|
|
23814
|
+
};
|
|
23815
|
+
default:
|
|
23816
|
+
return {
|
|
23817
|
+
top: targetRect.bottom + offset,
|
|
23818
|
+
left: targetRect.left + (targetRect.width - overlayRect.width) / 2
|
|
23819
|
+
};
|
|
23820
|
+
}
|
|
23821
|
+
};
|
|
23822
|
+
|
|
23823
|
+
/**
|
|
23824
|
+
* Shared overlay-anchored tooltip used by InlineTooltip (field help icon),
|
|
23825
|
+
* TextHoverTooltip (hoverable text), and container hover tooltips. Renders the
|
|
23826
|
+
* styled Tooltip inside an Overlay anchored to the provided trigger ref. The
|
|
23827
|
+
* caller owns the show state and the trigger element + its event handlers.
|
|
23828
|
+
*/
|
|
23829
|
+
function HoverTooltip(_a) {
|
|
23830
|
+
var show = _a.show, triggerRef = _a.triggerRef, text = _a.text, id = _a.id, onHide = _a.onHide, containerRef = _a.containerRef, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.offset, offset = _c === void 0 ? 4 : _c, css = _a.css, maxWidth = _a.maxWidth;
|
|
23831
|
+
if (!text)
|
|
23832
|
+
return null;
|
|
23833
|
+
return (jsx$1(Overlay, exports.__assign({ show: show, targetRef: triggerRef, containerRef: containerRef, placement: placement, onHide: onHide, offset: offset }, { children: jsx$1(Tooltip, exports.__assign({ id: "tooltip-".concat(id), css: css, maxWidth: maxWidth }, { children: text })) })));
|
|
23834
|
+
}
|
|
23835
|
+
|
|
23597
23836
|
/**
|
|
23598
23837
|
* Container
|
|
23599
23838
|
* This component adds additional logic to the StyledContainer that is unique
|
|
23600
23839
|
* to rendering containers on hosted forms (not the editor).
|
|
23601
23840
|
*/
|
|
23602
23841
|
var Container = function (_a) {
|
|
23603
|
-
var _b, _c;
|
|
23604
|
-
var node = _a.node,
|
|
23842
|
+
var _b, _c, _d;
|
|
23843
|
+
var node = _a.node, _e = _a.runElementActions, runElementActions = _e === void 0 ? function () { } : _e, selected = _a.selected, viewport = _a.viewport, form = _a.form, children = _a.children;
|
|
23605
23844
|
var ref = React.useRef(null);
|
|
23845
|
+
var _f = __read(React.useState(false), 2), showTooltip = _f[0], setShowTooltip = _f[1];
|
|
23606
23846
|
var additionalCss = {};
|
|
23607
23847
|
var handleClick;
|
|
23848
|
+
// Container-level hover tooltips apply only to actual containers. Field
|
|
23849
|
+
// elements share the same `tooltipText` property but render their own
|
|
23850
|
+
// icon-based InlineTooltip, so they must be excluded here.
|
|
23851
|
+
var tooltipText = !node.isElement && ((_b = node.properties) === null || _b === void 0 ? void 0 : _b.tooltipText)
|
|
23852
|
+
? replaceTextVariables(node.properties.tooltipText, node.repeat)
|
|
23853
|
+
: '';
|
|
23854
|
+
var isMobile$1 = isMobile();
|
|
23855
|
+
var tooltipHoverProps = tooltipText
|
|
23856
|
+
? {
|
|
23857
|
+
// mouse hover is the primary trigger; disabled on mobile where a tap is
|
|
23858
|
+
// ambiguous (containers commonly carry click actions)
|
|
23859
|
+
onMouseEnter: isMobile$1 ? undefined : function () { return setShowTooltip(true); },
|
|
23860
|
+
onMouseLeave: isMobile$1 ? undefined : function () { return setShowTooltip(false); },
|
|
23861
|
+
onFocus: function () { return setShowTooltip(true); },
|
|
23862
|
+
onBlur: function () { return setShowTooltip(false); }
|
|
23863
|
+
}
|
|
23864
|
+
: {};
|
|
23608
23865
|
if (!node.isElement) {
|
|
23609
|
-
var properties = (
|
|
23610
|
-
var actions_1 = (
|
|
23611
|
-
var
|
|
23866
|
+
var properties = (_c = node.properties) !== null && _c !== void 0 ? _c : {};
|
|
23867
|
+
var actions_1 = (_d = properties.actions) !== null && _d !== void 0 ? _d : [];
|
|
23868
|
+
var _g = __read(getCellStyle(node, undefined, form.formSettings.mobileBreakpoint), 3), _h = _g[1], cellHoverStyle = _h === void 0 ? {} : _h, _j = _g[2], cellActiveStyle = _j === void 0 ? {} : _j;
|
|
23612
23869
|
var selectableStyles = actions_1.length > 0
|
|
23613
23870
|
? exports.__assign(exports.__assign({ cursor: 'pointer', transition: '0.2s ease opacity, color, background-color, border-width, border-color, outline, box-shadow' }, (selected ? cellActiveStyle : {})), { '&:hover': cellHoverStyle }) : {};
|
|
23614
23871
|
handleClick = function (e) {
|
|
@@ -23629,7 +23886,7 @@ var Container = function (_a) {
|
|
|
23629
23886
|
};
|
|
23630
23887
|
Object.assign(additionalCss, selectableStyles);
|
|
23631
23888
|
}
|
|
23632
|
-
return (jsx$1(StyledContainer, exports.__assign({ ref: ref, node: node, css: additionalCss, onClick: handleClick, viewport: viewport, breakpoint: form.formSettings.mobileBreakpoint }, { children: children })));
|
|
23889
|
+
return (jsxs(Fragment, { children: [jsx$1(StyledContainer, exports.__assign({ ref: ref, node: node, css: additionalCss, onClick: handleClick, viewport: viewport, breakpoint: form.formSettings.mobileBreakpoint }, tooltipHoverProps, { children: children })), tooltipText && (jsx$1(HoverTooltip, { show: showTooltip, triggerRef: ref, text: tooltipText, id: node.id, onHide: function () { return setShowTooltip(false); }, maxWidth: '320px' }))] }));
|
|
23633
23890
|
};
|
|
23634
23891
|
|
|
23635
23892
|
function transformCalendlyParams(config) {
|
|
@@ -24265,7 +24522,24 @@ function QuikFormViewer(_a) {
|
|
|
24265
24522
|
};
|
|
24266
24523
|
}, [setShow]);
|
|
24267
24524
|
if (!htmlContent)
|
|
24268
|
-
return jsx$1("div", {
|
|
24525
|
+
return (jsx$1("div", exports.__assign({ css: {
|
|
24526
|
+
display: 'flex',
|
|
24527
|
+
alignItems: 'center',
|
|
24528
|
+
justifyContent: 'center',
|
|
24529
|
+
width: '100%',
|
|
24530
|
+
height: '100%',
|
|
24531
|
+
minHeight: 200
|
|
24532
|
+
} }, { children: jsxs("div", exports.__assign({ css: {
|
|
24533
|
+
display: 'flex',
|
|
24534
|
+
flexDirection: 'column',
|
|
24535
|
+
alignItems: 'center',
|
|
24536
|
+
gap: 16
|
|
24537
|
+
} }, { children: [jsx$1("div", exports.__assign({ css: { fontSize: 28 } }, { children: jsx$1(FeatherySpinner, {}) })), jsx$1("span", exports.__assign({ css: {
|
|
24538
|
+
fontFamily: "'Helvetica Neue', helvetica, arial, sans-serif",
|
|
24539
|
+
fontSize: 16,
|
|
24540
|
+
fontWeight: 400,
|
|
24541
|
+
color: '#414859'
|
|
24542
|
+
} }, { children: "Generating your paperwork. Please wait..." }))] })) })));
|
|
24269
24543
|
return (jsx$1("div", exports.__assign({ css: inline
|
|
24270
24544
|
? { width: '100%', height: '100%', overflow: 'auto' }
|
|
24271
24545
|
: {
|
|
@@ -41095,7 +41369,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41095
41369
|
}, [activeStep, stepKey, formName]);
|
|
41096
41370
|
}
|
|
41097
41371
|
|
|
41098
|
-
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41372
|
+
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.Bv_PnXs-.js'); }).then(function (n) { return n.AssistantChat; }); });
|
|
41099
41373
|
var AssistantChat = function (props) { return (jsx$1(React.Suspense, exports.__assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, exports.__assign({}, props)) }))); };
|
|
41100
41374
|
|
|
41101
41375
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -45136,7 +45410,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45136
45410
|
case 0:
|
|
45137
45411
|
_a.trys.push([0, 2, , 3]);
|
|
45138
45412
|
return [4 /*yield*/, Promise.resolve().then(function () { return require(
|
|
45139
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45413
|
+
/* webpackChunkName: "segment" */ './fthry_index.BPYIEjMq.js'); }).then(function (n) { return n.index; })];
|
|
45140
45414
|
case 1:
|
|
45141
45415
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45142
45416
|
return [3 /*break*/, 3];
|
|
@@ -47160,7 +47434,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
47160
47434
|
*/
|
|
47161
47435
|
FeatheryClient.prototype._debouncedSubmitCustom = function (override) {
|
|
47162
47436
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
47163
|
-
var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req;
|
|
47437
|
+
var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req, removeInFlight;
|
|
47164
47438
|
var _this = this;
|
|
47165
47439
|
return __generator(this, function (_a) {
|
|
47166
47440
|
switch (_a.label) {
|
|
@@ -47173,6 +47447,13 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
47173
47447
|
if (!isInteractionDetected()) {
|
|
47174
47448
|
return [2 /*return*/];
|
|
47175
47449
|
}
|
|
47450
|
+
// If the previous flush hasn't finished yet, skip this cycle. The pending
|
|
47451
|
+
// updates stay queued and a new debounced cycle is scheduled so they get
|
|
47452
|
+
// submitted once the in-flight request completes.
|
|
47453
|
+
if (Object.keys(this.customSubmitInFlight).length) {
|
|
47454
|
+
this.debouncedSubmitCustom(override);
|
|
47455
|
+
return [2 /*return*/];
|
|
47456
|
+
}
|
|
47176
47457
|
customKeyValues = exports.__assign({}, this.pendingCustomFieldUpdates);
|
|
47177
47458
|
this.pendingCustomFieldUpdates = {}; // Clear pending updates after copying them
|
|
47178
47459
|
userId = initInfo().userId;
|
|
@@ -47235,7 +47516,8 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
47235
47516
|
this._removeCustomFieldListener();
|
|
47236
47517
|
uniqueId = v4$1();
|
|
47237
47518
|
req = this.offlineRequestHandler.runOrSaveRequest(function () { return _this._fetch(url, options, true, true); }, url, options, 'submit');
|
|
47238
|
-
|
|
47519
|
+
removeInFlight = function () { return delete _this.customSubmitInFlight[uniqueId]; };
|
|
47520
|
+
this.customSubmitInFlight[uniqueId] = req.then(removeInFlight, removeInFlight);
|
|
47239
47521
|
return [4 /*yield*/, req];
|
|
47240
47522
|
case 2: return [2 /*return*/, _a.sent()];
|
|
47241
47523
|
}
|
|
@@ -47258,10 +47540,20 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
47258
47540
|
return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
|
|
47259
47541
|
case 1:
|
|
47260
47542
|
ret = _a.sent();
|
|
47261
|
-
|
|
47543
|
+
_a.label = 2;
|
|
47262
47544
|
case 2:
|
|
47545
|
+
if (!Object.keys(this.customSubmitInFlight).length) return [3 /*break*/, 5];
|
|
47546
|
+
return [4 /*yield*/, Promise.all(Object.values(this.customSubmitInFlight))];
|
|
47547
|
+
case 3:
|
|
47263
47548
|
_a.sent();
|
|
47264
|
-
|
|
47549
|
+
if (!Object.keys(this.pendingCustomFieldUpdates).length)
|
|
47550
|
+
return [3 /*break*/, 5];
|
|
47551
|
+
this.debouncedSubmitCustom(override);
|
|
47552
|
+
return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
|
|
47553
|
+
case 4:
|
|
47554
|
+
ret = _a.sent();
|
|
47555
|
+
return [3 /*break*/, 2];
|
|
47556
|
+
case 5: return [2 /*return*/, ret];
|
|
47265
47557
|
}
|
|
47266
47558
|
});
|
|
47267
47559
|
});
|
|
@@ -47771,9 +48063,9 @@ function init(sdkKey, options) {
|
|
|
47771
48063
|
if (runningInClient()) {
|
|
47772
48064
|
// Dynamically load libraries that must be client side
|
|
47773
48065
|
global.scriptjsLoadPromise = Promise.resolve().then(function () { return require(
|
|
47774
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
48066
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.Dfvbhz8G.js'); }).then(function (n) { return n.script; });
|
|
47775
48067
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
47776
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
48068
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.maDTrAYi.js'); }).then(function (n) { return n.webfontloader; });
|
|
47777
48069
|
// Client-side tracking logic
|
|
47778
48070
|
if (initState.userTracking === 'cookie') {
|
|
47779
48071
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47960,7 +48252,7 @@ function loadCompletedSteps(client) {
|
|
|
47960
48252
|
});
|
|
47961
48253
|
}
|
|
47962
48254
|
function logFeatheryBadge() {
|
|
47963
|
-
console.log('%c Feathery %c v' + "2.
|
|
48255
|
+
console.log('%c Feathery %c v' + "2.50.1" + ' ', // replaced with real version during build
|
|
47964
48256
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
47965
48257
|
}
|
|
47966
48258
|
|
|
@@ -49556,64 +49848,64 @@ function resolveLabelStyle(style, opts) {
|
|
|
49556
49848
|
|
|
49557
49849
|
var fieldLoaders = {
|
|
49558
49850
|
AddressLine1: function () {
|
|
49559
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49851
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.DmtMegnj.js'); });
|
|
49560
49852
|
},
|
|
49561
49853
|
ButtonGroupField: function () {
|
|
49562
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49854
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.Byf43ZJS.js'); });
|
|
49563
49855
|
},
|
|
49564
49856
|
CheckboxField: function () {
|
|
49565
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49857
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.C_0LGAaW.js'); });
|
|
49566
49858
|
},
|
|
49567
49859
|
CheckboxGroupField: function () {
|
|
49568
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49860
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.C5BkZnrm.js'); });
|
|
49569
49861
|
},
|
|
49570
49862
|
ColorPickerField: function () {
|
|
49571
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49863
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CXpQuMt1.js'); });
|
|
49572
49864
|
},
|
|
49573
49865
|
CustomField: function () {
|
|
49574
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49866
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.DFZUCN27.js'); });
|
|
49575
49867
|
},
|
|
49576
49868
|
DateSelectorField: function () {
|
|
49577
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49869
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.CB082HFt.js'); });
|
|
49578
49870
|
},
|
|
49579
49871
|
DropdownField: function () {
|
|
49580
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49872
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.GZc-hNji.js'); });
|
|
49581
49873
|
},
|
|
49582
49874
|
DropdownMultiField: function () {
|
|
49583
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49875
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.9V9ezpt1.js'); });
|
|
49584
49876
|
},
|
|
49585
49877
|
FileUploadField: function () {
|
|
49586
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49878
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.CXiwWMaB.js'); });
|
|
49587
49879
|
},
|
|
49588
49880
|
MatrixField: function () {
|
|
49589
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49881
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.DBDbbLL1.js'); });
|
|
49590
49882
|
},
|
|
49591
49883
|
PasswordField: function () {
|
|
49592
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49884
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.Bp0-0Hpt.js'); });
|
|
49593
49885
|
},
|
|
49594
49886
|
PaymentMethodField: function () {
|
|
49595
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49887
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DpnN0V1H.js'); });
|
|
49596
49888
|
},
|
|
49597
|
-
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49889
|
+
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.B-vFxNO_.js'); }); },
|
|
49598
49890
|
PinInputField: function () {
|
|
49599
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49891
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.B2kwLyNr.js'); });
|
|
49600
49892
|
},
|
|
49601
|
-
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49893
|
+
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.B9iGCw8F.js'); }); },
|
|
49602
49894
|
RadioButtonGroupField: function () {
|
|
49603
49895
|
return Promise.resolve().then(function () { return require(
|
|
49604
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49896
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.D698F2zZ.js'); });
|
|
49605
49897
|
},
|
|
49606
49898
|
RatingField: function () {
|
|
49607
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49899
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.DO90MI7L.js'); });
|
|
49608
49900
|
},
|
|
49609
49901
|
SignatureField: function () {
|
|
49610
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49902
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.DNf7jYzX.js'); });
|
|
49611
49903
|
},
|
|
49612
49904
|
SliderField: function () {
|
|
49613
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49905
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.CVkyw_dk.js'); });
|
|
49614
49906
|
},
|
|
49615
|
-
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49616
|
-
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49907
|
+
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.D0tdVxWg.js'); }); },
|
|
49908
|
+
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.CG2qDLCN.js'); }); }
|
|
49617
49909
|
};
|
|
49618
49910
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49619
49911
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50484,8 +50776,10 @@ function ButtonElement(_a) {
|
|
|
50484
50776
|
position: 'relative',
|
|
50485
50777
|
flex: 1,
|
|
50486
50778
|
lineHeight: 'normal'
|
|
50487
|
-
}, css: exports.__assign(exports.__assign({ borderWidth: 0, justifyContent: 'center', alignItems: 'center', border: 'none', transition: '0.2s ease all !important', '&[aria-disabled="true"]': exports.__assign(exports.__assign({ cursor: 'default !important' }, styles.getTarget('buttonDisabled')), borderStyles.disabled), '&[aria-disabled="false"]:hover': hoverStyles, '&[aria-disabled="false"].active': activeStyles }, (active === null
|
|
50779
|
+
}, css: exports.__assign(exports.__assign(exports.__assign({ borderWidth: 0, justifyContent: 'center', alignItems: 'center', border: 'none', transition: '0.2s ease all !important', '&[aria-disabled="true"]': exports.__assign(exports.__assign({ cursor: 'default !important' }, styles.getTarget('buttonDisabled')), borderStyles.disabled), '&[aria-disabled="false"]:hover': hoverStyles, '&[aria-disabled="false"].active': activeStyles }, (active === null
|
|
50488
50780
|
? { '&[aria-disabled="false"]:focus': activeStyles }
|
|
50781
|
+
: {})), (element.properties.submit
|
|
50782
|
+
? { '& > *': { pointerEvents: 'none' } }
|
|
50489
50783
|
: {})), { '&&&': styles.getTarget('button') }), "aria-disabled": buttonDisabled, onClick: handleClick, "aria-label": element.properties.aria_label }, elementProps, { children: [customBorder, children, loader ? (jsx$1("div", exports.__assign({ css: styles.getTarget('loader') }, { children: loader }))) : (jsxs(Fragment, { children: [element.properties.image && (jsx$1("img", { src: element.properties.image, css: exports.__assign(exports.__assign({}, imgMaxSizeStyles), responsiveStyles.getTargets('img')) })), element.properties.text && (jsx$1(TextNodes, { element: element, responsiveStyles: responsiveStyles, cssTarget: 'buttonLabel', editMode: editMode, disabled: disabled, focused: focused, textCallbacks: textCallbacks, featheryContext: featheryContext, expand: !element.properties.image }))] })), !element.properties.submit && (jsx$1(ErrorInput, { id: "error_".concat(element.id), name: "error_".concat(element.id), "aria-label": element.properties.aria_label }))] }), element.id));
|
|
50490
50784
|
}
|
|
50491
50785
|
|
|
@@ -50865,8 +51159,8 @@ function ElementSkeleton(_a) {
|
|
|
50865
51159
|
}
|
|
50866
51160
|
var templateObject_1;
|
|
50867
51161
|
|
|
50868
|
-
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50869
|
-
var TabsElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
51162
|
+
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.DSxhyu57.js'); }); });
|
|
51163
|
+
var TabsElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.CxiHTqRU.js'); }); });
|
|
50870
51164
|
var Basic = {
|
|
50871
51165
|
ImageElement: ImageElement,
|
|
50872
51166
|
VideoElement: VideoElement,
|
|
@@ -50912,15 +51206,18 @@ exports.FeatheryClient = FeatheryClient;
|
|
|
50912
51206
|
exports.Fragment = Fragment;
|
|
50913
51207
|
exports.Global = Global;
|
|
50914
51208
|
exports.Grid = Grid;
|
|
51209
|
+
exports.HoverTooltip = HoverTooltip;
|
|
50915
51210
|
exports.JSForm = JSForm;
|
|
50916
51211
|
exports.KEYFRAMES = KEYFRAMES;
|
|
50917
51212
|
exports.LoginForm = LoginForm;
|
|
50918
51213
|
exports.MODAL_Z_INDEX = MODAL_Z_INDEX;
|
|
50919
51214
|
exports.MOZ = MOZ;
|
|
50920
51215
|
exports.MS = MS;
|
|
51216
|
+
exports.Overlay = Overlay;
|
|
50921
51217
|
exports.RULESET = RULESET;
|
|
50922
51218
|
exports.ReactForm = ReactForm;
|
|
50923
51219
|
exports.StyledContainer = StyledContainer;
|
|
51220
|
+
exports.Tooltip = Tooltip;
|
|
50924
51221
|
exports.WEBKIT = WEBKIT;
|
|
50925
51222
|
exports.__awaiter = __awaiter$2;
|
|
50926
51223
|
exports.__extends = __extends;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AssistantChat = require('./fthry_AssistantChat.
|
|
4
|
-
require('./fthry_index.
|
|
3
|
+
var AssistantChat = require('./fthry_AssistantChat.Bv_PnXs-.js');
|
|
4
|
+
require('./fthry_index.lC_5XhON.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
7
7
|
require('jszip');
|
|
8
8
|
require('react-dom');
|
|
9
9
|
require('./fthry_clsx.BtxeOLZW.js');
|
|
10
|
-
require('./fthry_index.
|
|
10
|
+
require('./fthry_index.DXBYYUOP.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|