@feathery/react 2.35.0 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/grid/index.d.ts.map +1 -1
- package/cjs/assistant/index.d.ts.map +1 -1
- package/cjs/assistant/utils.d.ts +1 -1
- package/cjs/assistant/utils.d.ts.map +1 -1
- package/cjs/elements/components/QuikFormViewer.d.ts +3 -1
- package/cjs/elements/components/QuikFormViewer.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.DYyXdorp.js → fthry_FormControl.BejoLXqj.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DJW9q8yc.js → fthry_InlineTooltip.ChOiSf_x.js} +2 -2
- package/cjs/{fthry_Overlay.DQMUNiKh.js → fthry_Overlay.ob3P7hAH.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.D0Sl-Yi2.js → fthry_PaymentMethodField.rP6AXiNG.js} +4 -4
- package/cjs/{fthry_Placeholder.CK4GJYMq.js → fthry_Placeholder.6TtVa6f9.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.C5TR_ZMk.js → fthry_ShowEyeIcon.84UlVNeO.js} +1 -1
- package/cjs/{fthry_index.BITkIk9g.js → fthry_index.B-54IwG9.js} +1 -1
- package/cjs/{fthry_index.CZ5gLAUz.js → fthry_index.B1FiBFWy.js} +5 -5
- package/cjs/{fthry_index.f4LFnI-I.js → fthry_index.BRwVE1nS.js} +2 -2
- package/cjs/{fthry_index.BEShWMn1.js → fthry_index.C074CgQK.js} +4 -4
- package/cjs/{fthry_index.DhpM59dr.js → fthry_index.C2YpZn-4.js} +3 -3
- package/cjs/{fthry_index.BgZPlLpa.js → fthry_index.CJqoH8wf.js} +68 -46
- package/cjs/{fthry_index.DWNkP7Q0.js → fthry_index.CL6j2kGG.js} +1 -1
- package/cjs/{fthry_index.C7XtnoZ0.js → fthry_index.CPAYpNEp.js} +6 -6
- package/cjs/{fthry_index.DubHvu99.js → fthry_index.CQdO6zrv.js} +6 -6
- package/cjs/{fthry_index.C8qJ8XJG.js → fthry_index.Calc05oH.js} +1 -1
- package/cjs/{fthry_index.B97o5FJG.js → fthry_index.CaswA5ZJ.js} +1 -1
- package/cjs/{fthry_index.RhUG_PYZ.js → fthry_index.ChOrqPYm.js} +1 -1
- package/cjs/{fthry_index.BrzRIqJB.js → fthry_index.D73wz4le.js} +1 -1
- package/cjs/{fthry_index.DSBmzbGX.js → fthry_index.DbDEsLM4.js} +1 -1
- package/cjs/{fthry_index.BReIZLGC.js → fthry_index.DgcRMNq0.js} +5 -5
- package/cjs/{fthry_index.BhbRDS22.js → fthry_index.Dy__mw3h.js} +8 -8
- package/cjs/{fthry_index.BRNhH3KH.js → fthry_index.Dz_IcB7y.js} +1 -1
- package/cjs/{fthry_index.DyIW80B4.js → fthry_index.FDBiWZD5.js} +3 -3
- package/cjs/{fthry_index.BFuLmpQE.js → fthry_index.FedLdNtQ.js} +2 -2
- package/cjs/{fthry_index.cpS_d8a5.js → fthry_index.Kct3PQMr.js} +5 -5
- package/cjs/{fthry_index.DUEvfECa.js → fthry_index.Q7GKRQ8-.js} +6 -6
- package/cjs/{fthry_index.CdsmMPjq.js → fthry_index.VzCFwrYG.js} +4 -4
- package/cjs/{fthry_index.D8a1ZHwS.js → fthry_index.rcU5w5E8.js} +5 -5
- package/cjs/{fthry_index.Bzi9eMwx.js → fthry_index.vXJnrU0L.js} +4 -4
- package/cjs/{fthry_input.CvPQeicg.js → fthry_input.DylyjA3z.js} +1 -1
- package/cjs/{fthry_script.CevMD0cu.js → fthry_script.Cumz0aIS.js} +1 -1
- package/cjs/{fthry_styles.BH_-5rh8.js → fthry_styles.B0GcdPpz.js} +1 -1
- package/cjs/{fthry_useElementSize.D0nu_j-W.js → fthry_useElementSize.CJiapUzA.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.CflG7eML.js → fthry_useSalesforceSync.D5gnjfgu.js} +1 -1
- package/cjs/{fthry_webfontloader.DKYpxN_k.js → fthry_webfontloader.CxqPj6T1.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/Form/grid/index.d.ts.map +1 -1
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/utils.d.ts +1 -1
- package/dist/assistant/utils.d.ts.map +1 -1
- package/dist/elements/components/QuikFormViewer.d.ts +3 -1
- package/dist/elements/components/QuikFormViewer.d.ts.map +1 -1
- package/dist/{fthry_FormControl.CjALlSZ2.js → fthry_FormControl.Cs-4zKJR.js} +1 -1
- package/dist/{fthry_InlineTooltip.upg-KBso.js → fthry_InlineTooltip.KI-Dlu5u.js} +2 -2
- package/dist/{fthry_Overlay.xGEDLpdw.js → fthry_Overlay.CK2j4iI8.js} +1 -1
- package/dist/{fthry_PaymentMethodField.Cu8pjqh_.js → fthry_PaymentMethodField.D_EjD-ox.js} +4 -4
- package/dist/{fthry_Placeholder.3w_NVuXb.js → fthry_Placeholder.BwLGBAbD.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.b5n4h8Sy.js → fthry_ShowEyeIcon.CaeiGxWg.js} +1 -1
- package/dist/{fthry_index.B-u97bWk.js → fthry_index.28-Mf2MD.js} +6 -6
- package/dist/{fthry_index.O2HZAdYc.js → fthry_index.4Y25vFGT.js} +5 -5
- package/dist/{fthry_index.Cm2Rk881.js → fthry_index.B6vNW1lC.js} +4 -4
- package/dist/{fthry_index.CHCBViUw.js → fthry_index.B8MeUD2k.js} +1 -1
- package/dist/{fthry_index.nu1L9p0u.js → fthry_index.BAOI2XjU.js} +2 -2
- package/dist/{fthry_index.BGsPonGk.js → fthry_index.BU65sT-q.js} +5 -5
- package/dist/{fthry_index.BZADU6DA.js → fthry_index.BaidVguP.js} +1 -1
- package/dist/{fthry_index.DKc_92iK.js → fthry_index.C53RfK2R.js} +68 -46
- package/dist/{fthry_index.-KED_Nj8.js → fthry_index.CDY5prnS.js} +6 -6
- package/dist/{fthry_index.CtYBkvZ2.js → fthry_index.CPVVI5Z7.js} +4 -4
- package/dist/{fthry_index.X2TcYkGP.js → fthry_index.ClNr0H7k.js} +5 -5
- package/dist/{fthry_index.Coe8CRqd.js → fthry_index.Cso_JM1H.js} +1 -1
- package/dist/{fthry_index.CK6wu-oa.js → fthry_index.CvcLL4B1.js} +3 -3
- package/dist/{fthry_index.Di6tugxz.js → fthry_index.DBZN-P6K.js} +6 -6
- package/dist/{fthry_index.1Bcv1j6C.js → fthry_index.DHgYfwbO.js} +1 -1
- package/dist/{fthry_index.DtfeUR76.js → fthry_index.DL4PjJ-C.js} +2 -2
- package/dist/{fthry_index.cT5iWCD1.js → fthry_index.DLzGZed3.js} +4 -4
- package/dist/{fthry_index.CziltpDR.js → fthry_index.DP3UmRWC.js} +5 -5
- package/dist/{fthry_index.D-sjEW93.js → fthry_index.Dpow_dCJ.js} +8 -8
- package/dist/{fthry_index.Bex7j_9d.js → fthry_index.Dv8vYdq3.js} +1 -1
- package/dist/{fthry_index.BJavQpnJ.js → fthry_index.HzpAt7ve.js} +3 -3
- package/dist/{fthry_index.9iGSliVM.js → fthry_index.aNevTIV5.js} +1 -1
- package/dist/{fthry_index.CrHloCPd.js → fthry_index.wWxlVXD6.js} +1 -1
- package/dist/{fthry_index.BHY6G45O.js → fthry_index.zH2AlSLL.js} +1 -1
- package/dist/{fthry_input.CxszH-gi.js → fthry_input.BS5MeeOZ.js} +1 -1
- package/dist/{fthry_script.NzQ9IyMk.js → fthry_script.DHmJQFLA.js} +1 -1
- package/dist/{fthry_styles.D_84ICYU.js → fthry_styles.Ce7VHcJq.js} +1 -1
- package/dist/{fthry_useElementSize.BCAjRPLu.js → fthry_useElementSize.B-ozbUjd.js} +1 -1
- package/dist/{fthry_useSalesforceSync.CW7ebGfV.js → fthry_useSalesforceSync.BIZlA0yA.js} +1 -1
- package/dist/{fthry_webfontloader.BxsxMk_j.js → fthry_webfontloader.DyFcchXb.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -22690,8 +22690,8 @@ function injectSidebarStyles(doc) {
|
|
|
22690
22690
|
}
|
|
22691
22691
|
|
|
22692
22692
|
function QuikFormViewer(_a) {
|
|
22693
|
-
var html = _a.html, css = _a.css, _b = _a.setShow, setShow = _b === void 0 ? function () { } : _b, inline = _a.inline, formKey = _a.formKey;
|
|
22694
|
-
var
|
|
22693
|
+
var html = _a.html, css = _a.css, _b = _a.setShow, setShow = _b === void 0 ? function () { } : _b, inline = _a.inline, formKey = _a.formKey, _c = _a.enableSubmit, enableSubmit = _c === void 0 ? false : _c, _d = _a.hideHeaderActions, hideHeaderActions = _d === void 0 ? false : _d;
|
|
22694
|
+
var _e = __read(React__default.useState(null), 2), htmlContent = _e[0], setHtmlContent = _e[1];
|
|
22695
22695
|
var fetchedRef = React__default.useRef(false);
|
|
22696
22696
|
useEffect(function () {
|
|
22697
22697
|
if (inline && formKey) {
|
|
@@ -22701,7 +22701,7 @@ function QuikFormViewer(_a) {
|
|
|
22701
22701
|
var action_1 = {
|
|
22702
22702
|
type: '',
|
|
22703
22703
|
auth_user_id: '',
|
|
22704
|
-
review_action: '',
|
|
22704
|
+
review_action: enableSubmit ? 'submit' : '',
|
|
22705
22705
|
form_fill_type: 'html',
|
|
22706
22706
|
sign_callback_url: ''
|
|
22707
22707
|
};
|
|
@@ -22712,11 +22712,14 @@ function QuikFormViewer(_a) {
|
|
|
22712
22712
|
console.error('Error generating Quik envelopes:', payload.message);
|
|
22713
22713
|
}
|
|
22714
22714
|
else if (action_1.form_fill_type === 'html' && payload.html) {
|
|
22715
|
-
setHtmlContent(processHtml(payload.html,
|
|
22715
|
+
setHtmlContent(processHtml(payload.html, {
|
|
22716
|
+
inline: true,
|
|
22717
|
+
hideHeaderActions: hideHeaderActions
|
|
22718
|
+
}));
|
|
22716
22719
|
}
|
|
22717
22720
|
});
|
|
22718
22721
|
}
|
|
22719
|
-
}, [inline, formKey]);
|
|
22722
|
+
}, [inline, formKey, enableSubmit, hideHeaderActions]);
|
|
22720
22723
|
useEffect(function () {
|
|
22721
22724
|
if (html) {
|
|
22722
22725
|
setHtmlContent(processHtml(html));
|
|
@@ -22767,7 +22770,8 @@ function fixNewlinesInScriptStrings(htmlString) {
|
|
|
22767
22770
|
return openTag + fixed + closeTag;
|
|
22768
22771
|
});
|
|
22769
22772
|
}
|
|
22770
|
-
var processHtml = function (rawHtml,
|
|
22773
|
+
var processHtml = function (rawHtml, options) {
|
|
22774
|
+
var _a = options || {}, inline = _a.inline, hideHeaderActions = _a.hideHeaderActions;
|
|
22771
22775
|
var parser = new DOMParser();
|
|
22772
22776
|
var doc = parser.parseFromString(fixNewlinesInScriptStrings(rawHtml), 'text/html');
|
|
22773
22777
|
// Disable scrolling on iframe <html> to fix floating back button UI issue
|
|
@@ -22781,7 +22785,10 @@ var processHtml = function (rawHtml, inline) {
|
|
|
22781
22785
|
var bodyDiv = doc.body.querySelector('div');
|
|
22782
22786
|
if (bodyDiv) {
|
|
22783
22787
|
bodyDiv.innerHTML = '';
|
|
22784
|
-
|
|
22788
|
+
// Show header in non-inline mode or in inline mode when
|
|
22789
|
+
// hideHeaderActions isn't set
|
|
22790
|
+
var showHeader = inline ? !hideHeaderActions : true;
|
|
22791
|
+
if (header && showHeader) {
|
|
22785
22792
|
bodyDiv.appendChild(header);
|
|
22786
22793
|
}
|
|
22787
22794
|
var contentDiv = doc.createElement('div');
|
|
@@ -22824,7 +22831,7 @@ var Subgrid = function (_a) {
|
|
|
22824
22831
|
children.push(jsx$1(CalendlyEmbed, { form: form, successStep: props.calendly_success_step }, 'calendly'));
|
|
22825
22832
|
}
|
|
22826
22833
|
if (props.embed_quik_viewer) {
|
|
22827
|
-
children.push(jsx$1(QuikFormViewer, { inline: true, formKey: form.featheryContext.formId }, 'quik'));
|
|
22834
|
+
children.push(jsx$1(QuikFormViewer, { inline: true, formKey: form.featheryContext.formId, enableSubmit: !!props.quik_enable_submit, hideHeaderActions: !!props.quik_hide_header_actions }, 'quik'));
|
|
22828
22835
|
}
|
|
22829
22836
|
var customComponent = form.customComponents[(_d = node.key) !== null && _d !== void 0 ? _d : ''];
|
|
22830
22837
|
if (customComponent)
|
|
@@ -46120,9 +46127,9 @@ function init(sdkKey, options) {
|
|
|
46120
46127
|
if (runningInClient()) {
|
|
46121
46128
|
// Dynamically load libraries that must be client side
|
|
46122
46129
|
global.scriptjsLoadPromise = import(
|
|
46123
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46130
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.DHmJQFLA.js').then(function (n) { return n.s; });
|
|
46124
46131
|
global.webfontloaderPromise = import(
|
|
46125
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46132
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DyFcchXb.js').then(function (n) { return n.w; });
|
|
46126
46133
|
// Client-side tracking logic
|
|
46127
46134
|
if (initState.userTracking === 'cookie') {
|
|
46128
46135
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46268,7 +46275,7 @@ function getFieldValues() {
|
|
|
46268
46275
|
return __assign({}, fieldValues);
|
|
46269
46276
|
}
|
|
46270
46277
|
function logFeatheryBadge() {
|
|
46271
|
-
console.log('%c Feathery %c v' + "2.35.
|
|
46278
|
+
console.log('%c Feathery %c v' + "2.35.2" + ' ', // replaced with real version during build
|
|
46272
46279
|
'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;');
|
|
46273
46280
|
}
|
|
46274
46281
|
|
|
@@ -47752,39 +47759,39 @@ breakpoint) {
|
|
|
47752
47759
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47753
47760
|
};
|
|
47754
47761
|
|
|
47755
|
-
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47756
|
-
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47757
|
-
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47762
|
+
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.BU65sT-q.js'); });
|
|
47763
|
+
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.B6vNW1lC.js'); });
|
|
47764
|
+
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.Dv8vYdq3.js'); });
|
|
47758
47765
|
var CheckboxGroupField = lazy$1(function () {
|
|
47759
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47766
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.28-Mf2MD.js');
|
|
47760
47767
|
});
|
|
47761
|
-
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47762
|
-
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47768
|
+
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DHgYfwbO.js'); });
|
|
47769
|
+
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.zH2AlSLL.js'); });
|
|
47763
47770
|
var DateSelectorField = lazy$1(function () {
|
|
47764
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47771
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DBZN-P6K.js');
|
|
47765
47772
|
});
|
|
47766
|
-
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47773
|
+
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DLzGZed3.js'); });
|
|
47767
47774
|
var DropdownMultiField = lazy$1(function () {
|
|
47768
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47775
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.ClNr0H7k.js');
|
|
47769
47776
|
});
|
|
47770
|
-
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47771
|
-
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47772
|
-
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47777
|
+
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.wWxlVXD6.js'); });
|
|
47778
|
+
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CvcLL4B1.js'); });
|
|
47779
|
+
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DP3UmRWC.js'); });
|
|
47773
47780
|
var PaymentMethodField = lazy$1(function () {
|
|
47774
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47781
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.D_EjD-ox.js');
|
|
47775
47782
|
});
|
|
47776
|
-
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47777
|
-
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47778
|
-
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47783
|
+
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.4Y25vFGT.js'); });
|
|
47784
|
+
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BaidVguP.js'); });
|
|
47785
|
+
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BAOI2XjU.js'); });
|
|
47779
47786
|
var RadioButtonGroupField = lazy$1(function () {
|
|
47780
47787
|
return import(
|
|
47781
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index
|
|
47788
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CDY5prnS.js');
|
|
47782
47789
|
});
|
|
47783
|
-
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47784
|
-
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47785
|
-
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47786
|
-
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47787
|
-
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47790
|
+
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.Cso_JM1H.js'); });
|
|
47791
|
+
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.HzpAt7ve.js'); });
|
|
47792
|
+
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.DL4PjJ-C.js'); });
|
|
47793
|
+
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.Dpow_dCJ.js'); });
|
|
47794
|
+
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CPVVI5Z7.js'); });
|
|
47788
47795
|
var Fields = {
|
|
47789
47796
|
AddressLine1: AddressLine1,
|
|
47790
47797
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48734,7 +48741,7 @@ function ElementSkeleton(_a) {
|
|
|
48734
48741
|
}
|
|
48735
48742
|
var templateObject_1;
|
|
48736
48743
|
|
|
48737
|
-
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48744
|
+
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.aNevTIV5.js'); });
|
|
48738
48745
|
var Basic = {
|
|
48739
48746
|
ImageElement: ImageElement,
|
|
48740
48747
|
VideoElement: VideoElement,
|
|
@@ -58748,10 +58755,10 @@ var generateThreadTitle = function (transport, threadId, message) { return __awa
|
|
|
58748
58755
|
var _a;
|
|
58749
58756
|
return __generator(this, function (_b) {
|
|
58750
58757
|
switch (_b.label) {
|
|
58751
|
-
case 0: return [4 /*yield*/, fetch("".concat(transport.url, "threads/
|
|
58758
|
+
case 0: return [4 /*yield*/, fetch("".concat(transport.url, "threads/title/").concat(toQueryString(transport.body)), {
|
|
58752
58759
|
method: 'POST',
|
|
58753
58760
|
headers: __assign(__assign({}, transport.headers()), { 'Content-Type': 'application/json' }),
|
|
58754
|
-
body: JSON.stringify({ message: message })
|
|
58761
|
+
body: JSON.stringify({ message: message, thread_id: threadId !== null && threadId !== void 0 ? threadId : undefined })
|
|
58755
58762
|
})];
|
|
58756
58763
|
case 1:
|
|
58757
58764
|
res = _b.sent();
|
|
@@ -58798,12 +58805,13 @@ var AssistantChat = function (_a) {
|
|
|
58798
58805
|
var makeChat = function (threadId, initialMessages) {
|
|
58799
58806
|
if (initialMessages === void 0) { initialMessages = []; }
|
|
58800
58807
|
var resolvedThreadId = threadId;
|
|
58808
|
+
var titleGenerated = false;
|
|
58801
58809
|
var chatTransport = new DefaultChatTransport({
|
|
58802
58810
|
api: "".concat(transport.url, "chat/"),
|
|
58803
58811
|
headers: transport.headers,
|
|
58804
58812
|
body: function () { return (__assign(__assign({}, transport.body), { thread_id: resolvedThreadId || null })); },
|
|
58805
58813
|
fetch: function (url, init) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58806
|
-
var res, threadId, titleMessage;
|
|
58814
|
+
var res, threadId, titleMessage, currentThreadId_1;
|
|
58807
58815
|
var _a, _b, _c;
|
|
58808
58816
|
return __generator(this, function (_d) {
|
|
58809
58817
|
switch (_d.label) {
|
|
@@ -58819,15 +58827,6 @@ var AssistantChat = function (_a) {
|
|
|
58819
58827
|
});
|
|
58820
58828
|
});
|
|
58821
58829
|
setActiveThreadId(threadId);
|
|
58822
|
-
titleMessage = (_c = (_b = (_a = chat.messages.find(function (m) { return m.role === 'user'; })) === null || _a === void 0 ? void 0 : _a.parts) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.text;
|
|
58823
|
-
if (titleMessage) {
|
|
58824
|
-
generateThreadTitle(transport, threadId, titleMessage).then(function (title) {
|
|
58825
|
-
if (title)
|
|
58826
|
-
setThreads(function (prev) {
|
|
58827
|
-
return prev.map(function (t) { return (t.id === threadId ? __assign(__assign({}, t), { title: title }) : t); });
|
|
58828
|
-
});
|
|
58829
|
-
});
|
|
58830
|
-
}
|
|
58831
58830
|
getThreadDetail(transport, threadId).then(function (t) {
|
|
58832
58831
|
if (t)
|
|
58833
58832
|
setThreads(function (prev) {
|
|
@@ -58837,6 +58836,29 @@ var AssistantChat = function (_a) {
|
|
|
58837
58836
|
});
|
|
58838
58837
|
});
|
|
58839
58838
|
}
|
|
58839
|
+
if (!titleGenerated) {
|
|
58840
|
+
titleMessage = (_c = (_b = (_a = chat.messages.find(function (m) { return m.role === 'user'; })) === null || _a === void 0 ? void 0 : _a.parts) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.text;
|
|
58841
|
+
if (titleMessage) {
|
|
58842
|
+
currentThreadId_1 = resolvedThreadId || threadId || null;
|
|
58843
|
+
generateThreadTitle(transport, currentThreadId_1, titleMessage).then(function (title) {
|
|
58844
|
+
if (!title)
|
|
58845
|
+
return;
|
|
58846
|
+
titleGenerated = true;
|
|
58847
|
+
if (currentThreadId_1) {
|
|
58848
|
+
setThreads(function (prev) {
|
|
58849
|
+
return prev.map(function (t) {
|
|
58850
|
+
return t.id === currentThreadId_1 ? __assign(__assign({}, t), { title: title }) : t;
|
|
58851
|
+
});
|
|
58852
|
+
});
|
|
58853
|
+
}
|
|
58854
|
+
else {
|
|
58855
|
+
setThreads(function (prev) {
|
|
58856
|
+
return prev.map(function (t) { return (t.chat === chat ? __assign(__assign({}, t), { title: title }) : t); });
|
|
58857
|
+
});
|
|
58858
|
+
}
|
|
58859
|
+
});
|
|
58860
|
+
}
|
|
58861
|
+
}
|
|
58840
58862
|
return [2 /*return*/, res];
|
|
58841
58863
|
}
|
|
58842
58864
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as __read, b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { c as __read, b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useRef, useState, useMemo } from 'react';
|
|
3
|
-
import { F as FormControl } from './fthry_FormControl.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { F as FormControl } from './fthry_FormControl.Cs-4zKJR.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.Dv8vYdq3.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.KI-Dlu5u.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BIZlA0yA.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.CK2j4iI8.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.BwLGBAbD.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.KI-Dlu5u.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.CK2j4iI8.js';
|
|
10
10
|
|
|
11
11
|
function TextArea(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.C53RfK2R.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.KI-Dlu5u.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.BwLGBAbD.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BIZlA0yA.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.CK2j4iI8.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 { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.C53RfK2R.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.CK2j4iI8.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.Dv8vYdq3.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsx, G as Global, w as css, x as __makeTemplateObject, a as __assign, c as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, b as jsxs$1, i as hoverStylesGuard, r as resetStyles, _ as __rest, z as formatDateString } from './fthry_index.
|
|
1
|
+
import { j as jsx, G as Global, w as css, x as __makeTemplateObject, a as __assign, c as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, b as jsxs$1, i as hoverStylesGuard, r as resetStyles, _ as __rest, z as formatDateString } from './fthry_index.C53RfK2R.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.BwLGBAbD.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.KI-Dlu5u.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.BS5MeeOZ.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.CK2j4iI8.js';
|
|
13
|
+
import './fthry_index.B8MeUD2k.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, b as jsxs$1, a as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { c as __read, b as jsxs$1, a as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.C53RfK2R.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
|
-
import { c as __read, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { c as __read, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.Ce7VHcJq.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.C53RfK2R.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.KI-Dlu5u.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BIZlA0yA.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.CK2j4iI8.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.BwLGBAbD.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.KI-Dlu5u.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.CaeiGxWg.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.CK2j4iI8.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as jsxs, a as __assign, j as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull, i as hoverStylesGuard, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles, au as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull, i as hoverStylesGuard, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles, au as emailPatternStr } from './fthry_index.C53RfK2R.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.BwLGBAbD.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.KI-Dlu5u.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CK2j4iI8.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.B-ozbUjd.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.CaeiGxWg.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.BS5MeeOZ.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.B8MeUD2k.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,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, i as hoverStylesGuard, b as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { a as __assign, i as hoverStylesGuard, b as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.B8MeUD2k.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1477,7 +1477,7 @@ function SignatureField(_a) {
|
|
|
1477
1477
|
useEffect(function () {
|
|
1478
1478
|
if (!global.webfontloaderPromise)
|
|
1479
1479
|
global.webfontloaderPromise = import(
|
|
1480
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1480
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DyFcchXb.js').then(function (n) { return n.w; });
|
|
1481
1481
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1482
1482
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1483
1483
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, j as jsx, a as __assign, b as jsxs, F as Fragment, c as __read, f as featheryDoc, d as fieldValues, s as stringifyWithNull, e as __values, g as __spreadArray } from './fthry_index.
|
|
1
|
+
import { _ as __rest, j as jsx, a as __assign, b as jsxs, F as Fragment, c as __read, f as featheryDoc, d as fieldValues, s as stringifyWithNull, e as __values, g as __spreadArray } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, aa as downloadFile, ab as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ac as justRemove } from './fthry_index.
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, aa as downloadFile, ab as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ac as justRemove } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, b as jsxs, c as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, b as jsxs, c as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import '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 { as as cls, b as jsxs, F as Fragment, j as jsx, G as Global, w as css, x as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { as as cls, b as jsxs, F as Fragment, j as jsx, G as Global, w as css, x as __makeTemplateObject } from './fthry_index.C53RfK2R.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, l as __awaiter, m as __generator, n as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { c as __read, l as __awaiter, m as __generator, n as FeatheryClient } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aG as AssistantChat, ax as Elements, aH as Feathery, aw as Form, aE as LoginForm, aI as StyledContainer, aC as getFieldValues, ay as init, aD as renderAt, aB as setFieldValues, aA as updateTheme, az as updateUserId, aF as useAuthClient } from './fthry_index.
|
|
1
|
+
export { aG as AssistantChat, ax as Elements, aH as Feathery, aw as Form, aE as LoginForm, aI as StyledContainer, aC as getFieldValues, ay as init, aD as renderAt, aB as setFieldValues, aA as updateTheme, az as updateUserId, aF as useAuthClient } from './fthry_index.C53RfK2R.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|