@feathery/react 2.7.1 → 2.8.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.
Files changed (87) hide show
  1. package/dist/Form/components/{AIExtractionToast/ExtractionItem.d.ts → ActionToast/ToastItem.d.ts} +2 -2
  2. package/dist/Form/components/ActionToast/ToastItem.d.ts.map +1 -0
  3. package/dist/Form/components/ActionToast/icons.d.ts.map +1 -0
  4. package/dist/Form/components/ActionToast/index.d.ts +8 -0
  5. package/dist/Form/components/ActionToast/index.d.ts.map +1 -0
  6. package/dist/Form/components/{AIExtractionToast → ActionToast}/useAIExtractionToast.d.ts +8 -0
  7. package/dist/Form/components/ActionToast/useAIExtractionToast.d.ts.map +1 -0
  8. package/dist/Form/components/ActionToast/useEnvelopeGenerationToast.d.ts +20 -0
  9. package/dist/Form/components/ActionToast/useEnvelopeGenerationToast.d.ts.map +1 -0
  10. package/dist/Form/index.d.ts.map +1 -1
  11. package/dist/elements/fields/AddressLine1Field/tests/test-utils.d.ts +1 -0
  12. package/dist/elements/fields/AddressLine1Field/tests/test-utils.d.ts.map +1 -1
  13. package/dist/elements/fields/ButtonGroupField/tests/test-utils.d.ts +1 -0
  14. package/dist/elements/fields/ButtonGroupField/tests/test-utils.d.ts.map +1 -1
  15. package/dist/elements/fields/CheckboxField/tests/test-utils.d.ts +1 -0
  16. package/dist/elements/fields/CheckboxField/tests/test-utils.d.ts.map +1 -1
  17. package/dist/elements/fields/CheckboxGroupField/tests/test-utils.d.ts +1 -0
  18. package/dist/elements/fields/CheckboxGroupField/tests/test-utils.d.ts.map +1 -1
  19. package/dist/elements/fields/ColorPickerField/tests/test-utils.d.ts +1 -0
  20. package/dist/elements/fields/ColorPickerField/tests/test-utils.d.ts.map +1 -1
  21. package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts +1 -0
  22. package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts.map +1 -1
  23. package/dist/elements/fields/DropdownField/tests/test-utils.d.ts +2 -0
  24. package/dist/elements/fields/DropdownField/tests/test-utils.d.ts.map +1 -1
  25. package/dist/elements/fields/DropdownMultiField/tests/test-utils.d.ts +1 -0
  26. package/dist/elements/fields/DropdownMultiField/tests/test-utils.d.ts.map +1 -1
  27. package/dist/elements/fields/MatrixField/tests/test-utils.d.ts +1 -0
  28. package/dist/elements/fields/MatrixField/tests/test-utils.d.ts.map +1 -1
  29. package/dist/elements/fields/PasswordField/tests/test-utils.d.ts +1 -0
  30. package/dist/elements/fields/PasswordField/tests/test-utils.d.ts.map +1 -1
  31. package/dist/elements/fields/PhoneField/tests/test-utils.d.ts +1 -0
  32. package/dist/elements/fields/PhoneField/tests/test-utils.d.ts.map +1 -1
  33. package/dist/elements/fields/PinInputField/tests/test-utils.d.ts +1 -0
  34. package/dist/elements/fields/PinInputField/tests/test-utils.d.ts.map +1 -1
  35. package/dist/elements/fields/RadioButtonGroupField/tests/test-utils.d.ts +1 -0
  36. package/dist/elements/fields/RadioButtonGroupField/tests/test-utils.d.ts.map +1 -1
  37. package/dist/elements/fields/RatingField/tests/test-utils.d.ts +1 -0
  38. package/dist/elements/fields/RatingField/tests/test-utils.d.ts.map +1 -1
  39. package/dist/elements/fields/SliderField/tests/test-utils.d.ts +1 -0
  40. package/dist/elements/fields/SliderField/tests/test-utils.d.ts.map +1 -1
  41. package/dist/elements/fields/shared/tests/field-test-utils.d.ts +1 -0
  42. package/dist/elements/fields/shared/tests/field-test-utils.d.ts.map +1 -1
  43. package/dist/{fthry_FormControl.DxW_Bnm8.js → fthry_FormControl.CPHJNRoq.js} +1 -1
  44. package/dist/{fthry_InlineTooltip.CKU9xvD_.js → fthry_InlineTooltip.AGcWhuhV.js} +2 -2
  45. package/dist/{fthry_Overlay.CAkqWcqE.js → fthry_Overlay.X0blINpo.js} +1 -1
  46. package/dist/{fthry_PaymentMethodField.DgbAXbj6.js → fthry_PaymentMethodField.DrAgJBPV.js} +4 -4
  47. package/dist/{fthry_Placeholder.Dns0M5df.js → fthry_Placeholder.DLtEoCLC.js} +1 -1
  48. package/dist/{fthry_ShowEyeIcon.B5WMynZy.js → fthry_ShowEyeIcon.CkEvtp1W.js} +1 -1
  49. package/dist/{fthry_index.Di1aadud.js → fthry_index.BFrZ_89I.js} +1 -1
  50. package/dist/{fthry_index.CcFhx1jU.js → fthry_index.BVM6mIvX.js} +4 -4
  51. package/dist/{fthry_index.D19e9CJD.js → fthry_index.B_soCJRW.js} +1 -1
  52. package/dist/{fthry_index.DfiZRBo4.js → fthry_index.BrWMLV_p.js} +4 -4
  53. package/dist/{fthry_index.CxRelutP.js → fthry_index.CFbW8L20.js} +1 -1
  54. package/dist/{fthry_index.DQB3aI2u.js → fthry_index.CWt9W3bv.js} +3 -3
  55. package/dist/{fthry_index.B2eJWMcW.js → fthry_index.Cfk_0HTE.js} +5 -5
  56. package/dist/{fthry_index.CJrl9QNZ.js → fthry_index.CjUraQwq.js} +1 -1
  57. package/dist/{fthry_index.CcNVqQ7R.js → fthry_index.D99W7p5a.js} +8 -8
  58. package/dist/{fthry_index.3X-DqTfs.js → fthry_index.DAGDZi5r.js} +6 -6
  59. package/dist/{fthry_index.DpFG-lbP.js → fthry_index.DV1PqB3d.js} +1 -1
  60. package/dist/{fthry_index.D6UpFxPB.js → fthry_index.DWyfWu2d.js} +1 -1
  61. package/dist/{fthry_index.BQObFcP7.js → fthry_index.DaFYDmA_.js} +6 -6
  62. package/dist/{fthry_index.BMqtYXlU.js → fthry_index.DghPMqyH.js} +5 -5
  63. package/dist/{fthry_index.ghZ0mkQF.js → fthry_index.DodXvrXD.js} +6 -6
  64. package/dist/{fthry_index.DD4M0PFc.js → fthry_index.DohTu1v2.js} +2 -2
  65. package/dist/{fthry_index.diObxaBS.js → fthry_index.F6BXSHA5.js} +174 -53
  66. package/dist/{fthry_index.DaJO430v.js → fthry_index.KRksei8j.js} +2 -2
  67. package/dist/{fthry_index.BOBND5Kw.js → fthry_index.dYsdCe_k.js} +4 -4
  68. package/dist/{fthry_index.CnVdemA5.js → fthry_index.lC0Xyh-d.js} +1 -1
  69. package/dist/{fthry_index.DMgGgKWy.js → fthry_index.mE9gZkgT.js} +5 -5
  70. package/dist/{fthry_index.BOzMcNbx.js → fthry_index.rtVAtURz.js} +3 -3
  71. package/dist/{fthry_index.DsECQjJb.js → fthry_index.uvWVc7KJ.js} +5 -5
  72. package/dist/{fthry_input.COhHyroj.js → fthry_input.Bfzc5hmV.js} +1 -1
  73. package/dist/{fthry_script.D9CLkYzO.js → fthry_script.cAr9Z1Ke.js} +1 -1
  74. package/dist/{fthry_styles.Bcy5cq6p.js → fthry_styles.yVoSvBEy.js} +1 -1
  75. package/dist/{fthry_useElementSize.boD8p4bk.js → fthry_useElementSize.D3n9DgQ-.js} +1 -1
  76. package/dist/{fthry_useSalesforceSync.BNvWxPzE.js → fthry_useSalesforceSync.prWuB8V7.js} +1 -1
  77. package/dist/{fthry_webfontloader.DEj1XG0u.js → fthry_webfontloader.DyMoLGZ3.js} +1 -1
  78. package/dist/index.js +1 -1
  79. package/dist/utils/init.d.ts.map +1 -1
  80. package/package.json +2 -1
  81. package/umd/index.js +1 -1
  82. package/dist/Form/components/AIExtractionToast/ExtractionItem.d.ts.map +0 -1
  83. package/dist/Form/components/AIExtractionToast/icons.d.ts.map +0 -1
  84. package/dist/Form/components/AIExtractionToast/index.d.ts +0 -9
  85. package/dist/Form/components/AIExtractionToast/index.d.ts.map +0 -1
  86. package/dist/Form/components/AIExtractionToast/useAIExtractionToast.d.ts.map +0 -1
  87. /package/dist/Form/components/{AIExtractionToast → ActionToast}/icons.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.diObxaBS.js';
1
+ import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.F6BXSHA5.js';
2
2
  import { useRef, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.DxW_Bnm8.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DpFG-lbP.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.CKU9xvD_.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.BNvWxPzE.js';
3
+ import { F as FormControl } from './fthry_FormControl.CPHJNRoq.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DV1PqB3d.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.prWuB8V7.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'stream';
@@ -11,7 +11,7 @@ import 'events';
11
11
  import 'buffer';
12
12
  import 'util';
13
13
  import 'react-dom';
14
- import './fthry_Overlay.CAkqWcqE.js';
14
+ import './fthry_Overlay.X0blINpo.js';
15
15
 
16
16
  var applyCheckboxGroupStyles = function (element, responsiveStyles) {
17
17
  responsiveStyles.addTargets('checkboxGroup');
@@ -1,4 +1,4 @@
1
- import { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.diObxaBS.js';
1
+ import { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.F6BXSHA5.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  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.diObxaBS.js';
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.F6BXSHA5.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,19 +1,19 @@
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.diObxaBS.js';
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.F6BXSHA5.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.Dns0M5df.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.CKU9xvD_.js';
4
+ import { P as Placeholder } from './fthry_Placeholder.DLtEoCLC.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.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.COhHyroj.js';
9
+ import { I as IMask, a as IMaskInput } from './fthry_input.Bfzc5hmV.js';
10
10
  import 'react-dom/client';
11
11
  import 'stream';
12
12
  import 'events';
13
13
  import 'buffer';
14
14
  import 'util';
15
- import './fthry_Overlay.CAkqWcqE.js';
16
- import './fthry_index.D19e9CJD.js';
15
+ import './fthry_Overlay.X0blINpo.js';
16
+ import './fthry_index.B_soCJRW.js';
17
17
 
18
18
  var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
19
19
  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.diObxaBS.js';
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.F6BXSHA5.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.CKU9xvD_.js';
5
- import { P as Placeholder$2 } from './fthry_Placeholder.Dns0M5df.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.BNvWxPzE.js';
7
- import { T as Tooltip, O as Overlay } from './fthry_Overlay.CAkqWcqE.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.js';
5
+ import { P as Placeholder$2 } from './fthry_Placeholder.DLtEoCLC.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.prWuB8V7.js';
7
+ import { T as Tooltip, O as Overlay } from './fthry_Overlay.X0blINpo.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 __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.diObxaBS.js';
1
+ import { _ as __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.F6BXSHA5.js';
2
2
  import { useRef, useState, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.DxW_Bnm8.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DpFG-lbP.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.CKU9xvD_.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.BNvWxPzE.js';
3
+ import { F as FormControl } from './fthry_FormControl.CPHJNRoq.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DV1PqB3d.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.prWuB8V7.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'stream';
@@ -11,7 +11,7 @@ import 'events';
11
11
  import 'buffer';
12
12
  import 'util';
13
13
  import 'react-dom';
14
- import './fthry_Overlay.CAkqWcqE.js';
14
+ import './fthry_Overlay.X0blINpo.js';
15
15
 
16
16
  var applyRadioGroupStyles = function (element, responsiveStyles) {
17
17
  responsiveStyles.addTargets('radioGroup');
@@ -1,6 +1,6 @@
1
- import { _ as __read, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard } from './fthry_index.diObxaBS.js';
1
+ import { _ as __read, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard } from './fthry_index.F6BXSHA5.js';
2
2
  import { useState, useEffect } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.Bcy5cq6p.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.yVoSvBEy.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'stream';
@@ -51198,7 +51198,14 @@ var StatusIcon = function (_a) {
51198
51198
  };
51199
51199
 
51200
51200
  var INDENT_PX = 24;
51201
- function ExtractionItem(_a) {
51201
+ // Default labels for different toast types
51202
+ var DEFAULT_LABELS = {
51203
+ queued: 'Queued Document',
51204
+ incomplete: 'Uploading Document',
51205
+ complete: 'Completed',
51206
+ error: 'Failed'
51207
+ };
51208
+ function ToastItem(_a) {
51202
51209
  var _b;
51203
51210
  var item = _a.item, _c = _a.level, level = _c === void 0 ? 0 : _c;
51204
51211
  var _d = __read(useState(true), 2), isExpanded = _d[0], setIsExpanded = _d[1];
@@ -51226,17 +51233,18 @@ function ExtractionItem(_a) {
51226
51233
  display: 'flex',
51227
51234
  alignItems: 'center',
51228
51235
  gap: '8px'
51229
- } }, { children: hasChildren && (isExpanded ? jsx$1(ChevronUp, {}) : jsx$1(ChevronDown, {})) }))] })), hasChildren && isExpanded && (jsx$1("div", __assign({ css: { width: '100%' } }, { children: (_b = item.children) === null || _b === void 0 ? void 0 : _b.map(function (child, index) { return (jsx$1(ExtractionItem, { item: child, level: level + 1 }, index)); }) })))] })));
51236
+ } }, { children: hasChildren && (isExpanded ? jsx$1(ChevronUp, {}) : jsx$1(ChevronDown, {})) }))] })), hasChildren && isExpanded && (jsx$1("div", __assign({ css: { width: '100%' } }, { children: (_b = item.children) === null || _b === void 0 ? void 0 : _b.map(function (child, index) { return (jsx$1(ToastItem, { item: child, level: level + 1 }, index)); }) })))] })));
51230
51237
  }
51231
51238
  var renderItemLabel = function (item) {
51239
+ var _a;
51232
51240
  // fallback labels if no run data yet
51233
51241
  if (!item.extractionKey) {
51234
- var label = {
51235
- complete: 'Completed',
51236
- error: 'Failed',
51237
- queued: 'Queued Document',
51238
- incomplete: 'Uploading Document'
51239
- }[item.status] || 'Action';
51242
+ var docCount = ((_a = item.documents) === null || _a === void 0 ? void 0 : _a.length) || 0;
51243
+ var docCountText = docCount > 1 ? " (".concat(docCount, ")") : '';
51244
+ // Use custom labels if provided, otherwise use defaults
51245
+ var labels = item.labels || DEFAULT_LABELS;
51246
+ var baseLabel = labels[item.status] || DEFAULT_LABELS[item.status] || 'Action';
51247
+ var label = "".concat(baseLabel).concat(docCountText);
51240
51248
  return (jsx$1("span", __assign({ css: { color: item.status === 'queued' ? '#9ca3af' : '#374151' } }, { children: label })));
51241
51249
  }
51242
51250
  var fileSourcesText = getFileSourcesText(item.fileSources);
@@ -51255,9 +51263,25 @@ var getFileName = function (fileUrl) {
51255
51263
  return fileUrl.substring(lastSlashIndex + 1);
51256
51264
  };
51257
51265
 
51258
- var ExtractionToast = function (_a) {
51259
- var data = _a.data, _b = _a.title, title = _b === void 0 ? 'Scanning Documents' : _b, _c = _a.bottom, bottom = _c === void 0 ? 20 : _c;
51260
- var _d = __read(useState(true), 2), isToastExpanded = _d[0], setIsToastExpanded = _d[1];
51266
+ var getTitle = function (data) {
51267
+ var hasAIExtraction = data.some(function (item) { return item.type === 'ai-extraction'; });
51268
+ var hasEnvelopes = data.some(function (item) { return item.type === 'envelope-generation'; });
51269
+ var totalDocs = data
51270
+ .filter(function (item) { return item.type === 'envelope-generation'; })
51271
+ .reduce(function (sum, item) { var _a; return sum + (((_a = item.documents) === null || _a === void 0 ? void 0 : _a.length) || 0); }, 0);
51272
+ if (hasAIExtraction && hasEnvelopes) {
51273
+ return 'Processing Documents';
51274
+ }
51275
+ if (hasEnvelopes) {
51276
+ return totalDocs > 1 ? 'Preparing Documents' : 'Preparing Document';
51277
+ }
51278
+ return 'Scanning Documents';
51279
+ };
51280
+ var ActionToast = function (_a) {
51281
+ var data = _a.data, _b = _a.bottom, bottom = _b === void 0 ? 20 : _b;
51282
+ var _c = __read(useState(true), 2), isToastExpanded = _c[0], setIsToastExpanded = _c[1];
51283
+ if (data.length === 0)
51284
+ return null;
51261
51285
  return (jsxs("div", __assign({ css: {
51262
51286
  position: 'fixed',
51263
51287
  bottom: "".concat(bottom, "px"),
@@ -51285,18 +51309,25 @@ var ExtractionToast = function (_a) {
51285
51309
  color: '#111827',
51286
51310
  margin: 0,
51287
51311
  fontSize: '16px'
51288
- } }, { children: title })), isToastExpanded ? jsx$1(ChevronUp, {}) : jsx$1(ChevronDown, {})] })), isToastExpanded && (jsx$1("div", __assign({ css: {
51312
+ } }, { children: getTitle(data) })), isToastExpanded ? jsx$1(ChevronUp, {}) : jsx$1(ChevronDown, {})] })), isToastExpanded && (jsx$1("div", __assign({ css: {
51289
51313
  maxHeight: '384px',
51290
51314
  overflowY: 'auto'
51291
- } }, { children: data.map(function (item, index) { return (jsx$1(ExtractionItem, { item: item }, index)); }) })))] })));
51315
+ } }, { children: data.map(function (item, index) { return (jsx$1(ToastItem, { item: item }, index)); }) })))] })));
51292
51316
  };
51293
51317
 
51294
51318
  // Type guard function
51295
51319
  function isAIExtractionAction(action) {
51296
51320
  return action.type === ACTION_AI_EXTRACTION;
51297
51321
  }
51298
- var COMPLETED_TOAST_DURATION_MS = 3200;
51299
- var isFinished = function (item) {
51322
+ // Labels for AI extraction
51323
+ var AI_EXTRACTION_LABELS = {
51324
+ queued: 'Queued Document',
51325
+ incomplete: 'Uploading Document',
51326
+ complete: 'Completed',
51327
+ error: 'Failed'
51328
+ };
51329
+ var COMPLETED_TOAST_DURATION_MS$1 = 3200;
51330
+ var isFinished$1 = function (item) {
51300
51331
  return !(item.status === 'queued' || item.status === 'incomplete');
51301
51332
  };
51302
51333
  var emptyItems = function (item) {
@@ -51310,15 +51341,15 @@ var useAIExtractionToast = function () {
51310
51341
  // automatically clear toast after all extractions are finished
51311
51342
  useEffect(function () {
51312
51343
  if (currentActionExtractions.length) {
51313
- if (currentActionExtractions.every(isFinished)) {
51344
+ if (currentActionExtractions.every(isFinished$1)) {
51314
51345
  var timeoutId_1 = setTimeout(function () {
51315
51346
  setCurrentActionExtractions(function (prev) {
51316
- if (prev.every(isFinished)) {
51347
+ if (prev.every(isFinished$1)) {
51317
51348
  return [];
51318
51349
  }
51319
51350
  return prev;
51320
51351
  });
51321
- }, COMPLETED_TOAST_DURATION_MS);
51352
+ }, COMPLETED_TOAST_DURATION_MS$1);
51322
51353
  return function () { return clearTimeout(timeoutId_1); };
51323
51354
  }
51324
51355
  }
@@ -51333,7 +51364,9 @@ var useAIExtractionToast = function () {
51333
51364
  id: action.extraction_id,
51334
51365
  variantId: action.variant_id || '',
51335
51366
  status: 'queued',
51336
- children: []
51367
+ type: 'ai-extraction',
51368
+ children: [],
51369
+ labels: AI_EXTRACTION_LABELS
51337
51370
  });
51338
51371
  }
51339
51372
  }
@@ -51476,6 +51509,81 @@ var useAIExtractionToast = function () {
51476
51509
  };
51477
51510
  };
51478
51511
 
51512
+ // Type guard function
51513
+ function isEnvelopeGenerationAction(action) {
51514
+ return action.type === ACTION_GENERATE_ENVELOPES;
51515
+ }
51516
+ // Labels for envelope generation
51517
+ var ENVELOPE_LABELS = {
51518
+ queued: 'Queued Document',
51519
+ incomplete: 'Generating Document',
51520
+ complete: 'Completed',
51521
+ error: 'Failed'
51522
+ };
51523
+ var COMPLETED_TOAST_DURATION_MS = 3200;
51524
+ var isFinished = function (item) {
51525
+ return !(item.status === 'queued' || item.status === 'incomplete');
51526
+ };
51527
+ var useEnvelopeGenerationToast = function () {
51528
+ var _a = __read(useState([]), 2), currentEnvelopeGeneration = _a[0], setCurrentEnvelopeGeneration = _a[1];
51529
+ // automatically clear toast after all envelope generations are finished
51530
+ useEffect(function () {
51531
+ if (currentEnvelopeGeneration.length) {
51532
+ var allFinished = currentEnvelopeGeneration.every(isFinished);
51533
+ if (allFinished) {
51534
+ var timeoutId_1 = setTimeout(function () {
51535
+ setCurrentEnvelopeGeneration(function (prev) {
51536
+ if (prev.every(isFinished)) {
51537
+ return [];
51538
+ }
51539
+ return prev;
51540
+ });
51541
+ }, COMPLETED_TOAST_DURATION_MS);
51542
+ return function () { return clearTimeout(timeoutId_1); };
51543
+ }
51544
+ }
51545
+ }, [currentEnvelopeGeneration]);
51546
+ // take a set of actions and create toast data
51547
+ var initializeEnvelopeGeneration = useCallback(function (actions) {
51548
+ var envelopes = [];
51549
+ for (var i = 0; i < actions.length; i++) {
51550
+ var action = actions[i];
51551
+ if (isEnvelopeGenerationAction(action)) {
51552
+ envelopes.push({
51553
+ id: "envelope-".concat(i),
51554
+ variantId: '',
51555
+ documents: action.documents,
51556
+ status: 'queued',
51557
+ type: 'envelope-generation',
51558
+ labels: ENVELOPE_LABELS
51559
+ });
51560
+ }
51561
+ }
51562
+ setCurrentEnvelopeGeneration(envelopes);
51563
+ }, []);
51564
+ // update envelope generation status
51565
+ var updateEnvelopeGeneration = useCallback(function (id, updates) {
51566
+ setCurrentEnvelopeGeneration(function (prev) {
51567
+ var updated = prev.map(function (envelope) {
51568
+ if (envelope.id === id) {
51569
+ return __assign(__assign({}, envelope), updates);
51570
+ }
51571
+ return envelope;
51572
+ });
51573
+ return updated;
51574
+ });
51575
+ }, []);
51576
+ var clearEnvelopeGeneration = useCallback(function () {
51577
+ setCurrentEnvelopeGeneration([]);
51578
+ }, []);
51579
+ return {
51580
+ currentEnvelopeGeneration: currentEnvelopeGeneration,
51581
+ initializeEnvelopeGeneration: initializeEnvelopeGeneration,
51582
+ updateEnvelopeGeneration: updateEnvelopeGeneration,
51583
+ clearEnvelopeGeneration: clearEnvelopeGeneration
51584
+ };
51585
+ };
51586
+
51479
51587
  function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
51480
51588
  useEffect(function () {
51481
51589
  if (isInteractionDetected())
@@ -51709,6 +51817,7 @@ function Form(_a) {
51709
51817
  });
51710
51818
  }, [setLoaders]);
51711
51819
  var _30 = useAIExtractionToast(), currentActionExtractions = _30.currentActionExtractions, initializeActionExtractions = _30.initializeActionExtractions, updateExtractionInAction = _30.updateExtractionInAction, handleExtractionStatusUpdate = _30.handleExtractionStatusUpdate;
51820
+ var _31 = useEnvelopeGenerationToast(), currentEnvelopeGeneration = _31.currentEnvelopeGeneration, initializeEnvelopeGeneration = _31.initializeEnvelopeGeneration, updateEnvelopeGeneration = _31.updateEnvelopeGeneration;
51712
51821
  // Tracks element to focus
51713
51822
  var focusRef = useRef(undefined);
51714
51823
  // Tracks the execution of user-provided callback functions
@@ -51783,7 +51892,7 @@ function Form(_a) {
51783
51892
  setRequiredStepAction(requiredStepAction);
51784
51893
  }, [activeStep === null || activeStep === void 0 ? void 0 : activeStep.id]);
51785
51894
  // viewElements state
51786
- var _31 = __read(useState([]), 2), viewElements = _31[0], setViewElements = _31[1];
51895
+ var _32 = __read(useState([]), 2), viewElements = _32[0], setViewElements = _32[1];
51787
51896
  useEffect(function () {
51788
51897
  setViewElements(onViewElements);
51789
51898
  }, [onViewElements.length]);
@@ -51927,7 +52036,7 @@ function Form(_a) {
51927
52036
  return true;
51928
52037
  };
51929
52038
  // For audio AI only right now
51930
- var _32 = __read(useState(_pollFuserData), 2), pollFuserData = _32[0], setPollFuserData = _32[1];
52039
+ var _33 = __read(useState(_pollFuserData), 2), pollFuserData = _33[0], setPollFuserData = _33[1];
51931
52040
  usePollFuserData(pollFuserData, client, updateFieldValues);
51932
52041
  var eventCallbackMap = {
51933
52042
  change: onChange,
@@ -52654,7 +52763,7 @@ function Form(_a) {
52654
52763
  });
52655
52764
  }); };
52656
52765
  // usePayments (Stripe)
52657
- var _33 = __read(usePayments(), 2), getCardElement = _33[0], setCardElement = _33[1];
52766
+ var _34 = __read(usePayments(), 2), getCardElement = _34[0], setCardElement = _34[1];
52658
52767
  function setupStepPaymentMethod(formattedFields) {
52659
52768
  return __awaiter$2(this, void 0, void 0, function () {
52660
52769
  var i, field, integrationData, actionData, actionResult;
@@ -52987,7 +53096,7 @@ function Form(_a) {
52987
53096
  }
52988
53097
  return state;
52989
53098
  };
52990
- var _34 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _34.isButtonActionRunning, updateButtonActionState = _34.updateButtonActionState, clearButtonActionState = _34.clearButtonActionState, setUserLogicRunning = _34.setUserLogicRunning;
53099
+ var _35 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _35.isButtonActionRunning, updateButtonActionState = _35.updateButtonActionState, clearButtonActionState = _35.clearButtonActionState, setUserLogicRunning = _35.setUserLogicRunning;
52991
53100
  var buttonOnClick = function (button) { return __awaiter$2(_this, void 0, void 0, function () {
52992
53101
  var setButtonError, invalid, running, e_5;
52993
53102
  var _a;
@@ -53066,7 +53175,7 @@ function Form(_a) {
53066
53175
  var runElementActions = function (_a) {
53067
53176
  var actions = _a.actions, element = _a.element, elementType = _a.elementType, _b = _a.submit, submit = _b === void 0 ? false : _b, _c = _a.setElementError, setElementError = _c === void 0 ? function () { } : _c, _d = _a.onAsyncEnd, onAsyncEnd = _d === void 0 ? function () { } : _d, textSpanStart = _a.textSpanStart, textSpanEnd = _a.textSpanEnd;
53068
53177
  return __awaiter$2(_this, void 0, void 0, function () {
53069
- var id, metadata, trigger, submitPromise, pendingFileKeys, invalid, hasNext, submissionResult, error_3, _e, stepPromise, flowOnSuccess, actionTypes, runAction, i, hasExtractions, _loop_1, state_1;
53178
+ var id, metadata, trigger, submitPromise, pendingFileKeys, invalid, hasNext, submissionResult, error_3, _e, stepPromise, flowOnSuccess, actionTypes, runAction, i, hasExtractions, hasEnvelopeGeneration, _loop_1, state_1;
53070
53179
  var _this = this;
53071
53180
  var _f, _g, _h, _j, _k;
53072
53181
  return __generator(this, function (_l) {
@@ -53218,8 +53327,12 @@ function Form(_a) {
53218
53327
  if (hasExtractions) {
53219
53328
  initializeActionExtractions(actions);
53220
53329
  }
53330
+ hasEnvelopeGeneration = actions.some(function (action) { return action.type === ACTION_GENERATE_ENVELOPES; });
53331
+ if (hasEnvelopeGeneration) {
53332
+ initializeEnvelopeGeneration(actions);
53333
+ }
53221
53334
  _loop_1 = function () {
53222
- var action, type, container, container, personaMeta, url, eventData, phoneNum, e_6, phoneNum, e_7, emailAddress, e_8, pinKey, pin, params, hasErr_1, prom, email, e_9, auth, loginStep, actionSuccess, val, valid, val, invitees, res, collabKey, newVals, e_10, e_11, extractions, _loop_2, state_2, data, errorEntry, e_12, data, envAction, url, eventData, files, newValues, e_13, payload, e_14, key_1, val, servar_1, hiddenFieldType, destVal, setToDefaultValue, curIndex, defaultVal, i_1, newValues, phoneNum, silentVeriResult, key, newValues, e_15, phoneNum, phoneType, key, newValues, e_16, phoneNum, e_17, pinKey, pin, pinMatch, e_18;
53335
+ var action, type, container, container, personaMeta, url, eventData, phoneNum, e_6, phoneNum, e_7, emailAddress, e_8, pinKey, pin, params, hasErr_1, prom, email, e_9, auth, loginStep, actionSuccess, val, valid, val, invitees, res, collabKey, newVals, e_10, e_11, extractions, _loop_2, state_2, data, errorEntry, e_12, envelopeId, data, envAction, url, eventData, files, newValues, e_13, payload, e_14, key_1, val, servar_1, hiddenFieldType, destVal, setToDefaultValue, curIndex, defaultVal, i_1, newValues, phoneNum, silentVeriResult, key, newValues, e_15, phoneNum, phoneType, key, newValues, e_16, phoneNum, e_17, pinKey, pin, pinMatch, e_18;
53223
53336
  var _m, _o, _p, _q, _r, _s, _t;
53224
53337
  return __generator(this, function (_u) {
53225
53338
  switch (_u.label) {
@@ -53608,6 +53721,8 @@ function Form(_a) {
53608
53721
  case 89: return [3 /*break*/, 139];
53609
53722
  case 90:
53610
53723
  if (!(type === ACTION_GENERATE_ENVELOPES)) return [3 /*break*/, 103];
53724
+ envelopeId = "envelope-".concat(i);
53725
+ updateEnvelopeGeneration(envelopeId, { status: 'incomplete' });
53611
53726
  return [4 /*yield*/, Promise.all([submitPromise, client.flushCustomFields()])];
53612
53727
  case 91:
53613
53728
  _u.sent();
@@ -53618,9 +53733,11 @@ function Form(_a) {
53618
53733
  case 93:
53619
53734
  data = _u.sent();
53620
53735
  if (data.status === 'error') {
53736
+ updateEnvelopeGeneration(envelopeId, { status: 'error' });
53621
53737
  setElementError(data.message);
53622
53738
  return [2 /*return*/, "break"];
53623
53739
  }
53740
+ updateEnvelopeGeneration(envelopeId, { status: 'complete' });
53624
53741
  envAction = action.envelope_action;
53625
53742
  if (!!envAction) return [3 /*break*/, 97];
53626
53743
  url = getSignUrl(action.redirect);
@@ -53661,6 +53778,7 @@ function Form(_a) {
53661
53778
  case 100: return [3 /*break*/, 102];
53662
53779
  case 101:
53663
53780
  e_13 = _u.sent();
53781
+ updateEnvelopeGeneration(envelopeId, { status: 'error' });
53664
53782
  setElementError(e_13.message);
53665
53783
  return [2 /*return*/, "break"];
53666
53784
  case 102: return [3 /*break*/, 139];
@@ -54011,12 +54129,10 @@ function Form(_a) {
54011
54129
  navigate(getNewStepUrl(stepKey));
54012
54130
  else
54013
54131
  setStepKey(stepKey);
54014
- }, 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 }), currentActionExtractions.length > 0 && (jsx$1(ExtractionToast, { data: currentActionExtractions,
54015
- // adjust position if brand watermark is in bottom right
54016
- bottom: formSettings.showBrand &&
54132
+ }, 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, { data: __spreadArray(__spreadArray([], __read(currentActionExtractions), false), __read(currentEnvelopeGeneration), false), bottom: formSettings.showBrand &&
54017
54133
  formSettings.brandPosition === 'bottom_right'
54018
54134
  ? 67
54019
- : 20 }))] })) })));
54135
+ : 20 })] })) })));
54020
54136
  }
54021
54137
  // normal <Form /> (aka ReactForm) component is exported with just `props:
54022
54138
  // Props`, so need this component to support exposing _internalId for use in
@@ -58097,6 +58213,7 @@ function init(sdkKey, options) {
58097
58213
  }
58098
58214
  if (initState.initialized)
58099
58215
  return Promise.resolve((_a = initState.userId) !== null && _a !== void 0 ? _a : ''); // can only be initialized one time per load
58216
+ logFeatheryBadge();
58100
58217
  initState.initialized = true;
58101
58218
  initState.sdkKey = sdkKey;
58102
58219
  if (options._enterpriseRegion)
@@ -58124,9 +58241,9 @@ function init(sdkKey, options) {
58124
58241
  if (runningInClient()) {
58125
58242
  // Dynamically load libraries that must be client side
58126
58243
  global.scriptjsLoadPromise = import(
58127
- /* webpackChunkName: "scriptjs" */ './fthry_script.D9CLkYzO.js').then(function (n) { return n.s; });
58244
+ /* webpackChunkName: "scriptjs" */ './fthry_script.cAr9Z1Ke.js').then(function (n) { return n.s; });
58128
58245
  global.webfontloaderPromise = import(
58129
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DEj1XG0u.js').then(function (n) { return n.w; });
58246
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DyMoLGZ3.js').then(function (n) { return n.w; });
58130
58247
  // Client-side tracking logic
58131
58248
  if (initState.userTracking === 'cookie') {
58132
58249
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -58270,6 +58387,10 @@ function setFieldValues(userVals, rerender, skipServerSubmit) {
58270
58387
  function getFieldValues() {
58271
58388
  // Make a copy so users can't set fieldValues directly
58272
58389
  return __assign({}, fieldValues);
58390
+ }
58391
+ function logFeatheryBadge() {
58392
+ console.log('%c Feathery %c v' + "2.8.0" + ' ', // replaced with real version during build
58393
+ '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;');
58273
58394
  }
58274
58395
 
58275
58396
  function isStoreFieldValueAction(el) {
@@ -59740,39 +59861,39 @@ breakpoint) {
59740
59861
  return styles.getTarget('inner-container', undefined, viewport === 'mobile');
59741
59862
  };
59742
59863
 
59743
- var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.DsECQjJb.js'); });
59744
- var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.CcFhx1jU.js'); });
59745
- var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DpFG-lbP.js'); });
59864
+ var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.uvWVc7KJ.js'); });
59865
+ var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BVM6mIvX.js'); });
59866
+ var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DV1PqB3d.js'); });
59746
59867
  var CheckboxGroupField = lazy(function () {
59747
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.3X-DqTfs.js');
59868
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.DAGDZi5r.js');
59748
59869
  });
59749
- var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CnVdemA5.js'); });
59750
- var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.D6UpFxPB.js'); });
59870
+ var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.lC0Xyh-d.js'); });
59871
+ var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.DWyfWu2d.js'); });
59751
59872
  var DateSelectorField = lazy(function () {
59752
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.BQObFcP7.js');
59873
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DaFYDmA_.js');
59753
59874
  });
59754
- var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BOBND5Kw.js'); });
59875
+ var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.dYsdCe_k.js'); });
59755
59876
  var DropdownMultiField = lazy(function () {
59756
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BMqtYXlU.js');
59877
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DghPMqyH.js');
59757
59878
  });
59758
- var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Di1aadud.js'); });
59759
- var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DQB3aI2u.js'); });
59760
- var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DMgGgKWy.js'); });
59879
+ var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BFrZ_89I.js'); });
59880
+ var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CWt9W3bv.js'); });
59881
+ var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.mE9gZkgT.js'); });
59761
59882
  var PaymentMethodField = lazy(function () {
59762
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DgbAXbj6.js');
59883
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DrAgJBPV.js');
59763
59884
  });
59764
- var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.B2eJWMcW.js'); });
59765
- var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.CJrl9QNZ.js'); });
59766
- var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DaJO430v.js'); });
59885
+ var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.Cfk_0HTE.js'); });
59886
+ var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.CjUraQwq.js'); });
59887
+ var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.KRksei8j.js'); });
59767
59888
  var RadioButtonGroupField = lazy(function () {
59768
59889
  return import(
59769
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.ghZ0mkQF.js');
59890
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DodXvrXD.js');
59770
59891
  });
59771
- var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.CxRelutP.js'); });
59772
- var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BOzMcNbx.js'); });
59773
- var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.DD4M0PFc.js'); });
59774
- var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.CcNVqQ7R.js'); });
59775
- var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DfiZRBo4.js'); });
59892
+ var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.CFbW8L20.js'); });
59893
+ var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.rtVAtURz.js'); });
59894
+ var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.DohTu1v2.js'); });
59895
+ var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.D99W7p5a.js'); });
59896
+ var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.BrWMLV_p.js'); });
59776
59897
  var Fields = {
59777
59898
  AddressLine1: AddressLine1,
59778
59899
  ButtonGroupField: ButtonGroupField,
@@ -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.diObxaBS.js';
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.F6BXSHA5.js';
2
2
  import React__default, { useEffect, useCallback } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.Bcy5cq6p.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.yVoSvBEy.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'stream';
@@ -1,7 +1,7 @@
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.diObxaBS.js';
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.F6BXSHA5.js';
2
2
  import { useState, useRef, useEffect } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.CKU9xvD_.js';
4
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.BNvWxPzE.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.js';
4
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.prWuB8V7.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'stream';
@@ -9,7 +9,7 @@ import 'events';
9
9
  import 'buffer';
10
10
  import 'util';
11
11
  import 'react-dom';
12
- import './fthry_Overlay.CAkqWcqE.js';
12
+ import './fthry_Overlay.X0blINpo.js';
13
13
 
14
14
  var ae = [
15
15
  { name: 'Abu Dhabi', code: 'AZ' },
@@ -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.diObxaBS.js';
1
+ import { _ as __read, j as jsxs$1, a as __assign, b as jsx$1, k as FORM_Z_INDEX } from './fthry_index.F6BXSHA5.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,8 +1,8 @@
1
- import { u as useBorder, _ as __read, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles } from './fthry_index.diObxaBS.js';
1
+ import { u as useBorder, _ as __read, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles } from './fthry_index.F6BXSHA5.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.Dns0M5df.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.CKU9xvD_.js';
5
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.B5WMynZy.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.DLtEoCLC.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.AGcWhuhV.js';
5
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.CkEvtp1W.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'react-dom/client';
8
8
  import 'stream';
@@ -10,7 +10,7 @@ import 'events';
10
10
  import 'buffer';
11
11
  import 'util';
12
12
  import 'react-dom';
13
- import './fthry_Overlay.CAkqWcqE.js';
13
+ import './fthry_Overlay.X0blINpo.js';
14
14
 
15
15
  function PasswordField(_a) {
16
16
  var _b;
@@ -1,6 +1,6 @@
1
- import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.diObxaBS.js';
1
+ import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.F6BXSHA5.js';
2
2
  import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
3
- import { P as PropTypes } from './fthry_index.D19e9CJD.js';
3
+ import { P as PropTypes } from './fthry_index.B_soCJRW.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'stream';
@@ -1436,7 +1436,7 @@ function SignatureField(_a) {
1436
1436
  useEffect(function () {
1437
1437
  if (!global.webfontloaderPromise)
1438
1438
  global.webfontloaderPromise = import(
1439
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DEj1XG0u.js').then(function (n) { return n.w; });
1439
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DyMoLGZ3.js').then(function (n) { return n.w; });
1440
1440
  global.webfontloaderPromise.then(function (WebFont) {
1441
1441
  WebFont.load({ google: { families: ['La Belle Aurore'] } });
1442
1442
  });