mario-core 1.0.2 → 1.0.3-es-alpha
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.js +33 -2706
- package/dist/index.modern.js +25834 -2520
- package/dist/mario-core.css +5 -0
- package/package.json +66 -67
- package/README.md +0 -30
- package/dist/assets/Images.d.ts +0 -5
- package/dist/commons/action.d.ts +0 -2
- package/dist/commons/reducer.d.ts +0 -2
- package/dist/components/Alerts/EmptyDataAlert.d.ts +0 -8
- package/dist/components/Alerts/ErrorHandler.d.ts +0 -6
- package/dist/components/Buttons/AddButton.d.ts +0 -7
- package/dist/components/Buttons/AddButtonIcon.d.ts +0 -6
- package/dist/components/Buttons/DeleteButtonIcon.d.ts +0 -6
- package/dist/components/Buttons/DetailActionButtons.d.ts +0 -8
- package/dist/components/Buttons/EditButtonIcon.d.ts +0 -6
- package/dist/components/Buttons/LinkEditButton.d.ts +0 -7
- package/dist/components/Headers/CommonHeader.d.ts +0 -7
- package/dist/components/Inputs/SearchBox.d.ts +0 -10
- package/dist/components/Labels/RequiredLabel.d.ts +0 -6
- package/dist/components/Loading/Loading.d.ts +0 -3
- package/dist/components/Modals/CommonModal.d.ts +0 -3
- package/dist/components/Modals/NotificationModal.d.ts +0 -3
- package/dist/components/Pagination/CustomPagination.d.ts +0 -3
- package/dist/components/Selectors/CreatableSelector.d.ts +0 -3
- package/dist/components/Selectors/CustomSelector.d.ts +0 -3
- package/dist/components/Selectors/MailCategorySelectors.d.ts +0 -3
- package/dist/components/Selectors/QuestionTypeSelector.d.ts +0 -3
- package/dist/components/Selectors/StarRatingSelector.d.ts +0 -3
- package/dist/configs/editorConfig.d.ts +0 -7
- package/dist/containers/Classes/components/ClassDetailModal.d.ts +0 -3
- package/dist/containers/Classes/views/ClassList.d.ts +0 -3
- package/dist/containers/Commons/NotFound.d.ts +0 -3
- package/dist/containers/EmailTemplate/components/MailParam.d.ts +0 -6
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +0 -11
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +0 -15
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +0 -10
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +0 -3
- package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +0 -3
- package/dist/containers/EmailTemplateDetail.d.ts +0 -3
- package/dist/containers/EmailTemplateList.d.ts +0 -3
- package/dist/containers/Faq/components/FaqDetailModal.d.ts +0 -3
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +0 -13
- package/dist/containers/Faq/hooks/useFaqList.d.ts +0 -9
- package/dist/containers/Faq/views/FaqList.d.ts +0 -3
- package/dist/containers/Login/hooks/useLogin.d.ts +0 -9
- package/dist/containers/Login/views/Login.d.ts +0 -3
- package/dist/containers/Login.d.ts +0 -3
- package/dist/containers/Skill/components/SkillDetailModal.d.ts +0 -3
- package/dist/containers/Skill/hooks/useSkillDetail.d.ts +0 -13
- package/dist/containers/Skill/hooks/useSkillList.d.ts +0 -9
- package/dist/containers/Skill/views/SkillList.d.ts +0 -3
- package/dist/containers/User/hooks/useUserList.d.ts +0 -9
- package/dist/containers/User/views/UserList.d.ts +0 -3
- package/dist/containers/User.d.ts +0 -3
- package/dist/index.css +0 -7
- package/dist/index.d.ts +0 -43
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js.map +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/layouts/TheContent.d.ts +0 -3
- package/dist/layouts/TheFooter.d.ts +0 -3
- package/dist/layouts/TheHeader.d.ts +0 -3
- package/dist/layouts/TheHeaderDropdown.d.ts +0 -3
- package/dist/layouts/TheLayout.d.ts +0 -3
- package/dist/layouts/TheSidebar.d.ts +0 -3
- package/dist/redux/badges/action.d.ts +0 -1
- package/dist/redux/badges/reducer.d.ts +0 -2
- package/dist/redux/classes/action.d.ts +0 -1
- package/dist/redux/classes/reducer.d.ts +0 -2
- package/dist/redux/commons/action.d.ts +0 -3
- package/dist/redux/commons/reducer.d.ts +0 -2
- package/dist/redux/emailTemplates/action.d.ts +0 -1
- package/dist/redux/emailTemplates/reducer.d.ts +0 -2
- package/dist/redux/faqs/action.d.ts +0 -1
- package/dist/redux/faqs/reducer.d.ts +0 -2
- package/dist/redux/goalExamples/action.d.ts +0 -1
- package/dist/redux/goalExamples/reducer.d.ts +0 -2
- package/dist/redux/learningStrategies/action.d.ts +0 -1
- package/dist/redux/learningStrategies/reducer.d.ts +0 -2
- package/dist/redux/questionBanks/action.d.ts +0 -1
- package/dist/redux/questionBanks/reducer.d.ts +0 -2
- package/dist/redux/skills/action.d.ts +0 -1
- package/dist/redux/skills/reducer.d.ts +0 -2
- package/dist/redux/subjects/action.d.ts +0 -1
- package/dist/redux/subjects/reducer.d.ts +0 -2
- package/dist/redux/suggestionBanks/action.d.ts +0 -1
- package/dist/redux/suggestionBanks/reducer.d.ts +0 -2
- package/dist/redux/users/action.d.ts +0 -1
- package/dist/redux/users/reducer.d.ts +0 -2
- package/dist/rootReducer.d.ts +0 -15
- package/dist/services/accountService.d.ts +0 -3
- package/dist/services/api.d.ts +0 -2
- package/dist/services/emailTemplateService.d.ts +0 -6
- package/dist/services/faqService.d.ts +0 -6
- package/dist/services/skillService.d.ts +0 -6
- package/dist/services/userService.d.ts +0 -6
- package/dist/store.d.ts +0 -3
- package/dist/types/ClassDetail.d.ts +0 -3
- package/dist/types/Conversation.d.ts +0 -8
- package/dist/types/Filter.d.ts +0 -8
- package/dist/utils/canAccessRoute.d.ts +0 -2
- package/dist/utils/constants.d.ts +0 -41
- package/dist/utils/encodeParams.d.ts +0 -2
- package/dist/utils/firstCheckToken.d.ts +0 -2
- package/dist/utils/generateRandomString.d.ts +0 -2
- package/dist/utils/getAccessToken.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/utcToLocalTime.d.ts +0 -2
- package/dist/views/TheContent.d.ts +0 -3
- package/dist/views/TheFooter.d.ts +0 -3
- package/dist/views/TheHeader.d.ts +0 -3
- package/dist/views/TheHeaderDropdown.d.ts +0 -3
- package/dist/views/TheLayout.d.ts +0 -3
- package/dist/views/TheSidebar.d.ts +0 -3
package/dist/index.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setBadgeList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setClassList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
2
|
-
export declare const setModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
3
|
-
export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setEmailTemplateList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setFaqList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setGoalExampleList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setStrategyList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setQuestionList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setSkillList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setSubjectList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setSuggestionList: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setUserList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
package/dist/rootReducer.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
2
|
-
common: any;
|
|
3
|
-
classes: any;
|
|
4
|
-
faqs: any;
|
|
5
|
-
skills: any;
|
|
6
|
-
emailTemplate: any;
|
|
7
|
-
suggestionBank: any;
|
|
8
|
-
learningStrategy: any;
|
|
9
|
-
subjects: any;
|
|
10
|
-
questionBank: any;
|
|
11
|
-
badges: any;
|
|
12
|
-
goalExamples: any;
|
|
13
|
-
users: any;
|
|
14
|
-
}>, import("redux").AnyAction>;
|
|
15
|
-
export default rootReducer;
|
package/dist/services/api.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any;
|
|
3
|
-
export declare const getById: (id: number) => any;
|
|
4
|
-
export declare const create: (data: any) => any;
|
|
5
|
-
export declare const update: (data: any) => any;
|
|
6
|
-
export declare const remove: (id: number) => any;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any;
|
|
3
|
-
export declare const getById: (id: number) => any;
|
|
4
|
-
export declare const create: (data: any) => any;
|
|
5
|
-
export declare const update: (data: any) => any;
|
|
6
|
-
export declare const remove: (id: number) => any;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any;
|
|
3
|
-
export declare const getById: (id: number) => any;
|
|
4
|
-
export declare const create: (data: any) => any;
|
|
5
|
-
export declare const update: (data: any) => any;
|
|
6
|
-
export declare const remove: (id: number) => any;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any;
|
|
3
|
-
export declare const getById: (id: string) => any;
|
|
4
|
-
export declare const create: (data: any) => any;
|
|
5
|
-
export declare const update: (data: any) => any;
|
|
6
|
-
export declare const remove: (id: string) => any;
|
package/dist/store.d.ts
DELETED
package/dist/types/Filter.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const TINY_MCE_API_KEY = "h6l5ro4mqd0eo2mmhxnt3sxqnlx89uz7124h2rwcus8yukv5";
|
|
3
|
-
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
|
4
|
-
export declare const DEFAULT_PAGE_SIZE_VALUES: {
|
|
5
|
-
label: string;
|
|
6
|
-
value: number;
|
|
7
|
-
}[];
|
|
8
|
-
export declare const DEFAULT_PAGE_SIZE: {
|
|
9
|
-
label: string;
|
|
10
|
-
value: number;
|
|
11
|
-
};
|
|
12
|
-
export declare const DEFAULT_FILTER: Filter;
|
|
13
|
-
export declare const COLORS: {
|
|
14
|
-
DANGER: string;
|
|
15
|
-
WARNING: string;
|
|
16
|
-
SUCCESS: string;
|
|
17
|
-
INFO: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const DATE_FORMAT = "yyyy-MM-dd";
|
|
20
|
-
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
21
|
-
export declare const LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
|
|
22
|
-
export declare const BASE_URL: string;
|
|
23
|
-
export declare const QUESTION_TYPES_OPTIONS: {
|
|
24
|
-
label: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}[];
|
|
27
|
-
export declare const QUESTION_TYPES: {
|
|
28
|
-
SINGLE_CHOICE: string;
|
|
29
|
-
MULTIPLE_CHOICE: string;
|
|
30
|
-
TEXT_INPUT: string;
|
|
31
|
-
SLIDER: string;
|
|
32
|
-
PROGRESS_BAR: string;
|
|
33
|
-
STAR_RATING: string;
|
|
34
|
-
TEXT_INPUT_WITH_SUGGESTIONS: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const STAR_OPTIONS: {
|
|
37
|
-
label: number;
|
|
38
|
-
value: number;
|
|
39
|
-
}[];
|
|
40
|
-
export declare const ANSWER_EDITOR_HEIGHT = 150;
|
|
41
|
-
export declare const USER_ROLE: string[];
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const toogleSidebar: () => void;
|