@feathery/react 2.39.0 → 2.39.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/grid/Element/index.d.ts.map +1 -1
- package/cjs/Form/grid/StyledContainer/index.d.ts +2 -1
- package/cjs/Form/grid/StyledContainer/index.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SegmentBar.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SegmentBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SmoothBar.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/SmoothBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts +18 -0
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -0
- package/cjs/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.L8QqDrZ9.js → fthry_AssistantChat.BSp_EiFF.js} +4 -4
- package/cjs/{fthry_FormControl.B6IeQ4Ds.js → fthry_FormControl.BAz8KMLW.js} +1 -1
- package/cjs/{fthry_InlineTooltip.CHwGV2ye.js → fthry_InlineTooltip.CDXkipwb.js} +2 -2
- package/cjs/{fthry_Overlay.BApTL35K.js → fthry_Overlay.wuNAvqeJ.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.B4dRDX90.js → fthry_PaymentMethodField.DnxZBq-w.js} +4 -4
- package/cjs/{fthry_Placeholder.DWR5nO5t.js → fthry_Placeholder.DrHFBOh_.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.CrWpuKPG.js → fthry_ShowEyeIcon._6ksHPwN.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.CIRngtHJ.js → fthry_highlighted-body-TPN3WLV5.Dp-fvL7C.js} +3 -3
- package/cjs/{fthry_index.IxpG538L.js → fthry_index.4ZXR8SL9.js} +1 -1
- package/cjs/{fthry_index.Dly0rruo.js → fthry_index.B5Xu12yG.js} +1 -1
- package/cjs/{fthry_index.CLqeg1q-.js → fthry_index.B6SQDsIY.js} +5 -5
- package/cjs/{fthry_index.Ca9y1U8W.js → fthry_index.BBXxFT_O.js} +1 -1
- package/cjs/{fthry_index.CaQDsoPD.js → fthry_index.BJajJHtH.js} +166 -56
- package/cjs/{fthry_index.qxBbMcVu.js → fthry_index.BYvA3D_3.js} +6 -6
- package/cjs/{fthry_index.YyKms2Ty.js → fthry_index.BghdBLn4.js} +5 -5
- package/cjs/{fthry_index.7DwrYriA.js → fthry_index.BghgBPkl.js} +8 -8
- package/cjs/{fthry_index.DYCg5RsQ.js → fthry_index.BwalT1tQ.js} +3 -3
- package/cjs/{fthry_index.BBz67wEv.js → fthry_index.CsDimu__.js} +5 -5
- package/cjs/{fthry_index.TVlALn4r.js → fthry_index.CuXaIMn3.js} +1 -1
- package/cjs/{fthry_index.D7IlFInQ.js → fthry_index.D7xRatdF.js} +2 -2
- package/cjs/{fthry_index.fFWtGd8u.js → fthry_index.DOYQzCXH.js} +1 -1
- package/cjs/{fthry_index.BEpOYeuD.js → fthry_index.DSyEDydJ.js} +4 -4
- package/cjs/{fthry_index.Bq4ONiuv.js → fthry_index.DUkqZ-as.js} +1 -1
- package/cjs/{fthry_index.C7zyqnbf.js → fthry_index.DY9ygk0Y.js} +5 -5
- package/cjs/{fthry_index.BxTMSKYR.js → fthry_index.DcCOWhoL.js} +6 -6
- package/cjs/{fthry_index.Bde3s5tl.js → fthry_index.DgNpj-sZ.js} +5 -5
- package/cjs/{fthry_index.BVr4Lcyo.js → fthry_index.DnBxm6I1.js} +1 -1
- package/cjs/{fthry_index.CznkErSr.js → fthry_index.DzDA3IX8.js} +6 -6
- package/cjs/{fthry_index.B9CMlFfK.js → fthry_index.E7LuB_Ph.js} +2 -2
- package/cjs/{fthry_index.BwxSWwJZ.js → fthry_index.Ms9sGsox.js} +3 -3
- package/cjs/{fthry_index.Dl1GeWM6.js → fthry_index.XCniPDI8.js} +4 -4
- package/cjs/{fthry_index.xHwcINEA.js → fthry_index.o-LtLkoE.js} +1 -1
- package/cjs/{fthry_index.DKe_zH6q.js → fthry_index.s_5Chdtm.js} +1 -1
- package/cjs/{fthry_input.C-RhGr8Z.js → fthry_input.nJV_eL13.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.B40IiwEd.js → fthry_mermaid-O7DHMXV3.BR_o8JHL.js} +3 -3
- package/cjs/{fthry_script.BUzm9HxD.js → fthry_script.CUBMT4WF.js} +1 -1
- package/cjs/{fthry_styles.BD-5zYX4.js → fthry_styles.BGX0fC61.js} +1 -1
- package/cjs/{fthry_useElementSize.7Vh9Fjsi.js → fthry_useElementSize.Dcu30O6B.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.BYr2Zkyy.js → fthry_useSalesforceSync.BNT_mind.js} +1 -1
- package/cjs/{fthry_webfontloader.B3eO9SnD.js → fthry_webfontloader.DGAKZE20.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/Form/grid/StyledContainer/index.d.ts +2 -1
- package/dist/Form/grid/StyledContainer/index.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SegmentBar.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SegmentBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SmoothBar.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/components/SmoothBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts +18 -0
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -0
- package/dist/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.B4O7bQrp.js → fthry_AssistantChat.884z0Zp7.js} +4 -4
- package/dist/{fthry_FormControl.BEWaNHn3.js → fthry_FormControl.CTESUYeJ.js} +1 -1
- package/dist/{fthry_InlineTooltip.CP92bAZA.js → fthry_InlineTooltip.nfGgJEKf.js} +2 -2
- package/dist/{fthry_Overlay.D_UvdjmJ.js → fthry_Overlay.DnqeyVo3.js} +1 -1
- package/dist/{fthry_PaymentMethodField.BiBx9LjH.js → fthry_PaymentMethodField.BebObmRD.js} +4 -4
- package/dist/{fthry_Placeholder.CsY-scXc.js → fthry_Placeholder.DCCeoyfo.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CN_11GCA.js → fthry_ShowEyeIcon.CgAZDJB7.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.B91Jtsra.js → fthry_highlighted-body-TPN3WLV5.D42jF_vF.js} +3 -3
- package/dist/{fthry_index.DTkLn4V9.js → fthry_index.75rkS5d5.js} +3 -3
- package/dist/{fthry_index.slanwBPP.js → fthry_index.B7XCRUoo.js} +1 -1
- package/dist/{fthry_index.k6djaqmS.js → fthry_index.BIx1vkLQ.js} +2 -2
- package/dist/{fthry_index.W8pRYyDi.js → fthry_index.B_5l52vt.js} +6 -6
- package/dist/{fthry_index.CRbJuR5X.js → fthry_index.Bc-4LJH9.js} +6 -6
- package/dist/{fthry_index.BitwCfs0.js → fthry_index.BiCTg964.js} +1 -1
- package/dist/{fthry_index.DJwLQi_x.js → fthry_index.By7AocA5.js} +1 -1
- package/dist/{fthry_index.w7Nx6zNo.js → fthry_index.C0pEDMdM.js} +1 -1
- package/dist/{fthry_index.CUa6fIIV.js → fthry_index.CApxuM0r.js} +8 -8
- package/dist/{fthry_index.BXAOPQ-N.js → fthry_index.CCS5seyf.js} +5 -5
- package/dist/{fthry_index.BqX45OG8.js → fthry_index.CJOc-fiI.js} +3 -3
- package/dist/{fthry_index.ebPmN15E.js → fthry_index.COTa1fqp.js} +4 -4
- package/dist/{fthry_index.BK2Hnx9K.js → fthry_index.CTKw49iT.js} +1 -1
- package/dist/{fthry_index.CCXpngi5.js → fthry_index.CrCg7lJr.js} +5 -5
- package/dist/{fthry_index.D5kSN9-t.js → fthry_index.CvPGodEw.js} +1 -1
- package/dist/{fthry_index.BwsOm7hb.js → fthry_index.CzqvVKao.js} +5 -5
- package/dist/{fthry_index.BFwgxX3L.js → fthry_index.DNIBLjwI.js} +5 -5
- package/dist/{fthry_index.DtBZRH06.js → fthry_index.DPHqqGOo.js} +5 -5
- package/dist/{fthry_index.DgVE4qW7.js → fthry_index.DeeoucaO.js} +166 -56
- package/dist/{fthry_index.DHr6yAT3.js → fthry_index.Diz_2Nyp.js} +6 -6
- package/dist/{fthry_index.BYoImnvU.js → fthry_index.DlskLXaD.js} +1 -1
- package/dist/{fthry_index.OjuYAGjs.js → fthry_index.I0vC5XAf.js} +1 -1
- package/dist/{fthry_index.tw8xNWZc.js → fthry_index.KgxY79Zs.js} +2 -2
- package/dist/{fthry_index.DUEiyRBT.js → fthry_index.NeC1jkrE.js} +4 -4
- package/dist/{fthry_index.CNjt1dpv.js → fthry_index.YZT4cLIz.js} +1 -1
- package/dist/{fthry_input.D94H5xWk.js → fthry_input.D7VVukkT.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.D_D0ytjk.js → fthry_mermaid-O7DHMXV3.DSccfc1D.js} +3 -3
- package/dist/{fthry_script.C4MOLOaj.js → fthry_script.6jrHgqMU.js} +1 -1
- package/dist/{fthry_styles.BQL5_8xd.js → fthry_styles.T5bAbNxN.js} +1 -1
- package/dist/{fthry_useElementSize.C7pCjEY0.js → fthry_useElementSize.B8cKWlMG.js} +1 -1
- package/dist/{fthry_useSalesforceSync.Bj6SvTIc.js → fthry_useSalesforceSync.BafOPFGx.js} +1 -1
- package/dist/{fthry_webfontloader.CT2fb2Df.js → fthry_webfontloader.CF84T5ds.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -21092,7 +21092,7 @@ var Element$1 = function (_a) {
|
|
|
21092
21092
|
if (elementOnView && onViewElements.includes(fieldId))
|
|
21093
21093
|
basicProps.onView = function (inView) { return elementOnView(fieldId, inView); };
|
|
21094
21094
|
if (type === 'progress_bar')
|
|
21095
|
-
return (jsx$1(Elements.ProgressBarElement, __assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth })));
|
|
21095
|
+
return (jsx$1(Elements.ProgressBarElement, __assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth, stepKey: activeStep === null || activeStep === void 0 ? void 0 : activeStep.key, changeStep: form.changeStep })));
|
|
21096
21096
|
else if (type === 'image')
|
|
21097
21097
|
return jsx$1(Elements.ImageElement, __assign({}, basicProps));
|
|
21098
21098
|
else if (type === 'video')
|
|
@@ -22174,12 +22174,6 @@ var ShadowDomHtmlContent = function (_a) {
|
|
|
22174
22174
|
} }));
|
|
22175
22175
|
};
|
|
22176
22176
|
|
|
22177
|
-
/**
|
|
22178
|
-
* StyledContainer
|
|
22179
|
-
* This component applies all of the style properties to "Containers" which are used
|
|
22180
|
-
* around elements and other "Containers". This component is used by both hosted forms
|
|
22181
|
-
* and the editor to render "Containers".
|
|
22182
|
-
*/
|
|
22183
22177
|
var StyledContainer = forwardRef(function (_a, ref) {
|
|
22184
22178
|
var _b, _c, _d, _e;
|
|
22185
22179
|
var _node = _a.node, raw = _a.raw, _f = _a.css, css = _f === void 0 ? {} : _f, viewport = _a.viewport, component = _a.component, _children = _a.children, className = _a.className, _g = _a.viewportOnly, viewportOnly = _g === void 0 ? false : _g, _h = _a.editMode, editMode = _h === void 0 ? false : _h, breakpoint = _a.breakpoint, props = __rest$1(_a, ["node", "raw", "css", "viewport", "component", "children", "className", "viewportOnly", "editMode", "breakpoint"]);
|
|
@@ -39695,7 +39689,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
39695
39689
|
}, [activeStep, stepKey, formName]);
|
|
39696
39690
|
}
|
|
39697
39691
|
|
|
39698
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
39692
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.884z0Zp7.js').then(function (n) { return n.A; }); });
|
|
39699
39693
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
39700
39694
|
|
|
39701
39695
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -46293,9 +46287,9 @@ function init(sdkKey, options) {
|
|
|
46293
46287
|
if (runningInClient()) {
|
|
46294
46288
|
// Dynamically load libraries that must be client side
|
|
46295
46289
|
global.scriptjsLoadPromise = import(
|
|
46296
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46290
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.6jrHgqMU.js').then(function (n) { return n.s; });
|
|
46297
46291
|
global.webfontloaderPromise = import(
|
|
46298
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46292
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CF84T5ds.js').then(function (n) { return n.w; });
|
|
46299
46293
|
// Client-side tracking logic
|
|
46300
46294
|
if (initState.userTracking === 'cookie') {
|
|
46301
46295
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46441,7 +46435,7 @@ function getFieldValues() {
|
|
|
46441
46435
|
return __assign({}, fieldValues);
|
|
46442
46436
|
}
|
|
46443
46437
|
function logFeatheryBadge() {
|
|
46444
|
-
console.log('%c Feathery %c v' + "2.39.
|
|
46438
|
+
console.log('%c Feathery %c v' + "2.39.2" + ' ', // replaced with real version during build
|
|
46445
46439
|
'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;');
|
|
46446
46440
|
}
|
|
46447
46441
|
|
|
@@ -47956,64 +47950,64 @@ breakpoint) {
|
|
|
47956
47950
|
|
|
47957
47951
|
var fieldLoaders = {
|
|
47958
47952
|
AddressLine1: function () {
|
|
47959
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47953
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.CCS5seyf.js');
|
|
47960
47954
|
},
|
|
47961
47955
|
ButtonGroupField: function () {
|
|
47962
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47956
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.COTa1fqp.js');
|
|
47963
47957
|
},
|
|
47964
47958
|
CheckboxField: function () {
|
|
47965
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47959
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.CTKw49iT.js');
|
|
47966
47960
|
},
|
|
47967
47961
|
CheckboxGroupField: function () {
|
|
47968
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47962
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Diz_2Nyp.js');
|
|
47969
47963
|
},
|
|
47970
47964
|
ColorPickerField: function () {
|
|
47971
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47965
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BiCTg964.js');
|
|
47972
47966
|
},
|
|
47973
47967
|
CustomField: function () {
|
|
47974
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47968
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.B7XCRUoo.js');
|
|
47975
47969
|
},
|
|
47976
47970
|
DateSelectorField: function () {
|
|
47977
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47971
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.Bc-4LJH9.js');
|
|
47978
47972
|
},
|
|
47979
47973
|
DropdownField: function () {
|
|
47980
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47974
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DNIBLjwI.js');
|
|
47981
47975
|
},
|
|
47982
47976
|
DropdownMultiField: function () {
|
|
47983
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47977
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.CrCg7lJr.js');
|
|
47984
47978
|
},
|
|
47985
47979
|
FileUploadField: function () {
|
|
47986
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47980
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.I0vC5XAf.js');
|
|
47987
47981
|
},
|
|
47988
47982
|
MatrixField: function () {
|
|
47989
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47983
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CJOc-fiI.js');
|
|
47990
47984
|
},
|
|
47991
47985
|
PasswordField: function () {
|
|
47992
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47986
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.CzqvVKao.js');
|
|
47993
47987
|
},
|
|
47994
47988
|
PaymentMethodField: function () {
|
|
47995
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47989
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BebObmRD.js');
|
|
47996
47990
|
},
|
|
47997
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47991
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.DPHqqGOo.js'); },
|
|
47998
47992
|
PinInputField: function () {
|
|
47999
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47993
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.C0pEDMdM.js');
|
|
48000
47994
|
},
|
|
48001
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47995
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.KgxY79Zs.js'); },
|
|
48002
47996
|
RadioButtonGroupField: function () {
|
|
48003
47997
|
return import(
|
|
48004
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47998
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.B_5l52vt.js');
|
|
48005
47999
|
},
|
|
48006
48000
|
RatingField: function () {
|
|
48007
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
48001
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.YZT4cLIz.js');
|
|
48008
48002
|
},
|
|
48009
48003
|
SignatureField: function () {
|
|
48010
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
48004
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.75rkS5d5.js');
|
|
48011
48005
|
},
|
|
48012
48006
|
SliderField: function () {
|
|
48013
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
48007
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.BIx1vkLQ.js');
|
|
48014
48008
|
},
|
|
48015
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
48016
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
48009
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.CApxuM0r.js'); },
|
|
48010
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.NeC1jkrE.js'); }
|
|
48017
48011
|
};
|
|
48018
48012
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
48019
48013
|
// Share the resolved component between preload and render. A separate
|
|
@@ -48871,33 +48865,135 @@ function ButtonElement(_a) {
|
|
|
48871
48865
|
|
|
48872
48866
|
var formerProgress;
|
|
48873
48867
|
function SmoothBar(_a) {
|
|
48874
|
-
var
|
|
48875
|
-
var
|
|
48868
|
+
var _b, _c;
|
|
48869
|
+
var styles = _a.styles, percent = _a.percent, _d = _a.vertical, vertical = _d === void 0 ? false : _d;
|
|
48870
|
+
var _e = __read(useState(formerProgress), 2), curProgress = _e[0], setCurProgress = _e[1];
|
|
48876
48871
|
useEffect(function () {
|
|
48877
|
-
// This allows the user to see a smooth progress bar animation from former progress amount to current amount
|
|
48878
48872
|
if (percent !== curProgress) {
|
|
48879
48873
|
setCurProgress(percent);
|
|
48880
48874
|
formerProgress = percent;
|
|
48881
48875
|
}
|
|
48882
48876
|
}, [percent]);
|
|
48883
|
-
|
|
48877
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48878
|
+
var crossDim = vertical ? 'width' : 'height';
|
|
48879
|
+
return (jsx$1("div", __assign({ css: __assign((_b = {}, _b[crossDim] = '0.4rem', _b[mainDim] = '100%', _b.flexDirection = vertical ? 'column-reverse' : undefined, _b.borderRadius = 0, _b.display = 'flex', _b.backgroundColor = '#e9ecef', _b), styles.getTarget('barWrapper')) }, { children: jsx$1("div", { style: (_c = {}, _c[mainDim] = "".concat(curProgress, "%"), _c), css: __assign(__assign({ transition: "".concat(mainDim, " 0.6s ease") }, styles.getTarget('barWrapper', true)), styles.getTarget('bar')) }) })));
|
|
48884
48880
|
}
|
|
48885
48881
|
|
|
48886
48882
|
function SegmentBar(_a) {
|
|
48887
|
-
var
|
|
48883
|
+
var _b, _c;
|
|
48884
|
+
var styles = _a.styles, percent = _a.percent, numSegments = _a.numSegments, _d = _a.vertical, vertical = _d === void 0 ? false : _d;
|
|
48885
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48886
|
+
var crossDim = vertical ? 'width' : 'height';
|
|
48887
|
+
var spacerProp = vertical ? 'marginBottom' : 'marginRight';
|
|
48888
48888
|
var numFilled = Math.floor(percent / (100 / numSegments));
|
|
48889
48889
|
var filledSegments = [];
|
|
48890
48890
|
for (var i = 0; i < numFilled; i++) {
|
|
48891
48891
|
var spacer = i === numSegments - 1 ? 0 : 5;
|
|
48892
|
-
filledSegments.push(jsx$1("div", { css: __assign(__assign({
|
|
48892
|
+
filledSegments.push(jsx$1("div", { css: __assign(__assign((_b = {}, _b[mainDim] = "calc(".concat(100 / numSegments, "% - ").concat(spacer, "px)"), _b[spacerProp] = "".concat(spacer, "px"), _b.borderRadius = '2px', _b), styles.getTarget('barWrapper', true)), styles.getTarget('bar')) }, i));
|
|
48893
48893
|
}
|
|
48894
|
-
return (jsx$1("div", __assign({ style: {
|
|
48895
|
-
|
|
48896
|
-
|
|
48897
|
-
|
|
48898
|
-
|
|
48899
|
-
|
|
48900
|
-
|
|
48894
|
+
return (jsx$1("div", __assign({ style: (_c = {},
|
|
48895
|
+
_c[crossDim] = '0.4rem',
|
|
48896
|
+
_c[mainDim] = '100%',
|
|
48897
|
+
_c.flexDirection = vertical ? 'column-reverse' : undefined,
|
|
48898
|
+
_c.display = 'flex',
|
|
48899
|
+
_c.backgroundColor = '#e9ecef',
|
|
48900
|
+
_c.borderRadius = '2px',
|
|
48901
|
+
_c) }, { children: filledSegments })));
|
|
48902
|
+
}
|
|
48903
|
+
|
|
48904
|
+
var CIRCLE_SIZE = 28;
|
|
48905
|
+
var CONNECTOR_GAP = 6;
|
|
48906
|
+
function isFieldTruthy(fieldKey) {
|
|
48907
|
+
var val = getFieldValues()[fieldKey];
|
|
48908
|
+
if (Array.isArray(val))
|
|
48909
|
+
return val.length > 0;
|
|
48910
|
+
return !!val;
|
|
48911
|
+
}
|
|
48912
|
+
function isStepVisible(step) {
|
|
48913
|
+
var cond = step.visibility_condition;
|
|
48914
|
+
if (!cond || !step.visibility_field)
|
|
48915
|
+
return true;
|
|
48916
|
+
var truthy = isFieldTruthy(step.visibility_field);
|
|
48917
|
+
return cond === 'show' ? truthy : !truthy;
|
|
48918
|
+
}
|
|
48919
|
+
function StepperBar(_a) {
|
|
48920
|
+
var _b, _c;
|
|
48921
|
+
var styles = _a.styles, stepConfigs = _a.stepConfigs, stepKey = _a.stepKey, _d = _a.textPlacement, textPlacement = _d === void 0 ? 'bottom' : _d, onStepClick = _a.onStepClick, _e = _a.vertical, vertical = _e === void 0 ? false : _e, style = _a.style;
|
|
48922
|
+
var barStyles = styles.getTarget('bar');
|
|
48923
|
+
var showLabels = textPlacement !== 'none';
|
|
48924
|
+
var visibleStepConfigs = stepConfigs.filter(isStepVisible);
|
|
48925
|
+
var steps = visibleStepConfigs.map(function (s) { return s.label; });
|
|
48926
|
+
var activeStep = stepKey
|
|
48927
|
+
? Math.max(0, visibleStepConfigs.findIndex(function (s) { return s.step_key === stepKey; }))
|
|
48928
|
+
: 0;
|
|
48929
|
+
var mainDim = vertical ? 'height' : 'width';
|
|
48930
|
+
var crossAlign = vertical ? 'alignItems' : 'justifyContent';
|
|
48931
|
+
var circleStyleFor = function (isCompleted, isActive) {
|
|
48932
|
+
if (isActive || isCompleted)
|
|
48933
|
+
return __assign(__assign({}, barStyles), { color: '#fff' });
|
|
48934
|
+
return { backgroundColor: '#e9ecef', color: '#888' };
|
|
48935
|
+
};
|
|
48936
|
+
var circleContent = function (isCompleted, index) {
|
|
48937
|
+
return isCompleted ? (jsx$1("svg", __assign({ width: '14', height: '14', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2.5', strokeLinecap: 'round', strokeLinejoin: 'round' }, { children: jsx$1("polyline", { points: '20 6 9 17 4 12' }) }))) : (index + 1);
|
|
48938
|
+
};
|
|
48939
|
+
var renderNodes = function () {
|
|
48940
|
+
return steps.map(function (_, index) {
|
|
48941
|
+
var _a;
|
|
48942
|
+
var isCompleted = index < activeStep;
|
|
48943
|
+
var isActive = index === activeStep;
|
|
48944
|
+
var isLast = index === steps.length - 1;
|
|
48945
|
+
var sKey = (_a = visibleStepConfigs === null || visibleStepConfigs === void 0 ? void 0 : visibleStepConfigs[index]) === null || _a === void 0 ? void 0 : _a.step_key;
|
|
48946
|
+
var isClickable = isCompleted && !!onStepClick && !!sKey;
|
|
48947
|
+
var connectorStyle = vertical
|
|
48948
|
+
? {
|
|
48949
|
+
width: '2px',
|
|
48950
|
+
flex: 1,
|
|
48951
|
+
marginTop: "".concat(CONNECTOR_GAP, "px"),
|
|
48952
|
+
marginBottom: "".concat(CONNECTOR_GAP, "px")
|
|
48953
|
+
}
|
|
48954
|
+
: {
|
|
48955
|
+
flex: 1,
|
|
48956
|
+
height: '2px',
|
|
48957
|
+
marginLeft: "".concat(CONNECTOR_GAP, "px"),
|
|
48958
|
+
marginRight: "".concat(CONNECTOR_GAP, "px")
|
|
48959
|
+
};
|
|
48960
|
+
return (jsxs(React__default.Fragment, { children: [jsx$1("div", __assign({ css: __assign({ width: "".concat(CIRCLE_SIZE, "px"), height: "".concat(CIRCLE_SIZE, "px"), borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '13px', fontWeight: 600, flexShrink: 0, cursor: isClickable ? 'pointer' : 'default', transition: 'opacity 0.15s ease', '&:hover': isClickable ? { opacity: 0.7 } : {} }, circleStyleFor(isCompleted, isActive)), onClick: isClickable ? function () { return onStepClick(sKey); } : undefined }, { children: circleContent(isCompleted, index) })), !isLast && (jsx$1("div", { css: __assign(__assign({}, connectorStyle), (isCompleted ? barStyles : { backgroundColor: '#e9ecef' })) }))] }, index));
|
|
48961
|
+
});
|
|
48962
|
+
};
|
|
48963
|
+
var renderLabelItems = function () {
|
|
48964
|
+
return steps.map(function (label, index) {
|
|
48965
|
+
var _a;
|
|
48966
|
+
var isLast = index === steps.length - 1;
|
|
48967
|
+
return (jsxs(React__default.Fragment, { children: [jsx$1("div", __assign({ style: (_a = {},
|
|
48968
|
+
_a[mainDim] = "".concat(CIRCLE_SIZE, "px"),
|
|
48969
|
+
_a.display = 'flex',
|
|
48970
|
+
_a[crossAlign] = 'center',
|
|
48971
|
+
_a.flexShrink = 0,
|
|
48972
|
+
_a) }, { children: jsx$1("span", __assign({ css: __assign(__assign({ fontSize: '12px', whiteSpace: 'nowrap' }, (vertical ? {} : { textAlign: 'center' })), styles.getTarget('barContainer')) }, { children: label })) })), !isLast && (jsx$1("div", { style: __assign({ flex: 1 }, (vertical
|
|
48973
|
+
? {
|
|
48974
|
+
marginTop: "".concat(CONNECTOR_GAP, "px"),
|
|
48975
|
+
marginBottom: "".concat(CONNECTOR_GAP, "px")
|
|
48976
|
+
}
|
|
48977
|
+
: {
|
|
48978
|
+
marginLeft: "".concat(CONNECTOR_GAP, "px"),
|
|
48979
|
+
marginRight: "".concat(CONNECTOR_GAP, "px")
|
|
48980
|
+
})) }))] }, index));
|
|
48981
|
+
});
|
|
48982
|
+
};
|
|
48983
|
+
if (vertical) {
|
|
48984
|
+
// textPlacement 'bottom' → labels on left, 'top' → labels on right
|
|
48985
|
+
var labelsOnLeft = textPlacement === 'bottom';
|
|
48986
|
+
return (jsxs("div", __assign({ style: __assign({ display: 'flex', flexDirection: labelsOnLeft ? 'row-reverse' : 'row', height: '100%', gap: showLabels ? '10px' : '0' }, style) }, { children: [jsx$1("div", __assign({ style: {
|
|
48987
|
+
display: 'flex',
|
|
48988
|
+
flexDirection: 'column',
|
|
48989
|
+
alignItems: 'center',
|
|
48990
|
+
width: "".concat(CIRCLE_SIZE, "px")
|
|
48991
|
+
} }, { children: renderNodes() })), showLabels && (jsx$1("div", __assign({ style: { display: 'flex', flexDirection: 'column' } }, { children: renderLabelItems() })))] })));
|
|
48992
|
+
}
|
|
48993
|
+
// Horizontal layout
|
|
48994
|
+
var labelsOnTop = textPlacement === 'top';
|
|
48995
|
+
var marginProp = labelsOnTop ? 'marginBottom' : 'marginTop';
|
|
48996
|
+
return (jsxs("div", __assign({ style: { display: 'flex', flexDirection: 'column', width: '100%' } }, { children: [showLabels && labelsOnTop && (jsx$1("div", __assign({ style: (_b = { display: 'flex' }, _b[marginProp] = '6px', _b) }, { children: renderLabelItems() }))), jsx$1("div", __assign({ style: { display: 'flex', alignItems: 'center' } }, { children: renderNodes() })), showLabels && !labelsOnTop && (jsx$1("div", __assign({ style: (_c = { display: 'flex' }, _c[marginProp] = '6px', _c) }, { children: renderLabelItems() })))] })));
|
|
48901
48997
|
}
|
|
48902
48998
|
|
|
48903
48999
|
function applyProgressBarStyles(responsiveStyles) {
|
|
@@ -48916,9 +49012,14 @@ function applyProgressBarStyles(responsiveStyles) {
|
|
|
48916
49012
|
return responsiveStyles;
|
|
48917
49013
|
}
|
|
48918
49014
|
function ProgressBarElement(_a) {
|
|
48919
|
-
var _b, _c;
|
|
48920
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress,
|
|
49015
|
+
var _b, _c, _d, _e, _f;
|
|
49016
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _g = _a.curDepth, curDepth = _g === void 0 ? 1 : _g, _h = _a.maxDepth, maxDepth = _h === void 0 ? 1 : _h, stepKey = _a.stepKey, changeStep = _a.changeStep, _j = _a.elementProps, elementProps = _j === void 0 ? {} : _j, children = _a.children;
|
|
48921
49017
|
var styles = useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
49018
|
+
var vertical = element.styles.bar_direction === 'vertical';
|
|
49019
|
+
var containerProps = __assign({ css: __assign(__assign({ display: 'flex', flexDirection: 'column', position: 'relative', width: '100%' }, (vertical && { height: '100%' })), styles.getTarget('barContainer')) }, elementProps);
|
|
49020
|
+
if ((_b = element.properties) === null || _b === void 0 ? void 0 : _b.stepper) {
|
|
49021
|
+
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles, stepConfigs: (_d = (_c = element.properties) === null || _c === void 0 ? void 0 : _c.stepper_steps) !== null && _d !== void 0 ? _d : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: changeStep, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
49022
|
+
}
|
|
48922
49023
|
var userProgress, userSegments;
|
|
48923
49024
|
if (![null, undefined].includes(progress)) {
|
|
48924
49025
|
if (typeof progress === 'number') {
|
|
@@ -48926,25 +49027,34 @@ function ProgressBarElement(_a) {
|
|
|
48926
49027
|
}
|
|
48927
49028
|
else {
|
|
48928
49029
|
userProgress = progress.progress;
|
|
48929
|
-
userSegments = (
|
|
49030
|
+
userSegments = (_e = progress.segments) !== null && _e !== void 0 ? _e : element.properties.num_segments;
|
|
48930
49031
|
}
|
|
48931
49032
|
}
|
|
48932
|
-
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (
|
|
49033
|
+
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (_f = element.properties) === null || _f === void 0 ? void 0 : _f.progress;
|
|
48933
49034
|
var percent = isNum(userProgress)
|
|
48934
49035
|
? userProgress
|
|
48935
49036
|
: Math.round((100 * (curDepth + 1)) / ((maxDepth || 1) + 1));
|
|
49037
|
+
var textPlacement = element.styles.percent_text_layout;
|
|
49038
|
+
var showText = textPlacement && textPlacement !== 'none';
|
|
48936
49039
|
var BarComponent = userSegments ? SegmentBar : SmoothBar;
|
|
48937
49040
|
var progressBarElements = [
|
|
48938
|
-
jsx$1(BarComponent, { styles: styles, percent: percent, numSegments: userSegments }, 'progress')
|
|
49041
|
+
jsx$1(BarComponent, { styles: styles, percent: percent, numSegments: userSegments, vertical: vertical }, 'progress')
|
|
48939
49042
|
];
|
|
48940
|
-
var completionPercentage = (jsx$1("div", __assign({ style: {
|
|
48941
|
-
|
|
49043
|
+
var completionPercentage = vertical ? (jsx$1("div", __assign({ style: {
|
|
49044
|
+
display: 'flex',
|
|
49045
|
+
alignItems: 'center',
|
|
49046
|
+
padding: '0 8px',
|
|
49047
|
+
whiteSpace: 'nowrap'
|
|
49048
|
+
} }, { children: "".concat(percent, "% completed") }), 'completionPercentage')) : (jsx$1("div", __assign({ style: { width: '100%', textAlign: 'center' } }, { children: "".concat(percent, "% completed") }), 'completionPercentage'));
|
|
49049
|
+
if (textPlacement === 'top') {
|
|
48942
49050
|
progressBarElements.unshift(completionPercentage);
|
|
48943
49051
|
}
|
|
48944
|
-
else if (
|
|
49052
|
+
else if (textPlacement === 'bottom') {
|
|
48945
49053
|
progressBarElements.push(completionPercentage);
|
|
48946
49054
|
}
|
|
48947
|
-
|
|
49055
|
+
// When vertical with text beside the bar, switch to row layout
|
|
49056
|
+
var flexDirection = vertical && showText ? 'row' : 'column';
|
|
49057
|
+
return (jsxs("div", __assign({}, containerProps, { css: __assign(__assign({}, containerProps.css), { flexDirection: flexDirection }) }, { children: [children, progressBarElements] })));
|
|
48948
49058
|
}
|
|
48949
49059
|
|
|
48950
49060
|
var shimmerFields = [
|
|
@@ -49091,7 +49201,7 @@ function ElementSkeleton(_a) {
|
|
|
49091
49201
|
}
|
|
49092
49202
|
var templateObject_1;
|
|
49093
49203
|
|
|
49094
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
49204
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.DlskLXaD.js'); });
|
|
49095
49205
|
var Basic = {
|
|
49096
49206
|
ImageElement: ImageElement,
|
|
49097
49207
|
VideoElement: VideoElement,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.DeeoucaO.js';
|
|
2
2
|
import { useRef, useMemo, useEffect } 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.CTESUYeJ.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.CTKw49iT.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.nfGgJEKf.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BafOPFGx.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.DnqeyVo3.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
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.
|
|
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.DeeoucaO.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 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.
|
|
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.DeeoucaO.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.DeeoucaO.js';
|
|
2
2
|
import React__default, { useEffect, useCallback } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.T5bAbNxN.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,12 +1,12 @@
|
|
|
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.
|
|
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.DeeoucaO.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.DCCeoyfo.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.nfGgJEKf.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.DnqeyVo3.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 { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.DeeoucaO.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { u as Mermaid } from './fthry_AssistantChat.
|
|
2
|
-
import './fthry_index.
|
|
1
|
+
export { u as Mermaid } from './fthry_AssistantChat.884z0Zp7.js';
|
|
2
|
+
import './fthry_index.DeeoucaO.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './fthry_clsx.ChV9xqsO.js';
|
|
9
|
-
import './fthry_index.
|
|
9
|
+
import './fthry_index.CvPGodEw.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
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.
|
|
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.DeeoucaO.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.DeeoucaO.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { 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.
|
|
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.DeeoucaO.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|