@feathery/react 2.35.2 → 2.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/assistant/index.d.ts +4 -3
- package/cjs/assistant/index.d.ts.map +1 -1
- package/cjs/assistant/utils.d.ts +6 -9
- package/cjs/assistant/utils.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.BejoLXqj.js → fthry_FormControl.6yYXruyF.js} +1 -1
- package/cjs/{fthry_InlineTooltip.ChOiSf_x.js → fthry_InlineTooltip.AGeTs3gs.js} +2 -2
- package/cjs/{fthry_Overlay.ob3P7hAH.js → fthry_Overlay._G2SzZOP.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.rP6AXiNG.js → fthry_PaymentMethodField.DYqP4jbT.js} +4 -4
- package/cjs/{fthry_Placeholder.6TtVa6f9.js → fthry_Placeholder.BAZUrpWn.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.84UlVNeO.js → fthry_ShowEyeIcon.BxP6ugW_.js} +1 -1
- package/cjs/{fthry_index.FedLdNtQ.js → fthry_index.63WSEEXg.js} +2 -2
- package/cjs/{fthry_index.Q7GKRQ8-.js → fthry_index.B3oeBE_b.js} +6 -6
- package/cjs/{fthry_index.BRwVE1nS.js → fthry_index.B4jbWgWL.js} +2 -2
- package/cjs/{fthry_index.CPAYpNEp.js → fthry_index.B93MSlBb.js} +6 -6
- package/cjs/{fthry_index.Dz_IcB7y.js → fthry_index.BINXUARu.js} +1 -1
- package/cjs/{fthry_index.vXJnrU0L.js → fthry_index.BJGVmJ7N.js} +4 -4
- package/cjs/{fthry_index.Kct3PQMr.js → fthry_index.BLHzsYbs.js} +5 -5
- package/cjs/{fthry_index.B-54IwG9.js → fthry_index.BSQip8V9.js} +1 -1
- package/cjs/{fthry_index.C2YpZn-4.js → fthry_index.BWmiVU3E.js} +3 -3
- package/cjs/{fthry_index.CaswA5ZJ.js → fthry_index.BpWNV9au.js} +1 -1
- package/cjs/{fthry_index.DgcRMNq0.js → fthry_index.Bxm2IDW_.js} +5 -5
- package/cjs/{fthry_index.FDBiWZD5.js → fthry_index.C6OWE6Z_.js} +3 -3
- package/cjs/{fthry_index.rcU5w5E8.js → fthry_index.CDSnG4im.js} +5 -5
- package/cjs/{fthry_index.CL6j2kGG.js → fthry_index.CIY2Z-kS.js} +1 -1
- package/cjs/{fthry_index.B1FiBFWy.js → fthry_index.CYP0TV6y.js} +5 -5
- package/cjs/{fthry_index.CJqoH8wf.js → fthry_index.CqzT7NjI.js} +112 -91
- package/cjs/{fthry_index.ChOrqPYm.js → fthry_index.DBIxySmw.js} +1 -1
- package/cjs/{fthry_index.DbDEsLM4.js → fthry_index.DKAba2mx.js} +1 -1
- package/cjs/{fthry_index.Calc05oH.js → fthry_index.DM0KQ-n0.js} +1 -1
- package/cjs/{fthry_index.CQdO6zrv.js → fthry_index.D_py_zuy.js} +6 -6
- package/cjs/{fthry_index.Dy__mw3h.js → fthry_index.Dq6SOnlv.js} +8 -8
- package/cjs/{fthry_index.VzCFwrYG.js → fthry_index.EGjivDV1.js} +4 -4
- package/cjs/{fthry_index.D73wz4le.js → fthry_index.gCb7Z-4M.js} +1 -1
- package/cjs/{fthry_index.C074CgQK.js → fthry_index.t7WR2B0w.js} +4 -4
- package/cjs/{fthry_input.DylyjA3z.js → fthry_input.BBGTNV7U.js} +1 -1
- package/cjs/{fthry_script.Cumz0aIS.js → fthry_script.CoWaiMg5.js} +1 -1
- package/cjs/{fthry_styles.B0GcdPpz.js → fthry_styles.BJXfr-it.js} +1 -1
- package/cjs/{fthry_useElementSize.CJiapUzA.js → fthry_useElementSize.D6UO0BIy.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.D5gnjfgu.js → fthry_useSalesforceSync.GA2c17MM.js} +1 -1
- package/cjs/{fthry_webfontloader.CxqPj6T1.js → fthry_webfontloader.G16KwEee.js} +1 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +2 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/formContext.d.ts +2 -1
- package/cjs/utils/formContext.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +4 -0
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/assistant/index.d.ts +4 -3
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/utils.d.ts +6 -9
- package/dist/assistant/utils.d.ts.map +1 -1
- package/dist/{fthry_FormControl.Cs-4zKJR.js → fthry_FormControl.BVmEhx8j.js} +1 -1
- package/dist/{fthry_InlineTooltip.KI-Dlu5u.js → fthry_InlineTooltip.CE4iR8vo.js} +2 -2
- package/dist/{fthry_Overlay.CK2j4iI8.js → fthry_Overlay.CbMkctjB.js} +1 -1
- package/dist/{fthry_PaymentMethodField.D_EjD-ox.js → fthry_PaymentMethodField.C1t4-fzU.js} +4 -4
- package/dist/{fthry_Placeholder.BwLGBAbD.js → fthry_Placeholder.CopRM2Pu.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CaeiGxWg.js → fthry_ShowEyeIcon.DHz9iwR_.js} +1 -1
- package/dist/{fthry_index.BAOI2XjU.js → fthry_index.7bjBjUZ9.js} +2 -2
- package/dist/{fthry_index.BaidVguP.js → fthry_index.BKJNuiAd.js} +1 -1
- package/dist/{fthry_index.Cso_JM1H.js → fthry_index.BXijmrpX.js} +1 -1
- package/dist/{fthry_index.DBZN-P6K.js → fthry_index.BZgn1jyy.js} +6 -6
- package/dist/{fthry_index.wWxlVXD6.js → fthry_index.BckbXJAm.js} +1 -1
- package/dist/{fthry_index.28-Mf2MD.js → fthry_index.Bclswt9V.js} +6 -6
- package/dist/{fthry_index.DP3UmRWC.js → fthry_index.BfXdNc_u.js} +5 -5
- package/dist/{fthry_index.DL4PjJ-C.js → fthry_index.BgpuTecr.js} +2 -2
- package/dist/{fthry_index.C53RfK2R.js → fthry_index.BtxCRm3o.js} +112 -91
- package/dist/{fthry_index.ClNr0H7k.js → fthry_index.BunBIt7Q.js} +5 -5
- package/dist/{fthry_index.4Y25vFGT.js → fthry_index.BxocDUFp.js} +5 -5
- package/dist/{fthry_index.BU65sT-q.js → fthry_index.BzbFifaP.js} +5 -5
- package/dist/{fthry_index.CvcLL4B1.js → fthry_index.C8YB4XKi.js} +3 -3
- package/dist/{fthry_index.HzpAt7ve.js → fthry_index.CA1uSoex.js} +3 -3
- package/dist/{fthry_index.B6vNW1lC.js → fthry_index.D0LSZSZ1.js} +4 -4
- package/dist/{fthry_index.B8MeUD2k.js → fthry_index.DCB6eyLJ.js} +1 -1
- package/dist/{fthry_index.DLzGZed3.js → fthry_index.DINm8O8S.js} +4 -4
- package/dist/{fthry_index.CDY5prnS.js → fthry_index.DKJ0y4AH.js} +6 -6
- package/dist/{fthry_index.Dpow_dCJ.js → fthry_index.DW6FAi5v.js} +8 -8
- package/dist/{fthry_index.Dv8vYdq3.js → fthry_index.DY10_F2J.js} +1 -1
- package/dist/{fthry_index.DHgYfwbO.js → fthry_index.Dt52G1R1.js} +1 -1
- package/dist/{fthry_index.CPVVI5Z7.js → fthry_index.I4VONGQP.js} +4 -4
- package/dist/{fthry_index.aNevTIV5.js → fthry_index.IYp43txG.js} +1 -1
- package/dist/{fthry_index.zH2AlSLL.js → fthry_index.VwcpPAFy.js} +1 -1
- package/dist/{fthry_input.BS5MeeOZ.js → fthry_input.COPEcaaj.js} +1 -1
- package/dist/{fthry_script.DHmJQFLA.js → fthry_script.BsvKrrvN.js} +1 -1
- package/dist/{fthry_styles.Ce7VHcJq.js → fthry_styles.BFiU-8BV.js} +1 -1
- package/dist/{fthry_useElementSize.B-ozbUjd.js → fthry_useElementSize.VmXATYlT.js} +1 -1
- package/dist/{fthry_useSalesforceSync.BIZlA0yA.js → fthry_useSalesforceSync.C115k_aB.js} +1 -1
- package/dist/{fthry_webfontloader.DyFcchXb.js → fthry_webfontloader.D3IZnSgp.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +2 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/formContext.d.ts +2 -1
- package/dist/utils/formContext.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +4 -0
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -7935,6 +7935,35 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7935
7935
|
});
|
|
7936
7936
|
}); });
|
|
7937
7937
|
};
|
|
7938
|
+
IntegrationClient.prototype.getDocusignEnvelope = function (_a) {
|
|
7939
|
+
var _this = this;
|
|
7940
|
+
var envelopeId = _a.envelopeId;
|
|
7941
|
+
var userId = initInfo().userId;
|
|
7942
|
+
var params = encodeGetParams({
|
|
7943
|
+
fuser_key: userId,
|
|
7944
|
+
form_key: this.formKey,
|
|
7945
|
+
docusign_envelope_id: envelopeId
|
|
7946
|
+
});
|
|
7947
|
+
var url = "".concat(API_URL, "docusign/envelope/?").concat(params);
|
|
7948
|
+
return this._fetch(url, {}, false).then(function (response) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
7949
|
+
var _a, _b;
|
|
7950
|
+
return __generator(this, function (_c) {
|
|
7951
|
+
switch (_c.label) {
|
|
7952
|
+
case 0:
|
|
7953
|
+
if (!response) return [3 /*break*/, 4];
|
|
7954
|
+
if (!response.ok) return [3 /*break*/, 2];
|
|
7955
|
+
return [4 /*yield*/, response.json()];
|
|
7956
|
+
case 1: return [2 /*return*/, _c.sent()];
|
|
7957
|
+
case 2:
|
|
7958
|
+
_a = Error;
|
|
7959
|
+
_b = distExports$2.parseAPIError;
|
|
7960
|
+
return [4 /*yield*/, response.json()];
|
|
7961
|
+
case 3: throw _a.apply(void 0, [_b.apply(void 0, [_c.sent()])]);
|
|
7962
|
+
case 4: return [2 /*return*/];
|
|
7963
|
+
}
|
|
7964
|
+
});
|
|
7965
|
+
}); });
|
|
7966
|
+
};
|
|
7938
7967
|
IntegrationClient.prototype.generateQuikEnvelopes = function (action) {
|
|
7939
7968
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
7940
7969
|
var _a, userId, sdkKey, tags, fieldVal;
|
|
@@ -23171,6 +23200,9 @@ var getFormContext = function (formUuid) {
|
|
|
23171
23200
|
sendDocusignEnvelope: function (params) {
|
|
23172
23201
|
return formState.sendDocusignEnvelope(params);
|
|
23173
23202
|
},
|
|
23203
|
+
getDocusignEnvelope: function (params) {
|
|
23204
|
+
return formState.getDocusignEnvelope(params);
|
|
23205
|
+
},
|
|
23174
23206
|
applyAlloyJourney: function (journeyToken, entities) {
|
|
23175
23207
|
return formState.client.alloyJourneyApplication(journeyToken, entities);
|
|
23176
23208
|
},
|
|
@@ -39825,20 +39857,6 @@ function Form(_a) {
|
|
|
39825
39857
|
// Tracks if the form has redirected
|
|
39826
39858
|
var hasRedirected = useRef(false);
|
|
39827
39859
|
var elementClicks = useRef({}).current;
|
|
39828
|
-
var transport = useMemo(function () {
|
|
39829
|
-
var _a = initInfo(), sdkKey = _a.sdkKey, userId = _a.userId;
|
|
39830
|
-
return {
|
|
39831
|
-
url: "".concat(API_URL, "ai/assistant/"),
|
|
39832
|
-
headers: function () {
|
|
39833
|
-
var sessionJwt = getCookie('feathery_session_token');
|
|
39834
|
-
return {
|
|
39835
|
-
Authorization: "Token ".concat(sdkKey),
|
|
39836
|
-
'X-Feathery-Session': sessionJwt
|
|
39837
|
-
};
|
|
39838
|
-
},
|
|
39839
|
-
body: { form_key: formId, fuser_key: userId }
|
|
39840
|
-
};
|
|
39841
|
-
}, [formId]);
|
|
39842
39860
|
var extractedSharedCodeInfo = useMemo(function () {
|
|
39843
39861
|
if (sharedCodes.length < 1) {
|
|
39844
39862
|
return [];
|
|
@@ -40336,6 +40354,9 @@ function Form(_a) {
|
|
|
40336
40354
|
}
|
|
40337
40355
|
});
|
|
40338
40356
|
}); },
|
|
40357
|
+
getDocusignEnvelope: function (params) {
|
|
40358
|
+
return client.getDocusignEnvelope(params);
|
|
40359
|
+
},
|
|
40339
40360
|
fillQuikForms: function (_a) {
|
|
40340
40361
|
var fillType = _a.fillType, docusignConnectionId = _a.docusignConnectionId, docusignCustomId = _a.docusignCustomId, enableWetSign = _a.enableWetSign, documentTemplates = _a.documentTemplates;
|
|
40341
40362
|
return __awaiter$2(_this, void 0, void 0, function () {
|
|
@@ -42302,7 +42323,7 @@ function Form(_a) {
|
|
|
42302
42323
|
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { ref: setActionToastRef, data: actionToastData, bottom: formSettings.showBrand &&
|
|
42303
42324
|
formSettings.brandPosition === 'bottom_right'
|
|
42304
42325
|
? 67
|
|
42305
|
-
: 20 }), formSettings.assistantEnabled && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat$1, {
|
|
42326
|
+
: 20 }), formSettings.assistantEnabled && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat$1, { formId: formId, bottom: (formSettings.showBrand &&
|
|
42306
42327
|
formSettings.brandPosition === 'bottom_right'
|
|
42307
42328
|
? 67
|
|
42308
42329
|
: 20) + (actionToastHeight > 0 ? actionToastHeight + 10 : 0), color: formSettings.assistantColor, workflowActions: formSettings.assistantWorkflowActions }) })))] })) })));
|
|
@@ -46127,9 +46148,9 @@ function init(sdkKey, options) {
|
|
|
46127
46148
|
if (runningInClient()) {
|
|
46128
46149
|
// Dynamically load libraries that must be client side
|
|
46129
46150
|
global.scriptjsLoadPromise = import(
|
|
46130
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46151
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BsvKrrvN.js').then(function (n) { return n.s; });
|
|
46131
46152
|
global.webfontloaderPromise = import(
|
|
46132
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46153
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D3IZnSgp.js').then(function (n) { return n.w; });
|
|
46133
46154
|
// Client-side tracking logic
|
|
46134
46155
|
if (initState.userTracking === 'cookie') {
|
|
46135
46156
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46275,7 +46296,7 @@ function getFieldValues() {
|
|
|
46275
46296
|
return __assign({}, fieldValues);
|
|
46276
46297
|
}
|
|
46277
46298
|
function logFeatheryBadge() {
|
|
46278
|
-
console.log('%c Feathery %c v' + "2.35.
|
|
46299
|
+
console.log('%c Feathery %c v' + "2.35.4" + ' ', // replaced with real version during build
|
|
46279
46300
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
46280
46301
|
}
|
|
46281
46302
|
|
|
@@ -47759,39 +47780,39 @@ breakpoint) {
|
|
|
47759
47780
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47760
47781
|
};
|
|
47761
47782
|
|
|
47762
|
-
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47763
|
-
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47764
|
-
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47783
|
+
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.BzbFifaP.js'); });
|
|
47784
|
+
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.D0LSZSZ1.js'); });
|
|
47785
|
+
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DY10_F2J.js'); });
|
|
47765
47786
|
var CheckboxGroupField = lazy$1(function () {
|
|
47766
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47787
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Bclswt9V.js');
|
|
47767
47788
|
});
|
|
47768
|
-
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47769
|
-
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47789
|
+
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.Dt52G1R1.js'); });
|
|
47790
|
+
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.VwcpPAFy.js'); });
|
|
47770
47791
|
var DateSelectorField = lazy$1(function () {
|
|
47771
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47792
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.BZgn1jyy.js');
|
|
47772
47793
|
});
|
|
47773
|
-
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47794
|
+
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DINm8O8S.js'); });
|
|
47774
47795
|
var DropdownMultiField = lazy$1(function () {
|
|
47775
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47796
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BunBIt7Q.js');
|
|
47776
47797
|
});
|
|
47777
|
-
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47778
|
-
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47779
|
-
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47798
|
+
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BckbXJAm.js'); });
|
|
47799
|
+
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.C8YB4XKi.js'); });
|
|
47800
|
+
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BfXdNc_u.js'); });
|
|
47780
47801
|
var PaymentMethodField = lazy$1(function () {
|
|
47781
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47802
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.C1t4-fzU.js');
|
|
47782
47803
|
});
|
|
47783
|
-
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47784
|
-
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47785
|
-
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47804
|
+
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BxocDUFp.js'); });
|
|
47805
|
+
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BKJNuiAd.js'); });
|
|
47806
|
+
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.7bjBjUZ9.js'); });
|
|
47786
47807
|
var RadioButtonGroupField = lazy$1(function () {
|
|
47787
47808
|
return import(
|
|
47788
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47809
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DKJ0y4AH.js');
|
|
47789
47810
|
});
|
|
47790
|
-
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47791
|
-
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47792
|
-
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47793
|
-
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47794
|
-
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47811
|
+
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.BXijmrpX.js'); });
|
|
47812
|
+
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CA1uSoex.js'); });
|
|
47813
|
+
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.BgpuTecr.js'); });
|
|
47814
|
+
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.DW6FAi5v.js'); });
|
|
47815
|
+
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.I4VONGQP.js'); });
|
|
47795
47816
|
var Fields = {
|
|
47796
47817
|
AddressLine1: AddressLine1,
|
|
47797
47818
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48741,7 +48762,7 @@ function ElementSkeleton(_a) {
|
|
|
48741
48762
|
}
|
|
48742
48763
|
var templateObject_1;
|
|
48743
48764
|
|
|
48744
|
-
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48765
|
+
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.IYp43txG.js'); });
|
|
48745
48766
|
var Basic = {
|
|
48746
48767
|
ImageElement: ImageElement,
|
|
48747
48768
|
VideoElement: VideoElement,
|
|
@@ -58702,29 +58723,14 @@ var MarkdownText = memo(function (_a) {
|
|
|
58702
58723
|
});
|
|
58703
58724
|
MarkdownText.displayName = 'MarkdownText';
|
|
58704
58725
|
|
|
58705
|
-
var
|
|
58706
|
-
|
|
58707
|
-
|
|
58708
|
-
var _b = __read(_a, 2), v = _b[1];
|
|
58709
|
-
return v !== undefined && v !== null;
|
|
58710
|
-
})
|
|
58711
|
-
.map(function (_a) {
|
|
58712
|
-
var _b = __read(_a, 2), k = _b[0], v = _b[1];
|
|
58713
|
-
return [k, String(v)];
|
|
58714
|
-
});
|
|
58715
|
-
if (!filtered.length)
|
|
58716
|
-
return '';
|
|
58717
|
-
return '?' + new URLSearchParams(filtered).toString();
|
|
58718
|
-
};
|
|
58719
|
-
var getThreadList = function (transport) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58720
|
-
var threadsUrl, res;
|
|
58726
|
+
var getAssistantUrl = function () { return "".concat(API_URL, "ai/assistant/"); };
|
|
58727
|
+
var getThreadList = function (headers) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58728
|
+
var res;
|
|
58721
58729
|
return __generator(this, function (_a) {
|
|
58722
58730
|
switch (_a.label) {
|
|
58723
|
-
case 0:
|
|
58724
|
-
|
|
58725
|
-
|
|
58726
|
-
headers: transport.headers()
|
|
58727
|
-
})];
|
|
58731
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/"), {
|
|
58732
|
+
headers: headers()
|
|
58733
|
+
})];
|
|
58728
58734
|
case 1:
|
|
58729
58735
|
res = _a.sent();
|
|
58730
58736
|
if (!res.ok)
|
|
@@ -58733,15 +58739,13 @@ var getThreadList = function (transport) { return __awaiter$2(void 0, void 0, vo
|
|
|
58733
58739
|
}
|
|
58734
58740
|
});
|
|
58735
58741
|
}); };
|
|
58736
|
-
var getThreadDetail = function (
|
|
58737
|
-
var
|
|
58742
|
+
var getThreadDetail = function (headers, threadId) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58743
|
+
var res;
|
|
58738
58744
|
return __generator(this, function (_a) {
|
|
58739
58745
|
switch (_a.label) {
|
|
58740
|
-
case 0:
|
|
58741
|
-
|
|
58742
|
-
|
|
58743
|
-
headers: transport.headers()
|
|
58744
|
-
})];
|
|
58746
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/").concat(threadId, "/"), {
|
|
58747
|
+
headers: headers()
|
|
58748
|
+
})];
|
|
58745
58749
|
case 1:
|
|
58746
58750
|
res = _a.sent();
|
|
58747
58751
|
if (!res.ok)
|
|
@@ -58750,14 +58754,14 @@ var getThreadDetail = function (transport, threadId) { return __awaiter$2(void 0
|
|
|
58750
58754
|
}
|
|
58751
58755
|
});
|
|
58752
58756
|
}); };
|
|
58753
|
-
var generateThreadTitle = function (
|
|
58757
|
+
var generateThreadTitle = function (headers, threadId, message) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58754
58758
|
var res, data;
|
|
58755
58759
|
var _a;
|
|
58756
58760
|
return __generator(this, function (_b) {
|
|
58757
58761
|
switch (_b.label) {
|
|
58758
|
-
case 0: return [4 /*yield*/, fetch("".concat(
|
|
58762
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/title/"), {
|
|
58759
58763
|
method: 'POST',
|
|
58760
|
-
headers: __assign(__assign({},
|
|
58764
|
+
headers: __assign(__assign({}, headers()), { 'Content-Type': 'application/json' }),
|
|
58761
58765
|
body: JSON.stringify({ message: message, thread_id: threadId !== null && threadId !== void 0 ? threadId : undefined })
|
|
58762
58766
|
})];
|
|
58763
58767
|
case 1:
|
|
@@ -58771,16 +58775,13 @@ var generateThreadTitle = function (transport, threadId, message) { return __awa
|
|
|
58771
58775
|
}
|
|
58772
58776
|
});
|
|
58773
58777
|
}); };
|
|
58774
|
-
var deleteThread = function (
|
|
58775
|
-
var threadsUrl;
|
|
58778
|
+
var deleteThread = function (headers, threadId) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58776
58779
|
return __generator(this, function (_a) {
|
|
58777
58780
|
switch (_a.label) {
|
|
58778
|
-
case 0:
|
|
58779
|
-
|
|
58780
|
-
|
|
58781
|
-
|
|
58782
|
-
headers: transport.headers()
|
|
58783
|
-
})];
|
|
58781
|
+
case 0: return [4 /*yield*/, fetch("".concat(getAssistantUrl(), "threads/").concat(threadId, "/"), {
|
|
58782
|
+
method: 'DELETE',
|
|
58783
|
+
headers: headers()
|
|
58784
|
+
})];
|
|
58784
58785
|
case 1:
|
|
58785
58786
|
_a.sent();
|
|
58786
58787
|
return [2 /*return*/];
|
|
@@ -58793,7 +58794,27 @@ var PANEL_WIDTH = 380;
|
|
|
58793
58794
|
var PANEL_HEIGHT = 500;
|
|
58794
58795
|
var AssistantChat = function (_a) {
|
|
58795
58796
|
var _b, _c;
|
|
58796
|
-
var
|
|
58797
|
+
var formId = _a.formId, runId = _a.runId, getJwt = _a.getJwt, _d = _a.bottom, bottom = _d === void 0 ? 20 : _d, color = _a.color, _e = _a.workflowActions, workflowActions = _e === void 0 ? [] : _e;
|
|
58798
|
+
var headers = useMemo(function () {
|
|
58799
|
+
if (getJwt)
|
|
58800
|
+
return function () { return ({ Authorization: "Bearer ".concat(getJwt()) }); };
|
|
58801
|
+
var sdkKey = initInfo().sdkKey;
|
|
58802
|
+
return function () {
|
|
58803
|
+
var headers = {
|
|
58804
|
+
Authorization: "Token ".concat(sdkKey)
|
|
58805
|
+
};
|
|
58806
|
+
var sessionJwt = getCookie('feathery_session_token');
|
|
58807
|
+
if (sessionJwt)
|
|
58808
|
+
headers['X-Feathery-Session'] = sessionJwt;
|
|
58809
|
+
return headers;
|
|
58810
|
+
};
|
|
58811
|
+
}, [getJwt]);
|
|
58812
|
+
var chatBody = useMemo(function () {
|
|
58813
|
+
if (getJwt)
|
|
58814
|
+
return runId ? { run_id: runId } : {};
|
|
58815
|
+
var userId = initInfo().userId;
|
|
58816
|
+
return { form_key: formId, fuser_key: userId };
|
|
58817
|
+
}, [formId, runId, getJwt]);
|
|
58797
58818
|
var _f = __read(useState(false), 2), isOpen = _f[0], setIsOpen = _f[1];
|
|
58798
58819
|
var _g = __read(useState(''), 2), input = _g[0], setInput = _g[1];
|
|
58799
58820
|
var _h = __read(useState([]), 2), threads = _h[0], setThreads = _h[1];
|
|
@@ -58807,9 +58828,9 @@ var AssistantChat = function (_a) {
|
|
|
58807
58828
|
var resolvedThreadId = threadId;
|
|
58808
58829
|
var titleGenerated = false;
|
|
58809
58830
|
var chatTransport = new DefaultChatTransport({
|
|
58810
|
-
api: "".concat(
|
|
58811
|
-
headers:
|
|
58812
|
-
body: function () { return (__assign(__assign({},
|
|
58831
|
+
api: "".concat(getAssistantUrl(), "chat/"),
|
|
58832
|
+
headers: headers,
|
|
58833
|
+
body: function () { return (__assign(__assign({}, chatBody), { thread_id: resolvedThreadId || null })); },
|
|
58813
58834
|
fetch: function (url, init) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
58814
58835
|
var res, threadId, titleMessage, currentThreadId_1;
|
|
58815
58836
|
var _a, _b, _c;
|
|
@@ -58827,7 +58848,7 @@ var AssistantChat = function (_a) {
|
|
|
58827
58848
|
});
|
|
58828
58849
|
});
|
|
58829
58850
|
setActiveThreadId(threadId);
|
|
58830
|
-
getThreadDetail(
|
|
58851
|
+
getThreadDetail(headers, threadId).then(function (t) {
|
|
58831
58852
|
if (t)
|
|
58832
58853
|
setThreads(function (prev) {
|
|
58833
58854
|
return prev.map(function (thread) {
|
|
@@ -58840,7 +58861,7 @@ var AssistantChat = function (_a) {
|
|
|
58840
58861
|
titleMessage = (_c = (_b = (_a = chat.messages.find(function (m) { return m.role === 'user'; })) === null || _a === void 0 ? void 0 : _a.parts) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.text;
|
|
58841
58862
|
if (titleMessage) {
|
|
58842
58863
|
currentThreadId_1 = resolvedThreadId || threadId || null;
|
|
58843
|
-
generateThreadTitle(
|
|
58864
|
+
generateThreadTitle(headers, currentThreadId_1, titleMessage).then(function (title) {
|
|
58844
58865
|
if (!title)
|
|
58845
58866
|
return;
|
|
58846
58867
|
titleGenerated = true;
|
|
@@ -58883,7 +58904,7 @@ var AssistantChat = function (_a) {
|
|
|
58883
58904
|
});
|
|
58884
58905
|
return chat;
|
|
58885
58906
|
};
|
|
58886
|
-
var readyChat = useMemo(function () { return makeChat(null); }, [
|
|
58907
|
+
var readyChat = useMemo(function () { return makeChat(null); }, [headers, chatBody]);
|
|
58887
58908
|
var activeThread = threads.find(function (t) { return t.id === activeThreadId; });
|
|
58888
58909
|
var activeChat = (_b = activeThread === null || activeThread === void 0 ? void 0 : activeThread.chat) !== null && _b !== void 0 ? _b : readyChat;
|
|
58889
58910
|
// @ts-ignore
|
|
@@ -58899,7 +58920,7 @@ var AssistantChat = function (_a) {
|
|
|
58899
58920
|
var data;
|
|
58900
58921
|
return __generator(this, function (_a) {
|
|
58901
58922
|
switch (_a.label) {
|
|
58902
|
-
case 0: return [4 /*yield*/, getThreadList(
|
|
58923
|
+
case 0: return [4 /*yield*/, getThreadList(headers)];
|
|
58903
58924
|
case 1:
|
|
58904
58925
|
data = _a.sent();
|
|
58905
58926
|
if (!data)
|
|
@@ -58911,7 +58932,7 @@ var AssistantChat = function (_a) {
|
|
|
58911
58932
|
return [2 /*return*/];
|
|
58912
58933
|
}
|
|
58913
58934
|
});
|
|
58914
|
-
}); }, [
|
|
58935
|
+
}); }, [headers]);
|
|
58915
58936
|
useEffect(function () {
|
|
58916
58937
|
if (isOpen)
|
|
58917
58938
|
fetchThreads();
|
|
@@ -58943,7 +58964,7 @@ var AssistantChat = function (_a) {
|
|
|
58943
58964
|
setIsDropdownOpen(false);
|
|
58944
58965
|
return [2 /*return*/];
|
|
58945
58966
|
}
|
|
58946
|
-
return [4 /*yield*/, getThreadDetail(
|
|
58967
|
+
return [4 /*yield*/, getThreadDetail(headers, id)];
|
|
58947
58968
|
case 1:
|
|
58948
58969
|
thread = _c.sent();
|
|
58949
58970
|
if (!thread)
|
|
@@ -58966,7 +58987,7 @@ var AssistantChat = function (_a) {
|
|
|
58966
58987
|
e.stopPropagation();
|
|
58967
58988
|
thread = threads.find(function (t) { return t.id === id; });
|
|
58968
58989
|
if (!!(thread === null || thread === void 0 ? void 0 : thread.isTemporary)) return [3 /*break*/, 2];
|
|
58969
|
-
return [4 /*yield*/, deleteThread(
|
|
58990
|
+
return [4 /*yield*/, deleteThread(headers, id)];
|
|
58970
58991
|
case 1:
|
|
58971
58992
|
_a.sent();
|
|
58972
58993
|
_a.label = 2;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, a as __assign, b as jsxs, F as Fragment$1, _ as __rest, c as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, g as __spreadArray, e as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.CopRM2Pu.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, c as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, b as jsxs, j as jsx, a as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, i as hoverStylesGuard, ak as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { _ as __rest, c as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, b as jsxs, j as jsx, a as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, i as hoverStylesGuard, ak as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.VmXATYlT.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, n as FeatheryClient, o as debounce } from './fthry_index.
|
|
1
|
+
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, n as FeatheryClient, o as debounce } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useEffect, memo, useState, useCallback } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.VmXATYlT.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.CbMkctjB.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.DY10_F2J.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, ao as devicePixelRatio, h as getDefaultExportFromCjs, c as __read, b as jsxs, j as jsx, a as __assign, F as Fragment, l as __awaiter, m as __generator, ap as toBase64, o as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.DCB6eyLJ.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1477,7 +1477,7 @@ function SignatureField(_a) {
|
|
|
1477
1477
|
useEffect(function () {
|
|
1478
1478
|
if (!global.webfontloaderPromise)
|
|
1479
1479
|
global.webfontloaderPromise = import(
|
|
1480
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1480
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D3IZnSgp.js').then(function (n) { return n.w; });
|
|
1481
1481
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1482
1482
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1483
1483
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard, p as imgMaxSizeStyles, q as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, b as jsxs, a as __assign, j as jsx, i as hoverStylesGuard, p as imgMaxSizeStyles, q as noTextSelectStyles, E as ErrorInput } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useMemo } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.CbMkctjB.js';
|
|
10
10
|
|
|
11
11
|
function ButtonGroupField(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, u as useBorder, c as __read, A as countryData, d as fieldValues, b as jsxs, i as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BtxCRm3o.js';
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.CbMkctjB.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -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.BtxCRm3o.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.BVmEhx8j.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DY10_F2J.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.C115k_aB.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.CbMkctjB.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -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.BtxCRm3o.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.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CbMkctjB.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.VmXATYlT.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DHz9iwR_.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.COPEcaaj.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.DCB6eyLJ.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.BtxCRm3o.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 { 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.BtxCRm3o.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,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.BtxCRm3o.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CopRM2Pu.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.CE4iR8vo.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.CbMkctjB.js';
|
|
10
10
|
|
|
11
11
|
function 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,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.BtxCRm3o.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 { 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.BtxCRm3o.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|