@appcorp/fusion-storybook 0.2.12 → 0.2.13
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/filter.d.ts +1 -1
- package/base-modules/admission/form.d.ts +1 -1
- package/base-modules/admission/more-actions.d.ts +1 -1
- package/base-modules/admission/page.d.ts +8 -1
- package/base-modules/admission/page.js +25 -4
- package/base-modules/admission/view.d.ts +1 -1
- package/base-modules/attendance/form.d.ts +1 -1
- package/base-modules/attendance/page.d.ts +8 -1
- package/base-modules/attendance/page.js +25 -4
- package/base-modules/attendance/view.d.ts +1 -1
- package/base-modules/campus/filter.d.ts +1 -1
- package/base-modules/campus/form.d.ts +1 -1
- package/base-modules/campus/more-actions.d.ts +1 -1
- package/base-modules/campus/page.d.ts +8 -1
- package/base-modules/campus/page.js +25 -4
- package/base-modules/campus/view.d.ts +1 -1
- package/base-modules/class/filter.d.ts +1 -1
- package/base-modules/class/form.d.ts +1 -1
- package/base-modules/class/more-actions.d.ts +1 -1
- package/base-modules/class/page.d.ts +8 -1
- package/base-modules/class/page.js +25 -4
- package/base-modules/class/view.d.ts +1 -1
- package/base-modules/course/filter.d.ts +1 -1
- package/base-modules/course/form.d.ts +1 -1
- package/base-modules/course/more-actions.d.ts +1 -1
- package/base-modules/course/page.d.ts +8 -1
- package/base-modules/course/page.js +25 -4
- package/base-modules/course/view.d.ts +1 -1
- package/base-modules/discount-code/filter.d.ts +2 -1
- package/base-modules/discount-code/form.d.ts +1 -1
- package/base-modules/discount-code/page.d.ts +8 -1
- package/base-modules/discount-code/page.js +25 -4
- package/base-modules/discount-code/view.d.ts +1 -1
- package/base-modules/enrollment/filter.d.ts +1 -1
- package/base-modules/enrollment/form.d.ts +1 -1
- package/base-modules/enrollment/more-actions.d.ts +1 -1
- package/base-modules/enrollment/page.d.ts +8 -1
- package/base-modules/enrollment/page.js +25 -4
- package/base-modules/enrollment/view.d.ts +1 -1
- package/base-modules/expense/filter.d.ts +1 -1
- package/base-modules/expense/form.d.ts +1 -1
- package/base-modules/expense/more-actions.d.ts +1 -1
- package/base-modules/expense/page.d.ts +8 -1
- package/base-modules/expense/page.js +25 -4
- package/base-modules/expense/view.d.ts +1 -1
- package/base-modules/family/filter.d.ts +1 -1
- package/base-modules/family/form.d.ts +1 -1
- package/base-modules/family/more-actions.d.ts +1 -1
- package/base-modules/family/page.d.ts +8 -1
- package/base-modules/family/page.js +25 -4
- package/base-modules/family/view.d.ts +1 -1
- package/base-modules/family-member/filter.d.ts +1 -1
- package/base-modules/family-member/form.d.ts +1 -1
- package/base-modules/family-member/more-actions.d.ts +1 -1
- package/base-modules/family-member/page.d.ts +8 -1
- package/base-modules/family-member/page.js +25 -4
- package/base-modules/family-member/view.d.ts +1 -1
- package/base-modules/fee-structure/filter.d.ts +1 -1
- package/base-modules/fee-structure/form.d.ts +1 -1
- package/base-modules/fee-structure/more-actions.d.ts +1 -1
- package/base-modules/fee-structure/page.d.ts +8 -1
- package/base-modules/fee-structure/page.js +25 -4
- package/base-modules/fee-structure/view.d.ts +1 -1
- package/base-modules/rbac/assign-permissions.d.ts +1 -1
- package/base-modules/rbac/filter.d.ts +1 -1
- package/base-modules/rbac/form.d.ts +1 -1
- package/base-modules/rbac/more-actions.d.ts +1 -1
- package/base-modules/rbac/page.d.ts +8 -1
- package/base-modules/rbac/page.js +25 -4
- package/base-modules/rbac/view.d.ts +7 -1
- package/base-modules/school/drawer.d.ts +1 -1
- package/base-modules/school/filter.d.ts +1 -1
- package/base-modules/school/form.d.ts +1 -1
- package/base-modules/school/more-actions.d.ts +1 -1
- package/base-modules/school/view.d.ts +1 -1
- package/base-modules/section/filter.d.ts +1 -1
- package/base-modules/section/form.d.ts +1 -1
- package/base-modules/section/more-actions.d.ts +1 -1
- package/base-modules/section/page.d.ts +8 -1
- package/base-modules/section/page.js +25 -4
- package/base-modules/section/view.d.ts +1 -1
- package/base-modules/student-fee/filter.d.ts +1 -1
- package/base-modules/student-fee/form.d.ts +1 -1
- package/base-modules/student-fee/more-actions.d.ts +1 -1
- package/base-modules/student-fee/page.d.ts +8 -1
- package/base-modules/student-fee/page.js +25 -4
- package/base-modules/student-fee/view.d.ts +1 -1
- package/base-modules/student-profile/filter.d.ts +1 -1
- package/base-modules/student-profile/form.d.ts +1 -1
- package/base-modules/student-profile/more-actions.d.ts +1 -1
- package/base-modules/student-profile/page.d.ts +8 -1
- package/base-modules/student-profile/page.js +25 -4
- package/base-modules/student-profile/view.d.ts +1 -1
- package/base-modules/subject/filter.d.ts +1 -1
- package/base-modules/subject/form.d.ts +1 -1
- package/base-modules/subject/more-actions.d.ts +1 -1
- package/base-modules/subject/page.d.ts +8 -1
- package/base-modules/subject/page.js +25 -4
- package/base-modules/subject/view.d.ts +1 -1
- package/base-modules/teacher/filter.d.ts +1 -1
- package/base-modules/teacher/form.d.ts +1 -1
- package/base-modules/teacher/more-actions.d.ts +1 -1
- package/base-modules/teacher/page.d.ts +8 -1
- package/base-modules/teacher/page.js +25 -4
- package/base-modules/teacher/view.d.ts +1 -1
- package/base-modules/user/drawer.d.ts +1 -1
- package/base-modules/user/filter.d.ts +1 -1
- package/base-modules/user/form.d.ts +1 -1
- package/base-modules/user/more-actions.d.ts +1 -1
- package/base-modules/user/page.d.ts +8 -1
- package/base-modules/user/page.js +25 -4
- package/base-modules/user/view.d.ts +1 -1
- package/base-modules/workspace/context.d.ts +1 -1
- package/base-modules/workspace/drawer.d.ts +1 -1
- package/base-modules/workspace/filter.d.ts +1 -1
- package/base-modules/workspace/form.d.ts +1 -1
- package/base-modules/workspace/more-actions.d.ts +1 -1
- package/base-modules/workspace/view.d.ts +1 -1
- package/base-modules/workspace-user/filter.d.ts +1 -1
- package/base-modules/workspace-user/form.d.ts +1 -1
- package/base-modules/workspace-user/more-actions.d.ts +1 -1
- package/base-modules/workspace-user/page.d.ts +8 -1
- package/base-modules/workspace-user/page.js +25 -4
- package/base-modules/workspace-user/view.d.ts +1 -1
- package/components/timeline.d.ts +1 -1
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AdmissionFilter: () => import("react
|
|
1
|
+
export declare const AdmissionFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AdmissionForm: () => import("react
|
|
1
|
+
export declare const AdmissionForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AdmissionMoreActions: () => import("react
|
|
1
|
+
export declare const AdmissionMoreActions: () => import("react").JSX.Element;
|
|
@@ -16,7 +16,14 @@ import { FC } from "react";
|
|
|
16
16
|
import { USER_ROLE } from "../../type";
|
|
17
17
|
interface Props {
|
|
18
18
|
cancelLabel: string;
|
|
19
|
-
|
|
19
|
+
drawerFilterDescription: string;
|
|
20
|
+
drawerFilterTitle: string;
|
|
21
|
+
drawerFormDescription: string;
|
|
22
|
+
drawerFormTitle: string;
|
|
23
|
+
drawerMoreActionsDescription: string;
|
|
24
|
+
drawerMoreActionsTitle: string;
|
|
25
|
+
drawerViewDescription: string;
|
|
26
|
+
drawerViewTitle: string;
|
|
20
27
|
labelActions: string;
|
|
21
28
|
labelClass: string;
|
|
22
29
|
labelEnabled: string;
|
|
@@ -52,7 +52,7 @@ const createComponentInstances = () => ({
|
|
|
52
52
|
moreActions: _jsx(AdmissionMoreActions, {}),
|
|
53
53
|
view: _jsx(AdmissionView, {}),
|
|
54
54
|
});
|
|
55
|
-
const createAdmissionConfig = ({ cancelLabel, dispatch, drawer,
|
|
55
|
+
const createAdmissionConfig = ({ cancelLabel, dispatch, drawer, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelClass, labelEnabled, labelFirstName, labelId, labelLastName, labelRegistrationCode, labelStatus, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
56
56
|
const components = createComponentInstances();
|
|
57
57
|
return {
|
|
58
58
|
moduleName: "admission",
|
|
@@ -67,7 +67,14 @@ const createAdmissionConfig = ({ cancelLabel, dispatch, drawer, drawerTitle, lab
|
|
|
67
67
|
{ label: labelActions, width: "5%" },
|
|
68
68
|
],
|
|
69
69
|
cancelLabel,
|
|
70
|
-
|
|
70
|
+
drawerFilterDescription,
|
|
71
|
+
drawerFilterTitle,
|
|
72
|
+
drawerFormDescription,
|
|
73
|
+
drawerFormTitle,
|
|
74
|
+
drawerMoreActionsDescription,
|
|
75
|
+
drawerMoreActionsTitle,
|
|
76
|
+
drawerViewDescription,
|
|
77
|
+
drawerViewTitle,
|
|
71
78
|
filterContent: components.filter,
|
|
72
79
|
formContent: components.form,
|
|
73
80
|
moreActionsContent: components.moreActions,
|
|
@@ -93,7 +100,14 @@ const AdmissionPageInner = (props) => {
|
|
|
93
100
|
dispatch: context.dispatch,
|
|
94
101
|
drawer: context.state.drawer,
|
|
95
102
|
cancelLabel: props.cancelLabel,
|
|
96
|
-
|
|
103
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
104
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
105
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
106
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
107
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
108
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
109
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
110
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
97
111
|
labelActions: props.labelActions,
|
|
98
112
|
labelClass: props.labelClass,
|
|
99
113
|
labelEnabled: props.labelEnabled,
|
|
@@ -110,7 +124,14 @@ const AdmissionPageInner = (props) => {
|
|
|
110
124
|
context.dispatch,
|
|
111
125
|
context.state.drawer,
|
|
112
126
|
props.cancelLabel,
|
|
113
|
-
props.
|
|
127
|
+
props.drawerFormTitle,
|
|
128
|
+
props.drawerFormDescription,
|
|
129
|
+
props.drawerViewTitle,
|
|
130
|
+
props.drawerViewDescription,
|
|
131
|
+
props.drawerFilterTitle,
|
|
132
|
+
props.drawerFilterDescription,
|
|
133
|
+
props.drawerMoreActionsTitle,
|
|
134
|
+
props.drawerMoreActionsDescription,
|
|
114
135
|
props.labelActions,
|
|
115
136
|
props.labelClass,
|
|
116
137
|
props.labelEnabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AdmissionView: () => import("react
|
|
1
|
+
export declare const AdmissionView: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AttendanceForm: () => import("react
|
|
1
|
+
export declare const AttendanceForm: () => import("react").JSX.Element;
|
|
@@ -15,7 +15,14 @@ import { FC } from "react";
|
|
|
15
15
|
import { USER_ROLE } from "../../type";
|
|
16
16
|
interface Props {
|
|
17
17
|
cancelLabel: string;
|
|
18
|
-
|
|
18
|
+
drawerFilterDescription: string;
|
|
19
|
+
drawerFilterTitle: string;
|
|
20
|
+
drawerFormDescription: string;
|
|
21
|
+
drawerFormTitle: string;
|
|
22
|
+
drawerMoreActionsDescription: string;
|
|
23
|
+
drawerMoreActionsTitle: string;
|
|
24
|
+
drawerViewDescription: string;
|
|
25
|
+
drawerViewTitle: string;
|
|
19
26
|
labelActions: string;
|
|
20
27
|
labelAll: string;
|
|
21
28
|
labelAttendanceStatus: string;
|
|
@@ -61,7 +61,7 @@ const createComponentInstances = (props) => ({
|
|
|
61
61
|
moreActions: (_jsx(AttendanceMoreActions, { labelAttendanceStatus: props.labelAttendanceStatus, labelCourse: props.labelCourse, labelCourseInfo: props.labelCourseInfo, labelCoursePlaceholder: props.labelCoursePlaceholder, labelNoCourseFound: props.labelNoCourseFound, labelRemarks: props.labelRemarks, labelRemarksInfo: props.labelRemarksInfo, labelRemarksPlaceholder: props.labelRemarksPlaceholder, labelSearchCourses: props.labelSearchCourses, labelStatusAbsent: props.labelStatusAbsent, labelStatusExcused: props.labelStatusExcused, labelStatusHalfDay: props.labelStatusHalfDay, labelStatusLate: props.labelStatusLate, labelStatusPresent: props.labelStatusPresent })),
|
|
62
62
|
view: _jsx(AttendanceView, {}),
|
|
63
63
|
});
|
|
64
|
-
const createAttendanceConfig = ({ cancelLabel, dispatch,
|
|
64
|
+
const createAttendanceConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelDate, labelEnabled, labelId, labelRemarks, labelStatus, labelStudent, saveLabel, searchPlaceholder, tableDescription, tableTitle, components, }) => {
|
|
65
65
|
return {
|
|
66
66
|
moduleName: "attendance",
|
|
67
67
|
tableColumns: [
|
|
@@ -74,7 +74,14 @@ const createAttendanceConfig = ({ cancelLabel, dispatch, drawerTitle, labelActio
|
|
|
74
74
|
{ label: labelActions, width: "5%" },
|
|
75
75
|
],
|
|
76
76
|
cancelLabel,
|
|
77
|
-
|
|
77
|
+
drawerFilterDescription,
|
|
78
|
+
drawerFilterTitle,
|
|
79
|
+
drawerFormDescription,
|
|
80
|
+
drawerFormTitle,
|
|
81
|
+
drawerMoreActionsDescription,
|
|
82
|
+
drawerMoreActionsTitle,
|
|
83
|
+
drawerViewDescription,
|
|
84
|
+
drawerViewTitle,
|
|
78
85
|
filterContent: components.filter,
|
|
79
86
|
formContent: components.form,
|
|
80
87
|
moreActionsContent: components.moreActions,
|
|
@@ -134,7 +141,14 @@ const AttendancePageInner = (props) => {
|
|
|
134
141
|
const attendanceConfig = useMemo(() => createAttendanceConfig({
|
|
135
142
|
dispatch: context.dispatch,
|
|
136
143
|
cancelLabel: props.cancelLabel,
|
|
137
|
-
|
|
144
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
145
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
146
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
147
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
148
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
149
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
150
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
151
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
138
152
|
labelActions: props.labelActions,
|
|
139
153
|
labelDate: props.labelDate,
|
|
140
154
|
labelEnabled: props.labelEnabled,
|
|
@@ -150,7 +164,14 @@ const AttendancePageInner = (props) => {
|
|
|
150
164
|
}), [
|
|
151
165
|
context.dispatch,
|
|
152
166
|
props.cancelLabel,
|
|
153
|
-
props.
|
|
167
|
+
props.drawerFormTitle,
|
|
168
|
+
props.drawerFormDescription,
|
|
169
|
+
props.drawerViewTitle,
|
|
170
|
+
props.drawerViewDescription,
|
|
171
|
+
props.drawerFilterTitle,
|
|
172
|
+
props.drawerFilterDescription,
|
|
173
|
+
props.drawerMoreActionsTitle,
|
|
174
|
+
props.drawerMoreActionsDescription,
|
|
154
175
|
props.labelActions,
|
|
155
176
|
props.labelDate,
|
|
156
177
|
props.labelEnabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CampusFilter: () => import("react
|
|
1
|
+
export declare const CampusFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CampusForm: () => import("react
|
|
1
|
+
export declare const CampusForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CampusMoreActions: () => import("react
|
|
1
|
+
export declare const CampusMoreActions: () => import("react").JSX.Element;
|
|
@@ -12,7 +12,14 @@ import { FC } from "react";
|
|
|
12
12
|
import { USER_ROLE } from "../../type";
|
|
13
13
|
interface Props {
|
|
14
14
|
cancelLabel: string;
|
|
15
|
-
|
|
15
|
+
drawerFilterDescription: string;
|
|
16
|
+
drawerFilterTitle: string;
|
|
17
|
+
drawerFormDescription: string;
|
|
18
|
+
drawerFormTitle: string;
|
|
19
|
+
drawerMoreActionsDescription: string;
|
|
20
|
+
drawerMoreActionsTitle: string;
|
|
21
|
+
drawerViewDescription: string;
|
|
22
|
+
drawerViewTitle: string;
|
|
16
23
|
labelActions: string;
|
|
17
24
|
labelCity: string;
|
|
18
25
|
labelCode: string;
|
|
@@ -40,7 +40,7 @@ const createComponentInstances = () => ({
|
|
|
40
40
|
moreActions: _jsx(CampusMoreActions, {}),
|
|
41
41
|
view: _jsx(CampusView, {}),
|
|
42
42
|
});
|
|
43
|
-
const createCampusConfig = ({ cancelLabel, dispatch,
|
|
43
|
+
const createCampusConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelCity, labelCode, labelEnabled, labelId, labelName, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
44
44
|
const components = createComponentInstances();
|
|
45
45
|
return {
|
|
46
46
|
moduleName: "campus",
|
|
@@ -53,7 +53,14 @@ const createCampusConfig = ({ cancelLabel, dispatch, drawerTitle, labelActions,
|
|
|
53
53
|
{ label: labelActions, width: "5%" },
|
|
54
54
|
],
|
|
55
55
|
cancelLabel,
|
|
56
|
-
|
|
56
|
+
drawerFilterDescription,
|
|
57
|
+
drawerFilterTitle,
|
|
58
|
+
drawerFormDescription,
|
|
59
|
+
drawerFormTitle,
|
|
60
|
+
drawerMoreActionsDescription,
|
|
61
|
+
drawerMoreActionsTitle,
|
|
62
|
+
drawerViewDescription,
|
|
63
|
+
drawerViewTitle,
|
|
57
64
|
filterContent: components.filter,
|
|
58
65
|
formContent: components.form,
|
|
59
66
|
moreActionsContent: components.moreActions,
|
|
@@ -76,7 +83,14 @@ const CampusPageInner = (props) => {
|
|
|
76
83
|
const campusConfig = useMemo(() => createCampusConfig({
|
|
77
84
|
dispatch: context.dispatch,
|
|
78
85
|
cancelLabel: props.cancelLabel,
|
|
79
|
-
|
|
86
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
87
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
88
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
89
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
90
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
91
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
92
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
93
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
80
94
|
labelActions: props.labelActions,
|
|
81
95
|
labelCity: props.labelCity,
|
|
82
96
|
labelCode: props.labelCode,
|
|
@@ -90,7 +104,14 @@ const CampusPageInner = (props) => {
|
|
|
90
104
|
}), [
|
|
91
105
|
context.dispatch,
|
|
92
106
|
props.cancelLabel,
|
|
93
|
-
props.
|
|
107
|
+
props.drawerFormTitle,
|
|
108
|
+
props.drawerFormDescription,
|
|
109
|
+
props.drawerViewTitle,
|
|
110
|
+
props.drawerViewDescription,
|
|
111
|
+
props.drawerFilterTitle,
|
|
112
|
+
props.drawerFilterDescription,
|
|
113
|
+
props.drawerMoreActionsTitle,
|
|
114
|
+
props.drawerMoreActionsDescription,
|
|
94
115
|
props.labelActions,
|
|
95
116
|
props.labelCity,
|
|
96
117
|
props.labelCode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CampusView: () => import("react
|
|
1
|
+
export declare const CampusView: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ClassFilter: () => import("react
|
|
1
|
+
export declare const ClassFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ClassForm: () => import("react
|
|
1
|
+
export declare const ClassForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ClassMoreActions: () => import("react
|
|
1
|
+
export declare const ClassMoreActions: () => import("react").JSX.Element;
|
|
@@ -19,7 +19,14 @@ import { FC } from "react";
|
|
|
19
19
|
import { USER_ROLE } from "../../type";
|
|
20
20
|
interface Props {
|
|
21
21
|
cancelLabel: string;
|
|
22
|
-
|
|
22
|
+
drawerFilterDescription: string;
|
|
23
|
+
drawerFilterTitle: string;
|
|
24
|
+
drawerFormDescription: string;
|
|
25
|
+
drawerFormTitle: string;
|
|
26
|
+
drawerMoreActionsDescription: string;
|
|
27
|
+
drawerMoreActionsTitle: string;
|
|
28
|
+
drawerViewDescription: string;
|
|
29
|
+
drawerViewTitle: string;
|
|
23
30
|
labelActions: string;
|
|
24
31
|
labelCode: string;
|
|
25
32
|
labelDescription: string;
|
|
@@ -47,7 +47,7 @@ const createComponentInstances = () => ({
|
|
|
47
47
|
moreActions: _jsx(ClassMoreActions, {}),
|
|
48
48
|
view: _jsx(ClassView, {}),
|
|
49
49
|
});
|
|
50
|
-
const createClassConfig = ({ cancelLabel, dispatch,
|
|
50
|
+
const createClassConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelCode, labelDescription, labelEnabled, labelId, labelName, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
51
51
|
const components = createComponentInstances();
|
|
52
52
|
return {
|
|
53
53
|
moduleName: "class",
|
|
@@ -60,7 +60,14 @@ const createClassConfig = ({ cancelLabel, dispatch, drawerTitle, labelActions, l
|
|
|
60
60
|
{ label: labelActions, width: "5%" },
|
|
61
61
|
],
|
|
62
62
|
cancelLabel,
|
|
63
|
-
|
|
63
|
+
drawerFilterDescription,
|
|
64
|
+
drawerFilterTitle,
|
|
65
|
+
drawerFormDescription,
|
|
66
|
+
drawerFormTitle,
|
|
67
|
+
drawerMoreActionsDescription,
|
|
68
|
+
drawerMoreActionsTitle,
|
|
69
|
+
drawerViewDescription,
|
|
70
|
+
drawerViewTitle,
|
|
64
71
|
filterContent: components.filter,
|
|
65
72
|
formContent: components.form,
|
|
66
73
|
moreActionsContent: components.moreActions,
|
|
@@ -83,7 +90,14 @@ const ClassPageInner = (props) => {
|
|
|
83
90
|
const classConfig = useMemo(() => createClassConfig({
|
|
84
91
|
dispatch: context.dispatch,
|
|
85
92
|
cancelLabel: props.cancelLabel,
|
|
86
|
-
|
|
93
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
94
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
95
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
96
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
97
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
98
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
99
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
100
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
87
101
|
labelActions: props.labelActions,
|
|
88
102
|
labelCode: props.labelCode,
|
|
89
103
|
labelDescription: props.labelDescription,
|
|
@@ -97,7 +111,14 @@ const ClassPageInner = (props) => {
|
|
|
97
111
|
}), [
|
|
98
112
|
context.dispatch,
|
|
99
113
|
props.cancelLabel,
|
|
100
|
-
props.
|
|
114
|
+
props.drawerFormTitle,
|
|
115
|
+
props.drawerFormDescription,
|
|
116
|
+
props.drawerViewTitle,
|
|
117
|
+
props.drawerViewDescription,
|
|
118
|
+
props.drawerFilterTitle,
|
|
119
|
+
props.drawerFilterDescription,
|
|
120
|
+
props.drawerMoreActionsTitle,
|
|
121
|
+
props.drawerMoreActionsDescription,
|
|
101
122
|
props.labelActions,
|
|
102
123
|
props.labelCode,
|
|
103
124
|
props.labelDescription,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ClassView: () => import("react
|
|
1
|
+
export declare const ClassView: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CourseFilter: () => import("react
|
|
1
|
+
export declare const CourseFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CourseForm: () => import("react
|
|
1
|
+
export declare const CourseForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CourseMoreActions: () => import("react
|
|
1
|
+
export declare const CourseMoreActions: () => import("react").JSX.Element;
|
|
@@ -15,7 +15,14 @@ import { FC } from "react";
|
|
|
15
15
|
import { USER_ROLE } from "../../type";
|
|
16
16
|
interface Props {
|
|
17
17
|
cancelLabel: string;
|
|
18
|
-
|
|
18
|
+
drawerFilterDescription: string;
|
|
19
|
+
drawerFilterTitle: string;
|
|
20
|
+
drawerFormDescription: string;
|
|
21
|
+
drawerFormTitle: string;
|
|
22
|
+
drawerMoreActionsDescription: string;
|
|
23
|
+
drawerMoreActionsTitle: string;
|
|
24
|
+
drawerViewDescription: string;
|
|
25
|
+
drawerViewTitle: string;
|
|
19
26
|
labelActions: string;
|
|
20
27
|
labelCode: string;
|
|
21
28
|
labelEnabled: string;
|
|
@@ -61,7 +61,7 @@ const createComponentInstances = () => ({
|
|
|
61
61
|
moreActions: _jsx(CourseMoreActions, {}),
|
|
62
62
|
view: _jsx(CourseView, {}),
|
|
63
63
|
});
|
|
64
|
-
const createCourseConfig = ({ cancelLabel, dispatch,
|
|
64
|
+
const createCourseConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelCode, labelEnabled, labelId, labelSection, labelSubject, labelTeacher, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
65
65
|
const components = createComponentInstances();
|
|
66
66
|
return {
|
|
67
67
|
moduleName: "course",
|
|
@@ -75,7 +75,14 @@ const createCourseConfig = ({ cancelLabel, dispatch, drawerTitle, labelActions,
|
|
|
75
75
|
{ label: labelActions, width: "5%" },
|
|
76
76
|
],
|
|
77
77
|
cancelLabel,
|
|
78
|
-
|
|
78
|
+
drawerFilterDescription,
|
|
79
|
+
drawerFilterTitle,
|
|
80
|
+
drawerFormDescription,
|
|
81
|
+
drawerFormTitle,
|
|
82
|
+
drawerMoreActionsDescription,
|
|
83
|
+
drawerMoreActionsTitle,
|
|
84
|
+
drawerViewDescription,
|
|
85
|
+
drawerViewTitle,
|
|
79
86
|
filterContent: components.filter,
|
|
80
87
|
formContent: components.form,
|
|
81
88
|
moreActionsContent: components.moreActions,
|
|
@@ -98,7 +105,14 @@ const CoursePageInner = (props) => {
|
|
|
98
105
|
const courseConfig = useMemo(() => createCourseConfig({
|
|
99
106
|
dispatch: context.dispatch,
|
|
100
107
|
cancelLabel: props.cancelLabel,
|
|
101
|
-
|
|
108
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
109
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
110
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
111
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
112
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
113
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
114
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
115
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
102
116
|
labelActions: props.labelActions,
|
|
103
117
|
labelCode: props.labelCode,
|
|
104
118
|
labelEnabled: props.labelEnabled,
|
|
@@ -113,7 +127,14 @@ const CoursePageInner = (props) => {
|
|
|
113
127
|
}), [
|
|
114
128
|
context.dispatch,
|
|
115
129
|
props.cancelLabel,
|
|
116
|
-
props.
|
|
130
|
+
props.drawerFormTitle,
|
|
131
|
+
props.drawerFormDescription,
|
|
132
|
+
props.drawerViewTitle,
|
|
133
|
+
props.drawerViewDescription,
|
|
134
|
+
props.drawerFilterTitle,
|
|
135
|
+
props.drawerFilterDescription,
|
|
136
|
+
props.drawerMoreActionsTitle,
|
|
137
|
+
props.drawerMoreActionsDescription,
|
|
117
138
|
props.labelActions,
|
|
118
139
|
props.labelCode,
|
|
119
140
|
props.labelEnabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CourseView: () => import("react
|
|
1
|
+
export declare const CourseView: () => import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/**
|
|
2
3
|
* DiscountCodeFilter
|
|
3
4
|
*
|
|
@@ -6,4 +7,4 @@
|
|
|
6
7
|
* minimal and explicit (enabled flag, type select) so caching remains
|
|
7
8
|
* predictable.
|
|
8
9
|
*/
|
|
9
|
-
export declare const DiscountCodeFilter: () =>
|
|
10
|
+
export declare const DiscountCodeFilter: () => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DiscountCodeForm: () => import("react
|
|
1
|
+
export declare const DiscountCodeForm: () => import("react").JSX.Element;
|
|
@@ -19,7 +19,14 @@ import { FC } from "react";
|
|
|
19
19
|
import { USER_ROLE } from "../../type";
|
|
20
20
|
interface Props {
|
|
21
21
|
cancelLabel: string;
|
|
22
|
-
|
|
22
|
+
drawerFilterDescription: string;
|
|
23
|
+
drawerFilterTitle: string;
|
|
24
|
+
drawerFormDescription: string;
|
|
25
|
+
drawerFormTitle: string;
|
|
26
|
+
drawerMoreActionsDescription: string;
|
|
27
|
+
drawerMoreActionsTitle: string;
|
|
28
|
+
drawerViewDescription: string;
|
|
29
|
+
drawerViewTitle: string;
|
|
23
30
|
labelActions: string;
|
|
24
31
|
labelCode: string;
|
|
25
32
|
labelDescription: string;
|
|
@@ -48,7 +48,7 @@ const createComponentInstances = () => ({
|
|
|
48
48
|
moreActions: _jsx(DiscountCodeMoreActions, {}),
|
|
49
49
|
view: _jsx(DiscountCodeView, {}),
|
|
50
50
|
});
|
|
51
|
-
const createDiscountCodeConfig = ({ cancelLabel, dispatch,
|
|
51
|
+
const createDiscountCodeConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelCode, labelDescription, labelDiscountType, labelDiscountValue, labelEnabled, labelId, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
52
52
|
const components = createComponentInstances();
|
|
53
53
|
return {
|
|
54
54
|
moduleName: "discountCode",
|
|
@@ -62,7 +62,14 @@ const createDiscountCodeConfig = ({ cancelLabel, dispatch, drawerTitle, labelAct
|
|
|
62
62
|
{ label: labelActions, width: "10%" },
|
|
63
63
|
],
|
|
64
64
|
cancelLabel,
|
|
65
|
-
|
|
65
|
+
drawerFilterDescription,
|
|
66
|
+
drawerFilterTitle,
|
|
67
|
+
drawerFormDescription,
|
|
68
|
+
drawerFormTitle,
|
|
69
|
+
drawerMoreActionsDescription,
|
|
70
|
+
drawerMoreActionsTitle,
|
|
71
|
+
drawerViewDescription,
|
|
72
|
+
drawerViewTitle,
|
|
66
73
|
filterContent: components.filter,
|
|
67
74
|
formContent: components.form,
|
|
68
75
|
moreActionsContent: components.moreActions,
|
|
@@ -89,7 +96,14 @@ const DiscountCodePageInner = (props) => {
|
|
|
89
96
|
const discountCodeConfig = useMemo(() => createDiscountCodeConfig({
|
|
90
97
|
dispatch: context.dispatch,
|
|
91
98
|
cancelLabel: props.cancelLabel,
|
|
92
|
-
|
|
99
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
100
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
101
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
102
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
103
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
104
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
105
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
106
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
93
107
|
labelActions: props.labelActions,
|
|
94
108
|
labelCode: props.labelCode,
|
|
95
109
|
labelDescription: props.labelDescription,
|
|
@@ -104,7 +118,14 @@ const DiscountCodePageInner = (props) => {
|
|
|
104
118
|
}), [
|
|
105
119
|
context.dispatch,
|
|
106
120
|
props.cancelLabel,
|
|
107
|
-
props.
|
|
121
|
+
props.drawerFormTitle,
|
|
122
|
+
props.drawerFormDescription,
|
|
123
|
+
props.drawerViewTitle,
|
|
124
|
+
props.drawerViewDescription,
|
|
125
|
+
props.drawerFilterTitle,
|
|
126
|
+
props.drawerFilterDescription,
|
|
127
|
+
props.drawerMoreActionsTitle,
|
|
128
|
+
props.drawerMoreActionsDescription,
|
|
108
129
|
props.labelActions,
|
|
109
130
|
props.labelCode,
|
|
110
131
|
props.labelDescription,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DiscountCodeView: () => import("react
|
|
1
|
+
export declare const DiscountCodeView: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const EnrollmentFilter: () => import("react
|
|
1
|
+
export declare const EnrollmentFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const EnrollmentForm: () => import("react
|
|
1
|
+
export declare const EnrollmentForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const EnrollmentMoreActions: () => import("react
|
|
1
|
+
export declare const EnrollmentMoreActions: () => import("react").JSX.Element;
|
|
@@ -15,7 +15,14 @@ import { FC } from "react";
|
|
|
15
15
|
import { USER_ROLE } from "../../type";
|
|
16
16
|
interface Props {
|
|
17
17
|
cancelLabel: string;
|
|
18
|
-
|
|
18
|
+
drawerFilterDescription: string;
|
|
19
|
+
drawerFilterTitle: string;
|
|
20
|
+
drawerFormDescription: string;
|
|
21
|
+
drawerFormTitle: string;
|
|
22
|
+
drawerMoreActionsDescription: string;
|
|
23
|
+
drawerMoreActionsTitle: string;
|
|
24
|
+
drawerViewDescription: string;
|
|
25
|
+
drawerViewTitle: string;
|
|
19
26
|
labelActions: string;
|
|
20
27
|
labelCourse: string;
|
|
21
28
|
labelEnabled: string;
|
|
@@ -69,7 +69,7 @@ const createComponentInstances = () => ({
|
|
|
69
69
|
moreActions: _jsx(EnrollmentMoreActions, {}),
|
|
70
70
|
view: _jsx(EnrollmentView, {}),
|
|
71
71
|
});
|
|
72
|
-
const createEnrollmentConfig = ({ cancelLabel, dispatch,
|
|
72
|
+
const createEnrollmentConfig = ({ cancelLabel, dispatch, drawerFilterDescription, drawerFilterTitle, drawerFormDescription, drawerFormTitle, drawerMoreActionsDescription, drawerMoreActionsTitle, drawerViewDescription, drawerViewTitle, labelActions, labelCourse, labelEnabled, labelEnrollmentDate, labelId, labelSection, labelStudent, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
73
73
|
const components = createComponentInstances();
|
|
74
74
|
return {
|
|
75
75
|
moduleName: "enrollment",
|
|
@@ -83,7 +83,14 @@ const createEnrollmentConfig = ({ cancelLabel, dispatch, drawerTitle, labelActio
|
|
|
83
83
|
{ label: labelActions, width: "5%" },
|
|
84
84
|
],
|
|
85
85
|
cancelLabel,
|
|
86
|
-
|
|
86
|
+
drawerFilterDescription,
|
|
87
|
+
drawerFilterTitle,
|
|
88
|
+
drawerFormDescription,
|
|
89
|
+
drawerFormTitle,
|
|
90
|
+
drawerMoreActionsDescription,
|
|
91
|
+
drawerMoreActionsTitle,
|
|
92
|
+
drawerViewDescription,
|
|
93
|
+
drawerViewTitle,
|
|
87
94
|
filterContent: components.filter,
|
|
88
95
|
formContent: components.form,
|
|
89
96
|
moreActionsContent: components.moreActions,
|
|
@@ -106,7 +113,14 @@ const EnrollmentPageInner = (props) => {
|
|
|
106
113
|
const enrollmentConfig = useMemo(() => createEnrollmentConfig({
|
|
107
114
|
dispatch: context.dispatch,
|
|
108
115
|
cancelLabel: props.cancelLabel,
|
|
109
|
-
|
|
116
|
+
drawerFormTitle: props.drawerFormTitle,
|
|
117
|
+
drawerFormDescription: props.drawerFormDescription,
|
|
118
|
+
drawerViewTitle: props.drawerViewTitle,
|
|
119
|
+
drawerViewDescription: props.drawerViewDescription,
|
|
120
|
+
drawerFilterTitle: props.drawerFilterTitle,
|
|
121
|
+
drawerFilterDescription: props.drawerFilterDescription,
|
|
122
|
+
drawerMoreActionsTitle: props.drawerMoreActionsTitle,
|
|
123
|
+
drawerMoreActionsDescription: props.drawerMoreActionsDescription,
|
|
110
124
|
labelActions: props.labelActions,
|
|
111
125
|
labelCourse: props.labelCourse,
|
|
112
126
|
labelEnabled: props.labelEnabled,
|
|
@@ -121,7 +135,14 @@ const EnrollmentPageInner = (props) => {
|
|
|
121
135
|
}), [
|
|
122
136
|
context.dispatch,
|
|
123
137
|
props.cancelLabel,
|
|
124
|
-
props.
|
|
138
|
+
props.drawerFormTitle,
|
|
139
|
+
props.drawerFormDescription,
|
|
140
|
+
props.drawerViewTitle,
|
|
141
|
+
props.drawerViewDescription,
|
|
142
|
+
props.drawerFilterTitle,
|
|
143
|
+
props.drawerFilterDescription,
|
|
144
|
+
props.drawerMoreActionsTitle,
|
|
145
|
+
props.drawerMoreActionsDescription,
|
|
125
146
|
props.labelActions,
|
|
126
147
|
props.labelCourse,
|
|
127
148
|
props.labelEnabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const EnrollmentView: import("react").MemoExoticComponent<() => import("react
|
|
1
|
+
export declare const EnrollmentView: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ExpenseFilter: () => import("react
|
|
1
|
+
export declare const ExpenseFilter: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ExpenseForm: () => import("react
|
|
1
|
+
export declare const ExpenseForm: () => import("react").JSX.Element;
|