@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.
Files changed (165) hide show
  1. package/cjs/Form/grid/Container/index.d.ts.map +1 -1
  2. package/cjs/elements/basic/ButtonElement.d.ts.map +1 -1
  3. package/cjs/elements/components/HoverTooltip.d.ts +24 -0
  4. package/cjs/elements/components/HoverTooltip.d.ts.map +1 -0
  5. package/cjs/elements/components/InlineTooltip.d.ts.map +1 -1
  6. package/cjs/elements/components/Overlay.d.ts +1 -1
  7. package/cjs/elements/components/Overlay.d.ts.map +1 -1
  8. package/cjs/elements/components/QuikFormViewer.d.ts.map +1 -1
  9. package/cjs/elements/components/TextHoverTooltip.d.ts.map +1 -1
  10. package/cjs/elements/components/Tooltip.d.ts +2 -1
  11. package/cjs/elements/components/Tooltip.d.ts.map +1 -1
  12. package/cjs/{fthry_AssistantChat.BuqbKhai.js → fthry_AssistantChat.Bv_PnXs-.js} +4 -4
  13. package/cjs/{fthry_FormControl.BuMQfeZ1.js → fthry_FormControl.BAksZlDz.js} +1 -1
  14. package/cjs/{fthry_InlineTooltip.D8PDRhj_.js → fthry_InlineTooltip.DplyptTz.js} +2 -16
  15. package/cjs/{fthry_PaymentMethodField.myalaaOZ.js → fthry_PaymentMethodField.DpnN0V1H.js} +3 -4
  16. package/cjs/{fthry_Placeholder.UOTZToMt.js → fthry_Placeholder.5Mvr4ask.js} +1 -1
  17. package/cjs/{fthry_ShowEyeIcon.D8qDJDzZ.js → fthry_ShowEyeIcon.5HKujzSD.js} +1 -1
  18. package/cjs/{fthry_TabsElement.BK0wFYNE.js → fthry_TabsElement.CxiHTqRU.js} +1 -1
  19. package/cjs/{fthry_auto-track.B5EtzK5A.js → fthry_auto-track.DV30-QdL.js} +2 -2
  20. package/cjs/{fthry_highlighted-body-TPN3WLV5.BEO11ycd.js → fthry_highlighted-body-TPN3WLV5.CtyrCPuE.js} +3 -3
  21. package/cjs/{fthry_index.BFw_StvJ.js → fthry_index.0UtK4ObD.js} +2 -2
  22. package/cjs/{fthry_index.B_0S-igL.js → fthry_index.9V9ezpt1.js} +5 -6
  23. package/cjs/{fthry_index.CP8jeStb.js → fthry_index.B-vFxNO_.js} +6 -7
  24. package/cjs/{fthry_index.CrgFXYzE.js → fthry_index.B2kwLyNr.js} +1 -1
  25. package/cjs/{fthry_index.C9AIy59J.js → fthry_index.B9iGCw8F.js} +2 -2
  26. package/cjs/{fthry_index.DgGKGO1E.js → fthry_index.BPYIEjMq.js} +10 -10
  27. package/cjs/{fthry_index.OwukJO9-.js → fthry_index.BQKxTWNQ.js} +2 -2
  28. package/cjs/{fthry_index.BcfL5ZZY.js → fthry_index.BUVzO2k5.js} +1 -1
  29. package/cjs/{fthry_index.7ndzGWiJ.js → fthry_index.Bp0-0Hpt.js} +4 -5
  30. package/cjs/{fthry_index.b8IraXmQ.js → fthry_index.Byf43ZJS.js} +3 -4
  31. package/cjs/{fthry_index.B6qHn3Vr.js → fthry_index.C5BkZnrm.js} +5 -6
  32. package/cjs/{fthry_index.DrrJo2Gf.js → fthry_index.CB082HFt.js} +5 -6
  33. package/cjs/{fthry_index.CHLGQEBH.js → fthry_index.CG2qDLCN.js} +3 -4
  34. package/cjs/{fthry_index.cpUxhiq-.js → fthry_index.CVkyw_dk.js} +2 -2
  35. package/cjs/{fthry_index.BU9fFX-g.js → fthry_index.CXiwWMaB.js} +1 -1
  36. package/cjs/{fthry_index.C2vpx_Q9.js → fthry_index.CXpQuMt1.js} +1 -1
  37. package/cjs/{fthry_index.DTMlYZBn.js → fthry_index.C_0LGAaW.js} +1 -1
  38. package/cjs/{fthry_index.964D9mAK.js → fthry_index.Cbfqikpc.js} +2 -2
  39. package/cjs/{fthry_index.DKv8MgEz.js → fthry_index.D0tdVxWg.js} +8 -9
  40. package/cjs/{fthry_index.w9-CuoQH.js → fthry_index.D698F2zZ.js} +5 -6
  41. package/cjs/{fthry_index.C6ebZNtr.js → fthry_index.DBDbbLL1.js} +3 -18
  42. package/cjs/{fthry_index.D0My8MmY.js → fthry_index.DFZUCN27.js} +1 -1
  43. package/cjs/{fthry_index.BmILtMAD.js → fthry_index.DNf7jYzX.js} +3 -3
  44. package/cjs/{fthry_index.DPIewKZa.js → fthry_index.DO90MI7L.js} +1 -1
  45. package/cjs/{fthry_index.DHx_H1T3.js → fthry_index.DSxhyu57.js} +1 -1
  46. package/cjs/{fthry_index.BvnQTPSY.js → fthry_index.DXBYYUOP.js} +1 -1
  47. package/cjs/{fthry_index.CoZzaKnE.js → fthry_index.DmtMegnj.js} +5 -6
  48. package/cjs/{fthry_index.e_GKEQRk.js → fthry_index.Dx62aGHl.js} +1 -1
  49. package/cjs/{fthry_index.BckiEDZJ.js → fthry_index.GZc-hNji.js} +4 -5
  50. package/cjs/{fthry_index.BRo8czXJ.js → fthry_index.OHud4Plq.js} +2 -2
  51. package/cjs/{fthry_index.C-kN7c0o.js → fthry_index.lC_5XhON.js} +340 -43
  52. package/cjs/{fthry_index.umd.YAgbegYu.js → fthry_index.umd.DCBQBTfy.js} +1 -1
  53. package/cjs/{fthry_input.D3t8liSW.js → fthry_input.3B0IH5fK.js} +1 -1
  54. package/cjs/{fthry_mermaid-O7DHMXV3.C5wDh0Pr.js → fthry_mermaid-O7DHMXV3.BwkCSjZC.js} +3 -3
  55. package/cjs/{fthry_script.sEVfx6Kl.js → fthry_script.Dfvbhz8G.js} +1 -1
  56. package/cjs/{fthry_styles.CFNJAwLy.js → fthry_styles.BecNWwfa.js} +1 -1
  57. package/cjs/{fthry_useElementSize.yeWmUfpM.js → fthry_useElementSize.D9fwVm32.js} +1 -1
  58. package/cjs/{fthry_useSalesforceSync.C_sMWo9m.js → fthry_useSalesforceSync.B8WpZf2e.js} +1 -1
  59. package/cjs/{fthry_webfontloader.DLiAwukX.js → fthry_webfontloader.maDTrAYi.js} +1 -1
  60. package/cjs/index.js +1 -1
  61. package/cjs/thumbnail-renderer.js +1 -1
  62. package/cjs/utils/featheryClient/index.d.ts.map +1 -1
  63. package/cjs/utils/featheryClient/integrationClient.d.ts +1 -1
  64. package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
  65. package/cjs/utils/internalState.d.ts +1 -0
  66. package/cjs/utils/internalState.d.ts.map +1 -1
  67. package/dist/Form/grid/Container/index.d.ts.map +1 -1
  68. package/dist/elements/basic/ButtonElement.d.ts.map +1 -1
  69. package/dist/elements/components/HoverTooltip.d.ts +24 -0
  70. package/dist/elements/components/HoverTooltip.d.ts.map +1 -0
  71. package/dist/elements/components/InlineTooltip.d.ts.map +1 -1
  72. package/dist/elements/components/Overlay.d.ts +1 -1
  73. package/dist/elements/components/Overlay.d.ts.map +1 -1
  74. package/dist/elements/components/QuikFormViewer.d.ts.map +1 -1
  75. package/dist/elements/components/TextHoverTooltip.d.ts.map +1 -1
  76. package/dist/elements/components/Tooltip.d.ts +2 -1
  77. package/dist/elements/components/Tooltip.d.ts.map +1 -1
  78. package/dist/{fthry_AssistantChat.BejpFcyu.js → fthry_AssistantChat.BWUYjfwA.js} +4 -4
  79. package/dist/{fthry_FormControl.C3pHyJdN.js → fthry_FormControl.gQmC3Q_5.js} +1 -1
  80. package/dist/{fthry_InlineTooltip.mv-Gc2Xw.js → fthry_InlineTooltip.M1XQiZpn.js} +2 -16
  81. package/dist/{fthry_PaymentMethodField.D7ElRh4C.js → fthry_PaymentMethodField.DEs0It74.js} +3 -4
  82. package/dist/{fthry_Placeholder.CRBysDun.js → fthry_Placeholder.B8e4W9VJ.js} +1 -1
  83. package/dist/{fthry_ShowEyeIcon.Ds0oud66.js → fthry_ShowEyeIcon.DdLap_w9.js} +1 -1
  84. package/dist/{fthry_TabsElement.BCuhzX6e.js → fthry_TabsElement.DpJTusbm.js} +1 -1
  85. package/dist/{fthry_auto-track.Dbu38K5j.js → fthry_auto-track.HTzxPnUa.js} +2 -2
  86. package/dist/{fthry_highlighted-body-TPN3WLV5.Cuh_lSww.js → fthry_highlighted-body-TPN3WLV5.kj3f_DpN.js} +3 -3
  87. package/dist/{fthry_index.NwQXVZvL.js → fthry_index.B8mrrhCT.js} +3 -3
  88. package/dist/{fthry_index.DJHFwZtE.js → fthry_index.BBhLiIOO.js} +4 -5
  89. package/dist/{fthry_index.Du_mis5t.js → fthry_index.BDiGpbY8.js} +3 -18
  90. package/dist/{fthry_index.B31t0UUz.js → fthry_index.BNN_GnRE.js} +2 -2
  91. package/dist/{fthry_index.C8wcBfv1.js → fthry_index.Bo8U-enX.js} +1 -1
  92. package/dist/{fthry_index.T_q8o1IJ.js → fthry_index.Bq05T75f.js} +1 -1
  93. package/dist/{fthry_index.CQaO0qYK.js → fthry_index.Bx652TAg.js} +1 -1
  94. package/dist/{fthry_index.B8QhrENg.js → fthry_index.C0iUe75-.js} +1 -1
  95. package/dist/{fthry_index.5jB_IKHJ.js → fthry_index.C4_1X7GA.js} +5 -6
  96. package/dist/{fthry_index.aL99gjHK.js → fthry_index.CIqCJp4_.js} +4 -5
  97. package/dist/{fthry_index.Bx6S1qZa.js → fthry_index.CNFIYUXl.js} +2 -2
  98. package/dist/{fthry_index.Bb2rQlTP.js → fthry_index.CQOB3Ugj.js} +3 -4
  99. package/dist/{fthry_index.CreqHrWa.js → fthry_index.CVJtI2Xl.js} +1 -1
  100. package/dist/{fthry_index.BEUoZUyK.js → fthry_index.CWe8WGnw.js} +1 -1
  101. package/dist/{fthry_index.CWSqgxAa.js → fthry_index.CkW0oER4.js} +5 -6
  102. package/dist/{fthry_index.D4jtsTFt.js → fthry_index.CyvJ8-bB.js} +2 -2
  103. package/dist/{fthry_index.YJH2_M8x.js → fthry_index.D0Cgvg7i.js} +3 -4
  104. package/dist/{fthry_index.0OEg6H3i.js → fthry_index.D1WDrqdZ.js} +1 -1
  105. package/dist/{fthry_index.YWCe9xut.js → fthry_index.D4NYHwF9.js} +7 -8
  106. package/dist/{fthry_index.xZSdf7ry.js → fthry_index.D7yot10w.js} +1 -1
  107. package/dist/{fthry_index.DeOBTZSR.js → fthry_index.DIAR7NXW.js} +2 -2
  108. package/dist/{fthry_index.DS-rgCeg.js → fthry_index.DTmSNKnS.js} +5 -6
  109. package/dist/{fthry_index.DJzR8T-r.js → fthry_index.DXY-WeCY.js} +4 -5
  110. package/dist/{fthry_index.B0NbPkQc.js → fthry_index.Dav1_JFe.js} +1 -1
  111. package/dist/{fthry_index.DEpC-Z5v.js → fthry_index.DfrV6A68.js} +4 -5
  112. package/dist/{fthry_index.BgljRyhO.js → fthry_index.DpXk-u8o.js} +10 -10
  113. package/dist/{fthry_index.BnWgnMbc.js → fthry_index.Dt6zQK3e.js} +4 -5
  114. package/dist/{fthry_index.B-NWpaAl.js → fthry_index.DzM7hukc.js} +2 -2
  115. package/dist/{fthry_index.cdWJRcXS.js → fthry_index.ptJrcCPy.js} +338 -44
  116. package/dist/{fthry_index.C2TazyZo.js → fthry_index.r1TNpIHy.js} +1 -1
  117. package/dist/{fthry_index.umd.BYgeEgf8.js → fthry_index.umd.C9mURNOx.js} +1 -1
  118. package/dist/{fthry_index._4LdTVJS.js → fthry_index.znErF4eB.js} +2 -2
  119. package/dist/{fthry_input.DbXz6y8m.js → fthry_input.C-ByVjA4.js} +1 -1
  120. package/dist/fthry_mermaid-O7DHMXV3.BLTan-1s.js +8 -0
  121. package/dist/{fthry_script.BORBdvL8.js → fthry_script.DvAaqiBk.js} +1 -1
  122. package/dist/{fthry_styles.BfxKVFUw.js → fthry_styles.DwzdoBlX.js} +1 -1
  123. package/dist/{fthry_useElementSize.BIz4pNfw.js → fthry_useElementSize.9DmbhgBu.js} +1 -1
  124. package/dist/{fthry_useSalesforceSync.wO8Y6yIk.js → fthry_useSalesforceSync.qRdq0wu3.js} +1 -1
  125. package/dist/{fthry_webfontloader.D4WGyNNh.js → fthry_webfontloader.B5npG4_8.js} +1 -1
  126. package/dist/index.js +2 -2
  127. package/dist/thumbnail-renderer.js +1 -1
  128. package/dist/utils/featheryClient/index.d.ts.map +1 -1
  129. package/dist/utils/featheryClient/integrationClient.d.ts +1 -1
  130. package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
  131. package/dist/utils/internalState.d.ts +1 -0
  132. package/dist/utils/internalState.d.ts.map +1 -1
  133. package/package.json +1 -1
  134. package/umd/AddressField.4a4788a40afba5fc22d2.js +1 -0
  135. package/umd/ButtonGroupField.fcf087a9664e14da7fc5.js +1 -0
  136. package/umd/CheckboxGroupField.7b055043cbd1ef8b3787.js +1 -0
  137. package/umd/DateSelectorField.b87988253da02a40c6f7.js +1 -0
  138. package/umd/DropdownField.459ba798e2ff6a8518c2.js +1 -0
  139. package/umd/DropdownMultiField.ad59b04c5e3c1ad1a6e8.js +1 -0
  140. package/umd/MatrixField.6541a0f9570b2c56e336.js +1 -0
  141. package/umd/PasswordField.fb8f587107389274112e.js +1 -0
  142. package/umd/PaymentMethodField.f6820da8252bb2eed6b1.js +1 -0
  143. package/umd/PhoneField.a161db93d8f815ced395.js +1 -0
  144. package/umd/RadioButtonGroupField.9a43334b87129e33afd2.js +1 -0
  145. package/umd/TextArea.8341b3d302383a53175d.js +1 -0
  146. package/umd/TextField.fa9f11c4b1fab1747ae1.js +1 -0
  147. package/umd/index.js +1 -1
  148. package/cjs/fthry_Overlay.D-NnFWEe.js +0 -231
  149. package/dist/fthry_Overlay.CPbgvfMU.js +0 -228
  150. package/dist/fthry_mermaid-O7DHMXV3.BTTUMTMH.js +0 -8
  151. package/umd/277.1a33ea06f86326613fcb.js +0 -1
  152. package/umd/664.4a3ec465094a3d59c184.js +0 -1
  153. package/umd/AddressField.648b3da916171008dc9f.js +0 -1
  154. package/umd/ButtonGroupField.d39ac976a6dee9ef593a.js +0 -1
  155. package/umd/CheckboxGroupField.e495eb152c4faa000d4b.js +0 -1
  156. package/umd/DateSelectorField.e702b3e6b0a5b498c824.js +0 -1
  157. package/umd/DropdownField.d1a234d236d9989bbf20.js +0 -1
  158. package/umd/DropdownMultiField.5b4e24025035f1678c83.js +0 -1
  159. package/umd/MatrixField.bcd6f58ea1896f386988.js +0 -1
  160. package/umd/PasswordField.593d7b7d3d954634fa30.js +0 -1
  161. package/umd/PaymentMethodField.8e4fd6353793eaaa2b5b.js +0 -1
  162. package/umd/PhoneField.861b99c7e81b4b9c8648.js +0 -1
  163. package/umd/RadioButtonGroupField.7a333a6f7e578a181a98.js +0 -1
  164. package/umd/TextArea.04335be4f0f0d6c0cc1a.js +0 -1
  165. package/umd/TextField.749931ebb258bf38e007.js +0 -1
@@ -9223,7 +9223,7 @@ var IntegrationClient = /** @class */ (function () {
9223
9223
  };
9224
9224
  IntegrationClient.prototype.sendDocusignEnvelope = function (_a) {
9225
9225
  var _this = this;
9226
- var documents = _a.documents, libraryDocuments = _a.libraryDocuments, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers, existingEnvelopeId = _a.existingEnvelopeId;
9226
+ 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;
9227
9227
  var userId = initInfo().userId;
9228
9228
  var url = "".concat(API_URL, "docusign/envelope/");
9229
9229
  var options = {
@@ -9238,7 +9238,8 @@ var IntegrationClient = /** @class */ (function () {
9238
9238
  email_subject: emailSubject,
9239
9239
  email_blurb: emailBlurb,
9240
9240
  signers: signers,
9241
- docusign_envelope_id: existingEnvelopeId
9241
+ docusign_envelope_id: existingEnvelopeId,
9242
+ draft: draft
9242
9243
  })
9243
9244
  };
9244
9245
  return this._fetch(url, options, false).then(function (response) { return __awaiter$2(_this, void 0, void 0, function () {
@@ -23573,21 +23574,277 @@ var StyledContainer = forwardRef(function (_a, ref) {
23573
23574
  return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", __assign({ className: classNames('styled-container', type, className) }, props, { css: __assign(__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", __assign({ ref: ref, css: isFixed ? __assign(__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", __assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
23574
23575
  });
23575
23576
 
23577
+ var Tooltip = function (_a) {
23578
+ var children = _a.children, css = _a.css, _b = _a.maxWidth, maxWidth = _b === void 0 ? '200px' : _b, props = __rest$1(_a, ["children", "css", "maxWidth"]);
23579
+ return (jsx$1("div", __assign({ css: __assign({ zIndex: FORM_Z_INDEX + 1, padding: '.4rem 0', transition: 'opacity .10s linear', '.tooltip-inner': {
23580
+ maxWidth: maxWidth,
23581
+ padding: '.25rem .5rem',
23582
+ color: '#fff',
23583
+ textAlign: 'center',
23584
+ backgroundColor: '#000',
23585
+ borderRadius: '.25rem',
23586
+ fontSize: 'smaller',
23587
+ // break long unbroken words so they wrap instead of overflowing
23588
+ overflowWrap: 'anywhere'
23589
+ } }, css) }, props, { children: jsx$1("div", __assign({ className: 'tooltip-inner' }, { children: children })) })));
23590
+ };
23591
+
23592
+ var Overlay = function (_a) {
23593
+ 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;
23594
+ var ref = useRef(null);
23595
+ var _e = __read(useState(null), 2), position = _e[0], setPosition = _e[1];
23596
+ var getContainer = useCallback(function () {
23597
+ return (containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) || featheryDoc().body;
23598
+ }, [containerRef]);
23599
+ var recalcPosition = useCallback(function () {
23600
+ var _a;
23601
+ if (!show || !targetRef.current || !ref.current)
23602
+ return;
23603
+ var window = featheryWindow();
23604
+ var container = getContainer();
23605
+ if (!container)
23606
+ return;
23607
+ var targetRect = targetRef.current.getBoundingClientRect();
23608
+ var overlayRect = ref.current.getBoundingClientRect();
23609
+ var containerRect = container.getBoundingClientRect();
23610
+ var _b = calcPosition(placement, targetRect, overlayRect, offset), top = _b.top, left = _b.left;
23611
+ // Flip if it doesn’t fit
23612
+ var overlayBottom = top + overlayRect.height;
23613
+ var overlayRight = left + overlayRect.width;
23614
+ var fitsVertically = top >= 0 && overlayBottom <= window.innerHeight;
23615
+ var fitsHorizontally = left >= 0 && overlayRight <= window.innerWidth;
23616
+ if (!fitsVertically || !fitsHorizontally) {
23617
+ var flipped = getFlippedPlacement(placement, !fitsVertically, !fitsHorizontally);
23618
+ if (flipped !== placement) {
23619
+ (_a = calcPosition(flipped, targetRect, overlayRect, offset), top = _a.top, left = _a.left);
23620
+ }
23621
+ }
23622
+ var isBodyContainer = container === featheryDoc().body;
23623
+ var finalTop = isBodyContainer
23624
+ ? top + window.scrollY
23625
+ : top - containerRect.top;
23626
+ var finalLeft = isBodyContainer
23627
+ ? left + window.scrollX
23628
+ : left - containerRect.left;
23629
+ setPosition(function (prev) {
23630
+ if (!prev || prev.top !== finalTop || prev.left !== finalLeft) {
23631
+ return { top: finalTop, left: finalLeft };
23632
+ }
23633
+ return prev;
23634
+ });
23635
+ }, [show, placement, offset, getContainer, targetRef]);
23636
+ var throttledRecalc = useCallback(function () {
23637
+ var ticking = false;
23638
+ return function () {
23639
+ if (!ticking) {
23640
+ ticking = true;
23641
+ requestAnimationFrame(function () {
23642
+ recalcPosition();
23643
+ ticking = false;
23644
+ });
23645
+ }
23646
+ };
23647
+ }, [recalcPosition])();
23648
+ useLayoutEffect(function () {
23649
+ if (show)
23650
+ recalcPosition();
23651
+ }, [show, recalcPosition]);
23652
+ useEffect(function () {
23653
+ if (!show)
23654
+ return;
23655
+ var window = featheryWindow();
23656
+ var container = getContainer();
23657
+ if (!container)
23658
+ return;
23659
+ window.addEventListener('resize', throttledRecalc);
23660
+ window.addEventListener('scroll', throttledRecalc, true);
23661
+ if (container !== featheryDoc().body) {
23662
+ container.addEventListener('scroll', throttledRecalc);
23663
+ }
23664
+ var resizeObserver = new ResizeObserver(function () { return throttledRecalc(); });
23665
+ if (targetRef.current)
23666
+ resizeObserver.observe(targetRef.current);
23667
+ if (container !== featheryDoc().body)
23668
+ resizeObserver.observe(container);
23669
+ return function () {
23670
+ window.removeEventListener('resize', throttledRecalc);
23671
+ window.removeEventListener('scroll', throttledRecalc, true);
23672
+ if (container !== featheryDoc().body) {
23673
+ container.removeEventListener('scroll', throttledRecalc);
23674
+ }
23675
+ resizeObserver.disconnect();
23676
+ };
23677
+ }, [show, throttledRecalc, getContainer, targetRef]);
23678
+ useEffect(function () {
23679
+ if (!show)
23680
+ return;
23681
+ var handleKeyDown = function (event) {
23682
+ if (event.key === 'Escape') {
23683
+ setPosition(null);
23684
+ onHide === null || onHide === void 0 ? void 0 : onHide();
23685
+ }
23686
+ };
23687
+ var handleClickOutside = function (event) {
23688
+ var target = event.target;
23689
+ if (ref.current &&
23690
+ !ref.current.contains(target) &&
23691
+ targetRef.current &&
23692
+ !targetRef.current.contains(target)) {
23693
+ setPosition(null);
23694
+ onHide === null || onHide === void 0 ? void 0 : onHide();
23695
+ }
23696
+ };
23697
+ var doc = featheryDoc();
23698
+ doc.addEventListener('mousedown', handleClickOutside);
23699
+ doc.addEventListener('keydown', handleKeyDown);
23700
+ return function () {
23701
+ doc.removeEventListener('mousedown', handleClickOutside);
23702
+ doc.removeEventListener('keydown', handleKeyDown);
23703
+ };
23704
+ }, [show, onHide, targetRef]);
23705
+ if (!show)
23706
+ return null;
23707
+ var container = getContainer();
23708
+ if (!container)
23709
+ return jsx$1(Fragment, { children: children });
23710
+ return createPortal(jsx$1("div", __assign({ ref: ref, style: __assign(__assign({ position: 'absolute' }, (position || { top: -9999, left: -9999 })), { zIndex: zIndex }) }, { children: children })), container);
23711
+ };
23712
+ var getFlippedPlacement = function (original, needsVerticalFlip, needsHorizontalFlip) {
23713
+ if (needsVerticalFlip) {
23714
+ if (original.includes('top')) {
23715
+ return original.replace('top', 'bottom');
23716
+ }
23717
+ if (original.includes('bottom')) {
23718
+ return original.replace('bottom', 'top');
23719
+ }
23720
+ }
23721
+ if (needsHorizontalFlip) {
23722
+ if (original.includes('left')) {
23723
+ return original.replace('left', 'right');
23724
+ }
23725
+ if (original.includes('right')) {
23726
+ return original.replace('right', 'left');
23727
+ }
23728
+ }
23729
+ return original;
23730
+ };
23731
+ var calcPosition = function (pl, targetRect, overlayRect, offset) {
23732
+ if (offset === void 0) { offset = 0; }
23733
+ switch (pl) {
23734
+ case 'top':
23735
+ return {
23736
+ top: targetRect.top - overlayRect.height - offset,
23737
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23738
+ };
23739
+ case 'top-start':
23740
+ return {
23741
+ top: targetRect.top - overlayRect.height - offset,
23742
+ left: targetRect.left
23743
+ };
23744
+ case 'top-end':
23745
+ return {
23746
+ top: targetRect.top - overlayRect.height - offset,
23747
+ left: targetRect.right - overlayRect.width
23748
+ };
23749
+ case 'left':
23750
+ return {
23751
+ top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
23752
+ left: targetRect.left - overlayRect.width - offset
23753
+ };
23754
+ case 'left-start':
23755
+ return {
23756
+ top: targetRect.top,
23757
+ left: targetRect.left - overlayRect.width - offset
23758
+ };
23759
+ case 'left-end':
23760
+ return {
23761
+ top: targetRect.bottom - overlayRect.height,
23762
+ left: targetRect.left - overlayRect.width - offset
23763
+ };
23764
+ case 'bottom':
23765
+ return {
23766
+ top: targetRect.bottom + offset,
23767
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23768
+ };
23769
+ case 'bottom-start':
23770
+ return {
23771
+ top: targetRect.bottom + offset,
23772
+ left: targetRect.left
23773
+ };
23774
+ case 'bottom-end':
23775
+ return {
23776
+ top: targetRect.bottom + offset,
23777
+ left: targetRect.right - overlayRect.width
23778
+ };
23779
+ case 'right':
23780
+ return {
23781
+ top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
23782
+ left: targetRect.right + offset
23783
+ };
23784
+ case 'right-start':
23785
+ return {
23786
+ top: targetRect.top,
23787
+ left: targetRect.right + offset
23788
+ };
23789
+ case 'right-end':
23790
+ return {
23791
+ top: targetRect.bottom - overlayRect.height,
23792
+ left: targetRect.right + offset
23793
+ };
23794
+ default:
23795
+ return {
23796
+ top: targetRect.bottom + offset,
23797
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23798
+ };
23799
+ }
23800
+ };
23801
+
23802
+ /**
23803
+ * Shared overlay-anchored tooltip used by InlineTooltip (field help icon),
23804
+ * TextHoverTooltip (hoverable text), and container hover tooltips. Renders the
23805
+ * styled Tooltip inside an Overlay anchored to the provided trigger ref. The
23806
+ * caller owns the show state and the trigger element + its event handlers.
23807
+ */
23808
+ function HoverTooltip(_a) {
23809
+ 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;
23810
+ if (!text)
23811
+ return null;
23812
+ return (jsx$1(Overlay, __assign({ show: show, targetRef: triggerRef, containerRef: containerRef, placement: placement, onHide: onHide, offset: offset }, { children: jsx$1(Tooltip, __assign({ id: "tooltip-".concat(id), css: css, maxWidth: maxWidth }, { children: text })) })));
23813
+ }
23814
+
23576
23815
  /**
23577
23816
  * Container
23578
23817
  * This component adds additional logic to the StyledContainer that is unique
23579
23818
  * to rendering containers on hosted forms (not the editor).
23580
23819
  */
23581
23820
  var Container = function (_a) {
23582
- var _b, _c;
23583
- var node = _a.node, _d = _a.runElementActions, runElementActions = _d === void 0 ? function () { } : _d, selected = _a.selected, viewport = _a.viewport, form = _a.form, children = _a.children;
23821
+ var _b, _c, _d;
23822
+ 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;
23584
23823
  var ref = useRef(null);
23824
+ var _f = __read(useState(false), 2), showTooltip = _f[0], setShowTooltip = _f[1];
23585
23825
  var additionalCss = {};
23586
23826
  var handleClick;
23827
+ // Container-level hover tooltips apply only to actual containers. Field
23828
+ // elements share the same `tooltipText` property but render their own
23829
+ // icon-based InlineTooltip, so they must be excluded here.
23830
+ var tooltipText = !node.isElement && ((_b = node.properties) === null || _b === void 0 ? void 0 : _b.tooltipText)
23831
+ ? replaceTextVariables(node.properties.tooltipText, node.repeat)
23832
+ : '';
23833
+ var isMobile$1 = isMobile();
23834
+ var tooltipHoverProps = tooltipText
23835
+ ? {
23836
+ // mouse hover is the primary trigger; disabled on mobile where a tap is
23837
+ // ambiguous (containers commonly carry click actions)
23838
+ onMouseEnter: isMobile$1 ? undefined : function () { return setShowTooltip(true); },
23839
+ onMouseLeave: isMobile$1 ? undefined : function () { return setShowTooltip(false); },
23840
+ onFocus: function () { return setShowTooltip(true); },
23841
+ onBlur: function () { return setShowTooltip(false); }
23842
+ }
23843
+ : {};
23587
23844
  if (!node.isElement) {
23588
- var properties = (_b = node.properties) !== null && _b !== void 0 ? _b : {};
23589
- var actions_1 = (_c = properties.actions) !== null && _c !== void 0 ? _c : [];
23590
- var _e = __read(getCellStyle(node, undefined, form.formSettings.mobileBreakpoint), 3), _f = _e[1], cellHoverStyle = _f === void 0 ? {} : _f, _g = _e[2], cellActiveStyle = _g === void 0 ? {} : _g;
23845
+ var properties = (_c = node.properties) !== null && _c !== void 0 ? _c : {};
23846
+ var actions_1 = (_d = properties.actions) !== null && _d !== void 0 ? _d : [];
23847
+ 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;
23591
23848
  var selectableStyles = actions_1.length > 0
23592
23849
  ? __assign(__assign({ cursor: 'pointer', transition: '0.2s ease opacity, color, background-color, border-width, border-color, outline, box-shadow' }, (selected ? cellActiveStyle : {})), { '&:hover': cellHoverStyle }) : {};
23593
23850
  handleClick = function (e) {
@@ -23608,7 +23865,7 @@ var Container = function (_a) {
23608
23865
  };
23609
23866
  Object.assign(additionalCss, selectableStyles);
23610
23867
  }
23611
- return (jsx$1(StyledContainer, __assign({ ref: ref, node: node, css: additionalCss, onClick: handleClick, viewport: viewport, breakpoint: form.formSettings.mobileBreakpoint }, { children: children })));
23868
+ return (jsxs(Fragment, { children: [jsx$1(StyledContainer, __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' }))] }));
23612
23869
  };
23613
23870
 
23614
23871
  function transformCalendlyParams(config) {
@@ -24244,7 +24501,24 @@ function QuikFormViewer(_a) {
24244
24501
  };
24245
24502
  }, [setShow]);
24246
24503
  if (!htmlContent)
24247
- return jsx$1("div", { children: "Loading..." });
24504
+ return (jsx$1("div", __assign({ css: {
24505
+ display: 'flex',
24506
+ alignItems: 'center',
24507
+ justifyContent: 'center',
24508
+ width: '100%',
24509
+ height: '100%',
24510
+ minHeight: 200
24511
+ } }, { children: jsxs("div", __assign({ css: {
24512
+ display: 'flex',
24513
+ flexDirection: 'column',
24514
+ alignItems: 'center',
24515
+ gap: 16
24516
+ } }, { children: [jsx$1("div", __assign({ css: { fontSize: 28 } }, { children: jsx$1(FeatherySpinner$1, {}) })), jsx$1("span", __assign({ css: {
24517
+ fontFamily: "'Helvetica Neue', helvetica, arial, sans-serif",
24518
+ fontSize: 16,
24519
+ fontWeight: 400,
24520
+ color: '#414859'
24521
+ } }, { children: "Generating your paperwork. Please wait..." }))] })) })));
24248
24522
  return (jsx$1("div", __assign({ css: inline
24249
24523
  ? { width: '100%', height: '100%', overflow: 'auto' }
24250
24524
  : {
@@ -41074,7 +41348,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
41074
41348
  }, [activeStep, stepKey, formName]);
41075
41349
  }
41076
41350
 
41077
- var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BejpFcyu.js').then(function (n) { return n.A; }); });
41351
+ var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BWUYjfwA.js').then(function (n) { return n.A; }); });
41078
41352
  var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
41079
41353
 
41080
41354
  var AssistantClient = /** @class */ (function () {
@@ -45115,7 +45389,7 @@ function loadSegment(segmentConfig, queue) {
45115
45389
  case 0:
45116
45390
  _a.trys.push([0, 2, , 3]);
45117
45391
  return [4 /*yield*/, import(
45118
- /* webpackChunkName: "segment" */ './fthry_index.BgljRyhO.js').then(function (n) { return n.q; })];
45392
+ /* webpackChunkName: "segment" */ './fthry_index.DpXk-u8o.js').then(function (n) { return n.q; })];
45119
45393
  case 1:
45120
45394
  (AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
45121
45395
  return [3 /*break*/, 3];
@@ -47139,7 +47413,7 @@ var FeatheryClient = /** @class */ (function (_super) {
47139
47413
  */
47140
47414
  FeatheryClient.prototype._debouncedSubmitCustom = function (override) {
47141
47415
  return __awaiter$2(this, void 0, void 0, function () {
47142
- var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req;
47416
+ var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req, removeInFlight;
47143
47417
  var _this = this;
47144
47418
  return __generator(this, function (_a) {
47145
47419
  switch (_a.label) {
@@ -47152,6 +47426,13 @@ var FeatheryClient = /** @class */ (function (_super) {
47152
47426
  if (!isInteractionDetected()) {
47153
47427
  return [2 /*return*/];
47154
47428
  }
47429
+ // If the previous flush hasn't finished yet, skip this cycle. The pending
47430
+ // updates stay queued and a new debounced cycle is scheduled so they get
47431
+ // submitted once the in-flight request completes.
47432
+ if (Object.keys(this.customSubmitInFlight).length) {
47433
+ this.debouncedSubmitCustom(override);
47434
+ return [2 /*return*/];
47435
+ }
47155
47436
  customKeyValues = __assign({}, this.pendingCustomFieldUpdates);
47156
47437
  this.pendingCustomFieldUpdates = {}; // Clear pending updates after copying them
47157
47438
  userId = initInfo().userId;
@@ -47214,7 +47495,8 @@ var FeatheryClient = /** @class */ (function (_super) {
47214
47495
  this._removeCustomFieldListener();
47215
47496
  uniqueId = v4$1();
47216
47497
  req = this.offlineRequestHandler.runOrSaveRequest(function () { return _this._fetch(url, options, true, true); }, url, options, 'submit');
47217
- this.customSubmitInFlight[uniqueId] = req.then(function () { return delete _this.customSubmitInFlight[uniqueId]; });
47498
+ removeInFlight = function () { return delete _this.customSubmitInFlight[uniqueId]; };
47499
+ this.customSubmitInFlight[uniqueId] = req.then(removeInFlight, removeInFlight);
47218
47500
  return [4 /*yield*/, req];
47219
47501
  case 2: return [2 /*return*/, _a.sent()];
47220
47502
  }
@@ -47237,10 +47519,20 @@ var FeatheryClient = /** @class */ (function (_super) {
47237
47519
  return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
47238
47520
  case 1:
47239
47521
  ret = _a.sent();
47240
- return [4 /*yield*/, Promise.all(Object.values(this.customSubmitInFlight))];
47522
+ _a.label = 2;
47241
47523
  case 2:
47524
+ if (!Object.keys(this.customSubmitInFlight).length) return [3 /*break*/, 5];
47525
+ return [4 /*yield*/, Promise.all(Object.values(this.customSubmitInFlight))];
47526
+ case 3:
47242
47527
  _a.sent();
47243
- return [2 /*return*/, ret];
47528
+ if (!Object.keys(this.pendingCustomFieldUpdates).length)
47529
+ return [3 /*break*/, 5];
47530
+ this.debouncedSubmitCustom(override);
47531
+ return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
47532
+ case 4:
47533
+ ret = _a.sent();
47534
+ return [3 /*break*/, 2];
47535
+ case 5: return [2 /*return*/, ret];
47244
47536
  }
47245
47537
  });
47246
47538
  });
@@ -47750,9 +48042,9 @@ function init(sdkKey, options) {
47750
48042
  if (runningInClient()) {
47751
48043
  // Dynamically load libraries that must be client side
47752
48044
  global.scriptjsLoadPromise = import(
47753
- /* webpackChunkName: "scriptjs" */ './fthry_script.BORBdvL8.js').then(function (n) { return n.s; });
48045
+ /* webpackChunkName: "scriptjs" */ './fthry_script.DvAaqiBk.js').then(function (n) { return n.s; });
47754
48046
  global.webfontloaderPromise = import(
47755
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D4WGyNNh.js').then(function (n) { return n.w; });
48047
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.B5npG4_8.js').then(function (n) { return n.w; });
47756
48048
  // Client-side tracking logic
47757
48049
  if (initState.userTracking === 'cookie') {
47758
48050
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -47939,7 +48231,7 @@ function loadCompletedSteps(client) {
47939
48231
  });
47940
48232
  }
47941
48233
  function logFeatheryBadge() {
47942
- console.log('%c Feathery %c v' + "2.49.0" + ' ', // replaced with real version during build
48234
+ console.log('%c Feathery %c v' + "2.50.1" + ' ', // replaced with real version during build
47943
48235
  '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;');
47944
48236
  }
47945
48237
 
@@ -49535,64 +49827,64 @@ function resolveLabelStyle(style, opts) {
49535
49827
 
49536
49828
  var fieldLoaders = {
49537
49829
  AddressLine1: function () {
49538
- return import(/* webpackChunkName: "AddressField" */ './fthry_index.BnWgnMbc.js');
49830
+ return import(/* webpackChunkName: "AddressField" */ './fthry_index.Dt6zQK3e.js');
49539
49831
  },
49540
49832
  ButtonGroupField: function () {
49541
- return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.YJH2_M8x.js');
49833
+ return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.D0Cgvg7i.js');
49542
49834
  },
49543
49835
  CheckboxField: function () {
49544
- return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.T_q8o1IJ.js');
49836
+ return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.Bq05T75f.js');
49545
49837
  },
49546
49838
  CheckboxGroupField: function () {
49547
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.CWSqgxAa.js');
49839
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.CkW0oER4.js');
49548
49840
  },
49549
49841
  ColorPickerField: function () {
49550
- return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CreqHrWa.js');
49842
+ return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CVJtI2Xl.js');
49551
49843
  },
49552
49844
  CustomField: function () {
49553
- return import(/* webpackChunkName: "CustomField" */ './fthry_index.CQaO0qYK.js');
49845
+ return import(/* webpackChunkName: "CustomField" */ './fthry_index.Bx652TAg.js');
49554
49846
  },
49555
49847
  DateSelectorField: function () {
49556
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DS-rgCeg.js');
49848
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DTmSNKnS.js');
49557
49849
  },
49558
49850
  DropdownField: function () {
49559
- return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DEpC-Z5v.js');
49851
+ return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DfrV6A68.js');
49560
49852
  },
49561
49853
  DropdownMultiField: function () {
49562
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DJHFwZtE.js');
49854
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BBhLiIOO.js');
49563
49855
  },
49564
49856
  FileUploadField: function () {
49565
- return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BEUoZUyK.js');
49857
+ return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CWe8WGnw.js');
49566
49858
  },
49567
49859
  MatrixField: function () {
49568
- return import(/* webpackChunkName: "MatrixField" */ './fthry_index.Du_mis5t.js');
49860
+ return import(/* webpackChunkName: "MatrixField" */ './fthry_index.BDiGpbY8.js');
49569
49861
  },
49570
49862
  PasswordField: function () {
49571
- return import(/* webpackChunkName: "PasswordField" */ './fthry_index.aL99gjHK.js');
49863
+ return import(/* webpackChunkName: "PasswordField" */ './fthry_index.CIqCJp4_.js');
49572
49864
  },
49573
49865
  PaymentMethodField: function () {
49574
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.D7ElRh4C.js');
49866
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DEs0It74.js');
49575
49867
  },
49576
- PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.DJzR8T-r.js'); },
49868
+ PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.DXY-WeCY.js'); },
49577
49869
  PinInputField: function () {
49578
- return import(/* webpackChunkName: "PinInputField" */ './fthry_index.C8wcBfv1.js');
49870
+ return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Bo8U-enX.js');
49579
49871
  },
49580
- QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DeOBTZSR.js'); },
49872
+ QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DIAR7NXW.js'); },
49581
49873
  RadioButtonGroupField: function () {
49582
49874
  return import(
49583
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.5jB_IKHJ.js');
49875
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.C4_1X7GA.js');
49584
49876
  },
49585
49877
  RatingField: function () {
49586
- return import(/* webpackChunkName: "RatingField" */ './fthry_index.0OEg6H3i.js');
49878
+ return import(/* webpackChunkName: "RatingField" */ './fthry_index.D1WDrqdZ.js');
49587
49879
  },
49588
49880
  SignatureField: function () {
49589
- return import(/* webpackChunkName: "SignatureField" */ './fthry_index.NwQXVZvL.js');
49881
+ return import(/* webpackChunkName: "SignatureField" */ './fthry_index.B8mrrhCT.js');
49590
49882
  },
49591
49883
  SliderField: function () {
49592
- return import(/* webpackChunkName: "SliderField" */ './fthry_index.Bx6S1qZa.js');
49884
+ return import(/* webpackChunkName: "SliderField" */ './fthry_index.CNFIYUXl.js');
49593
49885
  },
49594
- TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.YWCe9xut.js'); },
49595
- TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.Bb2rQlTP.js'); }
49886
+ TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.D4NYHwF9.js'); },
49887
+ TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CQOB3Ugj.js'); }
49596
49888
  };
49597
49889
  var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
49598
49890
  // Share the resolved component between preload and render. A separate
@@ -50463,8 +50755,10 @@ function ButtonElement(_a) {
50463
50755
  position: 'relative',
50464
50756
  flex: 1,
50465
50757
  lineHeight: 'normal'
50466
- }, css: __assign(__assign({ borderWidth: 0, justifyContent: 'center', alignItems: 'center', border: 'none', transition: '0.2s ease all !important', '&[aria-disabled="true"]': __assign(__assign({ cursor: 'default !important' }, styles.getTarget('buttonDisabled')), borderStyles.disabled), '&[aria-disabled="false"]:hover': hoverStyles, '&[aria-disabled="false"].active': activeStyles }, (active === null
50758
+ }, css: __assign(__assign(__assign({ borderWidth: 0, justifyContent: 'center', alignItems: 'center', border: 'none', transition: '0.2s ease all !important', '&[aria-disabled="true"]': __assign(__assign({ cursor: 'default !important' }, styles.getTarget('buttonDisabled')), borderStyles.disabled), '&[aria-disabled="false"]:hover': hoverStyles, '&[aria-disabled="false"].active': activeStyles }, (active === null
50467
50759
  ? { '&[aria-disabled="false"]:focus': activeStyles }
50760
+ : {})), (element.properties.submit
50761
+ ? { '& > *': { pointerEvents: 'none' } }
50468
50762
  : {})), { '&&&': styles.getTarget('button') }), "aria-disabled": buttonDisabled, onClick: handleClick, "aria-label": element.properties.aria_label }, elementProps, { children: [customBorder, children, loader ? (jsx$1("div", __assign({ css: styles.getTarget('loader') }, { children: loader }))) : (jsxs(Fragment, { children: [element.properties.image && (jsx$1("img", { src: element.properties.image, css: __assign(__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));
50469
50763
  }
50470
50764
 
@@ -50844,8 +51138,8 @@ function ElementSkeleton(_a) {
50844
51138
  }
50845
51139
  var templateObject_1;
50846
51140
 
50847
- var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.xZSdf7ry.js'); });
50848
- var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.BCuhzX6e.js'); });
51141
+ var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.D7yot10w.js'); });
51142
+ var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.DpJTusbm.js'); });
50849
51143
  var Basic = {
50850
51144
  ImageElement: ImageElement,
50851
51145
  VideoElement: VideoElement,
@@ -50875,4 +51169,4 @@ Object.entries(Elements).map(function (_a) {
50875
51169
  });
50876
51170
  });
50877
51171
 
50878
- export { __values as $, getStripe as A, filterKeys as B, ERROR_COLOR as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, DROPDOWN_Z_INDEX as H, getFieldValue$1 as I, stringifyWithNull as J, emailPatternStr as K, replaceTextVariables as L, getDefaultExportFromCjs as M, debounce as N, isEmptyArray as O, toList as P, useThumbnailData as Q, __spreadArray as R, downloadFile as S, CloseIcon as T, justRemove as U, isNum as V, phoneLib as W, authState as X, firebaseSMSCountries as Y, phoneLibPromise as Z, __assign as _, calculateGlobalCSS as a, loadQRScanner as a0, throttle as a1, qrPromise as a2, AuthContext as a3, getFieldValues as a4, setFieldValues as a5, updateTheme as a6, updateUserId as a7, init as a8, Elements as a9, DECLARATION as aA, dealloc as aB, alloc as aC, hash as aD, charat as aE, strlen as aF, indexof as aG, next as aH, token as aI, from as aJ, peek as aK, delimit as aL, slice as aM, position as aN, compile as aO, __extends as aP, formatDateString as aQ, internalState as aR, getPositionKey$1 as aS, initState as aT, getRepeatedContainers as aU, getRepeatedContainer as aV, getDefaultFieldValue as aW, isButtonDisabled as aX, loadPhoneValidator as aY, initInfo as aZ, getCookie as a_, ReactForm as aa, v4$1 as ab, LoginForm as ac, JSForm as ad, getFormContext as ae, resolveLabelStyle as af, AssistantChat as ag, StyledContainer as ah, devicePixelRatio as ai, toBase64 as aj, MODAL_Z_INDEX as ak, dataURLToFile as al, stringify$2 as am, rulesheet as an, COMMENT as ao, middleware as ap, RULESET as aq, combine as ar, match as as, serialize as at, copy as au, replace as av, WEBKIT as aw, MOZ as ax, MS as ay, KEYFRAMES as az, jsxs as b, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, Fragment as x, isMobile as y, featheryDoc as z };
51172
+ export { firebaseSMSCountries as $, getStripe as A, filterKeys as B, ERROR_COLOR as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, DROPDOWN_Z_INDEX as I, getFieldValue$1 as J, stringifyWithNull as K, emailPatternStr as L, replaceTextVariables as M, getDefaultExportFromCjs as N, Overlay as O, debounce as P, isEmptyArray as Q, toList as R, useThumbnailData as S, __spreadArray as T, downloadFile as U, CloseIcon as V, justRemove as W, isNum as X, phoneLib as Y, authState as Z, __assign as _, calculateGlobalCSS as a, loadPhoneValidator as a$, phoneLibPromise as a0, __values as a1, loadQRScanner as a2, throttle as a3, qrPromise as a4, AuthContext as a5, getFieldValues as a6, setFieldValues as a7, updateTheme as a8, updateUserId as a9, MS as aA, KEYFRAMES as aB, DECLARATION as aC, dealloc as aD, alloc as aE, hash as aF, charat as aG, strlen as aH, indexof as aI, next as aJ, token as aK, from as aL, peek as aM, delimit as aN, slice as aO, position as aP, compile as aQ, Tooltip as aR, __extends as aS, formatDateString as aT, internalState as aU, getPositionKey$1 as aV, initState as aW, getRepeatedContainers as aX, getRepeatedContainer as aY, getDefaultFieldValue as aZ, isButtonDisabled as a_, init as aa, Elements as ab, ReactForm as ac, v4$1 as ad, LoginForm as ae, JSForm as af, getFormContext as ag, resolveLabelStyle as ah, AssistantChat as ai, StyledContainer as aj, devicePixelRatio as ak, toBase64 as al, MODAL_Z_INDEX as am, dataURLToFile as an, stringify$2 as ao, rulesheet as ap, COMMENT as aq, middleware as ar, RULESET as as, combine as at, match as au, serialize as av, copy as aw, replace as ax, WEBKIT as ay, MOZ as az, jsxs as b, initInfo as b0, getCookie as b1, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, Fragment as x, isMobile as y, featheryDoc as z };
@@ -1,4 +1,4 @@
1
- import { j as jsx, _ as __assign } from './fthry_index.cdWJRcXS.js';
1
+ import { j as jsx, _ as __assign } from './fthry_index.ptJrcCPy.js';
2
2
 
3
3
  var ae = [
4
4
  { name: 'Abu Dhabi', code: 'AZ' },
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.ptJrcCPy.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,5 +1,5 @@
1
- import { s as __awaiter, t as __generator } from './fthry_index.cdWJRcXS.js';
2
- import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.BgljRyhO.js';
1
+ import { s as __awaiter, t as __generator } from './fthry_index.ptJrcCPy.js';
2
+ import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.DpXk-u8o.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'jszip';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { P as PropTypes } from './fthry_index.B8QhrENg.js';
2
+ import { P as PropTypes } from './fthry_index.C0iUe75-.js';
3
3
 
4
4
  /** Checks if value is string */
5
5
  function isString(str) {
@@ -0,0 +1,8 @@
1
+ export { u as Mermaid } from './fthry_AssistantChat.BWUYjfwA.js';
2
+ import './fthry_index.ptJrcCPy.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import 'jszip';
6
+ import 'react-dom';
7
+ import './fthry_clsx.ChV9xqsO.js';
8
+ import './fthry_index.r1TNpIHy.js';
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.ptJrcCPy.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { useState, useMemo } from 'react';
3
- import { M as getDefaultExportFromCjs, b as jsxs, x as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.cdWJRcXS.js';
3
+ import { N as getDefaultExportFromCjs, b as jsxs, x as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.ptJrcCPy.js';
4
4
  import { flushSync } from 'react-dom';
5
5
 
6
6
  function canUseDom() {
@@ -1,4 +1,4 @@
1
- import { e as __read, w as featheryWindow } from './fthry_index.cdWJRcXS.js';
1
+ import { e as __read, w as featheryWindow } from './fthry_index.ptJrcCPy.js';
2
2
  import { useState, useLayoutEffect } from 'react';
3
3
 
4
4
  function useElementSize(anchorRef) {
@@ -1,4 +1,4 @@
1
- import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.cdWJRcXS.js';
1
+ import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.ptJrcCPy.js';
2
2
  import { useState, useEffect } from 'react';
3
3
 
4
4
  function useSalesforceSync(salesforceSync, editMode) {
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.ptJrcCPy.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {