@feathery/react 2.52.0 → 2.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/components/DevNavBar.d.ts.map +1 -1
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/assistant/AssistantChat.d.ts.map +1 -1
- package/cjs/assistant/AssistantClient.d.ts +2 -1
- package/cjs/assistant/AssistantClient.d.ts.map +1 -1
- package/cjs/assistant/ToolStatus.d.ts.map +1 -1
- package/cjs/assistant/tools/clickElement.d.ts.map +1 -1
- package/cjs/assistant/tools/navigate.d.ts +16 -0
- package/cjs/assistant/tools/navigate.d.ts.map +1 -0
- package/cjs/assistant/tools/panelRuntime.d.ts +22 -5
- package/cjs/assistant/tools/panelRuntime.d.ts.map +1 -1
- package/cjs/assistant/tools/triggerTableAction.d.ts.map +1 -1
- package/cjs/assistant/tools/utils.d.ts +1 -0
- package/cjs/assistant/tools/utils.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.DClMjBbo.js → fthry_AssistantChat.Cdt71IEA.js} +358 -100
- package/cjs/{fthry_FormControl.CFsGjlWP.js → fthry_FormControl.DpCsf-wk.js} +1 -1
- package/cjs/{fthry_InlineTooltip.D8vNmyCo.js → fthry_InlineTooltip.nKLmX5o5.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.CjyihPh2.js → fthry_PaymentMethodField.BLuiD1KT.js} +3 -3
- package/cjs/{fthry_Placeholder.CEroHtne.js → fthry_Placeholder.BJA_j-7t.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.BnG3Vchl.js → fthry_ShowEyeIcon.DGAHQwc4.js} +1 -1
- package/cjs/{fthry_TabsElement.CZhy_wi4.js → fthry_TabsElement.EaxR88eT.js} +1 -1
- package/cjs/{fthry_auto-track.BPxVfhig.js → fthry_auto-track.B2EuUyWQ.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.Cbq0oozC.js → fthry_highlighted-body-TPN3WLV5.D0_x3Hnh.js} +3 -3
- package/cjs/{fthry_index.BDmxKsQr.js → fthry_index.AEIgB8XZ.js} +1 -1
- package/cjs/{fthry_index.-317ESCa.js → fthry_index.B0Z5hKAK.js} +2 -2
- package/cjs/{fthry_index.BKPLTWi2.js → fthry_index.B0xx5w3Y.js} +4 -4
- package/cjs/{fthry_index.CCEBVH2X.js → fthry_index.BDQthVrL.js} +1 -1
- package/cjs/{fthry_index.BFIHbM-S.js → fthry_index.BdNvpld5.js} +4 -4
- package/cjs/{fthry_index.3AdSzGkN.js → fthry_index.BoBcyJjH.js} +1 -1
- package/cjs/{fthry_index.B8MwyqlN.js → fthry_index.Bod-ybm6.js} +1 -1
- package/cjs/{fthry_index.DQNu-cig.js → fthry_index.BwAj91oq.js} +2 -2
- package/cjs/{fthry_index.DtLwdWxZ.js → fthry_index.C-Tcdfmc.js} +1 -1
- package/cjs/{fthry_index.CaUi4jbg.js → fthry_index.C0n-WuVc.js} +1 -1
- package/cjs/{fthry_index.D39Lt3zI.js → fthry_index.CCKdjjti.js} +1 -1
- package/cjs/{fthry_index.Cwq4DYI1.js → fthry_index.CE5CJdZu.js} +7 -7
- package/cjs/{fthry_index.CU8bLoRm.js → fthry_index.CF6HTGG8.js} +1 -1
- package/cjs/{fthry_index.Dc_4w6fx.js → fthry_index.CGCWGlnp.js} +3 -3
- package/cjs/{fthry_index.CmD9vaZF.js → fthry_index.CJEKmmXG.js} +1 -1
- package/cjs/{fthry_index.KEOsb1yt.js → fthry_index.CSYsApcr.js} +4 -4
- package/cjs/{fthry_index.FvahYCl4.js → fthry_index.CTlWYTKv.js} +2 -2
- package/cjs/{fthry_index.DJHxUxWn.js → fthry_index.CvGygqZP.js} +5 -5
- package/cjs/{fthry_index.CXwLzgRa.js → fthry_index.CxBG2-BU.js} +1 -1
- package/cjs/{fthry_index.C9NKIII4.js → fthry_index.CxY6K5_1.js} +10 -10
- package/cjs/{fthry_index.Z912i259.js → fthry_index.D-NTvk-Y.js} +1 -1
- package/cjs/{fthry_index.C3M5YF3_.js → fthry_index.D0IwM5iZ.js} +2 -2
- package/cjs/{fthry_index.CkV6wvoE.js → fthry_index.D8NmDklI.js} +3 -3
- package/cjs/{fthry_index.C3i01ldH.js → fthry_index.DEtRMtpY.js} +4 -4
- package/cjs/{fthry_index.D5nsJ4l9.js → fthry_index.DIcj_VUJ.js} +98 -56
- package/cjs/{fthry_index.BLx53xa6.js → fthry_index.DfhW9KvX.js} +2 -2
- package/cjs/{fthry_index.BTPOlsSL.js → fthry_index.QBRBv5zI.js} +5 -5
- package/cjs/{fthry_index.K-f-AFvK.js → fthry_index.a_07qAue.js} +5 -5
- package/cjs/{fthry_index.BsBvq_1g.js → fthry_index.cy-BntXN.js} +5 -5
- package/cjs/{fthry_index.BKp4BJaN.js → fthry_index.fXQdvWc6.js} +2 -2
- package/cjs/{fthry_index.Cak79RQu.js → fthry_index.n5ANsMnM.js} +2 -2
- package/cjs/{fthry_index.CT_LxtvQ.js → fthry_index.s44MPEx0.js} +3 -3
- package/cjs/{fthry_index.umd.CfnpJnCF.js → fthry_index.umd.C2sFE07r.js} +1 -1
- package/cjs/{fthry_input.FZhPnVr7.js → fthry_input.B2-tNesz.js} +1 -1
- package/cjs/{fthry_logging.geKUVlWF.js → fthry_logging.Ddacrn6B.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.CmGxXRTE.js → fthry_mermaid-O7DHMXV3.Dj-pTS7i.js} +3 -3
- package/cjs/{fthry_script.BUpgmYs1.js → fthry_script.CvH2Hl2W.js} +1 -1
- package/cjs/{fthry_styles.Cs5z0RLk.js → fthry_styles.DJU4cNZx.js} +1 -1
- package/cjs/{fthry_useElementSize.YisvU5or.js → fthry_useElementSize.D9gQ1cgh.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.IpHyJ8Rh.js → fthry_useSalesforceSync.DJ-dQcVK.js} +1 -1
- package/cjs/{fthry_webfontloader.DNe9Fh4f.js → fthry_webfontloader.CpQnAbXr.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/thumbnail-renderer.js +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/formContext.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +30 -2
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/cjs/utils/stepper.d.ts +3 -0
- package/cjs/utils/stepper.d.ts.map +1 -0
- package/dist/Form/components/DevNavBar.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/assistant/AssistantChat.d.ts.map +1 -1
- package/dist/assistant/AssistantClient.d.ts +2 -1
- package/dist/assistant/AssistantClient.d.ts.map +1 -1
- package/dist/assistant/ToolStatus.d.ts.map +1 -1
- package/dist/assistant/tools/clickElement.d.ts.map +1 -1
- package/dist/assistant/tools/navigate.d.ts +16 -0
- package/dist/assistant/tools/navigate.d.ts.map +1 -0
- package/dist/assistant/tools/panelRuntime.d.ts +22 -5
- package/dist/assistant/tools/panelRuntime.d.ts.map +1 -1
- package/dist/assistant/tools/triggerTableAction.d.ts.map +1 -1
- package/dist/assistant/tools/utils.d.ts +1 -0
- package/dist/assistant/tools/utils.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.TIBRtTlG.js → fthry_AssistantChat.CJAt7wH0.js} +358 -100
- package/dist/{fthry_FormControl.B7J9s9oo.js → fthry_FormControl.CWgZ1MrD.js} +1 -1
- package/dist/{fthry_InlineTooltip.BPOmnzvw.js → fthry_InlineTooltip.7XgEXbYu.js} +1 -1
- package/dist/{fthry_PaymentMethodField.DsCBiJlK.js → fthry_PaymentMethodField.CgAjXVvk.js} +3 -3
- package/dist/{fthry_Placeholder.NymoVpcm.js → fthry_Placeholder.ByFQNx8z.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.BDAEa0mY.js → fthry_ShowEyeIcon.BJrSqd0f.js} +1 -1
- package/dist/{fthry_TabsElement.DX0UxEwC.js → fthry_TabsElement.CGC4knJ1.js} +1 -1
- package/dist/{fthry_auto-track.Dyp3Edpb.js → fthry_auto-track.CZqUYnsi.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.BZlLLT_h.js → fthry_highlighted-body-TPN3WLV5.C3z_0DMf.js} +3 -3
- package/dist/{fthry_index.CpcusZGV.js → fthry_index.3Jy6ng8E.js} +1 -1
- package/dist/{fthry_index.Dy4F8buv.js → fthry_index.4QNSIT1t.js} +91 -57
- package/dist/{fthry_index.DYAwyU5i.js → fthry_index.B2Es9K0o.js} +1 -1
- package/dist/{fthry_index.Nuav8j0K.js → fthry_index.B9t_y8G8.js} +10 -10
- package/dist/{fthry_index.Dom1xrnf.js → fthry_index.BFVMswJ1.js} +2 -2
- package/dist/{fthry_index.CACzwTsE.js → fthry_index.BfZgFvaE.js} +1 -1
- package/dist/{fthry_index.nsku124v.js → fthry_index.BjKBqRrG.js} +1 -1
- package/dist/{fthry_index.Bz4rt_--.js → fthry_index.Bn0j9VXL.js} +2 -2
- package/dist/{fthry_index.dQWeqnwG.js → fthry_index.Bnm_pBFE.js} +2 -2
- package/dist/{fthry_index.Bg68oPpb.js → fthry_index.Btu6A06t.js} +4 -4
- package/dist/{fthry_index.C4y2VpAI.js → fthry_index.BuFT0arS.js} +1 -1
- package/dist/{fthry_index.fHB_kRnm.js → fthry_index.CKVts5To.js} +2 -2
- package/dist/{fthry_index.CphDVlAz.js → fthry_index.CLlR40IQ.js} +4 -4
- package/dist/{fthry_index.BlcRVzvp.js → fthry_index.CUueWzfP.js} +1 -1
- package/dist/{fthry_index.BioTQdQH.js → fthry_index.CX1r3NuY.js} +1 -1
- package/dist/{fthry_index.DZN4f0xc.js → fthry_index.CsM8DPsH.js} +1 -1
- package/dist/{fthry_index.CKkHv6qK.js → fthry_index.CwOyWW-J.js} +4 -4
- package/dist/{fthry_index.iwkuw--x.js → fthry_index.CypPLcEL.js} +1 -1
- package/dist/{fthry_index.B-wzj9I3.js → fthry_index.D-XOSELH.js} +4 -4
- package/dist/{fthry_index.B0vLbcGn.js → fthry_index.DBLwzmdF.js} +4 -4
- package/dist/{fthry_index.B7ES1pR0.js → fthry_index.DFn9knto.js} +3 -3
- package/dist/{fthry_index.CIiCjWfx.js → fthry_index.DT69gcWO.js} +2 -2
- package/dist/{fthry_index.Cwbly1ds.js → fthry_index.DgciEfKe.js} +5 -5
- package/dist/{fthry_index.bjvsIu8G.js → fthry_index.DpVMd01B.js} +2 -2
- package/dist/{fthry_index.DNdQzLH9.js → fthry_index.DwGHkZCX.js} +2 -2
- package/dist/{fthry_index.DESq1sgq.js → fthry_index.LTen71MA.js} +3 -3
- package/dist/{fthry_index.D2bM42q_.js → fthry_index.P8wEcmzz.js} +1 -1
- package/dist/{fthry_index.DCuF1bk9.js → fthry_index.dFtvnq3I.js} +5 -5
- package/dist/{fthry_index.DlMUmymj.js → fthry_index.grYyHutk.js} +7 -7
- package/dist/{fthry_index.CGeXsZmz.js → fthry_index.jN7H-T8G.js} +3 -3
- package/dist/{fthry_index.BM5fI9GV.js → fthry_index.lGuVWSnj.js} +1 -1
- package/dist/{fthry_index.umd.D4j5JUK3.js → fthry_index.umd.Dh0beEu5.js} +1 -1
- package/dist/{fthry_index.AY29jqCG.js → fthry_index.y_kfjmY0.js} +5 -5
- package/dist/{fthry_input.Adlw2NIB.js → fthry_input.BXpeFwlq.js} +1 -1
- package/dist/{fthry_logging.CMGH_ih6.js → fthry_logging.DRq8nhnp.js} +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.CIgHgZjg.js +8 -0
- package/dist/{fthry_script.Cw3vY7SE.js → fthry_script.BygC8at8.js} +1 -1
- package/dist/{fthry_styles.kI9Gm6SN.js → fthry_styles.DKvdF1tW.js} +1 -1
- package/dist/{fthry_useElementSize.DI3dhxBK.js → fthry_useElementSize.n7b3hTj8.js} +1 -1
- package/dist/{fthry_useSalesforceSync.Dm771FBU.js → fthry_useSalesforceSync.gMwYUngS.js} +1 -1
- package/dist/{fthry_webfontloader.DzI_r3mH.js → fthry_webfontloader.CyBgW_8H.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/thumbnail-renderer.js +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/formContext.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +30 -2
- package/dist/utils/internalState.d.ts.map +1 -1
- package/dist/utils/stepper.d.ts +3 -0
- package/dist/utils/stepper.d.ts.map +1 -0
- package/package.json +1 -1
- package/umd/AssistantChat.4e04484d6624a1473709.js +1 -0
- package/umd/index.js +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.CD4sCxo0.js +0 -8
- package/umd/AssistantChat.f4f1a5ab9a911c339fd1.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, e as __read, N as replaceTextVariables, z as isMobile, b as jsxs, y as Fragment, p as FORM_Z_INDEX, H as HoverTooltip } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, e as __read, N as replaceTextVariables, z as isMobile, b as jsxs, y as Fragment, p as FORM_Z_INDEX, H as HoverTooltip } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
|
|
4
4
|
function HelpIcon(_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as __rest, A as featheryDoc, b as jsxs, _ as __assign, B as getStripe, j as jsx, e as __read, u as useBorder, C as filterKeys, I as ERROR_COLOR } from './fthry_index.
|
|
1
|
+
import { q as __rest, A as featheryDoc, b as jsxs, _ as __assign, B as getStripe, j as jsx, e as __read, u as useBorder, C as filterKeys, I as ERROR_COLOR } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import React__default, { memo, useEffect, useState, useRef } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.BjKBqRrG.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.7XgEXbYu.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'jszip';
|
|
7
7
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as __rest, j as jsx, _ as __assign } from './fthry_index.
|
|
1
|
+
import { q as __rest, j as jsx, _ as __assign } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
|
|
3
3
|
function ShowEyeIcon$1(_a) {
|
|
4
4
|
var _b = _a.width, width = _b === void 0 ? 30 : _b, _c = _a.height, height = _c === void 0 ? 30 : _c, props = __rest(_a, ["width", "height"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as hoverStylesGuard, b as jsxs, _ as __assign, j as jsx } from './fthry_index.
|
|
1
|
+
import { h as hoverStylesGuard, b as jsxs, _ as __assign, j as jsx } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as R$1, M as Mi, B as Bt } from './fthry_AssistantChat.
|
|
1
|
+
import { R as R$1, M as Mi, B as Bt } from './fthry_AssistantChat.CJAt7wH0.js';
|
|
2
2
|
import { useContext, useState, useEffect } from 'react';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import './fthry_index.
|
|
4
|
+
import './fthry_index.4QNSIT1t.js';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
import './fthry_clsx.ChV9xqsO.js';
|
|
8
|
-
import './fthry_index.
|
|
8
|
+
import './fthry_index.P8wEcmzz.js';
|
|
9
9
|
|
|
10
10
|
var R=({code:s,language:t,raw:e,className:h,startLine:d,...m})=>{let{shikiTheme:l}=useContext(R$1),o=Mi(),[p,i]=useState(e);return useEffect(()=>{if(!o){i(e);return}let r=o.highlight({code:s,language:t,themes:l},c=>{i(c);});r&&i(r);},[s,t,l,o,e]),jsx(Bt,{className:h,language:t,result:p,startLine:d,...m})};
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as jsxs, _ as __assign, j as jsx, e as __read, Q as isEmptyArray, R as toList, S as useThumbnailData, T as __spreadArray, i as imgMaxSizeStyles, s as __awaiter, t as __generator, U as downloadFile, V as CloseIcon, d as iosScrollOnFocus, p as FORM_Z_INDEX, W as justRemove } from './fthry_index.
|
|
1
|
+
import { b as jsxs, _ as __assign, j as jsx, e as __read, Q as isEmptyArray, R as toList, S as useThumbnailData, T as __spreadArray, i as imgMaxSizeStyles, s as __awaiter, t as __generator, U as downloadFile, V as CloseIcon, d as iosScrollOnFocus, p as FORM_Z_INDEX, W as justRemove } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -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, draft = _a.draft;
|
|
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, wetSign = _a.wetSign, useDisclosure = _a.useDisclosure, notification = _a.notification, brandId = _a.brandId, enforceSignerVisibility = _a.enforceSignerVisibility;
|
|
9227
9227
|
var userId = initInfo().userId;
|
|
9228
9228
|
var url = "".concat(API_URL, "docusign/envelope/");
|
|
9229
9229
|
var options = {
|
|
@@ -9232,14 +9232,36 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9232
9232
|
body: JSON.stringify({
|
|
9233
9233
|
fuser_key: userId,
|
|
9234
9234
|
form_key: this.formKey,
|
|
9235
|
-
|
|
9235
|
+
// Polymorphic: plain UUID strings pass through; object entries are
|
|
9236
|
+
// sent with snake_case keys for multi-instance envelopes.
|
|
9237
|
+
documents: documents === null || documents === void 0 ? void 0 : documents.map(function (doc) {
|
|
9238
|
+
return typeof doc === 'string'
|
|
9239
|
+
? doc
|
|
9240
|
+
: {
|
|
9241
|
+
document_id: doc.documentId,
|
|
9242
|
+
envelope_id: doc.envelopeId,
|
|
9243
|
+
fill_data: doc.fillData,
|
|
9244
|
+
signer_map: doc.signerMap
|
|
9245
|
+
};
|
|
9246
|
+
}),
|
|
9236
9247
|
library_documents: libraryDocuments,
|
|
9237
9248
|
fill_data: fillData,
|
|
9238
9249
|
email_subject: emailSubject,
|
|
9239
9250
|
email_blurb: emailBlurb,
|
|
9240
|
-
signers: signers
|
|
9251
|
+
signers: signers === null || signers === void 0 ? void 0 : signers.map(function (signer) { return ({
|
|
9252
|
+
email: signer.email,
|
|
9253
|
+
name: signer.name,
|
|
9254
|
+
sign_method: signer.signMethod,
|
|
9255
|
+
routing_order: signer.routingOrder,
|
|
9256
|
+
excluded_documents: signer.excludedDocuments
|
|
9257
|
+
}); }),
|
|
9241
9258
|
docusign_envelope_id: existingEnvelopeId,
|
|
9242
|
-
draft: draft
|
|
9259
|
+
draft: draft,
|
|
9260
|
+
wet_sign: wetSign,
|
|
9261
|
+
use_disclosure: useDisclosure,
|
|
9262
|
+
notification: notification,
|
|
9263
|
+
brand_id: brandId,
|
|
9264
|
+
enforce_signer_visibility: enforceSignerVisibility
|
|
9243
9265
|
})
|
|
9244
9266
|
};
|
|
9245
9267
|
return this._fetch(url, options, false).then(function (response) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
@@ -21860,7 +21882,7 @@ function DevNavBar(_a) {
|
|
|
21860
21882
|
return null;
|
|
21861
21883
|
var isForward = activeNav === 'forward';
|
|
21862
21884
|
var stepKeys = isForward ? nextStepKeys : prevStepKeys;
|
|
21863
|
-
return (jsx$1("div", __assign({ css: __assign({ position: 'absolute', bottom: '-10px', maxHeight: '300px', width: '200px', backgroundColor: 'white', boxShadow: '0 4px 14px #00000040', borderRadius: '6px', overflowY: 'scroll' }, (isForward ? { left: '300px' } : { right: '300px' })) }, { children: stepKeys.map(function (key) { return (jsx$1("div", __assign({ css: {
|
|
21885
|
+
return (jsx$1("div", __assign({ css: __assign({ position: 'absolute', bottom: '-10px', maxHeight: '300px', width: '200px', backgroundColor: 'white', color: 'black', boxShadow: '0 4px 14px #00000040', borderRadius: '6px', overflowY: 'scroll' }, (isForward ? { left: '300px' } : { right: '300px' })) }, { children: stepKeys.map(function (key) { return (jsx$1("div", __assign({ css: {
|
|
21864
21886
|
minHeight: '38px',
|
|
21865
21887
|
borderBottom: "1px solid ".concat(lightGrey),
|
|
21866
21888
|
display: 'flex',
|
|
@@ -24858,7 +24880,9 @@ var getFormContext = function (formUuid) {
|
|
|
24858
24880
|
updateTheme: updateTheme,
|
|
24859
24881
|
goToStep: function (stepKey) {
|
|
24860
24882
|
var currentStep = formState.currentStep, navigate = formState.navigate, steps = formState.steps, setStepKey = formState.setStepKey, client = formState.client, trackHashes = formState.trackHashes;
|
|
24861
|
-
changeStep(stepKey, currentStep.key, steps, setStepKey, navigate, client, trackHashes);
|
|
24883
|
+
var changed = changeStep(stepKey, currentStep.key, steps, setStepKey, navigate, client, trackHashes);
|
|
24884
|
+
if (changed)
|
|
24885
|
+
formState.latestStepName = stepKey;
|
|
24862
24886
|
},
|
|
24863
24887
|
isTestForm: function () { return initState.isTestEnv; },
|
|
24864
24888
|
isLastStep: function () {
|
|
@@ -41386,7 +41410,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41386
41410
|
}, [activeStep, stepKey, formName]);
|
|
41387
41411
|
}
|
|
41388
41412
|
|
|
41389
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41413
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.CJAt7wH0.js').then(function (n) { return n.A; }); });
|
|
41390
41414
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
41391
41415
|
|
|
41392
41416
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -42108,6 +42132,8 @@ function Form(_a) {
|
|
|
42108
42132
|
var _a;
|
|
42109
42133
|
var changed = changeStep(newKey, oldKey, steps, setStepKey, navigate, client, trackHashes.current);
|
|
42110
42134
|
if (changed) {
|
|
42135
|
+
if (internalState[_internalId])
|
|
42136
|
+
internalState[_internalId].latestStepName = newKey;
|
|
42111
42137
|
var backKey = load ? backNavMap[oldKey] : oldKey;
|
|
42112
42138
|
updateBackNavMap((_a = {}, _a[newKey] = backKey, _a));
|
|
42113
42139
|
}
|
|
@@ -42146,7 +42172,9 @@ function Form(_a) {
|
|
|
42146
42172
|
setFormInternalState(_internalId, {
|
|
42147
42173
|
language: language !== null && language !== void 0 ? language : initState.language,
|
|
42148
42174
|
currentStep: newStep,
|
|
42175
|
+
latestStepName: newStep.key,
|
|
42149
42176
|
previousStepName: (_c = activeStep === null || activeStep === void 0 ? void 0 : activeStep.key) !== null && _c !== void 0 ? _c : '',
|
|
42177
|
+
backNavMap: backNavMap,
|
|
42150
42178
|
visiblePositions: newVisiblePositions,
|
|
42151
42179
|
client: client,
|
|
42152
42180
|
fields: fields,
|
|
@@ -42981,6 +43009,8 @@ function Form(_a) {
|
|
|
42981
43009
|
clearCompletionLoader();
|
|
42982
43010
|
return [7 /*endfinally*/];
|
|
42983
43011
|
case 22:
|
|
43012
|
+
if (internalState[_internalId])
|
|
43013
|
+
internalState[_internalId].latestStepName = redirectKey;
|
|
42984
43014
|
updateBackNavMap((_c = {}, _c[redirectKey] = activeStep.key, _c));
|
|
42985
43015
|
pendingScrollRef.current = explicitNav;
|
|
42986
43016
|
if (trackHashes.current) {
|
|
@@ -43010,6 +43040,8 @@ function Form(_a) {
|
|
|
43010
43040
|
_a.sent();
|
|
43011
43041
|
prevStepKey = getPrevStepKey(activeStep, backNavMap);
|
|
43012
43042
|
if (prevStepKey) {
|
|
43043
|
+
if (internalState[_internalId])
|
|
43044
|
+
internalState[_internalId].latestStepName = prevStepKey;
|
|
43013
43045
|
pendingScrollRef.current = false;
|
|
43014
43046
|
if (trackHashes.current)
|
|
43015
43047
|
navigate(getNewStepUrl(prevStepKey));
|
|
@@ -45433,7 +45465,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45433
45465
|
case 0:
|
|
45434
45466
|
_a.trys.push([0, 2, , 3]);
|
|
45435
45467
|
return [4 /*yield*/, import(
|
|
45436
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45468
|
+
/* webpackChunkName: "segment" */ './fthry_index.B9t_y8G8.js').then(function (n) { return n.q; })];
|
|
45437
45469
|
case 1:
|
|
45438
45470
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45439
45471
|
return [3 /*break*/, 3];
|
|
@@ -48097,9 +48129,9 @@ function init(sdkKey, options) {
|
|
|
48097
48129
|
if (runningInClient()) {
|
|
48098
48130
|
// Dynamically load libraries that must be client side
|
|
48099
48131
|
global.scriptjsLoadPromise = import(
|
|
48100
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
48132
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BygC8at8.js').then(function (n) { return n.s; });
|
|
48101
48133
|
global.webfontloaderPromise = import(
|
|
48102
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
48134
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CyBgW_8H.js').then(function (n) { return n.w; });
|
|
48103
48135
|
// Client-side tracking logic
|
|
48104
48136
|
if (initState.userTracking === 'cookie') {
|
|
48105
48137
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -48286,7 +48318,7 @@ function loadCompletedSteps(client) {
|
|
|
48286
48318
|
});
|
|
48287
48319
|
}
|
|
48288
48320
|
function logFeatheryBadge() {
|
|
48289
|
-
console.log('%c Feathery %c v' + "2.
|
|
48321
|
+
console.log('%c Feathery %c v' + "2.53.0" + ' ', // replaced with real version during build
|
|
48290
48322
|
'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;');
|
|
48291
48323
|
}
|
|
48292
48324
|
|
|
@@ -49883,64 +49915,64 @@ function resolveLabelStyle(style, opts) {
|
|
|
49883
49915
|
|
|
49884
49916
|
var fieldLoaders = {
|
|
49885
49917
|
AddressLine1: function () {
|
|
49886
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49918
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.Btu6A06t.js');
|
|
49887
49919
|
},
|
|
49888
49920
|
ButtonGroupField: function () {
|
|
49889
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49921
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.LTen71MA.js');
|
|
49890
49922
|
},
|
|
49891
49923
|
CheckboxField: function () {
|
|
49892
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49924
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.B2Es9K0o.js');
|
|
49893
49925
|
},
|
|
49894
49926
|
CheckboxGroupField: function () {
|
|
49895
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49927
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.dFtvnq3I.js');
|
|
49896
49928
|
},
|
|
49897
49929
|
ColorPickerField: function () {
|
|
49898
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49930
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.lGuVWSnj.js');
|
|
49899
49931
|
},
|
|
49900
49932
|
CustomField: function () {
|
|
49901
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49933
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.BfZgFvaE.js');
|
|
49902
49934
|
},
|
|
49903
49935
|
DateSelectorField: function () {
|
|
49904
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49936
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DgciEfKe.js');
|
|
49905
49937
|
},
|
|
49906
49938
|
DropdownField: function () {
|
|
49907
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49939
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.CLlR40IQ.js');
|
|
49908
49940
|
},
|
|
49909
49941
|
DropdownMultiField: function () {
|
|
49910
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49942
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D-XOSELH.js');
|
|
49911
49943
|
},
|
|
49912
49944
|
FileUploadField: function () {
|
|
49913
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49945
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.3Jy6ng8E.js');
|
|
49914
49946
|
},
|
|
49915
49947
|
MatrixField: function () {
|
|
49916
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49948
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.Bn0j9VXL.js');
|
|
49917
49949
|
},
|
|
49918
49950
|
PasswordField: function () {
|
|
49919
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49951
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DBLwzmdF.js');
|
|
49920
49952
|
},
|
|
49921
49953
|
PaymentMethodField: function () {
|
|
49922
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49954
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.CgAjXVvk.js');
|
|
49923
49955
|
},
|
|
49924
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49956
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CwOyWW-J.js'); },
|
|
49925
49957
|
PinInputField: function () {
|
|
49926
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49958
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.CypPLcEL.js');
|
|
49927
49959
|
},
|
|
49928
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49960
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BFVMswJ1.js'); },
|
|
49929
49961
|
RadioButtonGroupField: function () {
|
|
49930
49962
|
return import(
|
|
49931
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49963
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.y_kfjmY0.js');
|
|
49932
49964
|
},
|
|
49933
49965
|
RatingField: function () {
|
|
49934
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49966
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.CUueWzfP.js');
|
|
49935
49967
|
},
|
|
49936
49968
|
SignatureField: function () {
|
|
49937
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49969
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.jN7H-T8G.js');
|
|
49938
49970
|
},
|
|
49939
49971
|
SliderField: function () {
|
|
49940
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49972
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.Bnm_pBFE.js');
|
|
49941
49973
|
},
|
|
49942
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49943
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49974
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.grYyHutk.js'); },
|
|
49975
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DFn9knto.js'); }
|
|
49944
49976
|
};
|
|
49945
49977
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49946
49978
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50856,28 +50888,33 @@ function SegmentBar(_a) {
|
|
|
50856
50888
|
_c) }, { children: filledSegments })));
|
|
50857
50889
|
}
|
|
50858
50890
|
|
|
50859
|
-
|
|
50860
|
-
var CONNECTOR_GAP = 4;
|
|
50861
|
-
function isFieldTruthy(fieldKey) {
|
|
50891
|
+
function isStepperFieldTruthy(fieldKey) {
|
|
50862
50892
|
var val = getFieldValues()[fieldKey];
|
|
50863
50893
|
if (Array.isArray(val))
|
|
50864
50894
|
return val.length > 0;
|
|
50865
50895
|
return !!val;
|
|
50866
50896
|
}
|
|
50867
|
-
function
|
|
50868
|
-
var cond =
|
|
50869
|
-
if (!cond || !
|
|
50897
|
+
function isStepperStepVisible(stepConfig) {
|
|
50898
|
+
var cond = stepConfig === null || stepConfig === void 0 ? void 0 : stepConfig.visibility_condition;
|
|
50899
|
+
if (!cond || !(stepConfig === null || stepConfig === void 0 ? void 0 : stepConfig.visibility_field_key))
|
|
50870
50900
|
return true;
|
|
50871
|
-
var truthy =
|
|
50901
|
+
var truthy = isStepperFieldTruthy(stepConfig.visibility_field_key);
|
|
50872
50902
|
return cond === 'show' ? truthy : !truthy;
|
|
50873
50903
|
}
|
|
50904
|
+
// A stepper step is reachable when it isn't the current step and either all-step navigation is on or it was already completed
|
|
50905
|
+
function isStepperStepReachable(isActive, allowAllNavigation, isCompleted) {
|
|
50906
|
+
return !isActive && (allowAllNavigation || isCompleted);
|
|
50907
|
+
}
|
|
50908
|
+
|
|
50909
|
+
var CIRCLE_SIZE = 28;
|
|
50910
|
+
var CONNECTOR_GAP = 4;
|
|
50874
50911
|
function StepperBar(_a) {
|
|
50875
50912
|
var _b, _c;
|
|
50876
50913
|
var _d;
|
|
50877
50914
|
var styles = _a.styles, stepConfigs = _a.stepConfigs, stepKey = _a.stepKey, _e = _a.textPlacement, textPlacement = _e === void 0 ? 'bottom' : _e, onStepClick = _a.onStepClick, _f = _a.allowAllNavigation, allowAllNavigation = _f === void 0 ? false : _f, _g = _a.vertical, vertical = _g === void 0 ? false : _g, style = _a.style;
|
|
50878
50915
|
var barStyles = styles.getTarget('bar');
|
|
50879
50916
|
var showLabels = textPlacement !== 'none';
|
|
50880
|
-
var visibleStepConfigs = stepConfigs.filter(
|
|
50917
|
+
var visibleStepConfigs = stepConfigs.filter(isStepperStepVisible);
|
|
50881
50918
|
var steps = visibleStepConfigs.map(function (s) { return s.label; });
|
|
50882
50919
|
var activeStep = stepKey
|
|
50883
50920
|
? Math.max(0, visibleStepConfigs.findIndex(function (s) { return s.step_key === stepKey; }))
|
|
@@ -50912,8 +50949,7 @@ function StepperBar(_a) {
|
|
|
50912
50949
|
// clickable; otherwise only completed (already-visited) steps are.
|
|
50913
50950
|
var isClickable = !!onStepClick &&
|
|
50914
50951
|
!!sKey &&
|
|
50915
|
-
|
|
50916
|
-
(allowAllNavigation || isCompleted);
|
|
50952
|
+
isStepperStepReachable(isActive, allowAllNavigation, isCompleted);
|
|
50917
50953
|
var connectorStyle = vertical
|
|
50918
50954
|
? {
|
|
50919
50955
|
width: '2px',
|
|
@@ -50984,10 +51020,10 @@ function applyProgressBarStyles(responsiveStyles) {
|
|
|
50984
51020
|
return responsiveStyles;
|
|
50985
51021
|
}
|
|
50986
51022
|
function ProgressBarElement(_a) {
|
|
50987
|
-
var _b, _c, _d, _e, _f, _g
|
|
50988
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress,
|
|
51023
|
+
var _b, _c, _d, _e, _f, _g;
|
|
51024
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _h = _a.curDepth, curDepth = _h === void 0 ? 1 : _h, _j = _a.maxDepth, maxDepth = _j === void 0 ? 1 : _j, stepKey = _a.stepKey, runElementActions = _a.runElementActions, client = _a.client, _k = _a.elementProps, elementProps = _k === void 0 ? {} : _k, children = _a.children;
|
|
50989
51025
|
var styles = useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
50990
|
-
var
|
|
51026
|
+
var _l = __read(useReducer(function (x) { return x + 1; }, 0), 2), rerender = _l[1];
|
|
50991
51027
|
var isStepper = !!((_b = element.properties) === null || _b === void 0 ? void 0 : _b.stepper);
|
|
50992
51028
|
// Fetch prior step completion the first time a stepper renders (deduped per
|
|
50993
51029
|
// form inside loadCompletedSteps), then re-render this stepper to show it
|
|
@@ -50998,9 +51034,9 @@ function ProgressBarElement(_a) {
|
|
|
50998
51034
|
var vertical = element.styles.bar_direction === 'vertical';
|
|
50999
51035
|
var containerProps = __assign({ css: __assign(__assign({ display: 'flex', flexDirection: 'column', position: 'relative', width: '100%' }, (vertical && { height: '100%' })), styles.getTarget('barContainer')) }, elementProps);
|
|
51000
51036
|
if (isStepper) {
|
|
51001
|
-
// Clicking a step navigates to it via a NEXT action
|
|
51002
|
-
//
|
|
51003
|
-
//
|
|
51037
|
+
// Clicking a step navigates to it via a NEXT action without submitting.
|
|
51038
|
+
// Navigation to all steps makes any step clickable, otherwise only
|
|
51039
|
+
// already-visited steps are
|
|
51004
51040
|
var allowAllNavigation = !!((_c = element.properties) === null || _c === void 0 ? void 0 : _c.navigate_to_all_steps);
|
|
51005
51041
|
var onStepClick = function (targetStepKey) {
|
|
51006
51042
|
return runElementActions({
|
|
@@ -51009,9 +51045,7 @@ function ProgressBarElement(_a) {
|
|
|
51009
51045
|
actions: [{ type: ACTION_NEXT, next_step_key: targetStepKey }]
|
|
51010
51046
|
});
|
|
51011
51047
|
};
|
|
51012
|
-
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles,
|
|
51013
|
-
// TODO: remove stepper_steps after BE migration
|
|
51014
|
-
stepConfigs: (_g = (_e = (_d = element.properties) === null || _d === void 0 ? void 0 : _d.entries) !== null && _e !== void 0 ? _e : (_f = element.properties) === null || _f === void 0 ? void 0 : _f.stepper_steps) !== null && _g !== void 0 ? _g : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: onStepClick, allowAllNavigation: allowAllNavigation, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
51048
|
+
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles, stepConfigs: (_e = (_d = element.properties) === null || _d === void 0 ? void 0 : _d.entries) !== null && _e !== void 0 ? _e : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: onStepClick, allowAllNavigation: allowAllNavigation, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
51015
51049
|
}
|
|
51016
51050
|
var userProgress, userSegments;
|
|
51017
51051
|
if (![null, undefined].includes(progress)) {
|
|
@@ -51020,10 +51054,10 @@ function ProgressBarElement(_a) {
|
|
|
51020
51054
|
}
|
|
51021
51055
|
else {
|
|
51022
51056
|
userProgress = progress.progress;
|
|
51023
|
-
userSegments = (
|
|
51057
|
+
userSegments = (_f = progress.segments) !== null && _f !== void 0 ? _f : element.properties.num_segments;
|
|
51024
51058
|
}
|
|
51025
51059
|
}
|
|
51026
|
-
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (
|
|
51060
|
+
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (_g = element.properties) === null || _g === void 0 ? void 0 : _g.progress;
|
|
51027
51061
|
var percent = isNum(userProgress)
|
|
51028
51062
|
? userProgress
|
|
51029
51063
|
: Math.round((100 * (curDepth + 1)) / ((maxDepth || 1) + 1));
|
|
@@ -51194,8 +51228,8 @@ function ElementSkeleton(_a) {
|
|
|
51194
51228
|
}
|
|
51195
51229
|
var templateObject_1;
|
|
51196
51230
|
|
|
51197
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
51198
|
-
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
51231
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.CX1r3NuY.js'); });
|
|
51232
|
+
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.CGC4knJ1.js'); });
|
|
51199
51233
|
var Basic = {
|
|
51200
51234
|
ImageElement: ImageElement,
|
|
51201
51235
|
VideoElement: VideoElement,
|
|
@@ -51225,4 +51259,4 @@ Object.entries(Elements).map(function (_a) {
|
|
|
51225
51259
|
});
|
|
51226
51260
|
});
|
|
51227
51261
|
|
|
51228
|
-
export { firebaseSMSCountries as $, featheryDoc as A, getStripe as B, filterKeys as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, ERROR_COLOR as I, DROPDOWN_Z_INDEX as J, getFieldValue$1 as K, stringifyWithNull as L, emailPatternStr as M, replaceTextVariables 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,
|
|
51262
|
+
export { firebaseSMSCountries as $, featheryDoc as A, getStripe as B, filterKeys as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, ERROR_COLOR as I, DROPDOWN_Z_INDEX as J, getFieldValue$1 as K, stringifyWithNull as L, emailPatternStr as M, replaceTextVariables 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, ACTION_BACK 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, loadCompletedSteps as aW, initState as aX, getRepeatedContainers as aY, getRepeatedContainer as aZ, getDefaultFieldValue 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, getPrevStepKey as b0, ACTION_NEXT as b1, nextStepKey as b2, isButtonDisabled as b3, getCompletedStepKeys as b4, isStepperStepVisible as b5, isStepperStepReachable as b6, loadPhoneValidator as b7, initInfo as b8, getCookie as b9, 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, getDefaultExportFromCjs as x, Fragment as y, isMobile as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, h as hoverStylesGuard, b as jsxs, j as jsx, d as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, b as jsxs, j as jsx, d as iosScrollOnFocus } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aS as __extends, _ as __assign, q as __rest, T as __spreadArray, s as __awaiter, t as __generator } from './fthry_index.
|
|
1
|
+
import { aS as __extends, _ as __assign, q as __rest, T as __spreadArray, s as __awaiter, t as __generator } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
|
|
3
3
|
function dset(obj, keys, val) {
|
|
4
4
|
keys.split && (keys=keys.split('.'));
|
|
@@ -5352,7 +5352,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5352
5352
|
return __generator(this, function (_b) {
|
|
5353
5353
|
switch (_b.label) {
|
|
5354
5354
|
case 0: return [4 /*yield*/, import(
|
|
5355
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5355
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.CZqUYnsi.js')];
|
|
5356
5356
|
case 1:
|
|
5357
5357
|
autotrack = _b.sent();
|
|
5358
5358
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5371,7 +5371,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5371
5371
|
return __generator(this, function (_b) {
|
|
5372
5372
|
switch (_b.label) {
|
|
5373
5373
|
case 0: return [4 /*yield*/, import(
|
|
5374
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5374
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.CZqUYnsi.js')];
|
|
5375
5375
|
case 1:
|
|
5376
5376
|
autotrack = _b.sent();
|
|
5377
5377
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5390,7 +5390,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5390
5390
|
return __generator(this, function (_b) {
|
|
5391
5391
|
switch (_b.label) {
|
|
5392
5392
|
case 0: return [4 /*yield*/, import(
|
|
5393
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5393
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.CZqUYnsi.js')];
|
|
5394
5394
|
case 1:
|
|
5395
5395
|
autotrack = _b.sent();
|
|
5396
5396
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5409,7 +5409,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5409
5409
|
return __generator(this, function (_b) {
|
|
5410
5410
|
switch (_b.label) {
|
|
5411
5411
|
case 0: return [4 /*yield*/, import(
|
|
5412
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5412
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.CZqUYnsi.js')];
|
|
5413
5413
|
case 1:
|
|
5414
5414
|
autotrack = _b.sent();
|
|
5415
5415
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5564,7 +5564,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5564
5564
|
return [2 /*return*/, []];
|
|
5565
5565
|
}
|
|
5566
5566
|
return [4 /*yield*/, import(
|
|
5567
|
-
/* webpackChunkName: "queryString" */ './fthry_index.
|
|
5567
|
+
/* webpackChunkName: "queryString" */ './fthry_index.DpVMd01B.js')];
|
|
5568
5568
|
case 1:
|
|
5569
5569
|
queryString = (_a.sent()).queryString;
|
|
5570
5570
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -6607,7 +6607,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6607
6607
|
tsubMiddleware = _d;
|
|
6608
6608
|
if (!(hasLegacyDestinations(cdnSettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
6609
6609
|
return [4 /*yield*/, import(
|
|
6610
|
-
/* webpackChunkName: "ajs-destination" */ './fthry_index.
|
|
6610
|
+
/* webpackChunkName: "ajs-destination" */ './fthry_index.DwGHkZCX.js').then(function (mod) {
|
|
6611
6611
|
return mod.ajsDestinations(writeKey, cdnSettings, analytics.integrations, options, tsubMiddleware, legacyIntegrationSources);
|
|
6612
6612
|
})];
|
|
6613
6613
|
case 4:
|
|
@@ -6620,7 +6620,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6620
6620
|
legacyDestinations = _e;
|
|
6621
6621
|
if (!cdnSettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
6622
6622
|
return [4 /*yield*/, import(
|
|
6623
|
-
/* webpackChunkName: "legacyVideos" */ './fthry_index.
|
|
6623
|
+
/* webpackChunkName: "legacyVideos" */ './fthry_index.DT69gcWO.js').then(function (mod) {
|
|
6624
6624
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
6625
6625
|
})];
|
|
6626
6626
|
case 7:
|
|
@@ -6629,7 +6629,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6629
6629
|
case 8:
|
|
6630
6630
|
if (!((_a = options.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
6631
6631
|
return [4 /*yield*/, import(
|
|
6632
|
-
/* webpackChunkName: "schemaFilter" */ './fthry_index.
|
|
6632
|
+
/* webpackChunkName: "schemaFilter" */ './fthry_index.CsM8DPsH.js').then(function (mod) {
|
|
6633
6633
|
var _a;
|
|
6634
6634
|
return mod.schemaFilter((_a = options.plan) === null || _a === void 0 ? void 0 : _a.track, cdnSettings);
|
|
6635
6635
|
})];
|
|
@@ -6674,7 +6674,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6674
6674
|
return enabled;
|
|
6675
6675
|
})) return [3 /*break*/, 18];
|
|
6676
6676
|
return [4 /*yield*/, import(
|
|
6677
|
-
/* webpackChunkName: "remoteMiddleware" */ './fthry_index.
|
|
6677
|
+
/* webpackChunkName: "remoteMiddleware" */ './fthry_index.CKVts5To.js').then(function (_a) {
|
|
6678
6678
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
6679
6679
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6680
6680
|
var middleware, promises;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator, T as __spreadArray, e as __read, a1 as __values, w as featheryWindow, a2 as loadQRScanner, a3 as throttle, j as jsx, b as jsxs, _ as __assign, y as Fragment, E as ErrorInput, a4 as qrPromise } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator, T as __spreadArray, e as __read, a1 as __values, w as featheryWindow, a2 as loadQRScanner, a3 as throttle, j as jsx, b as jsxs, _ as __assign, y as Fragment, E as ErrorInput, a4 as qrPromise } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import React__default, { useEffect, useCallback } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.DKvdF1tW.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, y as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, y as Fragment, E as ErrorInput } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as __read, j as jsx, y as Fragment, z as isMobile, b as jsxs, _ as __assign, H as HoverTooltip, d as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { e as __read, j as jsx, y as Fragment, z as isMobile, b as jsxs, _ as __assign, H as HoverTooltip, d as iosScrollOnFocus } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.B2Es9K0o.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.DKvdF1tW.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, r as resetStyles, J as DROPDOWN_Z_INDEX, s as __awaiter, t as __generator, v as FeatheryClient, O as Overlay, P as debounce } from './fthry_index.
|
|
1
|
+
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, r as resetStyles, J as DROPDOWN_Z_INDEX, s as __awaiter, t as __generator, v as FeatheryClient, O as Overlay, P as debounce } from './fthry_index.4QNSIT1t.js';
|
|
2
2
|
import { useRef, useEffect, memo, useState, useCallback } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.ByFQNx8z.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.7XgEXbYu.js';
|
|
5
|
+
import { u as useElementSize } from './fthry_useElementSize.n7b3hTj8.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator } from './fthry_index.
|
|
2
|
-
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator } from './fthry_index.4QNSIT1t.js';
|
|
2
|
+
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.B9t_y8G8.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'jszip';
|