@123usmanhaider321/ui 1.0.2 → 1.0.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.
@@ -4301,7 +4301,7 @@ const Button = React.memo(React.forwardRef(
4301
4301
  }
4302
4302
  ));
4303
4303
  Button.displayName = "Button";
4304
- const Lottie = dynamic(() => import("./index.es-C5pDhGOr.js"), {
4304
+ const Lottie = dynamic(() => import("./index.es-BNrasmyO.js"), {
4305
4305
  ssr: false,
4306
4306
  loading: () => /* @__PURE__ */ jsx("div", { className: "w-1/3 h-1/3 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "animate-spin rounded-full h-16 w-16 border-b-2 border-white" }) })
4307
4307
  });
@@ -50353,7 +50353,7 @@ function StepOne({ formState, setField, setMultipleFields, errors, validateField
50353
50353
  const { data: categories = [] } = useGetEventCategoriesQuery();
50354
50354
  const [isDescriptionModalOpen, setIsDescriptionModalOpen] = useState(false);
50355
50355
  React__default.useEffect(() => {
50356
- import("./index-CPnu5V8f.js");
50356
+ import("./index-CTVNqEJ_.js");
50357
50357
  }, []);
50358
50358
  const [showDateConflictModal, setShowDateConflictModal] = useState(false);
50359
50359
  const [pendingDateUpdate, setPendingDateUpdate] = useState(null);
@@ -59897,7 +59897,7 @@ const AddEventStepper = ({
59897
59897
  custom_category: (currentState == null ? void 0 : currentState.custom_category) || "",
59898
59898
  institution_name: (currentState == null ? void 0 : currentState.institution_name) || ""
59899
59899
  };
59900
- if (edit) delete payload.organizer_id;
59900
+ if (activeEventId || edit) delete payload.organizer_id;
59901
59901
  if (!currentState.custom_category) delete payload.custom_category;
59902
59902
  if (!((_i = currentState.event_type) == null ? void 0 : _i.includes("INTERNAL"))) delete payload.institution_name;
59903
59903
  if (currentState.ticket_type === "TICKET_TIER") {
@@ -60249,6 +60249,7 @@ const AddEventStepper = ({
60249
60249
  }
60250
60250
  }
60251
60251
  };
60252
+ const StepComponent = CurrentStepComponent;
60252
60253
  return /* @__PURE__ */ jsxs(Fragment$2, { children: [
60253
60254
  /* @__PURE__ */ jsx(
60254
60255
  FormBuilderProceedModal$1,
@@ -60407,7 +60408,7 @@ const AddEventStepper = ({
60407
60408
  onConfirm: handleExitConfirm
60408
60409
  },
60409
60410
  children: /* @__PURE__ */ jsx(
60410
- CurrentStepComponent,
60411
+ StepComponent,
60411
60412
  {
60412
60413
  ref: currentStep >= 3 ? stepRef : null,
60413
60414
  formState,
@@ -60473,4 +60474,4 @@ export {
60473
60474
  useGetAllSocietyRegistrationsInfiniteQuery as y,
60474
60475
  useGetEventAnalyticsQuery as z
60475
60476
  };
60476
- //# sourceMappingURL=index-BLoegwT6.js.map
60477
+ //# sourceMappingURL=index-DmDMbtUR.js.map