@feathery/react 2.39.0 → 2.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/grid/Element/index.d.ts.map +1 -1
- package/cjs/Form/grid/StyledContainer/index.d.ts +2 -1
- package/cjs/Form/grid/StyledContainer/index.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SegmentBar.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SegmentBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SmoothBar.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SmoothBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts +16 -0
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -0
- package/cjs/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.L8QqDrZ9.js → fthry_AssistantChat.DQ0U08nB.js} +4 -4
- package/cjs/{fthry_FormControl.B6IeQ4Ds.js → fthry_FormControl.CGLQxWcB.js} +1 -1
- package/cjs/{fthry_InlineTooltip.CHwGV2ye.js → fthry_InlineTooltip.Di8A8FHv.js} +2 -2
- package/cjs/{fthry_Overlay.BApTL35K.js → fthry_Overlay.Da9Aifek.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.B4dRDX90.js → fthry_PaymentMethodField.BCfRfF5k.js} +4 -4
- package/cjs/{fthry_Placeholder.DWR5nO5t.js → fthry_Placeholder.DEc4QJJ4.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.CrWpuKPG.js → fthry_ShowEyeIcon.DUuKQNq7.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.CIRngtHJ.js → fthry_highlighted-body-TPN3WLV5.sapB9BQx.js} +3 -3
- package/cjs/{fthry_index.TVlALn4r.js → fthry_index.-lo4kt_U.js} +1 -1
- package/cjs/{fthry_index.BEpOYeuD.js → fthry_index.0uHTYf8v.js} +4 -4
- package/cjs/{fthry_index.xHwcINEA.js → fthry_index.2hec0Cyq.js} +1 -1
- package/cjs/{fthry_index.CaQDsoPD.js → fthry_index.BL8FLs1p.js} +152 -56
- package/cjs/{fthry_index.BVr4Lcyo.js → fthry_index.BO0ubvlf.js} +1 -1
- package/cjs/{fthry_index.DKe_zH6q.js → fthry_index.BTKHmnww.js} +1 -1
- package/cjs/{fthry_index.Dl1GeWM6.js → fthry_index.Bqr-JETA.js} +4 -4
- package/cjs/{fthry_index.CLqeg1q-.js → fthry_index.BvEoZLvr.js} +5 -5
- package/cjs/{fthry_index.CznkErSr.js → fthry_index.Bxvep-HH.js} +6 -6
- package/cjs/{fthry_index.BBz67wEv.js → fthry_index.C4fLOWzK.js} +5 -5
- package/cjs/{fthry_index.BxTMSKYR.js → fthry_index.C9MjO1_2.js} +6 -6
- package/cjs/{fthry_index.Bde3s5tl.js → fthry_index.CBXhgNiq.js} +5 -5
- package/cjs/{fthry_index.Bq4ONiuv.js → fthry_index.CIczM5LF.js} +1 -1
- package/cjs/{fthry_index.D7IlFInQ.js → fthry_index.Cc253N4g.js} +2 -2
- package/cjs/{fthry_index.Dly0rruo.js → fthry_index.D92_iqxj.js} +1 -1
- package/cjs/{fthry_index.7DwrYriA.js → fthry_index.DRJnbdgq.js} +8 -8
- package/cjs/{fthry_index.B9CMlFfK.js → fthry_index.DpAKJ8nY.js} +2 -2
- package/cjs/{fthry_index.YyKms2Ty.js → fthry_index.EDEcZRri.js} +5 -5
- package/cjs/{fthry_index.BwxSWwJZ.js → fthry_index.KsIR58CL.js} +3 -3
- package/cjs/{fthry_index.DYCg5RsQ.js → fthry_index.SCbU_F4C.js} +3 -3
- package/cjs/{fthry_index.Ca9y1U8W.js → fthry_index.ZWEzxCxs.js} +1 -1
- package/cjs/{fthry_index.IxpG538L.js → fthry_index.bd_dascE.js} +1 -1
- package/cjs/{fthry_index.qxBbMcVu.js → fthry_index.hZwAxt4e.js} +6 -6
- package/cjs/{fthry_index.C7zyqnbf.js → fthry_index.iOhM0yii.js} +5 -5
- package/cjs/{fthry_index.fFWtGd8u.js → fthry_index.nVNuvtTk.js} +1 -1
- package/cjs/{fthry_input.C-RhGr8Z.js → fthry_input.Cem2OoEV.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.B40IiwEd.js → fthry_mermaid-O7DHMXV3.DtDL6zuT.js} +3 -3
- package/cjs/{fthry_script.BUzm9HxD.js → fthry_script.CcpqD6sz.js} +1 -1
- package/cjs/{fthry_styles.BD-5zYX4.js → fthry_styles.C570g4Qk.js} +1 -1
- package/cjs/{fthry_useElementSize.7Vh9Fjsi.js → fthry_useElementSize.BTm7mSxv.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.BYr2Zkyy.js → fthry_useSalesforceSync.Bb_ko1ft.js} +1 -1
- package/cjs/{fthry_webfontloader.B3eO9SnD.js → fthry_webfontloader.DQj-dIFN.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/Form/grid/StyledContainer/index.d.ts +2 -1
- package/dist/Form/grid/StyledContainer/index.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SegmentBar.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SegmentBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SmoothBar.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SmoothBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts +16 -0
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -0
- package/dist/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.B4O7bQrp.js → fthry_AssistantChat.D_blXDVn.js} +4 -4
- package/dist/{fthry_FormControl.BEWaNHn3.js → fthry_FormControl.BAlGkOxw.js} +1 -1
- package/dist/{fthry_InlineTooltip.CP92bAZA.js → fthry_InlineTooltip.CFWVGXML.js} +2 -2
- package/dist/{fthry_Overlay.D_UvdjmJ.js → fthry_Overlay.BwPgEKz0.js} +1 -1
- package/dist/{fthry_PaymentMethodField.BiBx9LjH.js → fthry_PaymentMethodField.DU5n1W6P.js} +4 -4
- package/dist/{fthry_Placeholder.CsY-scXc.js → fthry_Placeholder.DXkvTQTB.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CN_11GCA.js → fthry_ShowEyeIcon.D_7XU7MB.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.B91Jtsra.js → fthry_highlighted-body-TPN3WLV5.unZcvE33.js} +3 -3
- package/dist/{fthry_index.CRbJuR5X.js → fthry_index.2IgipsEM.js} +6 -6
- package/dist/{fthry_index.CCXpngi5.js → fthry_index.B-nybZYJ.js} +5 -5
- package/dist/{fthry_index.CNjt1dpv.js → fthry_index.B9DIVIQU.js} +1 -1
- package/dist/{fthry_index.CUa6fIIV.js → fthry_index.BM2ld3tG.js} +8 -8
- package/dist/{fthry_index.ebPmN15E.js → fthry_index.BTgeVAmS.js} +4 -4
- package/dist/{fthry_index.DHr6yAT3.js → fthry_index.Bbc3lP0x.js} +6 -6
- package/dist/{fthry_index.k6djaqmS.js → fthry_index.BfNP3Kp1.js} +2 -2
- package/dist/{fthry_index.w7Nx6zNo.js → fthry_index.BsBSZ5eS.js} +1 -1
- package/dist/{fthry_index.DgVE4qW7.js → fthry_index.Bv0Rd4n8.js} +152 -56
- package/dist/{fthry_index.BFwgxX3L.js → fthry_index.Bydv6C9o.js} +5 -5
- package/dist/{fthry_index.BitwCfs0.js → fthry_index.C2RescJg.js} +1 -1
- package/dist/{fthry_index.W8pRYyDi.js → fthry_index.C7DKIdK3.js} +6 -6
- package/dist/{fthry_index.tw8xNWZc.js → fthry_index.CXEINKN6.js} +2 -2
- package/dist/{fthry_index.slanwBPP.js → fthry_index.CXcuEd6j.js} +1 -1
- package/dist/{fthry_index.DtBZRH06.js → fthry_index.CZ9WEIQj.js} +5 -5
- package/dist/{fthry_index.BYoImnvU.js → fthry_index.CsVcvrP3.js} +1 -1
- package/dist/{fthry_index.OjuYAGjs.js → fthry_index.CswL31zQ.js} +1 -1
- package/dist/{fthry_index.DJwLQi_x.js → fthry_index.D94NLNhy.js} +1 -1
- package/dist/{fthry_index.BXAOPQ-N.js → fthry_index.DGbZqMXK.js} +5 -5
- package/dist/{fthry_index.BK2Hnx9K.js → fthry_index.DKKxZ5bF.js} +1 -1
- package/dist/{fthry_index.BqX45OG8.js → fthry_index.DVeINBpy.js} +3 -3
- package/dist/{fthry_index.D5kSN9-t.js → fthry_index.DdyjeQle.js} +1 -1
- package/dist/{fthry_index.DTkLn4V9.js → fthry_index.DxbE60cC.js} +3 -3
- package/dist/{fthry_index.BwsOm7hb.js → fthry_index.YWqg41F5.js} +5 -5
- package/dist/{fthry_index.DUEiyRBT.js → fthry_index.mqd6gAHS.js} +4 -4
- package/dist/{fthry_input.D94H5xWk.js → fthry_input.D1vjPw4v.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.D_D0ytjk.js → fthry_mermaid-O7DHMXV3.Dby-9naO.js} +3 -3
- package/dist/{fthry_script.C4MOLOaj.js → fthry_script.CdqUz_xN.js} +1 -1
- package/dist/{fthry_styles.BQL5_8xd.js → fthry_styles.BwcJywy5.js} +1 -1
- package/dist/{fthry_useElementSize.C7pCjEY0.js → fthry_useElementSize.Bsa4K6S7.js} +1 -1
- package/dist/{fthry_useSalesforceSync.Bj6SvTIc.js → fthry_useSalesforceSync.C6H1QGFx.js} +1 -1
- package/dist/{fthry_webfontloader.CT2fb2Df.js → fthry_webfontloader.CUla19Cs.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a2 as stringify, a3 as rulesheet, a4 as COMMENT, a5 as middleware, a6 as RULESET, a7 as combine, a8 as match, a9 as serialize, aa as copy, ab as replace, ac as WEBKIT, ad as MOZ, ae as MS, af as KEYFRAMES, ag as DECLARATION, ah as dealloc, ai as alloc, aj as hash, ak as charat, al as strlen, am as indexof, an as next, ao as token, ap as from, aq as peek, ar as delimit, as as slice, at as position, au as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { a2 as stringify, a3 as rulesheet, a4 as COMMENT, a5 as middleware, a6 as RULESET, a7 as combine, a8 as match, a9 as serialize, aa as copy, ab as replace, ac as WEBKIT, ad as MOZ, ae as MS, af as KEYFRAMES, ag as DECLARATION, ah as dealloc, ai as alloc, aj as hash, ak as charat, al as strlen, am as indexof, an as next, ao as token, ap as from, aq as peek, ar as delimit, as as slice, at as position, au as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.DXkvTQTB.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C6H1QGFx.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.BwPgEKz0.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { memo, useRef, useState } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
7
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
8
|
-
import { I as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.DXkvTQTB.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.BwPgEKz0.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.Bsa4K6S7.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.D_7XU7MB.js';
|
|
8
|
+
import { I as IMaskInput } from './fthry_input.D1vjPw4v.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './fthry_index.
|
|
13
|
+
import './fthry_index.D94NLNhy.js';
|
|
14
14
|
|
|
15
15
|
function TextAutocomplete(_a) {
|
|
16
16
|
var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard, i as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard, i as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useMemo } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C6H1QGFx.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.BwPgEKz0.js';
|
|
10
10
|
|
|
11
11
|
function ButtonGroupField(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useMemo, useEffect } from 'react';
|
|
3
|
-
import { F as FormControl } from './fthry_FormControl.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { F as FormControl } from './fthry_FormControl.BAlGkOxw.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DKKxZ5bF.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C6H1QGFx.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.BwPgEKz0.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.Bv0Rd4n8.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.BwcJywy5.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.
|
|
1
|
+
import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -21092,7 +21092,7 @@ var Element$1 = function (_a) {
|
|
|
21092
21092
|
if (elementOnView && onViewElements.includes(fieldId))
|
|
21093
21093
|
basicProps.onView = function (inView) { return elementOnView(fieldId, inView); };
|
|
21094
21094
|
if (type === 'progress_bar')
|
|
21095
|
-
return (jsx$1(Elements.ProgressBarElement, __assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth })));
|
|
21095
|
+
return (jsx$1(Elements.ProgressBarElement, __assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth, stepKey: activeStep === null || activeStep === void 0 ? void 0 : activeStep.key, changeStep: form.changeStep })));
|
|
21096
21096
|
else if (type === 'image')
|
|
21097
21097
|
return jsx$1(Elements.ImageElement, __assign({}, basicProps));
|
|
21098
21098
|
else if (type === 'video')
|
|
@@ -22174,12 +22174,6 @@ var ShadowDomHtmlContent = function (_a) {
|
|
|
22174
22174
|
} }));
|
|
22175
22175
|
};
|
|
22176
22176
|
|
|
22177
|
-
/**
|
|
22178
|
-
* StyledContainer
|
|
22179
|
-
* This component applies all of the style properties to "Containers" which are used
|
|
22180
|
-
* around elements and other "Containers". This component is used by both hosted forms
|
|
22181
|
-
* and the editor to render "Containers".
|
|
22182
|
-
*/
|
|
22183
22177
|
var StyledContainer = forwardRef(function (_a, ref) {
|
|
22184
22178
|
var _b, _c, _d, _e;
|
|
22185
22179
|
var _node = _a.node, raw = _a.raw, _f = _a.css, css = _f === void 0 ? {} : _f, viewport = _a.viewport, component = _a.component, _children = _a.children, className = _a.className, _g = _a.viewportOnly, viewportOnly = _g === void 0 ? false : _g, _h = _a.editMode, editMode = _h === void 0 ? false : _h, breakpoint = _a.breakpoint, props = __rest$1(_a, ["node", "raw", "css", "viewport", "component", "children", "className", "viewportOnly", "editMode", "breakpoint"]);
|
|
@@ -39695,7 +39689,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
39695
39689
|
}, [activeStep, stepKey, formName]);
|
|
39696
39690
|
}
|
|
39697
39691
|
|
|
39698
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
39692
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.D_blXDVn.js').then(function (n) { return n.A; }); });
|
|
39699
39693
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
39700
39694
|
|
|
39701
39695
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -46293,9 +46287,9 @@ function init(sdkKey, options) {
|
|
|
46293
46287
|
if (runningInClient()) {
|
|
46294
46288
|
// Dynamically load libraries that must be client side
|
|
46295
46289
|
global.scriptjsLoadPromise = import(
|
|
46296
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46290
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.CdqUz_xN.js').then(function (n) { return n.s; });
|
|
46297
46291
|
global.webfontloaderPromise = import(
|
|
46298
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46292
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CUla19Cs.js').then(function (n) { return n.w; });
|
|
46299
46293
|
// Client-side tracking logic
|
|
46300
46294
|
if (initState.userTracking === 'cookie') {
|
|
46301
46295
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46441,7 +46435,7 @@ function getFieldValues() {
|
|
|
46441
46435
|
return __assign({}, fieldValues);
|
|
46442
46436
|
}
|
|
46443
46437
|
function logFeatheryBadge() {
|
|
46444
|
-
console.log('%c Feathery %c v' + "2.39.
|
|
46438
|
+
console.log('%c Feathery %c v' + "2.39.1" + ' ', // replaced with real version during build
|
|
46445
46439
|
'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;');
|
|
46446
46440
|
}
|
|
46447
46441
|
|
|
@@ -47956,64 +47950,64 @@ breakpoint) {
|
|
|
47956
47950
|
|
|
47957
47951
|
var fieldLoaders = {
|
|
47958
47952
|
AddressLine1: function () {
|
|
47959
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47953
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.DGbZqMXK.js');
|
|
47960
47954
|
},
|
|
47961
47955
|
ButtonGroupField: function () {
|
|
47962
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47956
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BTgeVAmS.js');
|
|
47963
47957
|
},
|
|
47964
47958
|
CheckboxField: function () {
|
|
47965
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47959
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DKKxZ5bF.js');
|
|
47966
47960
|
},
|
|
47967
47961
|
CheckboxGroupField: function () {
|
|
47968
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47962
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Bbc3lP0x.js');
|
|
47969
47963
|
},
|
|
47970
47964
|
ColorPickerField: function () {
|
|
47971
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47965
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.C2RescJg.js');
|
|
47972
47966
|
},
|
|
47973
47967
|
CustomField: function () {
|
|
47974
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47968
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.CXcuEd6j.js');
|
|
47975
47969
|
},
|
|
47976
47970
|
DateSelectorField: function () {
|
|
47977
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47971
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.2IgipsEM.js');
|
|
47978
47972
|
},
|
|
47979
47973
|
DropdownField: function () {
|
|
47980
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47974
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Bydv6C9o.js');
|
|
47981
47975
|
},
|
|
47982
47976
|
DropdownMultiField: function () {
|
|
47983
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47977
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.B-nybZYJ.js');
|
|
47984
47978
|
},
|
|
47985
47979
|
FileUploadField: function () {
|
|
47986
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47980
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CswL31zQ.js');
|
|
47987
47981
|
},
|
|
47988
47982
|
MatrixField: function () {
|
|
47989
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47983
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DVeINBpy.js');
|
|
47990
47984
|
},
|
|
47991
47985
|
PasswordField: function () {
|
|
47992
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47986
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.YWqg41F5.js');
|
|
47993
47987
|
},
|
|
47994
47988
|
PaymentMethodField: function () {
|
|
47995
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47989
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DU5n1W6P.js');
|
|
47996
47990
|
},
|
|
47997
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47991
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CZ9WEIQj.js'); },
|
|
47998
47992
|
PinInputField: function () {
|
|
47999
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47993
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BsBSZ5eS.js');
|
|
48000
47994
|
},
|
|
48001
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47995
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.CXEINKN6.js'); },
|
|
48002
47996
|
RadioButtonGroupField: function () {
|
|
48003
47997
|
return import(
|
|
48004
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47998
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.C7DKIdK3.js');
|
|
48005
47999
|
},
|
|
48006
48000
|
RatingField: function () {
|
|
48007
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
48001
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.B9DIVIQU.js');
|
|
48008
48002
|
},
|
|
48009
48003
|
SignatureField: function () {
|
|
48010
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
48004
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.DxbE60cC.js');
|
|
48011
48005
|
},
|
|
48012
48006
|
SliderField: function () {
|
|
48013
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
48007
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.BfNP3Kp1.js');
|
|
48014
48008
|
},
|
|
48015
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
48016
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
48009
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.BM2ld3tG.js'); },
|
|
48010
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.mqd6gAHS.js'); }
|
|
48017
48011
|
};
|
|
48018
48012
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
48019
48013
|
// Share the resolved component between preload and render. A separate
|
|
@@ -48871,33 +48865,121 @@ function ButtonElement(_a) {
|
|
|
48871
48865
|
|
|
48872
48866
|
var formerProgress;
|
|
48873
48867
|
function SmoothBar(_a) {
|
|
48874
|
-
var
|
|
48875
|
-
var
|
|
48868
|
+
var _b, _c;
|
|
48869
|
+
var styles = _a.styles, percent = _a.percent, _d = _a.vertical, vertical = _d === void 0 ? false : _d;
|
|
48870
|
+
var _e = __read(useState(formerProgress), 2), curProgress = _e[0], setCurProgress = _e[1];
|
|
48876
48871
|
useEffect(function () {
|
|
48877
|
-
// This allows the user to see a smooth progress bar animation from former progress amount to current amount
|
|
48878
48872
|
if (percent !== curProgress) {
|
|
48879
48873
|
setCurProgress(percent);
|
|
48880
48874
|
formerProgress = percent;
|
|
48881
48875
|
}
|
|
48882
48876
|
}, [percent]);
|
|
48883
|
-
|
|
48877
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48878
|
+
var crossDim = vertical ? 'width' : 'height';
|
|
48879
|
+
return (jsx$1("div", __assign({ css: __assign((_b = {}, _b[crossDim] = '0.4rem', _b[mainDim] = '100%', _b.flexDirection = vertical ? 'column-reverse' : undefined, _b.borderRadius = 0, _b.display = 'flex', _b.backgroundColor = '#e9ecef', _b), styles.getTarget('barWrapper')) }, { children: jsx$1("div", { style: (_c = {}, _c[mainDim] = "".concat(curProgress, "%"), _c), css: __assign(__assign({ transition: "".concat(mainDim, " 0.6s ease") }, styles.getTarget('barWrapper', true)), styles.getTarget('bar')) }) })));
|
|
48884
48880
|
}
|
|
48885
48881
|
|
|
48886
48882
|
function SegmentBar(_a) {
|
|
48887
|
-
var
|
|
48883
|
+
var _b, _c;
|
|
48884
|
+
var styles = _a.styles, percent = _a.percent, numSegments = _a.numSegments, _d = _a.vertical, vertical = _d === void 0 ? false : _d;
|
|
48885
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48886
|
+
var crossDim = vertical ? 'width' : 'height';
|
|
48887
|
+
var spacerProp = vertical ? 'marginBottom' : 'marginRight';
|
|
48888
48888
|
var numFilled = Math.floor(percent / (100 / numSegments));
|
|
48889
48889
|
var filledSegments = [];
|
|
48890
48890
|
for (var i = 0; i < numFilled; i++) {
|
|
48891
48891
|
var spacer = i === numSegments - 1 ? 0 : 5;
|
|
48892
|
-
filledSegments.push(jsx$1("div", { css: __assign(__assign({
|
|
48892
|
+
filledSegments.push(jsx$1("div", { css: __assign(__assign((_b = {}, _b[mainDim] = "calc(".concat(100 / numSegments, "% - ").concat(spacer, "px)"), _b[spacerProp] = "".concat(spacer, "px"), _b.borderRadius = '2px', _b), styles.getTarget('barWrapper', true)), styles.getTarget('bar')) }, i));
|
|
48893
48893
|
}
|
|
48894
|
-
return (jsx$1("div", __assign({ style: {
|
|
48895
|
-
|
|
48896
|
-
|
|
48897
|
-
|
|
48898
|
-
|
|
48899
|
-
|
|
48900
|
-
|
|
48894
|
+
return (jsx$1("div", __assign({ style: (_c = {},
|
|
48895
|
+
_c[crossDim] = '0.4rem',
|
|
48896
|
+
_c[mainDim] = '100%',
|
|
48897
|
+
_c.flexDirection = vertical ? 'column-reverse' : undefined,
|
|
48898
|
+
_c.display = 'flex',
|
|
48899
|
+
_c.backgroundColor = '#e9ecef',
|
|
48900
|
+
_c.borderRadius = '2px',
|
|
48901
|
+
_c) }, { children: filledSegments })));
|
|
48902
|
+
}
|
|
48903
|
+
|
|
48904
|
+
var CIRCLE_SIZE = 28;
|
|
48905
|
+
var CONNECTOR_GAP = 6;
|
|
48906
|
+
function StepperBar(_a) {
|
|
48907
|
+
var _b, _c;
|
|
48908
|
+
var styles = _a.styles, stepConfigs = _a.stepConfigs, stepKey = _a.stepKey, _d = _a.textPlacement, textPlacement = _d === void 0 ? 'bottom' : _d, onStepClick = _a.onStepClick, _e = _a.vertical, vertical = _e === void 0 ? false : _e, style = _a.style;
|
|
48909
|
+
var barStyles = styles.getTarget('bar');
|
|
48910
|
+
var showLabels = textPlacement !== 'none';
|
|
48911
|
+
var steps = stepConfigs.map(function (s) { return s.label; });
|
|
48912
|
+
var activeStep = stepKey
|
|
48913
|
+
? Math.max(0, stepConfigs.findIndex(function (s) { return s.step_key === stepKey; }))
|
|
48914
|
+
: 0;
|
|
48915
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48916
|
+
var crossAlign = vertical ? 'alignItems' : 'justifyContent';
|
|
48917
|
+
var circleStyleFor = function (isCompleted, isActive) {
|
|
48918
|
+
if (isActive || isCompleted)
|
|
48919
|
+
return __assign(__assign({}, barStyles), { color: '#fff' });
|
|
48920
|
+
return { backgroundColor: '#e9ecef', color: '#888' };
|
|
48921
|
+
};
|
|
48922
|
+
var circleContent = function (isCompleted, index) {
|
|
48923
|
+
return isCompleted ? (jsx$1("svg", __assign({ width: '14', height: '14', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2.5', strokeLinecap: 'round', strokeLinejoin: 'round' }, { children: jsx$1("polyline", { points: '20 6 9 17 4 12' }) }))) : (index + 1);
|
|
48924
|
+
};
|
|
48925
|
+
var renderNodes = function () {
|
|
48926
|
+
return steps.map(function (_, index) {
|
|
48927
|
+
var _a;
|
|
48928
|
+
var isCompleted = index < activeStep;
|
|
48929
|
+
var isActive = index === activeStep;
|
|
48930
|
+
var isLast = index === steps.length - 1;
|
|
48931
|
+
var sKey = (_a = stepConfigs === null || stepConfigs === void 0 ? void 0 : stepConfigs[index]) === null || _a === void 0 ? void 0 : _a.step_key;
|
|
48932
|
+
var isClickable = isCompleted && !!onStepClick && !!sKey;
|
|
48933
|
+
var connectorStyle = vertical
|
|
48934
|
+
? {
|
|
48935
|
+
width: '2px',
|
|
48936
|
+
flex: 1,
|
|
48937
|
+
marginTop: "".concat(CONNECTOR_GAP, "px"),
|
|
48938
|
+
marginBottom: "".concat(CONNECTOR_GAP, "px")
|
|
48939
|
+
}
|
|
48940
|
+
: {
|
|
48941
|
+
flex: 1,
|
|
48942
|
+
height: '2px',
|
|
48943
|
+
marginLeft: "".concat(CONNECTOR_GAP, "px"),
|
|
48944
|
+
marginRight: "".concat(CONNECTOR_GAP, "px")
|
|
48945
|
+
};
|
|
48946
|
+
return (jsxs(React__default.Fragment, { children: [jsx$1("div", __assign({ css: __assign({ width: "".concat(CIRCLE_SIZE, "px"), height: "".concat(CIRCLE_SIZE, "px"), borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '13px', fontWeight: 600, flexShrink: 0, cursor: isClickable ? 'pointer' : 'default', transition: 'opacity 0.15s ease', '&:hover': isClickable ? { opacity: 0.7 } : {} }, circleStyleFor(isCompleted, isActive)), onClick: isClickable ? function () { return onStepClick(sKey); } : undefined }, { children: circleContent(isCompleted, index) })), !isLast && (jsx$1("div", { css: __assign(__assign({}, connectorStyle), (isCompleted ? barStyles : { backgroundColor: '#e9ecef' })) }))] }, index));
|
|
48947
|
+
});
|
|
48948
|
+
};
|
|
48949
|
+
var renderLabelItems = function () {
|
|
48950
|
+
return steps.map(function (label, index) {
|
|
48951
|
+
var _a;
|
|
48952
|
+
var isLast = index === steps.length - 1;
|
|
48953
|
+
return (jsxs(React__default.Fragment, { children: [jsx$1("div", __assign({ style: (_a = {},
|
|
48954
|
+
_a[mainDim] = "".concat(CIRCLE_SIZE, "px"),
|
|
48955
|
+
_a.display = 'flex',
|
|
48956
|
+
_a[crossAlign] = 'center',
|
|
48957
|
+
_a.flexShrink = 0,
|
|
48958
|
+
_a) }, { children: jsx$1("span", __assign({ css: __assign(__assign({ fontSize: '12px', whiteSpace: 'nowrap' }, (vertical ? {} : { textAlign: 'center' })), styles.getTarget('barContainer')) }, { children: label })) })), !isLast && (jsx$1("div", { style: __assign({ flex: 1 }, (vertical
|
|
48959
|
+
? {
|
|
48960
|
+
marginTop: "".concat(CONNECTOR_GAP, "px"),
|
|
48961
|
+
marginBottom: "".concat(CONNECTOR_GAP, "px")
|
|
48962
|
+
}
|
|
48963
|
+
: {
|
|
48964
|
+
marginLeft: "".concat(CONNECTOR_GAP, "px"),
|
|
48965
|
+
marginRight: "".concat(CONNECTOR_GAP, "px")
|
|
48966
|
+
})) }))] }, index));
|
|
48967
|
+
});
|
|
48968
|
+
};
|
|
48969
|
+
if (vertical) {
|
|
48970
|
+
// textPlacement 'bottom' → labels on left, 'top' → labels on right
|
|
48971
|
+
var labelsOnLeft = textPlacement === 'bottom';
|
|
48972
|
+
return (jsxs("div", __assign({ style: __assign({ display: 'flex', flexDirection: labelsOnLeft ? 'row-reverse' : 'row', height: '100%', gap: showLabels ? '10px' : '0' }, style) }, { children: [jsx$1("div", __assign({ style: {
|
|
48973
|
+
display: 'flex',
|
|
48974
|
+
flexDirection: 'column',
|
|
48975
|
+
alignItems: 'center',
|
|
48976
|
+
width: "".concat(CIRCLE_SIZE, "px")
|
|
48977
|
+
} }, { children: renderNodes() })), showLabels && (jsx$1("div", __assign({ style: { display: 'flex', flexDirection: 'column' } }, { children: renderLabelItems() })))] })));
|
|
48978
|
+
}
|
|
48979
|
+
// Horizontal layout
|
|
48980
|
+
var labelsOnTop = textPlacement === 'top';
|
|
48981
|
+
var marginProp = labelsOnTop ? 'marginBottom' : 'marginTop';
|
|
48982
|
+
return (jsxs("div", __assign({ style: { display: 'flex', flexDirection: 'column', width: '100%' } }, { children: [showLabels && labelsOnTop && (jsx$1("div", __assign({ style: (_b = { display: 'flex' }, _b[marginProp] = '6px', _b) }, { children: renderLabelItems() }))), jsx$1("div", __assign({ style: { display: 'flex', alignItems: 'center' } }, { children: renderNodes() })), showLabels && !labelsOnTop && (jsx$1("div", __assign({ style: (_c = { display: 'flex' }, _c[marginProp] = '6px', _c) }, { children: renderLabelItems() })))] })));
|
|
48901
48983
|
}
|
|
48902
48984
|
|
|
48903
48985
|
function applyProgressBarStyles(responsiveStyles) {
|
|
@@ -48916,9 +48998,14 @@ function applyProgressBarStyles(responsiveStyles) {
|
|
|
48916
48998
|
return responsiveStyles;
|
|
48917
48999
|
}
|
|
48918
49000
|
function ProgressBarElement(_a) {
|
|
48919
|
-
var _b, _c;
|
|
48920
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress,
|
|
49001
|
+
var _b, _c, _d, _e, _f;
|
|
49002
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _g = _a.curDepth, curDepth = _g === void 0 ? 1 : _g, _h = _a.maxDepth, maxDepth = _h === void 0 ? 1 : _h, stepKey = _a.stepKey, changeStep = _a.changeStep, _j = _a.elementProps, elementProps = _j === void 0 ? {} : _j, children = _a.children;
|
|
48921
49003
|
var styles = useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
49004
|
+
var vertical = element.styles.bar_direction === 'vertical';
|
|
49005
|
+
var containerProps = __assign({ css: __assign(__assign({ display: 'flex', flexDirection: 'column', position: 'relative', width: '100%' }, (vertical && { height: '100%' })), styles.getTarget('barContainer')) }, elementProps);
|
|
49006
|
+
if ((_b = element.properties) === null || _b === void 0 ? void 0 : _b.stepper) {
|
|
49007
|
+
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles, stepConfigs: (_d = (_c = element.properties) === null || _c === void 0 ? void 0 : _c.stepper_steps) !== null && _d !== void 0 ? _d : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: changeStep, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
49008
|
+
}
|
|
48922
49009
|
var userProgress, userSegments;
|
|
48923
49010
|
if (![null, undefined].includes(progress)) {
|
|
48924
49011
|
if (typeof progress === 'number') {
|
|
@@ -48926,25 +49013,34 @@ function ProgressBarElement(_a) {
|
|
|
48926
49013
|
}
|
|
48927
49014
|
else {
|
|
48928
49015
|
userProgress = progress.progress;
|
|
48929
|
-
userSegments = (
|
|
49016
|
+
userSegments = (_e = progress.segments) !== null && _e !== void 0 ? _e : element.properties.num_segments;
|
|
48930
49017
|
}
|
|
48931
49018
|
}
|
|
48932
|
-
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (
|
|
49019
|
+
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (_f = element.properties) === null || _f === void 0 ? void 0 : _f.progress;
|
|
48933
49020
|
var percent = isNum(userProgress)
|
|
48934
49021
|
? userProgress
|
|
48935
49022
|
: Math.round((100 * (curDepth + 1)) / ((maxDepth || 1) + 1));
|
|
49023
|
+
var textPlacement = element.styles.percent_text_layout;
|
|
49024
|
+
var showText = textPlacement && textPlacement !== 'none';
|
|
48936
49025
|
var BarComponent = userSegments ? SegmentBar : SmoothBar;
|
|
48937
49026
|
var progressBarElements = [
|
|
48938
|
-
jsx$1(BarComponent, { styles: styles, percent: percent, numSegments: userSegments }, 'progress')
|
|
49027
|
+
jsx$1(BarComponent, { styles: styles, percent: percent, numSegments: userSegments, vertical: vertical }, 'progress')
|
|
48939
49028
|
];
|
|
48940
|
-
var completionPercentage = (jsx$1("div", __assign({ style: {
|
|
48941
|
-
|
|
49029
|
+
var completionPercentage = vertical ? (jsx$1("div", __assign({ style: {
|
|
49030
|
+
display: 'flex',
|
|
49031
|
+
alignItems: 'center',
|
|
49032
|
+
padding: '0 8px',
|
|
49033
|
+
whiteSpace: 'nowrap'
|
|
49034
|
+
} }, { children: "".concat(percent, "% completed") }), 'completionPercentage')) : (jsx$1("div", __assign({ style: { width: '100%', textAlign: 'center' } }, { children: "".concat(percent, "% completed") }), 'completionPercentage'));
|
|
49035
|
+
if (textPlacement === 'top') {
|
|
48942
49036
|
progressBarElements.unshift(completionPercentage);
|
|
48943
49037
|
}
|
|
48944
|
-
else if (
|
|
49038
|
+
else if (textPlacement === 'bottom') {
|
|
48945
49039
|
progressBarElements.push(completionPercentage);
|
|
48946
49040
|
}
|
|
48947
|
-
|
|
49041
|
+
// When vertical with text beside the bar, switch to row layout
|
|
49042
|
+
var flexDirection = vertical && showText ? 'row' : 'column';
|
|
49043
|
+
return (jsxs("div", __assign({}, containerProps, { css: __assign(__assign({}, containerProps.css), { flexDirection: flexDirection }) }, { children: [children, progressBarElements] })));
|
|
48948
49044
|
}
|
|
48949
49045
|
|
|
48950
49046
|
var shimmerFields = [
|
|
@@ -49091,7 +49187,7 @@ function ElementSkeleton(_a) {
|
|
|
49091
49187
|
}
|
|
49092
49188
|
var templateObject_1;
|
|
49093
49189
|
|
|
49094
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
49190
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.CsVcvrP3.js'); });
|
|
49095
49191
|
var Basic = {
|
|
49096
49192
|
ImageElement: ImageElement,
|
|
49097
49193
|
VideoElement: VideoElement,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { h as hasState, g as getStateOptions } from './fthry_index.
|
|
5
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.DdyjeQle.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C6H1QGFx.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.BwPgEKz0.js';
|
|
11
11
|
|
|
12
12
|
function DropdownField(_a) {
|
|
13
13
|
var _b, _c, _d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useState, useMemo } from 'react';
|
|
3
|
-
import { F as FormControl } from './fthry_FormControl.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { F as FormControl } from './fthry_FormControl.BAlGkOxw.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DKKxZ5bF.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C6H1QGFx.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.BwPgEKz0.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.Bv0Rd4n8.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.BwcJywy5.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as __rest, c as __read, d as countryData, Q as phoneLib, R as authState, S as firebaseSMSCountries, j as jsxs, a as jsx, _ as __assign, q as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, T as phoneLibPromise, h as hoverStylesGuard, P as isNum, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { k as __rest, c as __read, d as countryData, Q as phoneLib, R as authState, S as firebaseSMSCountries, j as jsxs, a as jsx, _ as __assign, q as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, T as phoneLibPromise, h as hoverStylesGuard, P as isNum, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.DXkvTQTB.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.BwPgEKz0.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.Bsa4K6S7.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.
|
|
1
|
+
import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, o as FeatheryClient, H as debounce } from './fthry_index.
|
|
1
|
+
import { c as __read, u as useBorder, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, o as FeatheryClient, H as debounce } from './fthry_index.Bv0Rd4n8.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 { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.DXkvTQTB.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CFWVGXML.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.BwPgEKz0.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.Bsa4K6S7.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.Bv0Rd4n8.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.BwPgEKz0.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.DKKxZ5bF.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|