@123usmanhaider321/ui 1.0.0 → 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.
- package/dist/{index-87FQZHOs.js → index-CTVNqEJ_.js} +2 -2
- package/dist/{index-87FQZHOs.js.map → index-CTVNqEJ_.js.map} +1 -1
- package/dist/{index-Tl9g213f.js → index-DmDMbtUR.js} +8 -6
- package/dist/{index-Tl9g213f.js.map → index-DmDMbtUR.js.map} +1 -1
- package/dist/{index.es-CpgTaa1Y.js → index.es-BNrasmyO.js} +2 -2
- package/dist/{index.es-CpgTaa1Y.js.map → index.es-BNrasmyO.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +56 -56
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
50356
|
+
import("./index-CTVNqEJ_.js");
|
|
50357
50357
|
}, []);
|
|
50358
50358
|
const [showDateConflictModal, setShowDateConflictModal] = useState(false);
|
|
50359
50359
|
const [pendingDateUpdate, setPendingDateUpdate] = useState(null);
|
|
@@ -59897,6 +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 (activeEventId || edit) delete payload.organizer_id;
|
|
59900
59901
|
if (!currentState.custom_category) delete payload.custom_category;
|
|
59901
59902
|
if (!((_i = currentState.event_type) == null ? void 0 : _i.includes("INTERNAL"))) delete payload.institution_name;
|
|
59902
59903
|
if (currentState.ticket_type === "TICKET_TIER") {
|
|
@@ -59967,7 +59968,7 @@ const AddEventStepper = ({
|
|
|
59967
59968
|
payload.event_id = activeEventId;
|
|
59968
59969
|
}
|
|
59969
59970
|
return payload;
|
|
59970
|
-
}, [organizer_id, activeEventId]);
|
|
59971
|
+
}, [organizer_id, activeEventId, edit]);
|
|
59971
59972
|
const isStateDirty = useCallback((currentState, savedState) => {
|
|
59972
59973
|
var _a2, _b, _c, _d, _e, _f;
|
|
59973
59974
|
if (!savedState) return true;
|
|
@@ -60248,6 +60249,7 @@ const AddEventStepper = ({
|
|
|
60248
60249
|
}
|
|
60249
60250
|
}
|
|
60250
60251
|
};
|
|
60252
|
+
const StepComponent = CurrentStepComponent;
|
|
60251
60253
|
return /* @__PURE__ */ jsxs(Fragment$2, { children: [
|
|
60252
60254
|
/* @__PURE__ */ jsx(
|
|
60253
60255
|
FormBuilderProceedModal$1,
|
|
@@ -60334,7 +60336,7 @@ const AddEventStepper = ({
|
|
|
60334
60336
|
onSubmit: async () => {
|
|
60335
60337
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
60336
60338
|
const currentStepTitle = (_a2 = STEPS.find((s2) => s2.id === currentStep)) == null ? void 0 : _a2.title;
|
|
60337
|
-
const isSocialStep = currentStepTitle === "Social
|
|
60339
|
+
const isSocialStep = currentStepTitle === "Social profiles";
|
|
60338
60340
|
if (isSocialStep) {
|
|
60339
60341
|
try {
|
|
60340
60342
|
const currentSocials = {
|
|
@@ -60406,7 +60408,7 @@ const AddEventStepper = ({
|
|
|
60406
60408
|
onConfirm: handleExitConfirm
|
|
60407
60409
|
},
|
|
60408
60410
|
children: /* @__PURE__ */ jsx(
|
|
60409
|
-
|
|
60411
|
+
StepComponent,
|
|
60410
60412
|
{
|
|
60411
60413
|
ref: currentStep >= 3 ? stepRef : null,
|
|
60412
60414
|
formState,
|
|
@@ -60472,4 +60474,4 @@ export {
|
|
|
60472
60474
|
useGetAllSocietyRegistrationsInfiniteQuery as y,
|
|
60473
60475
|
useGetEventAnalyticsQuery as z
|
|
60474
60476
|
};
|
|
60475
|
-
//# sourceMappingURL=index-
|
|
60477
|
+
//# sourceMappingURL=index-DmDMbtUR.js.map
|