@appcorp/fusion-storybook 0.1.97 → 0.1.98
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/base-modules/admission/context.js +1 -0
- package/base-modules/attendance/context.js +1 -0
- package/base-modules/campus/context.js +1 -0
- package/base-modules/class/context.js +1 -0
- package/base-modules/enrollment/context.js +1 -0
- package/base-modules/expense/context.js +1 -0
- package/base-modules/family/context.js +1 -0
- package/base-modules/family-member/context.js +1 -0
- package/base-modules/fee-structure/context.js +1 -0
- package/base-modules/school/context.js +1 -0
- package/base-modules/student-fee/context.js +1 -0
- package/base-modules/student-profile/context.js +1 -0
- package/base-modules/subject/context.js +1 -0
- package/base-modules/teacher/context.js +1 -0
- package/base-modules/user/context.js +1 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -275,6 +275,7 @@ export const useAdmissionModule = () => {
|
|
|
275
275
|
});
|
|
276
276
|
}, [dispatch]);
|
|
277
277
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
278
|
+
dispatch({ type: ADMISSION_ACTION_TYPES.RESET_FORM });
|
|
278
279
|
dispatch({
|
|
279
280
|
type: ADMISSION_ACTION_TYPES.SET_ERRORS,
|
|
280
281
|
payload: { errors: {} },
|
|
@@ -124,6 +124,7 @@ export const useAttendanceModule = () => {
|
|
|
124
124
|
});
|
|
125
125
|
}, [theme]);
|
|
126
126
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
127
|
+
dispatch({ type: ATTENDANCE_ACTION_TYPES.RESET_FORM });
|
|
127
128
|
dispatch({
|
|
128
129
|
type: ATTENDANCE_ACTION_TYPES.SET_ERRORS,
|
|
129
130
|
payload: { errors: {} },
|
|
@@ -124,6 +124,7 @@ export const useCampusModule = () => {
|
|
|
124
124
|
});
|
|
125
125
|
}, [theme]);
|
|
126
126
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
127
|
+
dispatch({ type: CAMPUS_ACTION_TYPES.RESET_FORM });
|
|
127
128
|
dispatch({
|
|
128
129
|
type: CAMPUS_ACTION_TYPES.SET_ERRORS,
|
|
129
130
|
payload: { errors: {} },
|
|
@@ -120,6 +120,7 @@ export const useClassModule = () => {
|
|
|
120
120
|
});
|
|
121
121
|
}, [theme]);
|
|
122
122
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
123
|
+
dispatch({ type: CLASS_ACTION_TYPES.RESET_FORM });
|
|
123
124
|
dispatch({
|
|
124
125
|
type: CLASS_ACTION_TYPES.SET_ERRORS,
|
|
125
126
|
payload: { errors: {} },
|
|
@@ -123,6 +123,7 @@ export const useEnrollmentModule = () => {
|
|
|
123
123
|
});
|
|
124
124
|
}, [theme]);
|
|
125
125
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
126
|
+
dispatch({ type: ENROLLMENT_ACTION_TYPES.RESET_FORM });
|
|
126
127
|
dispatch({
|
|
127
128
|
type: ENROLLMENT_ACTION_TYPES.SET_ERRORS,
|
|
128
129
|
payload: { errors: {} },
|
|
@@ -172,6 +172,7 @@ export const useExpenseModule = () => {
|
|
|
172
172
|
});
|
|
173
173
|
}, [theme]);
|
|
174
174
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
175
|
+
dispatch({ type: EXPENSE_ACTION_TYPES.RESET_FORM });
|
|
175
176
|
dispatch({
|
|
176
177
|
type: EXPENSE_ACTION_TYPES.SET_ERRORS,
|
|
177
178
|
payload: { errors: {} },
|
|
@@ -148,6 +148,7 @@ export const useFamilyModule = () => {
|
|
|
148
148
|
});
|
|
149
149
|
}, [theme]);
|
|
150
150
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
151
|
+
dispatch({ type: FAMILY_ACTION_TYPES.RESET_FORM });
|
|
151
152
|
dispatch({
|
|
152
153
|
type: FAMILY_ACTION_TYPES.SET_ERRORS,
|
|
153
154
|
payload: { errors: {} },
|
|
@@ -174,6 +174,7 @@ export const useFamilyMemberModule = () => {
|
|
|
174
174
|
});
|
|
175
175
|
}, [theme]);
|
|
176
176
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
177
|
+
dispatch({ type: FAMILY_MEMBER_ACTION_TYPES.RESET_FORM });
|
|
177
178
|
dispatch({
|
|
178
179
|
type: FAMILY_MEMBER_ACTION_TYPES.SET_ERRORS,
|
|
179
180
|
payload: { errors: {} },
|
|
@@ -119,6 +119,7 @@ export const useFeeStructureModule = () => {
|
|
|
119
119
|
});
|
|
120
120
|
}, [theme]);
|
|
121
121
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
122
|
+
dispatch({ type: FEE_STRUCTURE_ACTION_TYPES.RESET_FORM });
|
|
122
123
|
dispatch({
|
|
123
124
|
type: FEE_STRUCTURE_ACTION_TYPES.SET_ERRORS,
|
|
124
125
|
payload: { errors: {} },
|
|
@@ -138,6 +138,7 @@ export const useSchoolModule = () => {
|
|
|
138
138
|
});
|
|
139
139
|
}, [theme]);
|
|
140
140
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
141
|
+
dispatch({ type: SCHOOL_ACTION_TYPES.RESET_FORM });
|
|
141
142
|
dispatch({
|
|
142
143
|
type: SCHOOL_ACTION_TYPES.SET_ERRORS,
|
|
143
144
|
payload: { errors: {} },
|
|
@@ -161,6 +161,7 @@ export const useStudentFeeModule = () => {
|
|
|
161
161
|
});
|
|
162
162
|
}, [theme]);
|
|
163
163
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
164
|
+
dispatch({ type: STUDENT_FEE_ACTION_TYPES.RESET_FORM });
|
|
164
165
|
dispatch({
|
|
165
166
|
type: STUDENT_FEE_ACTION_TYPES.SET_ERRORS,
|
|
166
167
|
payload: { errors: {} },
|
|
@@ -175,6 +175,7 @@ export const useStudentProfileModule = () => {
|
|
|
175
175
|
});
|
|
176
176
|
}, [theme]);
|
|
177
177
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
178
|
+
dispatch({ type: STUDENT_PROFILE_ACTION_TYPES.RESET_FORM });
|
|
178
179
|
dispatch({
|
|
179
180
|
type: STUDENT_PROFILE_ACTION_TYPES.SET_ERRORS,
|
|
180
181
|
payload: { errors: {} },
|
|
@@ -125,6 +125,7 @@ export const useSubjectModule = () => {
|
|
|
125
125
|
});
|
|
126
126
|
}, [theme]);
|
|
127
127
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
128
|
+
dispatch({ type: SUBJECT_ACTION_TYPES.RESET_FORM });
|
|
128
129
|
dispatch({
|
|
129
130
|
type: SUBJECT_ACTION_TYPES.SET_ERRORS,
|
|
130
131
|
payload: { errors: {} },
|
|
@@ -158,6 +158,7 @@ export const useTeacherModule = () => {
|
|
|
158
158
|
});
|
|
159
159
|
}, [theme]);
|
|
160
160
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
161
|
+
dispatch({ type: TEACHER_ACTION_TYPES.RESET_FORM });
|
|
161
162
|
dispatch({
|
|
162
163
|
type: TEACHER_ACTION_TYPES.SET_ERRORS,
|
|
163
164
|
payload: { errors: {} },
|
|
@@ -132,6 +132,7 @@ export const useUserModule = () => {
|
|
|
132
132
|
});
|
|
133
133
|
}, [theme]);
|
|
134
134
|
const resetFormAndCloseDrawer = useCallback(() => {
|
|
135
|
+
dispatch({ type: USER_ACTION_TYPES.RESET_FORM });
|
|
135
136
|
dispatch({
|
|
136
137
|
type: USER_ACTION_TYPES.SET_ERRORS,
|
|
137
138
|
payload: { errors: {} },
|