@feathery/react 2.35.3 → 2.35.4
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/index.d.ts.map +1 -1
- package/cjs/assistant/index.d.ts +4 -3
- package/cjs/assistant/index.d.ts.map +1 -1
- package/cjs/assistant/utils.d.ts +6 -9
- package/cjs/assistant/utils.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.2BQ6PwSe.js → fthry_FormControl.6yYXruyF.js} +1 -1
- package/cjs/{fthry_InlineTooltip.BvQkq4Ag.js → fthry_InlineTooltip.AGeTs3gs.js} +2 -2
- package/cjs/{fthry_Overlay.DTViu7gf.js → fthry_Overlay._G2SzZOP.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.CEOpuMkC.js → fthry_PaymentMethodField.DYqP4jbT.js} +4 -4
- package/cjs/{fthry_Placeholder.B1sRO11g.js → fthry_Placeholder.BAZUrpWn.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.DOGBq_fi.js → fthry_ShowEyeIcon.BxP6ugW_.js} +1 -1
- package/cjs/{fthry_index.CGowogY0.js → fthry_index.63WSEEXg.js} +2 -2
- package/cjs/{fthry_index.BKVtqeYh.js → fthry_index.B3oeBE_b.js} +6 -6
- package/cjs/{fthry_index.D5jol-hO.js → fthry_index.B4jbWgWL.js} +2 -2
- package/cjs/{fthry_index.CBEgQv5s.js → fthry_index.B93MSlBb.js} +6 -6
- package/cjs/{fthry_index.IUuD7Qrp.js → fthry_index.BINXUARu.js} +1 -1
- package/cjs/{fthry_index.U8_KPRz4.js → fthry_index.BJGVmJ7N.js} +4 -4
- package/cjs/{fthry_index.Dp77EPwQ.js → fthry_index.BLHzsYbs.js} +5 -5
- package/cjs/{fthry_index.B00q529M.js → fthry_index.BSQip8V9.js} +1 -1
- package/cjs/{fthry_index.Cb0dIr5h.js → fthry_index.BWmiVU3E.js} +3 -3
- package/cjs/{fthry_index.BcS7XGdH.js → fthry_index.BpWNV9au.js} +1 -1
- package/cjs/{fthry_index.CfVR4lv7.js → fthry_index.Bxm2IDW_.js} +5 -5
- package/cjs/{fthry_index.D6vPle9C.js → fthry_index.C6OWE6Z_.js} +3 -3
- package/cjs/{fthry_index.B8ELFPZu.js → fthry_index.CDSnG4im.js} +5 -5
- package/cjs/{fthry_index.1OxM91N1.js → fthry_index.CIY2Z-kS.js} +1 -1
- package/cjs/{fthry_index.CZAlp-7m.js → fthry_index.CYP0TV6y.js} +5 -5
- package/cjs/{fthry_index.B3XmnOlv.js → fthry_index.CqzT7NjI.js} +77 -91
- package/cjs/{fthry_index.C9gVgjzG.js → fthry_index.DBIxySmw.js} +1 -1
- package/cjs/{fthry_index.BhQfXOT2.js → fthry_index.DKAba2mx.js} +1 -1
- package/cjs/{fthry_index.An3llVdS.js → fthry_index.DM0KQ-n0.js} +1 -1
- package/cjs/{fthry_index.CiEcwug2.js → fthry_index.D_py_zuy.js} +6 -6
- package/cjs/{fthry_index.CJzp3cx9.js → fthry_index.Dq6SOnlv.js} +8 -8
- package/cjs/{fthry_index.DQvU2f9F.js → fthry_index.EGjivDV1.js} +4 -4
- package/cjs/{fthry_index.BElLgdhO.js → fthry_index.gCb7Z-4M.js} +1 -1
- package/cjs/{fthry_index.ByHI-I0i.js → fthry_index.t7WR2B0w.js} +4 -4
- package/cjs/{fthry_input.CKNfA88L.js → fthry_input.BBGTNV7U.js} +1 -1
- package/cjs/{fthry_script.BADmvIR8.js → fthry_script.CoWaiMg5.js} +1 -1
- package/cjs/{fthry_styles.O7pI95LU.js → fthry_styles.BJXfr-it.js} +1 -1
- package/cjs/{fthry_useElementSize.DOazIyTg.js → fthry_useElementSize.D6UO0BIy.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.Mq5_R4jS.js → fthry_useSalesforceSync.GA2c17MM.js} +1 -1
- package/cjs/{fthry_webfontloader.BLx2GRWJ.js → fthry_webfontloader.G16KwEee.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/assistant/index.d.ts +4 -3
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/utils.d.ts +6 -9
- package/dist/assistant/utils.d.ts.map +1 -1
- package/dist/{fthry_FormControl.DZ28j1bp.js → fthry_FormControl.BVmEhx8j.js} +1 -1
- package/dist/{fthry_InlineTooltip.qPyIrQjY.js → fthry_InlineTooltip.CE4iR8vo.js} +2 -2
- package/dist/{fthry_Overlay.N07ArT4w.js → fthry_Overlay.CbMkctjB.js} +1 -1
- package/dist/{fthry_PaymentMethodField.B3f6NQOo.js → fthry_PaymentMethodField.C1t4-fzU.js} +4 -4
- package/dist/{fthry_Placeholder.SEuUn_h5.js → fthry_Placeholder.CopRM2Pu.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.D6J4xkNE.js → fthry_ShowEyeIcon.DHz9iwR_.js} +1 -1
- package/dist/{fthry_index.i-hwkcun.js → fthry_index.7bjBjUZ9.js} +2 -2
- package/dist/{fthry_index.U8vRJI6D.js → fthry_index.BKJNuiAd.js} +1 -1
- package/dist/{fthry_index.DqjFbp47.js → fthry_index.BXijmrpX.js} +1 -1
- package/dist/{fthry_index.DyW1EQd3.js → fthry_index.BZgn1jyy.js} +6 -6
- package/dist/{fthry_index.5BcKNAcJ.js → fthry_index.BckbXJAm.js} +1 -1
- package/dist/{fthry_index.BxErs1Ra.js → fthry_index.Bclswt9V.js} +6 -6
- package/dist/{fthry_index.BPjjgHX8.js → fthry_index.BfXdNc_u.js} +5 -5
- package/dist/{fthry_index.B6Y0SsiZ.js → fthry_index.BgpuTecr.js} +2 -2
- package/dist/{fthry_index.DdW6gjfy.js → fthry_index.BtxCRm3o.js} +77 -91
- package/dist/{fthry_index.C0J3mi1-.js → fthry_index.BunBIt7Q.js} +5 -5
- package/dist/{fthry_index.83d3cR_B.js → fthry_index.BxocDUFp.js} +5 -5
- package/dist/{fthry_index.C6Bhg0Mz.js → fthry_index.BzbFifaP.js} +5 -5
- package/dist/{fthry_index.IN8nscvW.js → fthry_index.C8YB4XKi.js} +3 -3
- package/dist/{fthry_index.D7aMgQEU.js → fthry_index.CA1uSoex.js} +3 -3
- package/dist/{fthry_index.DDkPI97g.js → fthry_index.D0LSZSZ1.js} +4 -4
- package/dist/{fthry_index.D7ngnJBi.js → fthry_index.DCB6eyLJ.js} +1 -1
- package/dist/{fthry_index.jh60MYyj.js → fthry_index.DINm8O8S.js} +4 -4
- package/dist/{fthry_index.DVtK0gAk.js → fthry_index.DKJ0y4AH.js} +6 -6
- package/dist/{fthry_index.9JCbEBP_.js → fthry_index.DW6FAi5v.js} +8 -8
- package/dist/{fthry_index.D9-bdCWQ.js → fthry_index.DY10_F2J.js} +1 -1
- package/dist/{fthry_index.DUSaKc93.js → fthry_index.Dt52G1R1.js} +1 -1
- package/dist/{fthry_index.WhncqTs9.js → fthry_index.I4VONGQP.js} +4 -4
- package/dist/{fthry_index.DQS1azED.js → fthry_index.IYp43txG.js} +1 -1
- package/dist/{fthry_index.GMEBU2eq.js → fthry_index.VwcpPAFy.js} +1 -1
- package/dist/{fthry_input.yMI6VGO_.js → fthry_input.COPEcaaj.js} +1 -1
- package/dist/{fthry_script.DN64i91O.js → fthry_script.BsvKrrvN.js} +1 -1
- package/dist/{fthry_styles.Bw8u1r9i.js → fthry_styles.BFiU-8BV.js} +1 -1
- package/dist/{fthry_useElementSize.TplXfIMQ.js → fthry_useElementSize.VmXATYlT.js} +1 -1
- package/dist/{fthry_useSalesforceSync.azbGPmlX.js → fthry_useSalesforceSync.C115k_aB.js} +1 -1
- package/dist/{fthry_webfontloader.CKMnds74.js → fthry_webfontloader.D3IZnSgp.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, j as jsx, a as __assign, t as FORM_Z_INDEX, c as __read, f as featheryDoc, v as featheryWindow, F as Fragment } from './fthry_index.
|
|
1
|
+
import { _ as __rest, j as jsx, a as __assign, t as FORM_Z_INDEX, c as __read, f as featheryDoc, v as featheryWindow, F as Fragment } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useState, useCallback, useLayoutEffect, useEffect } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, f as featheryDoc, b as jsxs, a as __assign, ad as getStripe, j as jsx, c as __read, u as useBorder, ae as filterKeys, af as ERROR_COLOR } from './fthry_index.
|
|
1
|
+
import { _ as __rest, f as featheryDoc, b as jsxs, a as __assign, ad as getStripe, j as jsx, c as __read, u as useBorder, ae as filterKeys, af as ERROR_COLOR } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import React__default, { memo, useEffect, useState, useRef } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.DCB6eyLJ.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.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.CbMkctjB.js';
|
|
10
10
|
|
|
11
11
|
function ownKeys(object, enumerableOnly) {
|
|
12
12
|
var keys = Object.keys(object);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, j as jsx, a as __assign } from './fthry_index.
|
|
1
|
+
import { _ as __rest, j as jsx, a as __assign } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
|
|
3
3
|
function ShowEyeIcon$1(_a) {
|
|
4
4
|
var _b = _a.width, width = _b === void 0 ? 30 : _b, _c = _a.height, height = _c === void 0 ? 30 : _c, props = __rest(_a, ["width", "height"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator, g as __spreadArray, c as __read, e as __values, v as featheryWindow, al as loadQRScanner, am as throttle, j as jsx, b as jsxs, a as __assign, F as Fragment, E as ErrorInput, an as qrPromise } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator, g as __spreadArray, c as __read, e as __values, v as featheryWindow, al as loadQRScanner, am as throttle, j as jsx, b as jsxs, a as __assign, F as Fragment, E as ErrorInput, an as qrPromise } from './fthry_index.BtxCRm3o.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.BFiU-8BV.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as featheryWindow, b as jsxs, a as __assign, j as jsx, c as __read, u as useBorder, i as hoverStylesGuard, ak as isNum } from './fthry_index.
|
|
1
|
+
import { v as featheryWindow, b as jsxs, a as __assign, j as jsx, c as __read, u as useBorder, i as hoverStylesGuard, ak as isNum } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.BtxCRm3o.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 jsx, G as Global, w as css, x as __makeTemplateObject, a as __assign, c as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, b as jsxs$1, i as hoverStylesGuard, r as resetStyles, _ as __rest, z as formatDateString } from './fthry_index.
|
|
1
|
+
import { j as jsx, G as Global, w as css, x as __makeTemplateObject, a as __assign, c as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, b as jsxs$1, i as hoverStylesGuard, r as resetStyles, _ as __rest, z as formatDateString } from './fthry_index.BtxCRm3o.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.CopRM2Pu.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.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.COPEcaaj.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.CbMkctjB.js';
|
|
13
|
+
import './fthry_index.DCB6eyLJ.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 { b as jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, aa as downloadFile, ab as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ac as justRemove } from './fthry_index.
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, aa as downloadFile, ab as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ac as justRemove } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BtxCRm3o.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.BVmEhx8j.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DY10_F2J.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.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.CbMkctjB.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.BtxCRm3o.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.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DHz9iwR_.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.CbMkctjB.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __read, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { c as __read, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard } from './fthry_index.BtxCRm3o.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.BFiU-8BV.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -39857,20 +39857,6 @@ function Form(_a) {
|
|
|
39857
39857
|
// Tracks if the form has redirected
|
|
39858
39858
|
var hasRedirected = useRef(false);
|
|
39859
39859
|
var elementClicks = useRef({}).current;
|
|
39860
|
-
var transport = useMemo(function () {
|
|
39861
|
-
var _a = initInfo(), sdkKey = _a.sdkKey, userId = _a.userId;
|
|
39862
|
-
return {
|
|
39863
|
-
url: "".concat(API_URL, "ai/assistant/"),
|
|
39864
|
-
headers: function () {
|
|
39865
|
-
var sessionJwt = getCookie('feathery_session_token');
|
|
39866
|
-
return {
|
|
39867
|
-
Authorization: "Token ".concat(sdkKey),
|
|
39868
|
-
'X-Feathery-Session': sessionJwt
|
|
39869
|
-
};
|
|
39870
|
-
},
|
|
39871
|
-
body: { form_key: formId, fuser_key: userId }
|
|
39872
|
-
};
|
|
39873
|
-
}, [formId]);
|
|
39874
39860
|
var extractedSharedCodeInfo = useMemo(function () {
|
|
39875
39861
|
if (sharedCodes.length < 1) {
|
|
39876
39862
|
return [];
|
|
@@ -42337,7 +42323,7 @@ function Form(_a) {
|
|
|
42337
42323
|
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { ref: setActionToastRef, data: actionToastData, bottom: formSettings.showBrand &&
|
|
42338
42324
|
formSettings.brandPosition === 'bottom_right'
|
|
42339
42325
|
? 67
|
|
42340
|
-
: 20 }), formSettings.assistantEnabled && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat$1, {
|
|
42326
|
+
: 20 }), formSettings.assistantEnabled && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat$1, { formId: formId, bottom: (formSettings.showBrand &&
|
|
42341
42327
|
formSettings.brandPosition === 'bottom_right'
|
|
42342
42328
|
? 67
|
|
42343
42329
|
: 20) + (actionToastHeight > 0 ? actionToastHeight + 10 : 0), color: formSettings.assistantColor, workflowActions: formSettings.assistantWorkflowActions }) })))] })) })));
|
|
@@ -46162,9 +46148,9 @@ function init(sdkKey, options) {
|
|
|
46162
46148
|
if (runningInClient()) {
|
|
46163
46149
|
// Dynamically load libraries that must be client side
|
|
46164
46150
|
global.scriptjsLoadPromise = import(
|
|
46165
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46151
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BsvKrrvN.js').then(function (n) { return n.s; });
|
|
46166
46152
|
global.webfontloaderPromise = import(
|
|
46167
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46153
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D3IZnSgp.js').then(function (n) { return n.w; });
|
|
46168
46154
|
// Client-side tracking logic
|
|
46169
46155
|
if (initState.userTracking === 'cookie') {
|
|
46170
46156
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46310,7 +46296,7 @@ function getFieldValues() {
|
|
|
46310
46296
|
return __assign({}, fieldValues);
|
|
46311
46297
|
}
|
|
46312
46298
|
function logFeatheryBadge() {
|
|
46313
|
-
console.log('%c Feathery %c v' + "2.35.
|
|
46299
|
+
console.log('%c Feathery %c v' + "2.35.4" + ' ', // replaced with real version during build
|
|
46314
46300
|
'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;');
|
|
46315
46301
|
}
|
|
46316
46302
|
|
|
@@ -47794,39 +47780,39 @@ breakpoint) {
|
|
|
47794
47780
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47795
47781
|
};
|
|
47796
47782
|
|
|
47797
|
-
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47798
|
-
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47799
|
-
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47783
|
+
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.BzbFifaP.js'); });
|
|
47784
|
+
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.D0LSZSZ1.js'); });
|
|
47785
|
+
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DY10_F2J.js'); });
|
|
47800
47786
|
var CheckboxGroupField = lazy$1(function () {
|
|
47801
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47787
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Bclswt9V.js');
|
|
47802
47788
|
});
|
|
47803
|
-
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47804
|
-
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47789
|
+
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.Dt52G1R1.js'); });
|
|
47790
|
+
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.VwcpPAFy.js'); });
|
|
47805
47791
|
var DateSelectorField = lazy$1(function () {
|
|
47806
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47792
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.BZgn1jyy.js');
|
|
47807
47793
|
});
|
|
47808
|
-
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47794
|
+
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DINm8O8S.js'); });
|
|
47809
47795
|
var DropdownMultiField = lazy$1(function () {
|
|
47810
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47796
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BunBIt7Q.js');
|
|
47811
47797
|
});
|
|
47812
|
-
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47813
|
-
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47814
|
-
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47798
|
+
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BckbXJAm.js'); });
|
|
47799
|
+
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.C8YB4XKi.js'); });
|
|
47800
|
+
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BfXdNc_u.js'); });
|
|
47815
47801
|
var PaymentMethodField = lazy$1(function () {
|
|
47816
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47802
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.C1t4-fzU.js');
|
|
47817
47803
|
});
|
|
47818
|
-
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47819
|
-
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47820
|
-
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47804
|
+
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BxocDUFp.js'); });
|
|
47805
|
+
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BKJNuiAd.js'); });
|
|
47806
|
+
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.7bjBjUZ9.js'); });
|
|
47821
47807
|
var RadioButtonGroupField = lazy$1(function () {
|
|
47822
47808
|
return import(
|
|
47823
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47809
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DKJ0y4AH.js');
|
|
47824
47810
|
});
|
|
47825
|
-
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47826
|
-
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47827
|
-
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47828
|
-
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47829
|
-
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47811
|
+
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.BXijmrpX.js'); });
|
|
47812
|
+
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CA1uSoex.js'); });
|
|
47813
|
+
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.BgpuTecr.js'); });
|
|
47814
|
+
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.DW6FAi5v.js'); });
|
|
47815
|
+
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.I4VONGQP.js'); });
|
|
47830
47816
|
var Fields = {
|
|
47831
47817
|
AddressLine1: AddressLine1,
|
|
47832
47818
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48776,7 +48762,7 @@ function ElementSkeleton(_a) {
|
|
|
48776
48762
|
}
|
|
48777
48763
|
var templateObject_1;
|
|
48778
48764
|
|
|
48779
|
-
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48765
|
+
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.IYp43txG.js'); });
|
|
48780
48766
|
var Basic = {
|
|
48781
48767
|
ImageElement: ImageElement,
|
|
48782
48768
|
VideoElement: VideoElement,
|
|
@@ -58737,29 +58723,14 @@ var MarkdownText = memo(function (_a) {
|
|
|
58737
58723
|
});
|
|
58738
58724
|
MarkdownText.displayName = 'MarkdownText';
|
|
58739
58725
|
|
|
58740
|
-
var
|
|
58741
|
-
|
|
58742
|
-
|
|
58743
|
-
var _b = __read(_a, 2), v = _b[1];
|
|
58744
|
-
return v !== undefined && v !== null;
|
|
58745
|
-
})
|
|
58746
|
-
.map(function (_a) {
|
|
58747
|
-
var _b = __read(_a, 2), k = _b[0], v = _b[1];
|
|
58748
|
-
return [k, String(v)];
|
|
58749
|
-
});
|
|
58750
|
-
if (!filtered.length)
|
|
58751
|
-
return '';
|
|
58752
|
-
return '?' + new URLSearchParams(filtered).toString();
|
|
58753
|
-
};
|
|
58754
|
-
var getThreadList = function (transport) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58755
|
-
var threadsUrl, res;
|
|
58726
|
+
var getAssistantUrl = function () { return "".concat(API_URL, "ai/assistant/"); };
|
|
58727
|
+
var getThreadList = function (headers) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58728
|
+
var res;
|
|
58756
58729
|
return __generator(this, function (_a) {
|
|
58757
58730
|
switch (_a.label) {
|
|
58758
|
-
case 0:
|
|
58759
|
-
|
|
58760
|
-
|
|
58761
|
-
headers: transport.headers()
|
|
58762
|
-
})];
|
|
58731
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/"), {
|
|
58732
|
+
headers: headers()
|
|
58733
|
+
})];
|
|
58763
58734
|
case 1:
|
|
58764
58735
|
res = _a.sent();
|
|
58765
58736
|
if (!res.ok)
|
|
@@ -58768,15 +58739,13 @@ var getThreadList = function (transport) { return __awaiter$2(void 0, void 0, vo
|
|
|
58768
58739
|
}
|
|
58769
58740
|
});
|
|
58770
58741
|
}); };
|
|
58771
|
-
var getThreadDetail = function (
|
|
58772
|
-
var
|
|
58742
|
+
var getThreadDetail = function (headers, threadId) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58743
|
+
var res;
|
|
58773
58744
|
return __generator(this, function (_a) {
|
|
58774
58745
|
switch (_a.label) {
|
|
58775
|
-
case 0:
|
|
58776
|
-
|
|
58777
|
-
|
|
58778
|
-
headers: transport.headers()
|
|
58779
|
-
})];
|
|
58746
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/").concat(threadId, "/"), {
|
|
58747
|
+
headers: headers()
|
|
58748
|
+
})];
|
|
58780
58749
|
case 1:
|
|
58781
58750
|
res = _a.sent();
|
|
58782
58751
|
if (!res.ok)
|
|
@@ -58785,14 +58754,14 @@ var getThreadDetail = function (transport, threadId) { return __awaiter$2(void 0
|
|
|
58785
58754
|
}
|
|
58786
58755
|
});
|
|
58787
58756
|
}); };
|
|
58788
|
-
var generateThreadTitle = function (
|
|
58757
|
+
var generateThreadTitle = function (headers, threadId, message) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58789
58758
|
var res, data;
|
|
58790
58759
|
var _a;
|
|
58791
58760
|
return __generator(this, function (_b) {
|
|
58792
58761
|
switch (_b.label) {
|
|
58793
|
-
case 0: return [4 /*yield*/, fetch("".concat(
|
|
58762
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/title/"), {
|
|
58794
58763
|
method: 'POST',
|
|
58795
|
-
headers: __assign(__assign({},
|
|
58764
|
+
headers: __assign(__assign({}, headers()), { 'Content-Type': 'application/json' }),
|
|
58796
58765
|
body: JSON.stringify({ message: message, thread_id: threadId !== null && threadId !== void 0 ? threadId : undefined })
|
|
58797
58766
|
})];
|
|
58798
58767
|
case 1:
|
|
@@ -58806,16 +58775,13 @@ var generateThreadTitle = function (transport, threadId, message) { return __awa
|
|
|
58806
58775
|
}
|
|
58807
58776
|
});
|
|
58808
58777
|
}); };
|
|
58809
|
-
var deleteThread = function (
|
|
58810
|
-
var threadsUrl;
|
|
58778
|
+
var deleteThread = function (headers, threadId) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58811
58779
|
return __generator(this, function (_a) {
|
|
58812
58780
|
switch (_a.label) {
|
|
58813
|
-
case 0:
|
|
58814
|
-
|
|
58815
|
-
|
|
58816
|
-
|
|
58817
|
-
headers: transport.headers()
|
|
58818
|
-
})];
|
|
58781
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/").concat(threadId, "/"), {
|
|
58782
|
+
method: 'DELETE',
|
|
58783
|
+
headers: headers()
|
|
58784
|
+
})];
|
|
58819
58785
|
case 1:
|
|
58820
58786
|
_a.sent();
|
|
58821
58787
|
return [2 /*return*/];
|
|
@@ -58828,7 +58794,27 @@ var PANEL_WIDTH = 380;
|
|
|
58828
58794
|
var PANEL_HEIGHT = 500;
|
|
58829
58795
|
var AssistantChat = function (_a) {
|
|
58830
58796
|
var _b, _c;
|
|
58831
|
-
var
|
|
58797
|
+
var formId = _a.formId, runId = _a.runId, getJwt = _a.getJwt, _d = _a.bottom, bottom = _d === void 0 ? 20 : _d, color = _a.color, _e = _a.workflowActions, workflowActions = _e === void 0 ? [] : _e;
|
|
58798
|
+
var headers = useMemo(function () {
|
|
58799
|
+
if (getJwt)
|
|
58800
|
+
return function () { return ({ Authorization: "Bearer ".concat(getJwt()) }); };
|
|
58801
|
+
var sdkKey = initInfo().sdkKey;
|
|
58802
|
+
return function () {
|
|
58803
|
+
var headers = {
|
|
58804
|
+
Authorization: "Token ".concat(sdkKey)
|
|
58805
|
+
};
|
|
58806
|
+
var sessionJwt = getCookie('feathery_session_token');
|
|
58807
|
+
if (sessionJwt)
|
|
58808
|
+
headers['X-Feathery-Session'] = sessionJwt;
|
|
58809
|
+
return headers;
|
|
58810
|
+
};
|
|
58811
|
+
}, [getJwt]);
|
|
58812
|
+
var chatBody = useMemo(function () {
|
|
58813
|
+
if (getJwt)
|
|
58814
|
+
return runId ? { run_id: runId } : {};
|
|
58815
|
+
var userId = initInfo().userId;
|
|
58816
|
+
return { form_key: formId, fuser_key: userId };
|
|
58817
|
+
}, [formId, runId, getJwt]);
|
|
58832
58818
|
var _f = __read(useState(false), 2), isOpen = _f[0], setIsOpen = _f[1];
|
|
58833
58819
|
var _g = __read(useState(''), 2), input = _g[0], setInput = _g[1];
|
|
58834
58820
|
var _h = __read(useState([]), 2), threads = _h[0], setThreads = _h[1];
|
|
@@ -58842,9 +58828,9 @@ var AssistantChat = function (_a) {
|
|
|
58842
58828
|
var resolvedThreadId = threadId;
|
|
58843
58829
|
var titleGenerated = false;
|
|
58844
58830
|
var chatTransport = new DefaultChatTransport({
|
|
58845
|
-
api: "".concat(
|
|
58846
|
-
headers:
|
|
58847
|
-
body: function () { return (__assign(__assign({},
|
|
58831
|
+
api: "".concat(getAssistantUrl(), "chat/"),
|
|
58832
|
+
headers: headers,
|
|
58833
|
+
body: function () { return (__assign(__assign({}, chatBody), { thread_id: resolvedThreadId || null })); },
|
|
58848
58834
|
fetch: function (url, init) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58849
58835
|
var res, threadId, titleMessage, currentThreadId_1;
|
|
58850
58836
|
var _a, _b, _c;
|
|
@@ -58862,7 +58848,7 @@ var AssistantChat = function (_a) {
|
|
|
58862
58848
|
});
|
|
58863
58849
|
});
|
|
58864
58850
|
setActiveThreadId(threadId);
|
|
58865
|
-
getThreadDetail(
|
|
58851
|
+
getThreadDetail(headers, threadId).then(function (t) {
|
|
58866
58852
|
if (t)
|
|
58867
58853
|
setThreads(function (prev) {
|
|
58868
58854
|
return prev.map(function (thread) {
|
|
@@ -58875,7 +58861,7 @@ var AssistantChat = function (_a) {
|
|
|
58875
58861
|
titleMessage = (_c = (_b = (_a = chat.messages.find(function (m) { return m.role === 'user'; })) === null || _a === void 0 ? void 0 : _a.parts) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.text;
|
|
58876
58862
|
if (titleMessage) {
|
|
58877
58863
|
currentThreadId_1 = resolvedThreadId || threadId || null;
|
|
58878
|
-
generateThreadTitle(
|
|
58864
|
+
generateThreadTitle(headers, currentThreadId_1, titleMessage).then(function (title) {
|
|
58879
58865
|
if (!title)
|
|
58880
58866
|
return;
|
|
58881
58867
|
titleGenerated = true;
|
|
@@ -58918,7 +58904,7 @@ var AssistantChat = function (_a) {
|
|
|
58918
58904
|
});
|
|
58919
58905
|
return chat;
|
|
58920
58906
|
};
|
|
58921
|
-
var readyChat = useMemo(function () { return makeChat(null); }, [
|
|
58907
|
+
var readyChat = useMemo(function () { return makeChat(null); }, [headers, chatBody]);
|
|
58922
58908
|
var activeThread = threads.find(function (t) { return t.id === activeThreadId; });
|
|
58923
58909
|
var activeChat = (_b = activeThread === null || activeThread === void 0 ? void 0 : activeThread.chat) !== null && _b !== void 0 ? _b : readyChat;
|
|
58924
58910
|
// @ts-ignore
|
|
@@ -58934,7 +58920,7 @@ var AssistantChat = function (_a) {
|
|
|
58934
58920
|
var data;
|
|
58935
58921
|
return __generator(this, function (_a) {
|
|
58936
58922
|
switch (_a.label) {
|
|
58937
|
-
case 0: return [4 /*yield*/, getThreadList(
|
|
58923
|
+
case 0: return [4 /*yield*/, getThreadList(headers)];
|
|
58938
58924
|
case 1:
|
|
58939
58925
|
data = _a.sent();
|
|
58940
58926
|
if (!data)
|
|
@@ -58946,7 +58932,7 @@ var AssistantChat = function (_a) {
|
|
|
58946
58932
|
return [2 /*return*/];
|
|
58947
58933
|
}
|
|
58948
58934
|
});
|
|
58949
|
-
}); }, [
|
|
58935
|
+
}); }, [headers]);
|
|
58950
58936
|
useEffect(function () {
|
|
58951
58937
|
if (isOpen)
|
|
58952
58938
|
fetchThreads();
|
|
@@ -58978,7 +58964,7 @@ var AssistantChat = function (_a) {
|
|
|
58978
58964
|
setIsDropdownOpen(false);
|
|
58979
58965
|
return [2 /*return*/];
|
|
58980
58966
|
}
|
|
58981
|
-
return [4 /*yield*/, getThreadDetail(
|
|
58967
|
+
return [4 /*yield*/, getThreadDetail(headers, id)];
|
|
58982
58968
|
case 1:
|
|
58983
58969
|
thread = _c.sent();
|
|
58984
58970
|
if (!thread)
|
|
@@ -59001,7 +58987,7 @@ var AssistantChat = function (_a) {
|
|
|
59001
58987
|
e.stopPropagation();
|
|
59002
58988
|
thread = threads.find(function (t) { return t.id === id; });
|
|
59003
58989
|
if (!!(thread === null || thread === void 0 ? void 0 : thread.isTemporary)) return [3 /*break*/, 2];
|
|
59004
|
-
return [4 /*yield*/, deleteThread(
|
|
58990
|
+
return [4 /*yield*/, deleteThread(headers, id)];
|
|
59005
58991
|
case 1:
|
|
59006
58992
|
_a.sent();
|
|
59007
58993
|
_a.label = 2;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.BtxCRm3o.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.CE4iR8vo.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.CopRM2Pu.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, c as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, b as jsxs, j as jsx, a as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, i as hoverStylesGuard, ak as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { _ as __rest, c as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, b as jsxs, j as jsx, a as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, i as hoverStylesGuard, ak as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BtxCRm3o.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.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.VmXATYlT.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, n as FeatheryClient, o as debounce } from './fthry_index.
|
|
1
|
+
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, n as FeatheryClient, o as debounce } from './fthry_index.BtxCRm3o.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.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.VmXATYlT.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.BtxCRm3o.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.CbMkctjB.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.DY10_F2J.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.BtxCRm3o.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.DCB6eyLJ.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1477,7 +1477,7 @@ function SignatureField(_a) {
|
|
|
1477
1477
|
useEffect(function () {
|
|
1478
1478
|
if (!global.webfontloaderPromise)
|
|
1479
1479
|
global.webfontloaderPromise = import(
|
|
1480
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1480
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D3IZnSgp.js').then(function (n) { return n.w; });
|
|
1481
1481
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1482
1482
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1483
1483
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard, p as imgMaxSizeStyles, q as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard, p as imgMaxSizeStyles, q as noTextSelectStyles, E as ErrorInput } from './fthry_index.BtxCRm3o.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.CE4iR8vo.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.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.CbMkctjB.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,12 +1,12 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BtxCRm3o.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.CE4iR8vo.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.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.CbMkctjB.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|