@feathery/react 2.37.3 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/assistant/AssistantChat.d.ts +31 -0
- package/cjs/assistant/AssistantChat.d.ts.map +1 -0
- package/cjs/assistant/AssistantClient.d.ts +15 -0
- package/cjs/assistant/AssistantClient.d.ts.map +1 -0
- package/cjs/assistant/MarkdownText.d.ts +2 -1
- package/cjs/assistant/MarkdownText.d.ts.map +1 -1
- package/cjs/assistant/ToolStatus.d.ts +20 -3
- package/cjs/assistant/ToolStatus.d.ts.map +1 -1
- package/cjs/assistant/colors.d.ts +1 -0
- package/cjs/assistant/colors.d.ts.map +1 -1
- package/cjs/assistant/icons.d.ts +8 -0
- package/cjs/assistant/icons.d.ts.map +1 -1
- package/cjs/assistant/index.d.ts +3 -15
- package/cjs/assistant/index.d.ts.map +1 -1
- package/cjs/assistant/tools/clickElement.d.ts +16 -0
- package/cjs/assistant/tools/clickElement.d.ts.map +1 -0
- package/cjs/assistant/tools/panelRuntime.d.ts +91 -0
- package/cjs/assistant/tools/panelRuntime.d.ts.map +1 -0
- package/cjs/assistant/tools/setFieldValue.d.ts +32 -0
- package/cjs/assistant/tools/setFieldValue.d.ts.map +1 -0
- package/cjs/assistant/utils.d.ts +11 -5
- package/cjs/assistant/utils.d.ts.map +1 -1
- package/cjs/fthry_AssistantChat.DMRqYl7c.js +53283 -0
- package/cjs/{fthry_FormControl.DnTZRvX8.js → fthry_FormControl.Cl-dGLcM.js} +1 -1
- package/cjs/{fthry_InlineTooltip.BqZk2-qL.js → fthry_InlineTooltip.B8DIhcwN.js} +2 -2
- package/cjs/{fthry_Overlay.CCAYrp0U.js → fthry_Overlay.cDGh2blq.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.gvS_nD1G.js → fthry_PaymentMethodField.DBG_F2IV.js} +4 -4
- package/cjs/{fthry_Placeholder.D-_l4CjC.js → fthry_Placeholder.D3e5FkES.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.ZifD-Zjf.js → fthry_ShowEyeIcon.Da2SnAC6.js} +1 -1
- package/cjs/fthry_clsx.BtxeOLZW.js +5 -0
- package/cjs/fthry_highlighted-body-TPN3WLV5.BHwDjUKJ.js +15 -0
- package/cjs/{fthry_index.CbZWwiuE.js → fthry_index.71p3lEGO.js} +5 -5
- package/cjs/{fthry_index.N3RTOcVJ.js → fthry_index.8WMLSq-m.js} +5 -5
- package/cjs/{fthry_index.DM8CaLO1.js → fthry_index.B8RLVADy.js} +1 -1
- package/cjs/{fthry_index.DbLoLfBt.js → fthry_index.BHmognVe.js} +5 -5
- package/cjs/{fthry_index.B_FKa13w.js → fthry_index.Bfi9gaRQ.js} +4 -4
- package/cjs/{fthry_index.wRNPB3_3.js → fthry_index.Bq69xc_i.js} +5 -5
- package/cjs/{fthry_index.BErBLUmj.js → fthry_index.C1bGkjXK.js} +8 -8
- package/cjs/fthry_index.CE4Pt2Be.js +109 -0
- package/cjs/{fthry_index._ujx-y_j.js → fthry_index.CELRWX9K.js} +1 -1
- package/cjs/{fthry_index.CvfmIi0G.js → fthry_index.CUUU_mSN.js} +1 -1
- package/cjs/{fthry_index.3L3XcwNO.js → fthry_index.CcDlE6Qp.js} +1 -1
- package/cjs/{fthry_index.CUam09sY.js → fthry_index.Cl5vVnOu.js} +1 -1
- package/cjs/{fthry_index.Ur2htxdj.js → fthry_index.DD6R-HZB.js} +1 -1
- package/cjs/{fthry_index.BQos-Amt.js → fthry_index.DEnbUjkR.js} +4 -4
- package/cjs/{fthry_index.D64PUdwP.js → fthry_index.DGQK0BX6.js} +3 -3
- package/cjs/{fthry_index.uy4-IUwL.js → fthry_index.DKbXGnnP.js} +24 -23
- package/cjs/{fthry_index.tqY6b6fj.js → fthry_index.DVHeeCAd.js} +1 -1
- package/cjs/{fthry_index.DlWUP_dg.js → fthry_index.DVl7lCQ4.js} +1 -1
- package/cjs/{fthry_index.BuyRtOzC.js → fthry_index.DX0u8QrD.js} +2 -2
- package/cjs/{fthry_index.DryzUba-.js → fthry_index.Da2RxuWz.js} +3 -3
- package/cjs/{fthry_index.C_A0bE3P.js → fthry_index.DaWvIjDB.js} +2 -2
- package/cjs/{fthry_index.C30eV3k_.js → fthry_index.HtL5MFY2.js} +4 -105
- package/cjs/{fthry_index.QTVlhoOF.js → fthry_index.VY9IsOXx.js} +6 -6
- package/cjs/{fthry_index.Bq_x7oXa.js → fthry_index._rTrmGwo.js} +611 -52237
- package/cjs/{fthry_index.DdL1O4T_.js → fthry_index.z4phbmML.js} +6 -6
- package/cjs/{fthry_input.BVhv2d6Q.js → fthry_input.CNUxn07s.js} +1 -1
- package/cjs/fthry_mermaid-O7DHMXV3.C-jL0nU0.js +15 -0
- package/cjs/{fthry_script.9mwu8hf4.js → fthry_script.CngcPx_9.js} +1 -1
- package/cjs/{fthry_styles.CMDk6ugx.js → fthry_styles.BVmu9I22.js} +1 -1
- package/cjs/{fthry_useElementSize.Cx3GRpKd.js → fthry_useElementSize.BgBAI35V.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.DK9Wotlq.js → fthry_useSalesforceSync.C1MgCEkl.js} +1 -1
- package/cjs/{fthry_webfontloader.BAzzDxH4.js → fthry_webfontloader.BgZRGUoe.js} +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/utils.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +4 -0
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/cjs/utils/offlineRequestHandler.d.ts +6 -0
- package/cjs/utils/offlineRequestHandler.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/assistant/AssistantChat.d.ts +31 -0
- package/dist/assistant/AssistantChat.d.ts.map +1 -0
- package/dist/assistant/AssistantClient.d.ts +15 -0
- package/dist/assistant/AssistantClient.d.ts.map +1 -0
- package/dist/assistant/MarkdownText.d.ts +2 -1
- package/dist/assistant/MarkdownText.d.ts.map +1 -1
- package/dist/assistant/ToolStatus.d.ts +20 -3
- package/dist/assistant/ToolStatus.d.ts.map +1 -1
- package/dist/assistant/colors.d.ts +1 -0
- package/dist/assistant/colors.d.ts.map +1 -1
- package/dist/assistant/icons.d.ts +8 -0
- package/dist/assistant/icons.d.ts.map +1 -1
- package/dist/assistant/index.d.ts +3 -15
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/tools/clickElement.d.ts +16 -0
- package/dist/assistant/tools/clickElement.d.ts.map +1 -0
- package/dist/assistant/tools/panelRuntime.d.ts +91 -0
- package/dist/assistant/tools/panelRuntime.d.ts.map +1 -0
- package/dist/assistant/tools/setFieldValue.d.ts +32 -0
- package/dist/assistant/tools/setFieldValue.d.ts.map +1 -0
- package/dist/assistant/utils.d.ts +11 -5
- package/dist/assistant/utils.d.ts.map +1 -1
- package/dist/fthry_AssistantChat.BpIazy4D.js +53277 -0
- package/dist/{fthry_FormControl.D2UVzfXg.js → fthry_FormControl.VJETpF2_.js} +1 -1
- package/dist/{fthry_InlineTooltip.D6lPIiYE.js → fthry_InlineTooltip.HYGB8l2S.js} +2 -2
- package/dist/{fthry_Overlay.kW559CvO.js → fthry_Overlay.DndK3JOJ.js} +1 -1
- package/dist/{fthry_PaymentMethodField.CekXR4Xd.js → fthry_PaymentMethodField.iCQc8h5O.js} +4 -4
- package/dist/{fthry_Placeholder.DzF38FPH.js → fthry_Placeholder.BRzhfZ1W.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DfdIfSae.js → fthry_ShowEyeIcon.Cccxpke2.js} +1 -1
- package/dist/fthry_clsx.ChV9xqsO.js +3 -0
- package/dist/{fthry_highlighted-body-TPN3WLV5.zt3SpkRF.js → fthry_highlighted-body-TPN3WLV5._HIiKJRn.js} +4 -1
- package/dist/{fthry_index.DIxT-xBI.js → fthry_index.-9Pe_RZJ.js} +1 -1
- package/dist/{fthry_index.D65gfxRZ.js → fthry_index.08-lgbei.js} +5 -5
- package/dist/{fthry_index.wmtHjz0i.js → fthry_index.B020qTL1.js} +5 -5
- package/dist/{fthry_index.BD67xwLj.js → fthry_index.B2UzR5GS.js} +3 -3
- package/dist/{fthry_index.DPmNz7lY.js → fthry_index.BH5ZPwTL.js} +2 -2
- package/dist/{fthry_index.DzzELIKF.js → fthry_index.BOItLjiR.js} +8 -8
- package/dist/{fthry_index.CxBP7n7t.js → fthry_index.BQlKGMSZ.js} +6 -6
- package/dist/{fthry_index.DVN_jNq6.js → fthry_index.BZZHsN5a.js} +4 -4
- package/dist/{fthry_index.DmZkBPS7.js → fthry_index.BZuK2sQ5.js} +1 -1
- package/dist/{fthry_index.BJNRcyyW.js → fthry_index.B_AxehyW.js} +7 -6
- package/dist/{fthry_index.CxzTRdZH.js → fthry_index.CBlXw7TW.js} +619 -52247
- package/dist/{fthry_index.DM5oqg4S.js → fthry_index.CQOONMqP.js} +2 -105
- package/dist/{fthry_index.DvW8Cc9_.js → fthry_index.CQfKbwaC.js} +1 -1
- package/dist/{fthry_index.BWK-Ce2W.js → fthry_index.Ca770hPU.js} +1 -1
- package/dist/fthry_index.CaQYjI5I.js +107 -0
- package/dist/{fthry_index.DvwwjfV-.js → fthry_index.D7Lb5Krw.js} +5 -5
- package/dist/{fthry_index.DITYaYtG.js → fthry_index.DHPFNhgl.js} +1 -1
- package/dist/{fthry_index.Bi1qGxcg.js → fthry_index.DIIoaRob.js} +4 -4
- package/dist/{fthry_index.BYOHcrZZ.js → fthry_index.DL46TGQr.js} +2 -2
- package/dist/{fthry_index.CuzBvdoy.js → fthry_index.DOOj6cJp.js} +1 -1
- package/dist/{fthry_index.4OH-ricw.js → fthry_index.DPAdqFeT.js} +3 -3
- package/dist/{fthry_index.CX91nw3u.js → fthry_index.DwVO_QsO.js} +1 -1
- package/dist/{fthry_index.V7m9HHtq.js → fthry_index.JhHnGxYn.js} +1 -1
- package/dist/{fthry_index.o9IekhIF.js → fthry_index.P0AejkY4.js} +5 -5
- package/dist/{fthry_index.Dw7-XnIv.js → fthry_index.mxecJ9_a.js} +6 -6
- package/dist/{fthry_input.Cn7WlnzD.js → fthry_input.DVAV1a0p.js} +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.BdzSXu8K.js +9 -0
- package/dist/{fthry_script.D9jni3XD.js → fthry_script.4UR41bnG.js} +1 -1
- package/dist/{fthry_styles.BRVPPQ_0.js → fthry_styles.BfM6iy4Q.js} +1 -1
- package/dist/{fthry_useElementSize.mFPHnmzX.js → fthry_useElementSize.BVjOicba.js} +1 -1
- package/dist/{fthry_useSalesforceSync.DeHRNtPg.js → fthry_useSalesforceSync.CXqC544h.js} +1 -1
- package/dist/{fthry_webfontloader.BLm92tir.js → fthry_webfontloader.n8GaR_jB.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/utils.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +4 -0
- package/dist/utils/internalState.d.ts.map +1 -1
- package/dist/utils/offlineRequestHandler.d.ts +6 -0
- package/dist/utils/offlineRequestHandler.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/542.f1dbbbb062e82a2995e9.js +1 -0
- package/umd/602.1fde434923c6596acd40.js +1 -0
- package/umd/AssistantChat.2f8dbf760e2412585af9.js +1 -0
- package/umd/DropdownField.36bb515df8083884f0f3.js +1 -0
- package/umd/index.js +1 -1
- package/cjs/fthry_highlighted-body-TPN3WLV5.DqSM8rfo.js +0 -12
- package/cjs/fthry_mermaid-O7DHMXV3.Bb5CnQy8.js +0 -12
- package/dist/fthry_mermaid-O7DHMXV3.Ho3m9Xli.js +0 -6
- package/umd/DropdownField.1d440e016d425637032d.js +0 -1
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.D6lPIiYE.js';
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.DeHRNtPg.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
|
-
import 'react-dom/client';
|
|
7
|
-
import 'jszip';
|
|
8
|
-
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.kW559CvO.js';
|
|
1
|
+
import { a as jsx, _ as __assign } from './fthry_index.CBlXw7TW.js';
|
|
10
2
|
|
|
11
3
|
var ae = [
|
|
12
4
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -1328,99 +1320,4 @@ function getStateOptions(country, shortcode, territories) {
|
|
|
1328
1320
|
});
|
|
1329
1321
|
}
|
|
1330
1322
|
|
|
1331
|
-
|
|
1332
|
-
var _b, _c, _d;
|
|
1333
|
-
var _e;
|
|
1334
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _f = _a.required, required = _f === void 0 ? false : _f, _g = _a.disabled, disabled = _g === void 0 ? false : _g, _h = _a.fieldVal, fieldVal = _h === void 0 ? '' : _h, _j = _a.repeatIndex, repeatIndex = _j === void 0 ? null : _j, _k = _a.countryCode, countryCode = _k === void 0 ? '' : _k, editMode = _a.editMode, rightToLeft = _a.rightToLeft, _l = _a.onChange, onChange = _l === void 0 ? function () { } : _l, _m = _a.setRef, setRef = _m === void 0 ? function () { } : _m, _o = _a.elementProps, elementProps = _o === void 0 ? {} : _o, children = _a.children;
|
|
1335
|
-
var _p = useBorder({
|
|
1336
|
-
element: element,
|
|
1337
|
-
error: inlineError,
|
|
1338
|
-
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
1339
|
-
}), borderStyles = _p.borderStyles, customBorder = _p.customBorder;
|
|
1340
|
-
var _q = __read(useState(false), 2), focused = _q[0], setFocused = _q[1];
|
|
1341
|
-
var _r = __read(useState(null), 2), curCountry = _r[0], setCurCountry = _r[1];
|
|
1342
|
-
var containerRef = useRef(null);
|
|
1343
|
-
var servar = element.servar;
|
|
1344
|
-
var short = servar.metadata.store_abbreviation;
|
|
1345
|
-
var _s = useSalesforceSync(servar.metadata.salesforce_sync, editMode), dynamicOptions = _s.dynamicOptions, loadingDynamicOptions = _s.loadingDynamicOptions, shouldSalesforceSync = _s.shouldSalesforceSync;
|
|
1346
|
-
useEffect(function () {
|
|
1347
|
-
if (servar.type === 'gmap_state') {
|
|
1348
|
-
var code = countryCode.toLowerCase() || servar.metadata.default_country;
|
|
1349
|
-
if (code && fieldVal && !hasState(code, fieldVal, short, true)) {
|
|
1350
|
-
fieldVal = '';
|
|
1351
|
-
onChange({ target: { value: fieldVal } });
|
|
1352
|
-
}
|
|
1353
|
-
setCurCountry(code || 'us');
|
|
1354
|
-
}
|
|
1355
|
-
}, [countryCode, setCurCountry]);
|
|
1356
|
-
var options;
|
|
1357
|
-
if (shouldSalesforceSync) {
|
|
1358
|
-
options = dynamicOptions.map(function (option) { return (jsx("option", __assign({ value: option.value }, { children: option.label }), option.value)); });
|
|
1359
|
-
}
|
|
1360
|
-
else if (servar.type === 'gmap_state') {
|
|
1361
|
-
if (curCountry === null)
|
|
1362
|
-
options = [];
|
|
1363
|
-
else if (fieldVal && !hasState(curCountry, fieldVal, short)) {
|
|
1364
|
-
// If user selected a country without states defined
|
|
1365
|
-
options = [
|
|
1366
|
-
jsx("option", __assign({ value: fieldVal }, { children: fieldVal }), fieldVal)
|
|
1367
|
-
];
|
|
1368
|
-
}
|
|
1369
|
-
else
|
|
1370
|
-
options = getStateOptions(curCountry, short, servar.metadata.include_territories);
|
|
1371
|
-
}
|
|
1372
|
-
else if (servar.type === 'gmap_country') {
|
|
1373
|
-
var translation_1 = element.properties.translate || {};
|
|
1374
|
-
options = countryData.map(function (_a) {
|
|
1375
|
-
var countryCode = _a.countryCode, countryName = _a.countryName;
|
|
1376
|
-
var val = servar.metadata.store_abbreviation
|
|
1377
|
-
? countryCode
|
|
1378
|
-
: countryName;
|
|
1379
|
-
var label = translation_1[countryCode] || countryName;
|
|
1380
|
-
return (jsx("option", __assign({ value: val }, { children: label }), countryCode));
|
|
1381
|
-
});
|
|
1382
|
-
}
|
|
1383
|
-
else {
|
|
1384
|
-
var labels_1 = servar.metadata.option_labels;
|
|
1385
|
-
var tooltips_1 = servar.metadata.option_tooltips;
|
|
1386
|
-
if (repeatIndex !== null && ((_e = servar.metadata.repeat_options) === null || _e === void 0 ? void 0 : _e[repeatIndex])) {
|
|
1387
|
-
var repeatOptions = servar.metadata.repeat_options[repeatIndex];
|
|
1388
|
-
options = repeatOptions.map(function (option) {
|
|
1389
|
-
var _a, _b, _c;
|
|
1390
|
-
var value = (_a = option.value) !== null && _a !== void 0 ? _a : option;
|
|
1391
|
-
var label = (_b = option.label) !== null && _b !== void 0 ? _b : option;
|
|
1392
|
-
var tooltip = (_c = option.tooltip) !== null && _c !== void 0 ? _c : '';
|
|
1393
|
-
return (jsx("option", __assign({ value: value, title: tooltip }, { children: label }), value));
|
|
1394
|
-
});
|
|
1395
|
-
}
|
|
1396
|
-
else {
|
|
1397
|
-
options = servar.metadata.options.map(function (option, index) {
|
|
1398
|
-
var _a, _b;
|
|
1399
|
-
var label = labels_1 && labels_1[index] ? labels_1[index] : option;
|
|
1400
|
-
var tooltip = (_a = tooltips_1 === null || tooltips_1 === void 0 ? void 0 : tooltips_1[index]) !== null && _a !== void 0 ? _a : '';
|
|
1401
|
-
var allVals = ((_b = fieldValues[servar.key]) !== null && _b !== void 0 ? _b : []);
|
|
1402
|
-
if (servar.repeated &&
|
|
1403
|
-
servar.metadata.unique_repeat_options &&
|
|
1404
|
-
option !== fieldVal &&
|
|
1405
|
-
allVals.includes(option))
|
|
1406
|
-
return null;
|
|
1407
|
-
return (jsx("option", __assign({ value: option, title: tooltip }, { children: label }), "".concat(index).concat(option)));
|
|
1408
|
-
});
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
var hasTooltip = !!element.properties.tooltipText;
|
|
1412
|
-
var chevronPosition = hasTooltip ? 30 : 10;
|
|
1413
|
-
responsiveStyles.applyFontStyles('field', !fieldVal);
|
|
1414
|
-
return (jsxs("div", __assign({ ref: containerRef, css: __assign({ maxWidth: '100%', width: '100%', height: '100%', position: 'relative', pointerEvents: editMode ? 'none' : 'auto' }, responsiveStyles.getTarget('fc')) }, elementProps, { children: [children, fieldLabel, jsxs("div", __assign({ css: __assign(__assign(__assign({ position: 'relative', width: '100%', whiteSpace: 'nowrap',
|
|
1415
|
-
// Prevent placeholder overflow
|
|
1416
|
-
overflowX: 'clip' }, responsiveStyles.getTarget('sub-fc')), (disabled ? responsiveStyles.getTarget('disabled') : {})), { '&:hover': hoverStylesGuard(disabled
|
|
1417
|
-
? {}
|
|
1418
|
-
: __assign(__assign({}, responsiveStyles.getTarget('hover')), borderStyles.hover)), '&&': focused
|
|
1419
|
-
? __assign(__assign({}, responsiveStyles.getTarget('active')), borderStyles.active) : {} }) }, { children: [jsx(Global, { styles: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n option {\n color: black;\n }\n "], ["\n option {\n color: black;\n }\n "]))) }), customBorder, jsxs("select", __assign({ css: __assign(__assign(__assign({}, resetStyles), responsiveStyles.getTarget('field')), (_b = { width: '100%', height: '100%', border: 'none', margin: 0, boxShadow: 'none', backgroundColor: 'transparent', appearance: 'none', WebkitAppearance: 'none', MozAppearance: 'none', backgroundImage: "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M0 0.776454L0.970744 0L5 4.2094L9.02926 0L10 0.776454L5 6L0 0.776454Z' fill='%23".concat(element.styles.font_color, "'/></svg>\")"), backgroundRepeat: 'no-repeat', backgroundPosition: "".concat(rightToLeft ? 'left' : 'right', " ").concat(chevronPosition, "px center") }, _b[rightToLeft ? 'paddingLeft' : 'paddingRight'] = 30, _b.position = 'relative', _b)), id: servar.key, value: fieldVal !== null && fieldVal !== void 0 ? fieldVal : '', required: required, disabled: disabled || loadingDynamicOptions, "aria-label": element.properties.aria_label, onChange: onChange, onFocus: function (event) {
|
|
1420
|
-
setFocused(true);
|
|
1421
|
-
iosScrollOnFocus(event);
|
|
1422
|
-
}, onBlur: function () { return setFocused(false); }, ref: setRef }, { children: [jsx("option", { value: '', disabled: required }, ''), options] })), jsx("span", __assign({ css: __assign(__assign(__assign((_c = { position: 'absolute', pointerEvents: 'none' }, _c[rightToLeft ? 'right' : 'left'] = '0.75rem', _c.transition = '0.2s ease all', _c.top = '50%', _c), responsiveStyles.getTarget('placeholder')), (fieldVal ? responsiveStyles.getTarget('placeholderFocus') : {})), (_d = {}, _d["input:focus + &"] = __assign(__assign({}, responsiveStyles.getTarget('placeholderFocus')), responsiveStyles.getTarget('placeholderActive')), _d)) }, { children: element.properties.placeholder || '' })), jsx(InlineTooltip, { containerRef: containerRef, id: element.id, text: element.properties.tooltipText, responsiveStyles: responsiveStyles, repeat: element.repeat })] }))] })));
|
|
1423
|
-
}
|
|
1424
|
-
var templateObject_1;
|
|
1425
|
-
|
|
1426
|
-
export { DropdownField as default };
|
|
1323
|
+
export { getStateOptions as g, hasState as h, stateMap as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CBlXw7TW.js';
|
|
2
|
+
import { useState, useRef, useEffect } from 'react';
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.HYGB8l2S.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.CQOONMqP.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CXqC544h.js';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
7
|
+
import 'react-dom/client';
|
|
8
|
+
import 'jszip';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import './fthry_Overlay.DndK3JOJ.js';
|
|
11
|
+
|
|
12
|
+
function DropdownField(_a) {
|
|
13
|
+
var _b, _c, _d;
|
|
14
|
+
var _e;
|
|
15
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _f = _a.required, required = _f === void 0 ? false : _f, _g = _a.disabled, disabled = _g === void 0 ? false : _g, _h = _a.fieldVal, fieldVal = _h === void 0 ? '' : _h, _j = _a.repeatIndex, repeatIndex = _j === void 0 ? null : _j, _k = _a.countryCode, countryCode = _k === void 0 ? '' : _k, editMode = _a.editMode, rightToLeft = _a.rightToLeft, _l = _a.onChange, onChange = _l === void 0 ? function () { } : _l, _m = _a.setRef, setRef = _m === void 0 ? function () { } : _m, _o = _a.elementProps, elementProps = _o === void 0 ? {} : _o, children = _a.children;
|
|
16
|
+
var _p = useBorder({
|
|
17
|
+
element: element,
|
|
18
|
+
error: inlineError,
|
|
19
|
+
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
20
|
+
}), borderStyles = _p.borderStyles, customBorder = _p.customBorder;
|
|
21
|
+
var _q = __read(useState(false), 2), focused = _q[0], setFocused = _q[1];
|
|
22
|
+
var _r = __read(useState(null), 2), curCountry = _r[0], setCurCountry = _r[1];
|
|
23
|
+
var containerRef = useRef(null);
|
|
24
|
+
var servar = element.servar;
|
|
25
|
+
var short = servar.metadata.store_abbreviation;
|
|
26
|
+
var _s = useSalesforceSync(servar.metadata.salesforce_sync, editMode), dynamicOptions = _s.dynamicOptions, loadingDynamicOptions = _s.loadingDynamicOptions, shouldSalesforceSync = _s.shouldSalesforceSync;
|
|
27
|
+
useEffect(function () {
|
|
28
|
+
if (servar.type === 'gmap_state') {
|
|
29
|
+
var code = countryCode.toLowerCase() || servar.metadata.default_country;
|
|
30
|
+
if (code && fieldVal && !hasState(code, fieldVal, short, true)) {
|
|
31
|
+
fieldVal = '';
|
|
32
|
+
onChange({ target: { value: fieldVal } });
|
|
33
|
+
}
|
|
34
|
+
setCurCountry(code || 'us');
|
|
35
|
+
}
|
|
36
|
+
}, [countryCode, setCurCountry]);
|
|
37
|
+
var options;
|
|
38
|
+
if (shouldSalesforceSync) {
|
|
39
|
+
options = dynamicOptions.map(function (option) { return (jsx("option", __assign({ value: option.value }, { children: option.label }), option.value)); });
|
|
40
|
+
}
|
|
41
|
+
else if (servar.type === 'gmap_state') {
|
|
42
|
+
if (curCountry === null)
|
|
43
|
+
options = [];
|
|
44
|
+
else if (fieldVal && !hasState(curCountry, fieldVal, short)) {
|
|
45
|
+
// If user selected a country without states defined
|
|
46
|
+
options = [
|
|
47
|
+
jsx("option", __assign({ value: fieldVal }, { children: fieldVal }), fieldVal)
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
else
|
|
51
|
+
options = getStateOptions(curCountry, short, servar.metadata.include_territories);
|
|
52
|
+
}
|
|
53
|
+
else if (servar.type === 'gmap_country') {
|
|
54
|
+
var translation_1 = element.properties.translate || {};
|
|
55
|
+
options = countryData.map(function (_a) {
|
|
56
|
+
var countryCode = _a.countryCode, countryName = _a.countryName;
|
|
57
|
+
var val = servar.metadata.store_abbreviation
|
|
58
|
+
? countryCode
|
|
59
|
+
: countryName;
|
|
60
|
+
var label = translation_1[countryCode] || countryName;
|
|
61
|
+
return (jsx("option", __assign({ value: val }, { children: label }), countryCode));
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
var labels_1 = servar.metadata.option_labels;
|
|
66
|
+
var tooltips_1 = servar.metadata.option_tooltips;
|
|
67
|
+
if (repeatIndex !== null && ((_e = servar.metadata.repeat_options) === null || _e === void 0 ? void 0 : _e[repeatIndex])) {
|
|
68
|
+
var repeatOptions = servar.metadata.repeat_options[repeatIndex];
|
|
69
|
+
options = repeatOptions.map(function (option) {
|
|
70
|
+
var _a, _b, _c;
|
|
71
|
+
var value = (_a = option.value) !== null && _a !== void 0 ? _a : option;
|
|
72
|
+
var label = (_b = option.label) !== null && _b !== void 0 ? _b : option;
|
|
73
|
+
var tooltip = (_c = option.tooltip) !== null && _c !== void 0 ? _c : '';
|
|
74
|
+
return (jsx("option", __assign({ value: value, title: tooltip }, { children: label }), value));
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
options = servar.metadata.options.map(function (option, index) {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
var label = labels_1 && labels_1[index] ? labels_1[index] : option;
|
|
81
|
+
var tooltip = (_a = tooltips_1 === null || tooltips_1 === void 0 ? void 0 : tooltips_1[index]) !== null && _a !== void 0 ? _a : '';
|
|
82
|
+
var allVals = ((_b = fieldValues[servar.key]) !== null && _b !== void 0 ? _b : []);
|
|
83
|
+
if (servar.repeated &&
|
|
84
|
+
servar.metadata.unique_repeat_options &&
|
|
85
|
+
option !== fieldVal &&
|
|
86
|
+
allVals.includes(option))
|
|
87
|
+
return null;
|
|
88
|
+
return (jsx("option", __assign({ value: option, title: tooltip }, { children: label }), "".concat(index).concat(option)));
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
var hasTooltip = !!element.properties.tooltipText;
|
|
93
|
+
var chevronPosition = hasTooltip ? 30 : 10;
|
|
94
|
+
responsiveStyles.applyFontStyles('field', !fieldVal);
|
|
95
|
+
return (jsxs("div", __assign({ ref: containerRef, css: __assign({ maxWidth: '100%', width: '100%', height: '100%', position: 'relative', pointerEvents: editMode ? 'none' : 'auto' }, responsiveStyles.getTarget('fc')) }, elementProps, { children: [children, fieldLabel, jsxs("div", __assign({ css: __assign(__assign(__assign({ position: 'relative', width: '100%', whiteSpace: 'nowrap',
|
|
96
|
+
// Prevent placeholder overflow
|
|
97
|
+
overflowX: 'clip' }, responsiveStyles.getTarget('sub-fc')), (disabled ? responsiveStyles.getTarget('disabled') : {})), { '&:hover': hoverStylesGuard(disabled
|
|
98
|
+
? {}
|
|
99
|
+
: __assign(__assign({}, responsiveStyles.getTarget('hover')), borderStyles.hover)), '&&': focused
|
|
100
|
+
? __assign(__assign({}, responsiveStyles.getTarget('active')), borderStyles.active) : {} }) }, { children: [jsx(Global, { styles: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n option {\n color: black;\n }\n "], ["\n option {\n color: black;\n }\n "]))) }), customBorder, jsxs("select", __assign({ css: __assign(__assign(__assign({}, resetStyles), responsiveStyles.getTarget('field')), (_b = { width: '100%', height: '100%', border: 'none', margin: 0, boxShadow: 'none', backgroundColor: 'transparent', appearance: 'none', WebkitAppearance: 'none', MozAppearance: 'none', backgroundImage: "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M0 0.776454L0.970744 0L5 4.2094L9.02926 0L10 0.776454L5 6L0 0.776454Z' fill='%23".concat(element.styles.font_color, "'/></svg>\")"), backgroundRepeat: 'no-repeat', backgroundPosition: "".concat(rightToLeft ? 'left' : 'right', " ").concat(chevronPosition, "px center") }, _b[rightToLeft ? 'paddingLeft' : 'paddingRight'] = 30, _b.position = 'relative', _b)), id: servar.key, value: fieldVal !== null && fieldVal !== void 0 ? fieldVal : '', required: required, disabled: disabled || loadingDynamicOptions, "aria-label": element.properties.aria_label, onChange: onChange, onFocus: function (event) {
|
|
101
|
+
setFocused(true);
|
|
102
|
+
iosScrollOnFocus(event);
|
|
103
|
+
}, onBlur: function () { return setFocused(false); }, ref: setRef }, { children: [jsx("option", { value: '', disabled: required }, ''), options] })), jsx("span", __assign({ css: __assign(__assign(__assign((_c = { position: 'absolute', pointerEvents: 'none' }, _c[rightToLeft ? 'right' : 'left'] = '0.75rem', _c.transition = '0.2s ease all', _c.top = '50%', _c), responsiveStyles.getTarget('placeholder')), (fieldVal ? responsiveStyles.getTarget('placeholderFocus') : {})), (_d = {}, _d["input:focus + &"] = __assign(__assign({}, responsiveStyles.getTarget('placeholderFocus')), responsiveStyles.getTarget('placeholderActive')), _d)) }, { children: element.properties.placeholder || '' })), jsx(InlineTooltip, { containerRef: containerRef, id: element.id, text: element.properties.tooltipText, responsiveStyles: responsiveStyles, repeat: element.repeat })] }))] })));
|
|
104
|
+
}
|
|
105
|
+
var templateObject_1;
|
|
106
|
+
|
|
107
|
+
export { DropdownField as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.CBlXw7TW.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.BRzhfZ1W.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.HYGB8l2S.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.Cccxpke2.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.DndK3JOJ.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign,
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __read, u as useBorder, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, r as resetStyles } from './fthry_index.CBlXw7TW.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.BRzhfZ1W.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.HYGB8l2S.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.DndK3JOJ.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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.CBlXw7TW.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.BfM6iy4Q.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.CBlXw7TW.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.DndK3JOJ.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.-9Pe_RZJ.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.CBlXw7TW.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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as stringify, a3 as rulesheet, a4 as COMMENT, a5 as middleware, a6 as RULESET, a7 as combine, a8 as match, a9 as serialize, aa as copy, ab as replace, ac as WEBKIT, ad as MOZ, ae as MS, af as KEYFRAMES, ag as DECLARATION, ah as dealloc, ai as alloc, aj as hash, ak as charat, al as strlen, am as indexof, an as next, ao as token, ap as from, aq as peek, ar as delimit, as as slice, at as position, au as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.CBlXw7TW.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.HYGB8l2S.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.BRzhfZ1W.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CXqC544h.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.DndK3JOJ.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CBlXw7TW.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.VJETpF2_.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.-9Pe_RZJ.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.HYGB8l2S.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CXqC544h.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.DndK3JOJ.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { u as Mermaid } from './fthry_AssistantChat.BpIazy4D.js';
|
|
2
|
+
import './fthry_index.CBlXw7TW.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'react';
|
|
5
|
+
import 'react-dom/client';
|
|
6
|
+
import 'jszip';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import './fthry_clsx.ChV9xqsO.js';
|
|
9
|
+
import './fthry_index.CQOONMqP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Y as cls, j as jsxs, q as Fragment, a as jsx, G as Global, e as css, g as __makeTemplateObject } from './fthry_index.CBlXw7TW.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { OPERATOR_CODE } from './utils/logic';
|
|
|
6
6
|
import { FormContext } from './types/Form';
|
|
7
7
|
import LoginForm from './auth/LoginForm';
|
|
8
8
|
import useAuthClient from './auth/useAuthClient';
|
|
9
|
-
import AssistantChat from './assistant';
|
|
9
|
+
import { AssistantChat } from './assistant';
|
|
10
10
|
import './utils/polyfills';
|
|
11
11
|
/**
|
|
12
12
|
* Utility function which renders a form with the provided props in the DOM element with the provided ID.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,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AC3C,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aM as AssistantChat, aE as Elements, aN as Feathery, aD as Form, aK as LoginForm, aO as StyledContainer, aI as getFieldValues, aF as init, aJ as renderAt, ay as setFieldValues, aH as updateTheme, aG as updateUserId, aL as useAuthClient } from './fthry_index.CBlXw7TW.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/utils.ts"],"names":[],"mappings":"AAMA,wBAAgB,kBAAkB,SAQjC;AAED,wBAAgB,6BAA6B,CAAC,YAAY,CAAC,EAAE,MAAM,QASlE"}
|
|
@@ -5,6 +5,8 @@ import SimplifiedProduct from '../integrations/stripe/SimplifiedProduct';
|
|
|
5
5
|
import Cart from '../integrations/stripe/Cart';
|
|
6
6
|
import Collaborator from './entities/Collaborator';
|
|
7
7
|
import FeatheryClient from './featheryClient';
|
|
8
|
+
import { LogicRule } from '../types/Form';
|
|
9
|
+
import AssistantClient from '../assistant/AssistantClient';
|
|
8
10
|
import { ExtractionActionOptions, FillQuikParams, ForwardInboxEmailOptions, PageSelectionInput } from '@feathery/client-utils';
|
|
9
11
|
export declare type AlloyEntities = Record<string, any>[];
|
|
10
12
|
export declare type LoanProCustomerObject = Record<string, any>;
|
|
@@ -34,6 +36,8 @@ export interface FormInternalState {
|
|
|
34
36
|
currentStep: any;
|
|
35
37
|
previousStepName: string;
|
|
36
38
|
visiblePositions: any;
|
|
39
|
+
logicRules?: LogicRule[];
|
|
40
|
+
assistantClient?: AssistantClient;
|
|
37
41
|
client: FeatheryClient;
|
|
38
42
|
formName: string;
|
|
39
43
|
formId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internalState.d.ts","sourceRoot":"","sources":["../../src/utils/internalState.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AACzE,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,oBAAY,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;AAClD,oBAAY,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACxD,oBAAY,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,oBAAY,SAAS,GAAG,CAAC,EACvB,MAAM,EACN,IAAI,EACJ,MAAM,EACP,EAAE,eAAe,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AACtD,aAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,EAAE,CAA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,CAAC;IACtC,eAAe,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,uBAAuB,GAAG,OAAO,EAC1C,KAAK,CAAC,EAAE,kBAAkB,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrC,iBAAiB,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,aAAa,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,oBAAoB,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,mBAAmB,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACzE,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,aAAK,aAAa,GAAG;IACnB,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAAC;CACvC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,aAAkB,CAAC;AAIxC,eAAO,MAAM,oBAAoB,aACrB,MAAM,eACH,OAAO,MAAM,EAAE,GAAG,CAAC,qBACd,MAAM,EAAE,sBA0B3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -12,6 +12,12 @@ interface RequestMetadata {
|
|
|
12
12
|
fieldKey?: string;
|
|
13
13
|
preserveStepRequests?: boolean;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* navigator.onLine can return false negatives in some browsers/environments.
|
|
17
|
+
* When it reports offline, probe the network directly before trusting it.
|
|
18
|
+
* Results are cached for 3 s and concurrent calls share one in-flight probe.
|
|
19
|
+
*/
|
|
20
|
+
export declare function verifyConnectivity(): Promise<boolean>;
|
|
15
21
|
export declare const untrackUnload: (force?: boolean) => void;
|
|
16
22
|
export declare const markFileUploadRetrySuccess: (fieldKey?: string) => void;
|
|
17
23
|
export declare const markFileUploadRetryFailure: (fieldKey?: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offlineRequestHandler.d.ts","sourceRoot":"","sources":["../../src/utils/offlineRequestHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AAmBnD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACpC,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAOD,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;
|
|
1
|
+
{"version":3,"file":"offlineRequestHandler.d.ts","sourceRoot":"","sources":["../../src/utils/offlineRequestHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AAmBnD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACpC,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAOD,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAsBD;;;;GAIG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,OAAO,CAAC,CAmC3D;AAmBD,eAAO,MAAM,aAAa,2BAOzB,CAAC;AAEF,eAAO,MAAM,0BAA0B,cAAe,MAAM,SAE3D,CAAC;AAEF,eAAO,MAAM,0BAA0B,cAAe,MAAM,SAE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