@feathery/react 2.14.0 → 2.15.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/grid/Element/index.d.ts.map +1 -1
- package/cjs/Form/grid/index.d.ts.map +1 -1
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/Actions.d.ts +10 -0
- package/cjs/elements/basic/TableElement/Actions.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/EmptyState.d.ts +6 -0
- package/cjs/elements/basic/TableElement/EmptyState.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/Pagination.d.ts +10 -0
- package/cjs/elements/basic/TableElement/Pagination.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/Search.d.ts +7 -0
- package/cjs/elements/basic/TableElement/Search.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/Sort.d.ts +12 -0
- package/cjs/elements/basic/TableElement/Sort.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/exampleData.d.ts +3 -0
- package/cjs/elements/basic/TableElement/exampleData.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/index.d.ts +3 -0
- package/cjs/elements/basic/TableElement/index.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/styles.d.ts +391 -0
- package/cjs/elements/basic/TableElement/styles.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/types.d.ts +10 -0
- package/cjs/elements/basic/TableElement/types.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/useTableData.d.ts +37 -0
- package/cjs/elements/basic/TableElement/useTableData.d.ts.map +1 -0
- package/cjs/elements/basic/TableElement/utils.d.ts +11 -0
- package/cjs/elements/basic/TableElement/utils.d.ts.map +1 -0
- package/cjs/elements/components/skeletons/ElementSkeleton.d.ts +8 -0
- package/cjs/elements/components/skeletons/ElementSkeleton.d.ts.map +1 -0
- package/cjs/elements/index.d.ts +1 -0
- package/cjs/elements/index.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.BwXT0ep8.js → fthry_FormControl.C8oeoDk3.js} +1 -1
- package/cjs/{fthry_InlineTooltip.BdhCa_rK.js → fthry_InlineTooltip.CRRFOiO4.js} +2 -2
- package/cjs/{fthry_Overlay.CkaxO8d5.js → fthry_Overlay.CMYptYVH.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.mg1fdRD0.js → fthry_PaymentMethodField.C_yV3aay.js} +4 -4
- package/cjs/{fthry_Placeholder.Jcsn0I77.js → fthry_Placeholder.xDn0I29f.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.B1bZYLk8.js → fthry_ShowEyeIcon.COZczYEG.js} +1 -1
- package/cjs/{fthry_index.YHxFZskW.js → fthry_index.B5Nc9EIn.js} +90 -47
- package/cjs/{fthry_index.DAUqZ_Ax.js → fthry_index.B5aSeoEj.js} +4 -4
- package/cjs/fthry_index.B9CITASf.js +669 -0
- package/cjs/{fthry_index.BAjR2Rnl.js → fthry_index.BAis6iAm.js} +3 -3
- package/cjs/{fthry_index.Wk8VztlG.js → fthry_index.BV9FIqI3.js} +5 -5
- package/cjs/{fthry_index.C1fh-rBQ.js → fthry_index.BZzFi9o3.js} +5 -5
- package/cjs/{fthry_index.Brf3d6gi.js → fthry_index.BdfASO2V.js} +6 -6
- package/cjs/{fthry_index.6mEHhzfW.js → fthry_index.Be_wKtBW.js} +4 -4
- package/cjs/{fthry_index.LJEYPWI3.js → fthry_index.BokP8_1j.js} +5 -5
- package/cjs/{fthry_index.CFas_RaG.js → fthry_index.BvXec6y1.js} +1 -1
- package/cjs/{fthry_index.CH-jUzEB.js → fthry_index.ByYAaIPz.js} +6 -6
- package/cjs/{fthry_index.CM61c38_.js → fthry_index.C97Bm277.js} +4 -4
- package/cjs/{fthry_index.BlqRmYU3.js → fthry_index.CFl7Tra-.js} +6 -6
- package/cjs/{fthry_index.Cg6LX1gC.js → fthry_index.CPkoG8dL.js} +4 -4
- package/cjs/{fthry_index.CNP-DZpU.js → fthry_index.CQ3OgNZu.js} +1 -1
- package/cjs/{fthry_index.BWlL6Yer.js → fthry_index.CfGx505W.js} +1 -1
- package/cjs/{fthry_index.CrMPecva.js → fthry_index.CgatqFlS.js} +2 -2
- package/cjs/{fthry_index.Dl8vbJjd.js → fthry_index.CoR2X1u6.js} +8 -8
- package/cjs/{fthry_index.BDYAeN41.js → fthry_index.Ct-olYcX.js} +1 -1
- package/cjs/{fthry_index.stdBLQZf.js → fthry_index.D35rnGh5.js} +1 -1
- package/cjs/{fthry_index.DamIMdR9.js → fthry_index.Db8Zj-xl.js} +2 -2
- package/cjs/{fthry_index.CIRAsV1y.js → fthry_index.Dm94Mor0.js} +1 -1
- package/cjs/{fthry_index.CdljdZZa.js → fthry_index.Dzq-7u_A.js} +5 -5
- package/cjs/{fthry_index.D347YZZf.js → fthry_index.Iw93ZIvk.js} +1 -1
- package/cjs/{fthry_input.Co8r9GsS.js → fthry_input.DjhEftHE.js} +1 -1
- package/cjs/{fthry_script.Bq4U9W-W.js → fthry_script.CEXFQk2h.js} +1 -1
- package/cjs/{fthry_styles.v2wlusMk.js → fthry_styles.twMOjtIt.js} +1 -1
- package/cjs/{fthry_useElementSize.H_jyVKqM.js → fthry_useElementSize.CMss2qLc.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.PzKJwKNh.js → fthry_useSalesforceSync.GHaAu-dd.js} +1 -1
- package/cjs/{fthry_webfontloader.BEk-u0hO.js → fthry_webfontloader.CZxQtgFm.js} +1 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/types/Form.d.ts +4 -1
- package/cjs/types/Form.d.ts.map +1 -1
- package/cjs/utils/formHelperFunctions.d.ts +1 -1
- package/cjs/utils/formHelperFunctions.d.ts.map +1 -1
- package/cjs/utils/hideAndRepeats.d.ts.map +1 -1
- package/dist/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/Form/grid/index.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/Actions.d.ts +10 -0
- package/dist/elements/basic/TableElement/Actions.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/EmptyState.d.ts +6 -0
- package/dist/elements/basic/TableElement/EmptyState.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/Pagination.d.ts +10 -0
- package/dist/elements/basic/TableElement/Pagination.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/Search.d.ts +7 -0
- package/dist/elements/basic/TableElement/Search.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/Sort.d.ts +12 -0
- package/dist/elements/basic/TableElement/Sort.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/exampleData.d.ts +3 -0
- package/dist/elements/basic/TableElement/exampleData.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/index.d.ts +3 -0
- package/dist/elements/basic/TableElement/index.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/styles.d.ts +391 -0
- package/dist/elements/basic/TableElement/styles.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/types.d.ts +10 -0
- package/dist/elements/basic/TableElement/types.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/useTableData.d.ts +37 -0
- package/dist/elements/basic/TableElement/useTableData.d.ts.map +1 -0
- package/dist/elements/basic/TableElement/utils.d.ts +11 -0
- package/dist/elements/basic/TableElement/utils.d.ts.map +1 -0
- package/dist/elements/components/skeletons/ElementSkeleton.d.ts +8 -0
- package/dist/elements/components/skeletons/ElementSkeleton.d.ts.map +1 -0
- package/dist/elements/index.d.ts +1 -0
- package/dist/elements/index.d.ts.map +1 -1
- package/dist/{fthry_FormControl.CrSvLSA7.js → fthry_FormControl.BdmdMzA3.js} +1 -1
- package/dist/{fthry_InlineTooltip.xj-t-582.js → fthry_InlineTooltip.DRPooJGa.js} +2 -2
- package/dist/{fthry_Overlay.CJFSLbLE.js → fthry_Overlay.DSfIRMWh.js} +1 -1
- package/dist/{fthry_PaymentMethodField.PRJIHswh.js → fthry_PaymentMethodField.C2kDTnuL.js} +4 -4
- package/dist/{fthry_Placeholder.7M07CwTS.js → fthry_Placeholder.BYxBlfxe.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.n639xEWA.js → fthry_ShowEyeIcon.DcuxGpJk.js} +1 -1
- package/dist/{fthry_index.BE1aEx2n.js → fthry_index.4fMPrW44.js} +4 -4
- package/dist/{fthry_index.CzHuSmWc.js → fthry_index.B-bHDKSO.js} +1 -1
- package/dist/{fthry_index.g8xB96Yo.js → fthry_index.BD6daAle.js} +5 -5
- package/dist/{fthry_index.DQhKI62v.js → fthry_index.BF_Plcr0.js} +2 -2
- package/dist/{fthry_index.DtttVU-B.js → fthry_index.BIkZtQJH.js} +5 -5
- package/dist/{fthry_index.D6sWBKuA.js → fthry_index.BXiUUqma.js} +2 -2
- package/dist/{fthry_index.DQuVxHkp.js → fthry_index.BuGMpxqA.js} +1 -1
- package/dist/{fthry_index.Dd5mpmpk.js → fthry_index.C0TSdYY1.js} +1 -1
- package/dist/{fthry_index.sXNItbKY.js → fthry_index.CCtbaItI.js} +5 -5
- package/dist/{fthry_index.BdbDXIuj.js → fthry_index.COrbe5-R.js} +8 -8
- package/dist/{fthry_index.RwhYSoEm.js → fthry_index.CkEibXDT.js} +6 -6
- package/dist/{fthry_index.DMTSFPNS.js → fthry_index.Cocw39qz.js} +1 -1
- package/dist/{fthry_index.DgIPpVNk.js → fthry_index.CxYSZnO_.js} +4 -4
- package/dist/{fthry_index.BKbx2qxD.js → fthry_index.Cz1sN7j0.js} +6 -6
- package/dist/{fthry_index.Be8xdrui.js → fthry_index.D6uzSPi5.js} +5 -5
- package/dist/{fthry_index.Df-7wyL2.js → fthry_index.D9VkJYNy.js} +4 -4
- package/dist/{fthry_index.Cfn3D1XZ.js → fthry_index.DCKiab_1.js} +3 -3
- package/dist/{fthry_index.CdIRvNp8.js → fthry_index.DSkVpyvV.js} +91 -48
- package/dist/{fthry_index.DEU7NBKU.js → fthry_index.DkSTwhvF.js} +1 -1
- package/dist/{fthry_index.CxH24rcl.js → fthry_index.DvV-_9rQ.js} +6 -6
- package/dist/{fthry_index.DsHJmYgu.js → fthry_index.DwzU97uW.js} +4 -4
- package/dist/fthry_index.IjpiaOO-.js +667 -0
- package/dist/{fthry_index.CwsphGMI.js → fthry_index.Ox88biXC.js} +1 -1
- package/dist/{fthry_index.BpsK3TYO.js → fthry_index.uw0MJJ4F.js} +1 -1
- package/dist/{fthry_input.CD5doOgD.js → fthry_input.BJLJlGVj.js} +1 -1
- package/dist/{fthry_script.B1ROwso4.js → fthry_script.BL_LvOsU.js} +1 -1
- package/dist/{fthry_styles.C-VyrwW3.js → fthry_styles.Bgjx59v5.js} +1 -1
- package/dist/{fthry_useElementSize.1FdURPgQ.js → fthry_useElementSize.COmxJss_.js} +1 -1
- package/dist/{fthry_useSalesforceSync.wEr6a7_E.js → fthry_useSalesforceSync.BZM69NNS.js} +1 -1
- package/dist/{fthry_webfontloader.ChgT0Ifr.js → fthry_webfontloader.BonjOYue.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/types/Form.d.ts +4 -1
- package/dist/types/Form.d.ts.map +1 -1
- package/dist/utils/formHelperFunctions.d.ts +1 -1
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/utils/hideAndRepeats.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/SignatureField.56c69ad7ee1f7e0b5003.js +1 -0
- package/umd/TableElement.ef63774f461682dd3ac9.js +1 -0
- package/umd/index.js +1 -1
- package/cjs/elements/components/skeletons/FieldSkeleton.d.ts +0 -8
- package/cjs/elements/components/skeletons/FieldSkeleton.d.ts.map +0 -1
- package/dist/elements/components/skeletons/FieldSkeleton.d.ts +0 -8
- package/dist/elements/components/skeletons/FieldSkeleton.d.ts.map +0 -1
- package/umd/SignatureField.1b502b1edb19e4af3b64.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as __rest, b as __read, A as countryData, ag as authState, ah as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ai as phoneLibPromise, h as hoverStylesGuard, aj as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DSkVpyvV.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.BYxBlfxe.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.DSfIRMWh.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.COmxJss_.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, as as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.DSkVpyvV.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 { a as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.BYxBlfxe.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.DSfIRMWh.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.COmxJss_.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DcuxGpJk.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.BJLJlGVj.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.Ox88biXC.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,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsx, G as Global, v as css, w as __makeTemplateObject, _ as __assign, b as __read, x as isMobile, t as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, y as __rest, z as formatDateString } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
|
|
4
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
+
import { P as Placeholder } from './fthry_Placeholder.BYxBlfxe.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
6
6
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
7
7
|
import * as ReactDOM from 'react-dom';
|
|
8
8
|
import ReactDOM__default from 'react-dom';
|
|
9
|
-
import { I as IMask, a as IMaskInput } from './fthry_input.
|
|
9
|
+
import { I as IMask, a as IMaskInput } from './fthry_input.BJLJlGVj.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.DSfIRMWh.js';
|
|
13
|
+
import './fthry_index.Ox88biXC.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, aj as isNum } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.BYxBlfxe.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.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.DSfIRMWh.js';
|
|
10
10
|
|
|
11
11
|
function TextArea(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import { useRef, 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.BdmdMzA3.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.uw0MJJ4F.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BZM69NNS.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.DSfIRMWh.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder,
|
|
1
|
+
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.BYxBlfxe.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DcuxGpJk.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.DSfIRMWh.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as featheryDoc, an as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ao as toBase64, n as debounce, ap as MODAL_Z_INDEX, ab as CloseIcon, aq as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.Ox88biXC.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1134,7 +1134,7 @@ var SignatureCanvas = forwardRef(function (props, ref) {
|
|
|
1134
1134
|
onClear();
|
|
1135
1135
|
setIsClearVisible(false);
|
|
1136
1136
|
} }, { children: t.clear }))), jsx(SignatureCanvas$1, { penColor: 'black', dotSize: 4, minWidth: 1.5, maxWidth: 3, clearOnResize: false, canvasProps: {
|
|
1137
|
-
id: fieldKey
|
|
1137
|
+
id: "".concat(fieldKey).concat(repeatIndex),
|
|
1138
1138
|
style: __assign(__assign({}, signatureCanvasStyles), { width: '100%', height: '100%', boxSizing: 'border-box', paddingLeft: '5px' })
|
|
1139
1139
|
}, ref: signatureRef, onEnd: function () {
|
|
1140
1140
|
onEnd();
|
|
@@ -1433,7 +1433,7 @@ function SignatureField(_a) {
|
|
|
1433
1433
|
useEffect(function () {
|
|
1434
1434
|
if (!global.webfontloaderPromise)
|
|
1435
1435
|
global.webfontloaderPromise = import(
|
|
1436
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1436
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BonjOYue.js').then(function (n) { return n.w; });
|
|
1437
1437
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1438
1438
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1439
1439
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.DSkVpyvV.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.DSfIRMWh.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.uw0MJJ4F.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -16482,7 +16482,8 @@ var stepElementTypes = [
|
|
|
16482
16482
|
'servar_fields',
|
|
16483
16483
|
'progress_bars',
|
|
16484
16484
|
'images',
|
|
16485
|
-
'videos'
|
|
16485
|
+
'videos',
|
|
16486
|
+
'tables'
|
|
16486
16487
|
];
|
|
16487
16488
|
var getPositionKey = function (node) {
|
|
16488
16489
|
if (!node.position)
|
|
@@ -16540,7 +16541,9 @@ function getVisiblePositions(step, internalId) {
|
|
|
16540
16541
|
var typeIndex = elementTypes.indexOf('subgrids');
|
|
16541
16542
|
elementTypes.splice(typeIndex, 1);
|
|
16542
16543
|
elementTypes.forEach(function (elementType) {
|
|
16543
|
-
|
|
16544
|
+
var _a;
|
|
16545
|
+
// TODO (table): remove backwards compatibility
|
|
16546
|
+
(_a = step[elementType]) === null || _a === void 0 ? void 0 : _a.forEach(function (el) {
|
|
16544
16547
|
_collectHideFlags(step, el, visiblePositions, hiddenPositions, repeatKeys, internalId);
|
|
16545
16548
|
});
|
|
16546
16549
|
});
|
|
@@ -20121,7 +20124,7 @@ var Element$1 = function (_a) {
|
|
|
20121
20124
|
var _b, _c, _d, _e, _f, _g;
|
|
20122
20125
|
var el = _a.node, form = _a.form;
|
|
20123
20126
|
var type = el.type;
|
|
20124
|
-
var userProgress = form.userProgress, curDepth = form.curDepth, maxDepth = form.maxDepth, elementProps = form.elementProps, activeStep = form.activeStep, buttonLoaders = form.buttonLoaders, customClickSelectionState = form.customClickSelectionState, runElementActions = form.runElementActions, buttonOnClick = form.buttonOnClick, fieldOnChange = form.fieldOnChange, inlineErrors = form.inlineErrors, setInlineErrors = form.setInlineErrors, changeValue = form.changeValue, updateFieldValues = form.updateFieldValues, elementOnView = form.elementOnView, onViewElements = form.onViewElements, formSettings = form.formSettings, formRef = form.formRef, focusRef = form.focusRef, setCardElement = form.setCardElement, visiblePositions = form.visiblePositions, featheryContext = form.featheryContext;
|
|
20127
|
+
var userProgress = form.userProgress, curDepth = form.curDepth, maxDepth = form.maxDepth, elementProps = form.elementProps, activeStep = form.activeStep, buttonLoaders = form.buttonLoaders, customClickSelectionState = form.customClickSelectionState, runElementActions = form.runElementActions, buttonOnClick = form.buttonOnClick, tableOnClick = form.tableOnClick, fieldOnChange = form.fieldOnChange, inlineErrors = form.inlineErrors, setInlineErrors = form.setInlineErrors, changeValue = form.changeValue, updateFieldValues = form.updateFieldValues, elementOnView = form.elementOnView, onViewElements = form.onViewElements, formSettings = form.formSettings, formRef = form.formRef, focusRef = form.focusRef, setCardElement = form.setCardElement, visiblePositions = form.visiblePositions, featheryContext = form.featheryContext;
|
|
20125
20128
|
var readOnly = formSettings.readOnly || initState.collaboratorReview === 'readOnly';
|
|
20126
20129
|
var basicProps = {
|
|
20127
20130
|
componentOnly: false,
|
|
@@ -20140,6 +20143,8 @@ var Element$1 = function (_a) {
|
|
|
20140
20143
|
return jsx$1(Elements.ImageElement, __assign({}, basicProps));
|
|
20141
20144
|
else if (type === 'video')
|
|
20142
20145
|
return jsx$1(Elements.VideoElement, __assign({}, basicProps));
|
|
20146
|
+
else if (type === 'table')
|
|
20147
|
+
return (jsx$1(Elements.TableElement, __assign({}, basicProps, { onClick: function (payload) { return tableOnClick(el, payload); } })));
|
|
20143
20148
|
else if (type === 'text')
|
|
20144
20149
|
return (jsx$1(Elements.TextElement, __assign({ textSpanOnClick: function (textSpanStart, textSpanEnd) {
|
|
20145
20150
|
var _a;
|
|
@@ -21965,7 +21970,9 @@ var buildStepGrid = function (step, viewport, visiblePositions) {
|
|
|
21965
21970
|
};
|
|
21966
21971
|
var convertStepToViewport = function (step, viewport) {
|
|
21967
21972
|
stepElementTypes.forEach(function (type) {
|
|
21968
|
-
|
|
21973
|
+
// TODO (table): remove backwards compatibility
|
|
21974
|
+
var _a;
|
|
21975
|
+
(_a = step[type]) === null || _a === void 0 ? void 0 : _a.forEach(function (obj, i) {
|
|
21969
21976
|
step[type][i] =
|
|
21970
21977
|
type === 'subgrids'
|
|
21971
21978
|
? convertToViewport(obj, viewport, viewportProperties.subgrids)
|
|
@@ -21998,7 +22005,8 @@ var typeMap = {
|
|
|
21998
22005
|
texts: 'text',
|
|
21999
22006
|
buttons: 'button',
|
|
22000
22007
|
servar_fields: 'field',
|
|
22001
|
-
videos: 'video'
|
|
22008
|
+
videos: 'video',
|
|
22009
|
+
tables: 'table'
|
|
22002
22010
|
};
|
|
22003
22011
|
var buildGridMap = function (step) {
|
|
22004
22012
|
var map = {};
|
|
@@ -38498,13 +38506,28 @@ function Form(_a) {
|
|
|
38498
38506
|
}
|
|
38499
38507
|
});
|
|
38500
38508
|
}); };
|
|
38509
|
+
var tableOnClick = function (table, payload) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
38510
|
+
return __generator(this, function (_a) {
|
|
38511
|
+
switch (_a.label) {
|
|
38512
|
+
case 0: return [4 /*yield*/, runElementActions({
|
|
38513
|
+
actions: [],
|
|
38514
|
+
element: table,
|
|
38515
|
+
elementType: 'table',
|
|
38516
|
+
triggerPayload: payload
|
|
38517
|
+
})];
|
|
38518
|
+
case 1:
|
|
38519
|
+
_a.sent();
|
|
38520
|
+
return [2 /*return*/];
|
|
38521
|
+
}
|
|
38522
|
+
});
|
|
38523
|
+
}); };
|
|
38501
38524
|
// Orchestrates all actions triggered by a button/element click.
|
|
38502
38525
|
// Runs validations and submission first (if submit=true), then executes click actions in order.
|
|
38503
38526
|
// Prevents race conditions by locking element during execution and tracking global button state.
|
|
38504
38527
|
// Some actions (Persona, Plaid, etc) require special handling: they pause execution and
|
|
38505
38528
|
// provide a callback for continuing to the next action once they complete.
|
|
38506
38529
|
var runElementActions = function (_a) {
|
|
38507
|
-
var actions = _a.actions, element = _a.element, elementType = _a.elementType, _b = _a.submit, submit = _b === void 0 ? false : _b, _c = _a.setElementError, setElementError = _c === void 0 ? function () { } : _c, _d = _a.onAsyncEnd, onAsyncEnd = _d === void 0 ? function () { } : _d, textSpanStart = _a.textSpanStart, textSpanEnd = _a.textSpanEnd;
|
|
38530
|
+
var actions = _a.actions, element = _a.element, elementType = _a.elementType, _b = _a.submit, submit = _b === void 0 ? false : _b, _c = _a.setElementError, setElementError = _c === void 0 ? function () { } : _c, _d = _a.onAsyncEnd, onAsyncEnd = _d === void 0 ? function () { } : _d, textSpanStart = _a.textSpanStart, textSpanEnd = _a.textSpanEnd, triggerPayload = _a.triggerPayload;
|
|
38508
38531
|
return __awaiter$2(_this, void 0, void 0, function () {
|
|
38509
38532
|
var id, metadata, trigger, submitPromise, pendingFileKeys, invalid, hasNext, submissionResult, error_3, _e, stepPromise, flowOnSuccess, actionTypes, runAction, i, hasExtractions, hasEnvelopeGeneration, _loop_1, state_1;
|
|
38510
38533
|
var _this = this;
|
|
@@ -38528,7 +38551,7 @@ function Form(_a) {
|
|
|
38528
38551
|
start: textSpanStart,
|
|
38529
38552
|
end: textSpanEnd
|
|
38530
38553
|
};
|
|
38531
|
-
trigger = __assign(__assign({}, lookUpTrigger(activeStep, elementType === 'container' ? element.key : element.id, elementType)), { repeatIndex: element.repeat });
|
|
38554
|
+
trigger = __assign(__assign({}, lookUpTrigger(activeStep, elementType === 'container' ? element.key : element.id, elementType, triggerPayload)), { repeatIndex: element.repeat });
|
|
38532
38555
|
submitPromise = Promise.resolve();
|
|
38533
38556
|
if (!(submit && !readOnly)) return [3 /*break*/, 7];
|
|
38534
38557
|
// Do not proceed until user has gone through required flows
|
|
@@ -38629,7 +38652,8 @@ function Form(_a) {
|
|
|
38629
38652
|
setElementError: setElementError,
|
|
38630
38653
|
onAsyncEnd: onAsyncEnd,
|
|
38631
38654
|
textSpanStart: textSpanStart,
|
|
38632
|
-
textSpanEnd: textSpanEnd
|
|
38655
|
+
textSpanEnd: textSpanEnd,
|
|
38656
|
+
triggerPayload: triggerPayload
|
|
38633
38657
|
})];
|
|
38634
38658
|
case 1:
|
|
38635
38659
|
running = _a.sent();
|
|
@@ -39404,6 +39428,7 @@ function Form(_a) {
|
|
|
39404
39428
|
customClickSelectionState: customClickSelectionState,
|
|
39405
39429
|
runElementActions: runElementActions,
|
|
39406
39430
|
buttonOnClick: buttonOnClick,
|
|
39431
|
+
tableOnClick: tableOnClick,
|
|
39407
39432
|
fieldOnChange: fieldOnChange,
|
|
39408
39433
|
buttonLoaders: buttonLoaders,
|
|
39409
39434
|
inlineErrors: inlineErrors,
|
|
@@ -43607,9 +43632,9 @@ function init(sdkKey, options) {
|
|
|
43607
43632
|
if (runningInClient()) {
|
|
43608
43633
|
// Dynamically load libraries that must be client side
|
|
43609
43634
|
global.scriptjsLoadPromise = import(
|
|
43610
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
43635
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BL_LvOsU.js').then(function (n) { return n.s; });
|
|
43611
43636
|
global.webfontloaderPromise = import(
|
|
43612
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
43637
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BonjOYue.js').then(function (n) { return n.w; });
|
|
43613
43638
|
// Client-side tracking logic
|
|
43614
43639
|
if (initState.userTracking === 'cookie') {
|
|
43615
43640
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -43755,7 +43780,7 @@ function getFieldValues() {
|
|
|
43755
43780
|
return __assign({}, fieldValues);
|
|
43756
43781
|
}
|
|
43757
43782
|
function logFeatheryBadge() {
|
|
43758
|
-
console.log('%c Feathery %c v' + "2.
|
|
43783
|
+
console.log('%c Feathery %c v' + "2.15.0" + ' ', // replaced with real version during build
|
|
43759
43784
|
'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;');
|
|
43760
43785
|
}
|
|
43761
43786
|
|
|
@@ -43791,9 +43816,10 @@ var getABVariant = function (stepRes) {
|
|
|
43791
43816
|
return stepRes;
|
|
43792
43817
|
};
|
|
43793
43818
|
var getAllElements = function (step) {
|
|
43794
|
-
|
|
43819
|
+
var _a, _b;
|
|
43820
|
+
return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(step.progress_bars.map(function (e) { return [e, 'progress_bar']; })), false), __read(step.images.map(function (e) { return [e, 'image']; })), false), __read(step.videos.map(function (e) { return [e, 'video']; })), false), __read(((_b = (_a = step.tables) === null || _a === void 0 ? void 0 : _a.map(function (e) { return [e, 'table']; })) !== null && _b !== void 0 ? _b : [])), false), __read(step.texts.map(function (e) { return [e, 'text']; })), false), __read(step.buttons.map(function (e) { return [e, 'button']; })), false), __read(step.servar_fields.map(function (e) { return [e, 'field']; })), false), __read(step.subgrids.map(function (e) { return [e, 'subgrid']; })), false);
|
|
43795
43821
|
};
|
|
43796
|
-
var lookUpTrigger = function (step, elementID, type) {
|
|
43822
|
+
var lookUpTrigger = function (step, elementID, type, additionalPayload) {
|
|
43797
43823
|
var _a, _b;
|
|
43798
43824
|
var payload = {};
|
|
43799
43825
|
if (type === 'button') {
|
|
@@ -43813,7 +43839,12 @@ var lookUpTrigger = function (step, elementID, type) {
|
|
|
43813
43839
|
text: element.servar.name
|
|
43814
43840
|
};
|
|
43815
43841
|
}
|
|
43816
|
-
|
|
43842
|
+
else if (type === 'table') {
|
|
43843
|
+
// For tables, we don't look up additional properties from the step
|
|
43844
|
+
// All table-specific data is provided via additionalPayload
|
|
43845
|
+
payload = {};
|
|
43846
|
+
}
|
|
43847
|
+
return __assign(__assign({ id: elementID, type: type }, payload), additionalPayload);
|
|
43817
43848
|
};
|
|
43818
43849
|
/** Update the fieldValues cache with a backend session */
|
|
43819
43850
|
function updateSessionValues(session) {
|
|
@@ -45227,39 +45258,39 @@ breakpoint) {
|
|
|
45227
45258
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
45228
45259
|
};
|
|
45229
45260
|
|
|
45230
|
-
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
45231
|
-
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
45232
|
-
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
45261
|
+
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.BIkZtQJH.js'); });
|
|
45262
|
+
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.4fMPrW44.js'); });
|
|
45263
|
+
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.uw0MJJ4F.js'); });
|
|
45233
45264
|
var CheckboxGroupField = lazy(function () {
|
|
45234
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
45265
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Cz1sN7j0.js');
|
|
45235
45266
|
});
|
|
45236
|
-
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
45237
|
-
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
45267
|
+
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DkSTwhvF.js'); });
|
|
45268
|
+
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.B-bHDKSO.js'); });
|
|
45238
45269
|
var DateSelectorField = lazy(function () {
|
|
45239
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
45270
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.CkEibXDT.js');
|
|
45240
45271
|
});
|
|
45241
|
-
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
45272
|
+
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DwzU97uW.js'); });
|
|
45242
45273
|
var DropdownMultiField = lazy(function () {
|
|
45243
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
45274
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BD6daAle.js');
|
|
45244
45275
|
});
|
|
45245
|
-
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
45246
|
-
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
45247
|
-
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
45276
|
+
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BuGMpxqA.js'); });
|
|
45277
|
+
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DCKiab_1.js'); });
|
|
45278
|
+
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.D6uzSPi5.js'); });
|
|
45248
45279
|
var PaymentMethodField = lazy(function () {
|
|
45249
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
45280
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.C2kDTnuL.js');
|
|
45250
45281
|
});
|
|
45251
|
-
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
45252
|
-
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
45253
|
-
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
45282
|
+
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CCtbaItI.js'); });
|
|
45283
|
+
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Cocw39qz.js'); });
|
|
45284
|
+
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BF_Plcr0.js'); });
|
|
45254
45285
|
var RadioButtonGroupField = lazy(function () {
|
|
45255
45286
|
return import(
|
|
45256
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
45287
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DvV-_9rQ.js');
|
|
45257
45288
|
});
|
|
45258
|
-
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
45259
|
-
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
45260
|
-
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
45261
|
-
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
45262
|
-
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
45289
|
+
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.C0TSdYY1.js'); });
|
|
45290
|
+
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.D9VkJYNy.js'); });
|
|
45291
|
+
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.BXiUUqma.js'); });
|
|
45292
|
+
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.COrbe5-R.js'); });
|
|
45293
|
+
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CxYSZnO_.js'); });
|
|
45263
45294
|
var Fields = {
|
|
45264
45295
|
AddressLine1: AddressLine1,
|
|
45265
45296
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -45299,7 +45330,7 @@ var defaultBorderFields = [
|
|
|
45299
45330
|
'file_upload'
|
|
45300
45331
|
];
|
|
45301
45332
|
var DROPDOWN_Z_INDEX = 10;
|
|
45302
|
-
function applyFieldStyles
|
|
45333
|
+
function applyFieldStyles(field, styles) {
|
|
45303
45334
|
var type = field.servar.type;
|
|
45304
45335
|
styles.addTargets('fc', 'sub-fc', 'field', 'error', 'active', 'hover', 'disabled', 'tooltipIcon');
|
|
45305
45336
|
// For these fields, selector font colors
|
|
@@ -45634,7 +45665,7 @@ Object.entries(Fields).map(function (_a) {
|
|
|
45634
45665
|
whiteSpace: 'pre-wrap',
|
|
45635
45666
|
overflowWrap: 'anywhere'
|
|
45636
45667
|
} }, { children: servar.name }))) : null;
|
|
45637
|
-
var styles = useMemo(function () { return applyFieldStyles
|
|
45668
|
+
var styles = useMemo(function () { return applyFieldStyles(element, responsiveStyles); }, [element]);
|
|
45638
45669
|
return (jsx$1(Field, __assign({ element: element, fieldLabel: fieldLabel, responsiveStyles: styles }, props)));
|
|
45639
45670
|
});
|
|
45640
45671
|
});
|
|
@@ -46028,7 +46059,7 @@ function ProgressBarElement(_a) {
|
|
|
46028
46059
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _d = _a.curDepth, curDepth = _d === void 0 ? 1 : _d, _e = _a.maxDepth, maxDepth = _e === void 0 ? 1 : _e, _f = _a.elementProps, elementProps = _f === void 0 ? {} : _f, children = _a.children;
|
|
46029
46060
|
var styles = useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
46030
46061
|
var userProgress, userSegments;
|
|
46031
|
-
if (progress) {
|
|
46062
|
+
if (![null, undefined].includes(progress)) {
|
|
46032
46063
|
if (typeof progress === 'number') {
|
|
46033
46064
|
userProgress = progress;
|
|
46034
46065
|
}
|
|
@@ -46061,7 +46092,8 @@ var shimmerFields = [
|
|
|
46061
46092
|
'select',
|
|
46062
46093
|
'button_group',
|
|
46063
46094
|
'slider',
|
|
46064
|
-
'rating'
|
|
46095
|
+
'rating',
|
|
46096
|
+
'table_element'
|
|
46065
46097
|
];
|
|
46066
46098
|
var shimmer = keyframes$1(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n 100% {\n transform: translateX(100%);\n }\n"], ["\n 100% {\n transform: translateX(100%);\n }\n"])));
|
|
46067
46099
|
var shimmerStyles = {
|
|
@@ -46080,8 +46112,8 @@ var shimmerStyles = {
|
|
|
46080
46112
|
animation: "".concat(shimmer, " 5s infinite")
|
|
46081
46113
|
}
|
|
46082
46114
|
};
|
|
46083
|
-
function
|
|
46084
|
-
var type =
|
|
46115
|
+
function applyStyles(element, styles) {
|
|
46116
|
+
var type = element._type;
|
|
46085
46117
|
styles.addTargets('fc', 'sub-fc', 'field');
|
|
46086
46118
|
styles.applyFontStyles('fc', false, true);
|
|
46087
46119
|
switch (type) {
|
|
@@ -46153,11 +46185,11 @@ function applyFieldStyles(field, styles) {
|
|
|
46153
46185
|
}
|
|
46154
46186
|
return styles;
|
|
46155
46187
|
}
|
|
46156
|
-
function
|
|
46188
|
+
function ElementSkeleton(_a) {
|
|
46157
46189
|
var _b, _c, _d;
|
|
46158
46190
|
var responsiveStyles = _a.responsiveStyles, element = _a.element;
|
|
46159
|
-
var type = element.
|
|
46160
|
-
var styles = useMemo(function () { return
|
|
46191
|
+
var type = element._type;
|
|
46192
|
+
var styles = useMemo(function () { return applyStyles(element, responsiveStyles); }, [element, responsiveStyles]);
|
|
46161
46193
|
var renderPinInput = function () {
|
|
46162
46194
|
var maxLength = element.servar.max_length || 6;
|
|
46163
46195
|
var pinDivs = [];
|
|
@@ -46181,6 +46213,15 @@ function FieldSkeleton(_a) {
|
|
|
46181
46213
|
else if (type === 'qr_scanner') {
|
|
46182
46214
|
heightAdjust.height = '166px'; // hardcode qr scanner height
|
|
46183
46215
|
}
|
|
46216
|
+
if (!element.servar) {
|
|
46217
|
+
return (jsx$1("div", __assign({ css: {
|
|
46218
|
+
maxWidth: '100%',
|
|
46219
|
+
width: '100%',
|
|
46220
|
+
height: '100%',
|
|
46221
|
+
position: 'relative',
|
|
46222
|
+
boxSizing: 'border-box'
|
|
46223
|
+
} }, { children: jsx$1("div", { css: __assign(__assign({ width: '100%', boxSizing: 'border-box' }, heightAdjust), shimmerStyles) }) })));
|
|
46224
|
+
}
|
|
46184
46225
|
return (jsx$1("div", __assign({ css: __assign({ maxWidth: '100%', width: '100%', height: '100%', position: 'relative', boxSizing: 'border-box' }, styles.getTarget('fc')) }, { children: type === 'pin_input' ? (jsx$1("div", __assign({ css: {
|
|
46185
46226
|
display: 'flex',
|
|
46186
46227
|
alignItems: 'center',
|
|
@@ -46189,12 +46230,14 @@ function FieldSkeleton(_a) {
|
|
|
46189
46230
|
}
|
|
46190
46231
|
var templateObject_1;
|
|
46191
46232
|
|
|
46233
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.IjpiaOO-.js'); });
|
|
46192
46234
|
var Basic = {
|
|
46193
46235
|
ImageElement: ImageElement,
|
|
46194
46236
|
VideoElement: VideoElement,
|
|
46195
46237
|
TextElement: TextElement,
|
|
46196
46238
|
ButtonElement: ButtonElement,
|
|
46197
|
-
ProgressBarElement: ProgressBarElement
|
|
46239
|
+
ProgressBarElement: ProgressBarElement,
|
|
46240
|
+
TableElement: TableElement
|
|
46198
46241
|
};
|
|
46199
46242
|
var Elements = __assign(__assign({}, Basic), Fields);
|
|
46200
46243
|
Object.entries(Elements).map(function (_a) {
|
|
@@ -46205,7 +46248,7 @@ Object.entries(Elements).map(function (_a) {
|
|
|
46205
46248
|
var responsiveStyles = useMemo(function () {
|
|
46206
46249
|
return new ResponsiveStyles(element, ['container'], !componentOnly, formSettings === null || formSettings === void 0 ? void 0 : formSettings.mobileBreakpoint);
|
|
46207
46250
|
}, [element, componentOnly, formSettings]);
|
|
46208
|
-
var featheryElement = (jsx$1(Suspense, __assign({ fallback: jsx$1(
|
|
46251
|
+
var featheryElement = (jsx$1(Suspense, __assign({ fallback: jsx$1(ElementSkeleton, { element: element, responsiveStyles: responsiveStyles }) }, { children: jsx$1(Element, __assign({ element: element, responsiveStyles: responsiveStyles }, props)) })));
|
|
46209
46252
|
var e = onView ? (jsx$1(InView, __assign({ onChange: onView }, { children: featheryElement }))) : (featheryElement);
|
|
46210
46253
|
if (componentOnly) {
|
|
46211
46254
|
return (jsxs(Fragment, { children: [children, e] }));
|
|
@@ -46484,4 +46527,4 @@ var Feathery = {
|
|
|
46484
46527
|
renderAt: renderAt
|
|
46485
46528
|
};
|
|
46486
46529
|
|
|
46487
|
-
export {
|
|
46530
|
+
export { next as $, countryData as A, stringify$2 as B, rulesheet as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, COMMENT as H, middleware as I, combine as J, match as K, serialize as L, copy as M, replace as N, MOZ as O, MS as P, KEYFRAMES as Q, RULESET as R, DECLARATION as S, dealloc as T, alloc as U, hash as V, WEBKIT as W, charat as X, strlen as Y, indexof as Z, __assign as _, jsxs as a, token as a0, from as a1, peek as a2, delimit as a3, slice as a4, position as a5, compile as a6, isEmptyArray as a7, toList as a8, useThumbnailData as a9, setFieldValues as aA, getFieldValues as aB, renderAt as aC, LoginForm as aD, useAuthClient as aE, Feathery as aF, StyledContainer as aG, downloadFile as aa, CloseIcon as ab, justRemove as ac, getStripe as ad, filterKeys as ae, ERROR_COLOR as af, authState as ag, firebaseSMSCountries as ah, phoneLibPromise as ai, isNum as aj, loadQRScanner as ak, throttle as al, qrPromise as am, devicePixelRatio as an, toBase64 as ao, MODAL_Z_INDEX as ap, dataURLToFile as aq, cls as ar, getFieldValue$1 as as, emailPatternStr as at, replaceTextVariables as au, ReactForm as av, Elements as aw, init as ax, updateUserId as ay, updateTheme as az, __read as b, fieldValues as c, __values as d, __spreadArray as e, featheryDoc as f, getDefaultExportFromCjs as g, hoverStylesGuard as h, iosScrollOnFocus as i, jsx$1 as j, __awaiter$2 as k, __generator as l, FeatheryClient as m, debounce as n, imgMaxSizeStyles as o, noTextSelectStyles as p, FORM_Z_INDEX as q, resetStyles as r, stringifyWithNull as s, featheryWindow as t, useBorder as u, css as v, __makeTemplateObject as w, isMobile as x, __rest$1 as y, formatDateString as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.DSkVpyvV.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 {
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DSkVpyvV.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.BdmdMzA3.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.uw0MJJ4F.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DRPooJGa.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BZM69NNS.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.DSfIRMWh.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DSkVpyvV.js';
|
|
2
2
|
import { useState, useRef, useEffect } 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.DRPooJGa.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BZM69NNS.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.DSfIRMWh.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|