@feathery/react 2.12.1 → 2.12.3-pr-1522.4bcc507.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/dist/Form/index.d.ts.map +1 -1
- package/dist/Form/tests/testMocks.d.ts.map +1 -1
- package/dist/cjs/Form/index.d.ts.map +1 -1
- package/dist/cjs/Form/tests/testMocks.d.ts.map +1 -1
- package/dist/cjs/{fthry_FormControl.D9BJvVaJ.js → fthry_FormControl.BkRkEOPV.js} +1 -1
- package/dist/cjs/{fthry_InlineTooltip.DR7bLXGa.js → fthry_InlineTooltip.CbVeAbj-.js} +2 -2
- package/dist/cjs/{fthry_Overlay.CrZjxgT8.js → fthry_Overlay.zp3MDZez.js} +1 -1
- package/dist/cjs/{fthry_PaymentMethodField.CJzF4Zxb.js → fthry_PaymentMethodField.CJ8dq0fW.js} +4 -4
- package/dist/cjs/{fthry_Placeholder.B8GeFQZR.js → fthry_Placeholder.BmZn9eqe.js} +1 -1
- package/dist/cjs/{fthry_ShowEyeIcon.CCfWazbl.js → fthry_ShowEyeIcon.Bm2XEOxd.js} +1 -1
- package/dist/cjs/{fthry_index.MtnDTtkS.js → fthry_index.B4YjC-C6.js} +3 -3
- package/dist/cjs/{fthry_index.Di6Ez6Jq.js → fthry_index.B9-9P9JF.js} +5 -5
- package/dist/cjs/{fthry_index.B9nSbifR.js → fthry_index.BGZ09_Df.js} +4 -4
- package/dist/cjs/{fthry_index.DIcOH_1A.js → fthry_index.BHZiDOJy.js} +4 -4
- package/dist/cjs/{fthry_index.BD4_rswQ.js → fthry_index.BMG2-fL2.js} +1 -1
- package/dist/cjs/{fthry_index.Clp_KtlX.js → fthry_index.BRcdDEP7.js} +5 -5
- package/dist/cjs/{fthry_index.D9L4f3Pj.js → fthry_index.BYMaOURT.js} +1 -1
- package/dist/cjs/{fthry_index.BTNifGA9.js → fthry_index.Bc1WOCpN.js} +2 -2
- package/dist/cjs/{fthry_index.DUPLrjMh.js → fthry_index.Bwkf_lk3.js} +5 -5
- package/dist/cjs/{fthry_index.gV8gGARz.js → fthry_index.CAuvgDuG.js} +2 -2
- package/dist/cjs/{fthry_index.BuLFQ_7f.js → fthry_index.CohzVLkQ.js} +4 -4
- package/dist/cjs/{fthry_index.BnZd5CLv.js → fthry_index.CtdngFQd.js} +500 -598
- package/dist/cjs/{fthry_index.xPqRnN8F.js → fthry_index.CzI9aLcM.js} +6 -6
- package/dist/cjs/{fthry_index.BJNpqcLP.js → fthry_index.D6MKhV5W.js} +1 -1
- package/dist/cjs/{fthry_index.DhdLVJxC.js → fthry_index.DHlxQYOY.js} +1 -1
- package/dist/cjs/{fthry_index.BIdvmzZQ.js → fthry_index.DI7QOcRZ.js} +3 -3
- package/dist/cjs/{fthry_index.CyEVBDDl.js → fthry_index.DNAP_k72.js} +8 -8
- package/dist/cjs/{fthry_index.CgHQcgU1.js → fthry_index.DRGdkWyD.js} +5 -5
- package/dist/cjs/{fthry_index.ErCS5xBc.js → fthry_index.DvJ038DD.js} +6 -6
- package/dist/cjs/{fthry_index.Da4jVIuq.js → fthry_index.E_PMR0Yl.js} +1 -1
- package/dist/cjs/{fthry_index.D672ZqZK.js → fthry_index.fleNYFAW.js} +1 -1
- package/dist/cjs/{fthry_index.DIDhcvDu.js → fthry_index.hn3nWnc7.js} +6 -6
- package/dist/cjs/{fthry_index.dDIBqxIW.js → fthry_index.sQV37Gt2.js} +1 -1
- package/dist/cjs/{fthry_input.B183IqBD.js → fthry_input.BhfAe7t1.js} +1 -1
- package/dist/cjs/{fthry_script.DIjMUL2c.js → fthry_script.iSzGaCwW.js} +1 -1
- package/dist/cjs/{fthry_styles.BYfcWStv.js → fthry_styles.CKZy9WDb.js} +1 -1
- package/dist/cjs/{fthry_useElementSize.C3ihe8zZ.js → fthry_useElementSize.CUMmUgEh.js} +1 -1
- package/dist/cjs/{fthry_useSalesforceSync.CQ0w7bSH.js → fthry_useSalesforceSync.DURMJ7-O.js} +1 -1
- package/dist/cjs/{fthry_webfontloader.B6879vMH.js → fthry_webfontloader.C04VodQo.js} +1 -1
- package/dist/cjs/index.d.ts +9 -2
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/error.d.ts +5 -0
- package/dist/cjs/utils/error.d.ts.map +1 -1
- package/dist/cjs/utils/featheryClient/index.d.ts +26 -12
- package/dist/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/cjs/utils/featheryClient/integrationClient.d.ts +8 -2
- package/dist/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/cjs/utils/featheryClient/utils.d.ts.map +1 -1
- package/dist/cjs/utils/formContext.d.ts +8 -2
- package/dist/cjs/utils/formContext.d.ts.map +1 -1
- package/dist/cjs/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/cjs/utils/internalState.d.ts +19 -1
- package/dist/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/esm/Form/index.d.ts.map +1 -1
- package/dist/esm/Form/tests/testMocks.d.ts.map +1 -1
- package/dist/esm/{fthry_FormControl.l56aLUEi.js → fthry_FormControl.DDAZFoSo.js} +1 -1
- package/dist/esm/{fthry_InlineTooltip.DmQYRgve.js → fthry_InlineTooltip.DwsGjmPQ.js} +2 -2
- package/dist/esm/{fthry_Overlay.DM59j4f0.js → fthry_Overlay.DkCTSVzA.js} +1 -1
- package/dist/esm/{fthry_PaymentMethodField.fCt76s5z.js → fthry_PaymentMethodField.BgCHxykS.js} +4 -4
- package/dist/esm/{fthry_Placeholder.Dc-T2oBR.js → fthry_Placeholder.BZZOH4gv.js} +1 -1
- package/dist/esm/{fthry_ShowEyeIcon.DkApAiKk.js → fthry_ShowEyeIcon.FVKM_CUd.js} +1 -1
- package/dist/esm/{fthry_index.Da98jfKm.js → fthry_index.3ZKChQii.js} +6 -6
- package/dist/esm/{fthry_index.BJyM786w.js → fthry_index.3bbiVByG.js} +1 -1
- package/dist/esm/{fthry_index.CVgDbjY1.js → fthry_index.BvXP5j-k.js} +3 -3
- package/dist/esm/{fthry_index.DVILnI90.js → fthry_index.Bzcb4acF.js} +2 -2
- package/dist/esm/{fthry_index.CXD18e8a.js → fthry_index.C2vvoqul.js} +5 -5
- package/dist/esm/{fthry_index.DVtBoC8j.js → fthry_index.C5QJmvNS.js} +6 -6
- package/dist/esm/{fthry_index.BiqwOrNO.js → fthry_index.C7bZ41Dr.js} +4 -4
- package/dist/esm/{fthry_index.D9Qfe2pB.js → fthry_index.CLVY8zB_.js} +1 -1
- package/dist/esm/{fthry_index.D_yHzSrJ.js → fthry_index.CRMp7Yug.js} +1 -1
- package/dist/esm/{fthry_index.CMK9yPNK.js → fthry_index.Cfs1JnS1.js} +4 -4
- package/dist/esm/{fthry_index.DR6-xbaq.js → fthry_index.CgxfpBL9.js} +5 -5
- package/dist/esm/{fthry_index.Cfm44aIA.js → fthry_index.ChZdNtIX.js} +500 -598
- package/dist/esm/{fthry_index.BmrMDwxa.js → fthry_index.Cvc2tCaE.js} +1 -1
- package/dist/esm/{fthry_index.BI7Nq-2R.js → fthry_index.DE7Dh4ea.js} +8 -8
- package/dist/esm/{fthry_index.CHNf-Nku.js → fthry_index.DbQ9ZgfN.js} +6 -6
- package/dist/esm/{fthry_index.BnHL_KxW.js → fthry_index.DnA1YwIh.js} +5 -5
- package/dist/esm/{fthry_index.DjSo-4yX.js → fthry_index.DtApOSy5.js} +1 -1
- package/dist/esm/{fthry_index.oDok6-x4.js → fthry_index.IEBDVXp5.js} +5 -5
- package/dist/esm/{fthry_index.CtKbIaOM.js → fthry_index.JlaR97bs.js} +1 -1
- package/dist/esm/{fthry_index.PtKWUi2v.js → fthry_index.TccqLkT8.js} +4 -4
- package/dist/esm/{fthry_index.CMqIVjXZ.js → fthry_index.nBx09C9l.js} +3 -3
- package/dist/esm/{fthry_index.DXrdFckU.js → fthry_index.pBPbV9ty.js} +2 -2
- package/dist/esm/{fthry_index.Vhl0bnkZ.js → fthry_index.pN448hs2.js} +1 -1
- package/dist/esm/{fthry_input.CXHgLIf8.js → fthry_input.DgpAkI4d.js} +1 -1
- package/dist/esm/{fthry_script.DwMte9St.js → fthry_script.DNqAP9Nj.js} +1 -1
- package/dist/esm/{fthry_styles.C0QSjZiE.js → fthry_styles.BhmDd9Lo.js} +1 -1
- package/dist/esm/{fthry_useElementSize.D4IcFu8F.js → fthry_useElementSize.CuzKKLqH.js} +1 -1
- package/dist/esm/{fthry_useSalesforceSync.B85ooTBi.js → fthry_useSalesforceSync.D3lKBSsD.js} +1 -1
- package/dist/esm/{fthry_webfontloader.CYx_LPgy.js → fthry_webfontloader.Bo43XEHO.js} +1 -1
- package/dist/esm/index.d.ts +9 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/error.d.ts +5 -0
- package/dist/esm/utils/error.d.ts.map +1 -1
- package/dist/esm/utils/featheryClient/index.d.ts +26 -12
- package/dist/esm/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/esm/utils/featheryClient/integrationClient.d.ts +8 -2
- package/dist/esm/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/esm/utils/featheryClient/utils.d.ts.map +1 -1
- package/dist/esm/utils/formContext.d.ts +8 -2
- package/dist/esm/utils/formContext.d.ts.map +1 -1
- package/dist/esm/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/esm/utils/internalState.d.ts +19 -1
- package/dist/esm/utils/internalState.d.ts.map +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/utils/error.d.ts +5 -0
- package/dist/utils/error.d.ts.map +1 -1
- package/dist/utils/featheryClient/index.d.ts +26 -12
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +8 -2
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/featheryClient/utils.d.ts.map +1 -1
- package/dist/utils/formContext.d.ts +8 -2
- package/dist/utils/formContext.d.ts.map +1 -1
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +19 -1
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +2 -3
- package/umd/{509.f9d0245d6c94d15722a0.js → 509.4236d4d76d2fa2ccd971.js} +2 -2
- package/umd/index.js +1 -1
- /package/umd/{509.f9d0245d6c94d15722a0.js.LICENSE.txt → 509.4236d4d76d2fa2ccd971.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, _ as __read, j as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, _ as __read, j as jsxs, E as ErrorInput } from './fthry_index.ChZdNtIX.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.ChZdNtIX.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.BZZOH4gv.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DwsGjmPQ.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.DkCTSVzA.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CuzKKLqH.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.FVKM_CUd.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.DgpAkI4d.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.CLVY8zB_.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 { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.
|
|
1
|
+
import { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.ChZdNtIX.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.BZZOH4gv.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DwsGjmPQ.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.DgpAkI4d.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.DkCTSVzA.js';
|
|
13
|
+
import './fthry_index.CLVY8zB_.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.ChZdNtIX.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.DwsGjmPQ.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.BZZOH4gv.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.D3lKBSsD.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.DkCTSVzA.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.ChZdNtIX.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.
|
|
1
|
+
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.ChZdNtIX.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.BZZOH4gv.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DwsGjmPQ.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.DkCTSVzA.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CuzKKLqH.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.
|
|
1
|
+
import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.ChZdNtIX.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, u as useBorder, _ as __read, w as countryData, x as fieldValues, j as jsxs, h as hoverStylesGuard, o as css, p as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, u as useBorder, _ as __read, w as countryData, x as fieldValues, j as jsxs, h as hoverStylesGuard, o as css, p as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.ChZdNtIX.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.DwsGjmPQ.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.D3lKBSsD.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.DkCTSVzA.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __read, b as jsx, m as Fragment, q as isMobile, j as jsxs, a as __assign, k as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __read, b as jsx, m as Fragment, q as isMobile, j as jsxs, a as __assign, k as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.ChZdNtIX.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.DkCTSVzA.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.3bbiVByG.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.
|
|
1
|
+
import { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.ChZdNtIX.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.BhmDd9Lo.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __read, j as jsxs$1, a as __assign, b as jsx$1, k as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { _ as __read, j as jsxs$1, a as __assign, b as jsx$1, k as FORM_Z_INDEX } from './fthry_index.ChZdNtIX.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,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { aq as cls, j as jsxs, m as Fragment, b as jsx, G as Global, o as css, p as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { aq as cls, j as jsxs, m as Fragment, b as jsx, G as Global, o as css, p as __makeTemplateObject } from './fthry_index.ChZdNtIX.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
package/dist/esm/{fthry_useSalesforceSync.B85ooTBi.js → fthry_useSalesforceSync.D3lKBSsD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __read, c as __awaiter, d as __generator, F as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { _ as __read, c as __awaiter, d as __generator, F as FeatheryClient } from './fthry_index.ChZdNtIX.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ declare function renderAt(elementId: any, props: FormProps, loginEnabled?: boole
|
|
|
42
42
|
[fieldKey: string]: string;
|
|
43
43
|
};
|
|
44
44
|
openUrl: (url: string, target?: string) => Promise<void>;
|
|
45
|
-
runIntegrationActions: (actionIds: import("
|
|
45
|
+
runIntegrationActions: (actionIds: import("./utils/internalState").IntegrationActionIds, options: import("./utils/internalState").IntegrationActionOptions) => Promise<{
|
|
46
46
|
ok: boolean;
|
|
47
47
|
payload: any;
|
|
48
48
|
error?: undefined;
|
|
@@ -53,7 +53,14 @@ declare function renderAt(elementId: any, props: FormProps, loginEnabled?: boole
|
|
|
53
53
|
}>;
|
|
54
54
|
runAIExtraction: (extractionId: string, options?: {
|
|
55
55
|
waitForCompletion: boolean;
|
|
56
|
-
}, pages?: import("
|
|
56
|
+
}, pages?: import("./utils/internalState").PageSelectionInput | undefined) => Promise<Record<string, string>>;
|
|
57
|
+
forwardInboxEmail: (options: {
|
|
58
|
+
emails?: string[] | undefined;
|
|
59
|
+
emailGroup?: string | undefined;
|
|
60
|
+
}) => Promise<{
|
|
61
|
+
ok: boolean;
|
|
62
|
+
error?: string | undefined;
|
|
63
|
+
}>;
|
|
57
64
|
setCalendlyUrl: (url: string) => void;
|
|
58
65
|
applyAlloyJourney: (journeyToken: string, entities: import("./utils/internalState").AlloyEntities) => Promise<{
|
|
59
66
|
ok: boolean;
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCvE;AAGD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASb,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,SAAS,EACT,aAAa,EACb,QAAQ,EACR,eAAe,EAChB,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAC3C,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aw as Elements, aF as Feathery, av as Form, aD as LoginForm, aG as StyledContainer, aB as getFieldValues, ax as init, aC as renderAt, aA as setFieldValues, az as updateTheme, ay as updateUserId, aE as useAuthClient } from './fthry_index.
|
|
1
|
+
export { aw as Elements, aF as Feathery, av as Form, aD as LoginForm, aG as StyledContainer, aB as getFieldValues, ax as init, aC as renderAt, aA as setFieldValues, az as updateTheme, ay as updateUserId, aE as useAuthClient } from './fthry_index.ChZdNtIX.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -4,6 +4,11 @@ export declare class SDKKeyError extends Error {
|
|
|
4
4
|
export declare class UserIdError extends Error {
|
|
5
5
|
constructor();
|
|
6
6
|
}
|
|
7
|
+
export declare class FetchError extends Error {
|
|
8
|
+
payload: any;
|
|
9
|
+
constructor(message: any, payload?: any);
|
|
10
|
+
}
|
|
11
|
+
export declare function parseError(err: any): any;
|
|
7
12
|
export declare const setCustomErrorHandler: () => void;
|
|
8
13
|
export declare const removeCustomErrorHandler: () => void;
|
|
9
14
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/utils/error.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAY,SAAQ,KAAK;gBACxB,OAAO,SAAoB;CAIxC;AAED,qBAAa,WAAY,SAAQ,KAAK;;CAKrC;AAeD,eAAO,MAAM,qBAAqB,YAEjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC"}
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/utils/error.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAY,SAAQ,KAAK;gBACxB,OAAO,SAAoB;CAIxC;AAED,qBAAa,WAAY,SAAQ,KAAK;;CAKrC;AAED,qBAAa,UAAW,SAAQ,KAAK;IACnC,OAAO,EAAE,GAAG,CAAC;gBAED,OAAO,EAAE,GAAG,EAAE,OAAO,GAAE,GAAU;CAK9C;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,OAQlC;AAeD,eAAO,MAAM,qBAAqB,YAEjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC"}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import IntegrationClient from './integrationClient';
|
|
2
2
|
import type { DebouncedFunc } from 'lodash';
|
|
3
|
-
import { GetConfigParams } from '../internalState';
|
|
4
|
-
|
|
3
|
+
import { ExtractionActionOptions, GetConfigParams, PageSelectionInput } from '../internalState';
|
|
4
|
+
export declare const API_URL_OPTIONS: {
|
|
5
|
+
local: string;
|
|
6
|
+
staging: string;
|
|
7
|
+
production: string;
|
|
8
|
+
productionAU: string;
|
|
9
|
+
productionEU: string;
|
|
10
|
+
productionCA: string;
|
|
11
|
+
};
|
|
5
12
|
export declare let API_URL: string;
|
|
6
13
|
export declare let CDN_URL: string;
|
|
7
14
|
export declare let STATIC_URL: string;
|
|
@@ -62,6 +69,15 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
62
69
|
}): Promise<void>;
|
|
63
70
|
submitStep(servars: any, step: any, hasNext: boolean): Promise<[any, void, void, ...any[]] | undefined>;
|
|
64
71
|
registerEvent(eventData: any): Promise<any>;
|
|
72
|
+
runCustomRequest(payload: {
|
|
73
|
+
name?: string;
|
|
74
|
+
method?: string;
|
|
75
|
+
url?: string;
|
|
76
|
+
data: Record<string, any> | any[];
|
|
77
|
+
headers: Record<string, string>;
|
|
78
|
+
}, fieldValues?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
} | null): Promise<any>;
|
|
65
81
|
runServerSideLogicRule(id: string): Promise<any>;
|
|
66
82
|
AI_CHECK_INTERVAL: number;
|
|
67
83
|
AI_MAX_TIME: number;
|
|
@@ -71,18 +87,16 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
71
87
|
pages?: PageSelectionInput;
|
|
72
88
|
setPollFuserData?: any;
|
|
73
89
|
onStatusUpdate?: any;
|
|
74
|
-
}): Promise<
|
|
90
|
+
}): Promise<unknown>;
|
|
91
|
+
forwardInboxEmail({ options }: {
|
|
92
|
+
options: {
|
|
93
|
+
emails?: string[];
|
|
94
|
+
emailGroup?: string;
|
|
95
|
+
};
|
|
96
|
+
}): Promise<any>;
|
|
75
97
|
getConfig(configParams: GetConfigParams): Promise<any>;
|
|
76
98
|
verifyCollaborator(email: string): Promise<any>;
|
|
77
|
-
inviteCollaborator(usersGroups: string[], templateId: string): Promise<
|
|
78
|
-
ok: boolean;
|
|
79
|
-
payload: any;
|
|
80
|
-
error?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
ok: boolean;
|
|
83
|
-
error: string;
|
|
84
|
-
payload?: undefined;
|
|
85
|
-
}>;
|
|
99
|
+
inviteCollaborator(usersGroups: string[], templateId: string): Promise<any>;
|
|
86
100
|
rewindCollaboration(templateId: string, rewindEmailKey: string): Promise<any>;
|
|
87
101
|
setCollaboratorAsCompleted(templateId: string): Promise<any>;
|
|
88
102
|
generateDocuments({ documentIds, download }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/featheryClient/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/featheryClient/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AA6BpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAO1B,eAAO,MAAM,eAAe;;;;;;;CAO3B,CAAC;AAmCF,eAAO,IAAI,OAAO,QAA+B,CAAC;AAClD,eAAO,IAAI,OAAO,QAA+B,CAAC;AAClD,eAAO,IAAI,UAAU,QAAkC,CAAC;AACxD,eAAO,IAAI,MAAM,QAA8B,CAAC;AAEhD,eAAO,MAAM,mBAAmB,WAAY,MAAM,SAiBjD,CAAC;AAOF,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,iBAAiB;IAC3D;;;OAGG;IACH,yBAAyB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAElD;;OAEG;IACH,qBAAqB,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE,OAAO,K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2B9D,0BAA0B,CAAC,UAAU,EAAE,MAAM;IAyB7C,iBAAiB,CAAC,EACtB,WAAW,EACX,QAAgB,EACjB,EAAE;QACD,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;;;IA6BK,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE;CAelD"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OfflineRequestHandler } from '../offlineRequestHandler';
|
|
2
|
-
import { AlloyEntities, LoanProCustomerObject } from '../internalState';
|
|
3
|
-
import { IntegrationActionIds, IntegrationActionOptions } from '@feathery/client-utils';
|
|
2
|
+
import { AlloyEntities, IntegrationActionIds, IntegrationActionOptions, LoanProCustomerObject } from '../internalState';
|
|
4
3
|
export declare const TYPE_MESSAGES_TO_IGNORE: string[];
|
|
5
4
|
export default class IntegrationClient {
|
|
6
5
|
formKey: string;
|
|
@@ -39,6 +38,13 @@ export default class IntegrationClient {
|
|
|
39
38
|
sendEmailOTP(receiverEmail: string): Promise<any>;
|
|
40
39
|
sendSMSMessage(phoneNumber: string, message: any): Promise<any>;
|
|
41
40
|
verifyOTP(otp: string, type: string): Promise<any>;
|
|
41
|
+
pollForCompletion({ pollUrl, checkInterval, maxTime, onStatusUpdate, operationName }: {
|
|
42
|
+
pollUrl: string;
|
|
43
|
+
checkInterval: number;
|
|
44
|
+
maxTime: number;
|
|
45
|
+
onStatusUpdate?: (data: any) => void;
|
|
46
|
+
operationName?: string;
|
|
47
|
+
}): Promise<unknown>;
|
|
42
48
|
ENVELOPE_CHECK_INTERVAL: number;
|
|
43
49
|
ENVELOPE_MAX_TIME: number;
|
|
44
50
|
generateEnvelopes(action: Record<string, string>): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationClient.d.ts","sourceRoot":"","sources":["../../../../src/utils/featheryClient/integrationClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integrationClient.d.ts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AE7B,mBAAmB;IA0Cb,0BAA0B,CAAC,WAAW,EAAE,MAAM;IAmE9C,iBAAiB,CAAC,WAAW,EAAE,MAAM;IAmBrC,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,GAAE,OAAO,GAAG,KAAe;IAepE,iBAAiB,CAAC,GAAG,EAAE,MAAM;IAiB7B,SAAS,CAAC,UAAU,EAAE,MAAM;IAe5B,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa;;;;;;;;;IAmBrE,wCAAwC,CAC5C,UAAU,EAAE,qBAAqB;;;;;;;;;IAoB7B,sCAAsC;;;;;;;;;IAkBtC,mBAAmB;;;;;;;;;IAiBnB,mBAAmB,CACvB,aAAa,EAAE,oBAAoB,EACnC,OAAO,EAAE,wBAAwB;;;;;;;;;IAwB7B,8BAA8B,CAClC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM;CAcxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/featheryClient/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/featheryClient/utils.ts"],"names":[],"mappings":"AAMA,wBAAsB,oBAAoB,CAAC,QAAQ,EAAE,GAAG,iBAgCvD"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldOptions } from './fieldHelperFunctions';
|
|
2
2
|
import { FieldValues, updateTheme, updateUserId } from './init';
|
|
3
|
-
import { AlloyEntities, GetConfigParams, LoanProCustomerObject } from './internalState';
|
|
4
|
-
import { IntegrationActionIds, IntegrationActionOptions, PageSelectionInput } from '@feathery/client-utils';
|
|
3
|
+
import { AlloyEntities, GetConfigParams, IntegrationActionIds, IntegrationActionOptions, LoanProCustomerObject, PageSelectionInput } from './internalState';
|
|
5
4
|
/**
|
|
6
5
|
* Used by contextRef in <Form />, renderAt for vanillajs, and the lifecycle
|
|
7
6
|
* methods
|
|
@@ -50,6 +49,13 @@ export declare const getFormContext: (formUuid: string) => {
|
|
|
50
49
|
runAIExtraction: (extractionId: string, options?: {
|
|
51
50
|
waitForCompletion: boolean;
|
|
52
51
|
}, pages?: PageSelectionInput) => Promise<Record<string, string>>;
|
|
52
|
+
forwardInboxEmail: (options: {
|
|
53
|
+
emails?: string[];
|
|
54
|
+
emailGroup?: string;
|
|
55
|
+
}) => Promise<{
|
|
56
|
+
ok: boolean;
|
|
57
|
+
error?: string | undefined;
|
|
58
|
+
}>;
|
|
53
59
|
setCalendlyUrl: (url: string) => void;
|
|
54
60
|
applyAlloyJourney: (journeyToken: string, entities: AlloyEntities) => Promise<{
|
|
55
61
|
ok: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formContext.d.ts","sourceRoot":"","sources":["../../../src/utils/formContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAuB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAEL,WAAW,EAIX,WAAW,EACX,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAsB,EACpB,aAAa,EACb,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"formContext.d.ts","sourceRoot":"","sources":["../../../src/utils/formContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAuB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAEL,WAAW,EAIX,WAAW,EACX,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAsB,EACpB,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,aAAc,MAAM;;;;;;;;;;;uBA6BxB,GAAG;;;wBAGF,GAAG;;;;;;;;;;;;;;mBA8FF,MAAM;uCAed,oBAAoB,WACtB,wBAAwB;;;;;;;;;oCAGnB,MAAM;;eAEZ,kBAAkB;iCAEC;QAAE,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE;;;;0BAEjD,MAAM;sCACM,MAAM;;;;;;;;;;;;;;;;;;wCAIJ,qBAAqB;;;;;;;;;6CAEhB,MAAM;;qBAMhC,MAAM,EAAE;;;;;0BAGD;QAAE,WAAW,EAAE,MAAM,EAAE,CAAA;KAAE;8BAErB;QAAE,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE;wBAE3B,eAAe;+BAER,WAAW,KAAG,IAAI;;;;kCAef,YAAY;;6BAiBhC,OAAO,MAAM,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAQxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formHelperFunctions.d.ts","sourceRoot":"","sources":["../../../src/utils/formHelperFunctions.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"formHelperFunctions.d.ts","sourceRoot":"","sources":["../../../src/utils/formHelperFunctions.ts"],"names":[],"mappings":";AAiBA,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,GAAG,QAI9C;AAED,eAAO,MAAM,YAAY,YAAa,GAAG,QA6BxC,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,GAAG,UAUvC,CAAC;AAEF,eAAO,MAAM,aAAa,SAClB,GAAG,aACE,MAAM,QACX,MAAM,KACX,OAAO,MAAM,EAAE,GAAG,CAoBpB,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,GAAG,QAkC/C;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,OAAO,EACP,SAAS,EACT,aAAwB,EACxB,QAAa,EAGb,OAAY,EAEZ,KAAY,EACZ,UAAe,EACf,YAAiB,EACjB,eAA0B,EAC1B,aAAqB,EACtB,EAAE,GAAG,oBA2DL;AAYD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAEtE;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,MAIjD;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,GAAG,iBAMzC;AAID,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,OAAO,QAU3D;AAED,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,MAAM,GAAG,WAAW,EACzB,QAAQ,EAAE,MAAM,IAAI,QAMrB;AAED,wBAAgB,gBAAgB,SAK/B;AAED,wBAAgB,eAAe,CAAC,eAAe,CAAC,EAAE,OAAO,QAUxD;AAKD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,GAAG,EAAE,SAW/C;AAED,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,GAAG;;;;;;;;;;;;;;;;EAkB/C;AAED,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,iBAgCtD;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,QAM9C;AAgBD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,GAAG,WAa1C;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,eAAe,GAAE,MAAM,EAAO,uBA4DtE"}
|
|
@@ -5,12 +5,23 @@ import SimplifiedProduct from '../integrations/stripe/SimplifiedProduct';
|
|
|
5
5
|
import Cart from '../integrations/stripe/Cart';
|
|
6
6
|
import Collaborator from './entities/Collaborator';
|
|
7
7
|
import FeatheryClient from './featheryClient';
|
|
8
|
-
|
|
8
|
+
export declare type PageSelectionInput = (number | string)[] | (number | string)[][];
|
|
9
|
+
export declare type IntegrationActionIds = string[] | string;
|
|
10
|
+
export declare type IntegrationActionOptions = {
|
|
11
|
+
waitForCompletion?: boolean;
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
};
|
|
9
14
|
export declare type RunIntegrationActions = (actionIds: IntegrationActionIds, options: IntegrationActionOptions) => Promise<{
|
|
10
15
|
ok: boolean;
|
|
11
16
|
error?: string;
|
|
12
17
|
payload?: any;
|
|
13
18
|
}>;
|
|
19
|
+
export declare type ExtractionActionOptions = {
|
|
20
|
+
waitForCompletion?: boolean;
|
|
21
|
+
pages?: PageSelectionInput;
|
|
22
|
+
variantId?: string;
|
|
23
|
+
meetingUrl?: string;
|
|
24
|
+
};
|
|
14
25
|
export declare type AlloyEntities = Record<string, any>[];
|
|
15
26
|
export declare type ApplyAlloyJourney = (journeyToken: string, entities: AlloyEntities) => Promise<{
|
|
16
27
|
ok: boolean;
|
|
@@ -71,6 +82,13 @@ export interface FormInternalState {
|
|
|
71
82
|
}>) => void;
|
|
72
83
|
setCalendlyUrl: (url: string) => void;
|
|
73
84
|
runAIExtraction: (extractionId: string, options: ExtractionActionOptions | boolean, pages?: PageSelectionInput) => Promise<Record<string, string>>;
|
|
85
|
+
forwardInboxEmail: (options: {
|
|
86
|
+
emails?: string[];
|
|
87
|
+
emailGroup?: string;
|
|
88
|
+
}) => Promise<{
|
|
89
|
+
ok: boolean;
|
|
90
|
+
error?: string;
|
|
91
|
+
}>;
|
|
74
92
|
getConfig: GetConfig;
|
|
75
93
|
}
|
|
76
94
|
declare type InternalState = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internalState.d.ts","sourceRoot":"","sources":["../../../src/utils/internalState.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AACzE,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,cAAc,MAA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AAI,CAAC;IACV,cAAc,EAAE,CACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,KAChE,IAAI,CAAC;IACV,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,uBAAuB,GAAG,OAAO,EAC1C,KAAK,CAAC,EAAE,kBAAkB,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrC,iBAAiB,EAAE,CAAC,OAAO,EAAE;QAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,KAAK,OAAO,CAAC;QAAE,EAAE,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,aAAK,aAAa,GAAG;IACnB,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAAC;CACvC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,aAAkB,CAAC;AAIxC,eAAO,MAAM,oBAAoB,aACrB,MAAM,eACH,OAAO,MAAM,EAAE,GAAG,CAAC,qBACd,MAAM,EAAE,sBA0B3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare function renderAt(elementId: any, props: FormProps, loginEnabled?: boole
|
|
|
41
41
|
[fieldKey: string]: string;
|
|
42
42
|
};
|
|
43
43
|
openUrl: (url: string, target?: string) => Promise<void>;
|
|
44
|
-
runIntegrationActions: (actionIds: import("
|
|
44
|
+
runIntegrationActions: (actionIds: import("./utils/internalState").IntegrationActionIds, options: import("./utils/internalState").IntegrationActionOptions) => Promise<{
|
|
45
45
|
ok: boolean;
|
|
46
46
|
payload: any;
|
|
47
47
|
error?: undefined;
|
|
@@ -52,7 +52,14 @@ declare function renderAt(elementId: any, props: FormProps, loginEnabled?: boole
|
|
|
52
52
|
}>;
|
|
53
53
|
runAIExtraction: (extractionId: string, options?: {
|
|
54
54
|
waitForCompletion: boolean;
|
|
55
|
-
}, pages?: import("
|
|
55
|
+
}, pages?: import("./utils/internalState").PageSelectionInput | undefined) => Promise<Record<string, string>>;
|
|
56
|
+
forwardInboxEmail: (options: {
|
|
57
|
+
emails?: string[] | undefined;
|
|
58
|
+
emailGroup?: string | undefined;
|
|
59
|
+
}) => Promise<{
|
|
60
|
+
ok: boolean;
|
|
61
|
+
error?: string | undefined;
|
|
62
|
+
}>;
|
|
56
63
|
setCalendlyUrl: (url: string) => void;
|
|
57
64
|
applyAlloyJourney: (journeyToken: string, entities: import("./utils/internalState").AlloyEntities) => Promise<{
|
|
58
65
|
ok: boolean;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCvE;AAGD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASb,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,SAAS,EACT,aAAa,EACb,QAAQ,EACR,eAAe,EAChB,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAC3C,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/utils/error.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ export declare class SDKKeyError extends Error {
|
|
|
4
4
|
export declare class UserIdError extends Error {
|
|
5
5
|
constructor();
|
|
6
6
|
}
|
|
7
|
+
export declare class FetchError extends Error {
|
|
8
|
+
payload: any;
|
|
9
|
+
constructor(message: any, payload?: any);
|
|
10
|
+
}
|
|
11
|
+
export declare function parseError(err: any): any;
|
|
7
12
|
export declare const setCustomErrorHandler: () => void;
|
|
8
13
|
export declare const removeCustomErrorHandler: () => void;
|
|
9
14
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/utils/error.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAY,SAAQ,KAAK;gBACxB,OAAO,SAAoB;CAIxC;AAED,qBAAa,WAAY,SAAQ,KAAK;;CAKrC;AAeD,eAAO,MAAM,qBAAqB,YAEjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC"}
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/utils/error.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAY,SAAQ,KAAK;gBACxB,OAAO,SAAoB;CAIxC;AAED,qBAAa,WAAY,SAAQ,KAAK;;CAKrC;AAED,qBAAa,UAAW,SAAQ,KAAK;IACnC,OAAO,EAAE,GAAG,CAAC;gBAED,OAAO,EAAE,GAAG,EAAE,OAAO,GAAE,GAAU;CAK9C;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,OAQlC;AAeD,eAAO,MAAM,qBAAqB,YAEjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC"}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import IntegrationClient from './integrationClient';
|
|
2
2
|
import type { DebouncedFunc } from 'lodash';
|
|
3
|
-
import { GetConfigParams } from '../internalState';
|
|
4
|
-
|
|
3
|
+
import { ExtractionActionOptions, GetConfigParams, PageSelectionInput } from '../internalState';
|
|
4
|
+
export declare const API_URL_OPTIONS: {
|
|
5
|
+
local: string;
|
|
6
|
+
staging: string;
|
|
7
|
+
production: string;
|
|
8
|
+
productionAU: string;
|
|
9
|
+
productionEU: string;
|
|
10
|
+
productionCA: string;
|
|
11
|
+
};
|
|
5
12
|
export declare let API_URL: string;
|
|
6
13
|
export declare let CDN_URL: string;
|
|
7
14
|
export declare let STATIC_URL: string;
|
|
@@ -62,6 +69,15 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
62
69
|
}): Promise<void>;
|
|
63
70
|
submitStep(servars: any, step: any, hasNext: boolean): Promise<[any, void, void, ...any[]] | undefined>;
|
|
64
71
|
registerEvent(eventData: any): Promise<any>;
|
|
72
|
+
runCustomRequest(payload: {
|
|
73
|
+
name?: string;
|
|
74
|
+
method?: string;
|
|
75
|
+
url?: string;
|
|
76
|
+
data: Record<string, any> | any[];
|
|
77
|
+
headers: Record<string, string>;
|
|
78
|
+
}, fieldValues?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
} | null): Promise<any>;
|
|
65
81
|
runServerSideLogicRule(id: string): Promise<any>;
|
|
66
82
|
AI_CHECK_INTERVAL: number;
|
|
67
83
|
AI_MAX_TIME: number;
|
|
@@ -71,18 +87,16 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
71
87
|
pages?: PageSelectionInput;
|
|
72
88
|
setPollFuserData?: any;
|
|
73
89
|
onStatusUpdate?: any;
|
|
74
|
-
}): Promise<
|
|
90
|
+
}): Promise<unknown>;
|
|
91
|
+
forwardInboxEmail({ options }: {
|
|
92
|
+
options: {
|
|
93
|
+
emails?: string[];
|
|
94
|
+
emailGroup?: string;
|
|
95
|
+
};
|
|
96
|
+
}): Promise<any>;
|
|
75
97
|
getConfig(configParams: GetConfigParams): Promise<any>;
|
|
76
98
|
verifyCollaborator(email: string): Promise<any>;
|
|
77
|
-
inviteCollaborator(usersGroups: string[], templateId: string): Promise<
|
|
78
|
-
ok: boolean;
|
|
79
|
-
payload: any;
|
|
80
|
-
error?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
ok: boolean;
|
|
83
|
-
error: string;
|
|
84
|
-
payload?: undefined;
|
|
85
|
-
}>;
|
|
99
|
+
inviteCollaborator(usersGroups: string[], templateId: string): Promise<any>;
|
|
86
100
|
rewindCollaboration(templateId: string, rewindEmailKey: string): Promise<any>;
|
|
87
101
|
setCollaboratorAsCompleted(templateId: string): Promise<any>;
|
|
88
102
|
generateDocuments({ documentIds, download }: {
|