impact-chatbot 2.3.95 → 2.3.96

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/dist/index.esm.js CHANGED
@@ -686,7 +686,8 @@ const parseResponse = (data, type, agentId = "", currentMode = "", disableTimeAn
686
686
  isRequired: data?.data?.isRequired,
687
687
  isDisabled: data?.data?.isDisabled,
688
688
  isMulti: data?.data?.isMulti,
689
- paramName: data?.data?.param_name
689
+ paramName: data?.data?.param_name,
690
+ is_static: data?.data?.is_static
690
691
  }
691
692
  };
692
693
  case "datePicker":
@@ -7382,7 +7383,7 @@ const SelectContent = ({ bodyText, isFormDisabled = false, messageIndex }) => {
7382
7383
  const dispatch = useDispatch();
7383
7384
  // Cross-filter cascading context (optional — graceful fallback when not wrapped)
7384
7385
  const crossFilterCtx = useCrossFilterContext();
7385
- const isCascading = crossFilterCtx?.isEnabled && paramName;
7386
+ const isCascading = crossFilterCtx?.isEnabled && paramName && !bodyText?.is_static;
7386
7387
  const isMountedRef = useRef(false);
7387
7388
  if (isEmpty$1(bodyText))
7388
7389
  return null;
@@ -8139,7 +8140,7 @@ const StepFormContent = ({ formData, messageIndex = 0, isFormDisabled = false, s
8139
8140
  if (!formData || !Array.isArray(formData))
8140
8141
  return [];
8141
8142
  const configs = formData
8142
- .filter((item) => item?.type === "select" && item?.data?.param_name)
8143
+ .filter((item) => item?.type === "select" && item?.data?.param_name && !item?.data?.is_static)
8143
8144
  .map((item) => {
8144
8145
  const data = item.data;
8145
8146
  const paramName = data.param_name;