@123usmanhaider321/ui 1.0.0 → 1.0.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/dist/{index-Tl9g213f.js → index-BLoegwT6.js} +6 -5
- package/dist/{index-Tl9g213f.js.map → index-BLoegwT6.js.map} +1 -1
- package/dist/{index-87FQZHOs.js → index-CPnu5V8f.js} +2 -2
- package/dist/{index-87FQZHOs.js.map → index-CPnu5V8f.js.map} +1 -1
- package/dist/{index.es-CpgTaa1Y.js → index.es-C5pDhGOr.js} +2 -2
- package/dist/{index.es-CpgTaa1Y.js.map → index.es-C5pDhGOr.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-C5pDhGOr.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-CPnu5V8f.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 (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;
|
|
@@ -60334,7 +60335,7 @@ const AddEventStepper = ({
|
|
|
60334
60335
|
onSubmit: async () => {
|
|
60335
60336
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
60336
60337
|
const currentStepTitle = (_a2 = STEPS.find((s2) => s2.id === currentStep)) == null ? void 0 : _a2.title;
|
|
60337
|
-
const isSocialStep = currentStepTitle === "Social
|
|
60338
|
+
const isSocialStep = currentStepTitle === "Social profiles";
|
|
60338
60339
|
if (isSocialStep) {
|
|
60339
60340
|
try {
|
|
60340
60341
|
const currentSocials = {
|
|
@@ -60472,4 +60473,4 @@ export {
|
|
|
60472
60473
|
useGetAllSocietyRegistrationsInfiniteQuery as y,
|
|
60473
60474
|
useGetEventAnalyticsQuery as z
|
|
60474
60475
|
};
|
|
60475
|
-
//# sourceMappingURL=index-
|
|
60476
|
+
//# sourceMappingURL=index-BLoegwT6.js.map
|